@azure-tools/typespec-azure-resource-manager 0.44.0-dev.2 → 0.44.0-dev.4
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.
|
@@ -8,21 +8,6 @@ import "./customer-managed-keys-ref.tsp";
|
|
|
8
8
|
import "./extended-location-ref.tsp";
|
|
9
9
|
import "./internal.tsp";
|
|
10
10
|
import "./commontypes.private.decorators.tsp";
|
|
11
|
+
import "./versions.tsp";
|
|
11
12
|
|
|
12
|
-
using TypeSpec.Versioning;
|
|
13
|
-
|
|
14
|
-
@versioned(Versions)
|
|
15
13
|
namespace Azure.ResourceManager.CommonTypes;
|
|
16
|
-
|
|
17
|
-
@CommonTypes.Private.armCommonTypesVersions
|
|
18
|
-
@doc("The Azure Resource Manager common-types versions.")
|
|
19
|
-
enum Versions {
|
|
20
|
-
@doc("The Azure Resource Manager v3 common types.")
|
|
21
|
-
v3,
|
|
22
|
-
|
|
23
|
-
@doc("The Azure Resource Manager v4 common types.")
|
|
24
|
-
v4,
|
|
25
|
-
|
|
26
|
-
@doc("The Azure Resource Manager v5 common types.")
|
|
27
|
-
v5,
|
|
28
|
-
}
|
|
@@ -4,8 +4,8 @@ using TypeSpec.Versioning;
|
|
|
4
4
|
namespace Azure.ResourceManager.CommonTypes;
|
|
5
5
|
|
|
6
6
|
/** 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. */
|
|
7
|
-
#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."
|
|
8
|
-
model UserAssignedIdentities is Record<UserAssignedIdentity>;
|
|
7
|
+
#deprecated "Do not use this model. Instead, use Record<UserAssignedIdentity | null> directly. Using this model will result in a different client SDK when generated from TypeSpec compared to the Swagger."
|
|
8
|
+
model UserAssignedIdentities is Record<UserAssignedIdentity | null>;
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Managed service identity (system assigned and/or user assigned identities)
|
|
@@ -24,7 +24,7 @@ model ManagedServiceIdentity {
|
|
|
24
24
|
|
|
25
25
|
/** The identities assigned to this resource by the user. */
|
|
26
26
|
@typeChangedFrom(Versions.v5, Record<UserAssignedIdentity>)
|
|
27
|
-
userAssignedIdentities?: Record<UserAssignedIdentity
|
|
27
|
+
userAssignedIdentities?: Record<UserAssignedIdentity | null>;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
using TypeSpec.Versioning;
|
|
2
|
+
|
|
3
|
+
@versioned(Versions)
|
|
4
|
+
namespace Azure.ResourceManager.CommonTypes;
|
|
5
|
+
|
|
6
|
+
@Azure.ResourceManager.CommonTypes.Private.armCommonTypesVersions
|
|
7
|
+
@doc("The Azure Resource Manager common-types versions.")
|
|
8
|
+
enum Versions {
|
|
9
|
+
@doc("The Azure Resource Manager v3 common types.")
|
|
10
|
+
v3,
|
|
11
|
+
|
|
12
|
+
@doc("The Azure Resource Manager v4 common types.")
|
|
13
|
+
v4,
|
|
14
|
+
|
|
15
|
+
@doc("The Azure Resource Manager v5 common types.")
|
|
16
|
+
v5,
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-tools/typespec-azure-resource-manager",
|
|
3
|
-
"version": "0.44.0-dev.
|
|
3
|
+
"version": "0.44.0-dev.4",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec Azure Resource Manager library",
|
|
6
6
|
"homepage": "https://azure.github.io/typespec-azure",
|