-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SQL - Add Resource Identity swagger to common v2 (#14439)
* Add Resource Identity swagger to common v2 * Change version number * Changed version num. Removed parameters
- Loading branch information
Showing
5 changed files
with
74 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "v2", | ||
"title": "Common types" | ||
}, | ||
"paths": {}, | ||
"definitions": { | ||
"UserIdentity": { | ||
"description": "Azure Active Directory identity configuration for a resource.", | ||
"type": "object", | ||
"properties": { | ||
"principalId": { | ||
"format": "uuid", | ||
"description": "The Azure Active Directory principal id.", | ||
"type": "string", | ||
"readOnly": true | ||
}, | ||
"clientId": { | ||
"format": "uuid", | ||
"description": "The Azure Active Directory client id.", | ||
"type": "string", | ||
"readOnly": true | ||
} | ||
} | ||
}, | ||
"ResourceIdentity": { | ||
"description": "Azure Active Directory identity configuration for a resource.", | ||
"type": "object", | ||
"properties": { | ||
"userAssignedIdentities": { | ||
"description": "The resource ids of the user assigned identities to use", | ||
"type": "object", | ||
"additionalProperties": { | ||
"$ref": "#/definitions/UserIdentity" | ||
} | ||
}, | ||
"principalId": { | ||
"format": "uuid", | ||
"description": "The Azure Active Directory principal id.", | ||
"type": "string", | ||
"readOnly": true | ||
}, | ||
"type": { | ||
"description": "The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.", | ||
"enum": [ | ||
"None", | ||
"SystemAssigned", | ||
"UserAssigned" | ||
], | ||
"type": "string", | ||
"x-ms-enum": { | ||
"name": "IdentityType", | ||
"modelAsString": true | ||
} | ||
}, | ||
"tenantId": { | ||
"format": "uuid", | ||
"description": "The Azure Active Directory tenant id.", | ||
"type": "string", | ||
"readOnly": true | ||
} | ||
} | ||
} | ||
} | ||
} |