@azure/arm-sqlvirtualmachine 4.1.1 → 5.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +69 -85
- package/dist/index.js +2827 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +783 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +103 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +31 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +320 -368
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +18 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +143 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/availabilityGroupListeners.d.ts +89 -0
- package/dist-esm/src/operations/availabilityGroupListeners.d.ts.map +1 -0
- package/dist-esm/src/operations/availabilityGroupListeners.js +338 -0
- package/dist-esm/src/operations/availabilityGroupListeners.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +116 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts +117 -0
- package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js +487 -0
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js.map +1 -0
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts +144 -0
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operations/sqlVirtualMachines.js +598 -0
- package/dist-esm/src/operations/sqlVirtualMachines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.js +9 -0
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts +79 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts +87 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.js +9 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.js.map +1 -0
- package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts +21 -0
- package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts.map +1 -0
- package/dist-esm/src/sqlVirtualMachineManagementClient.js +54 -0
- package/dist-esm/src/sqlVirtualMachineManagementClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-sqlvirtualmachine.api.md +678 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +629 -1065
- package/src/models/mappers.ts +328 -376
- package/src/models/parameters.ts +106 -41
- package/src/operations/availabilityGroupListeners.ts +366 -222
- package/src/operations/index.ts +3 -5
- package/src/operations/operations.ts +89 -79
- package/src/operations/sqlVirtualMachineGroups.ts +517 -344
- package/src/operations/sqlVirtualMachines.ts +641 -424
- package/src/operationsInterfaces/availabilityGroupListeners.ts +115 -0
- package/src/operationsInterfaces/index.ts +12 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/sqlVirtualMachineGroups.ts +147 -0
- package/src/operationsInterfaces/sqlVirtualMachines.ts +160 -0
- package/src/sqlVirtualMachineManagementClient.ts +78 -41
- package/tsconfig.json +3 -3
- package/types/arm-sqlvirtualmachine.d.ts +1141 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-sqlvirtualmachine.js +0 -2479
- package/dist/arm-sqlvirtualmachine.js.map +0 -1
- package/dist/arm-sqlvirtualmachine.min.js +0 -1
- package/dist/arm-sqlvirtualmachine.min.js.map +0 -1
- package/esm/models/availabilityGroupListenersMappers.d.ts +0 -2
- package/esm/models/availabilityGroupListenersMappers.d.ts.map +0 -1
- package/esm/models/availabilityGroupListenersMappers.js +0 -9
- package/esm/models/availabilityGroupListenersMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1241
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -33
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -11
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -103
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/sqlVirtualMachineGroupsMappers.d.ts +0 -2
- package/esm/models/sqlVirtualMachineGroupsMappers.d.ts.map +0 -1
- package/esm/models/sqlVirtualMachineGroupsMappers.js +0 -9
- package/esm/models/sqlVirtualMachineGroupsMappers.js.map +0 -1
- package/esm/models/sqlVirtualMachinesMappers.d.ts +0 -2
- package/esm/models/sqlVirtualMachinesMappers.d.ts.map +0 -1
- package/esm/models/sqlVirtualMachinesMappers.js +0 -9
- package/esm/models/sqlVirtualMachinesMappers.js.map +0 -1
- package/esm/operations/availabilityGroupListeners.d.ts +0 -125
- package/esm/operations/availabilityGroupListeners.d.ts.map +0 -1
- package/esm/operations/availabilityGroupListeners.js +0 -238
- package/esm/operations/availabilityGroupListeners.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/sqlVirtualMachineGroups.d.ts +0 -168
- package/esm/operations/sqlVirtualMachineGroups.d.ts.map +0 -1
- package/esm/operations/sqlVirtualMachineGroups.js +0 -337
- package/esm/operations/sqlVirtualMachineGroups.js.map +0 -1
- package/esm/operations/sqlVirtualMachines.d.ts +0 -210
- package/esm/operations/sqlVirtualMachines.d.ts.map +0 -1
- package/esm/operations/sqlVirtualMachines.js +0 -395
- package/esm/operations/sqlVirtualMachines.js.map +0 -1
- package/esm/sqlVirtualMachineManagementClient.d.ts +0 -27
- package/esm/sqlVirtualMachineManagementClient.d.ts.map +0 -1
- package/esm/sqlVirtualMachineManagementClient.js +0 -41
- package/esm/sqlVirtualMachineManagementClient.js.map +0 -1
- package/esm/sqlVirtualMachineManagementClientContext.d.ts +0 -22
- package/esm/sqlVirtualMachineManagementClientContext.d.ts.map +0 -1
- package/esm/sqlVirtualMachineManagementClientContext.js +0 -61
- package/esm/sqlVirtualMachineManagementClientContext.js.map +0 -1
- package/src/models/availabilityGroupListenersMappers.ts +0 -34
- package/src/models/operationsMappers.ts +0 -14
- package/src/models/sqlVirtualMachineGroupsMappers.ts +0 -35
- package/src/models/sqlVirtualMachinesMappers.ts +0 -35
- package/src/sqlVirtualMachineManagementClientContext.ts +0 -68
package/src/models/index.ts
CHANGED
|
@@ -1,1342 +1,906 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* A private IP address bound to the availability group listener.
|
|
16
|
-
*/
|
|
17
|
-
export interface PrivateIPAddress {
|
|
18
|
-
/**
|
|
19
|
-
* Private IP address bound to the availability group listener.
|
|
20
|
-
*/
|
|
21
|
-
ipAddress?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Subnet used to include private IP.
|
|
24
|
-
*/
|
|
25
|
-
subnetResourceId?: string;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* A load balancer configuration for an availability group listener.
|
|
30
|
-
*/
|
|
11
|
+
/** A load balancer configuration for an availability group listener. */
|
|
31
12
|
export interface LoadBalancerConfiguration {
|
|
32
|
-
/**
|
|
33
|
-
* Private IP address.
|
|
34
|
-
*/
|
|
13
|
+
/** Private IP address. */
|
|
35
14
|
privateIpAddress?: PrivateIPAddress;
|
|
36
|
-
/**
|
|
37
|
-
* Resource id of the public IP.
|
|
38
|
-
*/
|
|
15
|
+
/** Resource id of the public IP. */
|
|
39
16
|
publicIpAddressResourceId?: string;
|
|
40
|
-
/**
|
|
41
|
-
* Resource id of the load balancer.
|
|
42
|
-
*/
|
|
17
|
+
/** Resource id of the load balancer. */
|
|
43
18
|
loadBalancerResourceId?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Probe port.
|
|
46
|
-
*/
|
|
19
|
+
/** Probe port. */
|
|
47
20
|
probePort?: number;
|
|
48
|
-
/**
|
|
49
|
-
* List of the SQL virtual machine instance resource id's that are enrolled into the availability
|
|
50
|
-
* group listener.
|
|
51
|
-
*/
|
|
21
|
+
/** List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener. */
|
|
52
22
|
sqlVirtualMachineInstances?: string[];
|
|
53
23
|
}
|
|
54
24
|
|
|
55
|
-
/**
|
|
56
|
-
|
|
57
|
-
*/
|
|
58
|
-
|
|
25
|
+
/** A private IP address bound to the availability group listener. */
|
|
26
|
+
export interface PrivateIPAddress {
|
|
27
|
+
/** Private IP address bound to the availability group listener. */
|
|
28
|
+
ipAddress?: string;
|
|
29
|
+
/** Subnet used to include private IP. */
|
|
30
|
+
subnetResourceId?: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/** ARM resource. */
|
|
34
|
+
export interface Resource {
|
|
59
35
|
/**
|
|
60
36
|
* Resource ID.
|
|
61
|
-
*
|
|
37
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
62
38
|
*/
|
|
63
39
|
readonly id?: string;
|
|
64
40
|
/**
|
|
65
41
|
* Resource name.
|
|
66
|
-
*
|
|
42
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
67
43
|
*/
|
|
68
44
|
readonly name?: string;
|
|
69
45
|
/**
|
|
70
46
|
* Resource type.
|
|
71
|
-
*
|
|
47
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
72
48
|
*/
|
|
73
49
|
readonly type?: string;
|
|
74
50
|
}
|
|
75
51
|
|
|
76
|
-
/**
|
|
77
|
-
|
|
78
|
-
*/
|
|
79
|
-
export interface ProxyResource extends Resource {
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* A SQL Server availability group listener.
|
|
84
|
-
*/
|
|
85
|
-
export interface AvailabilityGroupListener extends ProxyResource {
|
|
86
|
-
/**
|
|
87
|
-
* Provisioning state to track the async operation status.
|
|
88
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
89
|
-
*/
|
|
90
|
-
readonly provisioningState?: string;
|
|
91
|
-
/**
|
|
92
|
-
* Name of the availability group.
|
|
93
|
-
*/
|
|
94
|
-
availabilityGroupName?: string;
|
|
52
|
+
/** A list of availability group listeners. */
|
|
53
|
+
export interface AvailabilityGroupListenerListResult {
|
|
95
54
|
/**
|
|
96
|
-
*
|
|
55
|
+
* Array of results.
|
|
56
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
97
57
|
*/
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Create a default availability group if it does not exist.
|
|
101
|
-
*/
|
|
102
|
-
createDefaultAvailabilityGroupIfNotExist?: boolean;
|
|
58
|
+
readonly value?: AvailabilityGroupListener[];
|
|
103
59
|
/**
|
|
104
|
-
*
|
|
60
|
+
* Link to retrieve next page of results.
|
|
61
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
105
62
|
*/
|
|
106
|
-
|
|
63
|
+
readonly nextLink?: string;
|
|
107
64
|
}
|
|
108
65
|
|
|
109
|
-
/**
|
|
110
|
-
|
|
111
|
-
*/
|
|
112
|
-
export interface OperationDisplay {
|
|
113
|
-
/**
|
|
114
|
-
* The localized friendly form of the resource provider name.
|
|
115
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
116
|
-
*/
|
|
117
|
-
readonly provider?: string;
|
|
118
|
-
/**
|
|
119
|
-
* The localized friendly form of the resource type related to this action/operation.
|
|
120
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
121
|
-
*/
|
|
122
|
-
readonly resource?: string;
|
|
66
|
+
/** Result of the request to list SQL operations. */
|
|
67
|
+
export interface OperationListResult {
|
|
123
68
|
/**
|
|
124
|
-
*
|
|
125
|
-
*
|
|
69
|
+
* Array of results.
|
|
70
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
126
71
|
*/
|
|
127
|
-
readonly
|
|
72
|
+
readonly value?: Operation[];
|
|
128
73
|
/**
|
|
129
|
-
*
|
|
130
|
-
*
|
|
74
|
+
* Link to retrieve next page of results.
|
|
75
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
131
76
|
*/
|
|
132
|
-
readonly
|
|
77
|
+
readonly nextLink?: string;
|
|
133
78
|
}
|
|
134
79
|
|
|
135
|
-
/**
|
|
136
|
-
* SQL REST API operation definition.
|
|
137
|
-
*/
|
|
80
|
+
/** SQL REST API operation definition. */
|
|
138
81
|
export interface Operation {
|
|
139
82
|
/**
|
|
140
83
|
* The name of the operation being performed on this particular object.
|
|
141
|
-
*
|
|
84
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
142
85
|
*/
|
|
143
86
|
readonly name?: string;
|
|
144
87
|
/**
|
|
145
88
|
* The localized display information for this particular operation / action.
|
|
146
|
-
*
|
|
89
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
147
90
|
*/
|
|
148
91
|
readonly display?: OperationDisplay;
|
|
149
92
|
/**
|
|
150
|
-
* The intended executor of the operation.
|
|
151
|
-
*
|
|
93
|
+
* The intended executor of the operation.
|
|
94
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
152
95
|
*/
|
|
153
96
|
readonly origin?: OperationOrigin;
|
|
154
97
|
/**
|
|
155
98
|
* Additional descriptions for the operation.
|
|
156
|
-
*
|
|
99
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
157
100
|
*/
|
|
158
|
-
readonly properties?: { [propertyName: string]:
|
|
101
|
+
readonly properties?: { [propertyName: string]: Record<string, unknown> };
|
|
159
102
|
}
|
|
160
103
|
|
|
161
|
-
/**
|
|
162
|
-
|
|
163
|
-
*/
|
|
164
|
-
export interface WsfcDomainProfile {
|
|
104
|
+
/** Display metadata associated with the operation. */
|
|
105
|
+
export interface OperationDisplay {
|
|
165
106
|
/**
|
|
166
|
-
*
|
|
107
|
+
* The localized friendly form of the resource provider name.
|
|
108
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
167
109
|
*/
|
|
168
|
-
|
|
110
|
+
readonly provider?: string;
|
|
169
111
|
/**
|
|
170
|
-
*
|
|
112
|
+
* The localized friendly form of the resource type related to this action/operation.
|
|
113
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
171
114
|
*/
|
|
172
|
-
|
|
115
|
+
readonly resource?: string;
|
|
173
116
|
/**
|
|
174
|
-
*
|
|
175
|
-
*
|
|
117
|
+
* The localized friendly name for the operation.
|
|
118
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
176
119
|
*/
|
|
177
|
-
|
|
120
|
+
readonly operation?: string;
|
|
178
121
|
/**
|
|
179
|
-
*
|
|
180
|
-
*
|
|
122
|
+
* The localized friendly description for the operation.
|
|
123
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
181
124
|
*/
|
|
125
|
+
readonly description?: string;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/** Active Directory account details to operate Windows Server Failover Cluster. */
|
|
129
|
+
export interface WsfcDomainProfile {
|
|
130
|
+
/** Fully qualified name of the domain. */
|
|
131
|
+
domainFqdn?: string;
|
|
132
|
+
/** Organizational Unit path in which the nodes and cluster will be present. */
|
|
133
|
+
ouPath?: string;
|
|
134
|
+
/** Account name used for creating cluster (at minimum needs permissions to 'Create Computer Objects' in domain). */
|
|
135
|
+
clusterBootstrapAccount?: string;
|
|
136
|
+
/** Account name used for operating cluster i.e. will be part of administrators group on all the participating virtual machines in the cluster. */
|
|
182
137
|
clusterOperatorAccount?: string;
|
|
183
|
-
/**
|
|
184
|
-
* Account name under which SQL service will run on all participating SQL virtual machines in the
|
|
185
|
-
* cluster.
|
|
186
|
-
*/
|
|
138
|
+
/** Account name under which SQL service will run on all participating SQL virtual machines in the cluster. */
|
|
187
139
|
sqlServiceAccount?: string;
|
|
188
|
-
/**
|
|
189
|
-
* Optional path for fileshare witness.
|
|
190
|
-
*/
|
|
140
|
+
/** Optional path for fileshare witness. */
|
|
191
141
|
fileShareWitnessPath?: string;
|
|
192
|
-
/**
|
|
193
|
-
* Fully qualified ARM resource id of the witness storage account.
|
|
194
|
-
*/
|
|
142
|
+
/** Fully qualified ARM resource id of the witness storage account. */
|
|
195
143
|
storageAccountUrl?: string;
|
|
196
|
-
/**
|
|
197
|
-
* Primary key of the witness storage account.
|
|
198
|
-
*/
|
|
144
|
+
/** Primary key of the witness storage account. */
|
|
199
145
|
storageAccountPrimaryKey?: string;
|
|
200
146
|
}
|
|
201
147
|
|
|
202
|
-
/**
|
|
203
|
-
|
|
204
|
-
*/
|
|
205
|
-
export interface TrackedResource extends Resource {
|
|
206
|
-
/**
|
|
207
|
-
* Resource location.
|
|
208
|
-
*/
|
|
209
|
-
location: string;
|
|
210
|
-
/**
|
|
211
|
-
* Resource tags.
|
|
212
|
-
*/
|
|
148
|
+
/** An update to a SQL virtual machine group. */
|
|
149
|
+
export interface SqlVirtualMachineGroupUpdate {
|
|
150
|
+
/** Resource tags. */
|
|
213
151
|
tags?: { [propertyName: string]: string };
|
|
214
152
|
}
|
|
215
153
|
|
|
216
|
-
/**
|
|
217
|
-
|
|
218
|
-
*/
|
|
219
|
-
export interface SqlVirtualMachineGroup extends TrackedResource {
|
|
220
|
-
/**
|
|
221
|
-
* Provisioning state to track the async operation status.
|
|
222
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
223
|
-
*/
|
|
224
|
-
readonly provisioningState?: string;
|
|
225
|
-
/**
|
|
226
|
-
* SQL image offer. Examples may include SQL2016-WS2016, SQL2017-WS2016.
|
|
227
|
-
*/
|
|
228
|
-
sqlImageOffer?: string;
|
|
229
|
-
/**
|
|
230
|
-
* SQL image sku. Possible values include: 'Developer', 'Enterprise'
|
|
231
|
-
*/
|
|
232
|
-
sqlImageSku?: SqlVmGroupImageSku;
|
|
233
|
-
/**
|
|
234
|
-
* Scale type. Possible values include: 'HA'
|
|
235
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
236
|
-
*/
|
|
237
|
-
readonly scaleType?: ScaleType;
|
|
238
|
-
/**
|
|
239
|
-
* Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of
|
|
240
|
-
* the group and the OS type. Possible values include: 'WSFC'
|
|
241
|
-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
|
|
242
|
-
*/
|
|
243
|
-
readonly clusterManagerType?: ClusterManagerType;
|
|
154
|
+
/** A list of SQL virtual machine groups. */
|
|
155
|
+
export interface SqlVirtualMachineGroupListResult {
|
|
244
156
|
/**
|
|
245
|
-
*
|
|
246
|
-
*
|
|
157
|
+
* Array of results.
|
|
158
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
247
159
|
*/
|
|
248
|
-
readonly
|
|
160
|
+
readonly value?: SqlVirtualMachineGroup[];
|
|
249
161
|
/**
|
|
250
|
-
*
|
|
162
|
+
* Link to retrieve next page of results.
|
|
163
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
251
164
|
*/
|
|
252
|
-
|
|
165
|
+
readonly nextLink?: string;
|
|
253
166
|
}
|
|
254
167
|
|
|
255
|
-
/**
|
|
256
|
-
|
|
257
|
-
*/
|
|
258
|
-
export interface SqlVirtualMachineGroupUpdate {
|
|
168
|
+
/** A list of SQL virtual machines. */
|
|
169
|
+
export interface SqlVirtualMachineListResult {
|
|
259
170
|
/**
|
|
260
|
-
*
|
|
171
|
+
* Array of results.
|
|
172
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
261
173
|
*/
|
|
262
|
-
|
|
174
|
+
readonly value?: SqlVirtualMachine[];
|
|
175
|
+
/**
|
|
176
|
+
* Link to retrieve next page of results.
|
|
177
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
178
|
+
*/
|
|
179
|
+
readonly nextLink?: string;
|
|
263
180
|
}
|
|
264
181
|
|
|
265
|
-
/**
|
|
266
|
-
* Azure Active Directory identity configuration for a resource.
|
|
267
|
-
*/
|
|
182
|
+
/** Azure Active Directory identity configuration for a resource. */
|
|
268
183
|
export interface ResourceIdentity {
|
|
269
184
|
/**
|
|
270
185
|
* The Azure Active Directory principal id.
|
|
271
|
-
*
|
|
186
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
272
187
|
*/
|
|
273
188
|
readonly principalId?: string;
|
|
274
|
-
/**
|
|
275
|
-
* The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an
|
|
276
|
-
* Azure Active Directory principal for the resource. Possible values include: 'SystemAssigned'
|
|
277
|
-
*/
|
|
189
|
+
/** The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. */
|
|
278
190
|
type?: IdentityType;
|
|
279
191
|
/**
|
|
280
192
|
* The Azure Active Directory tenant id.
|
|
281
|
-
*
|
|
193
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
282
194
|
*/
|
|
283
195
|
readonly tenantId?: string;
|
|
284
196
|
}
|
|
285
197
|
|
|
286
|
-
/**
|
|
287
|
-
* Domain credentials for setting up Windows Server Failover Cluster for SQL availability group.
|
|
288
|
-
*/
|
|
198
|
+
/** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
|
|
289
199
|
export interface WsfcDomainCredentials {
|
|
290
|
-
/**
|
|
291
|
-
* Cluster bootstrap account password.
|
|
292
|
-
*/
|
|
200
|
+
/** Cluster bootstrap account password. */
|
|
293
201
|
clusterBootstrapAccountPassword?: string;
|
|
294
|
-
/**
|
|
295
|
-
* Cluster operator account password.
|
|
296
|
-
*/
|
|
202
|
+
/** Cluster operator account password. */
|
|
297
203
|
clusterOperatorAccountPassword?: string;
|
|
298
|
-
/**
|
|
299
|
-
* SQL service account password.
|
|
300
|
-
*/
|
|
204
|
+
/** SQL service account password. */
|
|
301
205
|
sqlServiceAccountPassword?: string;
|
|
302
206
|
}
|
|
303
207
|
|
|
304
|
-
/**
|
|
305
|
-
* Set a patching window during which Windows and SQL patches will be applied.
|
|
306
|
-
*/
|
|
208
|
+
/** Set a patching window during which Windows and SQL patches will be applied. */
|
|
307
209
|
export interface AutoPatchingSettings {
|
|
308
|
-
/**
|
|
309
|
-
* Enable or disable autopatching on SQL virtual machine.
|
|
310
|
-
*/
|
|
210
|
+
/** Enable or disable autopatching on SQL virtual machine. */
|
|
311
211
|
enable?: boolean;
|
|
312
|
-
/**
|
|
313
|
-
* Day of week to apply the patch on. Possible values include: 'Monday', 'Tuesday', 'Wednesday',
|
|
314
|
-
* 'Thursday', 'Friday', 'Saturday', 'Sunday'
|
|
315
|
-
*/
|
|
212
|
+
/** Day of week to apply the patch on. */
|
|
316
213
|
dayOfWeek?: DayOfWeek;
|
|
317
|
-
/**
|
|
318
|
-
* Hour of the day when patching is initiated. Local VM time.
|
|
319
|
-
*/
|
|
214
|
+
/** Hour of the day when patching is initiated. Local VM time. */
|
|
320
215
|
maintenanceWindowStartingHour?: number;
|
|
321
|
-
/**
|
|
322
|
-
* Duration of patching.
|
|
323
|
-
*/
|
|
216
|
+
/** Duration of patching. */
|
|
324
217
|
maintenanceWindowDuration?: number;
|
|
325
218
|
}
|
|
326
219
|
|
|
327
|
-
/**
|
|
328
|
-
* Configure backups for databases in your SQL virtual machine.
|
|
329
|
-
*/
|
|
220
|
+
/** Configure backups for databases in your SQL virtual machine. */
|
|
330
221
|
export interface AutoBackupSettings {
|
|
331
|
-
/**
|
|
332
|
-
* Enable or disable autobackup on SQL virtual machine.
|
|
333
|
-
*/
|
|
222
|
+
/** Enable or disable autobackup on SQL virtual machine. */
|
|
334
223
|
enable?: boolean;
|
|
335
|
-
/**
|
|
336
|
-
* Enable or disable encryption for backup on SQL virtual machine.
|
|
337
|
-
*/
|
|
224
|
+
/** Enable or disable encryption for backup on SQL virtual machine. */
|
|
338
225
|
enableEncryption?: boolean;
|
|
339
|
-
/**
|
|
340
|
-
* Retention period of backup: 1-30 days.
|
|
341
|
-
*/
|
|
226
|
+
/** Retention period of backup: 1-30 days. */
|
|
342
227
|
retentionPeriod?: number;
|
|
343
|
-
/**
|
|
344
|
-
* Storage account url where backup will be taken to.
|
|
345
|
-
*/
|
|
228
|
+
/** Storage account url where backup will be taken to. */
|
|
346
229
|
storageAccountUrl?: string;
|
|
347
|
-
/**
|
|
348
|
-
* Storage account key where backup will be taken to.
|
|
349
|
-
*/
|
|
230
|
+
/** Storage account key where backup will be taken to. */
|
|
350
231
|
storageAccessKey?: string;
|
|
351
|
-
/**
|
|
352
|
-
* Password for encryption on backup.
|
|
353
|
-
*/
|
|
232
|
+
/** Password for encryption on backup. */
|
|
354
233
|
password?: string;
|
|
355
|
-
/**
|
|
356
|
-
* Include or exclude system databases from auto backup.
|
|
357
|
-
*/
|
|
234
|
+
/** Include or exclude system databases from auto backup. */
|
|
358
235
|
backupSystemDbs?: boolean;
|
|
359
|
-
/**
|
|
360
|
-
* Backup schedule type. Possible values include: 'Manual', 'Automated'
|
|
361
|
-
*/
|
|
236
|
+
/** Backup schedule type. */
|
|
362
237
|
backupScheduleType?: BackupScheduleType;
|
|
363
|
-
/**
|
|
364
|
-
* Frequency of full backups. In both cases, full backups begin during the next scheduled time
|
|
365
|
-
* window. Possible values include: 'Daily', 'Weekly'
|
|
366
|
-
*/
|
|
238
|
+
/** Frequency of full backups. In both cases, full backups begin during the next scheduled time window. */
|
|
367
239
|
fullBackupFrequency?: FullBackupFrequencyType;
|
|
368
|
-
/**
|
|
369
|
-
* Start time of a given day during which full backups can take place. 0-23 hours.
|
|
370
|
-
*/
|
|
240
|
+
/** Start time of a given day during which full backups can take place. 0-23 hours. */
|
|
371
241
|
fullBackupStartTime?: number;
|
|
372
|
-
/**
|
|
373
|
-
* Duration of the time window of a given day during which full backups can take place. 1-23
|
|
374
|
-
* hours.
|
|
375
|
-
*/
|
|
242
|
+
/** Duration of the time window of a given day during which full backups can take place. 1-23 hours. */
|
|
376
243
|
fullBackupWindowHours?: number;
|
|
377
|
-
/**
|
|
378
|
-
* Frequency of log backups. 5-60 minutes.
|
|
379
|
-
*/
|
|
244
|
+
/** Frequency of log backups. 5-60 minutes. */
|
|
380
245
|
logBackupFrequency?: number;
|
|
381
246
|
}
|
|
382
247
|
|
|
383
|
-
/**
|
|
384
|
-
* Configure your SQL virtual machine to be able to connect to the Azure Key Vault service.
|
|
385
|
-
*/
|
|
248
|
+
/** Configure your SQL virtual machine to be able to connect to the Azure Key Vault service. */
|
|
386
249
|
export interface KeyVaultCredentialSettings {
|
|
387
|
-
/**
|
|
388
|
-
* Enable or disable key vault credential setting.
|
|
389
|
-
*/
|
|
250
|
+
/** Enable or disable key vault credential setting. */
|
|
390
251
|
enable?: boolean;
|
|
391
|
-
/**
|
|
392
|
-
* Credential name.
|
|
393
|
-
*/
|
|
252
|
+
/** Credential name. */
|
|
394
253
|
credentialName?: string;
|
|
395
|
-
/**
|
|
396
|
-
* Azure Key Vault url.
|
|
397
|
-
*/
|
|
254
|
+
/** Azure Key Vault url. */
|
|
398
255
|
azureKeyVaultUrl?: string;
|
|
399
|
-
/**
|
|
400
|
-
* Service principal name to access key vault.
|
|
401
|
-
*/
|
|
256
|
+
/** Service principal name to access key vault. */
|
|
402
257
|
servicePrincipalName?: string;
|
|
403
|
-
/**
|
|
404
|
-
* Service principal name secret to access key vault.
|
|
405
|
-
*/
|
|
258
|
+
/** Service principal name secret to access key vault. */
|
|
406
259
|
servicePrincipalSecret?: string;
|
|
407
260
|
}
|
|
408
261
|
|
|
409
|
-
/**
|
|
410
|
-
|
|
411
|
-
*/
|
|
262
|
+
/** Set the connectivity, storage and workload settings. */
|
|
263
|
+
export interface ServerConfigurationsManagementSettings {
|
|
264
|
+
/** SQL connectivity type settings. */
|
|
265
|
+
sqlConnectivityUpdateSettings?: SqlConnectivityUpdateSettings;
|
|
266
|
+
/** SQL workload type settings. */
|
|
267
|
+
sqlWorkloadTypeUpdateSettings?: SqlWorkloadTypeUpdateSettings;
|
|
268
|
+
/** SQL storage update settings. */
|
|
269
|
+
sqlStorageUpdateSettings?: SqlStorageUpdateSettings;
|
|
270
|
+
/** Additional SQL feature settings. */
|
|
271
|
+
additionalFeaturesServerConfigurations?: AdditionalFeaturesServerConfigurations;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/** Set the access level and network port settings for SQL Server. */
|
|
412
275
|
export interface SqlConnectivityUpdateSettings {
|
|
413
|
-
/**
|
|
414
|
-
* SQL Server connectivity option. Possible values include: 'LOCAL', 'PRIVATE', 'PUBLIC'
|
|
415
|
-
*/
|
|
276
|
+
/** SQL Server connectivity option. */
|
|
416
277
|
connectivityType?: ConnectivityType;
|
|
417
|
-
/**
|
|
418
|
-
* SQL Server port.
|
|
419
|
-
*/
|
|
278
|
+
/** SQL Server port. */
|
|
420
279
|
port?: number;
|
|
421
|
-
/**
|
|
422
|
-
* SQL Server sysadmin login to create.
|
|
423
|
-
*/
|
|
280
|
+
/** SQL Server sysadmin login to create. */
|
|
424
281
|
sqlAuthUpdateUserName?: string;
|
|
425
|
-
/**
|
|
426
|
-
* SQL Server sysadmin login password.
|
|
427
|
-
*/
|
|
282
|
+
/** SQL Server sysadmin login password. */
|
|
428
283
|
sqlAuthUpdatePassword?: string;
|
|
429
284
|
}
|
|
430
285
|
|
|
431
|
-
/**
|
|
432
|
-
* Set workload type to optimize storage for SQL Server.
|
|
433
|
-
*/
|
|
286
|
+
/** Set workload type to optimize storage for SQL Server. */
|
|
434
287
|
export interface SqlWorkloadTypeUpdateSettings {
|
|
435
|
-
/**
|
|
436
|
-
* SQL Server workload type. Possible values include: 'GENERAL', 'OLTP', 'DW'
|
|
437
|
-
*/
|
|
288
|
+
/** SQL Server workload type. */
|
|
438
289
|
sqlWorkloadType?: SqlWorkloadType;
|
|
439
290
|
}
|
|
440
291
|
|
|
441
|
-
/**
|
|
442
|
-
* Set disk storage settings for SQL Server.
|
|
443
|
-
*/
|
|
292
|
+
/** Set disk storage settings for SQL Server. */
|
|
444
293
|
export interface SqlStorageUpdateSettings {
|
|
445
|
-
/**
|
|
446
|
-
* Virtual machine disk count.
|
|
447
|
-
*/
|
|
294
|
+
/** Virtual machine disk count. */
|
|
448
295
|
diskCount?: number;
|
|
449
|
-
/**
|
|
450
|
-
* Device id of the first disk to be updated.
|
|
451
|
-
*/
|
|
296
|
+
/** Device id of the first disk to be updated. */
|
|
452
297
|
startingDeviceId?: number;
|
|
453
|
-
/**
|
|
454
|
-
* Disk configuration to apply to SQL Server. Possible values include: 'NEW', 'EXTEND', 'ADD'
|
|
455
|
-
*/
|
|
298
|
+
/** Disk configuration to apply to SQL Server. */
|
|
456
299
|
diskConfigurationType?: DiskConfigurationType;
|
|
457
300
|
}
|
|
458
301
|
|
|
459
|
-
/**
|
|
460
|
-
* Additional SQL Server feature settings.
|
|
461
|
-
*/
|
|
302
|
+
/** Additional SQL Server feature settings. */
|
|
462
303
|
export interface AdditionalFeaturesServerConfigurations {
|
|
463
|
-
/**
|
|
464
|
-
* Enable or disable R services (SQL 2016 onwards).
|
|
465
|
-
*/
|
|
304
|
+
/** Enable or disable R services (SQL 2016 onwards). */
|
|
466
305
|
isRServicesEnabled?: boolean;
|
|
467
306
|
}
|
|
468
307
|
|
|
469
|
-
/**
|
|
470
|
-
|
|
471
|
-
*/
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* SQL storage update settings.
|
|
483
|
-
*/
|
|
484
|
-
sqlStorageUpdateSettings?: SqlStorageUpdateSettings;
|
|
485
|
-
/**
|
|
486
|
-
* Additional SQL feature settings.
|
|
487
|
-
*/
|
|
488
|
-
additionalFeaturesServerConfigurations?: AdditionalFeaturesServerConfigurations;
|
|
308
|
+
/** Storage Configurations for SQL Data, Log and TempDb. */
|
|
309
|
+
export interface StorageConfigurationSettings {
|
|
310
|
+
/** SQL Server Data Storage Settings. */
|
|
311
|
+
sqlDataSettings?: SQLStorageSettings;
|
|
312
|
+
/** SQL Server Log Storage Settings. */
|
|
313
|
+
sqlLogSettings?: SQLStorageSettings;
|
|
314
|
+
/** SQL Server TempDb Storage Settings. */
|
|
315
|
+
sqlTempDbSettings?: SQLStorageSettings;
|
|
316
|
+
/** Disk configuration to apply to SQL Server. */
|
|
317
|
+
diskConfigurationType?: DiskConfigurationType;
|
|
318
|
+
/** Storage workload type. */
|
|
319
|
+
storageWorkloadType?: StorageWorkloadType;
|
|
489
320
|
}
|
|
490
321
|
|
|
491
|
-
/**
|
|
492
|
-
* Set disk storage settings for SQL Server.
|
|
493
|
-
*/
|
|
322
|
+
/** Set disk storage settings for SQL Server. */
|
|
494
323
|
export interface SQLStorageSettings {
|
|
495
|
-
/**
|
|
496
|
-
* Logical Unit Numbers for the disks.
|
|
497
|
-
*/
|
|
324
|
+
/** Logical Unit Numbers for the disks. */
|
|
498
325
|
luns?: number[];
|
|
499
|
-
/**
|
|
500
|
-
* SQL Server default file path
|
|
501
|
-
*/
|
|
326
|
+
/** SQL Server default file path */
|
|
502
327
|
defaultFilePath?: string;
|
|
503
328
|
}
|
|
504
329
|
|
|
505
|
-
/**
|
|
506
|
-
|
|
507
|
-
*/
|
|
508
|
-
|
|
330
|
+
/** An update to a SQL virtual machine. */
|
|
331
|
+
export interface SqlVirtualMachineUpdate {
|
|
332
|
+
/** Resource tags. */
|
|
333
|
+
tags?: { [propertyName: string]: string };
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/** ARM proxy resource. */
|
|
337
|
+
export type ProxyResource = Resource & {};
|
|
338
|
+
|
|
339
|
+
/** ARM tracked top level resource. */
|
|
340
|
+
export type TrackedResource = Resource & {
|
|
341
|
+
/** Resource location. */
|
|
342
|
+
location: string;
|
|
343
|
+
/** Resource tags. */
|
|
344
|
+
tags?: { [propertyName: string]: string };
|
|
345
|
+
};
|
|
346
|
+
|
|
347
|
+
/** A SQL Server availability group listener. */
|
|
348
|
+
export type AvailabilityGroupListener = ProxyResource & {
|
|
509
349
|
/**
|
|
510
|
-
*
|
|
350
|
+
* Provisioning state to track the async operation status.
|
|
351
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
511
352
|
*/
|
|
512
|
-
|
|
353
|
+
readonly provisioningState?: string;
|
|
354
|
+
/** Name of the availability group. */
|
|
355
|
+
availabilityGroupName?: string;
|
|
356
|
+
/** List of load balancer configurations for an availability group listener. */
|
|
357
|
+
loadBalancerConfigurations?: LoadBalancerConfiguration[];
|
|
358
|
+
/** Create a default availability group if it does not exist. */
|
|
359
|
+
createDefaultAvailabilityGroupIfNotExist?: boolean;
|
|
360
|
+
/** Listener port. */
|
|
361
|
+
port?: number;
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
/** A SQL virtual machine group. */
|
|
365
|
+
export type SqlVirtualMachineGroup = TrackedResource & {
|
|
513
366
|
/**
|
|
514
|
-
*
|
|
367
|
+
* Provisioning state to track the async operation status.
|
|
368
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
515
369
|
*/
|
|
516
|
-
|
|
370
|
+
readonly provisioningState?: string;
|
|
371
|
+
/** SQL image offer. Examples may include SQL2016-WS2016, SQL2017-WS2016. */
|
|
372
|
+
sqlImageOffer?: string;
|
|
373
|
+
/** SQL image sku. */
|
|
374
|
+
sqlImageSku?: SqlVmGroupImageSku;
|
|
517
375
|
/**
|
|
518
|
-
*
|
|
376
|
+
* Scale type.
|
|
377
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
519
378
|
*/
|
|
520
|
-
|
|
379
|
+
readonly scaleType?: ScaleType;
|
|
521
380
|
/**
|
|
522
|
-
*
|
|
381
|
+
* Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type.
|
|
382
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
523
383
|
*/
|
|
524
|
-
|
|
384
|
+
readonly clusterManagerType?: ClusterManagerType;
|
|
525
385
|
/**
|
|
526
|
-
*
|
|
386
|
+
* Cluster type.
|
|
387
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
527
388
|
*/
|
|
528
|
-
|
|
529
|
-
|
|
389
|
+
readonly clusterConfiguration?: ClusterConfiguration;
|
|
390
|
+
/** Cluster Active Directory domain profile. */
|
|
391
|
+
wsfcDomainProfile?: WsfcDomainProfile;
|
|
392
|
+
};
|
|
530
393
|
|
|
531
|
-
/**
|
|
532
|
-
|
|
533
|
-
*/
|
|
534
|
-
export interface SqlVirtualMachine extends TrackedResource {
|
|
535
|
-
/**
|
|
536
|
-
* Azure Active Directory identity of the server.
|
|
537
|
-
*/
|
|
394
|
+
/** A SQL virtual machine. */
|
|
395
|
+
export type SqlVirtualMachine = TrackedResource & {
|
|
396
|
+
/** Azure Active Directory identity of the server. */
|
|
538
397
|
identity?: ResourceIdentity;
|
|
539
|
-
/**
|
|
540
|
-
* ARM Resource id of underlying virtual machine created from SQL marketplace image.
|
|
541
|
-
*/
|
|
398
|
+
/** ARM Resource id of underlying virtual machine created from SQL marketplace image. */
|
|
542
399
|
virtualMachineResourceId?: string;
|
|
543
400
|
/**
|
|
544
401
|
* Provisioning state to track the async operation status.
|
|
545
|
-
*
|
|
402
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
546
403
|
*/
|
|
547
404
|
readonly provisioningState?: string;
|
|
548
|
-
/**
|
|
549
|
-
* SQL image offer. Examples include SQL2016-WS2016, SQL2017-WS2016.
|
|
550
|
-
*/
|
|
405
|
+
/** SQL image offer. Examples include SQL2016-WS2016, SQL2017-WS2016. */
|
|
551
406
|
sqlImageOffer?: string;
|
|
552
|
-
/**
|
|
553
|
-
* SQL Server license type. Possible values include: 'PAYG', 'AHUB', 'DR'
|
|
554
|
-
*/
|
|
407
|
+
/** SQL Server license type. */
|
|
555
408
|
sqlServerLicenseType?: SqlServerLicenseType;
|
|
556
|
-
/**
|
|
557
|
-
* SQL Server Management type. Possible values include: 'Full', 'LightWeight', 'NoAgent'
|
|
558
|
-
*/
|
|
409
|
+
/** SQL Server Management type. */
|
|
559
410
|
sqlManagement?: SqlManagementMode;
|
|
560
|
-
/**
|
|
561
|
-
* SQL Server edition type. Possible values include: 'Developer', 'Express', 'Standard',
|
|
562
|
-
* 'Enterprise', 'Web'
|
|
563
|
-
*/
|
|
411
|
+
/** SQL Server edition type. */
|
|
564
412
|
sqlImageSku?: SqlImageSku;
|
|
565
|
-
/**
|
|
566
|
-
* ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part
|
|
567
|
-
* of.
|
|
568
|
-
*/
|
|
413
|
+
/** ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of. */
|
|
569
414
|
sqlVirtualMachineGroupResourceId?: string;
|
|
570
|
-
/**
|
|
571
|
-
* Domain credentials for setting up Windows Server Failover Cluster for SQL availability group.
|
|
572
|
-
*/
|
|
415
|
+
/** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
|
|
573
416
|
wsfcDomainCredentials?: WsfcDomainCredentials;
|
|
574
|
-
/**
|
|
575
|
-
* Auto patching settings for applying critical security updates to SQL virtual machine.
|
|
576
|
-
*/
|
|
417
|
+
/** Auto patching settings for applying critical security updates to SQL virtual machine. */
|
|
577
418
|
autoPatchingSettings?: AutoPatchingSettings;
|
|
578
|
-
/**
|
|
579
|
-
* Auto backup settings for SQL Server.
|
|
580
|
-
*/
|
|
419
|
+
/** Auto backup settings for SQL Server. */
|
|
581
420
|
autoBackupSettings?: AutoBackupSettings;
|
|
582
|
-
/**
|
|
583
|
-
* Key vault credential settings.
|
|
584
|
-
*/
|
|
421
|
+
/** Key vault credential settings. */
|
|
585
422
|
keyVaultCredentialSettings?: KeyVaultCredentialSettings;
|
|
586
|
-
/**
|
|
587
|
-
* SQL Server configuration management settings.
|
|
588
|
-
*/
|
|
423
|
+
/** SQL Server configuration management settings. */
|
|
589
424
|
serverConfigurationsManagementSettings?: ServerConfigurationsManagementSettings;
|
|
590
|
-
/**
|
|
591
|
-
* Storage Configuration Settings.
|
|
592
|
-
*/
|
|
425
|
+
/** Storage Configuration Settings. */
|
|
593
426
|
storageConfigurationSettings?: StorageConfigurationSettings;
|
|
427
|
+
};
|
|
428
|
+
|
|
429
|
+
/** Known values of {@link OperationOrigin} that the service accepts. */
|
|
430
|
+
export enum KnownOperationOrigin {
|
|
431
|
+
User = "user",
|
|
432
|
+
System = "system"
|
|
594
433
|
}
|
|
595
434
|
|
|
596
435
|
/**
|
|
597
|
-
*
|
|
436
|
+
* Defines values for OperationOrigin. \
|
|
437
|
+
* {@link KnownOperationOrigin} can be used interchangeably with OperationOrigin,
|
|
438
|
+
* this enum contains the known values that the service supports.
|
|
439
|
+
* ### Known values supported by the service
|
|
440
|
+
* **user** \
|
|
441
|
+
* **system**
|
|
598
442
|
*/
|
|
599
|
-
export
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
443
|
+
export type OperationOrigin = string;
|
|
444
|
+
|
|
445
|
+
/** Known values of {@link SqlVmGroupImageSku} that the service accepts. */
|
|
446
|
+
export enum KnownSqlVmGroupImageSku {
|
|
447
|
+
Developer = "Developer",
|
|
448
|
+
Enterprise = "Enterprise"
|
|
604
449
|
}
|
|
605
450
|
|
|
606
451
|
/**
|
|
607
|
-
*
|
|
452
|
+
* Defines values for SqlVmGroupImageSku. \
|
|
453
|
+
* {@link KnownSqlVmGroupImageSku} can be used interchangeably with SqlVmGroupImageSku,
|
|
454
|
+
* this enum contains the known values that the service supports.
|
|
455
|
+
* ### Known values supported by the service
|
|
456
|
+
* **Developer** \
|
|
457
|
+
* **Enterprise**
|
|
608
458
|
*/
|
|
609
|
-
export
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
459
|
+
export type SqlVmGroupImageSku = string;
|
|
460
|
+
|
|
461
|
+
/** Known values of {@link ScaleType} that the service accepts. */
|
|
462
|
+
export enum KnownScaleType {
|
|
463
|
+
HA = "HA"
|
|
614
464
|
}
|
|
615
465
|
|
|
616
466
|
/**
|
|
617
|
-
*
|
|
467
|
+
* Defines values for ScaleType. \
|
|
468
|
+
* {@link KnownScaleType} can be used interchangeably with ScaleType,
|
|
469
|
+
* this enum contains the known values that the service supports.
|
|
470
|
+
* ### Known values supported by the service
|
|
471
|
+
* **HA**
|
|
618
472
|
*/
|
|
619
|
-
export
|
|
620
|
-
|
|
473
|
+
export type ScaleType = string;
|
|
474
|
+
|
|
475
|
+
/** Known values of {@link ClusterManagerType} that the service accepts. */
|
|
476
|
+
export enum KnownClusterManagerType {
|
|
477
|
+
Wsfc = "WSFC"
|
|
621
478
|
}
|
|
622
479
|
|
|
623
480
|
/**
|
|
624
|
-
*
|
|
625
|
-
*
|
|
626
|
-
*
|
|
481
|
+
* Defines values for ClusterManagerType. \
|
|
482
|
+
* {@link KnownClusterManagerType} can be used interchangeably with ClusterManagerType,
|
|
483
|
+
* this enum contains the known values that the service supports.
|
|
484
|
+
* ### Known values supported by the service
|
|
485
|
+
* **WSFC**
|
|
627
486
|
*/
|
|
628
|
-
export
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
readonly nextLink?: string;
|
|
487
|
+
export type ClusterManagerType = string;
|
|
488
|
+
|
|
489
|
+
/** Known values of {@link ClusterConfiguration} that the service accepts. */
|
|
490
|
+
export enum KnownClusterConfiguration {
|
|
491
|
+
Domainful = "Domainful"
|
|
634
492
|
}
|
|
635
493
|
|
|
636
494
|
/**
|
|
637
|
-
*
|
|
638
|
-
*
|
|
639
|
-
*
|
|
495
|
+
* Defines values for ClusterConfiguration. \
|
|
496
|
+
* {@link KnownClusterConfiguration} can be used interchangeably with ClusterConfiguration,
|
|
497
|
+
* this enum contains the known values that the service supports.
|
|
498
|
+
* ### Known values supported by the service
|
|
499
|
+
* **Domainful**
|
|
640
500
|
*/
|
|
641
|
-
export
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
readonly nextLink?: string;
|
|
501
|
+
export type ClusterConfiguration = string;
|
|
502
|
+
|
|
503
|
+
/** Known values of {@link IdentityType} that the service accepts. */
|
|
504
|
+
export enum KnownIdentityType {
|
|
505
|
+
SystemAssigned = "SystemAssigned"
|
|
647
506
|
}
|
|
648
507
|
|
|
649
508
|
/**
|
|
650
|
-
*
|
|
651
|
-
*
|
|
652
|
-
*
|
|
509
|
+
* Defines values for IdentityType. \
|
|
510
|
+
* {@link KnownIdentityType} can be used interchangeably with IdentityType,
|
|
511
|
+
* this enum contains the known values that the service supports.
|
|
512
|
+
* ### Known values supported by the service
|
|
513
|
+
* **SystemAssigned**
|
|
653
514
|
*/
|
|
654
|
-
export
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
515
|
+
export type IdentityType = string;
|
|
516
|
+
|
|
517
|
+
/** Known values of {@link SqlServerLicenseType} that the service accepts. */
|
|
518
|
+
export enum KnownSqlServerLicenseType {
|
|
519
|
+
Payg = "PAYG",
|
|
520
|
+
Ahub = "AHUB",
|
|
521
|
+
DR = "DR"
|
|
660
522
|
}
|
|
661
523
|
|
|
662
524
|
/**
|
|
663
|
-
*
|
|
664
|
-
*
|
|
665
|
-
*
|
|
525
|
+
* Defines values for SqlServerLicenseType. \
|
|
526
|
+
* {@link KnownSqlServerLicenseType} can be used interchangeably with SqlServerLicenseType,
|
|
527
|
+
* this enum contains the known values that the service supports.
|
|
528
|
+
* ### Known values supported by the service
|
|
529
|
+
* **PAYG** \
|
|
530
|
+
* **AHUB** \
|
|
531
|
+
* **DR**
|
|
666
532
|
*/
|
|
667
|
-
export
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
533
|
+
export type SqlServerLicenseType = string;
|
|
534
|
+
|
|
535
|
+
/** Known values of {@link SqlManagementMode} that the service accepts. */
|
|
536
|
+
export enum KnownSqlManagementMode {
|
|
537
|
+
Full = "Full",
|
|
538
|
+
LightWeight = "LightWeight",
|
|
539
|
+
NoAgent = "NoAgent"
|
|
673
540
|
}
|
|
674
541
|
|
|
675
542
|
/**
|
|
676
|
-
* Defines values for
|
|
677
|
-
*
|
|
678
|
-
*
|
|
679
|
-
*
|
|
543
|
+
* Defines values for SqlManagementMode. \
|
|
544
|
+
* {@link KnownSqlManagementMode} can be used interchangeably with SqlManagementMode,
|
|
545
|
+
* this enum contains the known values that the service supports.
|
|
546
|
+
* ### Known values supported by the service
|
|
547
|
+
* **Full** \
|
|
548
|
+
* **LightWeight** \
|
|
549
|
+
* **NoAgent**
|
|
680
550
|
*/
|
|
681
|
-
export type
|
|
551
|
+
export type SqlManagementMode = string;
|
|
682
552
|
|
|
683
|
-
/**
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
553
|
+
/** Known values of {@link SqlImageSku} that the service accepts. */
|
|
554
|
+
export enum KnownSqlImageSku {
|
|
555
|
+
Developer = "Developer",
|
|
556
|
+
Express = "Express",
|
|
557
|
+
Standard = "Standard",
|
|
558
|
+
Enterprise = "Enterprise",
|
|
559
|
+
Web = "Web"
|
|
560
|
+
}
|
|
690
561
|
|
|
691
562
|
/**
|
|
692
|
-
* Defines values for
|
|
693
|
-
*
|
|
694
|
-
*
|
|
695
|
-
*
|
|
563
|
+
* Defines values for SqlImageSku. \
|
|
564
|
+
* {@link KnownSqlImageSku} can be used interchangeably with SqlImageSku,
|
|
565
|
+
* this enum contains the known values that the service supports.
|
|
566
|
+
* ### Known values supported by the service
|
|
567
|
+
* **Developer** \
|
|
568
|
+
* **Express** \
|
|
569
|
+
* **Standard** \
|
|
570
|
+
* **Enterprise** \
|
|
571
|
+
* **Web**
|
|
696
572
|
*/
|
|
697
|
-
export type
|
|
573
|
+
export type SqlImageSku = string;
|
|
698
574
|
|
|
699
|
-
/**
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
*/
|
|
705
|
-
export type ClusterManagerType = 'WSFC';
|
|
575
|
+
/** Known values of {@link BackupScheduleType} that the service accepts. */
|
|
576
|
+
export enum KnownBackupScheduleType {
|
|
577
|
+
Manual = "Manual",
|
|
578
|
+
Automated = "Automated"
|
|
579
|
+
}
|
|
706
580
|
|
|
707
581
|
/**
|
|
708
|
-
* Defines values for
|
|
709
|
-
*
|
|
710
|
-
*
|
|
711
|
-
*
|
|
582
|
+
* Defines values for BackupScheduleType. \
|
|
583
|
+
* {@link KnownBackupScheduleType} can be used interchangeably with BackupScheduleType,
|
|
584
|
+
* this enum contains the known values that the service supports.
|
|
585
|
+
* ### Known values supported by the service
|
|
586
|
+
* **Manual** \
|
|
587
|
+
* **Automated**
|
|
712
588
|
*/
|
|
713
|
-
export type
|
|
589
|
+
export type BackupScheduleType = string;
|
|
714
590
|
|
|
715
|
-
/**
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
*/
|
|
721
|
-
export type IdentityType = 'SystemAssigned';
|
|
591
|
+
/** Known values of {@link FullBackupFrequencyType} that the service accepts. */
|
|
592
|
+
export enum KnownFullBackupFrequencyType {
|
|
593
|
+
Daily = "Daily",
|
|
594
|
+
Weekly = "Weekly"
|
|
595
|
+
}
|
|
722
596
|
|
|
723
597
|
/**
|
|
724
|
-
* Defines values for
|
|
725
|
-
*
|
|
726
|
-
*
|
|
727
|
-
*
|
|
598
|
+
* Defines values for FullBackupFrequencyType. \
|
|
599
|
+
* {@link KnownFullBackupFrequencyType} can be used interchangeably with FullBackupFrequencyType,
|
|
600
|
+
* this enum contains the known values that the service supports.
|
|
601
|
+
* ### Known values supported by the service
|
|
602
|
+
* **Daily** \
|
|
603
|
+
* **Weekly**
|
|
728
604
|
*/
|
|
729
|
-
export type
|
|
605
|
+
export type FullBackupFrequencyType = string;
|
|
730
606
|
|
|
731
|
-
/**
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
export type SqlManagementMode = 'Full' | 'LightWeight' | 'NoAgent';
|
|
607
|
+
/** Known values of {@link ConnectivityType} that the service accepts. */
|
|
608
|
+
export enum KnownConnectivityType {
|
|
609
|
+
Local = "LOCAL",
|
|
610
|
+
Private = "PRIVATE",
|
|
611
|
+
Public = "PUBLIC"
|
|
612
|
+
}
|
|
738
613
|
|
|
739
614
|
/**
|
|
740
|
-
* Defines values for
|
|
741
|
-
*
|
|
742
|
-
*
|
|
743
|
-
*
|
|
615
|
+
* Defines values for ConnectivityType. \
|
|
616
|
+
* {@link KnownConnectivityType} can be used interchangeably with ConnectivityType,
|
|
617
|
+
* this enum contains the known values that the service supports.
|
|
618
|
+
* ### Known values supported by the service
|
|
619
|
+
* **LOCAL** \
|
|
620
|
+
* **PRIVATE** \
|
|
621
|
+
* **PUBLIC**
|
|
744
622
|
*/
|
|
745
|
-
export type
|
|
623
|
+
export type ConnectivityType = string;
|
|
746
624
|
|
|
747
|
-
/**
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
*/
|
|
754
|
-
export type DayOfWeek = 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday' | 'Sunday';
|
|
625
|
+
/** Known values of {@link SqlWorkloadType} that the service accepts. */
|
|
626
|
+
export enum KnownSqlWorkloadType {
|
|
627
|
+
General = "GENERAL",
|
|
628
|
+
Oltp = "OLTP",
|
|
629
|
+
DW = "DW"
|
|
630
|
+
}
|
|
755
631
|
|
|
756
632
|
/**
|
|
757
|
-
* Defines values for
|
|
758
|
-
*
|
|
759
|
-
*
|
|
760
|
-
*
|
|
633
|
+
* Defines values for SqlWorkloadType. \
|
|
634
|
+
* {@link KnownSqlWorkloadType} can be used interchangeably with SqlWorkloadType,
|
|
635
|
+
* this enum contains the known values that the service supports.
|
|
636
|
+
* ### Known values supported by the service
|
|
637
|
+
* **GENERAL** \
|
|
638
|
+
* **OLTP** \
|
|
639
|
+
* **DW**
|
|
761
640
|
*/
|
|
762
|
-
export type
|
|
641
|
+
export type SqlWorkloadType = string;
|
|
763
642
|
|
|
764
|
-
/**
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
export type FullBackupFrequencyType = 'Daily' | 'Weekly';
|
|
643
|
+
/** Known values of {@link DiskConfigurationType} that the service accepts. */
|
|
644
|
+
export enum KnownDiskConfigurationType {
|
|
645
|
+
NEW = "NEW",
|
|
646
|
+
Extend = "EXTEND",
|
|
647
|
+
ADD = "ADD"
|
|
648
|
+
}
|
|
771
649
|
|
|
772
650
|
/**
|
|
773
|
-
* Defines values for
|
|
774
|
-
*
|
|
775
|
-
*
|
|
776
|
-
*
|
|
651
|
+
* Defines values for DiskConfigurationType. \
|
|
652
|
+
* {@link KnownDiskConfigurationType} can be used interchangeably with DiskConfigurationType,
|
|
653
|
+
* this enum contains the known values that the service supports.
|
|
654
|
+
* ### Known values supported by the service
|
|
655
|
+
* **NEW** \
|
|
656
|
+
* **EXTEND** \
|
|
657
|
+
* **ADD**
|
|
777
658
|
*/
|
|
778
|
-
export type
|
|
659
|
+
export type DiskConfigurationType = string;
|
|
779
660
|
|
|
780
|
-
/**
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
export type SqlWorkloadType = 'GENERAL' | 'OLTP' | 'DW';
|
|
661
|
+
/** Known values of {@link StorageWorkloadType} that the service accepts. */
|
|
662
|
+
export enum KnownStorageWorkloadType {
|
|
663
|
+
General = "GENERAL",
|
|
664
|
+
Oltp = "OLTP",
|
|
665
|
+
DW = "DW"
|
|
666
|
+
}
|
|
787
667
|
|
|
788
668
|
/**
|
|
789
|
-
* Defines values for
|
|
790
|
-
*
|
|
791
|
-
*
|
|
792
|
-
*
|
|
793
|
-
|
|
794
|
-
|
|
669
|
+
* Defines values for StorageWorkloadType. \
|
|
670
|
+
* {@link KnownStorageWorkloadType} can be used interchangeably with StorageWorkloadType,
|
|
671
|
+
* this enum contains the known values that the service supports.
|
|
672
|
+
* ### Known values supported by the service
|
|
673
|
+
* **GENERAL** \
|
|
674
|
+
* **OLTP** \
|
|
675
|
+
* **DW**
|
|
676
|
+
*/
|
|
677
|
+
export type StorageWorkloadType = string;
|
|
678
|
+
/** Defines values for DayOfWeek. */
|
|
679
|
+
export type DayOfWeek =
|
|
680
|
+
| "Monday"
|
|
681
|
+
| "Tuesday"
|
|
682
|
+
| "Wednesday"
|
|
683
|
+
| "Thursday"
|
|
684
|
+
| "Friday"
|
|
685
|
+
| "Saturday"
|
|
686
|
+
| "Sunday";
|
|
687
|
+
|
|
688
|
+
/** Optional parameters. */
|
|
689
|
+
export interface AvailabilityGroupListenersGetOptionalParams
|
|
690
|
+
extends coreClient.OperationOptions {}
|
|
691
|
+
|
|
692
|
+
/** Contains response data for the get operation. */
|
|
693
|
+
export type AvailabilityGroupListenersGetResponse = AvailabilityGroupListener;
|
|
694
|
+
|
|
695
|
+
/** Optional parameters. */
|
|
696
|
+
export interface AvailabilityGroupListenersCreateOrUpdateOptionalParams
|
|
697
|
+
extends coreClient.OperationOptions {
|
|
698
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
699
|
+
updateIntervalInMs?: number;
|
|
700
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
701
|
+
resumeFrom?: string;
|
|
702
|
+
}
|
|
795
703
|
|
|
796
|
-
/**
|
|
797
|
-
|
|
798
|
-
* Possible values include: 'GENERAL', 'OLTP', 'DW'
|
|
799
|
-
* @readonly
|
|
800
|
-
* @enum {string}
|
|
801
|
-
*/
|
|
802
|
-
export type StorageWorkloadType = 'GENERAL' | 'OLTP' | 'DW';
|
|
704
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
705
|
+
export type AvailabilityGroupListenersCreateOrUpdateResponse = AvailabilityGroupListener;
|
|
803
706
|
|
|
804
|
-
/**
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
/**
|
|
813
|
-
* The response body as text (string format)
|
|
814
|
-
*/
|
|
815
|
-
bodyAsText: string;
|
|
816
|
-
|
|
817
|
-
/**
|
|
818
|
-
* The response body as parsed JSON or XML
|
|
819
|
-
*/
|
|
820
|
-
parsedBody: AvailabilityGroupListener;
|
|
821
|
-
};
|
|
822
|
-
};
|
|
707
|
+
/** Optional parameters. */
|
|
708
|
+
export interface AvailabilityGroupListenersDeleteOptionalParams
|
|
709
|
+
extends coreClient.OperationOptions {
|
|
710
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
711
|
+
updateIntervalInMs?: number;
|
|
712
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
713
|
+
resumeFrom?: string;
|
|
714
|
+
}
|
|
823
715
|
|
|
824
|
-
/**
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
export type AvailabilityGroupListenersCreateOrUpdateResponse = AvailabilityGroupListener & {
|
|
828
|
-
/**
|
|
829
|
-
* The underlying HTTP response.
|
|
830
|
-
*/
|
|
831
|
-
_response: msRest.HttpResponse & {
|
|
832
|
-
/**
|
|
833
|
-
* The response body as text (string format)
|
|
834
|
-
*/
|
|
835
|
-
bodyAsText: string;
|
|
836
|
-
|
|
837
|
-
/**
|
|
838
|
-
* The response body as parsed JSON or XML
|
|
839
|
-
*/
|
|
840
|
-
parsedBody: AvailabilityGroupListener;
|
|
841
|
-
};
|
|
842
|
-
};
|
|
716
|
+
/** Optional parameters. */
|
|
717
|
+
export interface AvailabilityGroupListenersListByGroupOptionalParams
|
|
718
|
+
extends coreClient.OperationOptions {}
|
|
843
719
|
|
|
844
|
-
/**
|
|
845
|
-
|
|
846
|
-
*/
|
|
847
|
-
export type AvailabilityGroupListenersListByGroupResponse = AvailabilityGroupListenerListResult & {
|
|
848
|
-
/**
|
|
849
|
-
* The underlying HTTP response.
|
|
850
|
-
*/
|
|
851
|
-
_response: msRest.HttpResponse & {
|
|
852
|
-
/**
|
|
853
|
-
* The response body as text (string format)
|
|
854
|
-
*/
|
|
855
|
-
bodyAsText: string;
|
|
856
|
-
|
|
857
|
-
/**
|
|
858
|
-
* The response body as parsed JSON or XML
|
|
859
|
-
*/
|
|
860
|
-
parsedBody: AvailabilityGroupListenerListResult;
|
|
861
|
-
};
|
|
862
|
-
};
|
|
720
|
+
/** Contains response data for the listByGroup operation. */
|
|
721
|
+
export type AvailabilityGroupListenersListByGroupResponse = AvailabilityGroupListenerListResult;
|
|
863
722
|
|
|
864
|
-
/**
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
export type AvailabilityGroupListenersBeginCreateOrUpdateResponse = AvailabilityGroupListener & {
|
|
868
|
-
/**
|
|
869
|
-
* The underlying HTTP response.
|
|
870
|
-
*/
|
|
871
|
-
_response: msRest.HttpResponse & {
|
|
872
|
-
/**
|
|
873
|
-
* The response body as text (string format)
|
|
874
|
-
*/
|
|
875
|
-
bodyAsText: string;
|
|
876
|
-
|
|
877
|
-
/**
|
|
878
|
-
* The response body as parsed JSON or XML
|
|
879
|
-
*/
|
|
880
|
-
parsedBody: AvailabilityGroupListener;
|
|
881
|
-
};
|
|
882
|
-
};
|
|
723
|
+
/** Optional parameters. */
|
|
724
|
+
export interface AvailabilityGroupListenersListByGroupNextOptionalParams
|
|
725
|
+
extends coreClient.OperationOptions {}
|
|
883
726
|
|
|
884
|
-
/**
|
|
885
|
-
|
|
886
|
-
*/
|
|
887
|
-
export type AvailabilityGroupListenersListByGroupNextResponse = AvailabilityGroupListenerListResult & {
|
|
888
|
-
/**
|
|
889
|
-
* The underlying HTTP response.
|
|
890
|
-
*/
|
|
891
|
-
_response: msRest.HttpResponse & {
|
|
892
|
-
/**
|
|
893
|
-
* The response body as text (string format)
|
|
894
|
-
*/
|
|
895
|
-
bodyAsText: string;
|
|
896
|
-
|
|
897
|
-
/**
|
|
898
|
-
* The response body as parsed JSON or XML
|
|
899
|
-
*/
|
|
900
|
-
parsedBody: AvailabilityGroupListenerListResult;
|
|
901
|
-
};
|
|
902
|
-
};
|
|
727
|
+
/** Contains response data for the listByGroupNext operation. */
|
|
728
|
+
export type AvailabilityGroupListenersListByGroupNextResponse = AvailabilityGroupListenerListResult;
|
|
903
729
|
|
|
904
|
-
/**
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
export type OperationsListResponse = OperationListResult & {
|
|
908
|
-
/**
|
|
909
|
-
* The underlying HTTP response.
|
|
910
|
-
*/
|
|
911
|
-
_response: msRest.HttpResponse & {
|
|
912
|
-
/**
|
|
913
|
-
* The response body as text (string format)
|
|
914
|
-
*/
|
|
915
|
-
bodyAsText: string;
|
|
916
|
-
|
|
917
|
-
/**
|
|
918
|
-
* The response body as parsed JSON or XML
|
|
919
|
-
*/
|
|
920
|
-
parsedBody: OperationListResult;
|
|
921
|
-
};
|
|
922
|
-
};
|
|
730
|
+
/** Optional parameters. */
|
|
731
|
+
export interface OperationsListOptionalParams
|
|
732
|
+
extends coreClient.OperationOptions {}
|
|
923
733
|
|
|
924
|
-
/**
|
|
925
|
-
|
|
926
|
-
*/
|
|
927
|
-
export type OperationsListNextResponse = OperationListResult & {
|
|
928
|
-
/**
|
|
929
|
-
* The underlying HTTP response.
|
|
930
|
-
*/
|
|
931
|
-
_response: msRest.HttpResponse & {
|
|
932
|
-
/**
|
|
933
|
-
* The response body as text (string format)
|
|
934
|
-
*/
|
|
935
|
-
bodyAsText: string;
|
|
936
|
-
|
|
937
|
-
/**
|
|
938
|
-
* The response body as parsed JSON or XML
|
|
939
|
-
*/
|
|
940
|
-
parsedBody: OperationListResult;
|
|
941
|
-
};
|
|
942
|
-
};
|
|
734
|
+
/** Contains response data for the list operation. */
|
|
735
|
+
export type OperationsListResponse = OperationListResult;
|
|
943
736
|
|
|
944
|
-
/**
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
export type SqlVirtualMachineGroupsGetResponse = SqlVirtualMachineGroup & {
|
|
948
|
-
/**
|
|
949
|
-
* The underlying HTTP response.
|
|
950
|
-
*/
|
|
951
|
-
_response: msRest.HttpResponse & {
|
|
952
|
-
/**
|
|
953
|
-
* The response body as text (string format)
|
|
954
|
-
*/
|
|
955
|
-
bodyAsText: string;
|
|
956
|
-
|
|
957
|
-
/**
|
|
958
|
-
* The response body as parsed JSON or XML
|
|
959
|
-
*/
|
|
960
|
-
parsedBody: SqlVirtualMachineGroup;
|
|
961
|
-
};
|
|
962
|
-
};
|
|
737
|
+
/** Optional parameters. */
|
|
738
|
+
export interface OperationsListNextOptionalParams
|
|
739
|
+
extends coreClient.OperationOptions {}
|
|
963
740
|
|
|
964
|
-
/**
|
|
965
|
-
|
|
966
|
-
*/
|
|
967
|
-
export type SqlVirtualMachineGroupsCreateOrUpdateResponse = SqlVirtualMachineGroup & {
|
|
968
|
-
/**
|
|
969
|
-
* The underlying HTTP response.
|
|
970
|
-
*/
|
|
971
|
-
_response: msRest.HttpResponse & {
|
|
972
|
-
/**
|
|
973
|
-
* The response body as text (string format)
|
|
974
|
-
*/
|
|
975
|
-
bodyAsText: string;
|
|
976
|
-
|
|
977
|
-
/**
|
|
978
|
-
* The response body as parsed JSON or XML
|
|
979
|
-
*/
|
|
980
|
-
parsedBody: SqlVirtualMachineGroup;
|
|
981
|
-
};
|
|
982
|
-
};
|
|
741
|
+
/** Contains response data for the listNext operation. */
|
|
742
|
+
export type OperationsListNextResponse = OperationListResult;
|
|
983
743
|
|
|
984
|
-
/**
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
export type SqlVirtualMachineGroupsUpdateResponse = SqlVirtualMachineGroup & {
|
|
988
|
-
/**
|
|
989
|
-
* The underlying HTTP response.
|
|
990
|
-
*/
|
|
991
|
-
_response: msRest.HttpResponse & {
|
|
992
|
-
/**
|
|
993
|
-
* The response body as text (string format)
|
|
994
|
-
*/
|
|
995
|
-
bodyAsText: string;
|
|
996
|
-
|
|
997
|
-
/**
|
|
998
|
-
* The response body as parsed JSON or XML
|
|
999
|
-
*/
|
|
1000
|
-
parsedBody: SqlVirtualMachineGroup;
|
|
1001
|
-
};
|
|
1002
|
-
};
|
|
744
|
+
/** Optional parameters. */
|
|
745
|
+
export interface SqlVirtualMachineGroupsGetOptionalParams
|
|
746
|
+
extends coreClient.OperationOptions {}
|
|
1003
747
|
|
|
1004
|
-
/**
|
|
1005
|
-
|
|
1006
|
-
*/
|
|
1007
|
-
export type SqlVirtualMachineGroupsListByResourceGroupResponse = SqlVirtualMachineGroupListResult & {
|
|
1008
|
-
/**
|
|
1009
|
-
* The underlying HTTP response.
|
|
1010
|
-
*/
|
|
1011
|
-
_response: msRest.HttpResponse & {
|
|
1012
|
-
/**
|
|
1013
|
-
* The response body as text (string format)
|
|
1014
|
-
*/
|
|
1015
|
-
bodyAsText: string;
|
|
1016
|
-
|
|
1017
|
-
/**
|
|
1018
|
-
* The response body as parsed JSON or XML
|
|
1019
|
-
*/
|
|
1020
|
-
parsedBody: SqlVirtualMachineGroupListResult;
|
|
1021
|
-
};
|
|
1022
|
-
};
|
|
748
|
+
/** Contains response data for the get operation. */
|
|
749
|
+
export type SqlVirtualMachineGroupsGetResponse = SqlVirtualMachineGroup;
|
|
1023
750
|
|
|
1024
|
-
/**
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
/**
|
|
1033
|
-
* The response body as text (string format)
|
|
1034
|
-
*/
|
|
1035
|
-
bodyAsText: string;
|
|
1036
|
-
|
|
1037
|
-
/**
|
|
1038
|
-
* The response body as parsed JSON or XML
|
|
1039
|
-
*/
|
|
1040
|
-
parsedBody: SqlVirtualMachineGroupListResult;
|
|
1041
|
-
};
|
|
1042
|
-
};
|
|
751
|
+
/** Optional parameters. */
|
|
752
|
+
export interface SqlVirtualMachineGroupsCreateOrUpdateOptionalParams
|
|
753
|
+
extends coreClient.OperationOptions {
|
|
754
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
755
|
+
updateIntervalInMs?: number;
|
|
756
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
757
|
+
resumeFrom?: string;
|
|
758
|
+
}
|
|
1043
759
|
|
|
1044
|
-
/**
|
|
1045
|
-
|
|
1046
|
-
*/
|
|
1047
|
-
export type SqlVirtualMachineGroupsBeginCreateOrUpdateResponse = SqlVirtualMachineGroup & {
|
|
1048
|
-
/**
|
|
1049
|
-
* The underlying HTTP response.
|
|
1050
|
-
*/
|
|
1051
|
-
_response: msRest.HttpResponse & {
|
|
1052
|
-
/**
|
|
1053
|
-
* The response body as text (string format)
|
|
1054
|
-
*/
|
|
1055
|
-
bodyAsText: string;
|
|
1056
|
-
|
|
1057
|
-
/**
|
|
1058
|
-
* The response body as parsed JSON or XML
|
|
1059
|
-
*/
|
|
1060
|
-
parsedBody: SqlVirtualMachineGroup;
|
|
1061
|
-
};
|
|
1062
|
-
};
|
|
760
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
761
|
+
export type SqlVirtualMachineGroupsCreateOrUpdateResponse = SqlVirtualMachineGroup;
|
|
1063
762
|
|
|
1064
|
-
/**
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
/**
|
|
1073
|
-
* The response body as text (string format)
|
|
1074
|
-
*/
|
|
1075
|
-
bodyAsText: string;
|
|
1076
|
-
|
|
1077
|
-
/**
|
|
1078
|
-
* The response body as parsed JSON or XML
|
|
1079
|
-
*/
|
|
1080
|
-
parsedBody: SqlVirtualMachineGroup;
|
|
1081
|
-
};
|
|
1082
|
-
};
|
|
763
|
+
/** Optional parameters. */
|
|
764
|
+
export interface SqlVirtualMachineGroupsDeleteOptionalParams
|
|
765
|
+
extends coreClient.OperationOptions {
|
|
766
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
767
|
+
updateIntervalInMs?: number;
|
|
768
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
769
|
+
resumeFrom?: string;
|
|
770
|
+
}
|
|
1083
771
|
|
|
1084
|
-
/**
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
/**
|
|
1093
|
-
* The response body as text (string format)
|
|
1094
|
-
*/
|
|
1095
|
-
bodyAsText: string;
|
|
1096
|
-
|
|
1097
|
-
/**
|
|
1098
|
-
* The response body as parsed JSON or XML
|
|
1099
|
-
*/
|
|
1100
|
-
parsedBody: SqlVirtualMachineGroupListResult;
|
|
1101
|
-
};
|
|
1102
|
-
};
|
|
772
|
+
/** Optional parameters. */
|
|
773
|
+
export interface SqlVirtualMachineGroupsUpdateOptionalParams
|
|
774
|
+
extends coreClient.OperationOptions {
|
|
775
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
776
|
+
updateIntervalInMs?: number;
|
|
777
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
778
|
+
resumeFrom?: string;
|
|
779
|
+
}
|
|
1103
780
|
|
|
1104
|
-
/**
|
|
1105
|
-
|
|
1106
|
-
*/
|
|
1107
|
-
export type SqlVirtualMachineGroupsListNextResponse = SqlVirtualMachineGroupListResult & {
|
|
1108
|
-
/**
|
|
1109
|
-
* The underlying HTTP response.
|
|
1110
|
-
*/
|
|
1111
|
-
_response: msRest.HttpResponse & {
|
|
1112
|
-
/**
|
|
1113
|
-
* The response body as text (string format)
|
|
1114
|
-
*/
|
|
1115
|
-
bodyAsText: string;
|
|
1116
|
-
|
|
1117
|
-
/**
|
|
1118
|
-
* The response body as parsed JSON or XML
|
|
1119
|
-
*/
|
|
1120
|
-
parsedBody: SqlVirtualMachineGroupListResult;
|
|
1121
|
-
};
|
|
1122
|
-
};
|
|
781
|
+
/** Contains response data for the update operation. */
|
|
782
|
+
export type SqlVirtualMachineGroupsUpdateResponse = SqlVirtualMachineGroup;
|
|
1123
783
|
|
|
1124
|
-
/**
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
export type SqlVirtualMachinesListBySqlVmGroupResponse = SqlVirtualMachineListResult & {
|
|
1128
|
-
/**
|
|
1129
|
-
* The underlying HTTP response.
|
|
1130
|
-
*/
|
|
1131
|
-
_response: msRest.HttpResponse & {
|
|
1132
|
-
/**
|
|
1133
|
-
* The response body as text (string format)
|
|
1134
|
-
*/
|
|
1135
|
-
bodyAsText: string;
|
|
1136
|
-
|
|
1137
|
-
/**
|
|
1138
|
-
* The response body as parsed JSON or XML
|
|
1139
|
-
*/
|
|
1140
|
-
parsedBody: SqlVirtualMachineListResult;
|
|
1141
|
-
};
|
|
1142
|
-
};
|
|
784
|
+
/** Optional parameters. */
|
|
785
|
+
export interface SqlVirtualMachineGroupsListByResourceGroupOptionalParams
|
|
786
|
+
extends coreClient.OperationOptions {}
|
|
1143
787
|
|
|
1144
|
-
/**
|
|
1145
|
-
|
|
1146
|
-
*/
|
|
1147
|
-
export type SqlVirtualMachinesListResponse = SqlVirtualMachineListResult & {
|
|
1148
|
-
/**
|
|
1149
|
-
* The underlying HTTP response.
|
|
1150
|
-
*/
|
|
1151
|
-
_response: msRest.HttpResponse & {
|
|
1152
|
-
/**
|
|
1153
|
-
* The response body as text (string format)
|
|
1154
|
-
*/
|
|
1155
|
-
bodyAsText: string;
|
|
1156
|
-
|
|
1157
|
-
/**
|
|
1158
|
-
* The response body as parsed JSON or XML
|
|
1159
|
-
*/
|
|
1160
|
-
parsedBody: SqlVirtualMachineListResult;
|
|
1161
|
-
};
|
|
1162
|
-
};
|
|
788
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
789
|
+
export type SqlVirtualMachineGroupsListByResourceGroupResponse = SqlVirtualMachineGroupListResult;
|
|
1163
790
|
|
|
1164
|
-
/**
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
export type SqlVirtualMachinesGetResponse = SqlVirtualMachine & {
|
|
1168
|
-
/**
|
|
1169
|
-
* The underlying HTTP response.
|
|
1170
|
-
*/
|
|
1171
|
-
_response: msRest.HttpResponse & {
|
|
1172
|
-
/**
|
|
1173
|
-
* The response body as text (string format)
|
|
1174
|
-
*/
|
|
1175
|
-
bodyAsText: string;
|
|
1176
|
-
|
|
1177
|
-
/**
|
|
1178
|
-
* The response body as parsed JSON or XML
|
|
1179
|
-
*/
|
|
1180
|
-
parsedBody: SqlVirtualMachine;
|
|
1181
|
-
};
|
|
1182
|
-
};
|
|
791
|
+
/** Optional parameters. */
|
|
792
|
+
export interface SqlVirtualMachineGroupsListOptionalParams
|
|
793
|
+
extends coreClient.OperationOptions {}
|
|
1183
794
|
|
|
1184
|
-
/**
|
|
1185
|
-
|
|
1186
|
-
*/
|
|
1187
|
-
export type SqlVirtualMachinesCreateOrUpdateResponse = SqlVirtualMachine & {
|
|
1188
|
-
/**
|
|
1189
|
-
* The underlying HTTP response.
|
|
1190
|
-
*/
|
|
1191
|
-
_response: msRest.HttpResponse & {
|
|
1192
|
-
/**
|
|
1193
|
-
* The response body as text (string format)
|
|
1194
|
-
*/
|
|
1195
|
-
bodyAsText: string;
|
|
1196
|
-
|
|
1197
|
-
/**
|
|
1198
|
-
* The response body as parsed JSON or XML
|
|
1199
|
-
*/
|
|
1200
|
-
parsedBody: SqlVirtualMachine;
|
|
1201
|
-
};
|
|
1202
|
-
};
|
|
795
|
+
/** Contains response data for the list operation. */
|
|
796
|
+
export type SqlVirtualMachineGroupsListResponse = SqlVirtualMachineGroupListResult;
|
|
1203
797
|
|
|
1204
|
-
/**
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
export type SqlVirtualMachinesUpdateResponse = SqlVirtualMachine & {
|
|
1208
|
-
/**
|
|
1209
|
-
* The underlying HTTP response.
|
|
1210
|
-
*/
|
|
1211
|
-
_response: msRest.HttpResponse & {
|
|
1212
|
-
/**
|
|
1213
|
-
* The response body as text (string format)
|
|
1214
|
-
*/
|
|
1215
|
-
bodyAsText: string;
|
|
1216
|
-
|
|
1217
|
-
/**
|
|
1218
|
-
* The response body as parsed JSON or XML
|
|
1219
|
-
*/
|
|
1220
|
-
parsedBody: SqlVirtualMachine;
|
|
1221
|
-
};
|
|
1222
|
-
};
|
|
798
|
+
/** Optional parameters. */
|
|
799
|
+
export interface SqlVirtualMachineGroupsListByResourceGroupNextOptionalParams
|
|
800
|
+
extends coreClient.OperationOptions {}
|
|
1223
801
|
|
|
1224
|
-
/**
|
|
1225
|
-
|
|
1226
|
-
*/
|
|
1227
|
-
export type SqlVirtualMachinesListByResourceGroupResponse = SqlVirtualMachineListResult & {
|
|
1228
|
-
/**
|
|
1229
|
-
* The underlying HTTP response.
|
|
1230
|
-
*/
|
|
1231
|
-
_response: msRest.HttpResponse & {
|
|
1232
|
-
/**
|
|
1233
|
-
* The response body as text (string format)
|
|
1234
|
-
*/
|
|
1235
|
-
bodyAsText: string;
|
|
1236
|
-
|
|
1237
|
-
/**
|
|
1238
|
-
* The response body as parsed JSON or XML
|
|
1239
|
-
*/
|
|
1240
|
-
parsedBody: SqlVirtualMachineListResult;
|
|
1241
|
-
};
|
|
1242
|
-
};
|
|
802
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
803
|
+
export type SqlVirtualMachineGroupsListByResourceGroupNextResponse = SqlVirtualMachineGroupListResult;
|
|
1243
804
|
|
|
1244
|
-
/**
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
export type SqlVirtualMachinesBeginCreateOrUpdateResponse = SqlVirtualMachine & {
|
|
1248
|
-
/**
|
|
1249
|
-
* The underlying HTTP response.
|
|
1250
|
-
*/
|
|
1251
|
-
_response: msRest.HttpResponse & {
|
|
1252
|
-
/**
|
|
1253
|
-
* The response body as text (string format)
|
|
1254
|
-
*/
|
|
1255
|
-
bodyAsText: string;
|
|
1256
|
-
|
|
1257
|
-
/**
|
|
1258
|
-
* The response body as parsed JSON or XML
|
|
1259
|
-
*/
|
|
1260
|
-
parsedBody: SqlVirtualMachine;
|
|
1261
|
-
};
|
|
1262
|
-
};
|
|
805
|
+
/** Optional parameters. */
|
|
806
|
+
export interface SqlVirtualMachineGroupsListNextOptionalParams
|
|
807
|
+
extends coreClient.OperationOptions {}
|
|
1263
808
|
|
|
1264
|
-
/**
|
|
1265
|
-
|
|
1266
|
-
*/
|
|
1267
|
-
export type SqlVirtualMachinesBeginUpdateResponse = SqlVirtualMachine & {
|
|
1268
|
-
/**
|
|
1269
|
-
* The underlying HTTP response.
|
|
1270
|
-
*/
|
|
1271
|
-
_response: msRest.HttpResponse & {
|
|
1272
|
-
/**
|
|
1273
|
-
* The response body as text (string format)
|
|
1274
|
-
*/
|
|
1275
|
-
bodyAsText: string;
|
|
1276
|
-
|
|
1277
|
-
/**
|
|
1278
|
-
* The response body as parsed JSON or XML
|
|
1279
|
-
*/
|
|
1280
|
-
parsedBody: SqlVirtualMachine;
|
|
1281
|
-
};
|
|
1282
|
-
};
|
|
809
|
+
/** Contains response data for the listNext operation. */
|
|
810
|
+
export type SqlVirtualMachineGroupsListNextResponse = SqlVirtualMachineGroupListResult;
|
|
1283
811
|
|
|
1284
|
-
/**
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
export type SqlVirtualMachinesListBySqlVmGroupNextResponse = SqlVirtualMachineListResult & {
|
|
1288
|
-
/**
|
|
1289
|
-
* The underlying HTTP response.
|
|
1290
|
-
*/
|
|
1291
|
-
_response: msRest.HttpResponse & {
|
|
1292
|
-
/**
|
|
1293
|
-
* The response body as text (string format)
|
|
1294
|
-
*/
|
|
1295
|
-
bodyAsText: string;
|
|
1296
|
-
|
|
1297
|
-
/**
|
|
1298
|
-
* The response body as parsed JSON or XML
|
|
1299
|
-
*/
|
|
1300
|
-
parsedBody: SqlVirtualMachineListResult;
|
|
1301
|
-
};
|
|
1302
|
-
};
|
|
812
|
+
/** Optional parameters. */
|
|
813
|
+
export interface SqlVirtualMachinesListBySqlVmGroupOptionalParams
|
|
814
|
+
extends coreClient.OperationOptions {}
|
|
1303
815
|
|
|
1304
|
-
/**
|
|
1305
|
-
|
|
1306
|
-
*/
|
|
1307
|
-
export type SqlVirtualMachinesListNextResponse = SqlVirtualMachineListResult & {
|
|
1308
|
-
/**
|
|
1309
|
-
* The underlying HTTP response.
|
|
1310
|
-
*/
|
|
1311
|
-
_response: msRest.HttpResponse & {
|
|
1312
|
-
/**
|
|
1313
|
-
* The response body as text (string format)
|
|
1314
|
-
*/
|
|
1315
|
-
bodyAsText: string;
|
|
1316
|
-
|
|
1317
|
-
/**
|
|
1318
|
-
* The response body as parsed JSON or XML
|
|
1319
|
-
*/
|
|
1320
|
-
parsedBody: SqlVirtualMachineListResult;
|
|
1321
|
-
};
|
|
1322
|
-
};
|
|
816
|
+
/** Contains response data for the listBySqlVmGroup operation. */
|
|
817
|
+
export type SqlVirtualMachinesListBySqlVmGroupResponse = SqlVirtualMachineListResult;
|
|
1323
818
|
|
|
1324
|
-
/**
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
819
|
+
/** Optional parameters. */
|
|
820
|
+
export interface SqlVirtualMachinesListOptionalParams
|
|
821
|
+
extends coreClient.OperationOptions {}
|
|
822
|
+
|
|
823
|
+
/** Contains response data for the list operation. */
|
|
824
|
+
export type SqlVirtualMachinesListResponse = SqlVirtualMachineListResult;
|
|
825
|
+
|
|
826
|
+
/** Optional parameters. */
|
|
827
|
+
export interface SqlVirtualMachinesGetOptionalParams
|
|
828
|
+
extends coreClient.OperationOptions {
|
|
829
|
+
/** The child resources to include in the response. */
|
|
830
|
+
expand?: string;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
/** Contains response data for the get operation. */
|
|
834
|
+
export type SqlVirtualMachinesGetResponse = SqlVirtualMachine;
|
|
835
|
+
|
|
836
|
+
/** Optional parameters. */
|
|
837
|
+
export interface SqlVirtualMachinesCreateOrUpdateOptionalParams
|
|
838
|
+
extends coreClient.OperationOptions {
|
|
839
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
840
|
+
updateIntervalInMs?: number;
|
|
841
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
842
|
+
resumeFrom?: string;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
846
|
+
export type SqlVirtualMachinesCreateOrUpdateResponse = SqlVirtualMachine;
|
|
847
|
+
|
|
848
|
+
/** Optional parameters. */
|
|
849
|
+
export interface SqlVirtualMachinesDeleteOptionalParams
|
|
850
|
+
extends coreClient.OperationOptions {
|
|
851
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
852
|
+
updateIntervalInMs?: number;
|
|
853
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
854
|
+
resumeFrom?: string;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
/** Optional parameters. */
|
|
858
|
+
export interface SqlVirtualMachinesUpdateOptionalParams
|
|
859
|
+
extends coreClient.OperationOptions {
|
|
860
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
861
|
+
updateIntervalInMs?: number;
|
|
862
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
863
|
+
resumeFrom?: string;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
/** Contains response data for the update operation. */
|
|
867
|
+
export type SqlVirtualMachinesUpdateResponse = SqlVirtualMachine;
|
|
868
|
+
|
|
869
|
+
/** Optional parameters. */
|
|
870
|
+
export interface SqlVirtualMachinesListByResourceGroupOptionalParams
|
|
871
|
+
extends coreClient.OperationOptions {}
|
|
872
|
+
|
|
873
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
874
|
+
export type SqlVirtualMachinesListByResourceGroupResponse = SqlVirtualMachineListResult;
|
|
875
|
+
|
|
876
|
+
/** Optional parameters. */
|
|
877
|
+
export interface SqlVirtualMachinesListBySqlVmGroupNextOptionalParams
|
|
878
|
+
extends coreClient.OperationOptions {}
|
|
879
|
+
|
|
880
|
+
/** Contains response data for the listBySqlVmGroupNext operation. */
|
|
881
|
+
export type SqlVirtualMachinesListBySqlVmGroupNextResponse = SqlVirtualMachineListResult;
|
|
882
|
+
|
|
883
|
+
/** Optional parameters. */
|
|
884
|
+
export interface SqlVirtualMachinesListNextOptionalParams
|
|
885
|
+
extends coreClient.OperationOptions {}
|
|
886
|
+
|
|
887
|
+
/** Contains response data for the listNext operation. */
|
|
888
|
+
export type SqlVirtualMachinesListNextResponse = SqlVirtualMachineListResult;
|
|
889
|
+
|
|
890
|
+
/** Optional parameters. */
|
|
891
|
+
export interface SqlVirtualMachinesListByResourceGroupNextOptionalParams
|
|
892
|
+
extends coreClient.OperationOptions {}
|
|
893
|
+
|
|
894
|
+
/** Contains response data for the listByResourceGroupNext operation. */
|
|
895
|
+
export type SqlVirtualMachinesListByResourceGroupNextResponse = SqlVirtualMachineListResult;
|
|
896
|
+
|
|
897
|
+
/** Optional parameters. */
|
|
898
|
+
export interface SqlVirtualMachineManagementClientOptionalParams
|
|
899
|
+
extends coreClient.ServiceClientOptions {
|
|
900
|
+
/** server parameter */
|
|
901
|
+
$host?: string;
|
|
902
|
+
/** Api Version */
|
|
903
|
+
apiVersion?: string;
|
|
904
|
+
/** Overrides client endpoint. */
|
|
905
|
+
endpoint?: string;
|
|
906
|
+
}
|