@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
|
@@ -1,2479 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
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
|
-
(function (global, factory) {
|
|
9
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
|
|
10
|
-
typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
|
|
11
|
-
(global = global || self, factory((global.Azure = global.Azure || {}, global.Azure.ArmSqlvirtualmachine = {}), global.msRestAzure, global.msRest));
|
|
12
|
-
}(this, (function (exports, msRestAzure, msRest) { 'use strict';
|
|
13
|
-
|
|
14
|
-
/*! *****************************************************************************
|
|
15
|
-
Copyright (c) Microsoft Corporation.
|
|
16
|
-
|
|
17
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
18
|
-
purpose with or without fee is hereby granted.
|
|
19
|
-
|
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
21
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
22
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
23
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
24
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
25
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
26
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
27
|
-
***************************************************************************** */
|
|
28
|
-
/* global Reflect, Promise */
|
|
29
|
-
|
|
30
|
-
var extendStatics = function(d, b) {
|
|
31
|
-
extendStatics = Object.setPrototypeOf ||
|
|
32
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
33
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
34
|
-
return extendStatics(d, b);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
function __extends(d, b) {
|
|
38
|
-
extendStatics(d, b);
|
|
39
|
-
function __() { this.constructor = d; }
|
|
40
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
var __assign = function() {
|
|
44
|
-
__assign = Object.assign || function __assign(t) {
|
|
45
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
46
|
-
s = arguments[i];
|
|
47
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
48
|
-
}
|
|
49
|
-
return t;
|
|
50
|
-
};
|
|
51
|
-
return __assign.apply(this, arguments);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
/*
|
|
55
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
56
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
57
|
-
*
|
|
58
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
59
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
60
|
-
*/
|
|
61
|
-
|
|
62
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
63
|
-
__proto__: null
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
/*
|
|
67
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
68
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
69
|
-
*
|
|
70
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
71
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
72
|
-
*/
|
|
73
|
-
var CloudError = msRestAzure.CloudErrorMapper;
|
|
74
|
-
var BaseResource = msRestAzure.BaseResourceMapper;
|
|
75
|
-
var PrivateIPAddress = {
|
|
76
|
-
serializedName: "PrivateIPAddress",
|
|
77
|
-
type: {
|
|
78
|
-
name: "Composite",
|
|
79
|
-
className: "PrivateIPAddress",
|
|
80
|
-
modelProperties: {
|
|
81
|
-
ipAddress: {
|
|
82
|
-
serializedName: "ipAddress",
|
|
83
|
-
type: {
|
|
84
|
-
name: "String"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
subnetResourceId: {
|
|
88
|
-
serializedName: "subnetResourceId",
|
|
89
|
-
type: {
|
|
90
|
-
name: "String"
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
var LoadBalancerConfiguration = {
|
|
97
|
-
serializedName: "LoadBalancerConfiguration",
|
|
98
|
-
type: {
|
|
99
|
-
name: "Composite",
|
|
100
|
-
className: "LoadBalancerConfiguration",
|
|
101
|
-
modelProperties: {
|
|
102
|
-
privateIpAddress: {
|
|
103
|
-
serializedName: "privateIpAddress",
|
|
104
|
-
type: {
|
|
105
|
-
name: "Composite",
|
|
106
|
-
className: "PrivateIPAddress"
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
publicIpAddressResourceId: {
|
|
110
|
-
serializedName: "publicIpAddressResourceId",
|
|
111
|
-
type: {
|
|
112
|
-
name: "String"
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
loadBalancerResourceId: {
|
|
116
|
-
serializedName: "loadBalancerResourceId",
|
|
117
|
-
type: {
|
|
118
|
-
name: "String"
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
probePort: {
|
|
122
|
-
serializedName: "probePort",
|
|
123
|
-
type: {
|
|
124
|
-
name: "Number"
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
sqlVirtualMachineInstances: {
|
|
128
|
-
serializedName: "sqlVirtualMachineInstances",
|
|
129
|
-
type: {
|
|
130
|
-
name: "Sequence",
|
|
131
|
-
element: {
|
|
132
|
-
type: {
|
|
133
|
-
name: "String"
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
var Resource = {
|
|
142
|
-
serializedName: "Resource",
|
|
143
|
-
type: {
|
|
144
|
-
name: "Composite",
|
|
145
|
-
className: "Resource",
|
|
146
|
-
modelProperties: {
|
|
147
|
-
id: {
|
|
148
|
-
readOnly: true,
|
|
149
|
-
serializedName: "id",
|
|
150
|
-
type: {
|
|
151
|
-
name: "String"
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
name: {
|
|
155
|
-
readOnly: true,
|
|
156
|
-
serializedName: "name",
|
|
157
|
-
type: {
|
|
158
|
-
name: "String"
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
type: {
|
|
162
|
-
readOnly: true,
|
|
163
|
-
serializedName: "type",
|
|
164
|
-
type: {
|
|
165
|
-
name: "String"
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
var ProxyResource = {
|
|
172
|
-
serializedName: "ProxyResource",
|
|
173
|
-
type: {
|
|
174
|
-
name: "Composite",
|
|
175
|
-
className: "ProxyResource",
|
|
176
|
-
modelProperties: __assign({}, Resource.type.modelProperties)
|
|
177
|
-
}
|
|
178
|
-
};
|
|
179
|
-
var AvailabilityGroupListener = {
|
|
180
|
-
serializedName: "AvailabilityGroupListener",
|
|
181
|
-
type: {
|
|
182
|
-
name: "Composite",
|
|
183
|
-
className: "AvailabilityGroupListener",
|
|
184
|
-
modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { provisioningState: {
|
|
185
|
-
readOnly: true,
|
|
186
|
-
serializedName: "properties.provisioningState",
|
|
187
|
-
type: {
|
|
188
|
-
name: "String"
|
|
189
|
-
}
|
|
190
|
-
}, availabilityGroupName: {
|
|
191
|
-
serializedName: "properties.availabilityGroupName",
|
|
192
|
-
type: {
|
|
193
|
-
name: "String"
|
|
194
|
-
}
|
|
195
|
-
}, loadBalancerConfigurations: {
|
|
196
|
-
serializedName: "properties.loadBalancerConfigurations",
|
|
197
|
-
type: {
|
|
198
|
-
name: "Sequence",
|
|
199
|
-
element: {
|
|
200
|
-
type: {
|
|
201
|
-
name: "Composite",
|
|
202
|
-
className: "LoadBalancerConfiguration"
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}, createDefaultAvailabilityGroupIfNotExist: {
|
|
207
|
-
serializedName: "properties.createDefaultAvailabilityGroupIfNotExist",
|
|
208
|
-
type: {
|
|
209
|
-
name: "Boolean"
|
|
210
|
-
}
|
|
211
|
-
}, port: {
|
|
212
|
-
serializedName: "properties.port",
|
|
213
|
-
type: {
|
|
214
|
-
name: "Number"
|
|
215
|
-
}
|
|
216
|
-
} })
|
|
217
|
-
}
|
|
218
|
-
};
|
|
219
|
-
var OperationDisplay = {
|
|
220
|
-
serializedName: "OperationDisplay",
|
|
221
|
-
type: {
|
|
222
|
-
name: "Composite",
|
|
223
|
-
className: "OperationDisplay",
|
|
224
|
-
modelProperties: {
|
|
225
|
-
provider: {
|
|
226
|
-
readOnly: true,
|
|
227
|
-
serializedName: "provider",
|
|
228
|
-
type: {
|
|
229
|
-
name: "String"
|
|
230
|
-
}
|
|
231
|
-
},
|
|
232
|
-
resource: {
|
|
233
|
-
readOnly: true,
|
|
234
|
-
serializedName: "resource",
|
|
235
|
-
type: {
|
|
236
|
-
name: "String"
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
operation: {
|
|
240
|
-
readOnly: true,
|
|
241
|
-
serializedName: "operation",
|
|
242
|
-
type: {
|
|
243
|
-
name: "String"
|
|
244
|
-
}
|
|
245
|
-
},
|
|
246
|
-
description: {
|
|
247
|
-
readOnly: true,
|
|
248
|
-
serializedName: "description",
|
|
249
|
-
type: {
|
|
250
|
-
name: "String"
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
};
|
|
256
|
-
var Operation = {
|
|
257
|
-
serializedName: "Operation",
|
|
258
|
-
type: {
|
|
259
|
-
name: "Composite",
|
|
260
|
-
className: "Operation",
|
|
261
|
-
modelProperties: {
|
|
262
|
-
name: {
|
|
263
|
-
readOnly: true,
|
|
264
|
-
serializedName: "name",
|
|
265
|
-
type: {
|
|
266
|
-
name: "String"
|
|
267
|
-
}
|
|
268
|
-
},
|
|
269
|
-
display: {
|
|
270
|
-
readOnly: true,
|
|
271
|
-
serializedName: "display",
|
|
272
|
-
type: {
|
|
273
|
-
name: "Composite",
|
|
274
|
-
className: "OperationDisplay"
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
origin: {
|
|
278
|
-
readOnly: true,
|
|
279
|
-
serializedName: "origin",
|
|
280
|
-
type: {
|
|
281
|
-
name: "String"
|
|
282
|
-
}
|
|
283
|
-
},
|
|
284
|
-
properties: {
|
|
285
|
-
readOnly: true,
|
|
286
|
-
serializedName: "properties",
|
|
287
|
-
type: {
|
|
288
|
-
name: "Dictionary",
|
|
289
|
-
value: {
|
|
290
|
-
type: {
|
|
291
|
-
name: "Object"
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
};
|
|
299
|
-
var WsfcDomainProfile = {
|
|
300
|
-
serializedName: "WsfcDomainProfile",
|
|
301
|
-
type: {
|
|
302
|
-
name: "Composite",
|
|
303
|
-
className: "WsfcDomainProfile",
|
|
304
|
-
modelProperties: {
|
|
305
|
-
domainFqdn: {
|
|
306
|
-
serializedName: "domainFqdn",
|
|
307
|
-
type: {
|
|
308
|
-
name: "String"
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
ouPath: {
|
|
312
|
-
serializedName: "ouPath",
|
|
313
|
-
type: {
|
|
314
|
-
name: "String"
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
clusterBootstrapAccount: {
|
|
318
|
-
serializedName: "clusterBootstrapAccount",
|
|
319
|
-
type: {
|
|
320
|
-
name: "String"
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
clusterOperatorAccount: {
|
|
324
|
-
serializedName: "clusterOperatorAccount",
|
|
325
|
-
type: {
|
|
326
|
-
name: "String"
|
|
327
|
-
}
|
|
328
|
-
},
|
|
329
|
-
sqlServiceAccount: {
|
|
330
|
-
serializedName: "sqlServiceAccount",
|
|
331
|
-
type: {
|
|
332
|
-
name: "String"
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
fileShareWitnessPath: {
|
|
336
|
-
serializedName: "fileShareWitnessPath",
|
|
337
|
-
type: {
|
|
338
|
-
name: "String"
|
|
339
|
-
}
|
|
340
|
-
},
|
|
341
|
-
storageAccountUrl: {
|
|
342
|
-
serializedName: "storageAccountUrl",
|
|
343
|
-
type: {
|
|
344
|
-
name: "String"
|
|
345
|
-
}
|
|
346
|
-
},
|
|
347
|
-
storageAccountPrimaryKey: {
|
|
348
|
-
serializedName: "storageAccountPrimaryKey",
|
|
349
|
-
type: {
|
|
350
|
-
name: "String"
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
};
|
|
356
|
-
var TrackedResource = {
|
|
357
|
-
serializedName: "TrackedResource",
|
|
358
|
-
type: {
|
|
359
|
-
name: "Composite",
|
|
360
|
-
className: "TrackedResource",
|
|
361
|
-
modelProperties: __assign(__assign({}, Resource.type.modelProperties), { location: {
|
|
362
|
-
required: true,
|
|
363
|
-
serializedName: "location",
|
|
364
|
-
type: {
|
|
365
|
-
name: "String"
|
|
366
|
-
}
|
|
367
|
-
}, tags: {
|
|
368
|
-
serializedName: "tags",
|
|
369
|
-
type: {
|
|
370
|
-
name: "Dictionary",
|
|
371
|
-
value: {
|
|
372
|
-
type: {
|
|
373
|
-
name: "String"
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
} })
|
|
378
|
-
}
|
|
379
|
-
};
|
|
380
|
-
var SqlVirtualMachineGroup = {
|
|
381
|
-
serializedName: "SqlVirtualMachineGroup",
|
|
382
|
-
type: {
|
|
383
|
-
name: "Composite",
|
|
384
|
-
className: "SqlVirtualMachineGroup",
|
|
385
|
-
modelProperties: __assign(__assign({}, TrackedResource.type.modelProperties), { provisioningState: {
|
|
386
|
-
readOnly: true,
|
|
387
|
-
serializedName: "properties.provisioningState",
|
|
388
|
-
type: {
|
|
389
|
-
name: "String"
|
|
390
|
-
}
|
|
391
|
-
}, sqlImageOffer: {
|
|
392
|
-
serializedName: "properties.sqlImageOffer",
|
|
393
|
-
type: {
|
|
394
|
-
name: "String"
|
|
395
|
-
}
|
|
396
|
-
}, sqlImageSku: {
|
|
397
|
-
serializedName: "properties.sqlImageSku",
|
|
398
|
-
type: {
|
|
399
|
-
name: "String"
|
|
400
|
-
}
|
|
401
|
-
}, scaleType: {
|
|
402
|
-
readOnly: true,
|
|
403
|
-
serializedName: "properties.scaleType",
|
|
404
|
-
type: {
|
|
405
|
-
name: "String"
|
|
406
|
-
}
|
|
407
|
-
}, clusterManagerType: {
|
|
408
|
-
readOnly: true,
|
|
409
|
-
serializedName: "properties.clusterManagerType",
|
|
410
|
-
type: {
|
|
411
|
-
name: "String"
|
|
412
|
-
}
|
|
413
|
-
}, clusterConfiguration: {
|
|
414
|
-
readOnly: true,
|
|
415
|
-
serializedName: "properties.clusterConfiguration",
|
|
416
|
-
type: {
|
|
417
|
-
name: "String"
|
|
418
|
-
}
|
|
419
|
-
}, wsfcDomainProfile: {
|
|
420
|
-
serializedName: "properties.wsfcDomainProfile",
|
|
421
|
-
type: {
|
|
422
|
-
name: "Composite",
|
|
423
|
-
className: "WsfcDomainProfile"
|
|
424
|
-
}
|
|
425
|
-
} })
|
|
426
|
-
}
|
|
427
|
-
};
|
|
428
|
-
var SqlVirtualMachineGroupUpdate = {
|
|
429
|
-
serializedName: "SqlVirtualMachineGroupUpdate",
|
|
430
|
-
type: {
|
|
431
|
-
name: "Composite",
|
|
432
|
-
className: "SqlVirtualMachineGroupUpdate",
|
|
433
|
-
modelProperties: {
|
|
434
|
-
tags: {
|
|
435
|
-
serializedName: "tags",
|
|
436
|
-
type: {
|
|
437
|
-
name: "Dictionary",
|
|
438
|
-
value: {
|
|
439
|
-
type: {
|
|
440
|
-
name: "String"
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
};
|
|
448
|
-
var ResourceIdentity = {
|
|
449
|
-
serializedName: "ResourceIdentity",
|
|
450
|
-
type: {
|
|
451
|
-
name: "Composite",
|
|
452
|
-
className: "ResourceIdentity",
|
|
453
|
-
modelProperties: {
|
|
454
|
-
principalId: {
|
|
455
|
-
readOnly: true,
|
|
456
|
-
serializedName: "principalId",
|
|
457
|
-
type: {
|
|
458
|
-
name: "Uuid"
|
|
459
|
-
}
|
|
460
|
-
},
|
|
461
|
-
type: {
|
|
462
|
-
serializedName: "type",
|
|
463
|
-
type: {
|
|
464
|
-
name: "String"
|
|
465
|
-
}
|
|
466
|
-
},
|
|
467
|
-
tenantId: {
|
|
468
|
-
readOnly: true,
|
|
469
|
-
serializedName: "tenantId",
|
|
470
|
-
type: {
|
|
471
|
-
name: "Uuid"
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
};
|
|
477
|
-
var WsfcDomainCredentials = {
|
|
478
|
-
serializedName: "WsfcDomainCredentials",
|
|
479
|
-
type: {
|
|
480
|
-
name: "Composite",
|
|
481
|
-
className: "WsfcDomainCredentials",
|
|
482
|
-
modelProperties: {
|
|
483
|
-
clusterBootstrapAccountPassword: {
|
|
484
|
-
serializedName: "clusterBootstrapAccountPassword",
|
|
485
|
-
type: {
|
|
486
|
-
name: "String"
|
|
487
|
-
}
|
|
488
|
-
},
|
|
489
|
-
clusterOperatorAccountPassword: {
|
|
490
|
-
serializedName: "clusterOperatorAccountPassword",
|
|
491
|
-
type: {
|
|
492
|
-
name: "String"
|
|
493
|
-
}
|
|
494
|
-
},
|
|
495
|
-
sqlServiceAccountPassword: {
|
|
496
|
-
serializedName: "sqlServiceAccountPassword",
|
|
497
|
-
type: {
|
|
498
|
-
name: "String"
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
};
|
|
504
|
-
var AutoPatchingSettings = {
|
|
505
|
-
serializedName: "AutoPatchingSettings",
|
|
506
|
-
type: {
|
|
507
|
-
name: "Composite",
|
|
508
|
-
className: "AutoPatchingSettings",
|
|
509
|
-
modelProperties: {
|
|
510
|
-
enable: {
|
|
511
|
-
serializedName: "enable",
|
|
512
|
-
type: {
|
|
513
|
-
name: "Boolean"
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
dayOfWeek: {
|
|
517
|
-
serializedName: "dayOfWeek",
|
|
518
|
-
type: {
|
|
519
|
-
name: "Enum",
|
|
520
|
-
allowedValues: [
|
|
521
|
-
"Monday",
|
|
522
|
-
"Tuesday",
|
|
523
|
-
"Wednesday",
|
|
524
|
-
"Thursday",
|
|
525
|
-
"Friday",
|
|
526
|
-
"Saturday",
|
|
527
|
-
"Sunday"
|
|
528
|
-
]
|
|
529
|
-
}
|
|
530
|
-
},
|
|
531
|
-
maintenanceWindowStartingHour: {
|
|
532
|
-
serializedName: "maintenanceWindowStartingHour",
|
|
533
|
-
type: {
|
|
534
|
-
name: "Number"
|
|
535
|
-
}
|
|
536
|
-
},
|
|
537
|
-
maintenanceWindowDuration: {
|
|
538
|
-
serializedName: "maintenanceWindowDuration",
|
|
539
|
-
type: {
|
|
540
|
-
name: "Number"
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
};
|
|
546
|
-
var AutoBackupSettings = {
|
|
547
|
-
serializedName: "AutoBackupSettings",
|
|
548
|
-
type: {
|
|
549
|
-
name: "Composite",
|
|
550
|
-
className: "AutoBackupSettings",
|
|
551
|
-
modelProperties: {
|
|
552
|
-
enable: {
|
|
553
|
-
serializedName: "enable",
|
|
554
|
-
type: {
|
|
555
|
-
name: "Boolean"
|
|
556
|
-
}
|
|
557
|
-
},
|
|
558
|
-
enableEncryption: {
|
|
559
|
-
serializedName: "enableEncryption",
|
|
560
|
-
type: {
|
|
561
|
-
name: "Boolean"
|
|
562
|
-
}
|
|
563
|
-
},
|
|
564
|
-
retentionPeriod: {
|
|
565
|
-
serializedName: "retentionPeriod",
|
|
566
|
-
type: {
|
|
567
|
-
name: "Number"
|
|
568
|
-
}
|
|
569
|
-
},
|
|
570
|
-
storageAccountUrl: {
|
|
571
|
-
serializedName: "storageAccountUrl",
|
|
572
|
-
type: {
|
|
573
|
-
name: "String"
|
|
574
|
-
}
|
|
575
|
-
},
|
|
576
|
-
storageAccessKey: {
|
|
577
|
-
serializedName: "storageAccessKey",
|
|
578
|
-
type: {
|
|
579
|
-
name: "String"
|
|
580
|
-
}
|
|
581
|
-
},
|
|
582
|
-
password: {
|
|
583
|
-
serializedName: "password",
|
|
584
|
-
type: {
|
|
585
|
-
name: "String"
|
|
586
|
-
}
|
|
587
|
-
},
|
|
588
|
-
backupSystemDbs: {
|
|
589
|
-
serializedName: "backupSystemDbs",
|
|
590
|
-
type: {
|
|
591
|
-
name: "Boolean"
|
|
592
|
-
}
|
|
593
|
-
},
|
|
594
|
-
backupScheduleType: {
|
|
595
|
-
serializedName: "backupScheduleType",
|
|
596
|
-
type: {
|
|
597
|
-
name: "String"
|
|
598
|
-
}
|
|
599
|
-
},
|
|
600
|
-
fullBackupFrequency: {
|
|
601
|
-
serializedName: "fullBackupFrequency",
|
|
602
|
-
type: {
|
|
603
|
-
name: "String"
|
|
604
|
-
}
|
|
605
|
-
},
|
|
606
|
-
fullBackupStartTime: {
|
|
607
|
-
serializedName: "fullBackupStartTime",
|
|
608
|
-
type: {
|
|
609
|
-
name: "Number"
|
|
610
|
-
}
|
|
611
|
-
},
|
|
612
|
-
fullBackupWindowHours: {
|
|
613
|
-
serializedName: "fullBackupWindowHours",
|
|
614
|
-
type: {
|
|
615
|
-
name: "Number"
|
|
616
|
-
}
|
|
617
|
-
},
|
|
618
|
-
logBackupFrequency: {
|
|
619
|
-
serializedName: "logBackupFrequency",
|
|
620
|
-
type: {
|
|
621
|
-
name: "Number"
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
};
|
|
627
|
-
var KeyVaultCredentialSettings = {
|
|
628
|
-
serializedName: "KeyVaultCredentialSettings",
|
|
629
|
-
type: {
|
|
630
|
-
name: "Composite",
|
|
631
|
-
className: "KeyVaultCredentialSettings",
|
|
632
|
-
modelProperties: {
|
|
633
|
-
enable: {
|
|
634
|
-
serializedName: "enable",
|
|
635
|
-
type: {
|
|
636
|
-
name: "Boolean"
|
|
637
|
-
}
|
|
638
|
-
},
|
|
639
|
-
credentialName: {
|
|
640
|
-
serializedName: "credentialName",
|
|
641
|
-
type: {
|
|
642
|
-
name: "String"
|
|
643
|
-
}
|
|
644
|
-
},
|
|
645
|
-
azureKeyVaultUrl: {
|
|
646
|
-
serializedName: "azureKeyVaultUrl",
|
|
647
|
-
type: {
|
|
648
|
-
name: "String"
|
|
649
|
-
}
|
|
650
|
-
},
|
|
651
|
-
servicePrincipalName: {
|
|
652
|
-
serializedName: "servicePrincipalName",
|
|
653
|
-
type: {
|
|
654
|
-
name: "String"
|
|
655
|
-
}
|
|
656
|
-
},
|
|
657
|
-
servicePrincipalSecret: {
|
|
658
|
-
serializedName: "servicePrincipalSecret",
|
|
659
|
-
type: {
|
|
660
|
-
name: "String"
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
};
|
|
666
|
-
var SqlConnectivityUpdateSettings = {
|
|
667
|
-
serializedName: "SqlConnectivityUpdateSettings",
|
|
668
|
-
type: {
|
|
669
|
-
name: "Composite",
|
|
670
|
-
className: "SqlConnectivityUpdateSettings",
|
|
671
|
-
modelProperties: {
|
|
672
|
-
connectivityType: {
|
|
673
|
-
serializedName: "connectivityType",
|
|
674
|
-
type: {
|
|
675
|
-
name: "String"
|
|
676
|
-
}
|
|
677
|
-
},
|
|
678
|
-
port: {
|
|
679
|
-
serializedName: "port",
|
|
680
|
-
type: {
|
|
681
|
-
name: "Number"
|
|
682
|
-
}
|
|
683
|
-
},
|
|
684
|
-
sqlAuthUpdateUserName: {
|
|
685
|
-
serializedName: "sqlAuthUpdateUserName",
|
|
686
|
-
type: {
|
|
687
|
-
name: "String"
|
|
688
|
-
}
|
|
689
|
-
},
|
|
690
|
-
sqlAuthUpdatePassword: {
|
|
691
|
-
serializedName: "sqlAuthUpdatePassword",
|
|
692
|
-
type: {
|
|
693
|
-
name: "String"
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
};
|
|
699
|
-
var SqlWorkloadTypeUpdateSettings = {
|
|
700
|
-
serializedName: "SqlWorkloadTypeUpdateSettings",
|
|
701
|
-
type: {
|
|
702
|
-
name: "Composite",
|
|
703
|
-
className: "SqlWorkloadTypeUpdateSettings",
|
|
704
|
-
modelProperties: {
|
|
705
|
-
sqlWorkloadType: {
|
|
706
|
-
serializedName: "sqlWorkloadType",
|
|
707
|
-
type: {
|
|
708
|
-
name: "String"
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
};
|
|
714
|
-
var SqlStorageUpdateSettings = {
|
|
715
|
-
serializedName: "SqlStorageUpdateSettings",
|
|
716
|
-
type: {
|
|
717
|
-
name: "Composite",
|
|
718
|
-
className: "SqlStorageUpdateSettings",
|
|
719
|
-
modelProperties: {
|
|
720
|
-
diskCount: {
|
|
721
|
-
serializedName: "diskCount",
|
|
722
|
-
type: {
|
|
723
|
-
name: "Number"
|
|
724
|
-
}
|
|
725
|
-
},
|
|
726
|
-
startingDeviceId: {
|
|
727
|
-
serializedName: "startingDeviceId",
|
|
728
|
-
type: {
|
|
729
|
-
name: "Number"
|
|
730
|
-
}
|
|
731
|
-
},
|
|
732
|
-
diskConfigurationType: {
|
|
733
|
-
serializedName: "diskConfigurationType",
|
|
734
|
-
type: {
|
|
735
|
-
name: "String"
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
}
|
|
740
|
-
};
|
|
741
|
-
var AdditionalFeaturesServerConfigurations = {
|
|
742
|
-
serializedName: "AdditionalFeaturesServerConfigurations",
|
|
743
|
-
type: {
|
|
744
|
-
name: "Composite",
|
|
745
|
-
className: "AdditionalFeaturesServerConfigurations",
|
|
746
|
-
modelProperties: {
|
|
747
|
-
isRServicesEnabled: {
|
|
748
|
-
serializedName: "isRServicesEnabled",
|
|
749
|
-
type: {
|
|
750
|
-
name: "Boolean"
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
};
|
|
756
|
-
var ServerConfigurationsManagementSettings = {
|
|
757
|
-
serializedName: "ServerConfigurationsManagementSettings",
|
|
758
|
-
type: {
|
|
759
|
-
name: "Composite",
|
|
760
|
-
className: "ServerConfigurationsManagementSettings",
|
|
761
|
-
modelProperties: {
|
|
762
|
-
sqlConnectivityUpdateSettings: {
|
|
763
|
-
serializedName: "sqlConnectivityUpdateSettings",
|
|
764
|
-
type: {
|
|
765
|
-
name: "Composite",
|
|
766
|
-
className: "SqlConnectivityUpdateSettings"
|
|
767
|
-
}
|
|
768
|
-
},
|
|
769
|
-
sqlWorkloadTypeUpdateSettings: {
|
|
770
|
-
serializedName: "sqlWorkloadTypeUpdateSettings",
|
|
771
|
-
type: {
|
|
772
|
-
name: "Composite",
|
|
773
|
-
className: "SqlWorkloadTypeUpdateSettings"
|
|
774
|
-
}
|
|
775
|
-
},
|
|
776
|
-
sqlStorageUpdateSettings: {
|
|
777
|
-
serializedName: "sqlStorageUpdateSettings",
|
|
778
|
-
type: {
|
|
779
|
-
name: "Composite",
|
|
780
|
-
className: "SqlStorageUpdateSettings"
|
|
781
|
-
}
|
|
782
|
-
},
|
|
783
|
-
additionalFeaturesServerConfigurations: {
|
|
784
|
-
serializedName: "additionalFeaturesServerConfigurations",
|
|
785
|
-
type: {
|
|
786
|
-
name: "Composite",
|
|
787
|
-
className: "AdditionalFeaturesServerConfigurations"
|
|
788
|
-
}
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
};
|
|
793
|
-
var SQLStorageSettings = {
|
|
794
|
-
serializedName: "SQLStorageSettings",
|
|
795
|
-
type: {
|
|
796
|
-
name: "Composite",
|
|
797
|
-
className: "SQLStorageSettings",
|
|
798
|
-
modelProperties: {
|
|
799
|
-
luns: {
|
|
800
|
-
serializedName: "luns",
|
|
801
|
-
type: {
|
|
802
|
-
name: "Sequence",
|
|
803
|
-
element: {
|
|
804
|
-
type: {
|
|
805
|
-
name: "Number"
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
},
|
|
810
|
-
defaultFilePath: {
|
|
811
|
-
serializedName: "defaultFilePath",
|
|
812
|
-
type: {
|
|
813
|
-
name: "String"
|
|
814
|
-
}
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
};
|
|
819
|
-
var StorageConfigurationSettings = {
|
|
820
|
-
serializedName: "StorageConfigurationSettings",
|
|
821
|
-
type: {
|
|
822
|
-
name: "Composite",
|
|
823
|
-
className: "StorageConfigurationSettings",
|
|
824
|
-
modelProperties: {
|
|
825
|
-
sqlDataSettings: {
|
|
826
|
-
serializedName: "sqlDataSettings",
|
|
827
|
-
type: {
|
|
828
|
-
name: "Composite",
|
|
829
|
-
className: "SQLStorageSettings"
|
|
830
|
-
}
|
|
831
|
-
},
|
|
832
|
-
sqlLogSettings: {
|
|
833
|
-
serializedName: "sqlLogSettings",
|
|
834
|
-
type: {
|
|
835
|
-
name: "Composite",
|
|
836
|
-
className: "SQLStorageSettings"
|
|
837
|
-
}
|
|
838
|
-
},
|
|
839
|
-
sqlTempDbSettings: {
|
|
840
|
-
serializedName: "sqlTempDbSettings",
|
|
841
|
-
type: {
|
|
842
|
-
name: "Composite",
|
|
843
|
-
className: "SQLStorageSettings"
|
|
844
|
-
}
|
|
845
|
-
},
|
|
846
|
-
diskConfigurationType: {
|
|
847
|
-
serializedName: "diskConfigurationType",
|
|
848
|
-
type: {
|
|
849
|
-
name: "String"
|
|
850
|
-
}
|
|
851
|
-
},
|
|
852
|
-
storageWorkloadType: {
|
|
853
|
-
serializedName: "storageWorkloadType",
|
|
854
|
-
type: {
|
|
855
|
-
name: "String"
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
};
|
|
861
|
-
var SqlVirtualMachine = {
|
|
862
|
-
serializedName: "SqlVirtualMachine",
|
|
863
|
-
type: {
|
|
864
|
-
name: "Composite",
|
|
865
|
-
className: "SqlVirtualMachine",
|
|
866
|
-
modelProperties: __assign(__assign({}, TrackedResource.type.modelProperties), { identity: {
|
|
867
|
-
serializedName: "identity",
|
|
868
|
-
type: {
|
|
869
|
-
name: "Composite",
|
|
870
|
-
className: "ResourceIdentity"
|
|
871
|
-
}
|
|
872
|
-
}, virtualMachineResourceId: {
|
|
873
|
-
serializedName: "properties.virtualMachineResourceId",
|
|
874
|
-
type: {
|
|
875
|
-
name: "String"
|
|
876
|
-
}
|
|
877
|
-
}, provisioningState: {
|
|
878
|
-
readOnly: true,
|
|
879
|
-
serializedName: "properties.provisioningState",
|
|
880
|
-
type: {
|
|
881
|
-
name: "String"
|
|
882
|
-
}
|
|
883
|
-
}, sqlImageOffer: {
|
|
884
|
-
serializedName: "properties.sqlImageOffer",
|
|
885
|
-
type: {
|
|
886
|
-
name: "String"
|
|
887
|
-
}
|
|
888
|
-
}, sqlServerLicenseType: {
|
|
889
|
-
serializedName: "properties.sqlServerLicenseType",
|
|
890
|
-
type: {
|
|
891
|
-
name: "String"
|
|
892
|
-
}
|
|
893
|
-
}, sqlManagement: {
|
|
894
|
-
serializedName: "properties.sqlManagement",
|
|
895
|
-
type: {
|
|
896
|
-
name: "String"
|
|
897
|
-
}
|
|
898
|
-
}, sqlImageSku: {
|
|
899
|
-
serializedName: "properties.sqlImageSku",
|
|
900
|
-
type: {
|
|
901
|
-
name: "String"
|
|
902
|
-
}
|
|
903
|
-
}, sqlVirtualMachineGroupResourceId: {
|
|
904
|
-
serializedName: "properties.sqlVirtualMachineGroupResourceId",
|
|
905
|
-
type: {
|
|
906
|
-
name: "String"
|
|
907
|
-
}
|
|
908
|
-
}, wsfcDomainCredentials: {
|
|
909
|
-
serializedName: "properties.wsfcDomainCredentials",
|
|
910
|
-
type: {
|
|
911
|
-
name: "Composite",
|
|
912
|
-
className: "WsfcDomainCredentials"
|
|
913
|
-
}
|
|
914
|
-
}, autoPatchingSettings: {
|
|
915
|
-
serializedName: "properties.autoPatchingSettings",
|
|
916
|
-
type: {
|
|
917
|
-
name: "Composite",
|
|
918
|
-
className: "AutoPatchingSettings"
|
|
919
|
-
}
|
|
920
|
-
}, autoBackupSettings: {
|
|
921
|
-
serializedName: "properties.autoBackupSettings",
|
|
922
|
-
type: {
|
|
923
|
-
name: "Composite",
|
|
924
|
-
className: "AutoBackupSettings"
|
|
925
|
-
}
|
|
926
|
-
}, keyVaultCredentialSettings: {
|
|
927
|
-
serializedName: "properties.keyVaultCredentialSettings",
|
|
928
|
-
type: {
|
|
929
|
-
name: "Composite",
|
|
930
|
-
className: "KeyVaultCredentialSettings"
|
|
931
|
-
}
|
|
932
|
-
}, serverConfigurationsManagementSettings: {
|
|
933
|
-
serializedName: "properties.serverConfigurationsManagementSettings",
|
|
934
|
-
type: {
|
|
935
|
-
name: "Composite",
|
|
936
|
-
className: "ServerConfigurationsManagementSettings"
|
|
937
|
-
}
|
|
938
|
-
}, storageConfigurationSettings: {
|
|
939
|
-
serializedName: "properties.storageConfigurationSettings",
|
|
940
|
-
type: {
|
|
941
|
-
name: "Composite",
|
|
942
|
-
className: "StorageConfigurationSettings"
|
|
943
|
-
}
|
|
944
|
-
} })
|
|
945
|
-
}
|
|
946
|
-
};
|
|
947
|
-
var SqlVirtualMachineUpdate = {
|
|
948
|
-
serializedName: "SqlVirtualMachineUpdate",
|
|
949
|
-
type: {
|
|
950
|
-
name: "Composite",
|
|
951
|
-
className: "SqlVirtualMachineUpdate",
|
|
952
|
-
modelProperties: {
|
|
953
|
-
tags: {
|
|
954
|
-
serializedName: "tags",
|
|
955
|
-
type: {
|
|
956
|
-
name: "Dictionary",
|
|
957
|
-
value: {
|
|
958
|
-
type: {
|
|
959
|
-
name: "String"
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
}
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
|
-
};
|
|
967
|
-
var AvailabilityGroupListenerListResult = {
|
|
968
|
-
serializedName: "AvailabilityGroupListenerListResult",
|
|
969
|
-
type: {
|
|
970
|
-
name: "Composite",
|
|
971
|
-
className: "AvailabilityGroupListenerListResult",
|
|
972
|
-
modelProperties: {
|
|
973
|
-
value: {
|
|
974
|
-
readOnly: true,
|
|
975
|
-
serializedName: "",
|
|
976
|
-
type: {
|
|
977
|
-
name: "Sequence",
|
|
978
|
-
element: {
|
|
979
|
-
type: {
|
|
980
|
-
name: "Composite",
|
|
981
|
-
className: "AvailabilityGroupListener"
|
|
982
|
-
}
|
|
983
|
-
}
|
|
984
|
-
}
|
|
985
|
-
},
|
|
986
|
-
nextLink: {
|
|
987
|
-
readOnly: true,
|
|
988
|
-
serializedName: "nextLink",
|
|
989
|
-
type: {
|
|
990
|
-
name: "String"
|
|
991
|
-
}
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
};
|
|
996
|
-
var OperationListResult = {
|
|
997
|
-
serializedName: "OperationListResult",
|
|
998
|
-
type: {
|
|
999
|
-
name: "Composite",
|
|
1000
|
-
className: "OperationListResult",
|
|
1001
|
-
modelProperties: {
|
|
1002
|
-
value: {
|
|
1003
|
-
readOnly: true,
|
|
1004
|
-
serializedName: "",
|
|
1005
|
-
type: {
|
|
1006
|
-
name: "Sequence",
|
|
1007
|
-
element: {
|
|
1008
|
-
type: {
|
|
1009
|
-
name: "Composite",
|
|
1010
|
-
className: "Operation"
|
|
1011
|
-
}
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
},
|
|
1015
|
-
nextLink: {
|
|
1016
|
-
readOnly: true,
|
|
1017
|
-
serializedName: "nextLink",
|
|
1018
|
-
type: {
|
|
1019
|
-
name: "String"
|
|
1020
|
-
}
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1024
|
-
};
|
|
1025
|
-
var SqlVirtualMachineGroupListResult = {
|
|
1026
|
-
serializedName: "SqlVirtualMachineGroupListResult",
|
|
1027
|
-
type: {
|
|
1028
|
-
name: "Composite",
|
|
1029
|
-
className: "SqlVirtualMachineGroupListResult",
|
|
1030
|
-
modelProperties: {
|
|
1031
|
-
value: {
|
|
1032
|
-
readOnly: true,
|
|
1033
|
-
serializedName: "",
|
|
1034
|
-
type: {
|
|
1035
|
-
name: "Sequence",
|
|
1036
|
-
element: {
|
|
1037
|
-
type: {
|
|
1038
|
-
name: "Composite",
|
|
1039
|
-
className: "SqlVirtualMachineGroup"
|
|
1040
|
-
}
|
|
1041
|
-
}
|
|
1042
|
-
}
|
|
1043
|
-
},
|
|
1044
|
-
nextLink: {
|
|
1045
|
-
readOnly: true,
|
|
1046
|
-
serializedName: "nextLink",
|
|
1047
|
-
type: {
|
|
1048
|
-
name: "String"
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
}
|
|
1053
|
-
};
|
|
1054
|
-
var SqlVirtualMachineListResult = {
|
|
1055
|
-
serializedName: "SqlVirtualMachineListResult",
|
|
1056
|
-
type: {
|
|
1057
|
-
name: "Composite",
|
|
1058
|
-
className: "SqlVirtualMachineListResult",
|
|
1059
|
-
modelProperties: {
|
|
1060
|
-
value: {
|
|
1061
|
-
readOnly: true,
|
|
1062
|
-
serializedName: "",
|
|
1063
|
-
type: {
|
|
1064
|
-
name: "Sequence",
|
|
1065
|
-
element: {
|
|
1066
|
-
type: {
|
|
1067
|
-
name: "Composite",
|
|
1068
|
-
className: "SqlVirtualMachine"
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
},
|
|
1073
|
-
nextLink: {
|
|
1074
|
-
readOnly: true,
|
|
1075
|
-
serializedName: "nextLink",
|
|
1076
|
-
type: {
|
|
1077
|
-
name: "String"
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
}
|
|
1081
|
-
}
|
|
1082
|
-
};
|
|
1083
|
-
|
|
1084
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
|
1085
|
-
__proto__: null,
|
|
1086
|
-
CloudError: CloudError,
|
|
1087
|
-
BaseResource: BaseResource,
|
|
1088
|
-
PrivateIPAddress: PrivateIPAddress,
|
|
1089
|
-
LoadBalancerConfiguration: LoadBalancerConfiguration,
|
|
1090
|
-
Resource: Resource,
|
|
1091
|
-
ProxyResource: ProxyResource,
|
|
1092
|
-
AvailabilityGroupListener: AvailabilityGroupListener,
|
|
1093
|
-
OperationDisplay: OperationDisplay,
|
|
1094
|
-
Operation: Operation,
|
|
1095
|
-
WsfcDomainProfile: WsfcDomainProfile,
|
|
1096
|
-
TrackedResource: TrackedResource,
|
|
1097
|
-
SqlVirtualMachineGroup: SqlVirtualMachineGroup,
|
|
1098
|
-
SqlVirtualMachineGroupUpdate: SqlVirtualMachineGroupUpdate,
|
|
1099
|
-
ResourceIdentity: ResourceIdentity,
|
|
1100
|
-
WsfcDomainCredentials: WsfcDomainCredentials,
|
|
1101
|
-
AutoPatchingSettings: AutoPatchingSettings,
|
|
1102
|
-
AutoBackupSettings: AutoBackupSettings,
|
|
1103
|
-
KeyVaultCredentialSettings: KeyVaultCredentialSettings,
|
|
1104
|
-
SqlConnectivityUpdateSettings: SqlConnectivityUpdateSettings,
|
|
1105
|
-
SqlWorkloadTypeUpdateSettings: SqlWorkloadTypeUpdateSettings,
|
|
1106
|
-
SqlStorageUpdateSettings: SqlStorageUpdateSettings,
|
|
1107
|
-
AdditionalFeaturesServerConfigurations: AdditionalFeaturesServerConfigurations,
|
|
1108
|
-
ServerConfigurationsManagementSettings: ServerConfigurationsManagementSettings,
|
|
1109
|
-
SQLStorageSettings: SQLStorageSettings,
|
|
1110
|
-
StorageConfigurationSettings: StorageConfigurationSettings,
|
|
1111
|
-
SqlVirtualMachine: SqlVirtualMachine,
|
|
1112
|
-
SqlVirtualMachineUpdate: SqlVirtualMachineUpdate,
|
|
1113
|
-
AvailabilityGroupListenerListResult: AvailabilityGroupListenerListResult,
|
|
1114
|
-
OperationListResult: OperationListResult,
|
|
1115
|
-
SqlVirtualMachineGroupListResult: SqlVirtualMachineGroupListResult,
|
|
1116
|
-
SqlVirtualMachineListResult: SqlVirtualMachineListResult
|
|
1117
|
-
});
|
|
1118
|
-
|
|
1119
|
-
/*
|
|
1120
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1121
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1122
|
-
*
|
|
1123
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1124
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1125
|
-
*/
|
|
1126
|
-
|
|
1127
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1128
|
-
__proto__: null,
|
|
1129
|
-
AdditionalFeaturesServerConfigurations: AdditionalFeaturesServerConfigurations,
|
|
1130
|
-
AutoBackupSettings: AutoBackupSettings,
|
|
1131
|
-
AutoPatchingSettings: AutoPatchingSettings,
|
|
1132
|
-
AvailabilityGroupListener: AvailabilityGroupListener,
|
|
1133
|
-
AvailabilityGroupListenerListResult: AvailabilityGroupListenerListResult,
|
|
1134
|
-
BaseResource: BaseResource,
|
|
1135
|
-
CloudError: CloudError,
|
|
1136
|
-
KeyVaultCredentialSettings: KeyVaultCredentialSettings,
|
|
1137
|
-
LoadBalancerConfiguration: LoadBalancerConfiguration,
|
|
1138
|
-
PrivateIPAddress: PrivateIPAddress,
|
|
1139
|
-
ProxyResource: ProxyResource,
|
|
1140
|
-
Resource: Resource,
|
|
1141
|
-
ResourceIdentity: ResourceIdentity,
|
|
1142
|
-
ServerConfigurationsManagementSettings: ServerConfigurationsManagementSettings,
|
|
1143
|
-
SqlConnectivityUpdateSettings: SqlConnectivityUpdateSettings,
|
|
1144
|
-
SQLStorageSettings: SQLStorageSettings,
|
|
1145
|
-
SqlStorageUpdateSettings: SqlStorageUpdateSettings,
|
|
1146
|
-
SqlVirtualMachine: SqlVirtualMachine,
|
|
1147
|
-
SqlVirtualMachineGroup: SqlVirtualMachineGroup,
|
|
1148
|
-
SqlWorkloadTypeUpdateSettings: SqlWorkloadTypeUpdateSettings,
|
|
1149
|
-
StorageConfigurationSettings: StorageConfigurationSettings,
|
|
1150
|
-
TrackedResource: TrackedResource,
|
|
1151
|
-
WsfcDomainCredentials: WsfcDomainCredentials,
|
|
1152
|
-
WsfcDomainProfile: WsfcDomainProfile
|
|
1153
|
-
});
|
|
1154
|
-
|
|
1155
|
-
/*
|
|
1156
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1157
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1158
|
-
* license information.
|
|
1159
|
-
*
|
|
1160
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1161
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1162
|
-
* regenerated.
|
|
1163
|
-
*/
|
|
1164
|
-
var acceptLanguage = {
|
|
1165
|
-
parameterPath: "acceptLanguage",
|
|
1166
|
-
mapper: {
|
|
1167
|
-
serializedName: "accept-language",
|
|
1168
|
-
defaultValue: 'en-US',
|
|
1169
|
-
type: {
|
|
1170
|
-
name: "String"
|
|
1171
|
-
}
|
|
1172
|
-
}
|
|
1173
|
-
};
|
|
1174
|
-
var apiVersion = {
|
|
1175
|
-
parameterPath: "apiVersion",
|
|
1176
|
-
mapper: {
|
|
1177
|
-
required: true,
|
|
1178
|
-
serializedName: "api-version",
|
|
1179
|
-
type: {
|
|
1180
|
-
name: "String"
|
|
1181
|
-
}
|
|
1182
|
-
}
|
|
1183
|
-
};
|
|
1184
|
-
var availabilityGroupListenerName = {
|
|
1185
|
-
parameterPath: "availabilityGroupListenerName",
|
|
1186
|
-
mapper: {
|
|
1187
|
-
required: true,
|
|
1188
|
-
serializedName: "availabilityGroupListenerName",
|
|
1189
|
-
type: {
|
|
1190
|
-
name: "String"
|
|
1191
|
-
}
|
|
1192
|
-
}
|
|
1193
|
-
};
|
|
1194
|
-
var expand = {
|
|
1195
|
-
parameterPath: [
|
|
1196
|
-
"options",
|
|
1197
|
-
"expand"
|
|
1198
|
-
],
|
|
1199
|
-
mapper: {
|
|
1200
|
-
serializedName: "$expand",
|
|
1201
|
-
type: {
|
|
1202
|
-
name: "String"
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
};
|
|
1206
|
-
var nextPageLink = {
|
|
1207
|
-
parameterPath: "nextPageLink",
|
|
1208
|
-
mapper: {
|
|
1209
|
-
required: true,
|
|
1210
|
-
serializedName: "nextLink",
|
|
1211
|
-
type: {
|
|
1212
|
-
name: "String"
|
|
1213
|
-
}
|
|
1214
|
-
},
|
|
1215
|
-
skipEncoding: true
|
|
1216
|
-
};
|
|
1217
|
-
var resourceGroupName = {
|
|
1218
|
-
parameterPath: "resourceGroupName",
|
|
1219
|
-
mapper: {
|
|
1220
|
-
required: true,
|
|
1221
|
-
serializedName: "resourceGroupName",
|
|
1222
|
-
type: {
|
|
1223
|
-
name: "String"
|
|
1224
|
-
}
|
|
1225
|
-
}
|
|
1226
|
-
};
|
|
1227
|
-
var sqlVirtualMachineGroupName = {
|
|
1228
|
-
parameterPath: "sqlVirtualMachineGroupName",
|
|
1229
|
-
mapper: {
|
|
1230
|
-
required: true,
|
|
1231
|
-
serializedName: "sqlVirtualMachineGroupName",
|
|
1232
|
-
type: {
|
|
1233
|
-
name: "String"
|
|
1234
|
-
}
|
|
1235
|
-
}
|
|
1236
|
-
};
|
|
1237
|
-
var sqlVirtualMachineName = {
|
|
1238
|
-
parameterPath: "sqlVirtualMachineName",
|
|
1239
|
-
mapper: {
|
|
1240
|
-
required: true,
|
|
1241
|
-
serializedName: "sqlVirtualMachineName",
|
|
1242
|
-
type: {
|
|
1243
|
-
name: "String"
|
|
1244
|
-
}
|
|
1245
|
-
}
|
|
1246
|
-
};
|
|
1247
|
-
var subscriptionId = {
|
|
1248
|
-
parameterPath: "subscriptionId",
|
|
1249
|
-
mapper: {
|
|
1250
|
-
required: true,
|
|
1251
|
-
serializedName: "subscriptionId",
|
|
1252
|
-
type: {
|
|
1253
|
-
name: "String"
|
|
1254
|
-
}
|
|
1255
|
-
}
|
|
1256
|
-
};
|
|
1257
|
-
|
|
1258
|
-
/*
|
|
1259
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1260
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1261
|
-
* license information.
|
|
1262
|
-
*
|
|
1263
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1264
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1265
|
-
* regenerated.
|
|
1266
|
-
*/
|
|
1267
|
-
/** Class representing a AvailabilityGroupListeners. */
|
|
1268
|
-
var AvailabilityGroupListeners = /** @class */ (function () {
|
|
1269
|
-
/**
|
|
1270
|
-
* Create a AvailabilityGroupListeners.
|
|
1271
|
-
* @param {SqlVirtualMachineManagementClientContext} client Reference to the service client.
|
|
1272
|
-
*/
|
|
1273
|
-
function AvailabilityGroupListeners(client) {
|
|
1274
|
-
this.client = client;
|
|
1275
|
-
}
|
|
1276
|
-
AvailabilityGroupListeners.prototype.get = function (resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName, options, callback) {
|
|
1277
|
-
return this.client.sendOperationRequest({
|
|
1278
|
-
resourceGroupName: resourceGroupName,
|
|
1279
|
-
sqlVirtualMachineGroupName: sqlVirtualMachineGroupName,
|
|
1280
|
-
availabilityGroupListenerName: availabilityGroupListenerName,
|
|
1281
|
-
options: options
|
|
1282
|
-
}, getOperationSpec, callback);
|
|
1283
|
-
};
|
|
1284
|
-
/**
|
|
1285
|
-
* Creates or updates an availability group listener.
|
|
1286
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1287
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1288
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1289
|
-
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
1290
|
-
* @param parameters The availability group listener.
|
|
1291
|
-
* @param [options] The optional parameters
|
|
1292
|
-
* @returns Promise<Models.AvailabilityGroupListenersCreateOrUpdateResponse>
|
|
1293
|
-
*/
|
|
1294
|
-
AvailabilityGroupListeners.prototype.createOrUpdate = function (resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName, parameters, options) {
|
|
1295
|
-
return this.beginCreateOrUpdate(resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName, parameters, options)
|
|
1296
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1297
|
-
};
|
|
1298
|
-
/**
|
|
1299
|
-
* Deletes an availability group listener.
|
|
1300
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1301
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1302
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1303
|
-
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
1304
|
-
* @param [options] The optional parameters
|
|
1305
|
-
* @returns Promise<msRest.RestResponse>
|
|
1306
|
-
*/
|
|
1307
|
-
AvailabilityGroupListeners.prototype.deleteMethod = function (resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName, options) {
|
|
1308
|
-
return this.beginDeleteMethod(resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName, options)
|
|
1309
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1310
|
-
};
|
|
1311
|
-
AvailabilityGroupListeners.prototype.listByGroup = function (resourceGroupName, sqlVirtualMachineGroupName, options, callback) {
|
|
1312
|
-
return this.client.sendOperationRequest({
|
|
1313
|
-
resourceGroupName: resourceGroupName,
|
|
1314
|
-
sqlVirtualMachineGroupName: sqlVirtualMachineGroupName,
|
|
1315
|
-
options: options
|
|
1316
|
-
}, listByGroupOperationSpec, callback);
|
|
1317
|
-
};
|
|
1318
|
-
/**
|
|
1319
|
-
* Creates or updates an availability group listener.
|
|
1320
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1321
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1322
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1323
|
-
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
1324
|
-
* @param parameters The availability group listener.
|
|
1325
|
-
* @param [options] The optional parameters
|
|
1326
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1327
|
-
*/
|
|
1328
|
-
AvailabilityGroupListeners.prototype.beginCreateOrUpdate = function (resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName, parameters, options) {
|
|
1329
|
-
return this.client.sendLRORequest({
|
|
1330
|
-
resourceGroupName: resourceGroupName,
|
|
1331
|
-
sqlVirtualMachineGroupName: sqlVirtualMachineGroupName,
|
|
1332
|
-
availabilityGroupListenerName: availabilityGroupListenerName,
|
|
1333
|
-
parameters: parameters,
|
|
1334
|
-
options: options
|
|
1335
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
1336
|
-
};
|
|
1337
|
-
/**
|
|
1338
|
-
* Deletes an availability group listener.
|
|
1339
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1340
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1341
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1342
|
-
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
1343
|
-
* @param [options] The optional parameters
|
|
1344
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1345
|
-
*/
|
|
1346
|
-
AvailabilityGroupListeners.prototype.beginDeleteMethod = function (resourceGroupName, sqlVirtualMachineGroupName, availabilityGroupListenerName, options) {
|
|
1347
|
-
return this.client.sendLRORequest({
|
|
1348
|
-
resourceGroupName: resourceGroupName,
|
|
1349
|
-
sqlVirtualMachineGroupName: sqlVirtualMachineGroupName,
|
|
1350
|
-
availabilityGroupListenerName: availabilityGroupListenerName,
|
|
1351
|
-
options: options
|
|
1352
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
1353
|
-
};
|
|
1354
|
-
AvailabilityGroupListeners.prototype.listByGroupNext = function (nextPageLink, options, callback) {
|
|
1355
|
-
return this.client.sendOperationRequest({
|
|
1356
|
-
nextPageLink: nextPageLink,
|
|
1357
|
-
options: options
|
|
1358
|
-
}, listByGroupNextOperationSpec, callback);
|
|
1359
|
-
};
|
|
1360
|
-
return AvailabilityGroupListeners;
|
|
1361
|
-
}());
|
|
1362
|
-
// Operation Specifications
|
|
1363
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
1364
|
-
var getOperationSpec = {
|
|
1365
|
-
httpMethod: "GET",
|
|
1366
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}",
|
|
1367
|
-
urlParameters: [
|
|
1368
|
-
resourceGroupName,
|
|
1369
|
-
sqlVirtualMachineGroupName,
|
|
1370
|
-
availabilityGroupListenerName,
|
|
1371
|
-
subscriptionId
|
|
1372
|
-
],
|
|
1373
|
-
queryParameters: [
|
|
1374
|
-
apiVersion
|
|
1375
|
-
],
|
|
1376
|
-
headerParameters: [
|
|
1377
|
-
acceptLanguage
|
|
1378
|
-
],
|
|
1379
|
-
responses: {
|
|
1380
|
-
200: {
|
|
1381
|
-
bodyMapper: AvailabilityGroupListener
|
|
1382
|
-
},
|
|
1383
|
-
default: {
|
|
1384
|
-
bodyMapper: CloudError
|
|
1385
|
-
}
|
|
1386
|
-
},
|
|
1387
|
-
serializer: serializer
|
|
1388
|
-
};
|
|
1389
|
-
var listByGroupOperationSpec = {
|
|
1390
|
-
httpMethod: "GET",
|
|
1391
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners",
|
|
1392
|
-
urlParameters: [
|
|
1393
|
-
resourceGroupName,
|
|
1394
|
-
sqlVirtualMachineGroupName,
|
|
1395
|
-
subscriptionId
|
|
1396
|
-
],
|
|
1397
|
-
queryParameters: [
|
|
1398
|
-
apiVersion
|
|
1399
|
-
],
|
|
1400
|
-
headerParameters: [
|
|
1401
|
-
acceptLanguage
|
|
1402
|
-
],
|
|
1403
|
-
responses: {
|
|
1404
|
-
200: {
|
|
1405
|
-
bodyMapper: AvailabilityGroupListenerListResult
|
|
1406
|
-
},
|
|
1407
|
-
default: {
|
|
1408
|
-
bodyMapper: CloudError
|
|
1409
|
-
}
|
|
1410
|
-
},
|
|
1411
|
-
serializer: serializer
|
|
1412
|
-
};
|
|
1413
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
1414
|
-
httpMethod: "PUT",
|
|
1415
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}",
|
|
1416
|
-
urlParameters: [
|
|
1417
|
-
resourceGroupName,
|
|
1418
|
-
sqlVirtualMachineGroupName,
|
|
1419
|
-
availabilityGroupListenerName,
|
|
1420
|
-
subscriptionId
|
|
1421
|
-
],
|
|
1422
|
-
queryParameters: [
|
|
1423
|
-
apiVersion
|
|
1424
|
-
],
|
|
1425
|
-
headerParameters: [
|
|
1426
|
-
acceptLanguage
|
|
1427
|
-
],
|
|
1428
|
-
requestBody: {
|
|
1429
|
-
parameterPath: "parameters",
|
|
1430
|
-
mapper: __assign(__assign({}, AvailabilityGroupListener), { required: true })
|
|
1431
|
-
},
|
|
1432
|
-
responses: {
|
|
1433
|
-
200: {
|
|
1434
|
-
bodyMapper: AvailabilityGroupListener
|
|
1435
|
-
},
|
|
1436
|
-
201: {
|
|
1437
|
-
bodyMapper: AvailabilityGroupListener
|
|
1438
|
-
},
|
|
1439
|
-
default: {
|
|
1440
|
-
bodyMapper: CloudError
|
|
1441
|
-
}
|
|
1442
|
-
},
|
|
1443
|
-
serializer: serializer
|
|
1444
|
-
};
|
|
1445
|
-
var beginDeleteMethodOperationSpec = {
|
|
1446
|
-
httpMethod: "DELETE",
|
|
1447
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}",
|
|
1448
|
-
urlParameters: [
|
|
1449
|
-
resourceGroupName,
|
|
1450
|
-
sqlVirtualMachineGroupName,
|
|
1451
|
-
availabilityGroupListenerName,
|
|
1452
|
-
subscriptionId
|
|
1453
|
-
],
|
|
1454
|
-
queryParameters: [
|
|
1455
|
-
apiVersion
|
|
1456
|
-
],
|
|
1457
|
-
headerParameters: [
|
|
1458
|
-
acceptLanguage
|
|
1459
|
-
],
|
|
1460
|
-
responses: {
|
|
1461
|
-
200: {},
|
|
1462
|
-
202: {},
|
|
1463
|
-
204: {},
|
|
1464
|
-
default: {
|
|
1465
|
-
bodyMapper: CloudError
|
|
1466
|
-
}
|
|
1467
|
-
},
|
|
1468
|
-
serializer: serializer
|
|
1469
|
-
};
|
|
1470
|
-
var listByGroupNextOperationSpec = {
|
|
1471
|
-
httpMethod: "GET",
|
|
1472
|
-
baseUrl: "https://management.azure.com",
|
|
1473
|
-
path: "{nextLink}",
|
|
1474
|
-
urlParameters: [
|
|
1475
|
-
nextPageLink
|
|
1476
|
-
],
|
|
1477
|
-
headerParameters: [
|
|
1478
|
-
acceptLanguage
|
|
1479
|
-
],
|
|
1480
|
-
responses: {
|
|
1481
|
-
200: {
|
|
1482
|
-
bodyMapper: AvailabilityGroupListenerListResult
|
|
1483
|
-
},
|
|
1484
|
-
default: {
|
|
1485
|
-
bodyMapper: CloudError
|
|
1486
|
-
}
|
|
1487
|
-
},
|
|
1488
|
-
serializer: serializer
|
|
1489
|
-
};
|
|
1490
|
-
|
|
1491
|
-
/*
|
|
1492
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1493
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1494
|
-
*
|
|
1495
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1496
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1497
|
-
*/
|
|
1498
|
-
|
|
1499
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
1500
|
-
__proto__: null,
|
|
1501
|
-
CloudError: CloudError,
|
|
1502
|
-
Operation: Operation,
|
|
1503
|
-
OperationDisplay: OperationDisplay,
|
|
1504
|
-
OperationListResult: OperationListResult
|
|
1505
|
-
});
|
|
1506
|
-
|
|
1507
|
-
/*
|
|
1508
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1509
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1510
|
-
* license information.
|
|
1511
|
-
*
|
|
1512
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1513
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1514
|
-
* regenerated.
|
|
1515
|
-
*/
|
|
1516
|
-
/** Class representing a Operations. */
|
|
1517
|
-
var Operations = /** @class */ (function () {
|
|
1518
|
-
/**
|
|
1519
|
-
* Create a Operations.
|
|
1520
|
-
* @param {SqlVirtualMachineManagementClientContext} client Reference to the service client.
|
|
1521
|
-
*/
|
|
1522
|
-
function Operations(client) {
|
|
1523
|
-
this.client = client;
|
|
1524
|
-
}
|
|
1525
|
-
Operations.prototype.list = function (options, callback) {
|
|
1526
|
-
return this.client.sendOperationRequest({
|
|
1527
|
-
options: options
|
|
1528
|
-
}, listOperationSpec, callback);
|
|
1529
|
-
};
|
|
1530
|
-
Operations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
1531
|
-
return this.client.sendOperationRequest({
|
|
1532
|
-
nextPageLink: nextPageLink,
|
|
1533
|
-
options: options
|
|
1534
|
-
}, listNextOperationSpec, callback);
|
|
1535
|
-
};
|
|
1536
|
-
return Operations;
|
|
1537
|
-
}());
|
|
1538
|
-
// Operation Specifications
|
|
1539
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
|
1540
|
-
var listOperationSpec = {
|
|
1541
|
-
httpMethod: "GET",
|
|
1542
|
-
path: "providers/Microsoft.SqlVirtualMachine/operations",
|
|
1543
|
-
queryParameters: [
|
|
1544
|
-
apiVersion
|
|
1545
|
-
],
|
|
1546
|
-
headerParameters: [
|
|
1547
|
-
acceptLanguage
|
|
1548
|
-
],
|
|
1549
|
-
responses: {
|
|
1550
|
-
200: {
|
|
1551
|
-
bodyMapper: OperationListResult
|
|
1552
|
-
},
|
|
1553
|
-
default: {
|
|
1554
|
-
bodyMapper: CloudError
|
|
1555
|
-
}
|
|
1556
|
-
},
|
|
1557
|
-
serializer: serializer$1
|
|
1558
|
-
};
|
|
1559
|
-
var listNextOperationSpec = {
|
|
1560
|
-
httpMethod: "GET",
|
|
1561
|
-
baseUrl: "https://management.azure.com",
|
|
1562
|
-
path: "{nextLink}",
|
|
1563
|
-
urlParameters: [
|
|
1564
|
-
nextPageLink
|
|
1565
|
-
],
|
|
1566
|
-
headerParameters: [
|
|
1567
|
-
acceptLanguage
|
|
1568
|
-
],
|
|
1569
|
-
responses: {
|
|
1570
|
-
200: {
|
|
1571
|
-
bodyMapper: OperationListResult
|
|
1572
|
-
},
|
|
1573
|
-
default: {
|
|
1574
|
-
bodyMapper: CloudError
|
|
1575
|
-
}
|
|
1576
|
-
},
|
|
1577
|
-
serializer: serializer$1
|
|
1578
|
-
};
|
|
1579
|
-
|
|
1580
|
-
/*
|
|
1581
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1582
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1583
|
-
*
|
|
1584
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1585
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1586
|
-
*/
|
|
1587
|
-
|
|
1588
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
|
1589
|
-
__proto__: null,
|
|
1590
|
-
AdditionalFeaturesServerConfigurations: AdditionalFeaturesServerConfigurations,
|
|
1591
|
-
AutoBackupSettings: AutoBackupSettings,
|
|
1592
|
-
AutoPatchingSettings: AutoPatchingSettings,
|
|
1593
|
-
AvailabilityGroupListener: AvailabilityGroupListener,
|
|
1594
|
-
BaseResource: BaseResource,
|
|
1595
|
-
CloudError: CloudError,
|
|
1596
|
-
KeyVaultCredentialSettings: KeyVaultCredentialSettings,
|
|
1597
|
-
LoadBalancerConfiguration: LoadBalancerConfiguration,
|
|
1598
|
-
PrivateIPAddress: PrivateIPAddress,
|
|
1599
|
-
ProxyResource: ProxyResource,
|
|
1600
|
-
Resource: Resource,
|
|
1601
|
-
ResourceIdentity: ResourceIdentity,
|
|
1602
|
-
ServerConfigurationsManagementSettings: ServerConfigurationsManagementSettings,
|
|
1603
|
-
SqlConnectivityUpdateSettings: SqlConnectivityUpdateSettings,
|
|
1604
|
-
SQLStorageSettings: SQLStorageSettings,
|
|
1605
|
-
SqlStorageUpdateSettings: SqlStorageUpdateSettings,
|
|
1606
|
-
SqlVirtualMachine: SqlVirtualMachine,
|
|
1607
|
-
SqlVirtualMachineGroup: SqlVirtualMachineGroup,
|
|
1608
|
-
SqlVirtualMachineGroupListResult: SqlVirtualMachineGroupListResult,
|
|
1609
|
-
SqlVirtualMachineGroupUpdate: SqlVirtualMachineGroupUpdate,
|
|
1610
|
-
SqlWorkloadTypeUpdateSettings: SqlWorkloadTypeUpdateSettings,
|
|
1611
|
-
StorageConfigurationSettings: StorageConfigurationSettings,
|
|
1612
|
-
TrackedResource: TrackedResource,
|
|
1613
|
-
WsfcDomainCredentials: WsfcDomainCredentials,
|
|
1614
|
-
WsfcDomainProfile: WsfcDomainProfile
|
|
1615
|
-
});
|
|
1616
|
-
|
|
1617
|
-
/*
|
|
1618
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1619
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1620
|
-
* license information.
|
|
1621
|
-
*
|
|
1622
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1623
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1624
|
-
* regenerated.
|
|
1625
|
-
*/
|
|
1626
|
-
/** Class representing a SqlVirtualMachineGroups. */
|
|
1627
|
-
var SqlVirtualMachineGroups = /** @class */ (function () {
|
|
1628
|
-
/**
|
|
1629
|
-
* Create a SqlVirtualMachineGroups.
|
|
1630
|
-
* @param {SqlVirtualMachineManagementClientContext} client Reference to the service client.
|
|
1631
|
-
*/
|
|
1632
|
-
function SqlVirtualMachineGroups(client) {
|
|
1633
|
-
this.client = client;
|
|
1634
|
-
}
|
|
1635
|
-
SqlVirtualMachineGroups.prototype.get = function (resourceGroupName, sqlVirtualMachineGroupName, options, callback) {
|
|
1636
|
-
return this.client.sendOperationRequest({
|
|
1637
|
-
resourceGroupName: resourceGroupName,
|
|
1638
|
-
sqlVirtualMachineGroupName: sqlVirtualMachineGroupName,
|
|
1639
|
-
options: options
|
|
1640
|
-
}, getOperationSpec$1, callback);
|
|
1641
|
-
};
|
|
1642
|
-
/**
|
|
1643
|
-
* Creates or updates a SQL virtual machine group.
|
|
1644
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1645
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1646
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1647
|
-
* @param parameters The SQL virtual machine group.
|
|
1648
|
-
* @param [options] The optional parameters
|
|
1649
|
-
* @returns Promise<Models.SqlVirtualMachineGroupsCreateOrUpdateResponse>
|
|
1650
|
-
*/
|
|
1651
|
-
SqlVirtualMachineGroups.prototype.createOrUpdate = function (resourceGroupName, sqlVirtualMachineGroupName, parameters, options) {
|
|
1652
|
-
return this.beginCreateOrUpdate(resourceGroupName, sqlVirtualMachineGroupName, parameters, options)
|
|
1653
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1654
|
-
};
|
|
1655
|
-
/**
|
|
1656
|
-
* Deletes a SQL virtual machine group.
|
|
1657
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1658
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1659
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1660
|
-
* @param [options] The optional parameters
|
|
1661
|
-
* @returns Promise<msRest.RestResponse>
|
|
1662
|
-
*/
|
|
1663
|
-
SqlVirtualMachineGroups.prototype.deleteMethod = function (resourceGroupName, sqlVirtualMachineGroupName, options) {
|
|
1664
|
-
return this.beginDeleteMethod(resourceGroupName, sqlVirtualMachineGroupName, options)
|
|
1665
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1666
|
-
};
|
|
1667
|
-
/**
|
|
1668
|
-
* Updates SQL virtual machine group tags.
|
|
1669
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1670
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1671
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1672
|
-
* @param parameters The SQL virtual machine group.
|
|
1673
|
-
* @param [options] The optional parameters
|
|
1674
|
-
* @returns Promise<Models.SqlVirtualMachineGroupsUpdateResponse>
|
|
1675
|
-
*/
|
|
1676
|
-
SqlVirtualMachineGroups.prototype.update = function (resourceGroupName, sqlVirtualMachineGroupName, parameters, options) {
|
|
1677
|
-
return this.beginUpdate(resourceGroupName, sqlVirtualMachineGroupName, parameters, options)
|
|
1678
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1679
|
-
};
|
|
1680
|
-
SqlVirtualMachineGroups.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
1681
|
-
return this.client.sendOperationRequest({
|
|
1682
|
-
resourceGroupName: resourceGroupName,
|
|
1683
|
-
options: options
|
|
1684
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
1685
|
-
};
|
|
1686
|
-
SqlVirtualMachineGroups.prototype.list = function (options, callback) {
|
|
1687
|
-
return this.client.sendOperationRequest({
|
|
1688
|
-
options: options
|
|
1689
|
-
}, listOperationSpec$1, callback);
|
|
1690
|
-
};
|
|
1691
|
-
/**
|
|
1692
|
-
* Creates or updates a SQL virtual machine group.
|
|
1693
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1694
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1695
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1696
|
-
* @param parameters The SQL virtual machine group.
|
|
1697
|
-
* @param [options] The optional parameters
|
|
1698
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1699
|
-
*/
|
|
1700
|
-
SqlVirtualMachineGroups.prototype.beginCreateOrUpdate = function (resourceGroupName, sqlVirtualMachineGroupName, parameters, options) {
|
|
1701
|
-
return this.client.sendLRORequest({
|
|
1702
|
-
resourceGroupName: resourceGroupName,
|
|
1703
|
-
sqlVirtualMachineGroupName: sqlVirtualMachineGroupName,
|
|
1704
|
-
parameters: parameters,
|
|
1705
|
-
options: options
|
|
1706
|
-
}, beginCreateOrUpdateOperationSpec$1, options);
|
|
1707
|
-
};
|
|
1708
|
-
/**
|
|
1709
|
-
* Deletes a SQL virtual machine group.
|
|
1710
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1711
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1712
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1713
|
-
* @param [options] The optional parameters
|
|
1714
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1715
|
-
*/
|
|
1716
|
-
SqlVirtualMachineGroups.prototype.beginDeleteMethod = function (resourceGroupName, sqlVirtualMachineGroupName, options) {
|
|
1717
|
-
return this.client.sendLRORequest({
|
|
1718
|
-
resourceGroupName: resourceGroupName,
|
|
1719
|
-
sqlVirtualMachineGroupName: sqlVirtualMachineGroupName,
|
|
1720
|
-
options: options
|
|
1721
|
-
}, beginDeleteMethodOperationSpec$1, options);
|
|
1722
|
-
};
|
|
1723
|
-
/**
|
|
1724
|
-
* Updates SQL virtual machine group tags.
|
|
1725
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1726
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1727
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1728
|
-
* @param parameters The SQL virtual machine group.
|
|
1729
|
-
* @param [options] The optional parameters
|
|
1730
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1731
|
-
*/
|
|
1732
|
-
SqlVirtualMachineGroups.prototype.beginUpdate = function (resourceGroupName, sqlVirtualMachineGroupName, parameters, options) {
|
|
1733
|
-
return this.client.sendLRORequest({
|
|
1734
|
-
resourceGroupName: resourceGroupName,
|
|
1735
|
-
sqlVirtualMachineGroupName: sqlVirtualMachineGroupName,
|
|
1736
|
-
parameters: parameters,
|
|
1737
|
-
options: options
|
|
1738
|
-
}, beginUpdateOperationSpec, options);
|
|
1739
|
-
};
|
|
1740
|
-
SqlVirtualMachineGroups.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
1741
|
-
return this.client.sendOperationRequest({
|
|
1742
|
-
nextPageLink: nextPageLink,
|
|
1743
|
-
options: options
|
|
1744
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
1745
|
-
};
|
|
1746
|
-
SqlVirtualMachineGroups.prototype.listNext = function (nextPageLink, options, callback) {
|
|
1747
|
-
return this.client.sendOperationRequest({
|
|
1748
|
-
nextPageLink: nextPageLink,
|
|
1749
|
-
options: options
|
|
1750
|
-
}, listNextOperationSpec$1, callback);
|
|
1751
|
-
};
|
|
1752
|
-
return SqlVirtualMachineGroups;
|
|
1753
|
-
}());
|
|
1754
|
-
// Operation Specifications
|
|
1755
|
-
var serializer$2 = new msRest.Serializer(Mappers$2);
|
|
1756
|
-
var getOperationSpec$1 = {
|
|
1757
|
-
httpMethod: "GET",
|
|
1758
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}",
|
|
1759
|
-
urlParameters: [
|
|
1760
|
-
resourceGroupName,
|
|
1761
|
-
sqlVirtualMachineGroupName,
|
|
1762
|
-
subscriptionId
|
|
1763
|
-
],
|
|
1764
|
-
queryParameters: [
|
|
1765
|
-
apiVersion
|
|
1766
|
-
],
|
|
1767
|
-
headerParameters: [
|
|
1768
|
-
acceptLanguage
|
|
1769
|
-
],
|
|
1770
|
-
responses: {
|
|
1771
|
-
200: {
|
|
1772
|
-
bodyMapper: SqlVirtualMachineGroup
|
|
1773
|
-
},
|
|
1774
|
-
default: {
|
|
1775
|
-
bodyMapper: CloudError
|
|
1776
|
-
}
|
|
1777
|
-
},
|
|
1778
|
-
serializer: serializer$2
|
|
1779
|
-
};
|
|
1780
|
-
var listByResourceGroupOperationSpec = {
|
|
1781
|
-
httpMethod: "GET",
|
|
1782
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups",
|
|
1783
|
-
urlParameters: [
|
|
1784
|
-
resourceGroupName,
|
|
1785
|
-
subscriptionId
|
|
1786
|
-
],
|
|
1787
|
-
queryParameters: [
|
|
1788
|
-
apiVersion
|
|
1789
|
-
],
|
|
1790
|
-
headerParameters: [
|
|
1791
|
-
acceptLanguage
|
|
1792
|
-
],
|
|
1793
|
-
responses: {
|
|
1794
|
-
200: {
|
|
1795
|
-
bodyMapper: SqlVirtualMachineGroupListResult
|
|
1796
|
-
},
|
|
1797
|
-
default: {
|
|
1798
|
-
bodyMapper: CloudError
|
|
1799
|
-
}
|
|
1800
|
-
},
|
|
1801
|
-
serializer: serializer$2
|
|
1802
|
-
};
|
|
1803
|
-
var listOperationSpec$1 = {
|
|
1804
|
-
httpMethod: "GET",
|
|
1805
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups",
|
|
1806
|
-
urlParameters: [
|
|
1807
|
-
subscriptionId
|
|
1808
|
-
],
|
|
1809
|
-
queryParameters: [
|
|
1810
|
-
apiVersion
|
|
1811
|
-
],
|
|
1812
|
-
headerParameters: [
|
|
1813
|
-
acceptLanguage
|
|
1814
|
-
],
|
|
1815
|
-
responses: {
|
|
1816
|
-
200: {
|
|
1817
|
-
bodyMapper: SqlVirtualMachineGroupListResult
|
|
1818
|
-
},
|
|
1819
|
-
default: {
|
|
1820
|
-
bodyMapper: CloudError
|
|
1821
|
-
}
|
|
1822
|
-
},
|
|
1823
|
-
serializer: serializer$2
|
|
1824
|
-
};
|
|
1825
|
-
var beginCreateOrUpdateOperationSpec$1 = {
|
|
1826
|
-
httpMethod: "PUT",
|
|
1827
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}",
|
|
1828
|
-
urlParameters: [
|
|
1829
|
-
resourceGroupName,
|
|
1830
|
-
sqlVirtualMachineGroupName,
|
|
1831
|
-
subscriptionId
|
|
1832
|
-
],
|
|
1833
|
-
queryParameters: [
|
|
1834
|
-
apiVersion
|
|
1835
|
-
],
|
|
1836
|
-
headerParameters: [
|
|
1837
|
-
acceptLanguage
|
|
1838
|
-
],
|
|
1839
|
-
requestBody: {
|
|
1840
|
-
parameterPath: "parameters",
|
|
1841
|
-
mapper: __assign(__assign({}, SqlVirtualMachineGroup), { required: true })
|
|
1842
|
-
},
|
|
1843
|
-
responses: {
|
|
1844
|
-
200: {
|
|
1845
|
-
bodyMapper: SqlVirtualMachineGroup
|
|
1846
|
-
},
|
|
1847
|
-
201: {
|
|
1848
|
-
bodyMapper: SqlVirtualMachineGroup
|
|
1849
|
-
},
|
|
1850
|
-
default: {
|
|
1851
|
-
bodyMapper: CloudError
|
|
1852
|
-
}
|
|
1853
|
-
},
|
|
1854
|
-
serializer: serializer$2
|
|
1855
|
-
};
|
|
1856
|
-
var beginDeleteMethodOperationSpec$1 = {
|
|
1857
|
-
httpMethod: "DELETE",
|
|
1858
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}",
|
|
1859
|
-
urlParameters: [
|
|
1860
|
-
resourceGroupName,
|
|
1861
|
-
sqlVirtualMachineGroupName,
|
|
1862
|
-
subscriptionId
|
|
1863
|
-
],
|
|
1864
|
-
queryParameters: [
|
|
1865
|
-
apiVersion
|
|
1866
|
-
],
|
|
1867
|
-
headerParameters: [
|
|
1868
|
-
acceptLanguage
|
|
1869
|
-
],
|
|
1870
|
-
responses: {
|
|
1871
|
-
200: {},
|
|
1872
|
-
202: {},
|
|
1873
|
-
204: {},
|
|
1874
|
-
default: {
|
|
1875
|
-
bodyMapper: CloudError
|
|
1876
|
-
}
|
|
1877
|
-
},
|
|
1878
|
-
serializer: serializer$2
|
|
1879
|
-
};
|
|
1880
|
-
var beginUpdateOperationSpec = {
|
|
1881
|
-
httpMethod: "PATCH",
|
|
1882
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}",
|
|
1883
|
-
urlParameters: [
|
|
1884
|
-
resourceGroupName,
|
|
1885
|
-
sqlVirtualMachineGroupName,
|
|
1886
|
-
subscriptionId
|
|
1887
|
-
],
|
|
1888
|
-
queryParameters: [
|
|
1889
|
-
apiVersion
|
|
1890
|
-
],
|
|
1891
|
-
headerParameters: [
|
|
1892
|
-
acceptLanguage
|
|
1893
|
-
],
|
|
1894
|
-
requestBody: {
|
|
1895
|
-
parameterPath: "parameters",
|
|
1896
|
-
mapper: __assign(__assign({}, SqlVirtualMachineGroupUpdate), { required: true })
|
|
1897
|
-
},
|
|
1898
|
-
responses: {
|
|
1899
|
-
200: {
|
|
1900
|
-
bodyMapper: SqlVirtualMachineGroup
|
|
1901
|
-
},
|
|
1902
|
-
default: {
|
|
1903
|
-
bodyMapper: CloudError
|
|
1904
|
-
}
|
|
1905
|
-
},
|
|
1906
|
-
serializer: serializer$2
|
|
1907
|
-
};
|
|
1908
|
-
var listByResourceGroupNextOperationSpec = {
|
|
1909
|
-
httpMethod: "GET",
|
|
1910
|
-
baseUrl: "https://management.azure.com",
|
|
1911
|
-
path: "{nextLink}",
|
|
1912
|
-
urlParameters: [
|
|
1913
|
-
nextPageLink
|
|
1914
|
-
],
|
|
1915
|
-
headerParameters: [
|
|
1916
|
-
acceptLanguage
|
|
1917
|
-
],
|
|
1918
|
-
responses: {
|
|
1919
|
-
200: {
|
|
1920
|
-
bodyMapper: SqlVirtualMachineGroupListResult
|
|
1921
|
-
},
|
|
1922
|
-
default: {
|
|
1923
|
-
bodyMapper: CloudError
|
|
1924
|
-
}
|
|
1925
|
-
},
|
|
1926
|
-
serializer: serializer$2
|
|
1927
|
-
};
|
|
1928
|
-
var listNextOperationSpec$1 = {
|
|
1929
|
-
httpMethod: "GET",
|
|
1930
|
-
baseUrl: "https://management.azure.com",
|
|
1931
|
-
path: "{nextLink}",
|
|
1932
|
-
urlParameters: [
|
|
1933
|
-
nextPageLink
|
|
1934
|
-
],
|
|
1935
|
-
headerParameters: [
|
|
1936
|
-
acceptLanguage
|
|
1937
|
-
],
|
|
1938
|
-
responses: {
|
|
1939
|
-
200: {
|
|
1940
|
-
bodyMapper: SqlVirtualMachineGroupListResult
|
|
1941
|
-
},
|
|
1942
|
-
default: {
|
|
1943
|
-
bodyMapper: CloudError
|
|
1944
|
-
}
|
|
1945
|
-
},
|
|
1946
|
-
serializer: serializer$2
|
|
1947
|
-
};
|
|
1948
|
-
|
|
1949
|
-
/*
|
|
1950
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1951
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1952
|
-
*
|
|
1953
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1954
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1955
|
-
*/
|
|
1956
|
-
|
|
1957
|
-
var Mappers$3 = /*#__PURE__*/Object.freeze({
|
|
1958
|
-
__proto__: null,
|
|
1959
|
-
AdditionalFeaturesServerConfigurations: AdditionalFeaturesServerConfigurations,
|
|
1960
|
-
AutoBackupSettings: AutoBackupSettings,
|
|
1961
|
-
AutoPatchingSettings: AutoPatchingSettings,
|
|
1962
|
-
AvailabilityGroupListener: AvailabilityGroupListener,
|
|
1963
|
-
BaseResource: BaseResource,
|
|
1964
|
-
CloudError: CloudError,
|
|
1965
|
-
KeyVaultCredentialSettings: KeyVaultCredentialSettings,
|
|
1966
|
-
LoadBalancerConfiguration: LoadBalancerConfiguration,
|
|
1967
|
-
PrivateIPAddress: PrivateIPAddress,
|
|
1968
|
-
ProxyResource: ProxyResource,
|
|
1969
|
-
Resource: Resource,
|
|
1970
|
-
ResourceIdentity: ResourceIdentity,
|
|
1971
|
-
ServerConfigurationsManagementSettings: ServerConfigurationsManagementSettings,
|
|
1972
|
-
SqlConnectivityUpdateSettings: SqlConnectivityUpdateSettings,
|
|
1973
|
-
SQLStorageSettings: SQLStorageSettings,
|
|
1974
|
-
SqlStorageUpdateSettings: SqlStorageUpdateSettings,
|
|
1975
|
-
SqlVirtualMachine: SqlVirtualMachine,
|
|
1976
|
-
SqlVirtualMachineGroup: SqlVirtualMachineGroup,
|
|
1977
|
-
SqlVirtualMachineListResult: SqlVirtualMachineListResult,
|
|
1978
|
-
SqlVirtualMachineUpdate: SqlVirtualMachineUpdate,
|
|
1979
|
-
SqlWorkloadTypeUpdateSettings: SqlWorkloadTypeUpdateSettings,
|
|
1980
|
-
StorageConfigurationSettings: StorageConfigurationSettings,
|
|
1981
|
-
TrackedResource: TrackedResource,
|
|
1982
|
-
WsfcDomainCredentials: WsfcDomainCredentials,
|
|
1983
|
-
WsfcDomainProfile: WsfcDomainProfile
|
|
1984
|
-
});
|
|
1985
|
-
|
|
1986
|
-
/*
|
|
1987
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1988
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1989
|
-
* license information.
|
|
1990
|
-
*
|
|
1991
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1992
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1993
|
-
* regenerated.
|
|
1994
|
-
*/
|
|
1995
|
-
/** Class representing a SqlVirtualMachines. */
|
|
1996
|
-
var SqlVirtualMachines = /** @class */ (function () {
|
|
1997
|
-
/**
|
|
1998
|
-
* Create a SqlVirtualMachines.
|
|
1999
|
-
* @param {SqlVirtualMachineManagementClientContext} client Reference to the service client.
|
|
2000
|
-
*/
|
|
2001
|
-
function SqlVirtualMachines(client) {
|
|
2002
|
-
this.client = client;
|
|
2003
|
-
}
|
|
2004
|
-
SqlVirtualMachines.prototype.listBySqlVmGroup = function (resourceGroupName, sqlVirtualMachineGroupName, options, callback) {
|
|
2005
|
-
return this.client.sendOperationRequest({
|
|
2006
|
-
resourceGroupName: resourceGroupName,
|
|
2007
|
-
sqlVirtualMachineGroupName: sqlVirtualMachineGroupName,
|
|
2008
|
-
options: options
|
|
2009
|
-
}, listBySqlVmGroupOperationSpec, callback);
|
|
2010
|
-
};
|
|
2011
|
-
SqlVirtualMachines.prototype.list = function (options, callback) {
|
|
2012
|
-
return this.client.sendOperationRequest({
|
|
2013
|
-
options: options
|
|
2014
|
-
}, listOperationSpec$2, callback);
|
|
2015
|
-
};
|
|
2016
|
-
SqlVirtualMachines.prototype.get = function (resourceGroupName, sqlVirtualMachineName, options, callback) {
|
|
2017
|
-
return this.client.sendOperationRequest({
|
|
2018
|
-
resourceGroupName: resourceGroupName,
|
|
2019
|
-
sqlVirtualMachineName: sqlVirtualMachineName,
|
|
2020
|
-
options: options
|
|
2021
|
-
}, getOperationSpec$2, callback);
|
|
2022
|
-
};
|
|
2023
|
-
/**
|
|
2024
|
-
* Creates or updates a SQL virtual machine.
|
|
2025
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
2026
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
2027
|
-
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
2028
|
-
* @param parameters The SQL virtual machine.
|
|
2029
|
-
* @param [options] The optional parameters
|
|
2030
|
-
* @returns Promise<Models.SqlVirtualMachinesCreateOrUpdateResponse>
|
|
2031
|
-
*/
|
|
2032
|
-
SqlVirtualMachines.prototype.createOrUpdate = function (resourceGroupName, sqlVirtualMachineName, parameters, options) {
|
|
2033
|
-
return this.beginCreateOrUpdate(resourceGroupName, sqlVirtualMachineName, parameters, options)
|
|
2034
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2035
|
-
};
|
|
2036
|
-
/**
|
|
2037
|
-
* Deletes a SQL virtual machine.
|
|
2038
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
2039
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
2040
|
-
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
2041
|
-
* @param [options] The optional parameters
|
|
2042
|
-
* @returns Promise<msRest.RestResponse>
|
|
2043
|
-
*/
|
|
2044
|
-
SqlVirtualMachines.prototype.deleteMethod = function (resourceGroupName, sqlVirtualMachineName, options) {
|
|
2045
|
-
return this.beginDeleteMethod(resourceGroupName, sqlVirtualMachineName, options)
|
|
2046
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2047
|
-
};
|
|
2048
|
-
/**
|
|
2049
|
-
* Updates a SQL virtual machine.
|
|
2050
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
2051
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
2052
|
-
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
2053
|
-
* @param parameters The SQL virtual machine.
|
|
2054
|
-
* @param [options] The optional parameters
|
|
2055
|
-
* @returns Promise<Models.SqlVirtualMachinesUpdateResponse>
|
|
2056
|
-
*/
|
|
2057
|
-
SqlVirtualMachines.prototype.update = function (resourceGroupName, sqlVirtualMachineName, parameters, options) {
|
|
2058
|
-
return this.beginUpdate(resourceGroupName, sqlVirtualMachineName, parameters, options)
|
|
2059
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2060
|
-
};
|
|
2061
|
-
SqlVirtualMachines.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
2062
|
-
return this.client.sendOperationRequest({
|
|
2063
|
-
resourceGroupName: resourceGroupName,
|
|
2064
|
-
options: options
|
|
2065
|
-
}, listByResourceGroupOperationSpec$1, callback);
|
|
2066
|
-
};
|
|
2067
|
-
/**
|
|
2068
|
-
* Creates or updates a SQL virtual machine.
|
|
2069
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
2070
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
2071
|
-
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
2072
|
-
* @param parameters The SQL virtual machine.
|
|
2073
|
-
* @param [options] The optional parameters
|
|
2074
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2075
|
-
*/
|
|
2076
|
-
SqlVirtualMachines.prototype.beginCreateOrUpdate = function (resourceGroupName, sqlVirtualMachineName, parameters, options) {
|
|
2077
|
-
return this.client.sendLRORequest({
|
|
2078
|
-
resourceGroupName: resourceGroupName,
|
|
2079
|
-
sqlVirtualMachineName: sqlVirtualMachineName,
|
|
2080
|
-
parameters: parameters,
|
|
2081
|
-
options: options
|
|
2082
|
-
}, beginCreateOrUpdateOperationSpec$2, options);
|
|
2083
|
-
};
|
|
2084
|
-
/**
|
|
2085
|
-
* Deletes a SQL virtual machine.
|
|
2086
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
2087
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
2088
|
-
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
2089
|
-
* @param [options] The optional parameters
|
|
2090
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2091
|
-
*/
|
|
2092
|
-
SqlVirtualMachines.prototype.beginDeleteMethod = function (resourceGroupName, sqlVirtualMachineName, options) {
|
|
2093
|
-
return this.client.sendLRORequest({
|
|
2094
|
-
resourceGroupName: resourceGroupName,
|
|
2095
|
-
sqlVirtualMachineName: sqlVirtualMachineName,
|
|
2096
|
-
options: options
|
|
2097
|
-
}, beginDeleteMethodOperationSpec$2, options);
|
|
2098
|
-
};
|
|
2099
|
-
/**
|
|
2100
|
-
* Updates a SQL virtual machine.
|
|
2101
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
2102
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
2103
|
-
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
2104
|
-
* @param parameters The SQL virtual machine.
|
|
2105
|
-
* @param [options] The optional parameters
|
|
2106
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2107
|
-
*/
|
|
2108
|
-
SqlVirtualMachines.prototype.beginUpdate = function (resourceGroupName, sqlVirtualMachineName, parameters, options) {
|
|
2109
|
-
return this.client.sendLRORequest({
|
|
2110
|
-
resourceGroupName: resourceGroupName,
|
|
2111
|
-
sqlVirtualMachineName: sqlVirtualMachineName,
|
|
2112
|
-
parameters: parameters,
|
|
2113
|
-
options: options
|
|
2114
|
-
}, beginUpdateOperationSpec$1, options);
|
|
2115
|
-
};
|
|
2116
|
-
SqlVirtualMachines.prototype.listBySqlVmGroupNext = function (nextPageLink, options, callback) {
|
|
2117
|
-
return this.client.sendOperationRequest({
|
|
2118
|
-
nextPageLink: nextPageLink,
|
|
2119
|
-
options: options
|
|
2120
|
-
}, listBySqlVmGroupNextOperationSpec, callback);
|
|
2121
|
-
};
|
|
2122
|
-
SqlVirtualMachines.prototype.listNext = function (nextPageLink, options, callback) {
|
|
2123
|
-
return this.client.sendOperationRequest({
|
|
2124
|
-
nextPageLink: nextPageLink,
|
|
2125
|
-
options: options
|
|
2126
|
-
}, listNextOperationSpec$2, callback);
|
|
2127
|
-
};
|
|
2128
|
-
SqlVirtualMachines.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
2129
|
-
return this.client.sendOperationRequest({
|
|
2130
|
-
nextPageLink: nextPageLink,
|
|
2131
|
-
options: options
|
|
2132
|
-
}, listByResourceGroupNextOperationSpec$1, callback);
|
|
2133
|
-
};
|
|
2134
|
-
return SqlVirtualMachines;
|
|
2135
|
-
}());
|
|
2136
|
-
// Operation Specifications
|
|
2137
|
-
var serializer$3 = new msRest.Serializer(Mappers$3);
|
|
2138
|
-
var listBySqlVmGroupOperationSpec = {
|
|
2139
|
-
httpMethod: "GET",
|
|
2140
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/sqlVirtualMachines",
|
|
2141
|
-
urlParameters: [
|
|
2142
|
-
resourceGroupName,
|
|
2143
|
-
sqlVirtualMachineGroupName,
|
|
2144
|
-
subscriptionId
|
|
2145
|
-
],
|
|
2146
|
-
queryParameters: [
|
|
2147
|
-
apiVersion
|
|
2148
|
-
],
|
|
2149
|
-
headerParameters: [
|
|
2150
|
-
acceptLanguage
|
|
2151
|
-
],
|
|
2152
|
-
responses: {
|
|
2153
|
-
200: {
|
|
2154
|
-
bodyMapper: SqlVirtualMachineListResult
|
|
2155
|
-
},
|
|
2156
|
-
default: {
|
|
2157
|
-
bodyMapper: CloudError
|
|
2158
|
-
}
|
|
2159
|
-
},
|
|
2160
|
-
serializer: serializer$3
|
|
2161
|
-
};
|
|
2162
|
-
var listOperationSpec$2 = {
|
|
2163
|
-
httpMethod: "GET",
|
|
2164
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines",
|
|
2165
|
-
urlParameters: [
|
|
2166
|
-
subscriptionId
|
|
2167
|
-
],
|
|
2168
|
-
queryParameters: [
|
|
2169
|
-
apiVersion
|
|
2170
|
-
],
|
|
2171
|
-
headerParameters: [
|
|
2172
|
-
acceptLanguage
|
|
2173
|
-
],
|
|
2174
|
-
responses: {
|
|
2175
|
-
200: {
|
|
2176
|
-
bodyMapper: SqlVirtualMachineListResult
|
|
2177
|
-
},
|
|
2178
|
-
default: {
|
|
2179
|
-
bodyMapper: CloudError
|
|
2180
|
-
}
|
|
2181
|
-
},
|
|
2182
|
-
serializer: serializer$3
|
|
2183
|
-
};
|
|
2184
|
-
var getOperationSpec$2 = {
|
|
2185
|
-
httpMethod: "GET",
|
|
2186
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}",
|
|
2187
|
-
urlParameters: [
|
|
2188
|
-
resourceGroupName,
|
|
2189
|
-
sqlVirtualMachineName,
|
|
2190
|
-
subscriptionId
|
|
2191
|
-
],
|
|
2192
|
-
queryParameters: [
|
|
2193
|
-
expand,
|
|
2194
|
-
apiVersion
|
|
2195
|
-
],
|
|
2196
|
-
headerParameters: [
|
|
2197
|
-
acceptLanguage
|
|
2198
|
-
],
|
|
2199
|
-
responses: {
|
|
2200
|
-
200: {
|
|
2201
|
-
bodyMapper: SqlVirtualMachine
|
|
2202
|
-
},
|
|
2203
|
-
default: {
|
|
2204
|
-
bodyMapper: CloudError
|
|
2205
|
-
}
|
|
2206
|
-
},
|
|
2207
|
-
serializer: serializer$3
|
|
2208
|
-
};
|
|
2209
|
-
var listByResourceGroupOperationSpec$1 = {
|
|
2210
|
-
httpMethod: "GET",
|
|
2211
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines",
|
|
2212
|
-
urlParameters: [
|
|
2213
|
-
resourceGroupName,
|
|
2214
|
-
subscriptionId
|
|
2215
|
-
],
|
|
2216
|
-
queryParameters: [
|
|
2217
|
-
apiVersion
|
|
2218
|
-
],
|
|
2219
|
-
headerParameters: [
|
|
2220
|
-
acceptLanguage
|
|
2221
|
-
],
|
|
2222
|
-
responses: {
|
|
2223
|
-
200: {
|
|
2224
|
-
bodyMapper: SqlVirtualMachineListResult
|
|
2225
|
-
},
|
|
2226
|
-
default: {
|
|
2227
|
-
bodyMapper: CloudError
|
|
2228
|
-
}
|
|
2229
|
-
},
|
|
2230
|
-
serializer: serializer$3
|
|
2231
|
-
};
|
|
2232
|
-
var beginCreateOrUpdateOperationSpec$2 = {
|
|
2233
|
-
httpMethod: "PUT",
|
|
2234
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}",
|
|
2235
|
-
urlParameters: [
|
|
2236
|
-
resourceGroupName,
|
|
2237
|
-
sqlVirtualMachineName,
|
|
2238
|
-
subscriptionId
|
|
2239
|
-
],
|
|
2240
|
-
queryParameters: [
|
|
2241
|
-
apiVersion
|
|
2242
|
-
],
|
|
2243
|
-
headerParameters: [
|
|
2244
|
-
acceptLanguage
|
|
2245
|
-
],
|
|
2246
|
-
requestBody: {
|
|
2247
|
-
parameterPath: "parameters",
|
|
2248
|
-
mapper: __assign(__assign({}, SqlVirtualMachine), { required: true })
|
|
2249
|
-
},
|
|
2250
|
-
responses: {
|
|
2251
|
-
200: {
|
|
2252
|
-
bodyMapper: SqlVirtualMachine
|
|
2253
|
-
},
|
|
2254
|
-
201: {
|
|
2255
|
-
bodyMapper: SqlVirtualMachine
|
|
2256
|
-
},
|
|
2257
|
-
default: {
|
|
2258
|
-
bodyMapper: CloudError
|
|
2259
|
-
}
|
|
2260
|
-
},
|
|
2261
|
-
serializer: serializer$3
|
|
2262
|
-
};
|
|
2263
|
-
var beginDeleteMethodOperationSpec$2 = {
|
|
2264
|
-
httpMethod: "DELETE",
|
|
2265
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}",
|
|
2266
|
-
urlParameters: [
|
|
2267
|
-
resourceGroupName,
|
|
2268
|
-
sqlVirtualMachineName,
|
|
2269
|
-
subscriptionId
|
|
2270
|
-
],
|
|
2271
|
-
queryParameters: [
|
|
2272
|
-
apiVersion
|
|
2273
|
-
],
|
|
2274
|
-
headerParameters: [
|
|
2275
|
-
acceptLanguage
|
|
2276
|
-
],
|
|
2277
|
-
responses: {
|
|
2278
|
-
200: {},
|
|
2279
|
-
202: {},
|
|
2280
|
-
204: {},
|
|
2281
|
-
default: {
|
|
2282
|
-
bodyMapper: CloudError
|
|
2283
|
-
}
|
|
2284
|
-
},
|
|
2285
|
-
serializer: serializer$3
|
|
2286
|
-
};
|
|
2287
|
-
var beginUpdateOperationSpec$1 = {
|
|
2288
|
-
httpMethod: "PATCH",
|
|
2289
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}",
|
|
2290
|
-
urlParameters: [
|
|
2291
|
-
resourceGroupName,
|
|
2292
|
-
sqlVirtualMachineName,
|
|
2293
|
-
subscriptionId
|
|
2294
|
-
],
|
|
2295
|
-
queryParameters: [
|
|
2296
|
-
apiVersion
|
|
2297
|
-
],
|
|
2298
|
-
headerParameters: [
|
|
2299
|
-
acceptLanguage
|
|
2300
|
-
],
|
|
2301
|
-
requestBody: {
|
|
2302
|
-
parameterPath: "parameters",
|
|
2303
|
-
mapper: __assign(__assign({}, SqlVirtualMachineUpdate), { required: true })
|
|
2304
|
-
},
|
|
2305
|
-
responses: {
|
|
2306
|
-
200: {
|
|
2307
|
-
bodyMapper: SqlVirtualMachine
|
|
2308
|
-
},
|
|
2309
|
-
default: {
|
|
2310
|
-
bodyMapper: CloudError
|
|
2311
|
-
}
|
|
2312
|
-
},
|
|
2313
|
-
serializer: serializer$3
|
|
2314
|
-
};
|
|
2315
|
-
var listBySqlVmGroupNextOperationSpec = {
|
|
2316
|
-
httpMethod: "GET",
|
|
2317
|
-
baseUrl: "https://management.azure.com",
|
|
2318
|
-
path: "{nextLink}",
|
|
2319
|
-
urlParameters: [
|
|
2320
|
-
nextPageLink
|
|
2321
|
-
],
|
|
2322
|
-
headerParameters: [
|
|
2323
|
-
acceptLanguage
|
|
2324
|
-
],
|
|
2325
|
-
responses: {
|
|
2326
|
-
200: {
|
|
2327
|
-
bodyMapper: SqlVirtualMachineListResult
|
|
2328
|
-
},
|
|
2329
|
-
default: {
|
|
2330
|
-
bodyMapper: CloudError
|
|
2331
|
-
}
|
|
2332
|
-
},
|
|
2333
|
-
serializer: serializer$3
|
|
2334
|
-
};
|
|
2335
|
-
var listNextOperationSpec$2 = {
|
|
2336
|
-
httpMethod: "GET",
|
|
2337
|
-
baseUrl: "https://management.azure.com",
|
|
2338
|
-
path: "{nextLink}",
|
|
2339
|
-
urlParameters: [
|
|
2340
|
-
nextPageLink
|
|
2341
|
-
],
|
|
2342
|
-
headerParameters: [
|
|
2343
|
-
acceptLanguage
|
|
2344
|
-
],
|
|
2345
|
-
responses: {
|
|
2346
|
-
200: {
|
|
2347
|
-
bodyMapper: SqlVirtualMachineListResult
|
|
2348
|
-
},
|
|
2349
|
-
default: {
|
|
2350
|
-
bodyMapper: CloudError
|
|
2351
|
-
}
|
|
2352
|
-
},
|
|
2353
|
-
serializer: serializer$3
|
|
2354
|
-
};
|
|
2355
|
-
var listByResourceGroupNextOperationSpec$1 = {
|
|
2356
|
-
httpMethod: "GET",
|
|
2357
|
-
baseUrl: "https://management.azure.com",
|
|
2358
|
-
path: "{nextLink}",
|
|
2359
|
-
urlParameters: [
|
|
2360
|
-
nextPageLink
|
|
2361
|
-
],
|
|
2362
|
-
headerParameters: [
|
|
2363
|
-
acceptLanguage
|
|
2364
|
-
],
|
|
2365
|
-
responses: {
|
|
2366
|
-
200: {
|
|
2367
|
-
bodyMapper: SqlVirtualMachineListResult
|
|
2368
|
-
},
|
|
2369
|
-
default: {
|
|
2370
|
-
bodyMapper: CloudError
|
|
2371
|
-
}
|
|
2372
|
-
},
|
|
2373
|
-
serializer: serializer$3
|
|
2374
|
-
};
|
|
2375
|
-
|
|
2376
|
-
/*
|
|
2377
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2378
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
2379
|
-
* license information.
|
|
2380
|
-
*
|
|
2381
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2382
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2383
|
-
* regenerated.
|
|
2384
|
-
*/
|
|
2385
|
-
var packageName = "@azure/arm-sqlvirtualmachine";
|
|
2386
|
-
var packageVersion = "4.1.1";
|
|
2387
|
-
var SqlVirtualMachineManagementClientContext = /** @class */ (function (_super) {
|
|
2388
|
-
__extends(SqlVirtualMachineManagementClientContext, _super);
|
|
2389
|
-
/**
|
|
2390
|
-
* Initializes a new instance of the SqlVirtualMachineManagementClient class.
|
|
2391
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
2392
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
2393
|
-
* more information about these credentials, see
|
|
2394
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
2395
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
2396
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
2397
|
-
* @param subscriptionId Subscription ID that identifies an Azure subscription.
|
|
2398
|
-
* @param [options] The parameter options
|
|
2399
|
-
*/
|
|
2400
|
-
function SqlVirtualMachineManagementClientContext(credentials, subscriptionId, options) {
|
|
2401
|
-
var _this = this;
|
|
2402
|
-
if (credentials == undefined) {
|
|
2403
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
2404
|
-
}
|
|
2405
|
-
if (subscriptionId == undefined) {
|
|
2406
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
2407
|
-
}
|
|
2408
|
-
if (!options) {
|
|
2409
|
-
options = {};
|
|
2410
|
-
}
|
|
2411
|
-
if (!options.userAgent) {
|
|
2412
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
2413
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
2414
|
-
}
|
|
2415
|
-
_this = _super.call(this, credentials, options) || this;
|
|
2416
|
-
_this.apiVersion = '2017-03-01-preview';
|
|
2417
|
-
_this.acceptLanguage = 'en-US';
|
|
2418
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
2419
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
2420
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
2421
|
-
_this.credentials = credentials;
|
|
2422
|
-
_this.subscriptionId = subscriptionId;
|
|
2423
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
2424
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
2425
|
-
}
|
|
2426
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
2427
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
2428
|
-
}
|
|
2429
|
-
return _this;
|
|
2430
|
-
}
|
|
2431
|
-
return SqlVirtualMachineManagementClientContext;
|
|
2432
|
-
}(msRestAzure.AzureServiceClient));
|
|
2433
|
-
|
|
2434
|
-
/*
|
|
2435
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2436
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
2437
|
-
* license information.
|
|
2438
|
-
*
|
|
2439
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2440
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2441
|
-
* regenerated.
|
|
2442
|
-
*/
|
|
2443
|
-
var SqlVirtualMachineManagementClient = /** @class */ (function (_super) {
|
|
2444
|
-
__extends(SqlVirtualMachineManagementClient, _super);
|
|
2445
|
-
/**
|
|
2446
|
-
* Initializes a new instance of the SqlVirtualMachineManagementClient class.
|
|
2447
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
2448
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
2449
|
-
* more information about these credentials, see
|
|
2450
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
2451
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
2452
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
2453
|
-
* @param subscriptionId Subscription ID that identifies an Azure subscription.
|
|
2454
|
-
* @param [options] The parameter options
|
|
2455
|
-
*/
|
|
2456
|
-
function SqlVirtualMachineManagementClient(credentials, subscriptionId, options) {
|
|
2457
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
|
2458
|
-
_this.availabilityGroupListeners = new AvailabilityGroupListeners(_this);
|
|
2459
|
-
_this.operations = new Operations(_this);
|
|
2460
|
-
_this.sqlVirtualMachineGroups = new SqlVirtualMachineGroups(_this);
|
|
2461
|
-
_this.sqlVirtualMachines = new SqlVirtualMachines(_this);
|
|
2462
|
-
return _this;
|
|
2463
|
-
}
|
|
2464
|
-
return SqlVirtualMachineManagementClient;
|
|
2465
|
-
}(SqlVirtualMachineManagementClientContext));
|
|
2466
|
-
|
|
2467
|
-
exports.AvailabilityGroupListeners = AvailabilityGroupListeners;
|
|
2468
|
-
exports.Operations = Operations;
|
|
2469
|
-
exports.SqlVirtualMachineGroups = SqlVirtualMachineGroups;
|
|
2470
|
-
exports.SqlVirtualMachineManagementClient = SqlVirtualMachineManagementClient;
|
|
2471
|
-
exports.SqlVirtualMachineManagementClientContext = SqlVirtualMachineManagementClientContext;
|
|
2472
|
-
exports.SqlVirtualMachineManagementMappers = mappers;
|
|
2473
|
-
exports.SqlVirtualMachineManagementModels = index;
|
|
2474
|
-
exports.SqlVirtualMachines = SqlVirtualMachines;
|
|
2475
|
-
|
|
2476
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2477
|
-
|
|
2478
|
-
})));
|
|
2479
|
-
//# sourceMappingURL=arm-sqlvirtualmachine.js.map
|