@azure-tools/typespec-azure-resource-manager 0.43.0-dev.1 → 0.43.0-dev.10
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.
- package/README.md +35 -35
- package/dist/src/common-types.d.ts +13 -2
- package/dist/src/common-types.d.ts.map +1 -1
- package/dist/src/common-types.js +133 -3
- package/dist/src/common-types.js.map +1 -1
- package/dist/src/commontypes.private.decorators.d.ts +44 -0
- package/dist/src/commontypes.private.decorators.d.ts.map +1 -0
- package/dist/src/commontypes.private.decorators.js +77 -0
- package/dist/src/commontypes.private.decorators.js.map +1 -0
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/lib.d.ts +17 -2
- package/dist/src/lib.d.ts.map +1 -1
- package/dist/src/lib.js +6 -0
- package/dist/src/lib.js.map +1 -1
- package/dist/src/namespace.d.ts.map +1 -1
- package/dist/src/namespace.js +35 -0
- package/dist/src/namespace.js.map +1 -1
- package/dist/src/private.decorators.d.ts +1 -27
- package/dist/src/private.decorators.d.ts.map +1 -1
- package/dist/src/private.decorators.js +0 -149
- package/dist/src/private.decorators.js.map +1 -1
- package/dist/src/rules/arm-common-types-version.d.ts.map +1 -1
- package/dist/src/rules/arm-common-types-version.js +2 -3
- package/dist/src/rules/arm-common-types-version.js.map +1 -1
- package/dist/src/rules/arm-post-response-codes.d.ts.map +1 -1
- package/dist/src/rules/arm-post-response-codes.js.map +1 -1
- package/dist/src/rules/core-operations.js +1 -1
- package/dist/src/rules/core-operations.js.map +1 -1
- package/dist/src/rules/missing-x-ms-identifiers.js +1 -1
- package/dist/src/rules/missing-x-ms-identifiers.js.map +1 -1
- package/lib/arm.tsp +2 -9
- package/lib/backcompat.tsp +27 -0
- package/lib/common-types/common-types.tsp +11 -1
- package/lib/common-types/commontypes.private.decorators.tsp +43 -0
- package/lib/common-types/customer-managed-keys-ref.tsp +27 -0
- package/lib/common-types/customer-managed-keys.tsp +37 -46
- package/lib/common-types/extended-location-ref.tsp +1 -0
- package/lib/common-types/extended-location.tsp +15 -16
- package/lib/common-types/internal.tsp +24 -0
- package/lib/common-types/managed-identity-ref.tsp +79 -0
- package/lib/common-types/managed-identity.tsp +50 -66
- package/lib/common-types/private-links-ref.tsp +159 -0
- package/lib/common-types/private-links.tsp +55 -102
- package/lib/common-types/types-ref.tsp +414 -0
- package/lib/common-types/types.tsp +324 -202
- package/lib/decorators.tsp +1 -1
- package/lib/{arm.foundations.tsp → foundations/arm.foundations.tsp} +23 -21
- package/lib/foundations/backcompat.tsp +39 -0
- package/lib/{common-types/backcompat.tsp → foundations/deprecation.tsp} +11 -0
- package/lib/interfaces.tsp +0 -1
- package/lib/models.tsp +25 -2
- package/lib/operations.tsp +5 -32
- package/lib/parameters.tsp +14 -67
- package/lib/private.decorators.tsp +0 -38
- package/lib/responses.tsp +8 -17
- package/package.json +5 -7
|
@@ -1,30 +1,13 @@
|
|
|
1
|
-
import "@typespec/openapi";
|
|
2
|
-
import "@typespec/http";
|
|
3
|
-
import "@typespec/rest";
|
|
4
|
-
import "@typespec/versioning";
|
|
5
|
-
import "@azure-tools/typespec-autorest";
|
|
6
|
-
import "@azure-tools/typespec-azure-core";
|
|
7
|
-
|
|
8
1
|
using TypeSpec.Http;
|
|
9
|
-
using TypeSpec.OpenAPI;
|
|
10
2
|
using TypeSpec.Versioning;
|
|
11
|
-
using
|
|
12
|
-
|
|
13
|
-
namespace Azure.ResourceManager;
|
|
14
|
-
|
|
15
|
-
/** The
|
|
16
|
-
@armCommonDefinition(
|
|
17
|
-
"PrivateEndpoint",
|
|
18
|
-
#{ version: Azure.ResourceManager.CommonTypes.Versions.v4, isDefault: true },
|
|
19
|
-
"privatelinks.json"
|
|
20
|
-
)
|
|
21
|
-
@armCommonDefinition(
|
|
22
|
-
"PrivateEndpoint",
|
|
23
|
-
Azure.ResourceManager.CommonTypes.Versions.v5,
|
|
24
|
-
"privatelinks.json"
|
|
25
|
-
)
|
|
3
|
+
using OpenAPI;
|
|
4
|
+
|
|
5
|
+
namespace Azure.ResourceManager.CommonTypes;
|
|
6
|
+
|
|
7
|
+
/** The Private Endpoint resource. */
|
|
26
8
|
model PrivateEndpoint {
|
|
27
9
|
/** The resource identifier for private endpoint */
|
|
10
|
+
@visibility("read")
|
|
28
11
|
id?: Azure.Core.armResourceIdentifier<[
|
|
29
12
|
{
|
|
30
13
|
type: "Microsoft.Network/privateEndpoints";
|
|
@@ -32,49 +15,65 @@ model PrivateEndpoint {
|
|
|
32
15
|
]>;
|
|
33
16
|
}
|
|
34
17
|
|
|
18
|
+
/** A private link resource. */
|
|
19
|
+
model PrivateLinkResource extends Resource {
|
|
20
|
+
/** Resource properties. */
|
|
21
|
+
@extension("x-ms-client-flatten", true)
|
|
22
|
+
properties?: PrivateLinkResourceProperties;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** Properties of a private link resource. */
|
|
26
|
+
model PrivateLinkResourceProperties {
|
|
27
|
+
/** The private link resource group id. */
|
|
28
|
+
@visibility("read")
|
|
29
|
+
groupId?: string;
|
|
30
|
+
|
|
31
|
+
/** The private link resource required member names. */
|
|
32
|
+
@visibility("read")
|
|
33
|
+
requiredMembers?: string[];
|
|
34
|
+
|
|
35
|
+
/** The private link resource private link DNS zone name. */
|
|
36
|
+
requiredZoneNames?: string[];
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/** A list of private link resources. */
|
|
40
|
+
model PrivateLinkResourceListResult {
|
|
41
|
+
/** Array of private link resources */
|
|
42
|
+
value?: PrivateLinkResource[];
|
|
43
|
+
}
|
|
44
|
+
//#region
|
|
35
45
|
/** The private endpoint connection resource */
|
|
36
|
-
model PrivateEndpointConnection extends
|
|
46
|
+
model PrivateEndpointConnection extends Resource {
|
|
37
47
|
/** The private endpoint connection properties */
|
|
48
|
+
@extension("x-ms-client-flatten", true)
|
|
38
49
|
properties?: PrivateEndpointConnectionProperties;
|
|
39
50
|
}
|
|
40
51
|
|
|
41
|
-
/**
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"PrivateEndpointConnectionProperties",
|
|
49
|
-
Azure.ResourceManager.CommonTypes.Versions.v5,
|
|
50
|
-
"privatelinks.json"
|
|
51
|
-
)
|
|
52
|
+
/** List of private endpoint connections associated with the specified resource. */
|
|
53
|
+
model PrivateEndpointConnectionListResult {
|
|
54
|
+
/** Array of private endpoint connections. */
|
|
55
|
+
value?: PrivateEndpointConnection[];
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/** Properties of the private endpoint connection. */
|
|
52
59
|
model PrivateEndpointConnectionProperties {
|
|
53
|
-
/** The group
|
|
60
|
+
/** The group ids for the private endpoint resource. */
|
|
54
61
|
@visibility("read")
|
|
62
|
+
@added(Versions.v4)
|
|
55
63
|
groupIds?: string[];
|
|
56
64
|
|
|
57
|
-
/** The private endpoint resource */
|
|
65
|
+
/** The private endpoint resource. */
|
|
58
66
|
privateEndpoint?: PrivateEndpoint;
|
|
59
67
|
|
|
60
68
|
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
61
69
|
privateLinkServiceConnectionState: PrivateLinkServiceConnectionState;
|
|
62
70
|
|
|
63
71
|
/** The provisioning state of the private endpoint connection resource. */
|
|
72
|
+
@visibility("read")
|
|
64
73
|
provisioningState?: PrivateEndpointConnectionProvisioningState;
|
|
65
74
|
}
|
|
66
75
|
|
|
67
76
|
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
68
|
-
@armCommonDefinition(
|
|
69
|
-
"PrivateLinkServiceConnectionState",
|
|
70
|
-
#{ version: Azure.ResourceManager.CommonTypes.Versions.v4, isDefault: true },
|
|
71
|
-
"privatelinks.json"
|
|
72
|
-
)
|
|
73
|
-
@armCommonDefinition(
|
|
74
|
-
"PrivateLinkServiceConnectionState",
|
|
75
|
-
Azure.ResourceManager.CommonTypes.Versions.v5,
|
|
76
|
-
"privatelinks.json"
|
|
77
|
-
)
|
|
78
77
|
model PrivateLinkServiceConnectionState {
|
|
79
78
|
/** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
|
|
80
79
|
status?: PrivateEndpointServiceConnectionStatus;
|
|
@@ -86,18 +85,24 @@ model PrivateLinkServiceConnectionState {
|
|
|
86
85
|
actionsRequired?: string;
|
|
87
86
|
}
|
|
88
87
|
|
|
89
|
-
/** The provisioning state
|
|
88
|
+
/** The current provisioning state. */
|
|
90
89
|
union PrivateEndpointConnectionProvisioningState {
|
|
91
|
-
|
|
90
|
+
string,
|
|
91
|
+
|
|
92
|
+
/** Connection has been provisioned */
|
|
93
|
+
Succeeded: "Succeeded",
|
|
92
94
|
|
|
93
95
|
/** Connection is being created */
|
|
94
96
|
Creating: "Creating",
|
|
95
97
|
|
|
96
98
|
/** Connection is being deleted */
|
|
97
99
|
Deleting: "Deleting",
|
|
100
|
+
|
|
101
|
+
/** Connection provisioning has failed */
|
|
102
|
+
Failed: "Failed",
|
|
98
103
|
}
|
|
99
104
|
|
|
100
|
-
/** The private endpoint connection status */
|
|
105
|
+
/** The private endpoint connection status. */
|
|
101
106
|
union PrivateEndpointServiceConnectionStatus {
|
|
102
107
|
/** Connectionaiting for approval or rejection */
|
|
103
108
|
Pending: "Pending",
|
|
@@ -111,48 +116,6 @@ union PrivateEndpointServiceConnectionStatus {
|
|
|
111
116
|
string,
|
|
112
117
|
}
|
|
113
118
|
|
|
114
|
-
model PrivateLinkResource extends Azure.ResourceManager.Foundations.ProxyResource {
|
|
115
|
-
/** Properties of the private link resource. */
|
|
116
|
-
properties?: PrivateLinkResourceProperties;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/** Properties of a private link resource. */
|
|
120
|
-
#suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-provisioning-state" "Matches current common code"
|
|
121
|
-
@armCommonDefinition(
|
|
122
|
-
"PrivateLinkResourceProperties",
|
|
123
|
-
#{ version: Azure.ResourceManager.CommonTypes.Versions.v4, isDefault: true },
|
|
124
|
-
"privatelinks.json"
|
|
125
|
-
)
|
|
126
|
-
@armCommonDefinition(
|
|
127
|
-
"PrivateLinkResourceProperties",
|
|
128
|
-
Azure.ResourceManager.CommonTypes.Versions.v5,
|
|
129
|
-
"privatelinks.json"
|
|
130
|
-
)
|
|
131
|
-
model PrivateLinkResourceProperties {
|
|
132
|
-
/** The private link resource group id. */
|
|
133
|
-
@visibility("read")
|
|
134
|
-
groupId?: string;
|
|
135
|
-
|
|
136
|
-
/** The private link resource required member names. */
|
|
137
|
-
@visibility("read")
|
|
138
|
-
requiredMembers?: string[];
|
|
139
|
-
|
|
140
|
-
/** The private link resource private link DNS zone name. */
|
|
141
|
-
requiredZoneNames?: string[];
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
/** List of private endpoint connections associated with the specified resource. */
|
|
145
|
-
model PrivateEndpointConnectionResourceListResult {
|
|
146
|
-
/** Array of private endpoint connections */
|
|
147
|
-
value?: PrivateEndpointConnection[];
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
/** A list of private link resources. */
|
|
151
|
-
model PrivateLinkResourceListResult {
|
|
152
|
-
/** Array of private link resources */
|
|
153
|
-
value?: PrivateLinkResource[];
|
|
154
|
-
}
|
|
155
|
-
|
|
156
119
|
/**
|
|
157
120
|
* The name of the private endpoint connection associated with the Azure resource.
|
|
158
121
|
* @template Segment The resource type name for private endpoint connections (default is privateEndpointConnections)
|
|
@@ -160,16 +123,6 @@ model PrivateLinkResourceListResult {
|
|
|
160
123
|
model PrivateEndpointConnectionParameter<Segment extends valueof string = "privateEndpointConnections"> {
|
|
161
124
|
/** The name of the private endpoint connection associated with the Azure resource. */
|
|
162
125
|
@path
|
|
163
|
-
@armCommonParameter(
|
|
164
|
-
"PrivateEndpointConnectionName",
|
|
165
|
-
#{ version: Azure.ResourceManager.CommonTypes.Versions.v4, isDefault: true },
|
|
166
|
-
"privatelinks.json"
|
|
167
|
-
)
|
|
168
|
-
@armCommonParameter(
|
|
169
|
-
"PrivateEndpointConnectionName",
|
|
170
|
-
Azure.ResourceManager.CommonTypes.Versions.v5,
|
|
171
|
-
"privatelinks.json"
|
|
172
|
-
)
|
|
173
126
|
@TypeSpec.Rest.segment(Segment)
|
|
174
127
|
@key("privateEndpointConnectionName")
|
|
175
128
|
name: string;
|
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
import "../private.decorators.tsp";
|
|
2
|
+
import "./common-types.tsp";
|
|
3
|
+
import "./types.tsp";
|
|
4
|
+
|
|
5
|
+
using Azure.ResourceManager.Private;
|
|
6
|
+
using Azure.ResourceManager.CommonTypes.Private;
|
|
7
|
+
|
|
8
|
+
namespace Azure.ResourceManager.CommonTypes;
|
|
9
|
+
|
|
10
|
+
/** Common resource fields that are returned in the response for all Azure Resource Manager resources. */
|
|
11
|
+
@@armCommonDefinition(Resource, "Resource", Azure.ResourceManager.CommonTypes.Versions.v3);
|
|
12
|
+
@@armCommonDefinition(Resource, "Resource", Azure.ResourceManager.CommonTypes.Versions.v4);
|
|
13
|
+
@@armCommonDefinition(Resource, "Resource", Azure.ResourceManager.CommonTypes.Versions.v5);
|
|
14
|
+
|
|
15
|
+
/** The resource model definition for an Azure Resource Manager resource with an etag. */
|
|
16
|
+
@@armCommonDefinition(AzureEntityResource,
|
|
17
|
+
"TrackedResource",
|
|
18
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
19
|
+
);
|
|
20
|
+
@@armCommonDefinition(AzureEntityResource,
|
|
21
|
+
"TrackedResource",
|
|
22
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
23
|
+
);
|
|
24
|
+
@@armCommonDefinition(AzureEntityResource,
|
|
25
|
+
"TrackedResource",
|
|
26
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* The base tracked resource.
|
|
31
|
+
*/
|
|
32
|
+
@@armCommonDefinition(TrackedResource,
|
|
33
|
+
"TrackedResource",
|
|
34
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
35
|
+
);
|
|
36
|
+
@@armCommonDefinition(TrackedResource,
|
|
37
|
+
"TrackedResource",
|
|
38
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
39
|
+
);
|
|
40
|
+
@@armCommonDefinition(TrackedResource,
|
|
41
|
+
"TrackedResource",
|
|
42
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* The base proxy resource.
|
|
47
|
+
*/
|
|
48
|
+
@@armCommonDefinition(ProxyResource,
|
|
49
|
+
"ProxyResource",
|
|
50
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
51
|
+
);
|
|
52
|
+
@@armCommonDefinition(ProxyResource,
|
|
53
|
+
"ProxyResource",
|
|
54
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
55
|
+
);
|
|
56
|
+
@@armCommonDefinition(ProxyResource,
|
|
57
|
+
"ProxyResource",
|
|
58
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
59
|
+
);
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* The base extension resource.
|
|
63
|
+
*/
|
|
64
|
+
@@armCommonDefinition(ExtensionResource,
|
|
65
|
+
"ProxyResource",
|
|
66
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
67
|
+
);
|
|
68
|
+
@@armCommonDefinition(ExtensionResource,
|
|
69
|
+
"ProxyResource",
|
|
70
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
71
|
+
);
|
|
72
|
+
@@armCommonDefinition(ExtensionResource,
|
|
73
|
+
"ProxyResource",
|
|
74
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
75
|
+
);
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* The SKU (Stock Keeping Unit) assigned to this resource.
|
|
79
|
+
*/
|
|
80
|
+
@@armCommonDefinition(Sku, "Sku", Azure.ResourceManager.CommonTypes.Versions.v3);
|
|
81
|
+
@@armCommonDefinition(Sku, "Sku", Azure.ResourceManager.CommonTypes.Versions.v4);
|
|
82
|
+
@@armCommonDefinition(Sku, "Sku", Azure.ResourceManager.CommonTypes.Versions.v5);
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.
|
|
86
|
+
*/
|
|
87
|
+
@@armCommonDefinition(OperationListResult,
|
|
88
|
+
"OperationListResult",
|
|
89
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
90
|
+
);
|
|
91
|
+
@@armCommonDefinition(OperationListResult,
|
|
92
|
+
"OperationListResult",
|
|
93
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
94
|
+
);
|
|
95
|
+
@@armCommonDefinition(OperationListResult,
|
|
96
|
+
"OperationListResult",
|
|
97
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
98
|
+
);
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Details of a REST API operation, returned from the Resource Provider Operations API
|
|
102
|
+
*/
|
|
103
|
+
@@armCommonDefinition(Operation, "Operation", Azure.ResourceManager.CommonTypes.Versions.v3);
|
|
104
|
+
@@armCommonDefinition(Operation, "Operation", Azure.ResourceManager.CommonTypes.Versions.v4);
|
|
105
|
+
@@armCommonDefinition(Operation, "Operation", Azure.ResourceManager.CommonTypes.Versions.v5);
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Localized display information for and operation.
|
|
109
|
+
*/
|
|
110
|
+
@@armCommonDefinition(OperationDisplay,
|
|
111
|
+
"OperationDisplay",
|
|
112
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
113
|
+
);
|
|
114
|
+
@@armCommonDefinition(OperationDisplay,
|
|
115
|
+
"OperationDisplay",
|
|
116
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
117
|
+
);
|
|
118
|
+
@@armCommonDefinition(OperationDisplay,
|
|
119
|
+
"OperationDisplay",
|
|
120
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
121
|
+
);
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* The current status of an async operation.
|
|
125
|
+
*/
|
|
126
|
+
@@armCommonDefinition(OperationStatusResult,
|
|
127
|
+
"OperationStatusResult",
|
|
128
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
129
|
+
);
|
|
130
|
+
@@armCommonDefinition(OperationStatusResult,
|
|
131
|
+
"OperationStatusResult",
|
|
132
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
133
|
+
);
|
|
134
|
+
@@armCommonDefinition(OperationStatusResult,
|
|
135
|
+
"OperationStatusResult",
|
|
136
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
137
|
+
);
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* locationData
|
|
141
|
+
*/
|
|
142
|
+
@@armCommonDefinition(LocationData, "locationData", Azure.ResourceManager.CommonTypes.Versions.v3);
|
|
143
|
+
@@armCommonDefinition(LocationData, "locationData", Azure.ResourceManager.CommonTypes.Versions.v4);
|
|
144
|
+
@@armCommonDefinition(LocationData, "locationData", Azure.ResourceManager.CommonTypes.Versions.v5);
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* The error detail.
|
|
148
|
+
*/
|
|
149
|
+
@@armCommonDefinition(ErrorDetail, "ErrorDetail", Azure.ResourceManager.CommonTypes.Versions.v3);
|
|
150
|
+
@@armCommonDefinition(ErrorDetail, "ErrorDetail", Azure.ResourceManager.CommonTypes.Versions.v4);
|
|
151
|
+
@@armCommonDefinition(ErrorDetail, "ErrorDetail", Azure.ResourceManager.CommonTypes.Versions.v5);
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* The resource management error additional info.
|
|
155
|
+
*/
|
|
156
|
+
@@armCommonDefinition(ErrorAdditionalInfo,
|
|
157
|
+
"ErrorAdditionalInfo",
|
|
158
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
159
|
+
);
|
|
160
|
+
@@armCommonDefinition(ErrorAdditionalInfo,
|
|
161
|
+
"ErrorAdditionalInfo",
|
|
162
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
163
|
+
);
|
|
164
|
+
@@armCommonDefinition(ErrorAdditionalInfo,
|
|
165
|
+
"ErrorAdditionalInfo",
|
|
166
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
167
|
+
);
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Identity
|
|
171
|
+
*/
|
|
172
|
+
@@armCommonDefinition(Identity, "Identity", Azure.ResourceManager.CommonTypes.Versions.v3);
|
|
173
|
+
@@armCommonDefinition(Identity, "Identity", Azure.ResourceManager.CommonTypes.Versions.v4);
|
|
174
|
+
@@armCommonDefinition(Identity, "Identity", Azure.ResourceManager.CommonTypes.Versions.v5);
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
178
|
+
*/
|
|
179
|
+
@@armCommonDefinition(SystemData, "systemData", Azure.ResourceManager.CommonTypes.Versions.v3);
|
|
180
|
+
@@armCommonDefinition(SystemData, "systemData", Azure.ResourceManager.CommonTypes.Versions.v4);
|
|
181
|
+
@@armCommonDefinition(SystemData, "systemData", Azure.ResourceManager.CommonTypes.Versions.v5);
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Details of the resource plan.
|
|
185
|
+
*/
|
|
186
|
+
@@armCommonDefinition(Plan, "Plan", Azure.ResourceManager.CommonTypes.Versions.v3);
|
|
187
|
+
@@armCommonDefinition(Plan, "Plan", Azure.ResourceManager.CommonTypes.Versions.v4);
|
|
188
|
+
@@armCommonDefinition(Plan, "Plan", Azure.ResourceManager.CommonTypes.Versions.v5);
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* encryptionProperties
|
|
192
|
+
*/
|
|
193
|
+
@@armCommonDefinition(EncryptionProperties,
|
|
194
|
+
"encryptionProperties",
|
|
195
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
196
|
+
);
|
|
197
|
+
@@armCommonDefinition(EncryptionProperties,
|
|
198
|
+
"encryptionProperties",
|
|
199
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
200
|
+
);
|
|
201
|
+
@@armCommonDefinition(EncryptionProperties,
|
|
202
|
+
"encryptionProperties",
|
|
203
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
204
|
+
);
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* KeyVaultProperties
|
|
208
|
+
*/
|
|
209
|
+
@@armCommonDefinition(KeyVaultProperties,
|
|
210
|
+
"KeyVaultProperties",
|
|
211
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
212
|
+
);
|
|
213
|
+
@@armCommonDefinition(KeyVaultProperties,
|
|
214
|
+
"KeyVaultProperties",
|
|
215
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
216
|
+
);
|
|
217
|
+
@@armCommonDefinition(KeyVaultProperties,
|
|
218
|
+
"KeyVaultProperties",
|
|
219
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
220
|
+
);
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* ResourceModelWithAllowedPropertySet
|
|
224
|
+
*/
|
|
225
|
+
@@armCommonDefinition(ResourceModelWithAllowedPropertySet,
|
|
226
|
+
"ResourceModelWithAllowedPropertySet",
|
|
227
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
228
|
+
);
|
|
229
|
+
@@armCommonDefinition(ResourceModelWithAllowedPropertySet,
|
|
230
|
+
"ResourceModelWithAllowedPropertySet",
|
|
231
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
232
|
+
);
|
|
233
|
+
@@armCommonDefinition(ResourceModelWithAllowedPropertySet,
|
|
234
|
+
"ResourceModelWithAllowedPropertySet",
|
|
235
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
236
|
+
);
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* The check availability request body.
|
|
240
|
+
*/
|
|
241
|
+
@@armCommonDefinition(CheckNameAvailabilityRequest,
|
|
242
|
+
"CheckNameAvailabilityRequest",
|
|
243
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
244
|
+
);
|
|
245
|
+
@@armCommonDefinition(CheckNameAvailabilityRequest,
|
|
246
|
+
"CheckNameAvailabilityRequest",
|
|
247
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
248
|
+
);
|
|
249
|
+
@@armCommonDefinition(CheckNameAvailabilityRequest,
|
|
250
|
+
"CheckNameAvailabilityRequest",
|
|
251
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
252
|
+
);
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* The check availability result.
|
|
256
|
+
*/
|
|
257
|
+
@@armCommonDefinition(CheckNameAvailabilityResponse,
|
|
258
|
+
"CheckNameAvailabilityResponse",
|
|
259
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
260
|
+
);
|
|
261
|
+
@@armCommonDefinition(CheckNameAvailabilityResponse,
|
|
262
|
+
"CheckNameAvailabilityResponse",
|
|
263
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
264
|
+
);
|
|
265
|
+
@@armCommonDefinition(CheckNameAvailabilityResponse,
|
|
266
|
+
"CheckNameAvailabilityResponse",
|
|
267
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
268
|
+
);
|
|
269
|
+
|
|
270
|
+
@@armCommonDefinition(ErrorResponse,
|
|
271
|
+
"ErrorResponse",
|
|
272
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
273
|
+
);
|
|
274
|
+
@@armCommonDefinition(ErrorResponse,
|
|
275
|
+
"ErrorResponse",
|
|
276
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
277
|
+
);
|
|
278
|
+
@@armCommonDefinition(ErrorResponse,
|
|
279
|
+
"ErrorResponse",
|
|
280
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
281
|
+
);
|
|
282
|
+
|
|
283
|
+
// -- Parameters
|
|
284
|
+
/** ApiVersionParameter */
|
|
285
|
+
@@armCommonParameter(ApiVersionParameter.apiVersion,
|
|
286
|
+
"ApiVersionParameter",
|
|
287
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
288
|
+
);
|
|
289
|
+
@@armCommonParameter(ApiVersionParameter.apiVersion,
|
|
290
|
+
"ApiVersionParameter",
|
|
291
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
292
|
+
);
|
|
293
|
+
@@armCommonParameter(ApiVersionParameter.apiVersion,
|
|
294
|
+
"ApiVersionParameter",
|
|
295
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
296
|
+
);
|
|
297
|
+
|
|
298
|
+
@@resourceParameterBaseFor(ApiVersionParameter.apiVersion,
|
|
299
|
+
[
|
|
300
|
+
ResourceHome.ResourceGroup,
|
|
301
|
+
ResourceHome.Subscription,
|
|
302
|
+
ResourceHome.Location,
|
|
303
|
+
ResourceHome.Tenant,
|
|
304
|
+
ResourceHome.Extension
|
|
305
|
+
]
|
|
306
|
+
);
|
|
307
|
+
|
|
308
|
+
/** SubscriptionIdParameter */
|
|
309
|
+
@@armCommonParameter(SubscriptionIdParameter.subscriptionId,
|
|
310
|
+
"SubscriptionIdParameter",
|
|
311
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
312
|
+
);
|
|
313
|
+
@@armCommonParameter(SubscriptionIdParameter.subscriptionId,
|
|
314
|
+
"SubscriptionIdParameter",
|
|
315
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
316
|
+
);
|
|
317
|
+
@@armCommonParameter(SubscriptionIdParameter.subscriptionId,
|
|
318
|
+
"SubscriptionIdParameter",
|
|
319
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
320
|
+
);
|
|
321
|
+
@@resourceParameterBaseFor(SubscriptionIdParameter.subscriptionId,
|
|
322
|
+
[ResourceHome.ResourceGroup, ResourceHome.Subscription, ResourceHome.Location]
|
|
323
|
+
);
|
|
324
|
+
|
|
325
|
+
/** ResourceGroupNameParameter */
|
|
326
|
+
@@armCommonParameter(ResourceGroupNameParameter.resourceGroupName,
|
|
327
|
+
"ResourceGroupNameParameter",
|
|
328
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
329
|
+
);
|
|
330
|
+
@@armCommonParameter(ResourceGroupNameParameter.resourceGroupName,
|
|
331
|
+
"ResourceGroupNameParameter",
|
|
332
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
333
|
+
);
|
|
334
|
+
@@armCommonParameter(ResourceGroupNameParameter.resourceGroupName,
|
|
335
|
+
"ResourceGroupNameParameter",
|
|
336
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
337
|
+
);
|
|
338
|
+
@@resourceParameterBaseFor(ResourceGroupNameParameter.resourceGroupName,
|
|
339
|
+
[ResourceHome.ResourceGroup]
|
|
340
|
+
);
|
|
341
|
+
|
|
342
|
+
/** ManagementGroupNameParameter */
|
|
343
|
+
@@armCommonParameter(ManagementGroupNameParameter.managementGroupName,
|
|
344
|
+
"ManagementGroupNameParameter",
|
|
345
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
346
|
+
);
|
|
347
|
+
@@armCommonParameter(ManagementGroupNameParameter.managementGroupName,
|
|
348
|
+
"ManagementGroupNameParameter",
|
|
349
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
350
|
+
);
|
|
351
|
+
@@armCommonParameter(ManagementGroupNameParameter.managementGroupName,
|
|
352
|
+
"ManagementGroupNameParameter",
|
|
353
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
354
|
+
);
|
|
355
|
+
|
|
356
|
+
/** ScopeParameter */
|
|
357
|
+
@@armCommonParameter(ScopeParameter.scope,
|
|
358
|
+
"ScopeParameter",
|
|
359
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
360
|
+
);
|
|
361
|
+
@@armCommonParameter(ScopeParameter.scope,
|
|
362
|
+
"ScopeParameter",
|
|
363
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
364
|
+
);
|
|
365
|
+
@@armCommonParameter(ScopeParameter.scope,
|
|
366
|
+
"ScopeParameter",
|
|
367
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
368
|
+
);
|
|
369
|
+
|
|
370
|
+
/** LocationResourceParameter */
|
|
371
|
+
@@armCommonParameter(LocationResourceParameter.location,
|
|
372
|
+
"LocationParameter",
|
|
373
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
374
|
+
);
|
|
375
|
+
@@armCommonParameter(LocationResourceParameter.location,
|
|
376
|
+
"LocationParameter",
|
|
377
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
378
|
+
);
|
|
379
|
+
@@armCommonParameter(LocationResourceParameter.location,
|
|
380
|
+
"LocationParameter",
|
|
381
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
382
|
+
);
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* The default operationId parameter type.
|
|
386
|
+
*/
|
|
387
|
+
@@armCommonParameter(OperationIdParameter.operationId,
|
|
388
|
+
"OperationIdParameter",
|
|
389
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
390
|
+
);
|
|
391
|
+
@@armCommonParameter(OperationIdParameter.operationId,
|
|
392
|
+
"OperationIdParameter",
|
|
393
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
394
|
+
);
|
|
395
|
+
@@armCommonParameter(OperationIdParameter.operationId,
|
|
396
|
+
"OperationIdParameter",
|
|
397
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
398
|
+
);
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* TenantIdParameter
|
|
402
|
+
*/
|
|
403
|
+
@@armCommonParameter(TenantIdParameter.tenantId,
|
|
404
|
+
"TenantIdParameter",
|
|
405
|
+
Azure.ResourceManager.CommonTypes.Versions.v3
|
|
406
|
+
);
|
|
407
|
+
@@armCommonParameter(TenantIdParameter.tenantId,
|
|
408
|
+
"TenantIdParameter",
|
|
409
|
+
Azure.ResourceManager.CommonTypes.Versions.v4
|
|
410
|
+
);
|
|
411
|
+
@@armCommonParameter(TenantIdParameter.tenantId,
|
|
412
|
+
"TenantIdParameter",
|
|
413
|
+
Azure.ResourceManager.CommonTypes.Versions.v5
|
|
414
|
+
);
|