Skip to content

Commit e877b8a

Browse files
authored
Release hotfix 0.42.1 and spec fix for UserAssignedIdentities (Azure#29190)
1 parent 5656333 commit e877b8a

File tree

4 files changed

+16
-52
lines changed

4 files changed

+16
-52
lines changed

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"@azure-tools/typespec-autorest": "0.42.1",
66
"@azure-tools/typespec-azure-core": "0.42.0",
77
"@azure-tools/typespec-azure-portal-core": "0.42.0",
8-
"@azure-tools/typespec-azure-resource-manager": "0.42.0",
8+
"@azure-tools/typespec-azure-resource-manager": "0.42.1",
99
"@azure-tools/typespec-client-generator-core": "0.42.0",
1010
"@azure/avocado": "^0.8.4",
1111
"@typespec/compiler": "0.56.0",

specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2023-11-01-preview/azurefleet.json

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -528,27 +528,6 @@
528528
]
529529
}
530530
},
531-
"Azure.ResourceManager.Foundations.UserAssignedIdentities": {
532-
"type": "object",
533-
"description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.\",",
534-
"additionalProperties": {
535-
"$ref": "#/definitions/Azure.ResourceManager.Foundations.UserAssignedIdentity"
536-
}
537-
},
538-
"Azure.ResourceManager.Foundations.UserAssignedIdentity": {
539-
"type": "object",
540-
"description": "A managed identity assigned by the user.",
541-
"properties": {
542-
"clientId": {
543-
"type": "string",
544-
"description": "The active directory client identifier for this principal."
545-
},
546-
"principalId": {
547-
"type": "string",
548-
"description": "The active directory identifier for this principal."
549-
}
550-
}
551-
},
552531
"BasePriorityProfile": {
553532
"type": "object",
554533
"description": "Contains common properties that are applicable to both Spot and Regular.",
@@ -773,8 +752,11 @@
773752
"description": "The type of managed identity assigned to this resource."
774753
},
775754
"userAssignedIdentities": {
776-
"$ref": "#/definitions/Azure.ResourceManager.Foundations.UserAssignedIdentities",
777-
"description": "The identities assigned to this resource by the user."
755+
"type": "object",
756+
"description": "The identities assigned to this resource by the user.",
757+
"additionalProperties": {
758+
"$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity"
759+
}
778760
}
779761
}
780762
},

specification/azurefleet/resource-manager/Microsoft.AzureFleet/preview/2024-05-01-preview/azurefleet.json

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -504,27 +504,6 @@
504504
]
505505
}
506506
},
507-
"Azure.ResourceManager.Foundations.UserAssignedIdentities": {
508-
"type": "object",
509-
"description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.\",",
510-
"additionalProperties": {
511-
"$ref": "#/definitions/Azure.ResourceManager.Foundations.UserAssignedIdentity"
512-
}
513-
},
514-
"Azure.ResourceManager.Foundations.UserAssignedIdentity": {
515-
"type": "object",
516-
"description": "A managed identity assigned by the user.",
517-
"properties": {
518-
"clientId": {
519-
"type": "string",
520-
"description": "The active directory client identifier for this principal."
521-
},
522-
"principalId": {
523-
"type": "string",
524-
"description": "The active directory identifier for this principal."
525-
}
526-
}
527-
},
528507
"BasePriorityProfile": {
529508
"type": "object",
530509
"description": "Contains common properties that are applicable to both Spot and Regular.",
@@ -759,8 +738,11 @@
759738
"description": "The type of managed identity assigned to this resource."
760739
},
761740
"userAssignedIdentities": {
762-
"$ref": "#/definitions/Azure.ResourceManager.Foundations.UserAssignedIdentities",
763-
"description": "The identities assigned to this resource by the user."
741+
"type": "object",
742+
"description": "The identities assigned to this resource by the user.",
743+
"additionalProperties": {
744+
"$ref": "../../../../../common-types/resource-management/v5/managedidentity.json#/definitions/UserAssignedIdentity"
745+
}
764746
}
765747
}
766748
},

0 commit comments

Comments
 (0)