@azure/arm-resources 6.1.0-alpha.20250723.1 → 7.0.0-alpha.20250724.1
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/CHANGELOG.md +17 -0
- package/dist/browser/models/index.d.ts +12 -1202
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +0 -76
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +0 -42
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +235 -1749
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +14 -21
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +46 -98
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/index.d.ts +0 -2
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +0 -2
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/providerResourceTypes.js +1 -1
- package/dist/browser/operations/providerResourceTypes.js.map +1 -1
- package/dist/browser/operations/providers.js +5 -5
- package/dist/browser/operations/providers.js.map +1 -1
- package/dist/browser/operations/resourceGroups.js +3 -3
- package/dist/browser/operations/resourceGroups.js.map +1 -1
- package/dist/browser/operations/resources.js +13 -13
- package/dist/browser/operations/resources.js.map +1 -1
- package/dist/browser/operations/tagsOperations.js +2 -2
- package/dist/browser/operations/tagsOperations.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -2
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +0 -2
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/resourceManagementClient.d.ts +1 -3
- package/dist/browser/resourceManagementClient.d.ts.map +1 -1
- package/dist/browser/resourceManagementClient.js +3 -7
- package/dist/browser/resourceManagementClient.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +12 -1202
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +1 -77
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +0 -42
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +237 -1751
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +14 -21
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +46 -98
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +0 -2
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +0 -2
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/providerResourceTypes.js +1 -1
- package/dist/commonjs/operations/providerResourceTypes.js.map +1 -1
- package/dist/commonjs/operations/providers.js +5 -5
- package/dist/commonjs/operations/providers.js.map +1 -1
- package/dist/commonjs/operations/resourceGroups.js +3 -3
- package/dist/commonjs/operations/resourceGroups.js.map +1 -1
- package/dist/commonjs/operations/resources.js +13 -13
- package/dist/commonjs/operations/resources.js.map +1 -1
- package/dist/commonjs/operations/tagsOperations.js +2 -2
- package/dist/commonjs/operations/tagsOperations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -2
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -2
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/resourceManagementClient.d.ts +1 -3
- package/dist/commonjs/resourceManagementClient.d.ts.map +1 -1
- package/dist/commonjs/resourceManagementClient.js +2 -6
- package/dist/commonjs/resourceManagementClient.js.map +1 -1
- package/dist/esm/models/index.d.ts +12 -1202
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +0 -76
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +0 -42
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +235 -1749
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +14 -21
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +46 -98
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/index.d.ts +0 -2
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +0 -2
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/providerResourceTypes.js +1 -1
- package/dist/esm/operations/providerResourceTypes.js.map +1 -1
- package/dist/esm/operations/providers.js +5 -5
- package/dist/esm/operations/providers.js.map +1 -1
- package/dist/esm/operations/resourceGroups.js +3 -3
- package/dist/esm/operations/resourceGroups.js.map +1 -1
- package/dist/esm/operations/resources.js +13 -13
- package/dist/esm/operations/resources.js.map +1 -1
- package/dist/esm/operations/tagsOperations.js +2 -2
- package/dist/esm/operations/tagsOperations.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -2
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +0 -2
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/resourceManagementClient.d.ts +1 -3
- package/dist/esm/resourceManagementClient.d.ts.map +1 -1
- package/dist/esm/resourceManagementClient.js +3 -7
- package/dist/esm/resourceManagementClient.js.map +1 -1
- package/dist/react-native/models/index.d.ts +12 -1202
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +0 -76
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +0 -42
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +235 -1749
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +14 -21
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +46 -98
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +0 -2
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +0 -2
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/providerResourceTypes.js +1 -1
- package/dist/react-native/operations/providerResourceTypes.js.map +1 -1
- package/dist/react-native/operations/providers.js +5 -5
- package/dist/react-native/operations/providers.js.map +1 -1
- package/dist/react-native/operations/resourceGroups.js +3 -3
- package/dist/react-native/operations/resourceGroups.js.map +1 -1
- package/dist/react-native/operations/resources.js +13 -13
- package/dist/react-native/operations/resources.js.map +1 -1
- package/dist/react-native/operations/tagsOperations.js +2 -2
- package/dist/react-native/operations/tagsOperations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -2
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -2
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/resourceManagementClient.d.ts +1 -3
- package/dist/react-native/resourceManagementClient.d.ts.map +1 -1
- package/dist/react-native/resourceManagementClient.js +3 -7
- package/dist/react-native/resourceManagementClient.js.map +1 -1
- package/package.json +2 -2
- package/review/arm-resources-node.api.md +2 -995
- package/dist/browser/operations/deploymentOperations.d.ts +0 -168
- package/dist/browser/operations/deploymentOperations.d.ts.map +0 -1
- package/dist/browser/operations/deploymentOperations.js +0 -697
- package/dist/browser/operations/deploymentOperations.js.map +0 -1
- package/dist/browser/operations/deployments.d.ts +0 -628
- package/dist/browser/operations/deployments.d.ts.map +0 -1
- package/dist/browser/operations/deployments.js +0 -2776
- package/dist/browser/operations/deployments.js.map +0 -1
- package/dist/browser/operationsInterfaces/deploymentOperations.d.ts +0 -77
- package/dist/browser/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/deploymentOperations.js +0 -9
- package/dist/browser/operationsInterfaces/deploymentOperations.js.map +0 -1
- package/dist/browser/operationsInterfaces/deployments.d.ts +0 -545
- package/dist/browser/operationsInterfaces/deployments.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/deployments.js +0 -9
- package/dist/browser/operationsInterfaces/deployments.js.map +0 -1
- package/dist/commonjs/operations/deploymentOperations.d.ts +0 -168
- package/dist/commonjs/operations/deploymentOperations.d.ts.map +0 -1
- package/dist/commonjs/operations/deploymentOperations.js +0 -702
- package/dist/commonjs/operations/deploymentOperations.js.map +0 -1
- package/dist/commonjs/operations/deployments.d.ts +0 -628
- package/dist/commonjs/operations/deployments.d.ts.map +0 -1
- package/dist/commonjs/operations/deployments.js +0 -2781
- package/dist/commonjs/operations/deployments.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/deploymentOperations.d.ts +0 -77
- package/dist/commonjs/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/deploymentOperations.js +0 -10
- package/dist/commonjs/operationsInterfaces/deploymentOperations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/deployments.d.ts +0 -545
- package/dist/commonjs/operationsInterfaces/deployments.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/deployments.js +0 -10
- package/dist/commonjs/operationsInterfaces/deployments.js.map +0 -1
- package/dist/esm/operations/deploymentOperations.d.ts +0 -168
- package/dist/esm/operations/deploymentOperations.d.ts.map +0 -1
- package/dist/esm/operations/deploymentOperations.js +0 -697
- package/dist/esm/operations/deploymentOperations.js.map +0 -1
- package/dist/esm/operations/deployments.d.ts +0 -628
- package/dist/esm/operations/deployments.d.ts.map +0 -1
- package/dist/esm/operations/deployments.js +0 -2776
- package/dist/esm/operations/deployments.js.map +0 -1
- package/dist/esm/operationsInterfaces/deploymentOperations.d.ts +0 -77
- package/dist/esm/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/deploymentOperations.js +0 -9
- package/dist/esm/operationsInterfaces/deploymentOperations.js.map +0 -1
- package/dist/esm/operationsInterfaces/deployments.d.ts +0 -545
- package/dist/esm/operationsInterfaces/deployments.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/deployments.js +0 -9
- package/dist/esm/operationsInterfaces/deployments.js.map +0 -1
- package/dist/react-native/operations/deploymentOperations.d.ts +0 -168
- package/dist/react-native/operations/deploymentOperations.d.ts.map +0 -1
- package/dist/react-native/operations/deploymentOperations.js +0 -697
- package/dist/react-native/operations/deploymentOperations.js.map +0 -1
- package/dist/react-native/operations/deployments.d.ts +0 -628
- package/dist/react-native/operations/deployments.d.ts.map +0 -1
- package/dist/react-native/operations/deployments.js +0 -2776
- package/dist/react-native/operations/deployments.js.map +0 -1
- package/dist/react-native/operationsInterfaces/deploymentOperations.d.ts +0 -77
- package/dist/react-native/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/deploymentOperations.js +0 -9
- package/dist/react-native/operationsInterfaces/deploymentOperations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/deployments.d.ts +0 -545
- package/dist/react-native/operationsInterfaces/deployments.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/deployments.js +0 -9
- package/dist/react-native/operationsInterfaces/deployments.js.map +0 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
8
|
+
import { ProviderRegistrationRequest as ProviderRegistrationRequestMapper, ResourcesMoveInfo as ResourcesMoveInfoMapper, GenericResource as GenericResourceMapper, ResourceGroup as ResourceGroupMapper, ResourceGroupPatchable as ResourceGroupPatchableMapper, ExportTemplateRequest as ExportTemplateRequestMapper, TagsResource as TagsResourceMapper, TagsPatchResource as TagsPatchResourceMapper, } from "../models/mappers.js";
|
|
9
9
|
export const accept = {
|
|
10
10
|
parameterPath: "accept",
|
|
11
11
|
mapper: {
|
|
@@ -31,7 +31,7 @@ export const $host = {
|
|
|
31
31
|
export const apiVersion = {
|
|
32
32
|
parameterPath: "apiVersion",
|
|
33
33
|
mapper: {
|
|
34
|
-
defaultValue: "2025-
|
|
34
|
+
defaultValue: "2025-04-01",
|
|
35
35
|
isConstant: true,
|
|
36
36
|
serializedName: "api-version",
|
|
37
37
|
type: {
|
|
@@ -50,73 +50,26 @@ export const nextLink = {
|
|
|
50
50
|
},
|
|
51
51
|
skipEncoding: true,
|
|
52
52
|
};
|
|
53
|
-
export const
|
|
54
|
-
parameterPath: "
|
|
53
|
+
export const resourceProviderNamespace = {
|
|
54
|
+
parameterPath: "resourceProviderNamespace",
|
|
55
55
|
mapper: {
|
|
56
|
-
serializedName: "
|
|
56
|
+
serializedName: "resourceProviderNamespace",
|
|
57
57
|
required: true,
|
|
58
58
|
type: {
|
|
59
59
|
name: "String",
|
|
60
60
|
},
|
|
61
61
|
},
|
|
62
|
-
skipEncoding: true,
|
|
63
62
|
};
|
|
64
|
-
export const
|
|
65
|
-
parameterPath: "
|
|
63
|
+
export const subscriptionId = {
|
|
64
|
+
parameterPath: "subscriptionId",
|
|
66
65
|
mapper: {
|
|
67
|
-
|
|
68
|
-
Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"),
|
|
69
|
-
MaxLength: 64,
|
|
70
|
-
MinLength: 1,
|
|
71
|
-
},
|
|
72
|
-
serializedName: "deploymentName",
|
|
66
|
+
serializedName: "subscriptionId",
|
|
73
67
|
required: true,
|
|
74
68
|
type: {
|
|
75
69
|
name: "String",
|
|
76
70
|
},
|
|
77
71
|
},
|
|
78
72
|
};
|
|
79
|
-
export const contentType = {
|
|
80
|
-
parameterPath: ["options", "contentType"],
|
|
81
|
-
mapper: {
|
|
82
|
-
defaultValue: "application/json",
|
|
83
|
-
isConstant: true,
|
|
84
|
-
serializedName: "Content-Type",
|
|
85
|
-
type: {
|
|
86
|
-
name: "String",
|
|
87
|
-
},
|
|
88
|
-
},
|
|
89
|
-
};
|
|
90
|
-
export const parameters = {
|
|
91
|
-
parameterPath: "parameters",
|
|
92
|
-
mapper: DeploymentMapper,
|
|
93
|
-
};
|
|
94
|
-
export const filter = {
|
|
95
|
-
parameterPath: ["options", "filter"],
|
|
96
|
-
mapper: {
|
|
97
|
-
serializedName: "$filter",
|
|
98
|
-
type: {
|
|
99
|
-
name: "String",
|
|
100
|
-
},
|
|
101
|
-
},
|
|
102
|
-
};
|
|
103
|
-
export const top = {
|
|
104
|
-
parameterPath: ["options", "top"],
|
|
105
|
-
mapper: {
|
|
106
|
-
serializedName: "$top",
|
|
107
|
-
type: {
|
|
108
|
-
name: "Number",
|
|
109
|
-
},
|
|
110
|
-
},
|
|
111
|
-
};
|
|
112
|
-
export const parameters1 = {
|
|
113
|
-
parameterPath: "parameters",
|
|
114
|
-
mapper: ScopedDeploymentMapper,
|
|
115
|
-
};
|
|
116
|
-
export const parameters2 = {
|
|
117
|
-
parameterPath: "parameters",
|
|
118
|
-
mapper: ScopedDeploymentWhatIfMapper,
|
|
119
|
-
};
|
|
120
73
|
export const groupId = {
|
|
121
74
|
parameterPath: "groupId",
|
|
122
75
|
mapper: {
|
|
@@ -131,19 +84,29 @@ export const groupId = {
|
|
|
131
84
|
},
|
|
132
85
|
},
|
|
133
86
|
};
|
|
134
|
-
export const
|
|
135
|
-
parameterPath: "
|
|
87
|
+
export const contentType = {
|
|
88
|
+
parameterPath: ["options", "contentType"],
|
|
136
89
|
mapper: {
|
|
137
|
-
|
|
138
|
-
|
|
90
|
+
defaultValue: "application/json",
|
|
91
|
+
isConstant: true,
|
|
92
|
+
serializedName: "Content-Type",
|
|
139
93
|
type: {
|
|
140
94
|
name: "String",
|
|
141
95
|
},
|
|
142
96
|
},
|
|
143
97
|
};
|
|
144
|
-
export const
|
|
145
|
-
parameterPath: "
|
|
146
|
-
mapper:
|
|
98
|
+
export const properties = {
|
|
99
|
+
parameterPath: ["options", "properties"],
|
|
100
|
+
mapper: ProviderRegistrationRequestMapper,
|
|
101
|
+
};
|
|
102
|
+
export const expand = {
|
|
103
|
+
parameterPath: ["options", "expand"],
|
|
104
|
+
mapper: {
|
|
105
|
+
serializedName: "$expand",
|
|
106
|
+
type: {
|
|
107
|
+
name: "String",
|
|
108
|
+
},
|
|
109
|
+
},
|
|
147
110
|
};
|
|
148
111
|
export const resourceGroupName = {
|
|
149
112
|
parameterPath: "resourceGroupName",
|
|
@@ -160,41 +123,25 @@ export const resourceGroupName = {
|
|
|
160
123
|
},
|
|
161
124
|
},
|
|
162
125
|
};
|
|
163
|
-
export const
|
|
164
|
-
parameterPath: "
|
|
165
|
-
mapper: {
|
|
166
|
-
serializedName: "template",
|
|
167
|
-
required: true,
|
|
168
|
-
type: {
|
|
169
|
-
name: "Dictionary",
|
|
170
|
-
value: { type: { name: "any" } },
|
|
171
|
-
},
|
|
172
|
-
},
|
|
173
|
-
};
|
|
174
|
-
export const resourceProviderNamespace = {
|
|
175
|
-
parameterPath: "resourceProviderNamespace",
|
|
126
|
+
export const filter = {
|
|
127
|
+
parameterPath: ["options", "filter"],
|
|
176
128
|
mapper: {
|
|
177
|
-
serializedName: "
|
|
178
|
-
required: true,
|
|
129
|
+
serializedName: "$filter",
|
|
179
130
|
type: {
|
|
180
131
|
name: "String",
|
|
181
132
|
},
|
|
182
133
|
},
|
|
183
134
|
};
|
|
184
|
-
export const
|
|
185
|
-
parameterPath: ["options", "
|
|
186
|
-
mapper: ProviderRegistrationRequestMapper,
|
|
187
|
-
};
|
|
188
|
-
export const expand = {
|
|
189
|
-
parameterPath: ["options", "expand"],
|
|
135
|
+
export const top = {
|
|
136
|
+
parameterPath: ["options", "top"],
|
|
190
137
|
mapper: {
|
|
191
|
-
serializedName: "$
|
|
138
|
+
serializedName: "$top",
|
|
192
139
|
type: {
|
|
193
|
-
name: "
|
|
140
|
+
name: "Number",
|
|
194
141
|
},
|
|
195
142
|
},
|
|
196
143
|
};
|
|
197
|
-
export const
|
|
144
|
+
export const parameters = {
|
|
198
145
|
parameterPath: "parameters",
|
|
199
146
|
mapper: ResourcesMoveInfoMapper,
|
|
200
147
|
};
|
|
@@ -255,7 +202,7 @@ export const apiVersion1 = {
|
|
|
255
202
|
},
|
|
256
203
|
},
|
|
257
204
|
};
|
|
258
|
-
export const
|
|
205
|
+
export const parameters1 = {
|
|
259
206
|
parameterPath: "parameters",
|
|
260
207
|
mapper: GenericResourceMapper,
|
|
261
208
|
};
|
|
@@ -270,7 +217,7 @@ export const resourceId = {
|
|
|
270
217
|
},
|
|
271
218
|
skipEncoding: true,
|
|
272
219
|
};
|
|
273
|
-
export const
|
|
220
|
+
export const parameters2 = {
|
|
274
221
|
parameterPath: "parameters",
|
|
275
222
|
mapper: ResourceGroupMapper,
|
|
276
223
|
};
|
|
@@ -283,11 +230,11 @@ export const forceDeletionTypes = {
|
|
|
283
230
|
},
|
|
284
231
|
},
|
|
285
232
|
};
|
|
286
|
-
export const
|
|
233
|
+
export const parameters3 = {
|
|
287
234
|
parameterPath: "parameters",
|
|
288
235
|
mapper: ResourceGroupPatchableMapper,
|
|
289
236
|
};
|
|
290
|
-
export const
|
|
237
|
+
export const parameters4 = {
|
|
291
238
|
parameterPath: "parameters",
|
|
292
239
|
mapper: ExportTemplateRequestMapper,
|
|
293
240
|
};
|
|
@@ -325,22 +272,23 @@ export const tagValue = {
|
|
|
325
272
|
},
|
|
326
273
|
},
|
|
327
274
|
};
|
|
328
|
-
export const
|
|
275
|
+
export const parameters5 = {
|
|
329
276
|
parameterPath: "parameters",
|
|
330
277
|
mapper: TagsResourceMapper,
|
|
331
278
|
};
|
|
332
|
-
export const
|
|
333
|
-
parameterPath: "
|
|
334
|
-
mapper: TagsPatchResourceMapper,
|
|
335
|
-
};
|
|
336
|
-
export const operationId = {
|
|
337
|
-
parameterPath: "operationId",
|
|
279
|
+
export const scope = {
|
|
280
|
+
parameterPath: "scope",
|
|
338
281
|
mapper: {
|
|
339
|
-
serializedName: "
|
|
282
|
+
serializedName: "scope",
|
|
340
283
|
required: true,
|
|
341
284
|
type: {
|
|
342
285
|
name: "String",
|
|
343
286
|
},
|
|
344
287
|
},
|
|
288
|
+
skipEncoding: true,
|
|
289
|
+
};
|
|
290
|
+
export const parameters6 = {
|
|
291
|
+
parameterPath: "parameters",
|
|
292
|
+
mapper: TagsPatchResourceMapper,
|
|
345
293
|
};
|
|
346
294
|
//# sourceMappingURL=parameters.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,UAAU,IAAI,gBAAgB,EAC9B,gBAAgB,IAAI,sBAAsB,EAC1C,sBAAsB,IAAI,4BAA4B,EACtD,gBAAgB,IAAI,sBAAsB,EAC1C,2BAA2B,IAAI,iCAAiC,EAChE,iBAAiB,IAAI,uBAAuB,EAC5C,eAAe,IAAI,qBAAqB,EACxC,aAAa,IAAI,mBAAmB,EACpC,sBAAsB,IAAI,4BAA4B,EACtD,qBAAqB,IAAI,2BAA2B,EACpD,YAAY,IAAI,kBAAkB,EAClC,iBAAiB,IAAI,uBAAuB,GAC7C,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAA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AQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,kBAAkB;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAuB;IAC9C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,uBAAuB;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAA0B;IAChD,aAAa,EAAE,aAAa;IAC5B,MAAM,EAAE;QACN,cAAc,EAAE,aAAa;QAC7B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n Deployment as DeploymentMapper,\n ScopedDeployment as ScopedDeploymentMapper,\n ScopedDeploymentWhatIf as ScopedDeploymentWhatIfMapper,\n DeploymentWhatIf as DeploymentWhatIfMapper,\n ProviderRegistrationRequest as ProviderRegistrationRequestMapper,\n ResourcesMoveInfo as ResourcesMoveInfoMapper,\n GenericResource as GenericResourceMapper,\n ResourceGroup as ResourceGroupMapper,\n ResourceGroupPatchable as ResourceGroupPatchableMapper,\n ExportTemplateRequest as ExportTemplateRequestMapper,\n TagsResource as TagsResourceMapper,\n TagsPatchResource as TagsPatchResourceMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2025-03-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const scope: OperationURLParameter = {\n parameterPath: \"scope\",\n mapper: {\n serializedName: \"scope\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const deploymentName: OperationURLParameter = {\n parameterPath: \"deploymentName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 64,\n MinLength: 1,\n },\n serializedName: \"deploymentName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: DeploymentMapper,\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: [\"options\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"top\"],\n mapper: {\n serializedName: \"$top\",\n type: {\n name: \"Number\",\n },\n },\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ScopedDeploymentMapper,\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ScopedDeploymentWhatIfMapper,\n};\n\nexport const groupId: OperationURLParameter = {\n parameterPath: \"groupId\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"groupId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: DeploymentWhatIfMapper,\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const template: OperationParameter = {\n parameterPath: \"template\",\n mapper: {\n serializedName: \"template\",\n required: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } },\n },\n },\n};\n\nexport const resourceProviderNamespace: OperationURLParameter = {\n parameterPath: \"resourceProviderNamespace\",\n mapper: {\n serializedName: \"resourceProviderNamespace\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const properties: OperationParameter = {\n parameterPath: [\"options\", \"properties\"],\n mapper: ProviderRegistrationRequestMapper,\n};\n\nexport const expand: OperationQueryParameter = {\n parameterPath: [\"options\", \"expand\"],\n mapper: {\n serializedName: \"$expand\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters4: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ResourcesMoveInfoMapper,\n};\n\nexport const sourceResourceGroupName: OperationURLParameter = {\n parameterPath: \"sourceResourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"sourceResourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parentResourcePath: OperationURLParameter = {\n parameterPath: \"parentResourcePath\",\n mapper: {\n serializedName: \"parentResourcePath\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const resourceType: OperationURLParameter = {\n parameterPath: \"resourceType\",\n mapper: {\n serializedName: \"resourceType\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const apiVersion1: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n serializedName: \"api-version\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters5: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: GenericResourceMapper,\n};\n\nexport const resourceId: OperationURLParameter = {\n parameterPath: \"resourceId\",\n mapper: {\n serializedName: \"resourceId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const parameters6: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ResourceGroupMapper,\n};\n\nexport const forceDeletionTypes: OperationQueryParameter = {\n parameterPath: [\"options\", \"forceDeletionTypes\"],\n mapper: {\n serializedName: \"forceDeletionTypes\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters7: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ResourceGroupPatchableMapper,\n};\n\nexport const parameters8: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ExportTemplateRequestMapper,\n};\n\nexport const resourceGroupName1: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const tagName: OperationURLParameter = {\n parameterPath: \"tagName\",\n mapper: {\n serializedName: \"tagName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const tagValue: OperationURLParameter = {\n parameterPath: \"tagValue\",\n mapper: {\n serializedName: \"tagValue\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters9: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: TagsResourceMapper,\n};\n\nexport const parameters10: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: TagsPatchResourceMapper,\n};\n\nexport const operationId: OperationURLParameter = {\n parameterPath: \"operationId\",\n mapper: {\n serializedName: \"operationId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n"]}
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,2BAA2B,IAAI,iCAAiC,EAChE,iBAAiB,IAAI,uBAAuB,EAC5C,eAAe,IAAI,qBAAqB,EACxC,aAAa,IAAI,mBAAmB,EACpC,sBAAsB,IAAI,4BAA4B,EACtD,qBAAqB,IAAI,2BAA2B,EACpD,YAAY,IAAI,kBAAkB,EAClC,iBAAiB,IAAI,uBAAuB,GAC7C,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI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AM,WAAW,GAAuB;IAC7C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,kBAAkB;CAC3B,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,uBAAuB;CAChC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n ProviderRegistrationRequest as ProviderRegistrationRequestMapper,\n ResourcesMoveInfo as ResourcesMoveInfoMapper,\n GenericResource as GenericResourceMapper,\n ResourceGroup as ResourceGroupMapper,\n ResourceGroupPatchable as ResourceGroupPatchableMapper,\n ExportTemplateRequest as ExportTemplateRequestMapper,\n TagsResource as TagsResourceMapper,\n TagsPatchResource as TagsPatchResourceMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2025-04-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const resourceProviderNamespace: OperationURLParameter = {\n parameterPath: \"resourceProviderNamespace\",\n mapper: {\n serializedName: \"resourceProviderNamespace\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const groupId: OperationURLParameter = {\n parameterPath: \"groupId\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"groupId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const properties: OperationParameter = {\n parameterPath: [\"options\", \"properties\"],\n mapper: ProviderRegistrationRequestMapper,\n};\n\nexport const expand: OperationQueryParameter = {\n parameterPath: [\"options\", \"expand\"],\n mapper: {\n serializedName: \"$expand\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const filter: OperationQueryParameter = {\n parameterPath: [\"options\", \"filter\"],\n mapper: {\n serializedName: \"$filter\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const top: OperationQueryParameter = {\n parameterPath: [\"options\", \"top\"],\n mapper: {\n serializedName: \"$top\",\n type: {\n name: \"Number\",\n },\n },\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ResourcesMoveInfoMapper,\n};\n\nexport const sourceResourceGroupName: OperationURLParameter = {\n parameterPath: \"sourceResourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"sourceResourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parentResourcePath: OperationURLParameter = {\n parameterPath: \"parentResourcePath\",\n mapper: {\n serializedName: \"parentResourcePath\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const resourceType: OperationURLParameter = {\n parameterPath: \"resourceType\",\n mapper: {\n serializedName: \"resourceType\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const apiVersion1: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n serializedName: \"api-version\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: GenericResourceMapper,\n};\n\nexport const resourceId: OperationURLParameter = {\n parameterPath: \"resourceId\",\n mapper: {\n serializedName: \"resourceId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ResourceGroupMapper,\n};\n\nexport const forceDeletionTypes: OperationQueryParameter = {\n parameterPath: [\"options\", \"forceDeletionTypes\"],\n mapper: {\n serializedName: \"forceDeletionTypes\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ResourceGroupPatchableMapper,\n};\n\nexport const parameters4: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ExportTemplateRequestMapper,\n};\n\nexport const resourceGroupName1: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const tagName: OperationURLParameter = {\n parameterPath: \"tagName\",\n mapper: {\n serializedName: \"tagName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const tagValue: OperationURLParameter = {\n parameterPath: \"tagValue\",\n mapper: {\n serializedName: \"tagValue\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters5: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: TagsResourceMapper,\n};\n\nexport const scope: OperationURLParameter = {\n parameterPath: \"scope\",\n mapper: {\n serializedName: \"scope\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const parameters6: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: TagsPatchResourceMapper,\n};\n"]}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
export * from "./operations.js";
|
|
2
|
-
export * from "./deployments.js";
|
|
3
2
|
export * from "./providers.js";
|
|
4
3
|
export * from "./providerResourceTypes.js";
|
|
5
4
|
export * from "./resources.js";
|
|
6
5
|
export * from "./resourceGroups.js";
|
|
7
6
|
export * from "./tagsOperations.js";
|
|
8
|
-
export * from "./deploymentOperations.js";
|
|
9
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC"}
|
|
@@ -6,11 +6,9 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
export * from "./operations.js";
|
|
9
|
-
export * from "./deployments.js";
|
|
10
9
|
export * from "./providers.js";
|
|
11
10
|
export * from "./providerResourceTypes.js";
|
|
12
11
|
export * from "./resources.js";
|
|
13
12
|
export * from "./resourceGroups.js";
|
|
14
13
|
export * from "./tagsOperations.js";
|
|
15
|
-
export * from "./deploymentOperations.js";
|
|
16
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./operations.js\";\nexport * from \"./providers.js\";\nexport * from \"./providerResourceTypes.js\";\nexport * from \"./resources.js\";\nexport * from \"./resourceGroups.js\";\nexport * from \"./tagsOperations.js\";\n"]}
|
|
@@ -43,8 +43,8 @@ const listOperationSpec = {
|
|
|
43
43
|
queryParameters: [Parameters.apiVersion, Parameters.expand],
|
|
44
44
|
urlParameters: [
|
|
45
45
|
Parameters.$host,
|
|
46
|
-
Parameters.subscriptionId,
|
|
47
46
|
Parameters.resourceProviderNamespace,
|
|
47
|
+
Parameters.subscriptionId,
|
|
48
48
|
],
|
|
49
49
|
headerParameters: [Parameters.accept],
|
|
50
50
|
serializer,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providerResourceTypes.js","sourceRoot":"","sources":["../../../src/operations/providerResourceTypes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;IACnB,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,IAAI,CACF,yBAAiC,EACjC,OAAiD;QAEjD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,yBAAyB,EAAE,OAAO,EAAE,EACtC,iBAAiB,CAClB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,qFAAqF;IAC3F,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC;IAC3D,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"providerResourceTypes.js","sourceRoot":"","sources":["../../../src/operations/providerResourceTypes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;IACnB,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,IAAI,CACF,yBAAiC,EACjC,OAAiD;QAEjD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,yBAAyB,EAAE,OAAO,EAAE,EACtC,iBAAiB,CAClB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,qFAAqF;IAC3F,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC;IAC3D,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,yBAAyB;QACpC,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { ProviderResourceTypes } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ResourceManagementClient } from \"../resourceManagementClient.js\";\nimport {\n ProviderResourceTypesListOptionalParams,\n ProviderResourceTypesListResponse,\n} from \"../models/index.js\";\n\n/** Class containing ProviderResourceTypes operations. */\nexport class ProviderResourceTypesImpl implements ProviderResourceTypes {\n private readonly client: ResourceManagementClient;\n\n /**\n * Initialize a new instance of the class ProviderResourceTypes class.\n * @param client Reference to the service client\n */\n constructor(client: ResourceManagementClient) {\n this.client = client;\n }\n\n /**\n * List the resource types for a specified resource provider.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param options The options parameters.\n */\n list(\n resourceProviderNamespace: string,\n options?: ProviderResourceTypesListOptionalParams,\n ): Promise<ProviderResourceTypesListResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, options },\n listOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/resourceTypes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProviderResourceTypeListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceProviderNamespace,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -207,8 +207,8 @@ const unregisterOperationSpec = {
|
|
|
207
207
|
queryParameters: [Parameters.apiVersion],
|
|
208
208
|
urlParameters: [
|
|
209
209
|
Parameters.$host,
|
|
210
|
-
Parameters.subscriptionId,
|
|
211
210
|
Parameters.resourceProviderNamespace,
|
|
211
|
+
Parameters.subscriptionId,
|
|
212
212
|
],
|
|
213
213
|
headerParameters: [Parameters.accept],
|
|
214
214
|
serializer,
|
|
@@ -225,8 +225,8 @@ const registerAtManagementGroupScopeOperationSpec = {
|
|
|
225
225
|
queryParameters: [Parameters.apiVersion],
|
|
226
226
|
urlParameters: [
|
|
227
227
|
Parameters.$host,
|
|
228
|
-
Parameters.groupId,
|
|
229
228
|
Parameters.resourceProviderNamespace,
|
|
229
|
+
Parameters.groupId,
|
|
230
230
|
],
|
|
231
231
|
headerParameters: [Parameters.accept],
|
|
232
232
|
serializer,
|
|
@@ -245,8 +245,8 @@ const providerPermissionsOperationSpec = {
|
|
|
245
245
|
queryParameters: [Parameters.apiVersion],
|
|
246
246
|
urlParameters: [
|
|
247
247
|
Parameters.$host,
|
|
248
|
-
Parameters.subscriptionId,
|
|
249
248
|
Parameters.resourceProviderNamespace,
|
|
249
|
+
Parameters.subscriptionId,
|
|
250
250
|
],
|
|
251
251
|
headerParameters: [Parameters.accept],
|
|
252
252
|
serializer,
|
|
@@ -266,8 +266,8 @@ const registerOperationSpec = {
|
|
|
266
266
|
queryParameters: [Parameters.apiVersion],
|
|
267
267
|
urlParameters: [
|
|
268
268
|
Parameters.$host,
|
|
269
|
-
Parameters.subscriptionId,
|
|
270
269
|
Parameters.resourceProviderNamespace,
|
|
270
|
+
Parameters.subscriptionId,
|
|
271
271
|
],
|
|
272
272
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
273
273
|
mediaType: "json",
|
|
@@ -319,8 +319,8 @@ const getOperationSpec = {
|
|
|
319
319
|
queryParameters: [Parameters.apiVersion, Parameters.expand],
|
|
320
320
|
urlParameters: [
|
|
321
321
|
Parameters.$host,
|
|
322
|
-
Parameters.subscriptionId,
|
|
323
322
|
Parameters.resourceProviderNamespace,
|
|
323
|
+
Parameters.subscriptionId,
|
|
324
324
|
],
|
|
325
325
|
headerParameters: [Parameters.accept],
|
|
326
326
|
serializer,
|
|
@@ -1 +1 @@
|
|
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aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,yBAAyB,CAAC;IACvE,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,kCAAkC,GAA6B;IACnE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Providers } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ResourceManagementClient } from \"../resourceManagementClient.js\";\nimport {\n Provider,\n ProvidersListNextOptionalParams,\n ProvidersListOptionalParams,\n ProvidersListResponse,\n ProvidersListAtTenantScopeNextOptionalParams,\n ProvidersListAtTenantScopeOptionalParams,\n ProvidersListAtTenantScopeResponse,\n ProvidersUnregisterOptionalParams,\n ProvidersUnregisterResponse,\n ProvidersRegisterAtManagementGroupScopeOptionalParams,\n ProvidersProviderPermissionsOptionalParams,\n ProvidersProviderPermissionsResponse,\n ProvidersRegisterOptionalParams,\n ProvidersRegisterResponse,\n ProvidersGetOptionalParams,\n ProvidersGetResponse,\n ProvidersGetAtTenantScopeOptionalParams,\n ProvidersGetAtTenantScopeResponse,\n ProvidersListNextResponse,\n ProvidersListAtTenantScopeNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Providers operations. */\nexport class ProvidersImpl implements Providers {\n private readonly client: ResourceManagementClient;\n\n /**\n * Initialize a new instance of the class Providers class.\n * @param client Reference to the service client\n */\n constructor(client: ResourceManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets all resource providers for a subscription.\n * @param options The options parameters.\n */\n public list(\n options?: ProvidersListOptionalParams,\n ): PagedAsyncIterableIterator<Provider> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: ProvidersListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Provider[]> {\n let result: ProvidersListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: ProvidersListOptionalParams,\n ): AsyncIterableIterator<Provider> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets all resource providers for the tenant.\n * @param options The options parameters.\n */\n public listAtTenantScope(\n options?: ProvidersListAtTenantScopeOptionalParams,\n ): PagedAsyncIterableIterator<Provider> {\n const iter = this.listAtTenantScopePagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listAtTenantScopePagingPage(options, settings);\n },\n };\n }\n\n private async *listAtTenantScopePagingPage(\n options?: ProvidersListAtTenantScopeOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Provider[]> {\n let result: ProvidersListAtTenantScopeResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAtTenantScope(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAtTenantScopeNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listAtTenantScopePagingAll(\n options?: ProvidersListAtTenantScopeOptionalParams,\n ): AsyncIterableIterator<Provider> {\n for await (const page of this.listAtTenantScopePagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Unregisters a subscription from a resource provider.\n * @param resourceProviderNamespace The namespace of the resource provider to unregister.\n * @param options The options parameters.\n */\n unregister(\n resourceProviderNamespace: string,\n options?: ProvidersUnregisterOptionalParams,\n ): Promise<ProvidersUnregisterResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, options },\n unregisterOperationSpec,\n );\n }\n\n /**\n * Registers a management group with a resource provider. Use this operation to register a resource\n * provider with resource types that can be deployed at the management group scope. It does not\n * recursively register subscriptions within the management group. Instead, you must register\n * subscriptions individually.\n * @param resourceProviderNamespace The namespace of the resource provider to register.\n * @param groupId The management group ID.\n * @param options The options parameters.\n */\n registerAtManagementGroupScope(\n resourceProviderNamespace: string,\n groupId: string,\n options?: ProvidersRegisterAtManagementGroupScopeOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, groupId, options },\n registerAtManagementGroupScopeOperationSpec,\n );\n }\n\n /**\n * Get the provider permissions.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param options The options parameters.\n */\n providerPermissions(\n resourceProviderNamespace: string,\n options?: ProvidersProviderPermissionsOptionalParams,\n ): Promise<ProvidersProviderPermissionsResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, options },\n providerPermissionsOperationSpec,\n );\n }\n\n /**\n * Registers a subscription with a resource provider.\n * @param resourceProviderNamespace The namespace of the resource provider to register.\n * @param options The options parameters.\n */\n register(\n resourceProviderNamespace: string,\n options?: ProvidersRegisterOptionalParams,\n ): Promise<ProvidersRegisterResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, options },\n registerOperationSpec,\n );\n }\n\n /**\n * Gets all resource providers for a subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: ProvidersListOptionalParams,\n ): Promise<ProvidersListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Gets all resource providers for the tenant.\n * @param options The options parameters.\n */\n private _listAtTenantScope(\n options?: ProvidersListAtTenantScopeOptionalParams,\n ): Promise<ProvidersListAtTenantScopeResponse> {\n return this.client.sendOperationRequest(\n { options },\n listAtTenantScopeOperationSpec,\n );\n }\n\n /**\n * Gets the specified resource provider.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param options The options parameters.\n */\n get(\n resourceProviderNamespace: string,\n options?: ProvidersGetOptionalParams,\n ): Promise<ProvidersGetResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, options },\n getOperationSpec,\n );\n }\n\n /**\n * Gets the specified resource provider at the tenant level.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param options The options parameters.\n */\n getAtTenantScope(\n resourceProviderNamespace: string,\n options?: ProvidersGetAtTenantScopeOptionalParams,\n ): Promise<ProvidersGetAtTenantScopeResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, options },\n getAtTenantScopeOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: ProvidersListNextOptionalParams,\n ): Promise<ProvidersListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListAtTenantScopeNext\n * @param nextLink The nextLink from the previous successful call to the ListAtTenantScope method.\n * @param options The options parameters.\n */\n private _listAtTenantScopeNext(\n nextLink: string,\n options?: ProvidersListAtTenantScopeNextOptionalParams,\n ): Promise<ProvidersListAtTenantScopeNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listAtTenantScopeNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst unregisterOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/unregister\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Provider,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst registerAtManagementGroupScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Management/managementGroups/{groupId}/providers/{resourceProviderNamespace}/register\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.groupId,\n Parameters.resourceProviderNamespace,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst providerPermissionsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/providerPermissions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProviderPermissionListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst registerOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/register\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Provider,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.properties,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProviderListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAtTenantScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/providers\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProviderListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Provider,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceProviderNamespace,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getAtTenantScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/{resourceProviderNamespace}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Provider,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [Parameters.$host, Parameters.resourceProviderNamespace],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProviderListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAtTenantScopeNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProviderListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"providers.js","sourceRoot":"","sources":["../../../src/operations/providers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAA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ACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,kCAAkC,GAA6B;IACnE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Providers } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ResourceManagementClient } from \"../resourceManagementClient.js\";\nimport {\n Provider,\n ProvidersListNextOptionalParams,\n ProvidersListOptionalParams,\n ProvidersListResponse,\n ProvidersListAtTenantScopeNextOptionalParams,\n ProvidersListAtTenantScopeOptionalParams,\n ProvidersListAtTenantScopeResponse,\n ProvidersUnregisterOptionalParams,\n ProvidersUnregisterResponse,\n ProvidersRegisterAtManagementGroupScopeOptionalParams,\n ProvidersProviderPermissionsOptionalParams,\n ProvidersProviderPermissionsResponse,\n ProvidersRegisterOptionalParams,\n ProvidersRegisterResponse,\n ProvidersGetOptionalParams,\n ProvidersGetResponse,\n ProvidersGetAtTenantScopeOptionalParams,\n ProvidersGetAtTenantScopeResponse,\n ProvidersListNextResponse,\n ProvidersListAtTenantScopeNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Providers operations. */\nexport class ProvidersImpl implements Providers {\n private readonly client: ResourceManagementClient;\n\n /**\n * Initialize a new instance of the class Providers class.\n * @param client Reference to the service client\n */\n constructor(client: ResourceManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets all resource providers for a subscription.\n * @param options The options parameters.\n */\n public list(\n options?: ProvidersListOptionalParams,\n ): PagedAsyncIterableIterator<Provider> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: ProvidersListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Provider[]> {\n let result: ProvidersListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: ProvidersListOptionalParams,\n ): AsyncIterableIterator<Provider> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets all resource providers for the tenant.\n * @param options The options parameters.\n */\n public listAtTenantScope(\n options?: ProvidersListAtTenantScopeOptionalParams,\n ): PagedAsyncIterableIterator<Provider> {\n const iter = this.listAtTenantScopePagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listAtTenantScopePagingPage(options, settings);\n },\n };\n }\n\n private async *listAtTenantScopePagingPage(\n options?: ProvidersListAtTenantScopeOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Provider[]> {\n let result: ProvidersListAtTenantScopeResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAtTenantScope(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAtTenantScopeNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listAtTenantScopePagingAll(\n options?: ProvidersListAtTenantScopeOptionalParams,\n ): AsyncIterableIterator<Provider> {\n for await (const page of this.listAtTenantScopePagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Unregisters a subscription from a resource provider.\n * @param resourceProviderNamespace The namespace of the resource provider to unregister.\n * @param options The options parameters.\n */\n unregister(\n resourceProviderNamespace: string,\n options?: ProvidersUnregisterOptionalParams,\n ): Promise<ProvidersUnregisterResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, options },\n unregisterOperationSpec,\n );\n }\n\n /**\n * Registers a management group with a resource provider. Use this operation to register a resource\n * provider with resource types that can be deployed at the management group scope. It does not\n * recursively register subscriptions within the management group. Instead, you must register\n * subscriptions individually.\n * @param resourceProviderNamespace The namespace of the resource provider to register.\n * @param groupId The management group ID.\n * @param options The options parameters.\n */\n registerAtManagementGroupScope(\n resourceProviderNamespace: string,\n groupId: string,\n options?: ProvidersRegisterAtManagementGroupScopeOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, groupId, options },\n registerAtManagementGroupScopeOperationSpec,\n );\n }\n\n /**\n * Get the provider permissions.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param options The options parameters.\n */\n providerPermissions(\n resourceProviderNamespace: string,\n options?: ProvidersProviderPermissionsOptionalParams,\n ): Promise<ProvidersProviderPermissionsResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, options },\n providerPermissionsOperationSpec,\n );\n }\n\n /**\n * Registers a subscription with a resource provider.\n * @param resourceProviderNamespace The namespace of the resource provider to register.\n * @param options The options parameters.\n */\n register(\n resourceProviderNamespace: string,\n options?: ProvidersRegisterOptionalParams,\n ): Promise<ProvidersRegisterResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, options },\n registerOperationSpec,\n );\n }\n\n /**\n * Gets all resource providers for a subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: ProvidersListOptionalParams,\n ): Promise<ProvidersListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Gets all resource providers for the tenant.\n * @param options The options parameters.\n */\n private _listAtTenantScope(\n options?: ProvidersListAtTenantScopeOptionalParams,\n ): Promise<ProvidersListAtTenantScopeResponse> {\n return this.client.sendOperationRequest(\n { options },\n listAtTenantScopeOperationSpec,\n );\n }\n\n /**\n * Gets the specified resource provider.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param options The options parameters.\n */\n get(\n resourceProviderNamespace: string,\n options?: ProvidersGetOptionalParams,\n ): Promise<ProvidersGetResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, options },\n getOperationSpec,\n );\n }\n\n /**\n * Gets the specified resource provider at the tenant level.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param options The options parameters.\n */\n getAtTenantScope(\n resourceProviderNamespace: string,\n options?: ProvidersGetAtTenantScopeOptionalParams,\n ): Promise<ProvidersGetAtTenantScopeResponse> {\n return this.client.sendOperationRequest(\n { resourceProviderNamespace, options },\n getAtTenantScopeOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: ProvidersListNextOptionalParams,\n ): Promise<ProvidersListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListAtTenantScopeNext\n * @param nextLink The nextLink from the previous successful call to the ListAtTenantScope method.\n * @param options The options parameters.\n */\n private _listAtTenantScopeNext(\n nextLink: string,\n options?: ProvidersListAtTenantScopeNextOptionalParams,\n ): Promise<ProvidersListAtTenantScopeNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listAtTenantScopeNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst unregisterOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/unregister\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Provider,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceProviderNamespace,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst registerAtManagementGroupScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Management/managementGroups/{groupId}/providers/{resourceProviderNamespace}/register\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceProviderNamespace,\n Parameters.groupId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst providerPermissionsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/providerPermissions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProviderPermissionListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceProviderNamespace,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst registerOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/register\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Provider,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.properties,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceProviderNamespace,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProviderListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAtTenantScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/providers\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProviderListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Provider,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceProviderNamespace,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getAtTenantScopeOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/{resourceProviderNamespace}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Provider,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [Parameters.$host, Parameters.resourceProviderNamespace],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProviderListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAtTenantScopeNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProviderListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -268,7 +268,7 @@ const createOrUpdateOperationSpec = {
|
|
|
268
268
|
bodyMapper: Mappers.CloudError,
|
|
269
269
|
},
|
|
270
270
|
},
|
|
271
|
-
requestBody: Parameters.
|
|
271
|
+
requestBody: Parameters.parameters2,
|
|
272
272
|
queryParameters: [Parameters.apiVersion],
|
|
273
273
|
urlParameters: [
|
|
274
274
|
Parameters.$host,
|
|
@@ -331,7 +331,7 @@ const updateOperationSpec = {
|
|
|
331
331
|
bodyMapper: Mappers.CloudError,
|
|
332
332
|
},
|
|
333
333
|
},
|
|
334
|
-
requestBody: Parameters.
|
|
334
|
+
requestBody: Parameters.parameters3,
|
|
335
335
|
queryParameters: [Parameters.apiVersion],
|
|
336
336
|
urlParameters: [
|
|
337
337
|
Parameters.$host,
|
|
@@ -362,7 +362,7 @@ const exportTemplateOperationSpec = {
|
|
|
362
362
|
bodyMapper: Mappers.CloudError,
|
|
363
363
|
},
|
|
364
364
|
},
|
|
365
|
-
requestBody: Parameters.
|
|
365
|
+
requestBody: Parameters.parameters4,
|
|
366
366
|
queryParameters: [Parameters.apiVersion],
|
|
367
367
|
urlParameters: [
|
|
368
368
|
Parameters.$host,
|