@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.
Files changed (159) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +69 -85
  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 +320 -368
  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 -32
  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 +629 -1065
  82. package/src/models/mappers.ts +328 -376
  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 +641 -424
  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 -41
  95. package/tsconfig.json +3 -3
  96. package/types/arm-sqlvirtualmachine.d.ts +1141 -0
  97. package/types/tsdoc-metadata.json +11 -0
  98. package/dist/arm-sqlvirtualmachine.js +0 -2479
  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 -1241
  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 -33
  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 -210
  144. package/esm/operations/sqlVirtualMachines.d.ts.map +0 -1
  145. package/esm/operations/sqlVirtualMachines.js +0 -395
  146. package/esm/operations/sqlVirtualMachines.js.map +0 -1
  147. package/esm/sqlVirtualMachineManagementClient.d.ts +0 -27
  148. package/esm/sqlVirtualMachineManagementClient.d.ts.map +0 -1
  149. package/esm/sqlVirtualMachineManagementClient.js +0 -41
  150. package/esm/sqlVirtualMachineManagementClient.js.map +0 -1
  151. package/esm/sqlVirtualMachineManagementClientContext.d.ts +0 -22
  152. package/esm/sqlVirtualMachineManagementClientContext.d.ts.map +0 -1
  153. package/esm/sqlVirtualMachineManagementClientContext.js +0 -61
  154. package/esm/sqlVirtualMachineManagementClientContext.js.map +0 -1
  155. package/src/models/availabilityGroupListenersMappers.ts +0 -34
  156. package/src/models/operationsMappers.ts +0 -14
  157. package/src/models/sqlVirtualMachineGroupsMappers.ts +0 -35
  158. package/src/models/sqlVirtualMachinesMappers.ts +0 -35
  159. package/src/sqlVirtualMachineManagementClientContext.ts +0 -68
@@ -0,0 +1,783 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ /** A load balancer configuration for an availability group listener. */
3
+ export interface LoadBalancerConfiguration {
4
+ /** Private IP address. */
5
+ privateIpAddress?: PrivateIPAddress;
6
+ /** Resource id of the public IP. */
7
+ publicIpAddressResourceId?: string;
8
+ /** Resource id of the load balancer. */
9
+ loadBalancerResourceId?: string;
10
+ /** Probe port. */
11
+ probePort?: number;
12
+ /** List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener. */
13
+ sqlVirtualMachineInstances?: string[];
14
+ }
15
+ /** A private IP address bound to the availability group listener. */
16
+ export interface PrivateIPAddress {
17
+ /** Private IP address bound to the availability group listener. */
18
+ ipAddress?: string;
19
+ /** Subnet used to include private IP. */
20
+ subnetResourceId?: string;
21
+ }
22
+ /** ARM resource. */
23
+ export interface Resource {
24
+ /**
25
+ * Resource ID.
26
+ * NOTE: This property will not be serialized. It can only be populated by the server.
27
+ */
28
+ readonly id?: string;
29
+ /**
30
+ * Resource name.
31
+ * NOTE: This property will not be serialized. It can only be populated by the server.
32
+ */
33
+ readonly name?: string;
34
+ /**
35
+ * Resource type.
36
+ * NOTE: This property will not be serialized. It can only be populated by the server.
37
+ */
38
+ readonly type?: string;
39
+ }
40
+ /** A list of availability group listeners. */
41
+ export interface AvailabilityGroupListenerListResult {
42
+ /**
43
+ * Array of results.
44
+ * NOTE: This property will not be serialized. It can only be populated by the server.
45
+ */
46
+ readonly value?: AvailabilityGroupListener[];
47
+ /**
48
+ * Link to retrieve next page of results.
49
+ * NOTE: This property will not be serialized. It can only be populated by the server.
50
+ */
51
+ readonly nextLink?: string;
52
+ }
53
+ /** Result of the request to list SQL operations. */
54
+ export interface OperationListResult {
55
+ /**
56
+ * Array of results.
57
+ * NOTE: This property will not be serialized. It can only be populated by the server.
58
+ */
59
+ readonly value?: Operation[];
60
+ /**
61
+ * Link to retrieve next page of results.
62
+ * NOTE: This property will not be serialized. It can only be populated by the server.
63
+ */
64
+ readonly nextLink?: string;
65
+ }
66
+ /** SQL REST API operation definition. */
67
+ export interface Operation {
68
+ /**
69
+ * The name of the operation being performed on this particular object.
70
+ * NOTE: This property will not be serialized. It can only be populated by the server.
71
+ */
72
+ readonly name?: string;
73
+ /**
74
+ * The localized display information for this particular operation / action.
75
+ * NOTE: This property will not be serialized. It can only be populated by the server.
76
+ */
77
+ readonly display?: OperationDisplay;
78
+ /**
79
+ * The intended executor of the operation.
80
+ * NOTE: This property will not be serialized. It can only be populated by the server.
81
+ */
82
+ readonly origin?: OperationOrigin;
83
+ /**
84
+ * Additional descriptions for the operation.
85
+ * NOTE: This property will not be serialized. It can only be populated by the server.
86
+ */
87
+ readonly properties?: {
88
+ [propertyName: string]: Record<string, unknown>;
89
+ };
90
+ }
91
+ /** Display metadata associated with the operation. */
92
+ export interface OperationDisplay {
93
+ /**
94
+ * The localized friendly form of the resource provider name.
95
+ * NOTE: This property will not be serialized. It can only be populated by the server.
96
+ */
97
+ readonly provider?: string;
98
+ /**
99
+ * The localized friendly form of the resource type related to this action/operation.
100
+ * NOTE: This property will not be serialized. It can only be populated by the server.
101
+ */
102
+ readonly resource?: string;
103
+ /**
104
+ * The localized friendly name for the operation.
105
+ * NOTE: This property will not be serialized. It can only be populated by the server.
106
+ */
107
+ readonly operation?: string;
108
+ /**
109
+ * The localized friendly description for the operation.
110
+ * NOTE: This property will not be serialized. It can only be populated by the server.
111
+ */
112
+ readonly description?: string;
113
+ }
114
+ /** Active Directory account details to operate Windows Server Failover Cluster. */
115
+ export interface WsfcDomainProfile {
116
+ /** Fully qualified name of the domain. */
117
+ domainFqdn?: string;
118
+ /** Organizational Unit path in which the nodes and cluster will be present. */
119
+ ouPath?: string;
120
+ /** Account name used for creating cluster (at minimum needs permissions to 'Create Computer Objects' in domain). */
121
+ clusterBootstrapAccount?: string;
122
+ /** Account name used for operating cluster i.e. will be part of administrators group on all the participating virtual machines in the cluster. */
123
+ clusterOperatorAccount?: string;
124
+ /** Account name under which SQL service will run on all participating SQL virtual machines in the cluster. */
125
+ sqlServiceAccount?: string;
126
+ /** Optional path for fileshare witness. */
127
+ fileShareWitnessPath?: string;
128
+ /** Fully qualified ARM resource id of the witness storage account. */
129
+ storageAccountUrl?: string;
130
+ /** Primary key of the witness storage account. */
131
+ storageAccountPrimaryKey?: string;
132
+ }
133
+ /** An update to a SQL virtual machine group. */
134
+ export interface SqlVirtualMachineGroupUpdate {
135
+ /** Resource tags. */
136
+ tags?: {
137
+ [propertyName: string]: string;
138
+ };
139
+ }
140
+ /** A list of SQL virtual machine groups. */
141
+ export interface SqlVirtualMachineGroupListResult {
142
+ /**
143
+ * Array of results.
144
+ * NOTE: This property will not be serialized. It can only be populated by the server.
145
+ */
146
+ readonly value?: SqlVirtualMachineGroup[];
147
+ /**
148
+ * Link to retrieve next page of results.
149
+ * NOTE: This property will not be serialized. It can only be populated by the server.
150
+ */
151
+ readonly nextLink?: string;
152
+ }
153
+ /** A list of SQL virtual machines. */
154
+ export interface SqlVirtualMachineListResult {
155
+ /**
156
+ * Array of results.
157
+ * NOTE: This property will not be serialized. It can only be populated by the server.
158
+ */
159
+ readonly value?: SqlVirtualMachine[];
160
+ /**
161
+ * Link to retrieve next page of results.
162
+ * NOTE: This property will not be serialized. It can only be populated by the server.
163
+ */
164
+ readonly nextLink?: string;
165
+ }
166
+ /** Azure Active Directory identity configuration for a resource. */
167
+ export interface ResourceIdentity {
168
+ /**
169
+ * The Azure Active Directory principal id.
170
+ * NOTE: This property will not be serialized. It can only be populated by the server.
171
+ */
172
+ readonly principalId?: string;
173
+ /** The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. */
174
+ type?: IdentityType;
175
+ /**
176
+ * The Azure Active Directory tenant id.
177
+ * NOTE: This property will not be serialized. It can only be populated by the server.
178
+ */
179
+ readonly tenantId?: string;
180
+ }
181
+ /** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
182
+ export interface WsfcDomainCredentials {
183
+ /** Cluster bootstrap account password. */
184
+ clusterBootstrapAccountPassword?: string;
185
+ /** Cluster operator account password. */
186
+ clusterOperatorAccountPassword?: string;
187
+ /** SQL service account password. */
188
+ sqlServiceAccountPassword?: string;
189
+ }
190
+ /** Set a patching window during which Windows and SQL patches will be applied. */
191
+ export interface AutoPatchingSettings {
192
+ /** Enable or disable autopatching on SQL virtual machine. */
193
+ enable?: boolean;
194
+ /** Day of week to apply the patch on. */
195
+ dayOfWeek?: DayOfWeek;
196
+ /** Hour of the day when patching is initiated. Local VM time. */
197
+ maintenanceWindowStartingHour?: number;
198
+ /** Duration of patching. */
199
+ maintenanceWindowDuration?: number;
200
+ }
201
+ /** Configure backups for databases in your SQL virtual machine. */
202
+ export interface AutoBackupSettings {
203
+ /** Enable or disable autobackup on SQL virtual machine. */
204
+ enable?: boolean;
205
+ /** Enable or disable encryption for backup on SQL virtual machine. */
206
+ enableEncryption?: boolean;
207
+ /** Retention period of backup: 1-30 days. */
208
+ retentionPeriod?: number;
209
+ /** Storage account url where backup will be taken to. */
210
+ storageAccountUrl?: string;
211
+ /** Storage account key where backup will be taken to. */
212
+ storageAccessKey?: string;
213
+ /** Password for encryption on backup. */
214
+ password?: string;
215
+ /** Include or exclude system databases from auto backup. */
216
+ backupSystemDbs?: boolean;
217
+ /** Backup schedule type. */
218
+ backupScheduleType?: BackupScheduleType;
219
+ /** Frequency of full backups. In both cases, full backups begin during the next scheduled time window. */
220
+ fullBackupFrequency?: FullBackupFrequencyType;
221
+ /** Start time of a given day during which full backups can take place. 0-23 hours. */
222
+ fullBackupStartTime?: number;
223
+ /** Duration of the time window of a given day during which full backups can take place. 1-23 hours. */
224
+ fullBackupWindowHours?: number;
225
+ /** Frequency of log backups. 5-60 minutes. */
226
+ logBackupFrequency?: number;
227
+ }
228
+ /** Configure your SQL virtual machine to be able to connect to the Azure Key Vault service. */
229
+ export interface KeyVaultCredentialSettings {
230
+ /** Enable or disable key vault credential setting. */
231
+ enable?: boolean;
232
+ /** Credential name. */
233
+ credentialName?: string;
234
+ /** Azure Key Vault url. */
235
+ azureKeyVaultUrl?: string;
236
+ /** Service principal name to access key vault. */
237
+ servicePrincipalName?: string;
238
+ /** Service principal name secret to access key vault. */
239
+ servicePrincipalSecret?: string;
240
+ }
241
+ /** Set the connectivity, storage and workload settings. */
242
+ export interface ServerConfigurationsManagementSettings {
243
+ /** SQL connectivity type settings. */
244
+ sqlConnectivityUpdateSettings?: SqlConnectivityUpdateSettings;
245
+ /** SQL workload type settings. */
246
+ sqlWorkloadTypeUpdateSettings?: SqlWorkloadTypeUpdateSettings;
247
+ /** SQL storage update settings. */
248
+ sqlStorageUpdateSettings?: SqlStorageUpdateSettings;
249
+ /** Additional SQL feature settings. */
250
+ additionalFeaturesServerConfigurations?: AdditionalFeaturesServerConfigurations;
251
+ }
252
+ /** Set the access level and network port settings for SQL Server. */
253
+ export interface SqlConnectivityUpdateSettings {
254
+ /** SQL Server connectivity option. */
255
+ connectivityType?: ConnectivityType;
256
+ /** SQL Server port. */
257
+ port?: number;
258
+ /** SQL Server sysadmin login to create. */
259
+ sqlAuthUpdateUserName?: string;
260
+ /** SQL Server sysadmin login password. */
261
+ sqlAuthUpdatePassword?: string;
262
+ }
263
+ /** Set workload type to optimize storage for SQL Server. */
264
+ export interface SqlWorkloadTypeUpdateSettings {
265
+ /** SQL Server workload type. */
266
+ sqlWorkloadType?: SqlWorkloadType;
267
+ }
268
+ /** Set disk storage settings for SQL Server. */
269
+ export interface SqlStorageUpdateSettings {
270
+ /** Virtual machine disk count. */
271
+ diskCount?: number;
272
+ /** Device id of the first disk to be updated. */
273
+ startingDeviceId?: number;
274
+ /** Disk configuration to apply to SQL Server. */
275
+ diskConfigurationType?: DiskConfigurationType;
276
+ }
277
+ /** Additional SQL Server feature settings. */
278
+ export interface AdditionalFeaturesServerConfigurations {
279
+ /** Enable or disable R services (SQL 2016 onwards). */
280
+ isRServicesEnabled?: boolean;
281
+ }
282
+ /** Storage Configurations for SQL Data, Log and TempDb. */
283
+ export interface StorageConfigurationSettings {
284
+ /** SQL Server Data Storage Settings. */
285
+ sqlDataSettings?: SQLStorageSettings;
286
+ /** SQL Server Log Storage Settings. */
287
+ sqlLogSettings?: SQLStorageSettings;
288
+ /** SQL Server TempDb Storage Settings. */
289
+ sqlTempDbSettings?: SQLStorageSettings;
290
+ /** Disk configuration to apply to SQL Server. */
291
+ diskConfigurationType?: DiskConfigurationType;
292
+ /** Storage workload type. */
293
+ storageWorkloadType?: StorageWorkloadType;
294
+ }
295
+ /** Set disk storage settings for SQL Server. */
296
+ export interface SQLStorageSettings {
297
+ /** Logical Unit Numbers for the disks. */
298
+ luns?: number[];
299
+ /** SQL Server default file path */
300
+ defaultFilePath?: string;
301
+ }
302
+ /** An update to a SQL virtual machine. */
303
+ export interface SqlVirtualMachineUpdate {
304
+ /** Resource tags. */
305
+ tags?: {
306
+ [propertyName: string]: string;
307
+ };
308
+ }
309
+ /** ARM proxy resource. */
310
+ export declare type ProxyResource = Resource & {};
311
+ /** ARM tracked top level resource. */
312
+ export declare type TrackedResource = Resource & {
313
+ /** Resource location. */
314
+ location: string;
315
+ /** Resource tags. */
316
+ tags?: {
317
+ [propertyName: string]: string;
318
+ };
319
+ };
320
+ /** A SQL Server availability group listener. */
321
+ export declare type AvailabilityGroupListener = ProxyResource & {
322
+ /**
323
+ * Provisioning state to track the async operation status.
324
+ * NOTE: This property will not be serialized. It can only be populated by the server.
325
+ */
326
+ readonly provisioningState?: string;
327
+ /** Name of the availability group. */
328
+ availabilityGroupName?: string;
329
+ /** List of load balancer configurations for an availability group listener. */
330
+ loadBalancerConfigurations?: LoadBalancerConfiguration[];
331
+ /** Create a default availability group if it does not exist. */
332
+ createDefaultAvailabilityGroupIfNotExist?: boolean;
333
+ /** Listener port. */
334
+ port?: number;
335
+ };
336
+ /** A SQL virtual machine group. */
337
+ export declare type SqlVirtualMachineGroup = TrackedResource & {
338
+ /**
339
+ * Provisioning state to track the async operation status.
340
+ * NOTE: This property will not be serialized. It can only be populated by the server.
341
+ */
342
+ readonly provisioningState?: string;
343
+ /** SQL image offer. Examples may include SQL2016-WS2016, SQL2017-WS2016. */
344
+ sqlImageOffer?: string;
345
+ /** SQL image sku. */
346
+ sqlImageSku?: SqlVmGroupImageSku;
347
+ /**
348
+ * Scale type.
349
+ * NOTE: This property will not be serialized. It can only be populated by the server.
350
+ */
351
+ readonly scaleType?: ScaleType;
352
+ /**
353
+ * Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type.
354
+ * NOTE: This property will not be serialized. It can only be populated by the server.
355
+ */
356
+ readonly clusterManagerType?: ClusterManagerType;
357
+ /**
358
+ * Cluster type.
359
+ * NOTE: This property will not be serialized. It can only be populated by the server.
360
+ */
361
+ readonly clusterConfiguration?: ClusterConfiguration;
362
+ /** Cluster Active Directory domain profile. */
363
+ wsfcDomainProfile?: WsfcDomainProfile;
364
+ };
365
+ /** A SQL virtual machine. */
366
+ export declare type SqlVirtualMachine = TrackedResource & {
367
+ /** Azure Active Directory identity of the server. */
368
+ identity?: ResourceIdentity;
369
+ /** ARM Resource id of underlying virtual machine created from SQL marketplace image. */
370
+ virtualMachineResourceId?: string;
371
+ /**
372
+ * Provisioning state to track the async operation status.
373
+ * NOTE: This property will not be serialized. It can only be populated by the server.
374
+ */
375
+ readonly provisioningState?: string;
376
+ /** SQL image offer. Examples include SQL2016-WS2016, SQL2017-WS2016. */
377
+ sqlImageOffer?: string;
378
+ /** SQL Server license type. */
379
+ sqlServerLicenseType?: SqlServerLicenseType;
380
+ /** SQL Server Management type. */
381
+ sqlManagement?: SqlManagementMode;
382
+ /** SQL Server edition type. */
383
+ sqlImageSku?: SqlImageSku;
384
+ /** ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of. */
385
+ sqlVirtualMachineGroupResourceId?: string;
386
+ /** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
387
+ wsfcDomainCredentials?: WsfcDomainCredentials;
388
+ /** Auto patching settings for applying critical security updates to SQL virtual machine. */
389
+ autoPatchingSettings?: AutoPatchingSettings;
390
+ /** Auto backup settings for SQL Server. */
391
+ autoBackupSettings?: AutoBackupSettings;
392
+ /** Key vault credential settings. */
393
+ keyVaultCredentialSettings?: KeyVaultCredentialSettings;
394
+ /** SQL Server configuration management settings. */
395
+ serverConfigurationsManagementSettings?: ServerConfigurationsManagementSettings;
396
+ /** Storage Configuration Settings. */
397
+ storageConfigurationSettings?: StorageConfigurationSettings;
398
+ };
399
+ /** Known values of {@link OperationOrigin} that the service accepts. */
400
+ export declare enum KnownOperationOrigin {
401
+ User = "user",
402
+ System = "system"
403
+ }
404
+ /**
405
+ * Defines values for OperationOrigin. \
406
+ * {@link KnownOperationOrigin} can be used interchangeably with OperationOrigin,
407
+ * this enum contains the known values that the service supports.
408
+ * ### Known values supported by the service
409
+ * **user** \
410
+ * **system**
411
+ */
412
+ export declare type OperationOrigin = string;
413
+ /** Known values of {@link SqlVmGroupImageSku} that the service accepts. */
414
+ export declare enum KnownSqlVmGroupImageSku {
415
+ Developer = "Developer",
416
+ Enterprise = "Enterprise"
417
+ }
418
+ /**
419
+ * Defines values for SqlVmGroupImageSku. \
420
+ * {@link KnownSqlVmGroupImageSku} can be used interchangeably with SqlVmGroupImageSku,
421
+ * this enum contains the known values that the service supports.
422
+ * ### Known values supported by the service
423
+ * **Developer** \
424
+ * **Enterprise**
425
+ */
426
+ export declare type SqlVmGroupImageSku = string;
427
+ /** Known values of {@link ScaleType} that the service accepts. */
428
+ export declare enum KnownScaleType {
429
+ HA = "HA"
430
+ }
431
+ /**
432
+ * Defines values for ScaleType. \
433
+ * {@link KnownScaleType} can be used interchangeably with ScaleType,
434
+ * this enum contains the known values that the service supports.
435
+ * ### Known values supported by the service
436
+ * **HA**
437
+ */
438
+ export declare type ScaleType = string;
439
+ /** Known values of {@link ClusterManagerType} that the service accepts. */
440
+ export declare enum KnownClusterManagerType {
441
+ Wsfc = "WSFC"
442
+ }
443
+ /**
444
+ * Defines values for ClusterManagerType. \
445
+ * {@link KnownClusterManagerType} can be used interchangeably with ClusterManagerType,
446
+ * this enum contains the known values that the service supports.
447
+ * ### Known values supported by the service
448
+ * **WSFC**
449
+ */
450
+ export declare type ClusterManagerType = string;
451
+ /** Known values of {@link ClusterConfiguration} that the service accepts. */
452
+ export declare enum KnownClusterConfiguration {
453
+ Domainful = "Domainful"
454
+ }
455
+ /**
456
+ * Defines values for ClusterConfiguration. \
457
+ * {@link KnownClusterConfiguration} can be used interchangeably with ClusterConfiguration,
458
+ * this enum contains the known values that the service supports.
459
+ * ### Known values supported by the service
460
+ * **Domainful**
461
+ */
462
+ export declare type ClusterConfiguration = string;
463
+ /** Known values of {@link IdentityType} that the service accepts. */
464
+ export declare enum KnownIdentityType {
465
+ SystemAssigned = "SystemAssigned"
466
+ }
467
+ /**
468
+ * Defines values for IdentityType. \
469
+ * {@link KnownIdentityType} can be used interchangeably with IdentityType,
470
+ * this enum contains the known values that the service supports.
471
+ * ### Known values supported by the service
472
+ * **SystemAssigned**
473
+ */
474
+ export declare type IdentityType = string;
475
+ /** Known values of {@link SqlServerLicenseType} that the service accepts. */
476
+ export declare enum KnownSqlServerLicenseType {
477
+ Payg = "PAYG",
478
+ Ahub = "AHUB",
479
+ DR = "DR"
480
+ }
481
+ /**
482
+ * Defines values for SqlServerLicenseType. \
483
+ * {@link KnownSqlServerLicenseType} can be used interchangeably with SqlServerLicenseType,
484
+ * this enum contains the known values that the service supports.
485
+ * ### Known values supported by the service
486
+ * **PAYG** \
487
+ * **AHUB** \
488
+ * **DR**
489
+ */
490
+ export declare type SqlServerLicenseType = string;
491
+ /** Known values of {@link SqlManagementMode} that the service accepts. */
492
+ export declare enum KnownSqlManagementMode {
493
+ Full = "Full",
494
+ LightWeight = "LightWeight",
495
+ NoAgent = "NoAgent"
496
+ }
497
+ /**
498
+ * Defines values for SqlManagementMode. \
499
+ * {@link KnownSqlManagementMode} can be used interchangeably with SqlManagementMode,
500
+ * this enum contains the known values that the service supports.
501
+ * ### Known values supported by the service
502
+ * **Full** \
503
+ * **LightWeight** \
504
+ * **NoAgent**
505
+ */
506
+ export declare type SqlManagementMode = string;
507
+ /** Known values of {@link SqlImageSku} that the service accepts. */
508
+ export declare enum KnownSqlImageSku {
509
+ Developer = "Developer",
510
+ Express = "Express",
511
+ Standard = "Standard",
512
+ Enterprise = "Enterprise",
513
+ Web = "Web"
514
+ }
515
+ /**
516
+ * Defines values for SqlImageSku. \
517
+ * {@link KnownSqlImageSku} can be used interchangeably with SqlImageSku,
518
+ * this enum contains the known values that the service supports.
519
+ * ### Known values supported by the service
520
+ * **Developer** \
521
+ * **Express** \
522
+ * **Standard** \
523
+ * **Enterprise** \
524
+ * **Web**
525
+ */
526
+ export declare type SqlImageSku = string;
527
+ /** Known values of {@link BackupScheduleType} that the service accepts. */
528
+ export declare enum KnownBackupScheduleType {
529
+ Manual = "Manual",
530
+ Automated = "Automated"
531
+ }
532
+ /**
533
+ * Defines values for BackupScheduleType. \
534
+ * {@link KnownBackupScheduleType} can be used interchangeably with BackupScheduleType,
535
+ * this enum contains the known values that the service supports.
536
+ * ### Known values supported by the service
537
+ * **Manual** \
538
+ * **Automated**
539
+ */
540
+ export declare type BackupScheduleType = string;
541
+ /** Known values of {@link FullBackupFrequencyType} that the service accepts. */
542
+ export declare enum KnownFullBackupFrequencyType {
543
+ Daily = "Daily",
544
+ Weekly = "Weekly"
545
+ }
546
+ /**
547
+ * Defines values for FullBackupFrequencyType. \
548
+ * {@link KnownFullBackupFrequencyType} can be used interchangeably with FullBackupFrequencyType,
549
+ * this enum contains the known values that the service supports.
550
+ * ### Known values supported by the service
551
+ * **Daily** \
552
+ * **Weekly**
553
+ */
554
+ export declare type FullBackupFrequencyType = string;
555
+ /** Known values of {@link ConnectivityType} that the service accepts. */
556
+ export declare enum KnownConnectivityType {
557
+ Local = "LOCAL",
558
+ Private = "PRIVATE",
559
+ Public = "PUBLIC"
560
+ }
561
+ /**
562
+ * Defines values for ConnectivityType. \
563
+ * {@link KnownConnectivityType} can be used interchangeably with ConnectivityType,
564
+ * this enum contains the known values that the service supports.
565
+ * ### Known values supported by the service
566
+ * **LOCAL** \
567
+ * **PRIVATE** \
568
+ * **PUBLIC**
569
+ */
570
+ export declare type ConnectivityType = string;
571
+ /** Known values of {@link SqlWorkloadType} that the service accepts. */
572
+ export declare enum KnownSqlWorkloadType {
573
+ General = "GENERAL",
574
+ Oltp = "OLTP",
575
+ DW = "DW"
576
+ }
577
+ /**
578
+ * Defines values for SqlWorkloadType. \
579
+ * {@link KnownSqlWorkloadType} can be used interchangeably with SqlWorkloadType,
580
+ * this enum contains the known values that the service supports.
581
+ * ### Known values supported by the service
582
+ * **GENERAL** \
583
+ * **OLTP** \
584
+ * **DW**
585
+ */
586
+ export declare type SqlWorkloadType = string;
587
+ /** Known values of {@link DiskConfigurationType} that the service accepts. */
588
+ export declare enum KnownDiskConfigurationType {
589
+ NEW = "NEW",
590
+ Extend = "EXTEND",
591
+ ADD = "ADD"
592
+ }
593
+ /**
594
+ * Defines values for DiskConfigurationType. \
595
+ * {@link KnownDiskConfigurationType} can be used interchangeably with DiskConfigurationType,
596
+ * this enum contains the known values that the service supports.
597
+ * ### Known values supported by the service
598
+ * **NEW** \
599
+ * **EXTEND** \
600
+ * **ADD**
601
+ */
602
+ export declare type DiskConfigurationType = string;
603
+ /** Known values of {@link StorageWorkloadType} that the service accepts. */
604
+ export declare enum KnownStorageWorkloadType {
605
+ General = "GENERAL",
606
+ Oltp = "OLTP",
607
+ DW = "DW"
608
+ }
609
+ /**
610
+ * Defines values for StorageWorkloadType. \
611
+ * {@link KnownStorageWorkloadType} can be used interchangeably with StorageWorkloadType,
612
+ * this enum contains the known values that the service supports.
613
+ * ### Known values supported by the service
614
+ * **GENERAL** \
615
+ * **OLTP** \
616
+ * **DW**
617
+ */
618
+ export declare type StorageWorkloadType = string;
619
+ /** Defines values for DayOfWeek. */
620
+ export declare type DayOfWeek = "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday";
621
+ /** Optional parameters. */
622
+ export interface AvailabilityGroupListenersGetOptionalParams extends coreClient.OperationOptions {
623
+ }
624
+ /** Contains response data for the get operation. */
625
+ export declare type AvailabilityGroupListenersGetResponse = AvailabilityGroupListener;
626
+ /** Optional parameters. */
627
+ export interface AvailabilityGroupListenersCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
628
+ /** Delay to wait until next poll, in milliseconds. */
629
+ updateIntervalInMs?: number;
630
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
631
+ resumeFrom?: string;
632
+ }
633
+ /** Contains response data for the createOrUpdate operation. */
634
+ export declare type AvailabilityGroupListenersCreateOrUpdateResponse = AvailabilityGroupListener;
635
+ /** Optional parameters. */
636
+ export interface AvailabilityGroupListenersDeleteOptionalParams extends coreClient.OperationOptions {
637
+ /** Delay to wait until next poll, in milliseconds. */
638
+ updateIntervalInMs?: number;
639
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
640
+ resumeFrom?: string;
641
+ }
642
+ /** Optional parameters. */
643
+ export interface AvailabilityGroupListenersListByGroupOptionalParams extends coreClient.OperationOptions {
644
+ }
645
+ /** Contains response data for the listByGroup operation. */
646
+ export declare type AvailabilityGroupListenersListByGroupResponse = AvailabilityGroupListenerListResult;
647
+ /** Optional parameters. */
648
+ export interface AvailabilityGroupListenersListByGroupNextOptionalParams extends coreClient.OperationOptions {
649
+ }
650
+ /** Contains response data for the listByGroupNext operation. */
651
+ export declare type AvailabilityGroupListenersListByGroupNextResponse = AvailabilityGroupListenerListResult;
652
+ /** Optional parameters. */
653
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
654
+ }
655
+ /** Contains response data for the list operation. */
656
+ export declare type OperationsListResponse = OperationListResult;
657
+ /** Optional parameters. */
658
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
659
+ }
660
+ /** Contains response data for the listNext operation. */
661
+ export declare type OperationsListNextResponse = OperationListResult;
662
+ /** Optional parameters. */
663
+ export interface SqlVirtualMachineGroupsGetOptionalParams extends coreClient.OperationOptions {
664
+ }
665
+ /** Contains response data for the get operation. */
666
+ export declare type SqlVirtualMachineGroupsGetResponse = SqlVirtualMachineGroup;
667
+ /** Optional parameters. */
668
+ export interface SqlVirtualMachineGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
669
+ /** Delay to wait until next poll, in milliseconds. */
670
+ updateIntervalInMs?: number;
671
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
672
+ resumeFrom?: string;
673
+ }
674
+ /** Contains response data for the createOrUpdate operation. */
675
+ export declare type SqlVirtualMachineGroupsCreateOrUpdateResponse = SqlVirtualMachineGroup;
676
+ /** Optional parameters. */
677
+ export interface SqlVirtualMachineGroupsDeleteOptionalParams extends coreClient.OperationOptions {
678
+ /** Delay to wait until next poll, in milliseconds. */
679
+ updateIntervalInMs?: number;
680
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
681
+ resumeFrom?: string;
682
+ }
683
+ /** Optional parameters. */
684
+ export interface SqlVirtualMachineGroupsUpdateOptionalParams extends coreClient.OperationOptions {
685
+ /** Delay to wait until next poll, in milliseconds. */
686
+ updateIntervalInMs?: number;
687
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
688
+ resumeFrom?: string;
689
+ }
690
+ /** Contains response data for the update operation. */
691
+ export declare type SqlVirtualMachineGroupsUpdateResponse = SqlVirtualMachineGroup;
692
+ /** Optional parameters. */
693
+ export interface SqlVirtualMachineGroupsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
694
+ }
695
+ /** Contains response data for the listByResourceGroup operation. */
696
+ export declare type SqlVirtualMachineGroupsListByResourceGroupResponse = SqlVirtualMachineGroupListResult;
697
+ /** Optional parameters. */
698
+ export interface SqlVirtualMachineGroupsListOptionalParams extends coreClient.OperationOptions {
699
+ }
700
+ /** Contains response data for the list operation. */
701
+ export declare type SqlVirtualMachineGroupsListResponse = SqlVirtualMachineGroupListResult;
702
+ /** Optional parameters. */
703
+ export interface SqlVirtualMachineGroupsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
704
+ }
705
+ /** Contains response data for the listByResourceGroupNext operation. */
706
+ export declare type SqlVirtualMachineGroupsListByResourceGroupNextResponse = SqlVirtualMachineGroupListResult;
707
+ /** Optional parameters. */
708
+ export interface SqlVirtualMachineGroupsListNextOptionalParams extends coreClient.OperationOptions {
709
+ }
710
+ /** Contains response data for the listNext operation. */
711
+ export declare type SqlVirtualMachineGroupsListNextResponse = SqlVirtualMachineGroupListResult;
712
+ /** Optional parameters. */
713
+ export interface SqlVirtualMachinesListBySqlVmGroupOptionalParams extends coreClient.OperationOptions {
714
+ }
715
+ /** Contains response data for the listBySqlVmGroup operation. */
716
+ export declare type SqlVirtualMachinesListBySqlVmGroupResponse = SqlVirtualMachineListResult;
717
+ /** Optional parameters. */
718
+ export interface SqlVirtualMachinesListOptionalParams extends coreClient.OperationOptions {
719
+ }
720
+ /** Contains response data for the list operation. */
721
+ export declare type SqlVirtualMachinesListResponse = SqlVirtualMachineListResult;
722
+ /** Optional parameters. */
723
+ export interface SqlVirtualMachinesGetOptionalParams extends coreClient.OperationOptions {
724
+ /** The child resources to include in the response. */
725
+ expand?: string;
726
+ }
727
+ /** Contains response data for the get operation. */
728
+ export declare type SqlVirtualMachinesGetResponse = SqlVirtualMachine;
729
+ /** Optional parameters. */
730
+ export interface SqlVirtualMachinesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
731
+ /** Delay to wait until next poll, in milliseconds. */
732
+ updateIntervalInMs?: number;
733
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
734
+ resumeFrom?: string;
735
+ }
736
+ /** Contains response data for the createOrUpdate operation. */
737
+ export declare type SqlVirtualMachinesCreateOrUpdateResponse = SqlVirtualMachine;
738
+ /** Optional parameters. */
739
+ export interface SqlVirtualMachinesDeleteOptionalParams extends coreClient.OperationOptions {
740
+ /** Delay to wait until next poll, in milliseconds. */
741
+ updateIntervalInMs?: number;
742
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
743
+ resumeFrom?: string;
744
+ }
745
+ /** Optional parameters. */
746
+ export interface SqlVirtualMachinesUpdateOptionalParams extends coreClient.OperationOptions {
747
+ /** Delay to wait until next poll, in milliseconds. */
748
+ updateIntervalInMs?: number;
749
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
750
+ resumeFrom?: string;
751
+ }
752
+ /** Contains response data for the update operation. */
753
+ export declare type SqlVirtualMachinesUpdateResponse = SqlVirtualMachine;
754
+ /** Optional parameters. */
755
+ export interface SqlVirtualMachinesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
756
+ }
757
+ /** Contains response data for the listByResourceGroup operation. */
758
+ export declare type SqlVirtualMachinesListByResourceGroupResponse = SqlVirtualMachineListResult;
759
+ /** Optional parameters. */
760
+ export interface SqlVirtualMachinesListBySqlVmGroupNextOptionalParams extends coreClient.OperationOptions {
761
+ }
762
+ /** Contains response data for the listBySqlVmGroupNext operation. */
763
+ export declare type SqlVirtualMachinesListBySqlVmGroupNextResponse = SqlVirtualMachineListResult;
764
+ /** Optional parameters. */
765
+ export interface SqlVirtualMachinesListNextOptionalParams extends coreClient.OperationOptions {
766
+ }
767
+ /** Contains response data for the listNext operation. */
768
+ export declare type SqlVirtualMachinesListNextResponse = SqlVirtualMachineListResult;
769
+ /** Optional parameters. */
770
+ export interface SqlVirtualMachinesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
771
+ }
772
+ /** Contains response data for the listByResourceGroupNext operation. */
773
+ export declare type SqlVirtualMachinesListByResourceGroupNextResponse = SqlVirtualMachineListResult;
774
+ /** Optional parameters. */
775
+ export interface SqlVirtualMachineManagementClientOptionalParams extends coreClient.ServiceClientOptions {
776
+ /** server parameter */
777
+ $host?: string;
778
+ /** Api Version */
779
+ apiVersion?: string;
780
+ /** Overrides client endpoint. */
781
+ endpoint?: string;
782
+ }
783
+ //# sourceMappingURL=index.d.ts.map