@azure/arm-resources 6.1.0 → 7.0.0-alpha.20250730.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/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- 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 +254 -1752
- 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/operations.js +23 -40
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/providerResourceTypes.js +2 -1
- package/dist/browser/operations/providerResourceTypes.js.map +1 -1
- package/dist/browser/operations/providers.js +50 -84
- package/dist/browser/operations/providers.js.map +1 -1
- package/dist/browser/operations/resourceGroups.js +48 -55
- package/dist/browser/operations/resourceGroups.js.map +1 -1
- package/dist/browser/operations/resources.js +146 -140
- package/dist/browser/operations/resources.js.map +1 -1
- package/dist/browser/operations/tagsOperations.js +58 -60
- 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/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.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 +22 -10
- package/dist/browser/resourceManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.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 +256 -1754
- 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/operations.js +23 -39
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/providerResourceTypes.js +2 -1
- package/dist/commonjs/operations/providerResourceTypes.js.map +1 -1
- package/dist/commonjs/operations/providers.js +50 -83
- package/dist/commonjs/operations/providers.js.map +1 -1
- package/dist/commonjs/operations/resourceGroups.js +48 -54
- package/dist/commonjs/operations/resourceGroups.js.map +1 -1
- package/dist/commonjs/operations/resources.js +146 -139
- package/dist/commonjs/operations/resources.js.map +1 -1
- package/dist/commonjs/operations/tagsOperations.js +58 -59
- 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/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.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 +21 -9
- package/dist/commonjs/resourceManagementClient.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.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 +254 -1752
- 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/operations.js +23 -40
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/providerResourceTypes.js +2 -1
- package/dist/esm/operations/providerResourceTypes.js.map +1 -1
- package/dist/esm/operations/providers.js +50 -84
- package/dist/esm/operations/providers.js.map +1 -1
- package/dist/esm/operations/resourceGroups.js +48 -55
- package/dist/esm/operations/resourceGroups.js.map +1 -1
- package/dist/esm/operations/resources.js +146 -140
- package/dist/esm/operations/resources.js.map +1 -1
- package/dist/esm/operations/tagsOperations.js +58 -60
- 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/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.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 +22 -10
- package/dist/esm/resourceManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.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 +254 -1752
- 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/operations.js +23 -40
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/providerResourceTypes.js +2 -1
- package/dist/react-native/operations/providerResourceTypes.js.map +1 -1
- package/dist/react-native/operations/providers.js +50 -84
- package/dist/react-native/operations/providers.js.map +1 -1
- package/dist/react-native/operations/resourceGroups.js +48 -55
- package/dist/react-native/operations/resourceGroups.js.map +1 -1
- package/dist/react-native/operations/resources.js +146 -140
- package/dist/react-native/operations/resources.js.map +1 -1
- package/dist/react-native/operations/tagsOperations.js +58 -60
- 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/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.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 +22 -10
- package/dist/react-native/resourceManagementClient.js.map +1 -1
- package/package.json +8 -8
- package/review/arm-resources-node.api.md +942 -0
- 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 -782
- 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 -2766
- 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 -786
- 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 -2770
- 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 -782
- 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 -2766
- 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 -782
- 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 -2766
- 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
- package/review/arm-resources.api.md +0 -1935
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.
|
|
10
|
+
exports.parameters6 = exports.scope = exports.parameters5 = exports.tagValue = exports.tagName = exports.resourceGroupName1 = exports.parameters4 = exports.parameters3 = exports.forceDeletionTypes = exports.parameters2 = exports.resourceId = exports.parameters1 = exports.apiVersion1 = exports.resourceName = exports.resourceType = exports.parentResourcePath = exports.sourceResourceGroupName = exports.parameters = exports.top = exports.filter = exports.resourceGroupName = exports.expand = exports.properties = exports.contentType = exports.groupId = exports.subscriptionId = exports.resourceProviderNamespace = exports.nextLink = exports.apiVersion = exports.$host = exports.accept = void 0;
|
|
11
11
|
const mappers_js_1 = require("../models/mappers.js");
|
|
12
12
|
exports.accept = {
|
|
13
13
|
parameterPath: "accept",
|
|
@@ -34,7 +34,7 @@ exports.$host = {
|
|
|
34
34
|
exports.apiVersion = {
|
|
35
35
|
parameterPath: "apiVersion",
|
|
36
36
|
mapper: {
|
|
37
|
-
defaultValue: "2025-
|
|
37
|
+
defaultValue: "2025-04-01",
|
|
38
38
|
isConstant: true,
|
|
39
39
|
serializedName: "api-version",
|
|
40
40
|
type: {
|
|
@@ -53,73 +53,26 @@ exports.nextLink = {
|
|
|
53
53
|
},
|
|
54
54
|
skipEncoding: true,
|
|
55
55
|
};
|
|
56
|
-
exports.
|
|
57
|
-
parameterPath: "
|
|
56
|
+
exports.resourceProviderNamespace = {
|
|
57
|
+
parameterPath: "resourceProviderNamespace",
|
|
58
58
|
mapper: {
|
|
59
|
-
serializedName: "
|
|
59
|
+
serializedName: "resourceProviderNamespace",
|
|
60
60
|
required: true,
|
|
61
61
|
type: {
|
|
62
62
|
name: "String",
|
|
63
63
|
},
|
|
64
64
|
},
|
|
65
|
-
skipEncoding: true,
|
|
66
65
|
};
|
|
67
|
-
exports.
|
|
68
|
-
parameterPath: "
|
|
66
|
+
exports.subscriptionId = {
|
|
67
|
+
parameterPath: "subscriptionId",
|
|
69
68
|
mapper: {
|
|
70
|
-
|
|
71
|
-
Pattern: new RegExp("^[-\\w\\._\\(\\)]+$"),
|
|
72
|
-
MaxLength: 64,
|
|
73
|
-
MinLength: 1,
|
|
74
|
-
},
|
|
75
|
-
serializedName: "deploymentName",
|
|
69
|
+
serializedName: "subscriptionId",
|
|
76
70
|
required: true,
|
|
77
71
|
type: {
|
|
78
72
|
name: "String",
|
|
79
73
|
},
|
|
80
74
|
},
|
|
81
75
|
};
|
|
82
|
-
exports.contentType = {
|
|
83
|
-
parameterPath: ["options", "contentType"],
|
|
84
|
-
mapper: {
|
|
85
|
-
defaultValue: "application/json",
|
|
86
|
-
isConstant: true,
|
|
87
|
-
serializedName: "Content-Type",
|
|
88
|
-
type: {
|
|
89
|
-
name: "String",
|
|
90
|
-
},
|
|
91
|
-
},
|
|
92
|
-
};
|
|
93
|
-
exports.parameters = {
|
|
94
|
-
parameterPath: "parameters",
|
|
95
|
-
mapper: mappers_js_1.Deployment,
|
|
96
|
-
};
|
|
97
|
-
exports.filter = {
|
|
98
|
-
parameterPath: ["options", "filter"],
|
|
99
|
-
mapper: {
|
|
100
|
-
serializedName: "$filter",
|
|
101
|
-
type: {
|
|
102
|
-
name: "String",
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
};
|
|
106
|
-
exports.top = {
|
|
107
|
-
parameterPath: ["options", "top"],
|
|
108
|
-
mapper: {
|
|
109
|
-
serializedName: "$top",
|
|
110
|
-
type: {
|
|
111
|
-
name: "Number",
|
|
112
|
-
},
|
|
113
|
-
},
|
|
114
|
-
};
|
|
115
|
-
exports.parameters1 = {
|
|
116
|
-
parameterPath: "parameters",
|
|
117
|
-
mapper: mappers_js_1.ScopedDeployment,
|
|
118
|
-
};
|
|
119
|
-
exports.parameters2 = {
|
|
120
|
-
parameterPath: "parameters",
|
|
121
|
-
mapper: mappers_js_1.ScopedDeploymentWhatIf,
|
|
122
|
-
};
|
|
123
76
|
exports.groupId = {
|
|
124
77
|
parameterPath: "groupId",
|
|
125
78
|
mapper: {
|
|
@@ -134,19 +87,29 @@ exports.groupId = {
|
|
|
134
87
|
},
|
|
135
88
|
},
|
|
136
89
|
};
|
|
137
|
-
exports.
|
|
138
|
-
parameterPath: "
|
|
90
|
+
exports.contentType = {
|
|
91
|
+
parameterPath: ["options", "contentType"],
|
|
139
92
|
mapper: {
|
|
140
|
-
|
|
141
|
-
|
|
93
|
+
defaultValue: "application/json",
|
|
94
|
+
isConstant: true,
|
|
95
|
+
serializedName: "Content-Type",
|
|
142
96
|
type: {
|
|
143
97
|
name: "String",
|
|
144
98
|
},
|
|
145
99
|
},
|
|
146
100
|
};
|
|
147
|
-
exports.
|
|
148
|
-
parameterPath: "
|
|
149
|
-
mapper: mappers_js_1.
|
|
101
|
+
exports.properties = {
|
|
102
|
+
parameterPath: ["options", "properties"],
|
|
103
|
+
mapper: mappers_js_1.ProviderRegistrationRequest,
|
|
104
|
+
};
|
|
105
|
+
exports.expand = {
|
|
106
|
+
parameterPath: ["options", "expand"],
|
|
107
|
+
mapper: {
|
|
108
|
+
serializedName: "$expand",
|
|
109
|
+
type: {
|
|
110
|
+
name: "String",
|
|
111
|
+
},
|
|
112
|
+
},
|
|
150
113
|
};
|
|
151
114
|
exports.resourceGroupName = {
|
|
152
115
|
parameterPath: "resourceGroupName",
|
|
@@ -163,41 +126,25 @@ exports.resourceGroupName = {
|
|
|
163
126
|
},
|
|
164
127
|
},
|
|
165
128
|
};
|
|
166
|
-
exports.
|
|
167
|
-
parameterPath: "
|
|
168
|
-
mapper: {
|
|
169
|
-
serializedName: "template",
|
|
170
|
-
required: true,
|
|
171
|
-
type: {
|
|
172
|
-
name: "Dictionary",
|
|
173
|
-
value: { type: { name: "any" } },
|
|
174
|
-
},
|
|
175
|
-
},
|
|
176
|
-
};
|
|
177
|
-
exports.resourceProviderNamespace = {
|
|
178
|
-
parameterPath: "resourceProviderNamespace",
|
|
129
|
+
exports.filter = {
|
|
130
|
+
parameterPath: ["options", "filter"],
|
|
179
131
|
mapper: {
|
|
180
|
-
serializedName: "
|
|
181
|
-
required: true,
|
|
132
|
+
serializedName: "$filter",
|
|
182
133
|
type: {
|
|
183
134
|
name: "String",
|
|
184
135
|
},
|
|
185
136
|
},
|
|
186
137
|
};
|
|
187
|
-
exports.
|
|
188
|
-
parameterPath: ["options", "
|
|
189
|
-
mapper: mappers_js_1.ProviderRegistrationRequest,
|
|
190
|
-
};
|
|
191
|
-
exports.expand = {
|
|
192
|
-
parameterPath: ["options", "expand"],
|
|
138
|
+
exports.top = {
|
|
139
|
+
parameterPath: ["options", "top"],
|
|
193
140
|
mapper: {
|
|
194
|
-
serializedName: "$
|
|
141
|
+
serializedName: "$top",
|
|
195
142
|
type: {
|
|
196
|
-
name: "
|
|
143
|
+
name: "Number",
|
|
197
144
|
},
|
|
198
145
|
},
|
|
199
146
|
};
|
|
200
|
-
exports.
|
|
147
|
+
exports.parameters = {
|
|
201
148
|
parameterPath: "parameters",
|
|
202
149
|
mapper: mappers_js_1.ResourcesMoveInfo,
|
|
203
150
|
};
|
|
@@ -258,7 +205,7 @@ exports.apiVersion1 = {
|
|
|
258
205
|
},
|
|
259
206
|
},
|
|
260
207
|
};
|
|
261
|
-
exports.
|
|
208
|
+
exports.parameters1 = {
|
|
262
209
|
parameterPath: "parameters",
|
|
263
210
|
mapper: mappers_js_1.GenericResource,
|
|
264
211
|
};
|
|
@@ -273,7 +220,7 @@ exports.resourceId = {
|
|
|
273
220
|
},
|
|
274
221
|
skipEncoding: true,
|
|
275
222
|
};
|
|
276
|
-
exports.
|
|
223
|
+
exports.parameters2 = {
|
|
277
224
|
parameterPath: "parameters",
|
|
278
225
|
mapper: mappers_js_1.ResourceGroup,
|
|
279
226
|
};
|
|
@@ -286,11 +233,11 @@ exports.forceDeletionTypes = {
|
|
|
286
233
|
},
|
|
287
234
|
},
|
|
288
235
|
};
|
|
289
|
-
exports.
|
|
236
|
+
exports.parameters3 = {
|
|
290
237
|
parameterPath: "parameters",
|
|
291
238
|
mapper: mappers_js_1.ResourceGroupPatchable,
|
|
292
239
|
};
|
|
293
|
-
exports.
|
|
240
|
+
exports.parameters4 = {
|
|
294
241
|
parameterPath: "parameters",
|
|
295
242
|
mapper: mappers_js_1.ExportTemplateRequest,
|
|
296
243
|
};
|
|
@@ -328,22 +275,23 @@ exports.tagValue = {
|
|
|
328
275
|
},
|
|
329
276
|
},
|
|
330
277
|
};
|
|
331
|
-
exports.
|
|
278
|
+
exports.parameters5 = {
|
|
332
279
|
parameterPath: "parameters",
|
|
333
280
|
mapper: mappers_js_1.TagsResource,
|
|
334
281
|
};
|
|
335
|
-
exports.
|
|
336
|
-
parameterPath: "
|
|
337
|
-
mapper: mappers_js_1.TagsPatchResource,
|
|
338
|
-
};
|
|
339
|
-
exports.operationId = {
|
|
340
|
-
parameterPath: "operationId",
|
|
282
|
+
exports.scope = {
|
|
283
|
+
parameterPath: "scope",
|
|
341
284
|
mapper: {
|
|
342
|
-
serializedName: "
|
|
285
|
+
serializedName: "scope",
|
|
343
286
|
required: true,
|
|
344
287
|
type: {
|
|
345
288
|
name: "String",
|
|
346
289
|
},
|
|
347
290
|
},
|
|
291
|
+
skipEncoding: true,
|
|
292
|
+
};
|
|
293
|
+
exports.parameters6 = {
|
|
294
|
+
parameterPath: "parameters",
|
|
295
|
+
mapper: mappers_js_1.TagsPatchResource,
|
|
348
296
|
};
|
|
349
297
|
//# sourceMappingURL=parameters.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{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,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,yBAAkB;CAC3B,CAAC;AAEW,QAAA,YAAY,GAAuB;IAC9C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,8BAAuB;CAChC,CAAC;AAEW,QAAA,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,qDAS8B;AAEjB,QAAA,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;AAEW,QAAA,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;AAEW,QAAA,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,YAAY;QAC1B,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB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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"}
|
|
@@ -9,11 +9,9 @@
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
const tslib_1 = require("tslib");
|
|
11
11
|
tslib_1.__exportStar(require("./operations.js"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./deployments.js"), exports);
|
|
13
12
|
tslib_1.__exportStar(require("./providers.js"), exports);
|
|
14
13
|
tslib_1.__exportStar(require("./providerResourceTypes.js"), exports);
|
|
15
14
|
tslib_1.__exportStar(require("./resources.js"), exports);
|
|
16
15
|
tslib_1.__exportStar(require("./resourceGroups.js"), exports);
|
|
17
16
|
tslib_1.__exportStar(require("./tagsOperations.js"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("./deploymentOperations.js"), exports);
|
|
19
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,0DAAgC;AAChC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,0DAAgC;AAChC,yDAA+B;AAC/B,qEAA2C;AAC3C,yDAA+B;AAC/B,8DAAoC;AACpC,8DAAoC","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"]}
|
|
@@ -16,6 +16,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
|
16
16
|
/// <reference lib="esnext.asynciterable" />
|
|
17
17
|
/** Class containing Operations operations. */
|
|
18
18
|
class OperationsImpl {
|
|
19
|
+
client;
|
|
19
20
|
/**
|
|
20
21
|
* Initialize a new instance of the class Operations class.
|
|
21
22
|
* @param client Reference to the service client
|
|
@@ -37,52 +38,35 @@ class OperationsImpl {
|
|
|
37
38
|
return this;
|
|
38
39
|
},
|
|
39
40
|
byPage: (settings) => {
|
|
40
|
-
if (settings
|
|
41
|
+
if (settings?.maxPageSize) {
|
|
41
42
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
43
|
}
|
|
43
44
|
return this.listPagingPage(options, settings);
|
|
44
45
|
},
|
|
45
46
|
};
|
|
46
47
|
}
|
|
47
|
-
listPagingPage(options, settings) {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
});
|
|
48
|
+
async *listPagingPage(options, settings) {
|
|
49
|
+
let result;
|
|
50
|
+
let continuationToken = settings?.continuationToken;
|
|
51
|
+
if (!continuationToken) {
|
|
52
|
+
result = await this._list(options);
|
|
53
|
+
let page = result.value || [];
|
|
54
|
+
continuationToken = result.nextLink;
|
|
55
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
56
|
+
yield page;
|
|
57
|
+
}
|
|
58
|
+
while (continuationToken) {
|
|
59
|
+
result = await this._listNext(continuationToken, options);
|
|
60
|
+
continuationToken = result.nextLink;
|
|
61
|
+
let page = result.value || [];
|
|
62
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
63
|
+
yield page;
|
|
64
|
+
}
|
|
66
65
|
}
|
|
67
|
-
listPagingAll(options) {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
72
|
-
_c = _f.value;
|
|
73
|
-
_d = false;
|
|
74
|
-
const page = _c;
|
|
75
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
79
|
-
finally {
|
|
80
|
-
try {
|
|
81
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
82
|
-
}
|
|
83
|
-
finally { if (e_1) throw e_1.error; }
|
|
84
|
-
}
|
|
85
|
-
});
|
|
66
|
+
async *listPagingAll(options) {
|
|
67
|
+
for await (const page of this.listPagingPage(options)) {
|
|
68
|
+
yield* page;
|
|
69
|
+
}
|
|
86
70
|
}
|
|
87
71
|
/**
|
|
88
72
|
* Lists all of the available Microsoft.Resources REST API operations.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,cAAc;
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,cAAc;IACR,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC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C,oBAAoB,CACrC,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrB,qBAAqB,CACtB,CAAC;IACJ,CAAC;CACF;AAzFD,wCAyFC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,2CAA2C;IACjD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,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,mBAAmB;SACxC;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 { Operations } 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 Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: ResourceManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: ResourceManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available Microsoft.Resources REST API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<Operation> {\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?: OperationsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\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?: OperationsListOptionalParams,\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Microsoft.Resources REST API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams,\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\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?: OperationsListNextOptionalParams,\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Resources/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -14,6 +14,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
|
14
14
|
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
15
|
/** Class containing ProviderResourceTypes operations. */
|
|
16
16
|
class ProviderResourceTypesImpl {
|
|
17
|
+
client;
|
|
17
18
|
/**
|
|
18
19
|
* Initialize a new instance of the class ProviderResourceTypes class.
|
|
19
20
|
* @param client Reference to the service client
|
|
@@ -47,8 +48,8 @@ const listOperationSpec = {
|
|
|
47
48
|
queryParameters: [Parameters.apiVersion, Parameters.expand],
|
|
48
49
|
urlParameters: [
|
|
49
50
|
Parameters.$host,
|
|
50
|
-
Parameters.subscriptionId,
|
|
51
51
|
Parameters.resourceProviderNamespace,
|
|
52
|
+
Parameters.subscriptionId,
|
|
52
53
|
],
|
|
53
54
|
headerParameters: [Parameters.accept],
|
|
54
55
|
serializer,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providerResourceTypes.js","sourceRoot":"","sources":["../../../src/operations/providerResourceTypes.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAOtD,yDAAyD;AACzD,MAAa,yBAAyB;
|
|
1
|
+
{"version":3,"file":"providerResourceTypes.js","sourceRoot":"","sources":["../../../src/operations/providerResourceTypes.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAOtD,yDAAyD;AACzD,MAAa,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;AAzBD,8DAyBC;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"]}
|