-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update manage service identity api version (#4492)
* directly copy swagger folder from old api version * update Managed Service Identity api version to 2018-11-30, the differnt from previous api-version is the clientSecretUrl can be null if identity is user assigned * feedback
- Loading branch information
1 parent
5b818ee
commit 0ffb349
Showing
11 changed files
with
815 additions
and
1 deletion.
There are no files selected for viewing
541 changes: 541 additions & 0 deletions
541
specification/msi/resource-manager/Microsoft.ManagedIdentity/2018-11-30/ManagedIdentity.json
Large diffs are not rendered by default.
Oops, something went wrong.
51 changes: 51 additions & 0 deletions
51
...on/msi/resource-manager/Microsoft.ManagedIdentity/2018-11-30/examples/IdentityCreate.json
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,51 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-11-30", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rgName", | ||
"resourceName": "resourceName", | ||
"parameters": { | ||
"location": "cus", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName", | ||
"location": "cus", | ||
"name": "identityName", | ||
"properties": { | ||
"clientId": "clientGUID", | ||
"principalId": "identityObjectID", | ||
"tenantId": "tenantGUID" | ||
}, | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"type": "Microsoft.ManagedIdentity/userAssignedIdentities" | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName", | ||
"location": "cus", | ||
"name": "identityName", | ||
"properties": { | ||
"clientId": "clientGUID", | ||
"principalId": "identityObjectID", | ||
"tenantId": "tenantGUID" | ||
}, | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"type": "Microsoft.ManagedIdentity/userAssignedIdentities" | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...on/msi/resource-manager/Microsoft.ManagedIdentity/2018-11-30/examples/IdentityDelete.json
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,16 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-11-30", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rgName", | ||
"resourceName": "resourceName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": "" | ||
}, | ||
"204": { | ||
"body": "" | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...ation/msi/resource-manager/Microsoft.ManagedIdentity/2018-11-30/examples/IdentityGet.json
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,27 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-11-30", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rgName", | ||
"resourceName": "resourceName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName", | ||
"location": "cus", | ||
"name": "identityName", | ||
"properties": { | ||
"clientId": "clientGUID", | ||
"principalId": "identityObjectID", | ||
"tenantId": "tenantGUID" | ||
}, | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"type": "Microsoft.ManagedIdentity/userAssignedIdentities" | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...ce-manager/Microsoft.ManagedIdentity/2018-11-30/examples/IdentityListByResourceGroup.json
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,31 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-11-30", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rgName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName", | ||
"location": "cus", | ||
"name": "identityName", | ||
"properties": { | ||
"clientId": "clientGUID", | ||
"principalId": "identityObjectID", | ||
"tenantId": "tenantGUID" | ||
}, | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"type": "Microsoft.ManagedIdentity/userAssignedIdentities" | ||
} | ||
], | ||
"nextLink": "https://serviceRoot/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities?api-version=2018-11-30&$skiptoken=X'12345'" | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...rce-manager/Microsoft.ManagedIdentity/2018-11-30/examples/IdentityListBySubscription.json
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,30 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-11-30", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName", | ||
"location": "cus", | ||
"name": "identityName", | ||
"properties": { | ||
"clientId": "clientGUID", | ||
"principalId": "identityObjectID", | ||
"tenantId": "tenantGUID" | ||
}, | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"type": "Microsoft.ManagedIdentity/userAssignedIdentities" | ||
} | ||
], | ||
"nextLink": "https://serviceRoot/subscriptions/subId/providers/Microsoft.ManagedIdentity/userAssignedIdentities?api-version=2018-11-30&$skiptoken=X'12345'" | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...on/msi/resource-manager/Microsoft.ManagedIdentity/2018-11-30/examples/IdentityUpdate.json
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,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-11-30", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rgName", | ||
"resourceName": "resourceName", | ||
"parameters": { | ||
"location": "cus", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName", | ||
"location": "cus", | ||
"name": "identityName", | ||
"properties": { | ||
"clientId": "clientGUID", | ||
"principalId": "identityObjectID", | ||
"tenantId": "tenantGUID" | ||
}, | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"type": "Microsoft.ManagedIdentity/userAssignedIdentities" | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...msi/resource-manager/Microsoft.ManagedIdentity/2018-11-30/examples/MsiOperationsList.json
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,41 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-11-30" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"display": { | ||
"description": "Gets an existing user assigned identity", | ||
"operation": "Get User Assigned Identity", | ||
"resource": "User Assigned Identities", | ||
"provider": "Managed Service Identity" | ||
}, | ||
"name": "Microsoft.ManagedIdentity/userAssignedIdentities/read" | ||
}, | ||
{ | ||
"display": { | ||
"description": "Creates a new user assigned identity or updates the tags associated with an existing user assigned identity", | ||
"operation": "Create/Update User Assigned Identity", | ||
"resource": "User Assigned Identities", | ||
"provider": "Managed Service Identity" | ||
}, | ||
"name": "Microsoft.ManagedIdentity/userAssignedIdentities/write" | ||
}, | ||
{ | ||
"display": { | ||
"description": "Deletes an existing user assigned identity", | ||
"operation": "Delete User Assigned Identity", | ||
"resource": "User Assigned Identities", | ||
"provider": "Managed Service Identity" | ||
}, | ||
"name": "Microsoft.ManagedIdentity/userAssignedIdentities/delete" | ||
} | ||
], | ||
"nextLink": "https://serviceRoot/providers/Microsoft.ManagedIdentity/operations?api-version=2018-11-30&$skiptoken=X'12345'" | ||
} | ||
} | ||
} | ||
} |
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