@azure-tools/typespec-azure-resource-manager 0.43.0-dev.4 → 0.43.0-dev.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -30,10 +30,21 @@ model ManagedServiceIdentity {
|
|
|
30
30
|
type: ManagedServiceIdentityType;
|
|
31
31
|
|
|
32
32
|
@doc("The identities assigned to this resource by the user.")
|
|
33
|
-
userAssignedIdentities?:
|
|
33
|
+
userAssignedIdentities?: Record<UserAssignedIdentity>;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/** 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.", */
|
|
37
|
+
#deprecated "Do not use this model. Instead, use Record<UserAssignedIdentity> directly. Using this model will result in a different client SDK when generated from TypeSpec compared to the Swagger."
|
|
38
|
+
@armCommonDefinition(
|
|
39
|
+
"UserAssignedIdentities",
|
|
40
|
+
#{ version: Azure.ResourceManager.CommonTypes.Versions.v4, isDefault: true },
|
|
41
|
+
"managedidentity.json"
|
|
42
|
+
)
|
|
43
|
+
@armCommonDefinition(
|
|
44
|
+
"UserAssignedIdentities",
|
|
45
|
+
Azure.ResourceManager.CommonTypes.Versions.v5,
|
|
46
|
+
"managedidentity.json"
|
|
47
|
+
)
|
|
37
48
|
model UserAssignedIdentities is Record<UserAssignedIdentity>;
|
|
38
49
|
|
|
39
50
|
#deprecated "Please change ManagedSystemIdentityProperties to SystemAssignedServiceIdentity."
|
|
@@ -70,6 +81,16 @@ alias ManagedIdentityType = ManagedServiceIdentityType;
|
|
|
70
81
|
/**
|
|
71
82
|
* A managed identity assigned by the user.
|
|
72
83
|
*/
|
|
84
|
+
@armCommonDefinition(
|
|
85
|
+
"UserAssignedIdentity",
|
|
86
|
+
#{ version: Azure.ResourceManager.CommonTypes.Versions.v4, isDefault: true },
|
|
87
|
+
"managedidentity.json"
|
|
88
|
+
)
|
|
89
|
+
@armCommonDefinition(
|
|
90
|
+
"UserAssignedIdentity",
|
|
91
|
+
Azure.ResourceManager.CommonTypes.Versions.v5,
|
|
92
|
+
"managedidentity.json"
|
|
93
|
+
)
|
|
73
94
|
@doc("A managed identity assigned by the user.")
|
|
74
95
|
model UserAssignedIdentity {
|
|
75
96
|
@doc("The active directory client identifier for this principal.")
|
|
@@ -217,7 +217,7 @@ model OperationStatusResult {
|
|
|
217
217
|
@doc("Percent of the operation that is complete.")
|
|
218
218
|
@minValue(0)
|
|
219
219
|
@maxValue(100)
|
|
220
|
-
percentComplete?:
|
|
220
|
+
percentComplete?: float64;
|
|
221
221
|
|
|
222
222
|
@doc("The start time of the operation.")
|
|
223
223
|
startTime?: utcDateTime;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-tools/typespec-azure-resource-manager",
|
|
3
|
-
"version": "0.43.0-dev.
|
|
3
|
+
"version": "0.43.0-dev.6",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec Azure Resource Manager library",
|
|
6
6
|
"homepage": "https://azure.github.io/typespec-azure",
|