Skip to content

Commit 63606b2

Browse files
authored
[Identity] az identity create/update: Add new --isolation-scope parameter to support identity isolation scope (#31938)
1 parent c493496 commit 63606b2

File tree

88 files changed

+49826
-31361
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+49826
-31361
lines changed

src/azure-cli-core/azure/cli/core/profiles/_shared.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def default_api_version(self):
212212
ResourceType.MGMT_SERVICEBUS: None,
213213
ResourceType.MGMT_EVENTHUB: None,
214214
ResourceType.MGMT_MONITOR: None,
215-
ResourceType.MGMT_MSI: '2023-01-31',
215+
ResourceType.MGMT_MSI: '2024-11-30',
216216
ResourceType.MGMT_APPSERVICE: '2024-11-01',
217217
ResourceType.MGMT_IOTHUB: None,
218218
ResourceType.MGMT_IOTDPS: None,

src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_abac_task.yaml

Lines changed: 736 additions & 585 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_identity.yaml

Lines changed: 546 additions & 494 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/acs/tests/latest/recordings/test_aks_control_plane_user_assigned_identity.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ interactions:
6161
User-Agent:
6262
- AZURECLI/2.49.0 azsdk-python-azure-mgmt-msi/7.0.0 Python/3.8.10 (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29)
6363
method: PUT
64-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000003?api-version=2023-01-31
64+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000003?api-version=2024-11-30
6565
response:
6666
body:
6767
string: '{"location":"westus2","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000003","name":"cli000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"00000000-0000-0000-0000-000000000001","clientId":"00000000-0000-0000-0000-000000000001"}}'
@@ -151,7 +151,7 @@ interactions:
151151
User-Agent:
152152
- AZURECLI/2.49.0 azsdk-python-azure-mgmt-msi/7.0.0 Python/3.8.10 (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29)
153153
method: PUT
154-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000004?api-version=2023-01-31
154+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000004?api-version=2024-11-30
155155
response:
156156
body:
157157
string: '{"location":"westus2","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000004","name":"cli000004","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"00000000-0000-0000-0000-000000000001","clientId":"00000000-0000-0000-0000-000000000001"}}'
@@ -564,7 +564,7 @@ interactions:
564564
User-Agent:
565565
- AZURECLI/2.49.0 azsdk-python-azure-mgmt-msi/7.0.0 Python/3.8.10 (Linux-5.15.0-1039-azure-x86_64-with-glibc2.29)
566566
method: GET
567-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000003?api-version=2023-01-31
567+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000003?api-version=2024-11-30
568568
response:
569569
body:
570570
string: '{"location":"westus2","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/cli000003","name":"cli000003","type":"Microsoft.ManagedIdentity/userAssignedIdentities","properties":{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","principalId":"00000000-0000-0000-0000-000000000001","clientId":"00000000-0000-0000-0000-000000000001"}}'

src/azure-cli/azure/cli/command_modules/ams/tests/latest/recordings/test_ams_add_user_identity.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ interactions:
204204
User-Agent:
205205
- AZURECLI/2.45.0 azsdk-python-azure-mgmt-msi/7.0.0 Python/3.9.13 (Windows-10-10.0.22621-SP0)
206206
method: PUT
207-
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userId000004?api-version=2023-01-31
207+
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userId000004?api-version=2024-11-30
208208
response:
209209
body:
210210
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userId000004","name":"userId000004","type":"Microsoft.ManagedIdentity/userAssignedIdentities","location":"centralus","tags":{},"properties":{"tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"d96b916b-7632-4957-8220-0653e85d3c07","clientId":"ee386666-25ca-4e31-8fa3-71a3e16b892d"}}'

src/azure-cli/azure/cli/command_modules/appconfig/tests/latest/recordings/test_azconfig_identity.yaml

Lines changed: 138 additions & 138 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_appservice_plan_identity_operations.yaml

Lines changed: 369 additions & 390 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)