-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add API version 2024-11-30 with support for isolationScope on user as…
…signed identities. (#31443) * Copy files from stable/2023-01-31 Copied the files in a separate commit. This allows reviewers to easily diff subsequent changes against the previous spec. * Copy stable/2023-01-31 to stable/2024-11-30 * Add new optional isolationScope extensible enum to UAMI api object * Nothing better than arbitrary style guidelines that fail my PR for changes made by the repo's own automated tooling * Clean up examples * Prettier everything, because the PR validation doesn't show all the errors the first time * Remove double-slash
- Loading branch information
1 parent
b770b86
commit 84f223e
Showing
14 changed files
with
1,337 additions
and
1 deletion.
There are no files selected for viewing
954 changes: 954 additions & 0 deletions
954
...ion/msi/resource-manager/Microsoft.ManagedIdentity/stable/2024-11-30/ManagedIdentity.json
Large diffs are not rendered by default.
Oops, something went wrong.
48 changes: 48 additions & 0 deletions
48
...crosoft.ManagedIdentity/stable/2024-11-30/examples/FederatedIdentityCredentialCreate.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,48 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-11-30", | ||
"subscriptionId": "c267c0e7-0a73-4789-9e17-d26aeb0904e5", | ||
"resourceGroupName": "rgName", | ||
"resourceName": "resourceName", | ||
"federatedIdentityCredentialResourceName": "ficResourceName", | ||
"parameters": { | ||
"properties": { | ||
"issuer": "https://oidc.prod-aks.azure.com/TenantGUID/IssuerGUID", | ||
"subject": "system:serviceaccount:ns:svcaccount", | ||
"audiences": [ | ||
"api://AzureADTokenExchange" | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/c267c0e7-0a73-4789-9e17-d26aeb0904e5/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName/federatedIdentityCredentials/ficResourceName", | ||
"name": "ficResourceName", | ||
"properties": { | ||
"issuer": "https://oidc.prod-aks.azure.com/TenantGUID/IssuerGUID", | ||
"subject": "system:serviceaccount:ns:svcaccount", | ||
"audiences": [ | ||
"api://AzureADTokenExchange" | ||
] | ||
}, | ||
"type": "Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials" | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/c267c0e7-0a73-4789-9e17-d26aeb0904e5/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName/federatedIdentityCredentials/ficResourceName", | ||
"name": "ficResourceName", | ||
"properties": { | ||
"issuer": "https://oidc.prod-aks.azure.com/TenantGUID/IssuerGUID", | ||
"subject": "system:serviceaccount:ns:svcaccount", | ||
"audiences": [ | ||
"api://AzureADTokenExchange" | ||
] | ||
}, | ||
"type": "Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials" | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...crosoft.ManagedIdentity/stable/2024-11-30/examples/FederatedIdentityCredentialDelete.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,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-11-30", | ||
"subscriptionId": "c267c0e7-0a73-4789-9e17-d26aeb0904e5", | ||
"resourceGroupName": "rgName", | ||
"resourceName": "resourceName", | ||
"federatedIdentityCredentialResourceName": "ficResourceName" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
.../Microsoft.ManagedIdentity/stable/2024-11-30/examples/FederatedIdentityCredentialGet.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,25 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-11-30", | ||
"subscriptionId": "c267c0e7-0a73-4789-9e17-d26aeb0904e5", | ||
"resourceGroupName": "rgName", | ||
"resourceName": "resourceName", | ||
"federatedIdentityCredentialResourceName": "ficResourceName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/c267c0e7-0a73-4789-9e17-d26aeb0904e5/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName/federatedIdentityCredentials/ficResourceName", | ||
"name": "ficResourceName", | ||
"properties": { | ||
"issuer": "https://oidc.prod-aks.azure.com/TenantGUID/IssuerGUID", | ||
"subject": "system:serviceaccount:ns:svcaccount", | ||
"audiences": [ | ||
"api://AzureADTokenExchange" | ||
] | ||
}, | ||
"type": "Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials" | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...Microsoft.ManagedIdentity/stable/2024-11-30/examples/FederatedIdentityCredentialList.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": "2024-11-30", | ||
"subscriptionId": "c267c0e7-0a73-4789-9e17-d26aeb0904e5", | ||
"resourceGroupName": "rgName", | ||
"resourceName": "resourceName", | ||
"top": "20" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/c267c0e7-0a73-4789-9e17-d26aeb0904e5/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName/federatedIdentityCredentials/ficResourceName", | ||
"name": "ficResourceName", | ||
"properties": { | ||
"issuer": "https://oidc.prod-aks.azure.com/TenantGUID/IssuerGUID", | ||
"subject": "system:serviceaccount:ns:svcaccount", | ||
"audiences": [ | ||
"api://AzureADTokenExchange" | ||
] | ||
}, | ||
"type": "Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials" | ||
} | ||
], | ||
"nextLink": "https://serviceRoot/subscriptions/c267c0e7-0a73-4789-9e17-d26aeb0904e5/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/resourceName/federatedIdentityCredentials?api-version=2024-11-30&$skipToken=X'12345'" | ||
} | ||
} | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
...resource-manager/Microsoft.ManagedIdentity/stable/2024-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,53 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-11-30", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rgName", | ||
"resourceName": "resourceName", | ||
"parameters": { | ||
"location": "eastus", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName", | ||
"location": "eastus", | ||
"name": "identityName", | ||
"properties": { | ||
"clientId": "4024ab25-56a8-4370-aea6-6389221caf29", | ||
"principalId": "25cc773c-7f05-40fc-a104-32d2300754ad", | ||
"tenantId": "b6c948ef-f6b5-4384-8354-da3a15eca969", | ||
"isolationScope": "None" | ||
}, | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"type": "Microsoft.ManagedIdentity/userAssignedIdentities" | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName", | ||
"location": "eastus", | ||
"name": "identityName", | ||
"properties": { | ||
"clientId": "4024ab25-56a8-4370-aea6-6389221caf29", | ||
"principalId": "25cc773c-7f05-40fc-a104-32d2300754ad", | ||
"tenantId": "b6c948ef-f6b5-4384-8354-da3a15eca969", | ||
"isolationScope": "None" | ||
}, | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"type": "Microsoft.ManagedIdentity/userAssignedIdentities" | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...resource-manager/Microsoft.ManagedIdentity/stable/2024-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,12 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-11-30", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rgName", | ||
"resourceName": "resourceName" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...si/resource-manager/Microsoft.ManagedIdentity/stable/2024-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,28 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-11-30", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rgName", | ||
"resourceName": "resourceName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName", | ||
"location": "eastus", | ||
"name": "identityName", | ||
"properties": { | ||
"clientId": "4024ab25-56a8-4370-aea6-6389221caf29", | ||
"principalId": "25cc773c-7f05-40fc-a104-32d2300754ad", | ||
"tenantId": "b6c948ef-f6b5-4384-8354-da3a15eca969", | ||
"isolationScope": "None" | ||
}, | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"type": "Microsoft.ManagedIdentity/userAssignedIdentities" | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...ger/Microsoft.ManagedIdentity/stable/2024-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,32 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-11-30", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rgName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName", | ||
"location": "eastus", | ||
"name": "identityName", | ||
"properties": { | ||
"clientId": "4024ab25-56a8-4370-aea6-6389221caf29", | ||
"principalId": "25cc773c-7f05-40fc-a104-32d2300754ad", | ||
"tenantId": "b6c948ef-f6b5-4384-8354-da3a15eca969", | ||
"isolationScope": "None" | ||
}, | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"type": "Microsoft.ManagedIdentity/userAssignedIdentities" | ||
} | ||
], | ||
"nextLink": "https://serviceRoot/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities?api-version=2024-11-30&$skiptoken=X'12345'" | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...ager/Microsoft.ManagedIdentity/stable/2024-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,31 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-11-30", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName", | ||
"location": "eastus", | ||
"name": "identityName", | ||
"properties": { | ||
"clientId": "4024ab25-56a8-4370-aea6-6389221caf29", | ||
"principalId": "25cc773c-7f05-40fc-a104-32d2300754ad", | ||
"tenantId": "b6c948ef-f6b5-4384-8354-da3a15eca969", | ||
"isolationScope": "Regional" | ||
}, | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"type": "Microsoft.ManagedIdentity/userAssignedIdentities" | ||
} | ||
], | ||
"nextLink": "https://serviceRoot/subscriptions/subId/providers/Microsoft.ManagedIdentity/userAssignedIdentities?api-version=2024-11-30&$skiptoken=X'12345'" | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...resource-manager/Microsoft.ManagedIdentity/stable/2024-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,38 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-11-30", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rgName", | ||
"resourceName": "resourceName", | ||
"parameters": { | ||
"location": "eastus", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"properties": { | ||
"isolationScope": "Regional" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourcegroups/rgName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName", | ||
"location": "eastus", | ||
"name": "identityName", | ||
"properties": { | ||
"clientId": "4024ab25-56a8-4370-aea6-6389221caf29", | ||
"principalId": "25cc773c-7f05-40fc-a104-32d2300754ad", | ||
"tenantId": "b6c948ef-f6b5-4384-8354-da3a15eca969", | ||
"isolationScope": "Regional" | ||
}, | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"type": "Microsoft.ManagedIdentity/userAssignedIdentities" | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...ource-manager/Microsoft.ManagedIdentity/stable/2024-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": "2024-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=2024-11-30&$skiptoken=X'12345'" | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...nager/Microsoft.ManagedIdentity/stable/2024-11-30/examples/SystemAssignedIdentityGet.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,22 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2024-11-30", | ||
"scope": "subscriptions/subId/resourceGroups/resourceGroupName/providers/Resource.Provider/resourceType/resourceName/identities/default" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subId/resourceGroups/resourceGroupName/providers/Resource.Provider/resourceType/resourceName/identities/default", | ||
"location": "cus", | ||
"name": "resourceName", | ||
"properties": { | ||
"clientId": "4024ab25-56a8-4370-aea6-6389221caf29", | ||
"clientSecretUrl": "https://serviceRoot/subscriptions/subId/resourceGroups/resourceGroupName/providers/Resource.Provider/resourceType/resourceName/identities/default/credentials/v2/identities?tid=tenantId&arpid=guid&said=clientId", | ||
"principalId": "25cc773c-7f05-40fc-a104-32d2300754ad", | ||
"tenantId": "b6c948ef-f6b5-4384-8354-da3a15eca969" | ||
}, | ||
"type": "ResourceProvider" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.