@azure/arm-sqlvirtualmachine 3.1.0 → 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 +72 -78
- 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 +366 -340
- 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 -31
- 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 +641 -985
- package/src/models/mappers.ts +380 -351
- 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 +662 -336
- 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 -35
- package/tsconfig.json +4 -4
- package/types/arm-sqlvirtualmachine.d.ts +1141 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-sqlvirtualmachine.js +0 -2335
- 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 -1156
- 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 -31
- 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 -168
- package/esm/operations/sqlVirtualMachines.d.ts.map +0 -1
- package/esm/operations/sqlVirtualMachines.js +0 -338
- package/esm/operations/sqlVirtualMachines.js.map +0 -1
- package/esm/sqlVirtualMachineManagementClient.d.ts +0 -21
- package/esm/sqlVirtualMachineManagementClient.d.ts.map +0 -1
- package/esm/sqlVirtualMachineManagementClient.js +0 -36
- package/esm/sqlVirtualMachineManagementClient.js.map +0 -1
- package/esm/sqlVirtualMachineManagementClientContext.d.ts +0 -16
- package/esm/sqlVirtualMachineManagementClientContext.d.ts.map +0 -1
- package/esm/sqlVirtualMachineManagementClientContext.js +0 -56
- package/esm/sqlVirtualMachineManagementClientContext.js.map +0 -1
- package/src/models/availabilityGroupListenersMappers.ts +0 -32
- package/src/models/operationsMappers.ts +0 -14
- package/src/models/sqlVirtualMachineGroupsMappers.ts +0 -33
- package/src/models/sqlVirtualMachinesMappers.ts +0 -33
- package/src/sqlVirtualMachineManagementClientContext.ts +0 -62
|
@@ -1,2335 +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
|
-
(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. All rights reserved.
|
|
16
|
-
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
17
|
-
this file except in compliance with the License. You may obtain a copy of the
|
|
18
|
-
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
19
|
-
|
|
20
|
-
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
21
|
-
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
22
|
-
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
23
|
-
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
24
|
-
|
|
25
|
-
See the Apache Version 2.0 License for specific language governing permissions
|
|
26
|
-
and limitations under the License.
|
|
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
|
-
|
|
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({}, 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({}, 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({}, 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 SqlVirtualMachine = {
|
|
794
|
-
serializedName: "SqlVirtualMachine",
|
|
795
|
-
type: {
|
|
796
|
-
name: "Composite",
|
|
797
|
-
className: "SqlVirtualMachine",
|
|
798
|
-
modelProperties: __assign({}, TrackedResource.type.modelProperties, { identity: {
|
|
799
|
-
serializedName: "identity",
|
|
800
|
-
type: {
|
|
801
|
-
name: "Composite",
|
|
802
|
-
className: "ResourceIdentity"
|
|
803
|
-
}
|
|
804
|
-
}, virtualMachineResourceId: {
|
|
805
|
-
serializedName: "properties.virtualMachineResourceId",
|
|
806
|
-
type: {
|
|
807
|
-
name: "String"
|
|
808
|
-
}
|
|
809
|
-
}, provisioningState: {
|
|
810
|
-
readOnly: true,
|
|
811
|
-
serializedName: "properties.provisioningState",
|
|
812
|
-
type: {
|
|
813
|
-
name: "String"
|
|
814
|
-
}
|
|
815
|
-
}, sqlImageOffer: {
|
|
816
|
-
serializedName: "properties.sqlImageOffer",
|
|
817
|
-
type: {
|
|
818
|
-
name: "String"
|
|
819
|
-
}
|
|
820
|
-
}, sqlServerLicenseType: {
|
|
821
|
-
serializedName: "properties.sqlServerLicenseType",
|
|
822
|
-
type: {
|
|
823
|
-
name: "String"
|
|
824
|
-
}
|
|
825
|
-
}, sqlManagement: {
|
|
826
|
-
serializedName: "properties.sqlManagement",
|
|
827
|
-
type: {
|
|
828
|
-
name: "String"
|
|
829
|
-
}
|
|
830
|
-
}, sqlImageSku: {
|
|
831
|
-
serializedName: "properties.sqlImageSku",
|
|
832
|
-
type: {
|
|
833
|
-
name: "String"
|
|
834
|
-
}
|
|
835
|
-
}, sqlVirtualMachineGroupResourceId: {
|
|
836
|
-
serializedName: "properties.sqlVirtualMachineGroupResourceId",
|
|
837
|
-
type: {
|
|
838
|
-
name: "String"
|
|
839
|
-
}
|
|
840
|
-
}, wsfcDomainCredentials: {
|
|
841
|
-
serializedName: "properties.wsfcDomainCredentials",
|
|
842
|
-
type: {
|
|
843
|
-
name: "Composite",
|
|
844
|
-
className: "WsfcDomainCredentials"
|
|
845
|
-
}
|
|
846
|
-
}, autoPatchingSettings: {
|
|
847
|
-
serializedName: "properties.autoPatchingSettings",
|
|
848
|
-
type: {
|
|
849
|
-
name: "Composite",
|
|
850
|
-
className: "AutoPatchingSettings"
|
|
851
|
-
}
|
|
852
|
-
}, autoBackupSettings: {
|
|
853
|
-
serializedName: "properties.autoBackupSettings",
|
|
854
|
-
type: {
|
|
855
|
-
name: "Composite",
|
|
856
|
-
className: "AutoBackupSettings"
|
|
857
|
-
}
|
|
858
|
-
}, keyVaultCredentialSettings: {
|
|
859
|
-
serializedName: "properties.keyVaultCredentialSettings",
|
|
860
|
-
type: {
|
|
861
|
-
name: "Composite",
|
|
862
|
-
className: "KeyVaultCredentialSettings"
|
|
863
|
-
}
|
|
864
|
-
}, serverConfigurationsManagementSettings: {
|
|
865
|
-
serializedName: "properties.serverConfigurationsManagementSettings",
|
|
866
|
-
type: {
|
|
867
|
-
name: "Composite",
|
|
868
|
-
className: "ServerConfigurationsManagementSettings"
|
|
869
|
-
}
|
|
870
|
-
} })
|
|
871
|
-
}
|
|
872
|
-
};
|
|
873
|
-
var SqlVirtualMachineUpdate = {
|
|
874
|
-
serializedName: "SqlVirtualMachineUpdate",
|
|
875
|
-
type: {
|
|
876
|
-
name: "Composite",
|
|
877
|
-
className: "SqlVirtualMachineUpdate",
|
|
878
|
-
modelProperties: {
|
|
879
|
-
tags: {
|
|
880
|
-
serializedName: "tags",
|
|
881
|
-
type: {
|
|
882
|
-
name: "Dictionary",
|
|
883
|
-
value: {
|
|
884
|
-
type: {
|
|
885
|
-
name: "String"
|
|
886
|
-
}
|
|
887
|
-
}
|
|
888
|
-
}
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
|
-
}
|
|
892
|
-
};
|
|
893
|
-
var AvailabilityGroupListenerListResult = {
|
|
894
|
-
serializedName: "AvailabilityGroupListenerListResult",
|
|
895
|
-
type: {
|
|
896
|
-
name: "Composite",
|
|
897
|
-
className: "AvailabilityGroupListenerListResult",
|
|
898
|
-
modelProperties: {
|
|
899
|
-
value: {
|
|
900
|
-
readOnly: true,
|
|
901
|
-
serializedName: "",
|
|
902
|
-
type: {
|
|
903
|
-
name: "Sequence",
|
|
904
|
-
element: {
|
|
905
|
-
type: {
|
|
906
|
-
name: "Composite",
|
|
907
|
-
className: "AvailabilityGroupListener"
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
},
|
|
912
|
-
nextLink: {
|
|
913
|
-
readOnly: true,
|
|
914
|
-
serializedName: "nextLink",
|
|
915
|
-
type: {
|
|
916
|
-
name: "String"
|
|
917
|
-
}
|
|
918
|
-
}
|
|
919
|
-
}
|
|
920
|
-
}
|
|
921
|
-
};
|
|
922
|
-
var OperationListResult = {
|
|
923
|
-
serializedName: "OperationListResult",
|
|
924
|
-
type: {
|
|
925
|
-
name: "Composite",
|
|
926
|
-
className: "OperationListResult",
|
|
927
|
-
modelProperties: {
|
|
928
|
-
value: {
|
|
929
|
-
readOnly: true,
|
|
930
|
-
serializedName: "",
|
|
931
|
-
type: {
|
|
932
|
-
name: "Sequence",
|
|
933
|
-
element: {
|
|
934
|
-
type: {
|
|
935
|
-
name: "Composite",
|
|
936
|
-
className: "Operation"
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
}
|
|
940
|
-
},
|
|
941
|
-
nextLink: {
|
|
942
|
-
readOnly: true,
|
|
943
|
-
serializedName: "nextLink",
|
|
944
|
-
type: {
|
|
945
|
-
name: "String"
|
|
946
|
-
}
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
};
|
|
951
|
-
var SqlVirtualMachineGroupListResult = {
|
|
952
|
-
serializedName: "SqlVirtualMachineGroupListResult",
|
|
953
|
-
type: {
|
|
954
|
-
name: "Composite",
|
|
955
|
-
className: "SqlVirtualMachineGroupListResult",
|
|
956
|
-
modelProperties: {
|
|
957
|
-
value: {
|
|
958
|
-
readOnly: true,
|
|
959
|
-
serializedName: "",
|
|
960
|
-
type: {
|
|
961
|
-
name: "Sequence",
|
|
962
|
-
element: {
|
|
963
|
-
type: {
|
|
964
|
-
name: "Composite",
|
|
965
|
-
className: "SqlVirtualMachineGroup"
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
},
|
|
970
|
-
nextLink: {
|
|
971
|
-
readOnly: true,
|
|
972
|
-
serializedName: "nextLink",
|
|
973
|
-
type: {
|
|
974
|
-
name: "String"
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
}
|
|
979
|
-
};
|
|
980
|
-
var SqlVirtualMachineListResult = {
|
|
981
|
-
serializedName: "SqlVirtualMachineListResult",
|
|
982
|
-
type: {
|
|
983
|
-
name: "Composite",
|
|
984
|
-
className: "SqlVirtualMachineListResult",
|
|
985
|
-
modelProperties: {
|
|
986
|
-
value: {
|
|
987
|
-
readOnly: true,
|
|
988
|
-
serializedName: "",
|
|
989
|
-
type: {
|
|
990
|
-
name: "Sequence",
|
|
991
|
-
element: {
|
|
992
|
-
type: {
|
|
993
|
-
name: "Composite",
|
|
994
|
-
className: "SqlVirtualMachine"
|
|
995
|
-
}
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
},
|
|
999
|
-
nextLink: {
|
|
1000
|
-
readOnly: true,
|
|
1001
|
-
serializedName: "nextLink",
|
|
1002
|
-
type: {
|
|
1003
|
-
name: "String"
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
}
|
|
1008
|
-
};
|
|
1009
|
-
|
|
1010
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
|
1011
|
-
CloudError: CloudError,
|
|
1012
|
-
BaseResource: BaseResource,
|
|
1013
|
-
PrivateIPAddress: PrivateIPAddress,
|
|
1014
|
-
LoadBalancerConfiguration: LoadBalancerConfiguration,
|
|
1015
|
-
Resource: Resource,
|
|
1016
|
-
ProxyResource: ProxyResource,
|
|
1017
|
-
AvailabilityGroupListener: AvailabilityGroupListener,
|
|
1018
|
-
OperationDisplay: OperationDisplay,
|
|
1019
|
-
Operation: Operation,
|
|
1020
|
-
WsfcDomainProfile: WsfcDomainProfile,
|
|
1021
|
-
TrackedResource: TrackedResource,
|
|
1022
|
-
SqlVirtualMachineGroup: SqlVirtualMachineGroup,
|
|
1023
|
-
SqlVirtualMachineGroupUpdate: SqlVirtualMachineGroupUpdate,
|
|
1024
|
-
ResourceIdentity: ResourceIdentity,
|
|
1025
|
-
WsfcDomainCredentials: WsfcDomainCredentials,
|
|
1026
|
-
AutoPatchingSettings: AutoPatchingSettings,
|
|
1027
|
-
AutoBackupSettings: AutoBackupSettings,
|
|
1028
|
-
KeyVaultCredentialSettings: KeyVaultCredentialSettings,
|
|
1029
|
-
SqlConnectivityUpdateSettings: SqlConnectivityUpdateSettings,
|
|
1030
|
-
SqlWorkloadTypeUpdateSettings: SqlWorkloadTypeUpdateSettings,
|
|
1031
|
-
SqlStorageUpdateSettings: SqlStorageUpdateSettings,
|
|
1032
|
-
AdditionalFeaturesServerConfigurations: AdditionalFeaturesServerConfigurations,
|
|
1033
|
-
ServerConfigurationsManagementSettings: ServerConfigurationsManagementSettings,
|
|
1034
|
-
SqlVirtualMachine: SqlVirtualMachine,
|
|
1035
|
-
SqlVirtualMachineUpdate: SqlVirtualMachineUpdate,
|
|
1036
|
-
AvailabilityGroupListenerListResult: AvailabilityGroupListenerListResult,
|
|
1037
|
-
OperationListResult: OperationListResult,
|
|
1038
|
-
SqlVirtualMachineGroupListResult: SqlVirtualMachineGroupListResult,
|
|
1039
|
-
SqlVirtualMachineListResult: SqlVirtualMachineListResult
|
|
1040
|
-
});
|
|
1041
|
-
|
|
1042
|
-
/*
|
|
1043
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1044
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1045
|
-
*
|
|
1046
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1047
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1048
|
-
*/
|
|
1049
|
-
|
|
1050
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1051
|
-
AdditionalFeaturesServerConfigurations: AdditionalFeaturesServerConfigurations,
|
|
1052
|
-
AutoBackupSettings: AutoBackupSettings,
|
|
1053
|
-
AutoPatchingSettings: AutoPatchingSettings,
|
|
1054
|
-
AvailabilityGroupListener: AvailabilityGroupListener,
|
|
1055
|
-
AvailabilityGroupListenerListResult: AvailabilityGroupListenerListResult,
|
|
1056
|
-
BaseResource: BaseResource,
|
|
1057
|
-
CloudError: CloudError,
|
|
1058
|
-
KeyVaultCredentialSettings: KeyVaultCredentialSettings,
|
|
1059
|
-
LoadBalancerConfiguration: LoadBalancerConfiguration,
|
|
1060
|
-
PrivateIPAddress: PrivateIPAddress,
|
|
1061
|
-
ProxyResource: ProxyResource,
|
|
1062
|
-
Resource: Resource,
|
|
1063
|
-
ResourceIdentity: ResourceIdentity,
|
|
1064
|
-
ServerConfigurationsManagementSettings: ServerConfigurationsManagementSettings,
|
|
1065
|
-
SqlConnectivityUpdateSettings: SqlConnectivityUpdateSettings,
|
|
1066
|
-
SqlStorageUpdateSettings: SqlStorageUpdateSettings,
|
|
1067
|
-
SqlVirtualMachine: SqlVirtualMachine,
|
|
1068
|
-
SqlVirtualMachineGroup: SqlVirtualMachineGroup,
|
|
1069
|
-
SqlWorkloadTypeUpdateSettings: SqlWorkloadTypeUpdateSettings,
|
|
1070
|
-
TrackedResource: TrackedResource,
|
|
1071
|
-
WsfcDomainCredentials: WsfcDomainCredentials,
|
|
1072
|
-
WsfcDomainProfile: WsfcDomainProfile
|
|
1073
|
-
});
|
|
1074
|
-
|
|
1075
|
-
/*
|
|
1076
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1077
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1078
|
-
* license information.
|
|
1079
|
-
*
|
|
1080
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1081
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1082
|
-
* regenerated.
|
|
1083
|
-
*/
|
|
1084
|
-
var acceptLanguage = {
|
|
1085
|
-
parameterPath: "acceptLanguage",
|
|
1086
|
-
mapper: {
|
|
1087
|
-
serializedName: "accept-language",
|
|
1088
|
-
defaultValue: 'en-US',
|
|
1089
|
-
type: {
|
|
1090
|
-
name: "String"
|
|
1091
|
-
}
|
|
1092
|
-
}
|
|
1093
|
-
};
|
|
1094
|
-
var apiVersion = {
|
|
1095
|
-
parameterPath: "apiVersion",
|
|
1096
|
-
mapper: {
|
|
1097
|
-
required: true,
|
|
1098
|
-
serializedName: "api-version",
|
|
1099
|
-
type: {
|
|
1100
|
-
name: "String"
|
|
1101
|
-
}
|
|
1102
|
-
}
|
|
1103
|
-
};
|
|
1104
|
-
var availabilityGroupListenerName = {
|
|
1105
|
-
parameterPath: "availabilityGroupListenerName",
|
|
1106
|
-
mapper: {
|
|
1107
|
-
required: true,
|
|
1108
|
-
serializedName: "availabilityGroupListenerName",
|
|
1109
|
-
type: {
|
|
1110
|
-
name: "String"
|
|
1111
|
-
}
|
|
1112
|
-
}
|
|
1113
|
-
};
|
|
1114
|
-
var expand = {
|
|
1115
|
-
parameterPath: [
|
|
1116
|
-
"options",
|
|
1117
|
-
"expand"
|
|
1118
|
-
],
|
|
1119
|
-
mapper: {
|
|
1120
|
-
serializedName: "$expand",
|
|
1121
|
-
type: {
|
|
1122
|
-
name: "String"
|
|
1123
|
-
}
|
|
1124
|
-
}
|
|
1125
|
-
};
|
|
1126
|
-
var nextPageLink = {
|
|
1127
|
-
parameterPath: "nextPageLink",
|
|
1128
|
-
mapper: {
|
|
1129
|
-
required: true,
|
|
1130
|
-
serializedName: "nextLink",
|
|
1131
|
-
type: {
|
|
1132
|
-
name: "String"
|
|
1133
|
-
}
|
|
1134
|
-
},
|
|
1135
|
-
skipEncoding: true
|
|
1136
|
-
};
|
|
1137
|
-
var resourceGroupName = {
|
|
1138
|
-
parameterPath: "resourceGroupName",
|
|
1139
|
-
mapper: {
|
|
1140
|
-
required: true,
|
|
1141
|
-
serializedName: "resourceGroupName",
|
|
1142
|
-
type: {
|
|
1143
|
-
name: "String"
|
|
1144
|
-
}
|
|
1145
|
-
}
|
|
1146
|
-
};
|
|
1147
|
-
var sqlVirtualMachineGroupName = {
|
|
1148
|
-
parameterPath: "sqlVirtualMachineGroupName",
|
|
1149
|
-
mapper: {
|
|
1150
|
-
required: true,
|
|
1151
|
-
serializedName: "sqlVirtualMachineGroupName",
|
|
1152
|
-
type: {
|
|
1153
|
-
name: "String"
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1156
|
-
};
|
|
1157
|
-
var sqlVirtualMachineName = {
|
|
1158
|
-
parameterPath: "sqlVirtualMachineName",
|
|
1159
|
-
mapper: {
|
|
1160
|
-
required: true,
|
|
1161
|
-
serializedName: "sqlVirtualMachineName",
|
|
1162
|
-
type: {
|
|
1163
|
-
name: "String"
|
|
1164
|
-
}
|
|
1165
|
-
}
|
|
1166
|
-
};
|
|
1167
|
-
var subscriptionId = {
|
|
1168
|
-
parameterPath: "subscriptionId",
|
|
1169
|
-
mapper: {
|
|
1170
|
-
required: true,
|
|
1171
|
-
serializedName: "subscriptionId",
|
|
1172
|
-
type: {
|
|
1173
|
-
name: "String"
|
|
1174
|
-
}
|
|
1175
|
-
}
|
|
1176
|
-
};
|
|
1177
|
-
|
|
1178
|
-
/*
|
|
1179
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1180
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1181
|
-
* license information.
|
|
1182
|
-
*
|
|
1183
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1184
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1185
|
-
* regenerated.
|
|
1186
|
-
*/
|
|
1187
|
-
/** Class representing a AvailabilityGroupListeners. */
|
|
1188
|
-
var AvailabilityGroupListeners = /** @class */ (function () {
|
|
1189
|
-
/**
|
|
1190
|
-
* Create a AvailabilityGroupListeners.
|
|
1191
|
-
* @param {SqlVirtualMachineManagementClientContext} client Reference to the service client.
|
|
1192
|
-
*/
|
|
1193
|
-
function AvailabilityGroupListeners(client) {
|
|
1194
|
-
this.client = client;
|
|
1195
|
-
}
|
|
1196
|
-
AvailabilityGroupListeners.prototype.get = function (resourceGroupName$$1, sqlVirtualMachineGroupName$$1, availabilityGroupListenerName$$1, options, callback) {
|
|
1197
|
-
return this.client.sendOperationRequest({
|
|
1198
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1199
|
-
sqlVirtualMachineGroupName: sqlVirtualMachineGroupName$$1,
|
|
1200
|
-
availabilityGroupListenerName: availabilityGroupListenerName$$1,
|
|
1201
|
-
options: options
|
|
1202
|
-
}, getOperationSpec, callback);
|
|
1203
|
-
};
|
|
1204
|
-
/**
|
|
1205
|
-
* Creates or updates an availability group listener.
|
|
1206
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1207
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1208
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1209
|
-
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
1210
|
-
* @param parameters The availability group listener.
|
|
1211
|
-
* @param [options] The optional parameters
|
|
1212
|
-
* @returns Promise<Models.AvailabilityGroupListenersCreateOrUpdateResponse>
|
|
1213
|
-
*/
|
|
1214
|
-
AvailabilityGroupListeners.prototype.createOrUpdate = function (resourceGroupName$$1, sqlVirtualMachineGroupName$$1, availabilityGroupListenerName$$1, parameters, options) {
|
|
1215
|
-
return this.beginCreateOrUpdate(resourceGroupName$$1, sqlVirtualMachineGroupName$$1, availabilityGroupListenerName$$1, parameters, options)
|
|
1216
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1217
|
-
};
|
|
1218
|
-
/**
|
|
1219
|
-
* Deletes an availability group listener.
|
|
1220
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1221
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1222
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1223
|
-
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
1224
|
-
* @param [options] The optional parameters
|
|
1225
|
-
* @returns Promise<msRest.RestResponse>
|
|
1226
|
-
*/
|
|
1227
|
-
AvailabilityGroupListeners.prototype.deleteMethod = function (resourceGroupName$$1, sqlVirtualMachineGroupName$$1, availabilityGroupListenerName$$1, options) {
|
|
1228
|
-
return this.beginDeleteMethod(resourceGroupName$$1, sqlVirtualMachineGroupName$$1, availabilityGroupListenerName$$1, options)
|
|
1229
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1230
|
-
};
|
|
1231
|
-
AvailabilityGroupListeners.prototype.listByGroup = function (resourceGroupName$$1, sqlVirtualMachineGroupName$$1, options, callback) {
|
|
1232
|
-
return this.client.sendOperationRequest({
|
|
1233
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1234
|
-
sqlVirtualMachineGroupName: sqlVirtualMachineGroupName$$1,
|
|
1235
|
-
options: options
|
|
1236
|
-
}, listByGroupOperationSpec, callback);
|
|
1237
|
-
};
|
|
1238
|
-
/**
|
|
1239
|
-
* Creates or updates an availability group listener.
|
|
1240
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1241
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1242
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1243
|
-
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
1244
|
-
* @param parameters The availability group listener.
|
|
1245
|
-
* @param [options] The optional parameters
|
|
1246
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1247
|
-
*/
|
|
1248
|
-
AvailabilityGroupListeners.prototype.beginCreateOrUpdate = function (resourceGroupName$$1, sqlVirtualMachineGroupName$$1, availabilityGroupListenerName$$1, parameters, options) {
|
|
1249
|
-
return this.client.sendLRORequest({
|
|
1250
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1251
|
-
sqlVirtualMachineGroupName: sqlVirtualMachineGroupName$$1,
|
|
1252
|
-
availabilityGroupListenerName: availabilityGroupListenerName$$1,
|
|
1253
|
-
parameters: parameters,
|
|
1254
|
-
options: options
|
|
1255
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
1256
|
-
};
|
|
1257
|
-
/**
|
|
1258
|
-
* Deletes an availability group listener.
|
|
1259
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1260
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1261
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1262
|
-
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
1263
|
-
* @param [options] The optional parameters
|
|
1264
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1265
|
-
*/
|
|
1266
|
-
AvailabilityGroupListeners.prototype.beginDeleteMethod = function (resourceGroupName$$1, sqlVirtualMachineGroupName$$1, availabilityGroupListenerName$$1, options) {
|
|
1267
|
-
return this.client.sendLRORequest({
|
|
1268
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1269
|
-
sqlVirtualMachineGroupName: sqlVirtualMachineGroupName$$1,
|
|
1270
|
-
availabilityGroupListenerName: availabilityGroupListenerName$$1,
|
|
1271
|
-
options: options
|
|
1272
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
1273
|
-
};
|
|
1274
|
-
AvailabilityGroupListeners.prototype.listByGroupNext = function (nextPageLink$$1, options, callback) {
|
|
1275
|
-
return this.client.sendOperationRequest({
|
|
1276
|
-
nextPageLink: nextPageLink$$1,
|
|
1277
|
-
options: options
|
|
1278
|
-
}, listByGroupNextOperationSpec, callback);
|
|
1279
|
-
};
|
|
1280
|
-
return AvailabilityGroupListeners;
|
|
1281
|
-
}());
|
|
1282
|
-
// Operation Specifications
|
|
1283
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
1284
|
-
var getOperationSpec = {
|
|
1285
|
-
httpMethod: "GET",
|
|
1286
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}",
|
|
1287
|
-
urlParameters: [
|
|
1288
|
-
resourceGroupName,
|
|
1289
|
-
sqlVirtualMachineGroupName,
|
|
1290
|
-
availabilityGroupListenerName,
|
|
1291
|
-
subscriptionId
|
|
1292
|
-
],
|
|
1293
|
-
queryParameters: [
|
|
1294
|
-
apiVersion
|
|
1295
|
-
],
|
|
1296
|
-
headerParameters: [
|
|
1297
|
-
acceptLanguage
|
|
1298
|
-
],
|
|
1299
|
-
responses: {
|
|
1300
|
-
200: {
|
|
1301
|
-
bodyMapper: AvailabilityGroupListener
|
|
1302
|
-
},
|
|
1303
|
-
default: {
|
|
1304
|
-
bodyMapper: CloudError
|
|
1305
|
-
}
|
|
1306
|
-
},
|
|
1307
|
-
serializer: serializer
|
|
1308
|
-
};
|
|
1309
|
-
var listByGroupOperationSpec = {
|
|
1310
|
-
httpMethod: "GET",
|
|
1311
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners",
|
|
1312
|
-
urlParameters: [
|
|
1313
|
-
resourceGroupName,
|
|
1314
|
-
sqlVirtualMachineGroupName,
|
|
1315
|
-
subscriptionId
|
|
1316
|
-
],
|
|
1317
|
-
queryParameters: [
|
|
1318
|
-
apiVersion
|
|
1319
|
-
],
|
|
1320
|
-
headerParameters: [
|
|
1321
|
-
acceptLanguage
|
|
1322
|
-
],
|
|
1323
|
-
responses: {
|
|
1324
|
-
200: {
|
|
1325
|
-
bodyMapper: AvailabilityGroupListenerListResult
|
|
1326
|
-
},
|
|
1327
|
-
default: {
|
|
1328
|
-
bodyMapper: CloudError
|
|
1329
|
-
}
|
|
1330
|
-
},
|
|
1331
|
-
serializer: serializer
|
|
1332
|
-
};
|
|
1333
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
1334
|
-
httpMethod: "PUT",
|
|
1335
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}",
|
|
1336
|
-
urlParameters: [
|
|
1337
|
-
resourceGroupName,
|
|
1338
|
-
sqlVirtualMachineGroupName,
|
|
1339
|
-
availabilityGroupListenerName,
|
|
1340
|
-
subscriptionId
|
|
1341
|
-
],
|
|
1342
|
-
queryParameters: [
|
|
1343
|
-
apiVersion
|
|
1344
|
-
],
|
|
1345
|
-
headerParameters: [
|
|
1346
|
-
acceptLanguage
|
|
1347
|
-
],
|
|
1348
|
-
requestBody: {
|
|
1349
|
-
parameterPath: "parameters",
|
|
1350
|
-
mapper: __assign({}, AvailabilityGroupListener, { required: true })
|
|
1351
|
-
},
|
|
1352
|
-
responses: {
|
|
1353
|
-
200: {
|
|
1354
|
-
bodyMapper: AvailabilityGroupListener
|
|
1355
|
-
},
|
|
1356
|
-
201: {
|
|
1357
|
-
bodyMapper: AvailabilityGroupListener
|
|
1358
|
-
},
|
|
1359
|
-
default: {
|
|
1360
|
-
bodyMapper: CloudError
|
|
1361
|
-
}
|
|
1362
|
-
},
|
|
1363
|
-
serializer: serializer
|
|
1364
|
-
};
|
|
1365
|
-
var beginDeleteMethodOperationSpec = {
|
|
1366
|
-
httpMethod: "DELETE",
|
|
1367
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}",
|
|
1368
|
-
urlParameters: [
|
|
1369
|
-
resourceGroupName,
|
|
1370
|
-
sqlVirtualMachineGroupName,
|
|
1371
|
-
availabilityGroupListenerName,
|
|
1372
|
-
subscriptionId
|
|
1373
|
-
],
|
|
1374
|
-
queryParameters: [
|
|
1375
|
-
apiVersion
|
|
1376
|
-
],
|
|
1377
|
-
headerParameters: [
|
|
1378
|
-
acceptLanguage
|
|
1379
|
-
],
|
|
1380
|
-
responses: {
|
|
1381
|
-
200: {},
|
|
1382
|
-
202: {},
|
|
1383
|
-
204: {},
|
|
1384
|
-
default: {
|
|
1385
|
-
bodyMapper: CloudError
|
|
1386
|
-
}
|
|
1387
|
-
},
|
|
1388
|
-
serializer: serializer
|
|
1389
|
-
};
|
|
1390
|
-
var listByGroupNextOperationSpec = {
|
|
1391
|
-
httpMethod: "GET",
|
|
1392
|
-
baseUrl: "https://management.azure.com",
|
|
1393
|
-
path: "{nextLink}",
|
|
1394
|
-
urlParameters: [
|
|
1395
|
-
nextPageLink
|
|
1396
|
-
],
|
|
1397
|
-
headerParameters: [
|
|
1398
|
-
acceptLanguage
|
|
1399
|
-
],
|
|
1400
|
-
responses: {
|
|
1401
|
-
200: {
|
|
1402
|
-
bodyMapper: AvailabilityGroupListenerListResult
|
|
1403
|
-
},
|
|
1404
|
-
default: {
|
|
1405
|
-
bodyMapper: CloudError
|
|
1406
|
-
}
|
|
1407
|
-
},
|
|
1408
|
-
serializer: serializer
|
|
1409
|
-
};
|
|
1410
|
-
|
|
1411
|
-
/*
|
|
1412
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1413
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1414
|
-
*
|
|
1415
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1416
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1417
|
-
*/
|
|
1418
|
-
|
|
1419
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
1420
|
-
CloudError: CloudError,
|
|
1421
|
-
Operation: Operation,
|
|
1422
|
-
OperationDisplay: OperationDisplay,
|
|
1423
|
-
OperationListResult: OperationListResult
|
|
1424
|
-
});
|
|
1425
|
-
|
|
1426
|
-
/*
|
|
1427
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1428
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1429
|
-
* license information.
|
|
1430
|
-
*
|
|
1431
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1432
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1433
|
-
* regenerated.
|
|
1434
|
-
*/
|
|
1435
|
-
/** Class representing a Operations. */
|
|
1436
|
-
var Operations = /** @class */ (function () {
|
|
1437
|
-
/**
|
|
1438
|
-
* Create a Operations.
|
|
1439
|
-
* @param {SqlVirtualMachineManagementClientContext} client Reference to the service client.
|
|
1440
|
-
*/
|
|
1441
|
-
function Operations(client) {
|
|
1442
|
-
this.client = client;
|
|
1443
|
-
}
|
|
1444
|
-
Operations.prototype.list = function (options, callback) {
|
|
1445
|
-
return this.client.sendOperationRequest({
|
|
1446
|
-
options: options
|
|
1447
|
-
}, listOperationSpec, callback);
|
|
1448
|
-
};
|
|
1449
|
-
Operations.prototype.listNext = function (nextPageLink$$1, options, callback) {
|
|
1450
|
-
return this.client.sendOperationRequest({
|
|
1451
|
-
nextPageLink: nextPageLink$$1,
|
|
1452
|
-
options: options
|
|
1453
|
-
}, listNextOperationSpec, callback);
|
|
1454
|
-
};
|
|
1455
|
-
return Operations;
|
|
1456
|
-
}());
|
|
1457
|
-
// Operation Specifications
|
|
1458
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
|
1459
|
-
var listOperationSpec = {
|
|
1460
|
-
httpMethod: "GET",
|
|
1461
|
-
path: "providers/Microsoft.SqlVirtualMachine/operations",
|
|
1462
|
-
queryParameters: [
|
|
1463
|
-
apiVersion
|
|
1464
|
-
],
|
|
1465
|
-
headerParameters: [
|
|
1466
|
-
acceptLanguage
|
|
1467
|
-
],
|
|
1468
|
-
responses: {
|
|
1469
|
-
200: {
|
|
1470
|
-
bodyMapper: OperationListResult
|
|
1471
|
-
},
|
|
1472
|
-
default: {
|
|
1473
|
-
bodyMapper: CloudError
|
|
1474
|
-
}
|
|
1475
|
-
},
|
|
1476
|
-
serializer: serializer$1
|
|
1477
|
-
};
|
|
1478
|
-
var listNextOperationSpec = {
|
|
1479
|
-
httpMethod: "GET",
|
|
1480
|
-
baseUrl: "https://management.azure.com",
|
|
1481
|
-
path: "{nextLink}",
|
|
1482
|
-
urlParameters: [
|
|
1483
|
-
nextPageLink
|
|
1484
|
-
],
|
|
1485
|
-
headerParameters: [
|
|
1486
|
-
acceptLanguage
|
|
1487
|
-
],
|
|
1488
|
-
responses: {
|
|
1489
|
-
200: {
|
|
1490
|
-
bodyMapper: OperationListResult
|
|
1491
|
-
},
|
|
1492
|
-
default: {
|
|
1493
|
-
bodyMapper: CloudError
|
|
1494
|
-
}
|
|
1495
|
-
},
|
|
1496
|
-
serializer: serializer$1
|
|
1497
|
-
};
|
|
1498
|
-
|
|
1499
|
-
/*
|
|
1500
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1501
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1502
|
-
*
|
|
1503
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1504
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1505
|
-
*/
|
|
1506
|
-
|
|
1507
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
|
1508
|
-
AdditionalFeaturesServerConfigurations: AdditionalFeaturesServerConfigurations,
|
|
1509
|
-
AutoBackupSettings: AutoBackupSettings,
|
|
1510
|
-
AutoPatchingSettings: AutoPatchingSettings,
|
|
1511
|
-
AvailabilityGroupListener: AvailabilityGroupListener,
|
|
1512
|
-
BaseResource: BaseResource,
|
|
1513
|
-
CloudError: CloudError,
|
|
1514
|
-
KeyVaultCredentialSettings: KeyVaultCredentialSettings,
|
|
1515
|
-
LoadBalancerConfiguration: LoadBalancerConfiguration,
|
|
1516
|
-
PrivateIPAddress: PrivateIPAddress,
|
|
1517
|
-
ProxyResource: ProxyResource,
|
|
1518
|
-
Resource: Resource,
|
|
1519
|
-
ResourceIdentity: ResourceIdentity,
|
|
1520
|
-
ServerConfigurationsManagementSettings: ServerConfigurationsManagementSettings,
|
|
1521
|
-
SqlConnectivityUpdateSettings: SqlConnectivityUpdateSettings,
|
|
1522
|
-
SqlStorageUpdateSettings: SqlStorageUpdateSettings,
|
|
1523
|
-
SqlVirtualMachine: SqlVirtualMachine,
|
|
1524
|
-
SqlVirtualMachineGroup: SqlVirtualMachineGroup,
|
|
1525
|
-
SqlVirtualMachineGroupListResult: SqlVirtualMachineGroupListResult,
|
|
1526
|
-
SqlVirtualMachineGroupUpdate: SqlVirtualMachineGroupUpdate,
|
|
1527
|
-
SqlWorkloadTypeUpdateSettings: SqlWorkloadTypeUpdateSettings,
|
|
1528
|
-
TrackedResource: TrackedResource,
|
|
1529
|
-
WsfcDomainCredentials: WsfcDomainCredentials,
|
|
1530
|
-
WsfcDomainProfile: WsfcDomainProfile
|
|
1531
|
-
});
|
|
1532
|
-
|
|
1533
|
-
/*
|
|
1534
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1535
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1536
|
-
* license information.
|
|
1537
|
-
*
|
|
1538
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1539
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1540
|
-
* regenerated.
|
|
1541
|
-
*/
|
|
1542
|
-
/** Class representing a SqlVirtualMachineGroups. */
|
|
1543
|
-
var SqlVirtualMachineGroups = /** @class */ (function () {
|
|
1544
|
-
/**
|
|
1545
|
-
* Create a SqlVirtualMachineGroups.
|
|
1546
|
-
* @param {SqlVirtualMachineManagementClientContext} client Reference to the service client.
|
|
1547
|
-
*/
|
|
1548
|
-
function SqlVirtualMachineGroups(client) {
|
|
1549
|
-
this.client = client;
|
|
1550
|
-
}
|
|
1551
|
-
SqlVirtualMachineGroups.prototype.get = function (resourceGroupName$$1, sqlVirtualMachineGroupName$$1, options, callback) {
|
|
1552
|
-
return this.client.sendOperationRequest({
|
|
1553
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1554
|
-
sqlVirtualMachineGroupName: sqlVirtualMachineGroupName$$1,
|
|
1555
|
-
options: options
|
|
1556
|
-
}, getOperationSpec$1, callback);
|
|
1557
|
-
};
|
|
1558
|
-
/**
|
|
1559
|
-
* Creates or updates a SQL virtual machine group.
|
|
1560
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1561
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1562
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1563
|
-
* @param parameters The SQL virtual machine group.
|
|
1564
|
-
* @param [options] The optional parameters
|
|
1565
|
-
* @returns Promise<Models.SqlVirtualMachineGroupsCreateOrUpdateResponse>
|
|
1566
|
-
*/
|
|
1567
|
-
SqlVirtualMachineGroups.prototype.createOrUpdate = function (resourceGroupName$$1, sqlVirtualMachineGroupName$$1, parameters, options) {
|
|
1568
|
-
return this.beginCreateOrUpdate(resourceGroupName$$1, sqlVirtualMachineGroupName$$1, parameters, options)
|
|
1569
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1570
|
-
};
|
|
1571
|
-
/**
|
|
1572
|
-
* Deletes a SQL virtual machine group.
|
|
1573
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1574
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1575
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1576
|
-
* @param [options] The optional parameters
|
|
1577
|
-
* @returns Promise<msRest.RestResponse>
|
|
1578
|
-
*/
|
|
1579
|
-
SqlVirtualMachineGroups.prototype.deleteMethod = function (resourceGroupName$$1, sqlVirtualMachineGroupName$$1, options) {
|
|
1580
|
-
return this.beginDeleteMethod(resourceGroupName$$1, sqlVirtualMachineGroupName$$1, options)
|
|
1581
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1582
|
-
};
|
|
1583
|
-
/**
|
|
1584
|
-
* Updates SQL virtual machine group tags.
|
|
1585
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1586
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1587
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1588
|
-
* @param parameters The SQL virtual machine group.
|
|
1589
|
-
* @param [options] The optional parameters
|
|
1590
|
-
* @returns Promise<Models.SqlVirtualMachineGroupsUpdateResponse>
|
|
1591
|
-
*/
|
|
1592
|
-
SqlVirtualMachineGroups.prototype.update = function (resourceGroupName$$1, sqlVirtualMachineGroupName$$1, parameters, options) {
|
|
1593
|
-
return this.beginUpdate(resourceGroupName$$1, sqlVirtualMachineGroupName$$1, parameters, options)
|
|
1594
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1595
|
-
};
|
|
1596
|
-
SqlVirtualMachineGroups.prototype.listByResourceGroup = function (resourceGroupName$$1, options, callback) {
|
|
1597
|
-
return this.client.sendOperationRequest({
|
|
1598
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1599
|
-
options: options
|
|
1600
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
1601
|
-
};
|
|
1602
|
-
SqlVirtualMachineGroups.prototype.list = function (options, callback) {
|
|
1603
|
-
return this.client.sendOperationRequest({
|
|
1604
|
-
options: options
|
|
1605
|
-
}, listOperationSpec$1, callback);
|
|
1606
|
-
};
|
|
1607
|
-
/**
|
|
1608
|
-
* Creates or updates a SQL virtual machine group.
|
|
1609
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1610
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1611
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1612
|
-
* @param parameters The SQL virtual machine group.
|
|
1613
|
-
* @param [options] The optional parameters
|
|
1614
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1615
|
-
*/
|
|
1616
|
-
SqlVirtualMachineGroups.prototype.beginCreateOrUpdate = function (resourceGroupName$$1, sqlVirtualMachineGroupName$$1, parameters, options) {
|
|
1617
|
-
return this.client.sendLRORequest({
|
|
1618
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1619
|
-
sqlVirtualMachineGroupName: sqlVirtualMachineGroupName$$1,
|
|
1620
|
-
parameters: parameters,
|
|
1621
|
-
options: options
|
|
1622
|
-
}, beginCreateOrUpdateOperationSpec$1, options);
|
|
1623
|
-
};
|
|
1624
|
-
/**
|
|
1625
|
-
* Deletes a SQL virtual machine group.
|
|
1626
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1627
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1628
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1629
|
-
* @param [options] The optional parameters
|
|
1630
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1631
|
-
*/
|
|
1632
|
-
SqlVirtualMachineGroups.prototype.beginDeleteMethod = function (resourceGroupName$$1, sqlVirtualMachineGroupName$$1, options) {
|
|
1633
|
-
return this.client.sendLRORequest({
|
|
1634
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1635
|
-
sqlVirtualMachineGroupName: sqlVirtualMachineGroupName$$1,
|
|
1636
|
-
options: options
|
|
1637
|
-
}, beginDeleteMethodOperationSpec$1, options);
|
|
1638
|
-
};
|
|
1639
|
-
/**
|
|
1640
|
-
* Updates SQL virtual machine group tags.
|
|
1641
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1642
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1643
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1644
|
-
* @param parameters The SQL virtual machine group.
|
|
1645
|
-
* @param [options] The optional parameters
|
|
1646
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1647
|
-
*/
|
|
1648
|
-
SqlVirtualMachineGroups.prototype.beginUpdate = function (resourceGroupName$$1, sqlVirtualMachineGroupName$$1, parameters, options) {
|
|
1649
|
-
return this.client.sendLRORequest({
|
|
1650
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1651
|
-
sqlVirtualMachineGroupName: sqlVirtualMachineGroupName$$1,
|
|
1652
|
-
parameters: parameters,
|
|
1653
|
-
options: options
|
|
1654
|
-
}, beginUpdateOperationSpec, options);
|
|
1655
|
-
};
|
|
1656
|
-
SqlVirtualMachineGroups.prototype.listByResourceGroupNext = function (nextPageLink$$1, options, callback) {
|
|
1657
|
-
return this.client.sendOperationRequest({
|
|
1658
|
-
nextPageLink: nextPageLink$$1,
|
|
1659
|
-
options: options
|
|
1660
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
1661
|
-
};
|
|
1662
|
-
SqlVirtualMachineGroups.prototype.listNext = function (nextPageLink$$1, options, callback) {
|
|
1663
|
-
return this.client.sendOperationRequest({
|
|
1664
|
-
nextPageLink: nextPageLink$$1,
|
|
1665
|
-
options: options
|
|
1666
|
-
}, listNextOperationSpec$1, callback);
|
|
1667
|
-
};
|
|
1668
|
-
return SqlVirtualMachineGroups;
|
|
1669
|
-
}());
|
|
1670
|
-
// Operation Specifications
|
|
1671
|
-
var serializer$2 = new msRest.Serializer(Mappers$2);
|
|
1672
|
-
var getOperationSpec$1 = {
|
|
1673
|
-
httpMethod: "GET",
|
|
1674
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}",
|
|
1675
|
-
urlParameters: [
|
|
1676
|
-
resourceGroupName,
|
|
1677
|
-
sqlVirtualMachineGroupName,
|
|
1678
|
-
subscriptionId
|
|
1679
|
-
],
|
|
1680
|
-
queryParameters: [
|
|
1681
|
-
apiVersion
|
|
1682
|
-
],
|
|
1683
|
-
headerParameters: [
|
|
1684
|
-
acceptLanguage
|
|
1685
|
-
],
|
|
1686
|
-
responses: {
|
|
1687
|
-
200: {
|
|
1688
|
-
bodyMapper: SqlVirtualMachineGroup
|
|
1689
|
-
},
|
|
1690
|
-
default: {
|
|
1691
|
-
bodyMapper: CloudError
|
|
1692
|
-
}
|
|
1693
|
-
},
|
|
1694
|
-
serializer: serializer$2
|
|
1695
|
-
};
|
|
1696
|
-
var listByResourceGroupOperationSpec = {
|
|
1697
|
-
httpMethod: "GET",
|
|
1698
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups",
|
|
1699
|
-
urlParameters: [
|
|
1700
|
-
resourceGroupName,
|
|
1701
|
-
subscriptionId
|
|
1702
|
-
],
|
|
1703
|
-
queryParameters: [
|
|
1704
|
-
apiVersion
|
|
1705
|
-
],
|
|
1706
|
-
headerParameters: [
|
|
1707
|
-
acceptLanguage
|
|
1708
|
-
],
|
|
1709
|
-
responses: {
|
|
1710
|
-
200: {
|
|
1711
|
-
bodyMapper: SqlVirtualMachineGroupListResult
|
|
1712
|
-
},
|
|
1713
|
-
default: {
|
|
1714
|
-
bodyMapper: CloudError
|
|
1715
|
-
}
|
|
1716
|
-
},
|
|
1717
|
-
serializer: serializer$2
|
|
1718
|
-
};
|
|
1719
|
-
var listOperationSpec$1 = {
|
|
1720
|
-
httpMethod: "GET",
|
|
1721
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups",
|
|
1722
|
-
urlParameters: [
|
|
1723
|
-
subscriptionId
|
|
1724
|
-
],
|
|
1725
|
-
queryParameters: [
|
|
1726
|
-
apiVersion
|
|
1727
|
-
],
|
|
1728
|
-
headerParameters: [
|
|
1729
|
-
acceptLanguage
|
|
1730
|
-
],
|
|
1731
|
-
responses: {
|
|
1732
|
-
200: {
|
|
1733
|
-
bodyMapper: SqlVirtualMachineGroupListResult
|
|
1734
|
-
},
|
|
1735
|
-
default: {
|
|
1736
|
-
bodyMapper: CloudError
|
|
1737
|
-
}
|
|
1738
|
-
},
|
|
1739
|
-
serializer: serializer$2
|
|
1740
|
-
};
|
|
1741
|
-
var beginCreateOrUpdateOperationSpec$1 = {
|
|
1742
|
-
httpMethod: "PUT",
|
|
1743
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}",
|
|
1744
|
-
urlParameters: [
|
|
1745
|
-
resourceGroupName,
|
|
1746
|
-
sqlVirtualMachineGroupName,
|
|
1747
|
-
subscriptionId
|
|
1748
|
-
],
|
|
1749
|
-
queryParameters: [
|
|
1750
|
-
apiVersion
|
|
1751
|
-
],
|
|
1752
|
-
headerParameters: [
|
|
1753
|
-
acceptLanguage
|
|
1754
|
-
],
|
|
1755
|
-
requestBody: {
|
|
1756
|
-
parameterPath: "parameters",
|
|
1757
|
-
mapper: __assign({}, SqlVirtualMachineGroup, { required: true })
|
|
1758
|
-
},
|
|
1759
|
-
responses: {
|
|
1760
|
-
200: {
|
|
1761
|
-
bodyMapper: SqlVirtualMachineGroup
|
|
1762
|
-
},
|
|
1763
|
-
201: {
|
|
1764
|
-
bodyMapper: SqlVirtualMachineGroup
|
|
1765
|
-
},
|
|
1766
|
-
default: {
|
|
1767
|
-
bodyMapper: CloudError
|
|
1768
|
-
}
|
|
1769
|
-
},
|
|
1770
|
-
serializer: serializer$2
|
|
1771
|
-
};
|
|
1772
|
-
var beginDeleteMethodOperationSpec$1 = {
|
|
1773
|
-
httpMethod: "DELETE",
|
|
1774
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}",
|
|
1775
|
-
urlParameters: [
|
|
1776
|
-
resourceGroupName,
|
|
1777
|
-
sqlVirtualMachineGroupName,
|
|
1778
|
-
subscriptionId
|
|
1779
|
-
],
|
|
1780
|
-
queryParameters: [
|
|
1781
|
-
apiVersion
|
|
1782
|
-
],
|
|
1783
|
-
headerParameters: [
|
|
1784
|
-
acceptLanguage
|
|
1785
|
-
],
|
|
1786
|
-
responses: {
|
|
1787
|
-
200: {},
|
|
1788
|
-
202: {},
|
|
1789
|
-
204: {},
|
|
1790
|
-
default: {
|
|
1791
|
-
bodyMapper: CloudError
|
|
1792
|
-
}
|
|
1793
|
-
},
|
|
1794
|
-
serializer: serializer$2
|
|
1795
|
-
};
|
|
1796
|
-
var beginUpdateOperationSpec = {
|
|
1797
|
-
httpMethod: "PATCH",
|
|
1798
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}",
|
|
1799
|
-
urlParameters: [
|
|
1800
|
-
resourceGroupName,
|
|
1801
|
-
sqlVirtualMachineGroupName,
|
|
1802
|
-
subscriptionId
|
|
1803
|
-
],
|
|
1804
|
-
queryParameters: [
|
|
1805
|
-
apiVersion
|
|
1806
|
-
],
|
|
1807
|
-
headerParameters: [
|
|
1808
|
-
acceptLanguage
|
|
1809
|
-
],
|
|
1810
|
-
requestBody: {
|
|
1811
|
-
parameterPath: "parameters",
|
|
1812
|
-
mapper: __assign({}, SqlVirtualMachineGroupUpdate, { required: true })
|
|
1813
|
-
},
|
|
1814
|
-
responses: {
|
|
1815
|
-
200: {
|
|
1816
|
-
bodyMapper: SqlVirtualMachineGroup
|
|
1817
|
-
},
|
|
1818
|
-
default: {
|
|
1819
|
-
bodyMapper: CloudError
|
|
1820
|
-
}
|
|
1821
|
-
},
|
|
1822
|
-
serializer: serializer$2
|
|
1823
|
-
};
|
|
1824
|
-
var listByResourceGroupNextOperationSpec = {
|
|
1825
|
-
httpMethod: "GET",
|
|
1826
|
-
baseUrl: "https://management.azure.com",
|
|
1827
|
-
path: "{nextLink}",
|
|
1828
|
-
urlParameters: [
|
|
1829
|
-
nextPageLink
|
|
1830
|
-
],
|
|
1831
|
-
headerParameters: [
|
|
1832
|
-
acceptLanguage
|
|
1833
|
-
],
|
|
1834
|
-
responses: {
|
|
1835
|
-
200: {
|
|
1836
|
-
bodyMapper: SqlVirtualMachineGroupListResult
|
|
1837
|
-
},
|
|
1838
|
-
default: {
|
|
1839
|
-
bodyMapper: CloudError
|
|
1840
|
-
}
|
|
1841
|
-
},
|
|
1842
|
-
serializer: serializer$2
|
|
1843
|
-
};
|
|
1844
|
-
var listNextOperationSpec$1 = {
|
|
1845
|
-
httpMethod: "GET",
|
|
1846
|
-
baseUrl: "https://management.azure.com",
|
|
1847
|
-
path: "{nextLink}",
|
|
1848
|
-
urlParameters: [
|
|
1849
|
-
nextPageLink
|
|
1850
|
-
],
|
|
1851
|
-
headerParameters: [
|
|
1852
|
-
acceptLanguage
|
|
1853
|
-
],
|
|
1854
|
-
responses: {
|
|
1855
|
-
200: {
|
|
1856
|
-
bodyMapper: SqlVirtualMachineGroupListResult
|
|
1857
|
-
},
|
|
1858
|
-
default: {
|
|
1859
|
-
bodyMapper: CloudError
|
|
1860
|
-
}
|
|
1861
|
-
},
|
|
1862
|
-
serializer: serializer$2
|
|
1863
|
-
};
|
|
1864
|
-
|
|
1865
|
-
/*
|
|
1866
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1867
|
-
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
1868
|
-
*
|
|
1869
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1870
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1871
|
-
*/
|
|
1872
|
-
|
|
1873
|
-
var Mappers$3 = /*#__PURE__*/Object.freeze({
|
|
1874
|
-
AdditionalFeaturesServerConfigurations: AdditionalFeaturesServerConfigurations,
|
|
1875
|
-
AutoBackupSettings: AutoBackupSettings,
|
|
1876
|
-
AutoPatchingSettings: AutoPatchingSettings,
|
|
1877
|
-
AvailabilityGroupListener: AvailabilityGroupListener,
|
|
1878
|
-
BaseResource: BaseResource,
|
|
1879
|
-
CloudError: CloudError,
|
|
1880
|
-
KeyVaultCredentialSettings: KeyVaultCredentialSettings,
|
|
1881
|
-
LoadBalancerConfiguration: LoadBalancerConfiguration,
|
|
1882
|
-
PrivateIPAddress: PrivateIPAddress,
|
|
1883
|
-
ProxyResource: ProxyResource,
|
|
1884
|
-
Resource: Resource,
|
|
1885
|
-
ResourceIdentity: ResourceIdentity,
|
|
1886
|
-
ServerConfigurationsManagementSettings: ServerConfigurationsManagementSettings,
|
|
1887
|
-
SqlConnectivityUpdateSettings: SqlConnectivityUpdateSettings,
|
|
1888
|
-
SqlStorageUpdateSettings: SqlStorageUpdateSettings,
|
|
1889
|
-
SqlVirtualMachine: SqlVirtualMachine,
|
|
1890
|
-
SqlVirtualMachineGroup: SqlVirtualMachineGroup,
|
|
1891
|
-
SqlVirtualMachineListResult: SqlVirtualMachineListResult,
|
|
1892
|
-
SqlVirtualMachineUpdate: SqlVirtualMachineUpdate,
|
|
1893
|
-
SqlWorkloadTypeUpdateSettings: SqlWorkloadTypeUpdateSettings,
|
|
1894
|
-
TrackedResource: TrackedResource,
|
|
1895
|
-
WsfcDomainCredentials: WsfcDomainCredentials,
|
|
1896
|
-
WsfcDomainProfile: WsfcDomainProfile
|
|
1897
|
-
});
|
|
1898
|
-
|
|
1899
|
-
/*
|
|
1900
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1901
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
1902
|
-
* license information.
|
|
1903
|
-
*
|
|
1904
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1905
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1906
|
-
* regenerated.
|
|
1907
|
-
*/
|
|
1908
|
-
/** Class representing a SqlVirtualMachines. */
|
|
1909
|
-
var SqlVirtualMachines = /** @class */ (function () {
|
|
1910
|
-
/**
|
|
1911
|
-
* Create a SqlVirtualMachines.
|
|
1912
|
-
* @param {SqlVirtualMachineManagementClientContext} client Reference to the service client.
|
|
1913
|
-
*/
|
|
1914
|
-
function SqlVirtualMachines(client) {
|
|
1915
|
-
this.client = client;
|
|
1916
|
-
}
|
|
1917
|
-
SqlVirtualMachines.prototype.list = function (options, callback) {
|
|
1918
|
-
return this.client.sendOperationRequest({
|
|
1919
|
-
options: options
|
|
1920
|
-
}, listOperationSpec$2, callback);
|
|
1921
|
-
};
|
|
1922
|
-
SqlVirtualMachines.prototype.get = function (resourceGroupName$$1, sqlVirtualMachineName$$1, options, callback) {
|
|
1923
|
-
return this.client.sendOperationRequest({
|
|
1924
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1925
|
-
sqlVirtualMachineName: sqlVirtualMachineName$$1,
|
|
1926
|
-
options: options
|
|
1927
|
-
}, getOperationSpec$2, callback);
|
|
1928
|
-
};
|
|
1929
|
-
/**
|
|
1930
|
-
* Creates or updates a SQL virtual machine.
|
|
1931
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1932
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1933
|
-
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1934
|
-
* @param parameters The SQL virtual machine.
|
|
1935
|
-
* @param [options] The optional parameters
|
|
1936
|
-
* @returns Promise<Models.SqlVirtualMachinesCreateOrUpdateResponse>
|
|
1937
|
-
*/
|
|
1938
|
-
SqlVirtualMachines.prototype.createOrUpdate = function (resourceGroupName$$1, sqlVirtualMachineName$$1, parameters, options) {
|
|
1939
|
-
return this.beginCreateOrUpdate(resourceGroupName$$1, sqlVirtualMachineName$$1, parameters, options)
|
|
1940
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1941
|
-
};
|
|
1942
|
-
/**
|
|
1943
|
-
* Deletes a SQL virtual machine.
|
|
1944
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1945
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1946
|
-
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1947
|
-
* @param [options] The optional parameters
|
|
1948
|
-
* @returns Promise<msRest.RestResponse>
|
|
1949
|
-
*/
|
|
1950
|
-
SqlVirtualMachines.prototype.deleteMethod = function (resourceGroupName$$1, sqlVirtualMachineName$$1, options) {
|
|
1951
|
-
return this.beginDeleteMethod(resourceGroupName$$1, sqlVirtualMachineName$$1, options)
|
|
1952
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1953
|
-
};
|
|
1954
|
-
/**
|
|
1955
|
-
* Updates a SQL virtual machine.
|
|
1956
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1957
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1958
|
-
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1959
|
-
* @param parameters The SQL virtual machine.
|
|
1960
|
-
* @param [options] The optional parameters
|
|
1961
|
-
* @returns Promise<Models.SqlVirtualMachinesUpdateResponse>
|
|
1962
|
-
*/
|
|
1963
|
-
SqlVirtualMachines.prototype.update = function (resourceGroupName$$1, sqlVirtualMachineName$$1, parameters, options) {
|
|
1964
|
-
return this.beginUpdate(resourceGroupName$$1, sqlVirtualMachineName$$1, parameters, options)
|
|
1965
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
1966
|
-
};
|
|
1967
|
-
SqlVirtualMachines.prototype.listByResourceGroup = function (resourceGroupName$$1, options, callback) {
|
|
1968
|
-
return this.client.sendOperationRequest({
|
|
1969
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1970
|
-
options: options
|
|
1971
|
-
}, listByResourceGroupOperationSpec$1, callback);
|
|
1972
|
-
};
|
|
1973
|
-
/**
|
|
1974
|
-
* Creates or updates a SQL virtual machine.
|
|
1975
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1976
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1977
|
-
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1978
|
-
* @param parameters The SQL virtual machine.
|
|
1979
|
-
* @param [options] The optional parameters
|
|
1980
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1981
|
-
*/
|
|
1982
|
-
SqlVirtualMachines.prototype.beginCreateOrUpdate = function (resourceGroupName$$1, sqlVirtualMachineName$$1, parameters, options) {
|
|
1983
|
-
return this.client.sendLRORequest({
|
|
1984
|
-
resourceGroupName: resourceGroupName$$1,
|
|
1985
|
-
sqlVirtualMachineName: sqlVirtualMachineName$$1,
|
|
1986
|
-
parameters: parameters,
|
|
1987
|
-
options: options
|
|
1988
|
-
}, beginCreateOrUpdateOperationSpec$2, options);
|
|
1989
|
-
};
|
|
1990
|
-
/**
|
|
1991
|
-
* Deletes a SQL virtual machine.
|
|
1992
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
1993
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
1994
|
-
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1995
|
-
* @param [options] The optional parameters
|
|
1996
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
1997
|
-
*/
|
|
1998
|
-
SqlVirtualMachines.prototype.beginDeleteMethod = function (resourceGroupName$$1, sqlVirtualMachineName$$1, options) {
|
|
1999
|
-
return this.client.sendLRORequest({
|
|
2000
|
-
resourceGroupName: resourceGroupName$$1,
|
|
2001
|
-
sqlVirtualMachineName: sqlVirtualMachineName$$1,
|
|
2002
|
-
options: options
|
|
2003
|
-
}, beginDeleteMethodOperationSpec$2, options);
|
|
2004
|
-
};
|
|
2005
|
-
/**
|
|
2006
|
-
* Updates a SQL virtual machine.
|
|
2007
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain
|
|
2008
|
-
* this value from the Azure Resource Manager API or the portal.
|
|
2009
|
-
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
2010
|
-
* @param parameters The SQL virtual machine.
|
|
2011
|
-
* @param [options] The optional parameters
|
|
2012
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2013
|
-
*/
|
|
2014
|
-
SqlVirtualMachines.prototype.beginUpdate = function (resourceGroupName$$1, sqlVirtualMachineName$$1, parameters, options) {
|
|
2015
|
-
return this.client.sendLRORequest({
|
|
2016
|
-
resourceGroupName: resourceGroupName$$1,
|
|
2017
|
-
sqlVirtualMachineName: sqlVirtualMachineName$$1,
|
|
2018
|
-
parameters: parameters,
|
|
2019
|
-
options: options
|
|
2020
|
-
}, beginUpdateOperationSpec$1, options);
|
|
2021
|
-
};
|
|
2022
|
-
SqlVirtualMachines.prototype.listNext = function (nextPageLink$$1, options, callback) {
|
|
2023
|
-
return this.client.sendOperationRequest({
|
|
2024
|
-
nextPageLink: nextPageLink$$1,
|
|
2025
|
-
options: options
|
|
2026
|
-
}, listNextOperationSpec$2, callback);
|
|
2027
|
-
};
|
|
2028
|
-
SqlVirtualMachines.prototype.listByResourceGroupNext = function (nextPageLink$$1, options, callback) {
|
|
2029
|
-
return this.client.sendOperationRequest({
|
|
2030
|
-
nextPageLink: nextPageLink$$1,
|
|
2031
|
-
options: options
|
|
2032
|
-
}, listByResourceGroupNextOperationSpec$1, callback);
|
|
2033
|
-
};
|
|
2034
|
-
return SqlVirtualMachines;
|
|
2035
|
-
}());
|
|
2036
|
-
// Operation Specifications
|
|
2037
|
-
var serializer$3 = new msRest.Serializer(Mappers$3);
|
|
2038
|
-
var listOperationSpec$2 = {
|
|
2039
|
-
httpMethod: "GET",
|
|
2040
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines",
|
|
2041
|
-
urlParameters: [
|
|
2042
|
-
subscriptionId
|
|
2043
|
-
],
|
|
2044
|
-
queryParameters: [
|
|
2045
|
-
apiVersion
|
|
2046
|
-
],
|
|
2047
|
-
headerParameters: [
|
|
2048
|
-
acceptLanguage
|
|
2049
|
-
],
|
|
2050
|
-
responses: {
|
|
2051
|
-
200: {
|
|
2052
|
-
bodyMapper: SqlVirtualMachineListResult
|
|
2053
|
-
},
|
|
2054
|
-
default: {
|
|
2055
|
-
bodyMapper: CloudError
|
|
2056
|
-
}
|
|
2057
|
-
},
|
|
2058
|
-
serializer: serializer$3
|
|
2059
|
-
};
|
|
2060
|
-
var getOperationSpec$2 = {
|
|
2061
|
-
httpMethod: "GET",
|
|
2062
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}",
|
|
2063
|
-
urlParameters: [
|
|
2064
|
-
resourceGroupName,
|
|
2065
|
-
sqlVirtualMachineName,
|
|
2066
|
-
subscriptionId
|
|
2067
|
-
],
|
|
2068
|
-
queryParameters: [
|
|
2069
|
-
expand,
|
|
2070
|
-
apiVersion
|
|
2071
|
-
],
|
|
2072
|
-
headerParameters: [
|
|
2073
|
-
acceptLanguage
|
|
2074
|
-
],
|
|
2075
|
-
responses: {
|
|
2076
|
-
200: {
|
|
2077
|
-
bodyMapper: SqlVirtualMachine
|
|
2078
|
-
},
|
|
2079
|
-
default: {
|
|
2080
|
-
bodyMapper: CloudError
|
|
2081
|
-
}
|
|
2082
|
-
},
|
|
2083
|
-
serializer: serializer$3
|
|
2084
|
-
};
|
|
2085
|
-
var listByResourceGroupOperationSpec$1 = {
|
|
2086
|
-
httpMethod: "GET",
|
|
2087
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines",
|
|
2088
|
-
urlParameters: [
|
|
2089
|
-
resourceGroupName,
|
|
2090
|
-
subscriptionId
|
|
2091
|
-
],
|
|
2092
|
-
queryParameters: [
|
|
2093
|
-
apiVersion
|
|
2094
|
-
],
|
|
2095
|
-
headerParameters: [
|
|
2096
|
-
acceptLanguage
|
|
2097
|
-
],
|
|
2098
|
-
responses: {
|
|
2099
|
-
200: {
|
|
2100
|
-
bodyMapper: SqlVirtualMachineListResult
|
|
2101
|
-
},
|
|
2102
|
-
default: {
|
|
2103
|
-
bodyMapper: CloudError
|
|
2104
|
-
}
|
|
2105
|
-
},
|
|
2106
|
-
serializer: serializer$3
|
|
2107
|
-
};
|
|
2108
|
-
var beginCreateOrUpdateOperationSpec$2 = {
|
|
2109
|
-
httpMethod: "PUT",
|
|
2110
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}",
|
|
2111
|
-
urlParameters: [
|
|
2112
|
-
resourceGroupName,
|
|
2113
|
-
sqlVirtualMachineName,
|
|
2114
|
-
subscriptionId
|
|
2115
|
-
],
|
|
2116
|
-
queryParameters: [
|
|
2117
|
-
apiVersion
|
|
2118
|
-
],
|
|
2119
|
-
headerParameters: [
|
|
2120
|
-
acceptLanguage
|
|
2121
|
-
],
|
|
2122
|
-
requestBody: {
|
|
2123
|
-
parameterPath: "parameters",
|
|
2124
|
-
mapper: __assign({}, SqlVirtualMachine, { required: true })
|
|
2125
|
-
},
|
|
2126
|
-
responses: {
|
|
2127
|
-
200: {
|
|
2128
|
-
bodyMapper: SqlVirtualMachine
|
|
2129
|
-
},
|
|
2130
|
-
201: {
|
|
2131
|
-
bodyMapper: SqlVirtualMachine
|
|
2132
|
-
},
|
|
2133
|
-
default: {
|
|
2134
|
-
bodyMapper: CloudError
|
|
2135
|
-
}
|
|
2136
|
-
},
|
|
2137
|
-
serializer: serializer$3
|
|
2138
|
-
};
|
|
2139
|
-
var beginDeleteMethodOperationSpec$2 = {
|
|
2140
|
-
httpMethod: "DELETE",
|
|
2141
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}",
|
|
2142
|
-
urlParameters: [
|
|
2143
|
-
resourceGroupName,
|
|
2144
|
-
sqlVirtualMachineName,
|
|
2145
|
-
subscriptionId
|
|
2146
|
-
],
|
|
2147
|
-
queryParameters: [
|
|
2148
|
-
apiVersion
|
|
2149
|
-
],
|
|
2150
|
-
headerParameters: [
|
|
2151
|
-
acceptLanguage
|
|
2152
|
-
],
|
|
2153
|
-
responses: {
|
|
2154
|
-
200: {},
|
|
2155
|
-
202: {},
|
|
2156
|
-
204: {},
|
|
2157
|
-
default: {
|
|
2158
|
-
bodyMapper: CloudError
|
|
2159
|
-
}
|
|
2160
|
-
},
|
|
2161
|
-
serializer: serializer$3
|
|
2162
|
-
};
|
|
2163
|
-
var beginUpdateOperationSpec$1 = {
|
|
2164
|
-
httpMethod: "PATCH",
|
|
2165
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}",
|
|
2166
|
-
urlParameters: [
|
|
2167
|
-
resourceGroupName,
|
|
2168
|
-
sqlVirtualMachineName,
|
|
2169
|
-
subscriptionId
|
|
2170
|
-
],
|
|
2171
|
-
queryParameters: [
|
|
2172
|
-
apiVersion
|
|
2173
|
-
],
|
|
2174
|
-
headerParameters: [
|
|
2175
|
-
acceptLanguage
|
|
2176
|
-
],
|
|
2177
|
-
requestBody: {
|
|
2178
|
-
parameterPath: "parameters",
|
|
2179
|
-
mapper: __assign({}, SqlVirtualMachineUpdate, { required: true })
|
|
2180
|
-
},
|
|
2181
|
-
responses: {
|
|
2182
|
-
200: {
|
|
2183
|
-
bodyMapper: SqlVirtualMachine
|
|
2184
|
-
},
|
|
2185
|
-
default: {
|
|
2186
|
-
bodyMapper: CloudError
|
|
2187
|
-
}
|
|
2188
|
-
},
|
|
2189
|
-
serializer: serializer$3
|
|
2190
|
-
};
|
|
2191
|
-
var listNextOperationSpec$2 = {
|
|
2192
|
-
httpMethod: "GET",
|
|
2193
|
-
baseUrl: "https://management.azure.com",
|
|
2194
|
-
path: "{nextLink}",
|
|
2195
|
-
urlParameters: [
|
|
2196
|
-
nextPageLink
|
|
2197
|
-
],
|
|
2198
|
-
headerParameters: [
|
|
2199
|
-
acceptLanguage
|
|
2200
|
-
],
|
|
2201
|
-
responses: {
|
|
2202
|
-
200: {
|
|
2203
|
-
bodyMapper: SqlVirtualMachineListResult
|
|
2204
|
-
},
|
|
2205
|
-
default: {
|
|
2206
|
-
bodyMapper: CloudError
|
|
2207
|
-
}
|
|
2208
|
-
},
|
|
2209
|
-
serializer: serializer$3
|
|
2210
|
-
};
|
|
2211
|
-
var listByResourceGroupNextOperationSpec$1 = {
|
|
2212
|
-
httpMethod: "GET",
|
|
2213
|
-
baseUrl: "https://management.azure.com",
|
|
2214
|
-
path: "{nextLink}",
|
|
2215
|
-
urlParameters: [
|
|
2216
|
-
nextPageLink
|
|
2217
|
-
],
|
|
2218
|
-
headerParameters: [
|
|
2219
|
-
acceptLanguage
|
|
2220
|
-
],
|
|
2221
|
-
responses: {
|
|
2222
|
-
200: {
|
|
2223
|
-
bodyMapper: SqlVirtualMachineListResult
|
|
2224
|
-
},
|
|
2225
|
-
default: {
|
|
2226
|
-
bodyMapper: CloudError
|
|
2227
|
-
}
|
|
2228
|
-
},
|
|
2229
|
-
serializer: serializer$3
|
|
2230
|
-
};
|
|
2231
|
-
|
|
2232
|
-
/*
|
|
2233
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2234
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
2235
|
-
* license information.
|
|
2236
|
-
*
|
|
2237
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2238
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2239
|
-
* regenerated.
|
|
2240
|
-
*/
|
|
2241
|
-
|
|
2242
|
-
/*
|
|
2243
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2244
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
2245
|
-
* license information.
|
|
2246
|
-
*
|
|
2247
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2248
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2249
|
-
* regenerated.
|
|
2250
|
-
*/
|
|
2251
|
-
var packageName = "@azure/arm-sqlvirtualmachine";
|
|
2252
|
-
var packageVersion = "3.1.0";
|
|
2253
|
-
var SqlVirtualMachineManagementClientContext = /** @class */ (function (_super) {
|
|
2254
|
-
__extends(SqlVirtualMachineManagementClientContext, _super);
|
|
2255
|
-
/**
|
|
2256
|
-
* Initializes a new instance of the SqlVirtualMachineManagementClient class.
|
|
2257
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
2258
|
-
* @param subscriptionId Subscription ID that identifies an Azure subscription.
|
|
2259
|
-
* @param [options] The parameter options
|
|
2260
|
-
*/
|
|
2261
|
-
function SqlVirtualMachineManagementClientContext(credentials, subscriptionId, options) {
|
|
2262
|
-
var _this = this;
|
|
2263
|
-
if (credentials == undefined) {
|
|
2264
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
2265
|
-
}
|
|
2266
|
-
if (subscriptionId == undefined) {
|
|
2267
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
2268
|
-
}
|
|
2269
|
-
if (!options) {
|
|
2270
|
-
options = {};
|
|
2271
|
-
}
|
|
2272
|
-
if (!options.userAgent) {
|
|
2273
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
2274
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
2275
|
-
}
|
|
2276
|
-
_this = _super.call(this, credentials, options) || this;
|
|
2277
|
-
_this.apiVersion = '2017-03-01-preview';
|
|
2278
|
-
_this.acceptLanguage = 'en-US';
|
|
2279
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
2280
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
2281
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
2282
|
-
_this.credentials = credentials;
|
|
2283
|
-
_this.subscriptionId = subscriptionId;
|
|
2284
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
2285
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
2286
|
-
}
|
|
2287
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
2288
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
2289
|
-
}
|
|
2290
|
-
return _this;
|
|
2291
|
-
}
|
|
2292
|
-
return SqlVirtualMachineManagementClientContext;
|
|
2293
|
-
}(msRestAzure.AzureServiceClient));
|
|
2294
|
-
|
|
2295
|
-
/*
|
|
2296
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2297
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
2298
|
-
* license information.
|
|
2299
|
-
*
|
|
2300
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2301
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2302
|
-
* regenerated.
|
|
2303
|
-
*/
|
|
2304
|
-
var SqlVirtualMachineManagementClient = /** @class */ (function (_super) {
|
|
2305
|
-
__extends(SqlVirtualMachineManagementClient, _super);
|
|
2306
|
-
/**
|
|
2307
|
-
* Initializes a new instance of the SqlVirtualMachineManagementClient class.
|
|
2308
|
-
* @param credentials Credentials needed for the client to connect to Azure.
|
|
2309
|
-
* @param subscriptionId Subscription ID that identifies an Azure subscription.
|
|
2310
|
-
* @param [options] The parameter options
|
|
2311
|
-
*/
|
|
2312
|
-
function SqlVirtualMachineManagementClient(credentials, subscriptionId, options) {
|
|
2313
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
|
2314
|
-
_this.availabilityGroupListeners = new AvailabilityGroupListeners(_this);
|
|
2315
|
-
_this.operations = new Operations(_this);
|
|
2316
|
-
_this.sqlVirtualMachineGroups = new SqlVirtualMachineGroups(_this);
|
|
2317
|
-
_this.sqlVirtualMachines = new SqlVirtualMachines(_this);
|
|
2318
|
-
return _this;
|
|
2319
|
-
}
|
|
2320
|
-
return SqlVirtualMachineManagementClient;
|
|
2321
|
-
}(SqlVirtualMachineManagementClientContext));
|
|
2322
|
-
|
|
2323
|
-
exports.SqlVirtualMachineManagementClient = SqlVirtualMachineManagementClient;
|
|
2324
|
-
exports.SqlVirtualMachineManagementClientContext = SqlVirtualMachineManagementClientContext;
|
|
2325
|
-
exports.SqlVirtualMachineManagementModels = index;
|
|
2326
|
-
exports.SqlVirtualMachineManagementMappers = mappers;
|
|
2327
|
-
exports.AvailabilityGroupListeners = AvailabilityGroupListeners;
|
|
2328
|
-
exports.Operations = Operations;
|
|
2329
|
-
exports.SqlVirtualMachineGroups = SqlVirtualMachineGroups;
|
|
2330
|
-
exports.SqlVirtualMachines = SqlVirtualMachines;
|
|
2331
|
-
|
|
2332
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2333
|
-
|
|
2334
|
-
})));
|
|
2335
|
-
//# sourceMappingURL=arm-sqlvirtualmachine.js.map
|