@azure/arm-sqlvirtualmachine 4.1.1 → 5.0.0-beta.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 +14 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +69 -85
- package/dist/index.js +2827 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +783 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +103 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +31 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +320 -368
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +18 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +143 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/availabilityGroupListeners.d.ts +89 -0
- package/dist-esm/src/operations/availabilityGroupListeners.d.ts.map +1 -0
- package/dist-esm/src/operations/availabilityGroupListeners.js +338 -0
- package/dist-esm/src/operations/availabilityGroupListeners.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +116 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts +117 -0
- package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js +487 -0
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js.map +1 -0
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts +144 -0
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operations/sqlVirtualMachines.js +598 -0
- package/dist-esm/src/operations/sqlVirtualMachines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.js +9 -0
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts +79 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts +87 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.js +9 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.js.map +1 -0
- package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts +21 -0
- package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts.map +1 -0
- package/dist-esm/src/sqlVirtualMachineManagementClient.js +54 -0
- package/dist-esm/src/sqlVirtualMachineManagementClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-sqlvirtualmachine.api.md +678 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +629 -1065
- package/src/models/mappers.ts +328 -376
- package/src/models/parameters.ts +106 -41
- package/src/operations/availabilityGroupListeners.ts +366 -222
- package/src/operations/index.ts +3 -5
- package/src/operations/operations.ts +89 -79
- package/src/operations/sqlVirtualMachineGroups.ts +517 -344
- package/src/operations/sqlVirtualMachines.ts +641 -424
- package/src/operationsInterfaces/availabilityGroupListeners.ts +115 -0
- package/src/operationsInterfaces/index.ts +12 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/sqlVirtualMachineGroups.ts +147 -0
- package/src/operationsInterfaces/sqlVirtualMachines.ts +160 -0
- package/src/sqlVirtualMachineManagementClient.ts +78 -41
- package/tsconfig.json +3 -3
- package/types/arm-sqlvirtualmachine.d.ts +1141 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-sqlvirtualmachine.js +0 -2479
- package/dist/arm-sqlvirtualmachine.js.map +0 -1
- package/dist/arm-sqlvirtualmachine.min.js +0 -1
- package/dist/arm-sqlvirtualmachine.min.js.map +0 -1
- package/esm/models/availabilityGroupListenersMappers.d.ts +0 -2
- package/esm/models/availabilityGroupListenersMappers.d.ts.map +0 -1
- package/esm/models/availabilityGroupListenersMappers.js +0 -9
- package/esm/models/availabilityGroupListenersMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1241
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -33
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -11
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -103
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/sqlVirtualMachineGroupsMappers.d.ts +0 -2
- package/esm/models/sqlVirtualMachineGroupsMappers.d.ts.map +0 -1
- package/esm/models/sqlVirtualMachineGroupsMappers.js +0 -9
- package/esm/models/sqlVirtualMachineGroupsMappers.js.map +0 -1
- package/esm/models/sqlVirtualMachinesMappers.d.ts +0 -2
- package/esm/models/sqlVirtualMachinesMappers.d.ts.map +0 -1
- package/esm/models/sqlVirtualMachinesMappers.js +0 -9
- package/esm/models/sqlVirtualMachinesMappers.js.map +0 -1
- package/esm/operations/availabilityGroupListeners.d.ts +0 -125
- package/esm/operations/availabilityGroupListeners.d.ts.map +0 -1
- package/esm/operations/availabilityGroupListeners.js +0 -238
- package/esm/operations/availabilityGroupListeners.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/sqlVirtualMachineGroups.d.ts +0 -168
- package/esm/operations/sqlVirtualMachineGroups.d.ts.map +0 -1
- package/esm/operations/sqlVirtualMachineGroups.js +0 -337
- package/esm/operations/sqlVirtualMachineGroups.js.map +0 -1
- package/esm/operations/sqlVirtualMachines.d.ts +0 -210
- package/esm/operations/sqlVirtualMachines.d.ts.map +0 -1
- package/esm/operations/sqlVirtualMachines.js +0 -395
- package/esm/operations/sqlVirtualMachines.js.map +0 -1
- package/esm/sqlVirtualMachineManagementClient.d.ts +0 -27
- package/esm/sqlVirtualMachineManagementClient.d.ts.map +0 -1
- package/esm/sqlVirtualMachineManagementClient.js +0 -41
- package/esm/sqlVirtualMachineManagementClient.js.map +0 -1
- package/esm/sqlVirtualMachineManagementClientContext.d.ts +0 -22
- package/esm/sqlVirtualMachineManagementClientContext.d.ts.map +0 -1
- package/esm/sqlVirtualMachineManagementClientContext.js +0 -61
- package/esm/sqlVirtualMachineManagementClientContext.js.map +0 -1
- package/src/models/availabilityGroupListenersMappers.ts +0 -34
- package/src/models/operationsMappers.ts +0 -14
- package/src/models/sqlVirtualMachineGroupsMappers.ts +0 -35
- package/src/models/sqlVirtualMachinesMappers.ts +0 -35
- package/src/sqlVirtualMachineManagementClientContext.ts +0 -68
|
@@ -0,0 +1,487 @@
|
|
|
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
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
import { LroEngine } from "@azure/core-lro";
|
|
13
|
+
import { LroImpl } from "../lroImpl";
|
|
14
|
+
/// <reference lib="esnext.asynciterable" />
|
|
15
|
+
/** Class containing SqlVirtualMachineGroups operations. */
|
|
16
|
+
export class SqlVirtualMachineGroupsImpl {
|
|
17
|
+
/**
|
|
18
|
+
* Initialize a new instance of the class SqlVirtualMachineGroups class.
|
|
19
|
+
* @param client Reference to the service client
|
|
20
|
+
*/
|
|
21
|
+
constructor(client) {
|
|
22
|
+
this.client = client;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Gets all SQL virtual machine groups in a resource group.
|
|
26
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
27
|
+
* value from the Azure Resource Manager API or the portal.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
31
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
32
|
+
return {
|
|
33
|
+
next() {
|
|
34
|
+
return iter.next();
|
|
35
|
+
},
|
|
36
|
+
[Symbol.asyncIterator]() {
|
|
37
|
+
return this;
|
|
38
|
+
},
|
|
39
|
+
byPage: () => {
|
|
40
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
45
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
46
|
+
let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
47
|
+
yield yield __await(result.value || []);
|
|
48
|
+
let continuationToken = result.nextLink;
|
|
49
|
+
while (continuationToken) {
|
|
50
|
+
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
51
|
+
continuationToken = result.nextLink;
|
|
52
|
+
yield yield __await(result.value || []);
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
57
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
58
|
+
var e_1, _a;
|
|
59
|
+
try {
|
|
60
|
+
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
61
|
+
const page = _c.value;
|
|
62
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
66
|
+
finally {
|
|
67
|
+
try {
|
|
68
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
69
|
+
}
|
|
70
|
+
finally { if (e_1) throw e_1.error; }
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Gets all SQL virtual machine groups in a subscription.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
list(options) {
|
|
79
|
+
const iter = this.listPagingAll(options);
|
|
80
|
+
return {
|
|
81
|
+
next() {
|
|
82
|
+
return iter.next();
|
|
83
|
+
},
|
|
84
|
+
[Symbol.asyncIterator]() {
|
|
85
|
+
return this;
|
|
86
|
+
},
|
|
87
|
+
byPage: () => {
|
|
88
|
+
return this.listPagingPage(options);
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
listPagingPage(options) {
|
|
93
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
94
|
+
let result = yield __await(this._list(options));
|
|
95
|
+
yield yield __await(result.value || []);
|
|
96
|
+
let continuationToken = result.nextLink;
|
|
97
|
+
while (continuationToken) {
|
|
98
|
+
result = yield __await(this._listNext(continuationToken, options));
|
|
99
|
+
continuationToken = result.nextLink;
|
|
100
|
+
yield yield __await(result.value || []);
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
listPagingAll(options) {
|
|
105
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
106
|
+
var e_2, _a;
|
|
107
|
+
try {
|
|
108
|
+
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
109
|
+
const page = _c.value;
|
|
110
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
114
|
+
finally {
|
|
115
|
+
try {
|
|
116
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
117
|
+
}
|
|
118
|
+
finally { if (e_2) throw e_2.error; }
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Gets a SQL virtual machine group.
|
|
124
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
125
|
+
* value from the Azure Resource Manager API or the portal.
|
|
126
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
127
|
+
* @param options The options parameters.
|
|
128
|
+
*/
|
|
129
|
+
get(resourceGroupName, sqlVirtualMachineGroupName, options) {
|
|
130
|
+
return this.client.sendOperationRequest({ resourceGroupName, sqlVirtualMachineGroupName, options }, getOperationSpec);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Creates or updates a SQL virtual machine group.
|
|
134
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
135
|
+
* value from the Azure Resource Manager API or the portal.
|
|
136
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
137
|
+
* @param parameters The SQL virtual machine group.
|
|
138
|
+
* @param options The options parameters.
|
|
139
|
+
*/
|
|
140
|
+
beginCreateOrUpdate(resourceGroupName, sqlVirtualMachineGroupName, parameters, options) {
|
|
141
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
142
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
143
|
+
return this.client.sendOperationRequest(args, spec);
|
|
144
|
+
});
|
|
145
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
146
|
+
var _a;
|
|
147
|
+
let currentRawResponse = undefined;
|
|
148
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
149
|
+
const callback = (rawResponse, flatResponse) => {
|
|
150
|
+
currentRawResponse = rawResponse;
|
|
151
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
152
|
+
};
|
|
153
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
154
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
155
|
+
return {
|
|
156
|
+
flatResponse,
|
|
157
|
+
rawResponse: {
|
|
158
|
+
statusCode: currentRawResponse.status,
|
|
159
|
+
body: currentRawResponse.parsedBody,
|
|
160
|
+
headers: currentRawResponse.headers.toJSON()
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
});
|
|
164
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, sqlVirtualMachineGroupName, parameters, options }, createOrUpdateOperationSpec);
|
|
165
|
+
return new LroEngine(lro, {
|
|
166
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
167
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
168
|
+
});
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Creates or updates a SQL virtual machine group.
|
|
173
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
174
|
+
* value from the Azure Resource Manager API or the portal.
|
|
175
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
176
|
+
* @param parameters The SQL virtual machine group.
|
|
177
|
+
* @param options The options parameters.
|
|
178
|
+
*/
|
|
179
|
+
beginCreateOrUpdateAndWait(resourceGroupName, sqlVirtualMachineGroupName, parameters, options) {
|
|
180
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
181
|
+
const poller = yield this.beginCreateOrUpdate(resourceGroupName, sqlVirtualMachineGroupName, parameters, options);
|
|
182
|
+
return poller.pollUntilDone();
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Deletes a SQL virtual machine group.
|
|
187
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
188
|
+
* value from the Azure Resource Manager API or the portal.
|
|
189
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
190
|
+
* @param options The options parameters.
|
|
191
|
+
*/
|
|
192
|
+
beginDelete(resourceGroupName, sqlVirtualMachineGroupName, options) {
|
|
193
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
194
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
195
|
+
return this.client.sendOperationRequest(args, spec);
|
|
196
|
+
});
|
|
197
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
198
|
+
var _a;
|
|
199
|
+
let currentRawResponse = undefined;
|
|
200
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
201
|
+
const callback = (rawResponse, flatResponse) => {
|
|
202
|
+
currentRawResponse = rawResponse;
|
|
203
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
204
|
+
};
|
|
205
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
206
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
207
|
+
return {
|
|
208
|
+
flatResponse,
|
|
209
|
+
rawResponse: {
|
|
210
|
+
statusCode: currentRawResponse.status,
|
|
211
|
+
body: currentRawResponse.parsedBody,
|
|
212
|
+
headers: currentRawResponse.headers.toJSON()
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
});
|
|
216
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, sqlVirtualMachineGroupName, options }, deleteOperationSpec);
|
|
217
|
+
return new LroEngine(lro, {
|
|
218
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
219
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
220
|
+
});
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* Deletes a SQL virtual machine group.
|
|
225
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
226
|
+
* value from the Azure Resource Manager API or the portal.
|
|
227
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
228
|
+
* @param options The options parameters.
|
|
229
|
+
*/
|
|
230
|
+
beginDeleteAndWait(resourceGroupName, sqlVirtualMachineGroupName, options) {
|
|
231
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
232
|
+
const poller = yield this.beginDelete(resourceGroupName, sqlVirtualMachineGroupName, options);
|
|
233
|
+
return poller.pollUntilDone();
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Updates SQL virtual machine group tags.
|
|
238
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
239
|
+
* value from the Azure Resource Manager API or the portal.
|
|
240
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
241
|
+
* @param parameters The SQL virtual machine group.
|
|
242
|
+
* @param options The options parameters.
|
|
243
|
+
*/
|
|
244
|
+
beginUpdate(resourceGroupName, sqlVirtualMachineGroupName, parameters, options) {
|
|
245
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
246
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
247
|
+
return this.client.sendOperationRequest(args, spec);
|
|
248
|
+
});
|
|
249
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
250
|
+
var _a;
|
|
251
|
+
let currentRawResponse = undefined;
|
|
252
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
253
|
+
const callback = (rawResponse, flatResponse) => {
|
|
254
|
+
currentRawResponse = rawResponse;
|
|
255
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
256
|
+
};
|
|
257
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
258
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
259
|
+
return {
|
|
260
|
+
flatResponse,
|
|
261
|
+
rawResponse: {
|
|
262
|
+
statusCode: currentRawResponse.status,
|
|
263
|
+
body: currentRawResponse.parsedBody,
|
|
264
|
+
headers: currentRawResponse.headers.toJSON()
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
});
|
|
268
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, sqlVirtualMachineGroupName, parameters, options }, updateOperationSpec);
|
|
269
|
+
return new LroEngine(lro, {
|
|
270
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
271
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
272
|
+
});
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* Updates SQL virtual machine group tags.
|
|
277
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
278
|
+
* value from the Azure Resource Manager API or the portal.
|
|
279
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
280
|
+
* @param parameters The SQL virtual machine group.
|
|
281
|
+
* @param options The options parameters.
|
|
282
|
+
*/
|
|
283
|
+
beginUpdateAndWait(resourceGroupName, sqlVirtualMachineGroupName, parameters, options) {
|
|
284
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
285
|
+
const poller = yield this.beginUpdate(resourceGroupName, sqlVirtualMachineGroupName, parameters, options);
|
|
286
|
+
return poller.pollUntilDone();
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Gets all SQL virtual machine groups in a resource group.
|
|
291
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
292
|
+
* value from the Azure Resource Manager API or the portal.
|
|
293
|
+
* @param options The options parameters.
|
|
294
|
+
*/
|
|
295
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
296
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* Gets all SQL virtual machine groups in a subscription.
|
|
300
|
+
* @param options The options parameters.
|
|
301
|
+
*/
|
|
302
|
+
_list(options) {
|
|
303
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* ListByResourceGroupNext
|
|
307
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
308
|
+
* value from the Azure Resource Manager API or the portal.
|
|
309
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
310
|
+
* @param options The options parameters.
|
|
311
|
+
*/
|
|
312
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
313
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* ListNext
|
|
317
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
318
|
+
* @param options The options parameters.
|
|
319
|
+
*/
|
|
320
|
+
_listNext(nextLink, options) {
|
|
321
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
// Operation Specifications
|
|
325
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
326
|
+
const getOperationSpec = {
|
|
327
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}",
|
|
328
|
+
httpMethod: "GET",
|
|
329
|
+
responses: {
|
|
330
|
+
200: {
|
|
331
|
+
bodyMapper: Mappers.SqlVirtualMachineGroup
|
|
332
|
+
},
|
|
333
|
+
default: {}
|
|
334
|
+
},
|
|
335
|
+
queryParameters: [Parameters.apiVersion],
|
|
336
|
+
urlParameters: [
|
|
337
|
+
Parameters.$host,
|
|
338
|
+
Parameters.resourceGroupName,
|
|
339
|
+
Parameters.sqlVirtualMachineGroupName,
|
|
340
|
+
Parameters.subscriptionId
|
|
341
|
+
],
|
|
342
|
+
headerParameters: [Parameters.accept],
|
|
343
|
+
serializer
|
|
344
|
+
};
|
|
345
|
+
const createOrUpdateOperationSpec = {
|
|
346
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}",
|
|
347
|
+
httpMethod: "PUT",
|
|
348
|
+
responses: {
|
|
349
|
+
200: {
|
|
350
|
+
bodyMapper: Mappers.SqlVirtualMachineGroup
|
|
351
|
+
},
|
|
352
|
+
201: {
|
|
353
|
+
bodyMapper: Mappers.SqlVirtualMachineGroup
|
|
354
|
+
},
|
|
355
|
+
202: {
|
|
356
|
+
bodyMapper: Mappers.SqlVirtualMachineGroup
|
|
357
|
+
},
|
|
358
|
+
204: {
|
|
359
|
+
bodyMapper: Mappers.SqlVirtualMachineGroup
|
|
360
|
+
},
|
|
361
|
+
default: {}
|
|
362
|
+
},
|
|
363
|
+
requestBody: Parameters.parameters1,
|
|
364
|
+
queryParameters: [Parameters.apiVersion],
|
|
365
|
+
urlParameters: [
|
|
366
|
+
Parameters.$host,
|
|
367
|
+
Parameters.resourceGroupName,
|
|
368
|
+
Parameters.sqlVirtualMachineGroupName,
|
|
369
|
+
Parameters.subscriptionId
|
|
370
|
+
],
|
|
371
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
372
|
+
mediaType: "json",
|
|
373
|
+
serializer
|
|
374
|
+
};
|
|
375
|
+
const deleteOperationSpec = {
|
|
376
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}",
|
|
377
|
+
httpMethod: "DELETE",
|
|
378
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
|
379
|
+
queryParameters: [Parameters.apiVersion],
|
|
380
|
+
urlParameters: [
|
|
381
|
+
Parameters.$host,
|
|
382
|
+
Parameters.resourceGroupName,
|
|
383
|
+
Parameters.sqlVirtualMachineGroupName,
|
|
384
|
+
Parameters.subscriptionId
|
|
385
|
+
],
|
|
386
|
+
serializer
|
|
387
|
+
};
|
|
388
|
+
const updateOperationSpec = {
|
|
389
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}",
|
|
390
|
+
httpMethod: "PATCH",
|
|
391
|
+
responses: {
|
|
392
|
+
200: {
|
|
393
|
+
bodyMapper: Mappers.SqlVirtualMachineGroup
|
|
394
|
+
},
|
|
395
|
+
201: {
|
|
396
|
+
bodyMapper: Mappers.SqlVirtualMachineGroup
|
|
397
|
+
},
|
|
398
|
+
202: {
|
|
399
|
+
bodyMapper: Mappers.SqlVirtualMachineGroup
|
|
400
|
+
},
|
|
401
|
+
204: {
|
|
402
|
+
bodyMapper: Mappers.SqlVirtualMachineGroup
|
|
403
|
+
},
|
|
404
|
+
default: {}
|
|
405
|
+
},
|
|
406
|
+
requestBody: Parameters.parameters2,
|
|
407
|
+
queryParameters: [Parameters.apiVersion],
|
|
408
|
+
urlParameters: [
|
|
409
|
+
Parameters.$host,
|
|
410
|
+
Parameters.resourceGroupName,
|
|
411
|
+
Parameters.sqlVirtualMachineGroupName,
|
|
412
|
+
Parameters.subscriptionId
|
|
413
|
+
],
|
|
414
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
415
|
+
mediaType: "json",
|
|
416
|
+
serializer
|
|
417
|
+
};
|
|
418
|
+
const listByResourceGroupOperationSpec = {
|
|
419
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups",
|
|
420
|
+
httpMethod: "GET",
|
|
421
|
+
responses: {
|
|
422
|
+
200: {
|
|
423
|
+
bodyMapper: Mappers.SqlVirtualMachineGroupListResult
|
|
424
|
+
},
|
|
425
|
+
default: {}
|
|
426
|
+
},
|
|
427
|
+
queryParameters: [Parameters.apiVersion],
|
|
428
|
+
urlParameters: [
|
|
429
|
+
Parameters.$host,
|
|
430
|
+
Parameters.resourceGroupName,
|
|
431
|
+
Parameters.subscriptionId
|
|
432
|
+
],
|
|
433
|
+
headerParameters: [Parameters.accept],
|
|
434
|
+
serializer
|
|
435
|
+
};
|
|
436
|
+
const listOperationSpec = {
|
|
437
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups",
|
|
438
|
+
httpMethod: "GET",
|
|
439
|
+
responses: {
|
|
440
|
+
200: {
|
|
441
|
+
bodyMapper: Mappers.SqlVirtualMachineGroupListResult
|
|
442
|
+
},
|
|
443
|
+
default: {}
|
|
444
|
+
},
|
|
445
|
+
queryParameters: [Parameters.apiVersion],
|
|
446
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
447
|
+
headerParameters: [Parameters.accept],
|
|
448
|
+
serializer
|
|
449
|
+
};
|
|
450
|
+
const listByResourceGroupNextOperationSpec = {
|
|
451
|
+
path: "{nextLink}",
|
|
452
|
+
httpMethod: "GET",
|
|
453
|
+
responses: {
|
|
454
|
+
200: {
|
|
455
|
+
bodyMapper: Mappers.SqlVirtualMachineGroupListResult
|
|
456
|
+
},
|
|
457
|
+
default: {}
|
|
458
|
+
},
|
|
459
|
+
queryParameters: [Parameters.apiVersion],
|
|
460
|
+
urlParameters: [
|
|
461
|
+
Parameters.$host,
|
|
462
|
+
Parameters.resourceGroupName,
|
|
463
|
+
Parameters.subscriptionId,
|
|
464
|
+
Parameters.nextLink
|
|
465
|
+
],
|
|
466
|
+
headerParameters: [Parameters.accept],
|
|
467
|
+
serializer
|
|
468
|
+
};
|
|
469
|
+
const listNextOperationSpec = {
|
|
470
|
+
path: "{nextLink}",
|
|
471
|
+
httpMethod: "GET",
|
|
472
|
+
responses: {
|
|
473
|
+
200: {
|
|
474
|
+
bodyMapper: Mappers.SqlVirtualMachineGroupListResult
|
|
475
|
+
},
|
|
476
|
+
default: {}
|
|
477
|
+
},
|
|
478
|
+
queryParameters: [Parameters.apiVersion],
|
|
479
|
+
urlParameters: [
|
|
480
|
+
Parameters.$host,
|
|
481
|
+
Parameters.subscriptionId,
|
|
482
|
+
Parameters.nextLink
|
|
483
|
+
],
|
|
484
|
+
headerParameters: [Parameters.accept],
|
|
485
|
+
serializer
|
|
486
|
+
};
|
|
487
|
+
//# sourceMappingURL=sqlVirtualMachineGroups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlVirtualMachineGroups.js","sourceRoot":"","sources":["../../../src/operations/sqlVirtualMachineGroups.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAqBrC,4CAA4C;AAC5C,2DAA2D;AAC3D,MAAM,OAAO,2BAA2B;IAGtC;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,mBAAmB,CAC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,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;QACD,OAAO,EAAE,EAAE;KACZ;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,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,gCAAgC;SACrD;QACD,OAAO,EAAE,EAAE;KACZ;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { SqlVirtualMachines } from "../operationsInterfaces";
|
|
3
|
+
import { SqlVirtualMachineManagementClient } from "../sqlVirtualMachineManagementClient";
|
|
4
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
+
import { SqlVirtualMachine, SqlVirtualMachinesListBySqlVmGroupOptionalParams, SqlVirtualMachinesListOptionalParams, SqlVirtualMachinesListByResourceGroupOptionalParams, SqlVirtualMachinesGetOptionalParams, SqlVirtualMachinesGetResponse, SqlVirtualMachinesCreateOrUpdateOptionalParams, SqlVirtualMachinesCreateOrUpdateResponse, SqlVirtualMachinesDeleteOptionalParams, SqlVirtualMachineUpdate, SqlVirtualMachinesUpdateOptionalParams, SqlVirtualMachinesUpdateResponse } from "../models";
|
|
6
|
+
/** Class containing SqlVirtualMachines operations. */
|
|
7
|
+
export declare class SqlVirtualMachinesImpl implements SqlVirtualMachines {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class SqlVirtualMachines class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: SqlVirtualMachineManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* Gets the list of sql virtual machines in a SQL virtual machine group.
|
|
16
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
17
|
+
* value from the Azure Resource Manager API or the portal.
|
|
18
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
listBySqlVmGroup(resourceGroupName: string, sqlVirtualMachineGroupName: string, options?: SqlVirtualMachinesListBySqlVmGroupOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachine>;
|
|
22
|
+
private listBySqlVmGroupPagingPage;
|
|
23
|
+
private listBySqlVmGroupPagingAll;
|
|
24
|
+
/**
|
|
25
|
+
* Gets all SQL virtual machines in a subscription.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
list(options?: SqlVirtualMachinesListOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachine>;
|
|
29
|
+
private listPagingPage;
|
|
30
|
+
private listPagingAll;
|
|
31
|
+
/**
|
|
32
|
+
* Gets all SQL virtual machines in a resource group.
|
|
33
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
34
|
+
* value from the Azure Resource Manager API or the portal.
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
listByResourceGroup(resourceGroupName: string, options?: SqlVirtualMachinesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachine>;
|
|
38
|
+
private listByResourceGroupPagingPage;
|
|
39
|
+
private listByResourceGroupPagingAll;
|
|
40
|
+
/**
|
|
41
|
+
* Gets the list of sql virtual machines in a SQL virtual machine group.
|
|
42
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
43
|
+
* value from the Azure Resource Manager API or the portal.
|
|
44
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
private _listBySqlVmGroup;
|
|
48
|
+
/**
|
|
49
|
+
* Gets all SQL virtual machines in a subscription.
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
private _list;
|
|
53
|
+
/**
|
|
54
|
+
* Gets a SQL virtual machine.
|
|
55
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
56
|
+
* value from the Azure Resource Manager API or the portal.
|
|
57
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
get(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesGetOptionalParams): Promise<SqlVirtualMachinesGetResponse>;
|
|
61
|
+
/**
|
|
62
|
+
* Creates or updates a SQL virtual machine.
|
|
63
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
64
|
+
* value from the Azure Resource Manager API or the portal.
|
|
65
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
66
|
+
* @param parameters The SQL virtual machine.
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
beginCreateOrUpdate(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachine, options?: SqlVirtualMachinesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<SqlVirtualMachinesCreateOrUpdateResponse>, SqlVirtualMachinesCreateOrUpdateResponse>>;
|
|
70
|
+
/**
|
|
71
|
+
* Creates or updates a SQL virtual machine.
|
|
72
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
73
|
+
* value from the Azure Resource Manager API or the portal.
|
|
74
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
75
|
+
* @param parameters The SQL virtual machine.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachine, options?: SqlVirtualMachinesCreateOrUpdateOptionalParams): Promise<SqlVirtualMachinesCreateOrUpdateResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* Deletes a SQL virtual machine.
|
|
81
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
82
|
+
* value from the Azure Resource Manager API or the portal.
|
|
83
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
84
|
+
* @param options The options parameters.
|
|
85
|
+
*/
|
|
86
|
+
beginDelete(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
87
|
+
/**
|
|
88
|
+
* Deletes a SQL virtual machine.
|
|
89
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
90
|
+
* value from the Azure Resource Manager API or the portal.
|
|
91
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
92
|
+
* @param options The options parameters.
|
|
93
|
+
*/
|
|
94
|
+
beginDeleteAndWait(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesDeleteOptionalParams): Promise<void>;
|
|
95
|
+
/**
|
|
96
|
+
* Updates a SQL virtual machine.
|
|
97
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
98
|
+
* value from the Azure Resource Manager API or the portal.
|
|
99
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
100
|
+
* @param parameters The SQL virtual machine.
|
|
101
|
+
* @param options The options parameters.
|
|
102
|
+
*/
|
|
103
|
+
beginUpdate(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachineUpdate, options?: SqlVirtualMachinesUpdateOptionalParams): Promise<PollerLike<PollOperationState<SqlVirtualMachinesUpdateResponse>, SqlVirtualMachinesUpdateResponse>>;
|
|
104
|
+
/**
|
|
105
|
+
* Updates a SQL virtual machine.
|
|
106
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
107
|
+
* value from the Azure Resource Manager API or the portal.
|
|
108
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
109
|
+
* @param parameters The SQL virtual machine.
|
|
110
|
+
* @param options The options parameters.
|
|
111
|
+
*/
|
|
112
|
+
beginUpdateAndWait(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachineUpdate, options?: SqlVirtualMachinesUpdateOptionalParams): Promise<SqlVirtualMachinesUpdateResponse>;
|
|
113
|
+
/**
|
|
114
|
+
* Gets all SQL virtual machines in a resource group.
|
|
115
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
116
|
+
* value from the Azure Resource Manager API or the portal.
|
|
117
|
+
* @param options The options parameters.
|
|
118
|
+
*/
|
|
119
|
+
private _listByResourceGroup;
|
|
120
|
+
/**
|
|
121
|
+
* ListBySqlVmGroupNext
|
|
122
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
123
|
+
* value from the Azure Resource Manager API or the portal.
|
|
124
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
125
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySqlVmGroup method.
|
|
126
|
+
* @param options The options parameters.
|
|
127
|
+
*/
|
|
128
|
+
private _listBySqlVmGroupNext;
|
|
129
|
+
/**
|
|
130
|
+
* ListNext
|
|
131
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
132
|
+
* @param options The options parameters.
|
|
133
|
+
*/
|
|
134
|
+
private _listNext;
|
|
135
|
+
/**
|
|
136
|
+
* ListByResourceGroupNext
|
|
137
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
138
|
+
* value from the Azure Resource Manager API or the portal.
|
|
139
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
140
|
+
* @param options The options parameters.
|
|
141
|
+
*/
|
|
142
|
+
private _listByResourceGroupNext;
|
|
143
|
+
}
|
|
144
|
+
//# sourceMappingURL=sqlVirtualMachines.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlVirtualMachines.d.ts","sourceRoot":"","sources":["../../../src/operations/sqlVirtualMachines.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAI7D,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AACzF,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,iBAAiB,EAEjB,gDAAgD,EAEhD,oCAAoC,EAEpC,mDAAmD,EAGnD,mCAAmC,EACnC,6BAA6B,EAC7B,8CAA8C,EAC9C,wCAAwC,EACxC,sCAAsC,EACtC,uBAAuB,EACvB,sCAAsC,EACtC,gCAAgC,EAKjC,MAAM,WAAW,CAAC;AAGnB,sDAAsD;AACtD,qBAAa,sBAAuB,YAAW,kBAAkB;IAC/D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;;OAMG;IACI,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