Skip to content

Commit 35b5a8f

Browse files
wwendycWendy Chang
and
Wendy Chang
authored
Re-incorporate support for arm-id (Azure#24301)
* add arm-id in v5 common types --------- Co-authored-by: Wendy Chang <[email protected]>
1 parent 114a2eb commit 35b5a8f

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

specification/common-types/resource-management/v4/customermanagedkeys.json

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
},
5252
"userAssignedIdentityResourceId": {
5353
"type": "string",
54+
"format": "arm-id",
5455
"description": "user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and delegatedResourceIdentity."
5556
},
5657
"delegatedIdentityClientId": {

specification/common-types/resource-management/v4/types.json

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"id": {
1515
"readOnly": true,
1616
"type": "string",
17+
"format": "arm-id",
1718
"description": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\""
1819
},
1920
"name": {

specification/common-types/resource-management/v5/types.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"id": {
1515
"readOnly": true,
1616
"type": "string",
17+
"format": "arm-id",
1718
"description": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\""
1819
},
1920
"name": {
@@ -427,11 +428,13 @@
427428
"properties": {
428429
"id": {
429430
"description": "Fully qualified ID for the async operation.",
430-
"type": "string"
431+
"type": "string",
432+
"format": "arm-id"
431433
},
432434
"resourceId": {
433435
"description": "Fully qualified ID of the resource against which the original async operation was started.",
434436
"type": "string",
437+
"format": "arm-id",
435438
"readOnly": true
436439
},
437440
"name": {

0 commit comments

Comments
 (0)