@azure/arm-sqlvirtualmachine 5.0.0-beta.5 → 5.0.0-beta.7
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 +2 -2
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +397 -144
- 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/samples-dev/availabilityGroupListenersCreateOrUpdateSample.js +53 -5
- package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.js +12 -4
- package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/availabilityGroupListenersGetSample.js +12 -4
- package/dist-esm/samples-dev/availabilityGroupListenersGetSample.js.map +1 -1
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js +12 -4
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +11 -3
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.js +13 -4
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js +11 -3
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js +43 -25
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js +11 -3
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.js +12 -4
- package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.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 +136 -26
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +70 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +1 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +78 -1
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/operations/availabilityGroupListeners.d.ts.map +1 -1
- package/dist-esm/src/operations/availabilityGroupListeners.js +19 -8
- package/dist-esm/src/operations/availabilityGroupListeners.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +19 -8
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js +37 -16
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts +17 -17
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachines.js +121 -90
- package/dist-esm/src/operations/sqlVirtualMachines.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts +17 -17
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts.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/sqlVirtualMachineManagementClient.d.ts.map +1 -1
- package/dist-esm/src/sqlVirtualMachineManagementClient.js +22 -20
- package/dist-esm/src/sqlVirtualMachineManagementClient.js.map +1 -1
- package/package.json +9 -8
- package/review/arm-sqlvirtualmachine.api.md +66 -86
- package/src/index.ts +1 -0
- package/src/models/index.ts +142 -28
- package/src/models/mappers.ts +83 -1
- package/src/models/parameters.ts +1 -1
- package/src/operations/availabilityGroupListeners.ts +27 -14
- package/src/operations/operations.ts +21 -9
- package/src/operations/sqlVirtualMachineGroups.ts +46 -19
- package/src/operations/sqlVirtualMachines.ts +170 -131
- package/src/operationsInterfaces/sqlVirtualMachines.ts +26 -26
- package/src/pagingHelper.ts +39 -0
- package/src/sqlVirtualMachineManagementClient.ts +28 -22
- package/types/arm-sqlvirtualmachine.d.ts +159 -35
- package/types/tsdoc-metadata.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
const pageMap = new WeakMap();
|
|
9
|
+
/**
|
|
10
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
11
|
+
* returns a continuation token that can be used to begin paging from
|
|
12
|
+
* that point later.
|
|
13
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
14
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
15
|
+
*/
|
|
16
|
+
export function getContinuationToken(page) {
|
|
17
|
+
var _a;
|
|
18
|
+
if (typeof page !== "object" || page === null) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
22
|
+
}
|
|
23
|
+
export function setContinuationToken(page, continuationToken) {
|
|
24
|
+
var _a;
|
|
25
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
29
|
+
pageInfo.continuationToken = continuationToken;
|
|
30
|
+
pageMap.set(page, pageInfo);
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=pagingHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE;QAC7C,OAAO,SAAS,CAAC;KAClB;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE;QACnE,OAAO;KACR;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqlVirtualMachineManagementClient.d.ts","sourceRoot":"","sources":["../../src/sqlVirtualMachineManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAO7C,OAAO,EACL,0BAA0B,EAC1B,UAAU,EACV,uBAAuB,EACvB,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,+CAA+C,EAAE,MAAM,UAAU,CAAC;AAE3E,qBAAa,iCAAkC,SAAQ,UAAU,CAAC,aAAa;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+CAA+C;
|
|
1
|
+
{"version":3,"file":"sqlVirtualMachineManagementClient.d.ts","sourceRoot":"","sources":["../../src/sqlVirtualMachineManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAO7C,OAAO,EACL,0BAA0B,EAC1B,UAAU,EACV,uBAAuB,EACvB,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,+CAA+C,EAAE,MAAM,UAAU,CAAC;AAE3E,qBAAa,iCAAkC,SAAQ,UAAU,CAAC,aAAa;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+CAA+C;IA+E3D,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,UAAU,EAAE,UAAU,CAAC;IACvB,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,kBAAkB,EAAE,kBAAkB,CAAC;CACxC"}
|
|
@@ -17,7 +17,7 @@ export class SqlVirtualMachineManagementClient extends coreClient.ServiceClient
|
|
|
17
17
|
* @param options The parameter options
|
|
18
18
|
*/
|
|
19
19
|
constructor(credentials, subscriptionId, options) {
|
|
20
|
-
var _a, _b;
|
|
20
|
+
var _a, _b, _c;
|
|
21
21
|
if (credentials === undefined) {
|
|
22
22
|
throw new Error("'credentials' cannot be null");
|
|
23
23
|
}
|
|
@@ -32,38 +32,40 @@ export class SqlVirtualMachineManagementClient extends coreClient.ServiceClient
|
|
|
32
32
|
requestContentType: "application/json; charset=utf-8",
|
|
33
33
|
credential: credentials
|
|
34
34
|
};
|
|
35
|
-
const packageDetails = `azsdk-js-arm-sqlvirtualmachine/5.0.0-beta.
|
|
35
|
+
const packageDetails = `azsdk-js-arm-sqlvirtualmachine/5.0.0-beta.7`;
|
|
36
36
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
37
37
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
38
38
|
: `${packageDetails}`;
|
|
39
|
-
if (!options.credentialScopes) {
|
|
40
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
41
|
-
}
|
|
42
39
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
43
40
|
userAgentPrefix
|
|
44
|
-
},
|
|
41
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
45
42
|
super(optionsWithDefaults);
|
|
43
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
46
44
|
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
47
45
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
48
|
-
|
|
46
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
49
47
|
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
48
|
+
}
|
|
49
|
+
if (!options ||
|
|
50
|
+
!options.pipeline ||
|
|
51
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
52
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
53
|
+
this.pipeline.removePolicy({
|
|
54
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
55
|
+
});
|
|
56
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
57
|
+
credential: credentials,
|
|
58
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
59
|
+
challengeCallbacks: {
|
|
60
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
61
|
+
}
|
|
62
|
+
}));
|
|
61
63
|
}
|
|
62
64
|
// Parameter assignments
|
|
63
65
|
this.subscriptionId = subscriptionId;
|
|
64
66
|
// Assigning values to Constant parameters
|
|
65
67
|
this.$host = options.$host || "https://management.azure.com";
|
|
66
|
-
this.apiVersion = options.apiVersion || "
|
|
68
|
+
this.apiVersion = options.apiVersion || "2022-07-01-preview";
|
|
67
69
|
this.availabilityGroupListeners = new AvailabilityGroupListenersImpl(this);
|
|
68
70
|
this.operations = new OperationsImpl(this);
|
|
69
71
|
this.sqlVirtualMachineGroups = new SqlVirtualMachineGroupsImpl(this);
|
|
@@ -83,7 +85,7 @@ export class SqlVirtualMachineManagementClient extends coreClient.ServiceClient
|
|
|
83
85
|
if (param.length > 1) {
|
|
84
86
|
const newParams = param[1].split("&").map((item) => {
|
|
85
87
|
if (item.indexOf("api-version") > -1) {
|
|
86
|
-
return
|
|
88
|
+
return "api-version=" + apiVersion;
|
|
87
89
|
}
|
|
88
90
|
else {
|
|
89
91
|
return item;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqlVirtualMachineManagementClient.js","sourceRoot":"","sources":["../../src/sqlVirtualMachineManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,8BAA8B,EAC9B,cAAc,EACd,2BAA2B,EAC3B,sBAAsB,EACvB,MAAM,cAAc,CAAC;AAStB,MAAM,OAAO,iCAAkC,SAAQ,UAAU,CAAC,aAAa;IAK7E;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAyD;;QAEzD,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;SACjD;QACD,IAAI,cAAc,KAAK,SAAS,EAAE;YAChC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;SACpD;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,MAAM,QAAQ,GAAoD;YAChE,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,6CAA6C,CAAC;QACrE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,
|
|
1
|
+
{"version":3,"file":"sqlVirtualMachineManagementClient.js","sourceRoot":"","sources":["../../src/sqlVirtualMachineManagementClient.ts"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for SqlVirtualMachineManagementClient.",
|
|
6
|
-
"version": "5.0.0-beta.
|
|
6
|
+
"version": "5.0.0-beta.7",
|
|
7
7
|
"engines": {
|
|
8
|
-
"node": ">=
|
|
8
|
+
"node": ">=14.0.0"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
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"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"module": "./dist-esm/src/index.js",
|
|
29
29
|
"types": "./types/arm-sqlvirtualmachine.d.ts",
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@microsoft/api-extractor": "7.
|
|
31
|
+
"@microsoft/api-extractor": "^7.31.1",
|
|
32
32
|
"@rollup/plugin-commonjs": "^21.0.1",
|
|
33
33
|
"@rollup/plugin-json": "^4.1.0",
|
|
34
34
|
"@rollup/plugin-multi-entry": "^4.1.0",
|
|
@@ -36,9 +36,10 @@
|
|
|
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
|
+
"dotenv": "^8.2.0",
|
|
42
43
|
"@azure/identity": "^2.0.1",
|
|
43
44
|
"@azure-tools/test-recorder": "^2.0.0",
|
|
44
45
|
"@azure-tools/test-credential": "^1.0.0",
|
|
@@ -46,9 +47,9 @@
|
|
|
46
47
|
"@types/chai": "^4.2.8",
|
|
47
48
|
"chai": "^4.2.0",
|
|
48
49
|
"cross-env": "^7.0.2",
|
|
50
|
+
"@types/node": "^14.0.0",
|
|
49
51
|
"@azure/dev-tool": "^1.0.0"
|
|
50
52
|
},
|
|
51
|
-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/sqlvirtualmachine/arm-sqlvirtualmachine",
|
|
52
53
|
"repository": {
|
|
53
54
|
"type": "git",
|
|
54
55
|
"url": "https://github.com/Azure/azure-sdk-for-js.git"
|
|
@@ -98,8 +99,7 @@
|
|
|
98
99
|
"unit-test:browser": "echo skipped",
|
|
99
100
|
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
100
101
|
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
|
|
101
|
-
"integration-test:browser": "echo skipped"
|
|
102
|
-
"docs": "echo skipped"
|
|
102
|
+
"integration-test:browser": "echo skipped"
|
|
103
103
|
},
|
|
104
104
|
"sideEffects": false,
|
|
105
105
|
"//metadata": {
|
|
@@ -111,6 +111,7 @@
|
|
|
111
111
|
]
|
|
112
112
|
},
|
|
113
113
|
"autoPublish": true,
|
|
114
|
+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/sqlvirtualmachine/arm-sqlvirtualmachine",
|
|
114
115
|
"//sampleConfiguration": {
|
|
115
116
|
"productName": "",
|
|
116
117
|
"productSlugs": [
|
|
@@ -17,7 +17,7 @@ export interface AdditionalFeaturesServerConfigurations {
|
|
|
17
17
|
|
|
18
18
|
// @public
|
|
19
19
|
export interface AgConfiguration {
|
|
20
|
-
|
|
20
|
+
replicas?: AgReplica[];
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
// @public
|
|
@@ -69,15 +69,16 @@ export interface AutoPatchingSettings {
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
// @public
|
|
72
|
-
export
|
|
73
|
-
|
|
74
|
-
readonly provisioningState?: string;
|
|
72
|
+
export interface AvailabilityGroupListener extends ProxyResource {
|
|
73
|
+
availabilityGroupConfiguration?: AgConfiguration;
|
|
75
74
|
availabilityGroupName?: string;
|
|
76
|
-
loadBalancerConfigurations?: LoadBalancerConfiguration[];
|
|
77
75
|
createDefaultAvailabilityGroupIfNotExist?: boolean;
|
|
76
|
+
loadBalancerConfigurations?: LoadBalancerConfiguration[];
|
|
77
|
+
multiSubnetIpConfigurations?: MultiSubnetIpConfiguration[];
|
|
78
78
|
port?: number;
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
readonly provisioningState?: string;
|
|
80
|
+
readonly systemData?: SystemData;
|
|
81
|
+
}
|
|
81
82
|
|
|
82
83
|
// @public
|
|
83
84
|
export interface AvailabilityGroupListenerListResult {
|
|
@@ -141,6 +142,9 @@ export type ClusterConfiguration = string;
|
|
|
141
142
|
// @public
|
|
142
143
|
export type ClusterManagerType = string;
|
|
143
144
|
|
|
145
|
+
// @public
|
|
146
|
+
export type ClusterSubnetType = string;
|
|
147
|
+
|
|
144
148
|
// @public
|
|
145
149
|
export type Commit = string;
|
|
146
150
|
|
|
@@ -162,6 +166,9 @@ export type Failover = string;
|
|
|
162
166
|
// @public
|
|
163
167
|
export type FullBackupFrequencyType = string;
|
|
164
168
|
|
|
169
|
+
// @public
|
|
170
|
+
export function getContinuationToken(page: unknown): string | undefined;
|
|
171
|
+
|
|
165
172
|
// @public
|
|
166
173
|
export type IdentityType = string;
|
|
167
174
|
|
|
@@ -176,200 +183,158 @@ export interface KeyVaultCredentialSettings {
|
|
|
176
183
|
|
|
177
184
|
// @public
|
|
178
185
|
export enum KnownAutoBackupDaysOfWeek {
|
|
179
|
-
// (undocumented)
|
|
180
186
|
Friday = "Friday",
|
|
181
|
-
// (undocumented)
|
|
182
187
|
Monday = "Monday",
|
|
183
|
-
// (undocumented)
|
|
184
188
|
Saturday = "Saturday",
|
|
185
|
-
// (undocumented)
|
|
186
189
|
Sunday = "Sunday",
|
|
187
|
-
// (undocumented)
|
|
188
190
|
Thursday = "Thursday",
|
|
189
|
-
// (undocumented)
|
|
190
191
|
Tuesday = "Tuesday",
|
|
191
|
-
// (undocumented)
|
|
192
192
|
Wednesday = "Wednesday"
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
// @public
|
|
196
196
|
export enum KnownBackupScheduleType {
|
|
197
|
-
// (undocumented)
|
|
198
197
|
Automated = "Automated",
|
|
199
|
-
// (undocumented)
|
|
200
198
|
Manual = "Manual"
|
|
201
199
|
}
|
|
202
200
|
|
|
203
201
|
// @public
|
|
204
202
|
export enum KnownClusterConfiguration {
|
|
205
|
-
// (undocumented)
|
|
206
203
|
Domainful = "Domainful"
|
|
207
204
|
}
|
|
208
205
|
|
|
209
206
|
// @public
|
|
210
207
|
export enum KnownClusterManagerType {
|
|
211
|
-
// (undocumented)
|
|
212
208
|
Wsfc = "WSFC"
|
|
213
209
|
}
|
|
214
210
|
|
|
211
|
+
// @public
|
|
212
|
+
export enum KnownClusterSubnetType {
|
|
213
|
+
MultiSubnet = "MultiSubnet",
|
|
214
|
+
SingleSubnet = "SingleSubnet"
|
|
215
|
+
}
|
|
216
|
+
|
|
215
217
|
// @public
|
|
216
218
|
export enum KnownCommit {
|
|
217
|
-
// (undocumented)
|
|
218
219
|
AsynchronousCommit = "ASYNCHRONOUS_COMMIT",
|
|
219
|
-
// (undocumented)
|
|
220
220
|
SynchronousCommit = "SYNCHRONOUS_COMMIT"
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
// @public
|
|
224
224
|
export enum KnownConnectivityType {
|
|
225
|
-
// (undocumented)
|
|
226
225
|
Local = "LOCAL",
|
|
227
|
-
// (undocumented)
|
|
228
226
|
Private = "PRIVATE",
|
|
229
|
-
// (undocumented)
|
|
230
227
|
Public = "PUBLIC"
|
|
231
228
|
}
|
|
232
229
|
|
|
233
230
|
// @public
|
|
234
231
|
export enum KnownCreatedByType {
|
|
235
|
-
// (undocumented)
|
|
236
232
|
Application = "Application",
|
|
237
|
-
// (undocumented)
|
|
238
233
|
Key = "Key",
|
|
239
|
-
// (undocumented)
|
|
240
234
|
ManagedIdentity = "ManagedIdentity",
|
|
241
|
-
// (undocumented)
|
|
242
235
|
User = "User"
|
|
243
236
|
}
|
|
244
237
|
|
|
245
238
|
// @public
|
|
246
239
|
export enum KnownDiskConfigurationType {
|
|
247
|
-
// (undocumented)
|
|
248
240
|
ADD = "ADD",
|
|
249
|
-
// (undocumented)
|
|
250
241
|
Extend = "EXTEND",
|
|
251
|
-
// (undocumented)
|
|
252
242
|
NEW = "NEW"
|
|
253
243
|
}
|
|
254
244
|
|
|
255
245
|
// @public
|
|
256
246
|
export enum KnownFailover {
|
|
257
|
-
// (undocumented)
|
|
258
247
|
Automatic = "AUTOMATIC",
|
|
259
|
-
// (undocumented)
|
|
260
248
|
Manual = "MANUAL"
|
|
261
249
|
}
|
|
262
250
|
|
|
263
251
|
// @public
|
|
264
252
|
export enum KnownFullBackupFrequencyType {
|
|
265
|
-
// (undocumented)
|
|
266
253
|
Daily = "Daily",
|
|
267
|
-
// (undocumented)
|
|
268
254
|
Weekly = "Weekly"
|
|
269
255
|
}
|
|
270
256
|
|
|
271
257
|
// @public
|
|
272
258
|
export enum KnownIdentityType {
|
|
273
|
-
// (undocumented)
|
|
274
259
|
None = "None",
|
|
275
|
-
// (undocumented)
|
|
276
260
|
SystemAssigned = "SystemAssigned"
|
|
277
261
|
}
|
|
278
262
|
|
|
263
|
+
// @public
|
|
264
|
+
export enum KnownLeastPrivilegeMode {
|
|
265
|
+
Enabled = "Enabled"
|
|
266
|
+
}
|
|
267
|
+
|
|
279
268
|
// @public
|
|
280
269
|
export enum KnownOperationOrigin {
|
|
281
|
-
// (undocumented)
|
|
282
270
|
System = "system",
|
|
283
|
-
// (undocumented)
|
|
284
271
|
User = "user"
|
|
285
272
|
}
|
|
286
273
|
|
|
287
274
|
// @public
|
|
288
275
|
export enum KnownReadableSecondary {
|
|
289
|
-
// (undocumented)
|
|
290
276
|
ALL = "ALL",
|
|
291
|
-
// (undocumented)
|
|
292
277
|
NO = "NO",
|
|
293
|
-
// (undocumented)
|
|
294
278
|
ReadOnly = "READ_ONLY"
|
|
295
279
|
}
|
|
296
280
|
|
|
297
281
|
// @public
|
|
298
282
|
export enum KnownRole {
|
|
299
|
-
// (undocumented)
|
|
300
283
|
Primary = "PRIMARY",
|
|
301
|
-
// (undocumented)
|
|
302
284
|
Secondary = "SECONDARY"
|
|
303
285
|
}
|
|
304
286
|
|
|
305
287
|
// @public
|
|
306
288
|
export enum KnownScaleType {
|
|
307
|
-
// (undocumented)
|
|
308
289
|
HA = "HA"
|
|
309
290
|
}
|
|
310
291
|
|
|
311
292
|
// @public
|
|
312
293
|
export enum KnownSqlImageSku {
|
|
313
|
-
// (undocumented)
|
|
314
294
|
Developer = "Developer",
|
|
315
|
-
// (undocumented)
|
|
316
295
|
Enterprise = "Enterprise",
|
|
317
|
-
// (undocumented)
|
|
318
296
|
Express = "Express",
|
|
319
|
-
// (undocumented)
|
|
320
297
|
Standard = "Standard",
|
|
321
|
-
// (undocumented)
|
|
322
298
|
Web = "Web"
|
|
323
299
|
}
|
|
324
300
|
|
|
325
301
|
// @public
|
|
326
302
|
export enum KnownSqlManagementMode {
|
|
327
|
-
// (undocumented)
|
|
328
303
|
Full = "Full",
|
|
329
|
-
// (undocumented)
|
|
330
304
|
LightWeight = "LightWeight",
|
|
331
|
-
// (undocumented)
|
|
332
305
|
NoAgent = "NoAgent"
|
|
333
306
|
}
|
|
334
307
|
|
|
335
308
|
// @public
|
|
336
309
|
export enum KnownSqlServerLicenseType {
|
|
337
|
-
// (undocumented)
|
|
338
310
|
Ahub = "AHUB",
|
|
339
|
-
// (undocumented)
|
|
340
311
|
DR = "DR",
|
|
341
|
-
// (undocumented)
|
|
342
312
|
Payg = "PAYG"
|
|
343
313
|
}
|
|
344
314
|
|
|
345
315
|
// @public
|
|
346
316
|
export enum KnownSqlVmGroupImageSku {
|
|
347
|
-
// (undocumented)
|
|
348
317
|
Developer = "Developer",
|
|
349
|
-
// (undocumented)
|
|
350
318
|
Enterprise = "Enterprise"
|
|
351
319
|
}
|
|
352
320
|
|
|
353
321
|
// @public
|
|
354
322
|
export enum KnownSqlWorkloadType {
|
|
355
|
-
// (undocumented)
|
|
356
323
|
DW = "DW",
|
|
357
|
-
// (undocumented)
|
|
358
324
|
General = "GENERAL",
|
|
359
|
-
// (undocumented)
|
|
360
325
|
Oltp = "OLTP"
|
|
361
326
|
}
|
|
362
327
|
|
|
363
328
|
// @public
|
|
364
329
|
export enum KnownStorageWorkloadType {
|
|
365
|
-
// (undocumented)
|
|
366
330
|
DW = "DW",
|
|
367
|
-
// (undocumented)
|
|
368
331
|
General = "GENERAL",
|
|
369
|
-
// (undocumented)
|
|
370
332
|
Oltp = "OLTP"
|
|
371
333
|
}
|
|
372
334
|
|
|
335
|
+
// @public
|
|
336
|
+
export type LeastPrivilegeMode = string;
|
|
337
|
+
|
|
373
338
|
// @public
|
|
374
339
|
export interface LoadBalancerConfiguration {
|
|
375
340
|
loadBalancerResourceId?: string;
|
|
@@ -379,6 +344,12 @@ export interface LoadBalancerConfiguration {
|
|
|
379
344
|
sqlVirtualMachineInstances?: string[];
|
|
380
345
|
}
|
|
381
346
|
|
|
347
|
+
// @public
|
|
348
|
+
export interface MultiSubnetIpConfiguration {
|
|
349
|
+
privateIpAddress: PrivateIPAddress;
|
|
350
|
+
sqlVirtualMachineInstance: string;
|
|
351
|
+
}
|
|
352
|
+
|
|
382
353
|
// @public
|
|
383
354
|
export interface Operation {
|
|
384
355
|
readonly display?: OperationDisplay;
|
|
@@ -432,7 +403,8 @@ export interface PrivateIPAddress {
|
|
|
432
403
|
}
|
|
433
404
|
|
|
434
405
|
// @public
|
|
435
|
-
export
|
|
406
|
+
export interface ProxyResource extends Resource {
|
|
407
|
+
}
|
|
436
408
|
|
|
437
409
|
// @public
|
|
438
410
|
export type ReadableSecondary = string;
|
|
@@ -457,7 +429,7 @@ export type Role = string;
|
|
|
457
429
|
// @public
|
|
458
430
|
export type ScaleType = string;
|
|
459
431
|
|
|
460
|
-
// @public
|
|
432
|
+
// @public
|
|
461
433
|
export interface Schedule {
|
|
462
434
|
dayOfWeek?: AssessmentDayOfWeek;
|
|
463
435
|
enable?: boolean;
|
|
@@ -489,6 +461,8 @@ export type SqlImageSku = string;
|
|
|
489
461
|
// @public
|
|
490
462
|
export interface SQLInstanceSettings {
|
|
491
463
|
collation?: string;
|
|
464
|
+
isIfiEnabled?: boolean;
|
|
465
|
+
isLpimEnabled?: boolean;
|
|
492
466
|
isOptimizeForAdHocWorkloadsEnabled?: boolean;
|
|
493
467
|
maxDop?: number;
|
|
494
468
|
maxServerMemoryMB?: number;
|
|
@@ -514,7 +488,7 @@ export interface SqlStorageUpdateSettings {
|
|
|
514
488
|
startingDeviceId?: number;
|
|
515
489
|
}
|
|
516
490
|
|
|
517
|
-
// @public
|
|
491
|
+
// @public
|
|
518
492
|
export interface SQLTempDbSettings {
|
|
519
493
|
dataFileCount?: number;
|
|
520
494
|
dataFileSize?: number;
|
|
@@ -523,39 +497,44 @@ export interface SQLTempDbSettings {
|
|
|
523
497
|
logFileSize?: number;
|
|
524
498
|
logGrowth?: number;
|
|
525
499
|
luns?: number[];
|
|
500
|
+
persistFolder?: boolean;
|
|
501
|
+
persistFolderPath?: string;
|
|
526
502
|
}
|
|
527
503
|
|
|
528
504
|
// @public
|
|
529
|
-
export
|
|
505
|
+
export interface SqlVirtualMachine extends TrackedResource {
|
|
506
|
+
assessmentSettings?: AssessmentSettings;
|
|
507
|
+
autoBackupSettings?: AutoBackupSettings;
|
|
508
|
+
autoPatchingSettings?: AutoPatchingSettings;
|
|
509
|
+
enableAutomaticUpgrade?: boolean;
|
|
530
510
|
identity?: ResourceIdentity;
|
|
531
|
-
|
|
532
|
-
|
|
511
|
+
keyVaultCredentialSettings?: KeyVaultCredentialSettings;
|
|
512
|
+
leastPrivilegeMode?: LeastPrivilegeMode;
|
|
533
513
|
readonly provisioningState?: string;
|
|
514
|
+
serverConfigurationsManagementSettings?: ServerConfigurationsManagementSettings;
|
|
534
515
|
sqlImageOffer?: string;
|
|
535
|
-
sqlServerLicenseType?: SqlServerLicenseType;
|
|
536
|
-
sqlManagement?: SqlManagementMode;
|
|
537
516
|
sqlImageSku?: SqlImageSku;
|
|
517
|
+
sqlManagement?: SqlManagementMode;
|
|
518
|
+
sqlServerLicenseType?: SqlServerLicenseType;
|
|
538
519
|
sqlVirtualMachineGroupResourceId?: string;
|
|
539
|
-
wsfcDomainCredentials?: WsfcDomainCredentials;
|
|
540
|
-
autoPatchingSettings?: AutoPatchingSettings;
|
|
541
|
-
autoBackupSettings?: AutoBackupSettings;
|
|
542
|
-
keyVaultCredentialSettings?: KeyVaultCredentialSettings;
|
|
543
|
-
serverConfigurationsManagementSettings?: ServerConfigurationsManagementSettings;
|
|
544
520
|
storageConfigurationSettings?: StorageConfigurationSettings;
|
|
545
|
-
|
|
546
|
-
|
|
521
|
+
readonly systemData?: SystemData;
|
|
522
|
+
virtualMachineResourceId?: string;
|
|
523
|
+
wsfcDomainCredentials?: WsfcDomainCredentials;
|
|
524
|
+
wsfcStaticIp?: string;
|
|
525
|
+
}
|
|
547
526
|
|
|
548
527
|
// @public
|
|
549
|
-
export
|
|
550
|
-
readonly
|
|
528
|
+
export interface SqlVirtualMachineGroup extends TrackedResource {
|
|
529
|
+
readonly clusterConfiguration?: ClusterConfiguration;
|
|
530
|
+
readonly clusterManagerType?: ClusterManagerType;
|
|
551
531
|
readonly provisioningState?: string;
|
|
532
|
+
readonly scaleType?: ScaleType;
|
|
552
533
|
sqlImageOffer?: string;
|
|
553
534
|
sqlImageSku?: SqlVmGroupImageSku;
|
|
554
|
-
readonly
|
|
555
|
-
readonly clusterManagerType?: ClusterManagerType;
|
|
556
|
-
readonly clusterConfiguration?: ClusterConfiguration;
|
|
535
|
+
readonly systemData?: SystemData;
|
|
557
536
|
wsfcDomainProfile?: WsfcDomainProfile;
|
|
558
|
-
}
|
|
537
|
+
}
|
|
559
538
|
|
|
560
539
|
// @public
|
|
561
540
|
export interface SqlVirtualMachineGroupListResult {
|
|
@@ -820,12 +799,12 @@ export interface SystemData {
|
|
|
820
799
|
}
|
|
821
800
|
|
|
822
801
|
// @public
|
|
823
|
-
export
|
|
802
|
+
export interface TrackedResource extends Resource {
|
|
824
803
|
location: string;
|
|
825
804
|
tags?: {
|
|
826
805
|
[propertyName: string]: string;
|
|
827
806
|
};
|
|
828
|
-
}
|
|
807
|
+
}
|
|
829
808
|
|
|
830
809
|
// @public
|
|
831
810
|
export interface WsfcDomainCredentials {
|
|
@@ -838,6 +817,7 @@ export interface WsfcDomainCredentials {
|
|
|
838
817
|
export interface WsfcDomainProfile {
|
|
839
818
|
clusterBootstrapAccount?: string;
|
|
840
819
|
clusterOperatorAccount?: string;
|
|
820
|
+
clusterSubnetType?: ClusterSubnetType;
|
|
841
821
|
domainFqdn?: string;
|
|
842
822
|
fileShareWitnessPath?: string;
|
|
843
823
|
ouPath?: string;
|
package/src/index.ts
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/// <reference lib="esnext.asynciterable" />
|
|
10
|
+
export { getContinuationToken } from "./pagingHelper";
|
|
10
11
|
export * from "./models";
|
|
11
12
|
export { SqlVirtualMachineManagementClient } from "./sqlVirtualMachineManagementClient";
|
|
12
13
|
export * from "./operationsInterfaces";
|