@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.
Files changed (159) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +72 -78
  4. package/dist/index.js +2827 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +783 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +103 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +31 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/mappers.js +366 -340
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +18 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/src/models/parameters.js +143 -0
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operations/availabilityGroupListeners.d.ts +89 -0
  29. package/dist-esm/src/operations/availabilityGroupListeners.d.ts.map +1 -0
  30. package/dist-esm/src/operations/availabilityGroupListeners.js +338 -0
  31. package/dist-esm/src/operations/availabilityGroupListeners.js.map +1 -0
  32. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  33. package/dist-esm/src/operations/index.d.ts.map +1 -0
  34. package/{esm → dist-esm/src}/operations/index.js +3 -5
  35. package/dist-esm/src/operations/index.js.map +1 -0
  36. package/dist-esm/src/operations/operations.d.ts +32 -0
  37. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  38. package/dist-esm/src/operations/operations.js +116 -0
  39. package/dist-esm/src/operations/operations.js.map +1 -0
  40. package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts +117 -0
  41. package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts.map +1 -0
  42. package/dist-esm/src/operations/sqlVirtualMachineGroups.js +487 -0
  43. package/dist-esm/src/operations/sqlVirtualMachineGroups.js.map +1 -0
  44. package/dist-esm/src/operations/sqlVirtualMachines.d.ts +144 -0
  45. package/dist-esm/src/operations/sqlVirtualMachines.d.ts.map +1 -0
  46. package/dist-esm/src/operations/sqlVirtualMachines.js +598 -0
  47. package/dist-esm/src/operations/sqlVirtualMachines.js.map +1 -0
  48. package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts +62 -0
  49. package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts.map +1 -0
  50. package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.js +9 -0
  51. package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
  53. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  54. package/dist-esm/src/operationsInterfaces/index.js +12 -0
  55. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  57. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts +79 -0
  61. package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts +87 -0
  65. package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.js +9 -0
  67. package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.js.map +1 -0
  68. package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts +21 -0
  69. package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts.map +1 -0
  70. package/dist-esm/src/sqlVirtualMachineManagementClient.js +54 -0
  71. package/dist-esm/src/sqlVirtualMachineManagementClient.js.map +1 -0
  72. package/dist-esm/test/sampleTest.d.ts +2 -0
  73. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  74. package/dist-esm/test/sampleTest.js +40 -0
  75. package/dist-esm/test/sampleTest.js.map +1 -0
  76. package/package.json +65 -31
  77. package/review/arm-sqlvirtualmachine.api.md +678 -0
  78. package/rollup.config.js +181 -30
  79. package/src/index.ts +12 -0
  80. package/src/lroImpl.ts +34 -0
  81. package/src/models/index.ts +641 -985
  82. package/src/models/mappers.ts +380 -351
  83. package/src/models/parameters.ts +106 -41
  84. package/src/operations/availabilityGroupListeners.ts +366 -222
  85. package/src/operations/index.ts +3 -5
  86. package/src/operations/operations.ts +89 -79
  87. package/src/operations/sqlVirtualMachineGroups.ts +517 -344
  88. package/src/operations/sqlVirtualMachines.ts +662 -336
  89. package/src/operationsInterfaces/availabilityGroupListeners.ts +115 -0
  90. package/src/operationsInterfaces/index.ts +12 -0
  91. package/src/operationsInterfaces/operations.ts +22 -0
  92. package/src/operationsInterfaces/sqlVirtualMachineGroups.ts +147 -0
  93. package/src/operationsInterfaces/sqlVirtualMachines.ts +160 -0
  94. package/src/sqlVirtualMachineManagementClient.ts +78 -35
  95. package/tsconfig.json +4 -4
  96. package/types/arm-sqlvirtualmachine.d.ts +1141 -0
  97. package/types/tsdoc-metadata.json +11 -0
  98. package/dist/arm-sqlvirtualmachine.js +0 -2335
  99. package/dist/arm-sqlvirtualmachine.js.map +0 -1
  100. package/dist/arm-sqlvirtualmachine.min.js +0 -1
  101. package/dist/arm-sqlvirtualmachine.min.js.map +0 -1
  102. package/esm/models/availabilityGroupListenersMappers.d.ts +0 -2
  103. package/esm/models/availabilityGroupListenersMappers.d.ts.map +0 -1
  104. package/esm/models/availabilityGroupListenersMappers.js +0 -9
  105. package/esm/models/availabilityGroupListenersMappers.js.map +0 -1
  106. package/esm/models/index.d.ts +0 -1156
  107. package/esm/models/index.d.ts.map +0 -1
  108. package/esm/models/index.js +0 -8
  109. package/esm/models/index.js.map +0 -1
  110. package/esm/models/mappers.d.ts +0 -31
  111. package/esm/models/mappers.d.ts.map +0 -1
  112. package/esm/models/mappers.js.map +0 -1
  113. package/esm/models/operationsMappers.d.ts +0 -2
  114. package/esm/models/operationsMappers.d.ts.map +0 -1
  115. package/esm/models/operationsMappers.js +0 -9
  116. package/esm/models/operationsMappers.js.map +0 -1
  117. package/esm/models/parameters.d.ts +0 -11
  118. package/esm/models/parameters.d.ts.map +0 -1
  119. package/esm/models/parameters.js +0 -103
  120. package/esm/models/parameters.js.map +0 -1
  121. package/esm/models/sqlVirtualMachineGroupsMappers.d.ts +0 -2
  122. package/esm/models/sqlVirtualMachineGroupsMappers.d.ts.map +0 -1
  123. package/esm/models/sqlVirtualMachineGroupsMappers.js +0 -9
  124. package/esm/models/sqlVirtualMachineGroupsMappers.js.map +0 -1
  125. package/esm/models/sqlVirtualMachinesMappers.d.ts +0 -2
  126. package/esm/models/sqlVirtualMachinesMappers.d.ts.map +0 -1
  127. package/esm/models/sqlVirtualMachinesMappers.js +0 -9
  128. package/esm/models/sqlVirtualMachinesMappers.js.map +0 -1
  129. package/esm/operations/availabilityGroupListeners.d.ts +0 -125
  130. package/esm/operations/availabilityGroupListeners.d.ts.map +0 -1
  131. package/esm/operations/availabilityGroupListeners.js +0 -238
  132. package/esm/operations/availabilityGroupListeners.js.map +0 -1
  133. package/esm/operations/index.d.ts.map +0 -1
  134. package/esm/operations/index.js.map +0 -1
  135. package/esm/operations/operations.d.ts +0 -46
  136. package/esm/operations/operations.d.ts.map +0 -1
  137. package/esm/operations/operations.js +0 -77
  138. package/esm/operations/operations.js.map +0 -1
  139. package/esm/operations/sqlVirtualMachineGroups.d.ts +0 -168
  140. package/esm/operations/sqlVirtualMachineGroups.d.ts.map +0 -1
  141. package/esm/operations/sqlVirtualMachineGroups.js +0 -337
  142. package/esm/operations/sqlVirtualMachineGroups.js.map +0 -1
  143. package/esm/operations/sqlVirtualMachines.d.ts +0 -168
  144. package/esm/operations/sqlVirtualMachines.d.ts.map +0 -1
  145. package/esm/operations/sqlVirtualMachines.js +0 -338
  146. package/esm/operations/sqlVirtualMachines.js.map +0 -1
  147. package/esm/sqlVirtualMachineManagementClient.d.ts +0 -21
  148. package/esm/sqlVirtualMachineManagementClient.d.ts.map +0 -1
  149. package/esm/sqlVirtualMachineManagementClient.js +0 -36
  150. package/esm/sqlVirtualMachineManagementClient.js.map +0 -1
  151. package/esm/sqlVirtualMachineManagementClientContext.d.ts +0 -16
  152. package/esm/sqlVirtualMachineManagementClientContext.d.ts.map +0 -1
  153. package/esm/sqlVirtualMachineManagementClientContext.js +0 -56
  154. package/esm/sqlVirtualMachineManagementClientContext.js.map +0 -1
  155. package/src/models/availabilityGroupListenersMappers.ts +0 -32
  156. package/src/models/operationsMappers.ts +0 -14
  157. package/src/models/sqlVirtualMachineGroupsMappers.ts +0 -33
  158. package/src/models/sqlVirtualMachinesMappers.ts +0 -33
  159. package/src/sqlVirtualMachineManagementClientContext.ts +0 -62
@@ -1,1250 +1,906 @@
1
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.
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 { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export { BaseResource, CloudError };
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
- * ARM resource.
57
- */
58
- export interface Resource extends BaseResource {
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
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
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
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
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
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
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
- * ARM proxy resource.
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
- * List of load balancer configurations for an availability group listener.
55
+ * Array of results.
56
+ * NOTE: This property will not be serialized. It can only be populated by the server.
97
57
  */
98
- loadBalancerConfigurations?: LoadBalancerConfiguration[];
99
- /**
100
- * Create a default availability group if it does not exist.
101
- */
102
- createDefaultAvailabilityGroupIfNotExist?: boolean;
58
+ readonly value?: AvailabilityGroupListener[];
103
59
  /**
104
- * Listener port.
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
- port?: number;
63
+ readonly nextLink?: string;
107
64
  }
108
65
 
109
- /**
110
- * Display metadata associated with the operation.
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
- * The localized friendly name for the operation.
125
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
69
+ * Array of results.
70
+ * NOTE: This property will not be serialized. It can only be populated by the server.
126
71
  */
127
- readonly operation?: string;
72
+ readonly value?: Operation[];
128
73
  /**
129
- * The localized friendly description for the operation.
130
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
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 description?: string;
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
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
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
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
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. Possible values include: 'user', 'system'
151
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
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
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
99
+ * NOTE: This property will not be serialized. It can only be populated by the server.
157
100
  */
158
- readonly properties?: { [propertyName: string]: any };
101
+ readonly properties?: { [propertyName: string]: Record<string, unknown> };
159
102
  }
160
103
 
161
- /**
162
- * Active Directory account details to operate Windows Server Failover Cluster.
163
- */
164
- export interface WsfcDomainProfile {
104
+ /** Display metadata associated with the operation. */
105
+ export interface OperationDisplay {
165
106
  /**
166
- * Fully qualified name of the domain.
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
- domainFqdn?: string;
110
+ readonly provider?: string;
169
111
  /**
170
- * Organizational Unit path in which the nodes and cluster will be present.
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
- ouPath?: string;
115
+ readonly resource?: string;
173
116
  /**
174
- * Account name used for creating cluster (at minimum needs permissions to 'Create Computer
175
- * Objects' in domain).
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
- clusterBootstrapAccount?: string;
120
+ readonly operation?: string;
178
121
  /**
179
- * Account name used for operating cluster i.e. will be part of administrators group on all the
180
- * participating virtual machines in the cluster.
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
- * ARM tracked top level resource.
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
- * A SQL virtual machine group.
218
- */
219
- export interface SqlVirtualMachineGroup extends TrackedResource {
154
+ /** A list of SQL virtual machine groups. */
155
+ export interface SqlVirtualMachineGroupListResult {
220
156
  /**
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.**
157
+ * Array of results.
158
+ * NOTE: This property will not be serialized. It can only be populated by the server.
223
159
  */
224
- readonly provisioningState?: string;
160
+ readonly value?: SqlVirtualMachineGroup[];
225
161
  /**
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;
244
- /**
245
- * Cluster type. Possible values include: 'Domainful'
246
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
247
- */
248
- readonly clusterConfiguration?: ClusterConfiguration;
249
- /**
250
- * Cluster Active Directory domain profile.
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
- wsfcDomainProfile?: WsfcDomainProfile;
165
+ readonly nextLink?: string;
253
166
  }
254
167
 
255
- /**
256
- * An update to a SQL virtual machine group.
257
- */
258
- export interface SqlVirtualMachineGroupUpdate {
168
+ /** A list of SQL virtual machines. */
169
+ export interface SqlVirtualMachineListResult {
259
170
  /**
260
- * Resource tags.
171
+ * Array of results.
172
+ * NOTE: This property will not be serialized. It can only be populated by the server.
261
173
  */
262
- tags?: { [propertyName: string]: string };
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
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
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
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
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
- * Set the access level and network port settings for SQL Server.
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
- * Set the connectivity, storage and workload settings.
471
- */
472
- export interface ServerConfigurationsManagementSettings {
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;
320
+ }
321
+
322
+ /** Set disk storage settings for SQL Server. */
323
+ export interface SQLStorageSettings {
324
+ /** Logical Unit Numbers for the disks. */
325
+ luns?: number[];
326
+ /** SQL Server default file path */
327
+ defaultFilePath?: string;
328
+ }
329
+
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 & {
473
349
  /**
474
- * SQL connectivity type settings.
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.
475
352
  */
476
- sqlConnectivityUpdateSettings?: SqlConnectivityUpdateSettings;
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 & {
477
366
  /**
478
- * SQL workload type settings.
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.
479
369
  */
480
- sqlWorkloadTypeUpdateSettings?: SqlWorkloadTypeUpdateSettings;
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;
481
375
  /**
482
- * SQL storage update settings.
376
+ * Scale type.
377
+ * NOTE: This property will not be serialized. It can only be populated by the server.
483
378
  */
484
- sqlStorageUpdateSettings?: SqlStorageUpdateSettings;
379
+ readonly scaleType?: ScaleType;
485
380
  /**
486
- * Additional SQL feature settings.
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.
487
383
  */
488
- additionalFeaturesServerConfigurations?: AdditionalFeaturesServerConfigurations;
489
- }
490
-
491
- /**
492
- * A SQL virtual machine.
493
- */
494
- export interface SqlVirtualMachine extends TrackedResource {
384
+ readonly clusterManagerType?: ClusterManagerType;
495
385
  /**
496
- * Azure Active Directory identity of the server.
386
+ * Cluster type.
387
+ * NOTE: This property will not be serialized. It can only be populated by the server.
497
388
  */
389
+ readonly clusterConfiguration?: ClusterConfiguration;
390
+ /** Cluster Active Directory domain profile. */
391
+ wsfcDomainProfile?: WsfcDomainProfile;
392
+ };
393
+
394
+ /** A SQL virtual machine. */
395
+ export type SqlVirtualMachine = TrackedResource & {
396
+ /** Azure Active Directory identity of the server. */
498
397
  identity?: ResourceIdentity;
499
- /**
500
- * ARM Resource id of underlying virtual machine created from SQL marketplace image.
501
- */
398
+ /** ARM Resource id of underlying virtual machine created from SQL marketplace image. */
502
399
  virtualMachineResourceId?: string;
503
400
  /**
504
401
  * Provisioning state to track the async operation status.
505
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
402
+ * NOTE: This property will not be serialized. It can only be populated by the server.
506
403
  */
507
404
  readonly provisioningState?: string;
508
- /**
509
- * SQL image offer. Examples include SQL2016-WS2016, SQL2017-WS2016.
510
- */
405
+ /** SQL image offer. Examples include SQL2016-WS2016, SQL2017-WS2016. */
511
406
  sqlImageOffer?: string;
512
- /**
513
- * SQL Server license type. Possible values include: 'PAYG', 'AHUB'
514
- */
407
+ /** SQL Server license type. */
515
408
  sqlServerLicenseType?: SqlServerLicenseType;
516
- /**
517
- * SQL Server Management type. Possible values include: 'Full', 'LightWeight', 'NoAgent'
518
- */
409
+ /** SQL Server Management type. */
519
410
  sqlManagement?: SqlManagementMode;
520
- /**
521
- * SQL Server edition type. Possible values include: 'Developer', 'Express', 'Standard',
522
- * 'Enterprise', 'Web'
523
- */
411
+ /** SQL Server edition type. */
524
412
  sqlImageSku?: SqlImageSku;
525
- /**
526
- * ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part
527
- * of.
528
- */
413
+ /** ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of. */
529
414
  sqlVirtualMachineGroupResourceId?: string;
530
- /**
531
- * Domain credentials for setting up Windows Server Failover Cluster for SQL availability group.
532
- */
415
+ /** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
533
416
  wsfcDomainCredentials?: WsfcDomainCredentials;
534
- /**
535
- * Auto patching settings for applying critical security updates to SQL virtual machine.
536
- */
417
+ /** Auto patching settings for applying critical security updates to SQL virtual machine. */
537
418
  autoPatchingSettings?: AutoPatchingSettings;
538
- /**
539
- * Auto backup settings for SQL Server.
540
- */
419
+ /** Auto backup settings for SQL Server. */
541
420
  autoBackupSettings?: AutoBackupSettings;
542
- /**
543
- * Key vault credential settings.
544
- */
421
+ /** Key vault credential settings. */
545
422
  keyVaultCredentialSettings?: KeyVaultCredentialSettings;
546
- /**
547
- * SQL Server configuration management settings.
548
- */
423
+ /** SQL Server configuration management settings. */
549
424
  serverConfigurationsManagementSettings?: ServerConfigurationsManagementSettings;
425
+ /** Storage Configuration Settings. */
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"
550
433
  }
551
434
 
552
435
  /**
553
- * An update to a SQL virtual machine.
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**
554
442
  */
555
- export interface SqlVirtualMachineUpdate {
556
- /**
557
- * Resource tags.
558
- */
559
- tags?: { [propertyName: string]: string };
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"
560
449
  }
561
450
 
562
451
  /**
563
- * Optional Parameters.
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**
564
458
  */
565
- export interface SqlVirtualMachinesGetOptionalParams extends msRest.RequestOptionsBase {
566
- /**
567
- * The child resources to include in the response.
568
- */
569
- expand?: string;
459
+ export type SqlVmGroupImageSku = string;
460
+
461
+ /** Known values of {@link ScaleType} that the service accepts. */
462
+ export enum KnownScaleType {
463
+ HA = "HA"
570
464
  }
571
465
 
572
466
  /**
573
- * An interface representing SqlVirtualMachineManagementClientOptions.
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**
574
472
  */
575
- export interface SqlVirtualMachineManagementClientOptions extends AzureServiceClientOptions {
576
- baseUri?: string;
473
+ export type ScaleType = string;
474
+
475
+ /** Known values of {@link ClusterManagerType} that the service accepts. */
476
+ export enum KnownClusterManagerType {
477
+ Wsfc = "WSFC"
577
478
  }
578
479
 
579
480
  /**
580
- * @interface
581
- * A list of availability group listeners.
582
- * @extends Array<AvailabilityGroupListener>
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**
583
486
  */
584
- export interface AvailabilityGroupListenerListResult extends Array<AvailabilityGroupListener> {
585
- /**
586
- * Link to retrieve next page of results.
587
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
588
- */
589
- 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"
590
492
  }
591
493
 
592
494
  /**
593
- * @interface
594
- * Result of the request to list SQL operations.
595
- * @extends Array<Operation>
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**
596
500
  */
597
- export interface OperationListResult extends Array<Operation> {
598
- /**
599
- * Link to retrieve next page of results.
600
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
601
- */
602
- 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"
603
506
  }
604
507
 
605
508
  /**
606
- * @interface
607
- * A list of SQL virtual machine groups.
608
- * @extends Array<SqlVirtualMachineGroup>
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**
609
514
  */
610
- export interface SqlVirtualMachineGroupListResult extends Array<SqlVirtualMachineGroup> {
611
- /**
612
- * Link to retrieve next page of results.
613
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
614
- */
615
- readonly nextLink?: string;
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"
616
522
  }
617
523
 
618
524
  /**
619
- * @interface
620
- * A list of SQL virtual machines.
621
- * @extends Array<SqlVirtualMachine>
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**
622
532
  */
623
- export interface SqlVirtualMachineListResult extends Array<SqlVirtualMachine> {
624
- /**
625
- * Link to retrieve next page of results.
626
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
627
- */
628
- readonly nextLink?: string;
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"
629
540
  }
630
541
 
631
542
  /**
632
- * Defines values for OperationOrigin.
633
- * Possible values include: 'user', 'system'
634
- * @readonly
635
- * @enum {string}
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**
636
550
  */
637
- export type OperationOrigin = 'user' | 'system';
551
+ export type SqlManagementMode = string;
638
552
 
639
- /**
640
- * Defines values for SqlVmGroupImageSku.
641
- * Possible values include: 'Developer', 'Enterprise'
642
- * @readonly
643
- * @enum {string}
644
- */
645
- export type SqlVmGroupImageSku = 'Developer' | 'Enterprise';
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
+ }
646
561
 
647
562
  /**
648
- * Defines values for ScaleType.
649
- * Possible values include: 'HA'
650
- * @readonly
651
- * @enum {string}
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**
652
572
  */
653
- export type ScaleType = 'HA';
573
+ export type SqlImageSku = string;
654
574
 
655
- /**
656
- * Defines values for ClusterManagerType.
657
- * Possible values include: 'WSFC'
658
- * @readonly
659
- * @enum {string}
660
- */
661
- 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
+ }
662
580
 
663
581
  /**
664
- * Defines values for ClusterConfiguration.
665
- * Possible values include: 'Domainful'
666
- * @readonly
667
- * @enum {string}
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**
668
588
  */
669
- export type ClusterConfiguration = 'Domainful';
589
+ export type BackupScheduleType = string;
670
590
 
671
- /**
672
- * Defines values for IdentityType.
673
- * Possible values include: 'SystemAssigned'
674
- * @readonly
675
- * @enum {string}
676
- */
677
- 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
+ }
678
596
 
679
597
  /**
680
- * Defines values for SqlServerLicenseType.
681
- * Possible values include: 'PAYG', 'AHUB'
682
- * @readonly
683
- * @enum {string}
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**
684
604
  */
685
- export type SqlServerLicenseType = 'PAYG' | 'AHUB';
605
+ export type FullBackupFrequencyType = string;
686
606
 
687
- /**
688
- * Defines values for SqlManagementMode.
689
- * Possible values include: 'Full', 'LightWeight', 'NoAgent'
690
- * @readonly
691
- * @enum {string}
692
- */
693
- 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
+ }
694
613
 
695
614
  /**
696
- * Defines values for SqlImageSku.
697
- * Possible values include: 'Developer', 'Express', 'Standard', 'Enterprise', 'Web'
698
- * @readonly
699
- * @enum {string}
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**
700
622
  */
701
- export type SqlImageSku = 'Developer' | 'Express' | 'Standard' | 'Enterprise' | 'Web';
623
+ export type ConnectivityType = string;
702
624
 
703
- /**
704
- * Defines values for DayOfWeek.
705
- * Possible values include: 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday',
706
- * 'Sunday'
707
- * @readonly
708
- * @enum {string}
709
- */
710
- 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
+ }
711
631
 
712
632
  /**
713
- * Defines values for BackupScheduleType.
714
- * Possible values include: 'Manual', 'Automated'
715
- * @readonly
716
- * @enum {string}
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**
717
640
  */
718
- export type BackupScheduleType = 'Manual' | 'Automated';
641
+ export type SqlWorkloadType = string;
719
642
 
720
- /**
721
- * Defines values for FullBackupFrequencyType.
722
- * Possible values include: 'Daily', 'Weekly'
723
- * @readonly
724
- * @enum {string}
725
- */
726
- 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
+ }
727
649
 
728
650
  /**
729
- * Defines values for ConnectivityType.
730
- * Possible values include: 'LOCAL', 'PRIVATE', 'PUBLIC'
731
- * @readonly
732
- * @enum {string}
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**
733
658
  */
734
- export type ConnectivityType = 'LOCAL' | 'PRIVATE' | 'PUBLIC';
659
+ export type DiskConfigurationType = string;
735
660
 
736
- /**
737
- * Defines values for SqlWorkloadType.
738
- * Possible values include: 'GENERAL', 'OLTP', 'DW'
739
- * @readonly
740
- * @enum {string}
741
- */
742
- 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
+ }
743
667
 
744
668
  /**
745
- * Defines values for DiskConfigurationType.
746
- * Possible values include: 'NEW', 'EXTEND', 'ADD'
747
- * @readonly
748
- * @enum {string}
749
- */
750
- export type DiskConfigurationType = 'NEW' | 'EXTEND' | 'ADD';
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
+ }
751
703
 
752
- /**
753
- * Contains response data for the get operation.
754
- */
755
- export type AvailabilityGroupListenersGetResponse = AvailabilityGroupListener & {
756
- /**
757
- * The underlying HTTP response.
758
- */
759
- _response: msRest.HttpResponse & {
760
- /**
761
- * The response body as text (string format)
762
- */
763
- bodyAsText: string;
764
-
765
- /**
766
- * The response body as parsed JSON or XML
767
- */
768
- parsedBody: AvailabilityGroupListener;
769
- };
770
- };
704
+ /** Contains response data for the createOrUpdate operation. */
705
+ export type AvailabilityGroupListenersCreateOrUpdateResponse = AvailabilityGroupListener;
771
706
 
772
- /**
773
- * Contains response data for the createOrUpdate operation.
774
- */
775
- export type AvailabilityGroupListenersCreateOrUpdateResponse = AvailabilityGroupListener & {
776
- /**
777
- * The underlying HTTP response.
778
- */
779
- _response: msRest.HttpResponse & {
780
- /**
781
- * The response body as text (string format)
782
- */
783
- bodyAsText: string;
784
-
785
- /**
786
- * The response body as parsed JSON or XML
787
- */
788
- parsedBody: AvailabilityGroupListener;
789
- };
790
- };
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
+ }
791
715
 
792
- /**
793
- * Contains response data for the listByGroup operation.
794
- */
795
- export type AvailabilityGroupListenersListByGroupResponse = AvailabilityGroupListenerListResult & {
796
- /**
797
- * The underlying HTTP response.
798
- */
799
- _response: msRest.HttpResponse & {
800
- /**
801
- * The response body as text (string format)
802
- */
803
- bodyAsText: string;
804
-
805
- /**
806
- * The response body as parsed JSON or XML
807
- */
808
- parsedBody: AvailabilityGroupListenerListResult;
809
- };
810
- };
716
+ /** Optional parameters. */
717
+ export interface AvailabilityGroupListenersListByGroupOptionalParams
718
+ extends coreClient.OperationOptions {}
811
719
 
812
- /**
813
- * Contains response data for the beginCreateOrUpdate operation.
814
- */
815
- export type AvailabilityGroupListenersBeginCreateOrUpdateResponse = AvailabilityGroupListener & {
816
- /**
817
- * The underlying HTTP response.
818
- */
819
- _response: msRest.HttpResponse & {
820
- /**
821
- * The response body as text (string format)
822
- */
823
- bodyAsText: string;
824
-
825
- /**
826
- * The response body as parsed JSON or XML
827
- */
828
- parsedBody: AvailabilityGroupListener;
829
- };
830
- };
720
+ /** Contains response data for the listByGroup operation. */
721
+ export type AvailabilityGroupListenersListByGroupResponse = AvailabilityGroupListenerListResult;
831
722
 
832
- /**
833
- * Contains response data for the listByGroupNext operation.
834
- */
835
- export type AvailabilityGroupListenersListByGroupNextResponse = AvailabilityGroupListenerListResult & {
836
- /**
837
- * The underlying HTTP response.
838
- */
839
- _response: msRest.HttpResponse & {
840
- /**
841
- * The response body as text (string format)
842
- */
843
- bodyAsText: string;
844
-
845
- /**
846
- * The response body as parsed JSON or XML
847
- */
848
- parsedBody: AvailabilityGroupListenerListResult;
849
- };
850
- };
723
+ /** Optional parameters. */
724
+ export interface AvailabilityGroupListenersListByGroupNextOptionalParams
725
+ extends coreClient.OperationOptions {}
851
726
 
852
- /**
853
- * Contains response data for the list operation.
854
- */
855
- export type OperationsListResponse = OperationListResult & {
856
- /**
857
- * The underlying HTTP response.
858
- */
859
- _response: msRest.HttpResponse & {
860
- /**
861
- * The response body as text (string format)
862
- */
863
- bodyAsText: string;
864
-
865
- /**
866
- * The response body as parsed JSON or XML
867
- */
868
- parsedBody: OperationListResult;
869
- };
870
- };
727
+ /** Contains response data for the listByGroupNext operation. */
728
+ export type AvailabilityGroupListenersListByGroupNextResponse = AvailabilityGroupListenerListResult;
871
729
 
872
- /**
873
- * Contains response data for the listNext operation.
874
- */
875
- export type OperationsListNextResponse = OperationListResult & {
876
- /**
877
- * The underlying HTTP response.
878
- */
879
- _response: msRest.HttpResponse & {
880
- /**
881
- * The response body as text (string format)
882
- */
883
- bodyAsText: string;
884
-
885
- /**
886
- * The response body as parsed JSON or XML
887
- */
888
- parsedBody: OperationListResult;
889
- };
890
- };
730
+ /** Optional parameters. */
731
+ export interface OperationsListOptionalParams
732
+ extends coreClient.OperationOptions {}
891
733
 
892
- /**
893
- * Contains response data for the get operation.
894
- */
895
- export type SqlVirtualMachineGroupsGetResponse = SqlVirtualMachineGroup & {
896
- /**
897
- * The underlying HTTP response.
898
- */
899
- _response: msRest.HttpResponse & {
900
- /**
901
- * The response body as text (string format)
902
- */
903
- bodyAsText: string;
904
-
905
- /**
906
- * The response body as parsed JSON or XML
907
- */
908
- parsedBody: SqlVirtualMachineGroup;
909
- };
910
- };
734
+ /** Contains response data for the list operation. */
735
+ export type OperationsListResponse = OperationListResult;
911
736
 
912
- /**
913
- * Contains response data for the createOrUpdate operation.
914
- */
915
- export type SqlVirtualMachineGroupsCreateOrUpdateResponse = SqlVirtualMachineGroup & {
916
- /**
917
- * The underlying HTTP response.
918
- */
919
- _response: msRest.HttpResponse & {
920
- /**
921
- * The response body as text (string format)
922
- */
923
- bodyAsText: string;
924
-
925
- /**
926
- * The response body as parsed JSON or XML
927
- */
928
- parsedBody: SqlVirtualMachineGroup;
929
- };
930
- };
737
+ /** Optional parameters. */
738
+ export interface OperationsListNextOptionalParams
739
+ extends coreClient.OperationOptions {}
931
740
 
932
- /**
933
- * Contains response data for the update operation.
934
- */
935
- export type SqlVirtualMachineGroupsUpdateResponse = SqlVirtualMachineGroup & {
936
- /**
937
- * The underlying HTTP response.
938
- */
939
- _response: msRest.HttpResponse & {
940
- /**
941
- * The response body as text (string format)
942
- */
943
- bodyAsText: string;
944
-
945
- /**
946
- * The response body as parsed JSON or XML
947
- */
948
- parsedBody: SqlVirtualMachineGroup;
949
- };
950
- };
741
+ /** Contains response data for the listNext operation. */
742
+ export type OperationsListNextResponse = OperationListResult;
951
743
 
952
- /**
953
- * Contains response data for the listByResourceGroup operation.
954
- */
955
- export type SqlVirtualMachineGroupsListByResourceGroupResponse = SqlVirtualMachineGroupListResult & {
956
- /**
957
- * The underlying HTTP response.
958
- */
959
- _response: msRest.HttpResponse & {
960
- /**
961
- * The response body as text (string format)
962
- */
963
- bodyAsText: string;
964
-
965
- /**
966
- * The response body as parsed JSON or XML
967
- */
968
- parsedBody: SqlVirtualMachineGroupListResult;
969
- };
970
- };
744
+ /** Optional parameters. */
745
+ export interface SqlVirtualMachineGroupsGetOptionalParams
746
+ extends coreClient.OperationOptions {}
971
747
 
972
- /**
973
- * Contains response data for the list operation.
974
- */
975
- export type SqlVirtualMachineGroupsListResponse = SqlVirtualMachineGroupListResult & {
976
- /**
977
- * The underlying HTTP response.
978
- */
979
- _response: msRest.HttpResponse & {
980
- /**
981
- * The response body as text (string format)
982
- */
983
- bodyAsText: string;
984
-
985
- /**
986
- * The response body as parsed JSON or XML
987
- */
988
- parsedBody: SqlVirtualMachineGroupListResult;
989
- };
990
- };
748
+ /** Contains response data for the get operation. */
749
+ export type SqlVirtualMachineGroupsGetResponse = SqlVirtualMachineGroup;
991
750
 
992
- /**
993
- * Contains response data for the beginCreateOrUpdate operation.
994
- */
995
- export type SqlVirtualMachineGroupsBeginCreateOrUpdateResponse = SqlVirtualMachineGroup & {
996
- /**
997
- * The underlying HTTP response.
998
- */
999
- _response: msRest.HttpResponse & {
1000
- /**
1001
- * The response body as text (string format)
1002
- */
1003
- bodyAsText: string;
1004
-
1005
- /**
1006
- * The response body as parsed JSON or XML
1007
- */
1008
- parsedBody: SqlVirtualMachineGroup;
1009
- };
1010
- };
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
+ }
1011
759
 
1012
- /**
1013
- * Contains response data for the beginUpdate operation.
1014
- */
1015
- export type SqlVirtualMachineGroupsBeginUpdateResponse = SqlVirtualMachineGroup & {
1016
- /**
1017
- * The underlying HTTP response.
1018
- */
1019
- _response: msRest.HttpResponse & {
1020
- /**
1021
- * The response body as text (string format)
1022
- */
1023
- bodyAsText: string;
1024
-
1025
- /**
1026
- * The response body as parsed JSON or XML
1027
- */
1028
- parsedBody: SqlVirtualMachineGroup;
1029
- };
1030
- };
760
+ /** Contains response data for the createOrUpdate operation. */
761
+ export type SqlVirtualMachineGroupsCreateOrUpdateResponse = SqlVirtualMachineGroup;
1031
762
 
1032
- /**
1033
- * Contains response data for the listByResourceGroupNext operation.
1034
- */
1035
- export type SqlVirtualMachineGroupsListByResourceGroupNextResponse = SqlVirtualMachineGroupListResult & {
1036
- /**
1037
- * The underlying HTTP response.
1038
- */
1039
- _response: msRest.HttpResponse & {
1040
- /**
1041
- * The response body as text (string format)
1042
- */
1043
- bodyAsText: string;
1044
-
1045
- /**
1046
- * The response body as parsed JSON or XML
1047
- */
1048
- parsedBody: SqlVirtualMachineGroupListResult;
1049
- };
1050
- };
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
+ }
1051
771
 
1052
- /**
1053
- * Contains response data for the listNext operation.
1054
- */
1055
- export type SqlVirtualMachineGroupsListNextResponse = SqlVirtualMachineGroupListResult & {
1056
- /**
1057
- * The underlying HTTP response.
1058
- */
1059
- _response: msRest.HttpResponse & {
1060
- /**
1061
- * The response body as text (string format)
1062
- */
1063
- bodyAsText: string;
1064
-
1065
- /**
1066
- * The response body as parsed JSON or XML
1067
- */
1068
- parsedBody: SqlVirtualMachineGroupListResult;
1069
- };
1070
- };
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
+ }
1071
780
 
1072
- /**
1073
- * Contains response data for the list operation.
1074
- */
1075
- export type SqlVirtualMachinesListResponse = SqlVirtualMachineListResult & {
1076
- /**
1077
- * The underlying HTTP response.
1078
- */
1079
- _response: msRest.HttpResponse & {
1080
- /**
1081
- * The response body as text (string format)
1082
- */
1083
- bodyAsText: string;
1084
-
1085
- /**
1086
- * The response body as parsed JSON or XML
1087
- */
1088
- parsedBody: SqlVirtualMachineListResult;
1089
- };
1090
- };
781
+ /** Contains response data for the update operation. */
782
+ export type SqlVirtualMachineGroupsUpdateResponse = SqlVirtualMachineGroup;
1091
783
 
1092
- /**
1093
- * Contains response data for the get operation.
1094
- */
1095
- export type SqlVirtualMachinesGetResponse = SqlVirtualMachine & {
1096
- /**
1097
- * The underlying HTTP response.
1098
- */
1099
- _response: msRest.HttpResponse & {
1100
- /**
1101
- * The response body as text (string format)
1102
- */
1103
- bodyAsText: string;
1104
-
1105
- /**
1106
- * The response body as parsed JSON or XML
1107
- */
1108
- parsedBody: SqlVirtualMachine;
1109
- };
1110
- };
784
+ /** Optional parameters. */
785
+ export interface SqlVirtualMachineGroupsListByResourceGroupOptionalParams
786
+ extends coreClient.OperationOptions {}
1111
787
 
1112
- /**
1113
- * Contains response data for the createOrUpdate operation.
1114
- */
1115
- export type SqlVirtualMachinesCreateOrUpdateResponse = SqlVirtualMachine & {
1116
- /**
1117
- * The underlying HTTP response.
1118
- */
1119
- _response: msRest.HttpResponse & {
1120
- /**
1121
- * The response body as text (string format)
1122
- */
1123
- bodyAsText: string;
1124
-
1125
- /**
1126
- * The response body as parsed JSON or XML
1127
- */
1128
- parsedBody: SqlVirtualMachine;
1129
- };
1130
- };
788
+ /** Contains response data for the listByResourceGroup operation. */
789
+ export type SqlVirtualMachineGroupsListByResourceGroupResponse = SqlVirtualMachineGroupListResult;
1131
790
 
1132
- /**
1133
- * Contains response data for the update operation.
1134
- */
1135
- export type SqlVirtualMachinesUpdateResponse = SqlVirtualMachine & {
1136
- /**
1137
- * The underlying HTTP response.
1138
- */
1139
- _response: msRest.HttpResponse & {
1140
- /**
1141
- * The response body as text (string format)
1142
- */
1143
- bodyAsText: string;
1144
-
1145
- /**
1146
- * The response body as parsed JSON or XML
1147
- */
1148
- parsedBody: SqlVirtualMachine;
1149
- };
1150
- };
791
+ /** Optional parameters. */
792
+ export interface SqlVirtualMachineGroupsListOptionalParams
793
+ extends coreClient.OperationOptions {}
1151
794
 
1152
- /**
1153
- * Contains response data for the listByResourceGroup operation.
1154
- */
1155
- export type SqlVirtualMachinesListByResourceGroupResponse = SqlVirtualMachineListResult & {
1156
- /**
1157
- * The underlying HTTP response.
1158
- */
1159
- _response: msRest.HttpResponse & {
1160
- /**
1161
- * The response body as text (string format)
1162
- */
1163
- bodyAsText: string;
1164
-
1165
- /**
1166
- * The response body as parsed JSON or XML
1167
- */
1168
- parsedBody: SqlVirtualMachineListResult;
1169
- };
1170
- };
795
+ /** Contains response data for the list operation. */
796
+ export type SqlVirtualMachineGroupsListResponse = SqlVirtualMachineGroupListResult;
1171
797
 
1172
- /**
1173
- * Contains response data for the beginCreateOrUpdate operation.
1174
- */
1175
- export type SqlVirtualMachinesBeginCreateOrUpdateResponse = SqlVirtualMachine & {
1176
- /**
1177
- * The underlying HTTP response.
1178
- */
1179
- _response: msRest.HttpResponse & {
1180
- /**
1181
- * The response body as text (string format)
1182
- */
1183
- bodyAsText: string;
1184
-
1185
- /**
1186
- * The response body as parsed JSON or XML
1187
- */
1188
- parsedBody: SqlVirtualMachine;
1189
- };
1190
- };
798
+ /** Optional parameters. */
799
+ export interface SqlVirtualMachineGroupsListByResourceGroupNextOptionalParams
800
+ extends coreClient.OperationOptions {}
1191
801
 
1192
- /**
1193
- * Contains response data for the beginUpdate operation.
1194
- */
1195
- export type SqlVirtualMachinesBeginUpdateResponse = SqlVirtualMachine & {
1196
- /**
1197
- * The underlying HTTP response.
1198
- */
1199
- _response: msRest.HttpResponse & {
1200
- /**
1201
- * The response body as text (string format)
1202
- */
1203
- bodyAsText: string;
1204
-
1205
- /**
1206
- * The response body as parsed JSON or XML
1207
- */
1208
- parsedBody: SqlVirtualMachine;
1209
- };
1210
- };
802
+ /** Contains response data for the listByResourceGroupNext operation. */
803
+ export type SqlVirtualMachineGroupsListByResourceGroupNextResponse = SqlVirtualMachineGroupListResult;
1211
804
 
1212
- /**
1213
- * Contains response data for the listNext operation.
1214
- */
1215
- export type SqlVirtualMachinesListNextResponse = SqlVirtualMachineListResult & {
1216
- /**
1217
- * The underlying HTTP response.
1218
- */
1219
- _response: msRest.HttpResponse & {
1220
- /**
1221
- * The response body as text (string format)
1222
- */
1223
- bodyAsText: string;
1224
-
1225
- /**
1226
- * The response body as parsed JSON or XML
1227
- */
1228
- parsedBody: SqlVirtualMachineListResult;
1229
- };
1230
- };
805
+ /** Optional parameters. */
806
+ export interface SqlVirtualMachineGroupsListNextOptionalParams
807
+ extends coreClient.OperationOptions {}
1231
808
 
1232
- /**
1233
- * Contains response data for the listByResourceGroupNext operation.
1234
- */
1235
- export type SqlVirtualMachinesListByResourceGroupNextResponse = SqlVirtualMachineListResult & {
1236
- /**
1237
- * The underlying HTTP response.
1238
- */
1239
- _response: msRest.HttpResponse & {
1240
- /**
1241
- * The response body as text (string format)
1242
- */
1243
- bodyAsText: string;
1244
-
1245
- /**
1246
- * The response body as parsed JSON or XML
1247
- */
1248
- parsedBody: SqlVirtualMachineListResult;
1249
- };
1250
- };
809
+ /** Contains response data for the listNext operation. */
810
+ export type SqlVirtualMachineGroupsListNextResponse = SqlVirtualMachineGroupListResult;
811
+
812
+ /** Optional parameters. */
813
+ export interface SqlVirtualMachinesListBySqlVmGroupOptionalParams
814
+ extends coreClient.OperationOptions {}
815
+
816
+ /** Contains response data for the listBySqlVmGroup operation. */
817
+ export type SqlVirtualMachinesListBySqlVmGroupResponse = SqlVirtualMachineListResult;
818
+
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
+ }