@azure/arm-resourcemover 2.0.2-alpha.20221101.1 → 2.1.0
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 +31 -10
- package/dist/index.js +195 -56
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +86 -45
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +41 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/operations/moveCollections.d.ts.map +1 -1
- package/dist-esm/src/operations/moveCollections.js +37 -16
- package/dist-esm/src/operations/moveCollections.js.map +1 -1
- package/dist-esm/src/operations/moveResources.d.ts.map +1 -1
- package/dist-esm/src/operations/moveResources.js +19 -8
- package/dist-esm/src/operations/moveResources.js.map +1 -1
- package/dist-esm/src/operations/unresolvedDependencies.d.ts.map +1 -1
- package/dist-esm/src/operations/unresolvedDependencies.js +19 -13
- package/dist-esm/src/operations/unresolvedDependencies.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/resourceMoverServiceAPI.d.ts +2 -0
- package/dist-esm/src/resourceMoverServiceAPI.d.ts.map +1 -1
- package/dist-esm/src/resourceMoverServiceAPI.js +49 -18
- package/dist-esm/src/resourceMoverServiceAPI.js.map +1 -1
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +12 -8
- package/review/arm-resourcemover.api.md +64 -98
- package/src/index.ts +1 -0
- package/src/models/index.ts +81 -49
- package/src/operations/moveCollections.ts +49 -22
- package/src/operations/moveResources.ts +22 -13
- package/src/operations/unresolvedDependencies.ts +22 -18
- package/src/pagingHelper.ts +39 -0
- package/src/resourceMoverServiceAPI.ts +60 -20
- package/types/arm-resourcemover.d.ts +97 -45
- package/types/tsdoc-metadata.json +1 -1
|
@@ -6,24 +6,22 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
|
-
import {
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
(recording) => recording.replace(/"access_token":"[^"]*"/g, `"access_token":"access_token"`)
|
|
19
|
-
],
|
|
20
|
-
queryParametersToSkip: []
|
|
9
|
+
import { Recorder } from "@azure-tools/test-recorder";
|
|
10
|
+
const replaceableVariables = {
|
|
11
|
+
AZURE_CLIENT_ID: "azure_client_id",
|
|
12
|
+
AZURE_CLIENT_SECRET: "azure_client_secret",
|
|
13
|
+
AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
|
|
14
|
+
SUBSCRIPTION_ID: "azure_subscription_id"
|
|
15
|
+
};
|
|
16
|
+
const recorderOptions = {
|
|
17
|
+
envSetupForPlayback: replaceableVariables
|
|
21
18
|
};
|
|
22
19
|
describe("My test", () => {
|
|
23
20
|
let recorder;
|
|
24
21
|
beforeEach(function () {
|
|
25
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
26
|
-
recorder =
|
|
23
|
+
recorder = new Recorder(this.currentTest);
|
|
24
|
+
yield recorder.start(recorderOptions);
|
|
27
25
|
});
|
|
28
26
|
});
|
|
29
27
|
afterEach(function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,QAAQ,EAGT,MAAM,4BAA4B,CAAC;AAIpC,MAAM,oBAAoB,GAA2B;IACnD,eAAe,EAAE,iBAAiB;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,sCAAsC;IACvD,eAAe,EAAE,uBAAuB;CACzC,CAAC;AAEF,MAAM,eAAe,GAAyB;IAC5C,mBAAmB,EAAE,oBAAoB;CAC1C,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YAC1C,MAAM,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QACxC,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,aAAa,EAAE;;YAChB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACjC,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for ResourceMoverServiceAPI.",
|
|
6
|
-
"version": "2.0
|
|
6
|
+
"version": "2.1.0",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=14.0.0"
|
|
9
9
|
},
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@azure/core-lro": "^2.2.0",
|
|
12
12
|
"@azure/abort-controller": "^1.0.0",
|
|
13
13
|
"@azure/core-paging": "^1.2.0",
|
|
14
|
-
"@azure/core-client": "^1.
|
|
14
|
+
"@azure/core-client": "^1.6.1",
|
|
15
15
|
"@azure/core-auth": "^1.3.0",
|
|
16
16
|
"@azure/core-rest-pipeline": "^1.8.0",
|
|
17
17
|
"tslib": "^2.2.0"
|
|
@@ -36,13 +36,18 @@
|
|
|
36
36
|
"mkdirp": "^1.0.4",
|
|
37
37
|
"rollup": "^2.66.1",
|
|
38
38
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
39
|
-
"typescript": "~4.
|
|
39
|
+
"typescript": "~4.8.0",
|
|
40
40
|
"uglify-js": "^3.4.9",
|
|
41
41
|
"rimraf": "^3.0.0",
|
|
42
42
|
"@azure/identity": "^2.0.1",
|
|
43
|
-
"@azure-tools/test-recorder": "^
|
|
43
|
+
"@azure-tools/test-recorder": "^2.0.0",
|
|
44
|
+
"@azure-tools/test-credential": "^1.0.0",
|
|
44
45
|
"mocha": "^7.1.1",
|
|
45
|
-
"
|
|
46
|
+
"@types/chai": "^4.2.8",
|
|
47
|
+
"chai": "^4.2.0",
|
|
48
|
+
"cross-env": "^7.0.2",
|
|
49
|
+
"@types/node": "^14.0.0",
|
|
50
|
+
"@azure/dev-tool": "^1.0.0"
|
|
46
51
|
},
|
|
47
52
|
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/resourcemover/arm-resourcemover",
|
|
48
53
|
"repository": {
|
|
@@ -93,9 +98,8 @@
|
|
|
93
98
|
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
|
|
94
99
|
"unit-test:browser": "echo skipped",
|
|
95
100
|
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
96
|
-
"integration-test:node": "
|
|
97
|
-
"integration-test:browser": "echo skipped"
|
|
98
|
-
"docs": "echo skipped"
|
|
101
|
+
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
|
|
102
|
+
"integration-test:browser": "echo skipped"
|
|
99
103
|
},
|
|
100
104
|
"sideEffects": false,
|
|
101
105
|
"//metadata": {
|
|
@@ -23,14 +23,14 @@ export interface AutomaticResolutionProperties {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
// @public
|
|
26
|
-
export
|
|
26
|
+
export interface AvailabilitySetResourceSettings extends ResourceSettings {
|
|
27
|
+
faultDomain?: number;
|
|
27
28
|
resourceType: "Microsoft.Compute/availabilitySets";
|
|
28
29
|
tags?: {
|
|
29
30
|
[propertyName: string]: string;
|
|
30
31
|
};
|
|
31
|
-
faultDomain?: number;
|
|
32
32
|
updateDomain?: number;
|
|
33
|
-
}
|
|
33
|
+
}
|
|
34
34
|
|
|
35
35
|
// @public
|
|
36
36
|
export interface AzureResourceReference {
|
|
@@ -81,9 +81,9 @@ export interface DiscardRequest {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
// @public
|
|
84
|
-
export
|
|
84
|
+
export interface DiskEncryptionSetResourceSettings extends ResourceSettings {
|
|
85
85
|
resourceType: "Microsoft.Compute/diskEncryptionSets";
|
|
86
|
-
}
|
|
86
|
+
}
|
|
87
87
|
|
|
88
88
|
// @public
|
|
89
89
|
export interface Display {
|
|
@@ -93,6 +93,9 @@ export interface Display {
|
|
|
93
93
|
resource?: string;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
+
// @public
|
|
97
|
+
export function getContinuationToken(page: unknown): string | undefined;
|
|
98
|
+
|
|
96
99
|
// @public
|
|
97
100
|
export interface Identity {
|
|
98
101
|
principalId?: string;
|
|
@@ -110,133 +113,92 @@ export interface JobStatus {
|
|
|
110
113
|
}
|
|
111
114
|
|
|
112
115
|
// @public
|
|
113
|
-
export
|
|
116
|
+
export interface KeyVaultResourceSettings extends ResourceSettings {
|
|
114
117
|
resourceType: "Microsoft.KeyVault/vaults";
|
|
115
|
-
}
|
|
118
|
+
}
|
|
116
119
|
|
|
117
120
|
// @public
|
|
118
121
|
export enum KnownCreatedByType {
|
|
119
|
-
// (undocumented)
|
|
120
122
|
Application = "Application",
|
|
121
|
-
// (undocumented)
|
|
122
123
|
Key = "Key",
|
|
123
|
-
// (undocumented)
|
|
124
124
|
ManagedIdentity = "ManagedIdentity",
|
|
125
|
-
// (undocumented)
|
|
126
125
|
User = "User"
|
|
127
126
|
}
|
|
128
127
|
|
|
129
128
|
// @public
|
|
130
129
|
export enum KnownDependencyLevel {
|
|
131
|
-
// (undocumented)
|
|
132
130
|
Descendant = "Descendant",
|
|
133
|
-
// (undocumented)
|
|
134
131
|
Direct = "Direct"
|
|
135
132
|
}
|
|
136
133
|
|
|
137
134
|
// @public
|
|
138
135
|
export enum KnownDependencyType {
|
|
139
|
-
// (undocumented)
|
|
140
136
|
RequiredForMove = "RequiredForMove",
|
|
141
|
-
// (undocumented)
|
|
142
137
|
RequiredForPrepare = "RequiredForPrepare"
|
|
143
138
|
}
|
|
144
139
|
|
|
145
140
|
// @public
|
|
146
141
|
export enum KnownJobName {
|
|
147
|
-
// (undocumented)
|
|
148
142
|
InitialSync = "InitialSync"
|
|
149
143
|
}
|
|
150
144
|
|
|
151
145
|
// @public
|
|
152
146
|
export enum KnownMoveResourceInputType {
|
|
153
|
-
// (undocumented)
|
|
154
147
|
MoveResourceId = "MoveResourceId",
|
|
155
|
-
// (undocumented)
|
|
156
148
|
MoveResourceSourceId = "MoveResourceSourceId"
|
|
157
149
|
}
|
|
158
150
|
|
|
159
151
|
// @public
|
|
160
152
|
export enum KnownMoveState {
|
|
161
|
-
// (undocumented)
|
|
162
153
|
AssignmentPending = "AssignmentPending",
|
|
163
|
-
// (undocumented)
|
|
164
154
|
CommitFailed = "CommitFailed",
|
|
165
|
-
// (undocumented)
|
|
166
155
|
CommitInProgress = "CommitInProgress",
|
|
167
|
-
// (undocumented)
|
|
168
156
|
CommitPending = "CommitPending",
|
|
169
|
-
// (undocumented)
|
|
170
157
|
Committed = "Committed",
|
|
171
|
-
// (undocumented)
|
|
172
158
|
DeleteSourcePending = "DeleteSourcePending",
|
|
173
|
-
// (undocumented)
|
|
174
159
|
DiscardFailed = "DiscardFailed",
|
|
175
|
-
// (undocumented)
|
|
176
160
|
DiscardInProgress = "DiscardInProgress",
|
|
177
|
-
// (undocumented)
|
|
178
161
|
MoveFailed = "MoveFailed",
|
|
179
|
-
// (undocumented)
|
|
180
162
|
MoveInProgress = "MoveInProgress",
|
|
181
|
-
// (undocumented)
|
|
182
163
|
MovePending = "MovePending",
|
|
183
|
-
// (undocumented)
|
|
184
164
|
PrepareFailed = "PrepareFailed",
|
|
185
|
-
// (undocumented)
|
|
186
165
|
PrepareInProgress = "PrepareInProgress",
|
|
187
|
-
// (undocumented)
|
|
188
166
|
PreparePending = "PreparePending",
|
|
189
|
-
// (undocumented)
|
|
190
167
|
ResourceMoveCompleted = "ResourceMoveCompleted"
|
|
191
168
|
}
|
|
192
169
|
|
|
193
170
|
// @public
|
|
194
171
|
export enum KnownProvisioningState {
|
|
195
|
-
// (undocumented)
|
|
196
172
|
Creating = "Creating",
|
|
197
|
-
// (undocumented)
|
|
198
173
|
Failed = "Failed",
|
|
199
|
-
// (undocumented)
|
|
200
174
|
Succeeded = "Succeeded",
|
|
201
|
-
// (undocumented)
|
|
202
175
|
Updating = "Updating"
|
|
203
176
|
}
|
|
204
177
|
|
|
205
178
|
// @public
|
|
206
179
|
export enum KnownResolutionType {
|
|
207
|
-
// (undocumented)
|
|
208
180
|
Automatic = "Automatic",
|
|
209
|
-
// (undocumented)
|
|
210
181
|
Manual = "Manual"
|
|
211
182
|
}
|
|
212
183
|
|
|
213
184
|
// @public
|
|
214
185
|
export enum KnownResourceIdentityType {
|
|
215
|
-
// (undocumented)
|
|
216
186
|
None = "None",
|
|
217
|
-
// (undocumented)
|
|
218
187
|
SystemAssigned = "SystemAssigned",
|
|
219
|
-
// (undocumented)
|
|
220
188
|
UserAssigned = "UserAssigned"
|
|
221
189
|
}
|
|
222
190
|
|
|
223
191
|
// @public
|
|
224
192
|
export enum KnownTargetAvailabilityZone {
|
|
225
|
-
// (undocumented)
|
|
226
193
|
NA = "NA",
|
|
227
|
-
// (undocumented)
|
|
228
194
|
One = "1",
|
|
229
|
-
// (undocumented)
|
|
230
195
|
Three = "3",
|
|
231
|
-
// (undocumented)
|
|
232
196
|
Two = "2"
|
|
233
197
|
}
|
|
234
198
|
|
|
235
199
|
// @public
|
|
236
200
|
export enum KnownZoneRedundant {
|
|
237
|
-
// (undocumented)
|
|
238
201
|
Disable = "Disable",
|
|
239
|
-
// (undocumented)
|
|
240
202
|
Enable = "Enable"
|
|
241
203
|
}
|
|
242
204
|
|
|
@@ -255,22 +217,24 @@ export interface LBFrontendIPConfigurationResourceSettings {
|
|
|
255
217
|
}
|
|
256
218
|
|
|
257
219
|
// @public
|
|
258
|
-
export
|
|
220
|
+
export interface LoadBalancerBackendAddressPoolReference extends ProxyResourceReference {
|
|
221
|
+
}
|
|
259
222
|
|
|
260
223
|
// @public
|
|
261
|
-
export
|
|
224
|
+
export interface LoadBalancerNatRuleReference extends ProxyResourceReference {
|
|
225
|
+
}
|
|
262
226
|
|
|
263
227
|
// @public
|
|
264
|
-
export
|
|
228
|
+
export interface LoadBalancerResourceSettings extends ResourceSettings {
|
|
229
|
+
backendAddressPools?: LBBackendAddressPoolResourceSettings[];
|
|
230
|
+
frontendIPConfigurations?: LBFrontendIPConfigurationResourceSettings[];
|
|
265
231
|
resourceType: "Microsoft.Network/loadBalancers";
|
|
232
|
+
sku?: string;
|
|
266
233
|
tags?: {
|
|
267
234
|
[propertyName: string]: string;
|
|
268
235
|
};
|
|
269
|
-
sku?: string;
|
|
270
|
-
frontendIPConfigurations?: LBFrontendIPConfigurationResourceSettings[];
|
|
271
|
-
backendAddressPools?: LBBackendAddressPoolResourceSettings[];
|
|
272
236
|
zones?: string;
|
|
273
|
-
}
|
|
237
|
+
}
|
|
274
238
|
|
|
275
239
|
// @public
|
|
276
240
|
export interface ManualResolutionProperties {
|
|
@@ -301,7 +265,8 @@ export interface MoveCollectionProperties {
|
|
|
301
265
|
}
|
|
302
266
|
|
|
303
267
|
// @public
|
|
304
|
-
export
|
|
268
|
+
export interface MoveCollectionPropertiesErrors extends MoveResourceError {
|
|
269
|
+
}
|
|
305
270
|
|
|
306
271
|
// @public
|
|
307
272
|
export interface MoveCollectionResultList {
|
|
@@ -541,10 +506,12 @@ export interface MoveResourceProperties {
|
|
|
541
506
|
}
|
|
542
507
|
|
|
543
508
|
// @public
|
|
544
|
-
export
|
|
509
|
+
export interface MoveResourcePropertiesErrors extends MoveResourceError {
|
|
510
|
+
}
|
|
545
511
|
|
|
546
512
|
// @public
|
|
547
|
-
export
|
|
513
|
+
export interface MoveResourcePropertiesMoveStatus extends MoveResourceStatus {
|
|
514
|
+
}
|
|
548
515
|
|
|
549
516
|
// @public
|
|
550
517
|
export interface MoveResources {
|
|
@@ -584,7 +551,6 @@ export type MoveResourcesGetResponse = MoveResource;
|
|
|
584
551
|
|
|
585
552
|
// @public
|
|
586
553
|
export interface MoveResourcesListNextOptionalParams extends coreClient.OperationOptions {
|
|
587
|
-
filter?: string;
|
|
588
554
|
}
|
|
589
555
|
|
|
590
556
|
// @public
|
|
@@ -609,23 +575,23 @@ export interface MoveResourceStatus {
|
|
|
609
575
|
export type MoveState = string;
|
|
610
576
|
|
|
611
577
|
// @public
|
|
612
|
-
export
|
|
578
|
+
export interface NetworkInterfaceResourceSettings extends ResourceSettings {
|
|
579
|
+
enableAcceleratedNetworking?: boolean;
|
|
580
|
+
ipConfigurations?: NicIpConfigurationResourceSettings[];
|
|
613
581
|
resourceType: "Microsoft.Network/networkInterfaces";
|
|
614
582
|
tags?: {
|
|
615
583
|
[propertyName: string]: string;
|
|
616
584
|
};
|
|
617
|
-
|
|
618
|
-
enableAcceleratedNetworking?: boolean;
|
|
619
|
-
};
|
|
585
|
+
}
|
|
620
586
|
|
|
621
587
|
// @public
|
|
622
|
-
export
|
|
588
|
+
export interface NetworkSecurityGroupResourceSettings extends ResourceSettings {
|
|
623
589
|
resourceType: "Microsoft.Network/networkSecurityGroups";
|
|
590
|
+
securityRules?: NsgSecurityRule[];
|
|
624
591
|
tags?: {
|
|
625
592
|
[propertyName: string]: string;
|
|
626
593
|
};
|
|
627
|
-
|
|
628
|
-
};
|
|
594
|
+
}
|
|
629
595
|
|
|
630
596
|
// @public
|
|
631
597
|
export interface NicIpConfigurationResourceSettings {
|
|
@@ -640,7 +606,8 @@ export interface NicIpConfigurationResourceSettings {
|
|
|
640
606
|
}
|
|
641
607
|
|
|
642
608
|
// @public
|
|
643
|
-
export
|
|
609
|
+
export interface NsgReference extends AzureResourceReference {
|
|
610
|
+
}
|
|
644
611
|
|
|
645
612
|
// @public
|
|
646
613
|
export interface NsgSecurityRule {
|
|
@@ -720,25 +687,26 @@ export interface PrepareRequest {
|
|
|
720
687
|
export type ProvisioningState = string;
|
|
721
688
|
|
|
722
689
|
// @public
|
|
723
|
-
export
|
|
690
|
+
export interface ProxyResourceReference extends AzureResourceReference {
|
|
724
691
|
name?: string;
|
|
725
|
-
}
|
|
692
|
+
}
|
|
726
693
|
|
|
727
694
|
// @public
|
|
728
|
-
export
|
|
729
|
-
resourceType: "Microsoft.Network/publicIPAddresses";
|
|
730
|
-
tags?: {
|
|
731
|
-
[propertyName: string]: string;
|
|
732
|
-
};
|
|
695
|
+
export interface PublicIPAddressResourceSettings extends ResourceSettings {
|
|
733
696
|
domainNameLabel?: string;
|
|
734
697
|
fqdn?: string;
|
|
735
698
|
publicIpAllocationMethod?: string;
|
|
699
|
+
resourceType: "Microsoft.Network/publicIPAddresses";
|
|
736
700
|
sku?: string;
|
|
701
|
+
tags?: {
|
|
702
|
+
[propertyName: string]: string;
|
|
703
|
+
};
|
|
737
704
|
zones?: string;
|
|
738
|
-
}
|
|
705
|
+
}
|
|
739
706
|
|
|
740
707
|
// @public
|
|
741
|
-
export
|
|
708
|
+
export interface PublicIpReference extends AzureResourceReference {
|
|
709
|
+
}
|
|
742
710
|
|
|
743
711
|
// @public
|
|
744
712
|
export interface RequiredForResourcesCollection {
|
|
@@ -749,9 +717,9 @@ export interface RequiredForResourcesCollection {
|
|
|
749
717
|
export type ResolutionType = string;
|
|
750
718
|
|
|
751
719
|
// @public
|
|
752
|
-
export
|
|
720
|
+
export interface ResourceGroupResourceSettings extends ResourceSettings {
|
|
753
721
|
resourceType: "resourceGroups";
|
|
754
|
-
}
|
|
722
|
+
}
|
|
755
723
|
|
|
756
724
|
// @public
|
|
757
725
|
export type ResourceIdentityType = string;
|
|
@@ -799,30 +767,31 @@ export interface ResourceSettings {
|
|
|
799
767
|
export type ResourceSettingsUnion = ResourceSettings | VirtualMachineResourceSettings | AvailabilitySetResourceSettings | VirtualNetworkResourceSettings | NetworkInterfaceResourceSettings | NetworkSecurityGroupResourceSettings | LoadBalancerResourceSettings | SqlServerResourceSettings | SqlElasticPoolResourceSettings | SqlDatabaseResourceSettings | ResourceGroupResourceSettings | PublicIPAddressResourceSettings | KeyVaultResourceSettings | DiskEncryptionSetResourceSettings;
|
|
800
768
|
|
|
801
769
|
// @public
|
|
802
|
-
export
|
|
770
|
+
export interface SqlDatabaseResourceSettings extends ResourceSettings {
|
|
803
771
|
resourceType: "Microsoft.Sql/servers/databases";
|
|
804
772
|
tags?: {
|
|
805
773
|
[propertyName: string]: string;
|
|
806
774
|
};
|
|
807
775
|
zoneRedundant?: ZoneRedundant;
|
|
808
|
-
}
|
|
776
|
+
}
|
|
809
777
|
|
|
810
778
|
// @public
|
|
811
|
-
export
|
|
779
|
+
export interface SqlElasticPoolResourceSettings extends ResourceSettings {
|
|
812
780
|
resourceType: "Microsoft.Sql/servers/elasticPools";
|
|
813
781
|
tags?: {
|
|
814
782
|
[propertyName: string]: string;
|
|
815
783
|
};
|
|
816
784
|
zoneRedundant?: ZoneRedundant;
|
|
817
|
-
}
|
|
785
|
+
}
|
|
818
786
|
|
|
819
787
|
// @public
|
|
820
|
-
export
|
|
788
|
+
export interface SqlServerResourceSettings extends ResourceSettings {
|
|
821
789
|
resourceType: "Microsoft.Sql/servers";
|
|
822
|
-
}
|
|
790
|
+
}
|
|
823
791
|
|
|
824
792
|
// @public
|
|
825
|
-
export
|
|
793
|
+
export interface SubnetReference extends ProxyResourceReference {
|
|
794
|
+
}
|
|
826
795
|
|
|
827
796
|
// @public
|
|
828
797
|
export interface SubnetResourceSettings {
|
|
@@ -874,9 +843,6 @@ export interface UnresolvedDependenciesFilterProperties {
|
|
|
874
843
|
|
|
875
844
|
// @public
|
|
876
845
|
export interface UnresolvedDependenciesGetNextOptionalParams extends coreClient.OperationOptions {
|
|
877
|
-
dependencyLevel?: DependencyLevel;
|
|
878
|
-
filter?: string;
|
|
879
|
-
orderby?: string;
|
|
880
846
|
}
|
|
881
847
|
|
|
882
848
|
// @public
|
|
@@ -915,28 +881,28 @@ export interface UpdateMoveCollectionRequest {
|
|
|
915
881
|
}
|
|
916
882
|
|
|
917
883
|
// @public
|
|
918
|
-
export
|
|
884
|
+
export interface VirtualMachineResourceSettings extends ResourceSettings {
|
|
919
885
|
resourceType: "Microsoft.Compute/virtualMachines";
|
|
920
886
|
tags?: {
|
|
921
887
|
[propertyName: string]: string;
|
|
922
888
|
};
|
|
923
|
-
|
|
889
|
+
targetAvailabilitySetId?: string;
|
|
924
890
|
targetAvailabilityZone?: TargetAvailabilityZone;
|
|
925
891
|
targetVmSize?: string;
|
|
926
|
-
|
|
927
|
-
}
|
|
892
|
+
userManagedIdentities?: string[];
|
|
893
|
+
}
|
|
928
894
|
|
|
929
895
|
// @public
|
|
930
|
-
export
|
|
896
|
+
export interface VirtualNetworkResourceSettings extends ResourceSettings {
|
|
897
|
+
addressSpace?: string[];
|
|
898
|
+
dnsServers?: string[];
|
|
899
|
+
enableDdosProtection?: boolean;
|
|
931
900
|
resourceType: "Microsoft.Network/virtualNetworks";
|
|
901
|
+
subnets?: SubnetResourceSettings[];
|
|
932
902
|
tags?: {
|
|
933
903
|
[propertyName: string]: string;
|
|
934
904
|
};
|
|
935
|
-
|
|
936
|
-
addressSpace?: string[];
|
|
937
|
-
dnsServers?: string[];
|
|
938
|
-
subnets?: SubnetResourceSettings[];
|
|
939
|
-
};
|
|
905
|
+
}
|
|
940
906
|
|
|
941
907
|
// @public
|
|
942
908
|
export type ZoneRedundant = string;
|
package/src/index.ts
CHANGED