@azure/arm-sqlvirtualmachine 5.0.0-beta.6 → 5.0.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/index.js +1065 -306
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.js +98 -0
- package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.js +40 -0
- package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/availabilityGroupListenersGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/availabilityGroupListenersGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/availabilityGroupListenersGetSample.js +40 -0
- package/dist-esm/samples-dev/availabilityGroupListenersGetSample.js.map +1 -0
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js +60 -0
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +58 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.js +55 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.js +39 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.js +39 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js +59 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js +58 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.js +40 -0
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.js +45 -0
- package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js +290 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.js +39 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.js +39 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js +59 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js +60 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js +58 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.js +39 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js +39 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.js +40 -0
- package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.js.map +1 -0
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +234 -68
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +8 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +14 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +325 -0
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +1 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +11 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/availabilityGroupListeners.d.ts +3 -3
- package/dist-esm/src/operations/availabilityGroupListeners.d.ts.map +1 -1
- package/dist-esm/src/operations/availabilityGroupListeners.js +86 -41
- package/dist-esm/src/operations/availabilityGroupListeners.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +37 -15
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts +4 -4
- package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js +134 -51
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachineTroubleshoot.d.ts +32 -0
- package/dist-esm/src/operations/sqlVirtualMachineTroubleshoot.d.ts.map +1 -0
- package/dist-esm/src/operations/sqlVirtualMachineTroubleshoot.js +118 -0
- package/dist-esm/src/operations/sqlVirtualMachineTroubleshoot.js.map +1 -0
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts +29 -29
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts.map +1 -1
- package/dist-esm/src/operations/sqlVirtualMachines.js +270 -148
- package/dist-esm/src/operations/sqlVirtualMachines.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts +4 -4
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts +24 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.js +9 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts +26 -26
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts +2 -1
- package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts.map +1 -1
- package/dist-esm/src/sqlVirtualMachineManagementClient.js +7 -9
- package/dist-esm/src/sqlVirtualMachineManagementClient.js.map +1 -1
- package/dist-esm/test/sqlvirtualmachine_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/sqlvirtualmachine_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/sqlvirtualmachine_operations_test.spec.js +78 -0
- package/dist-esm/test/sqlvirtualmachine_operations_test.spec.js.map +1 -0
- package/package.json +22 -12
- package/review/arm-sqlvirtualmachine.api.md +134 -13
- package/src/index.ts +1 -0
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +210 -25
- package/src/models/mappers.ts +340 -0
- package/src/models/parameters.ts +15 -2
- package/src/operations/availabilityGroupListeners.ts +81 -42
- package/src/operations/index.ts +1 -0
- package/src/operations/operations.ts +27 -11
- package/src/operations/sqlVirtualMachineGroups.ts +134 -61
- package/src/operations/sqlVirtualMachineTroubleshoot.ts +172 -0
- package/src/operations/sqlVirtualMachines.ts +312 -213
- package/src/operationsInterfaces/availabilityGroupListeners.ts +4 -4
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/sqlVirtualMachineGroups.ts +6 -6
- package/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.ts +51 -0
- package/src/operationsInterfaces/sqlVirtualMachines.ts +57 -57
- package/src/pagingHelper.ts +39 -0
- package/src/sqlVirtualMachineManagementClient.ts +14 -9
- package/tsconfig.json +8 -2
- package/types/arm-sqlvirtualmachine.d.ts +254 -38
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import * as coreAuth from '@azure/core-auth';
|
|
2
2
|
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { OperationState } from '@azure/core-lro';
|
|
3
4
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
-
import {
|
|
5
|
-
|
|
5
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
|
6
|
+
|
|
7
|
+
/** Enable AAD authentication for SQL VM. */
|
|
8
|
+
export declare interface AADAuthenticationSettings {
|
|
9
|
+
/** The client Id of the Managed Identity to query Microsoft Graph API. An empty string must be used for the system assigned Managed Identity */
|
|
10
|
+
clientId?: string;
|
|
11
|
+
}
|
|
6
12
|
|
|
7
13
|
/** Additional SQL Server feature settings. */
|
|
8
14
|
export declare interface AdditionalFeaturesServerConfigurations {
|
|
@@ -33,13 +39,13 @@ export declare interface AgReplica {
|
|
|
33
39
|
/** Defines values for AssessmentDayOfWeek. */
|
|
34
40
|
export declare type AssessmentDayOfWeek = "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday";
|
|
35
41
|
|
|
36
|
-
/** Configure
|
|
42
|
+
/** Configure SQL best practices Assessment for databases in your SQL virtual machine. */
|
|
37
43
|
export declare interface AssessmentSettings {
|
|
38
|
-
/** Enable or disable
|
|
44
|
+
/** Enable or disable SQL best practices Assessment feature on SQL virtual machine. */
|
|
39
45
|
enable?: boolean;
|
|
40
|
-
/** Run
|
|
46
|
+
/** Run SQL best practices Assessment immediately on SQL virtual machine. */
|
|
41
47
|
runImmediately?: boolean;
|
|
42
|
-
/** Schedule for Assessment. */
|
|
48
|
+
/** Schedule for SQL best practices Assessment. */
|
|
43
49
|
schedule?: Schedule;
|
|
44
50
|
}
|
|
45
51
|
|
|
@@ -170,7 +176,7 @@ export declare interface AvailabilityGroupListeners {
|
|
|
170
176
|
* @param parameters The availability group listener.
|
|
171
177
|
* @param options The options parameters.
|
|
172
178
|
*/
|
|
173
|
-
beginCreateOrUpdate(resourceGroupName: string, sqlVirtualMachineGroupName: string, availabilityGroupListenerName: string, parameters: AvailabilityGroupListener, options?: AvailabilityGroupListenersCreateOrUpdateOptionalParams): Promise<
|
|
179
|
+
beginCreateOrUpdate(resourceGroupName: string, sqlVirtualMachineGroupName: string, availabilityGroupListenerName: string, parameters: AvailabilityGroupListener, options?: AvailabilityGroupListenersCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AvailabilityGroupListenersCreateOrUpdateResponse>, AvailabilityGroupListenersCreateOrUpdateResponse>>;
|
|
174
180
|
/**
|
|
175
181
|
* Creates or updates an availability group listener.
|
|
176
182
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
@@ -189,7 +195,7 @@ export declare interface AvailabilityGroupListeners {
|
|
|
189
195
|
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
190
196
|
* @param options The options parameters.
|
|
191
197
|
*/
|
|
192
|
-
beginDelete(resourceGroupName: string, sqlVirtualMachineGroupName: string, availabilityGroupListenerName: string, options?: AvailabilityGroupListenersDeleteOptionalParams): Promise<
|
|
198
|
+
beginDelete(resourceGroupName: string, sqlVirtualMachineGroupName: string, availabilityGroupListenerName: string, options?: AvailabilityGroupListenersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
193
199
|
/**
|
|
194
200
|
* Deletes an availability group listener.
|
|
195
201
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
@@ -212,6 +218,11 @@ export declare interface AvailabilityGroupListenersCreateOrUpdateOptionalParams
|
|
|
212
218
|
/** Contains response data for the createOrUpdate operation. */
|
|
213
219
|
export declare type AvailabilityGroupListenersCreateOrUpdateResponse = AvailabilityGroupListener;
|
|
214
220
|
|
|
221
|
+
/** Defines headers for AvailabilityGroupListeners_delete operation. */
|
|
222
|
+
export declare interface AvailabilityGroupListenersDeleteHeaders {
|
|
223
|
+
location?: string;
|
|
224
|
+
}
|
|
225
|
+
|
|
215
226
|
/** Optional parameters. */
|
|
216
227
|
export declare interface AvailabilityGroupListenersDeleteOptionalParams extends coreClient.OperationOptions {
|
|
217
228
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -328,6 +339,55 @@ export declare type DayOfWeek = "Everyday" | "Monday" | "Tuesday" | "Wednesday"
|
|
|
328
339
|
*/
|
|
329
340
|
export declare type DiskConfigurationType = string;
|
|
330
341
|
|
|
342
|
+
/** The resource management error additional info. */
|
|
343
|
+
export declare interface ErrorAdditionalInfo {
|
|
344
|
+
/**
|
|
345
|
+
* The additional info type.
|
|
346
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
347
|
+
*/
|
|
348
|
+
readonly type?: string;
|
|
349
|
+
/**
|
|
350
|
+
* The additional info.
|
|
351
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
352
|
+
*/
|
|
353
|
+
readonly info?: Record<string, unknown>;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/** The error detail. */
|
|
357
|
+
export declare interface ErrorDetail {
|
|
358
|
+
/**
|
|
359
|
+
* The error code.
|
|
360
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
361
|
+
*/
|
|
362
|
+
readonly code?: string;
|
|
363
|
+
/**
|
|
364
|
+
* The error message.
|
|
365
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
366
|
+
*/
|
|
367
|
+
readonly message?: string;
|
|
368
|
+
/**
|
|
369
|
+
* The error target.
|
|
370
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
371
|
+
*/
|
|
372
|
+
readonly target?: string;
|
|
373
|
+
/**
|
|
374
|
+
* The error details.
|
|
375
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
376
|
+
*/
|
|
377
|
+
readonly details?: ErrorDetail[];
|
|
378
|
+
/**
|
|
379
|
+
* The error additional info.
|
|
380
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
381
|
+
*/
|
|
382
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
386
|
+
export declare interface ErrorResponse {
|
|
387
|
+
/** The error object. */
|
|
388
|
+
error?: ErrorDetail;
|
|
389
|
+
}
|
|
390
|
+
|
|
331
391
|
/**
|
|
332
392
|
* Defines values for Failover. \
|
|
333
393
|
* {@link KnownFailover} can be used interchangeably with Failover,
|
|
@@ -348,6 +408,15 @@ export declare type Failover = string;
|
|
|
348
408
|
*/
|
|
349
409
|
export declare type FullBackupFrequencyType = string;
|
|
350
410
|
|
|
411
|
+
/**
|
|
412
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
413
|
+
* returns a continuation token that can be used to begin paging from
|
|
414
|
+
* that point later.
|
|
415
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
416
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
417
|
+
*/
|
|
418
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
419
|
+
|
|
351
420
|
/**
|
|
352
421
|
* Defines values for IdentityType. \
|
|
353
422
|
* {@link KnownIdentityType} can be used interchangeably with IdentityType,
|
|
@@ -485,7 +554,9 @@ export declare enum KnownIdentityType {
|
|
|
485
554
|
/** Known values of {@link LeastPrivilegeMode} that the service accepts. */
|
|
486
555
|
export declare enum KnownLeastPrivilegeMode {
|
|
487
556
|
/** Enabled */
|
|
488
|
-
Enabled = "Enabled"
|
|
557
|
+
Enabled = "Enabled",
|
|
558
|
+
/** NotSet */
|
|
559
|
+
NotSet = "NotSet"
|
|
489
560
|
}
|
|
490
561
|
|
|
491
562
|
/** Known values of {@link OperationOrigin} that the service accepts. */
|
|
@@ -582,12 +653,19 @@ export declare enum KnownStorageWorkloadType {
|
|
|
582
653
|
DW = "DW"
|
|
583
654
|
}
|
|
584
655
|
|
|
656
|
+
/** Known values of {@link TroubleshootingScenario} that the service accepts. */
|
|
657
|
+
export declare enum KnownTroubleshootingScenario {
|
|
658
|
+
/** UnhealthyReplica */
|
|
659
|
+
UnhealthyReplica = "UnhealthyReplica"
|
|
660
|
+
}
|
|
661
|
+
|
|
585
662
|
/**
|
|
586
663
|
* Defines values for LeastPrivilegeMode. \
|
|
587
664
|
* {@link KnownLeastPrivilegeMode} can be used interchangeably with LeastPrivilegeMode,
|
|
588
665
|
* this enum contains the known values that the service supports.
|
|
589
666
|
* ### Known values supported by the service
|
|
590
|
-
* **Enabled**
|
|
667
|
+
* **Enabled** \
|
|
668
|
+
* **NotSet**
|
|
591
669
|
*/
|
|
592
670
|
export declare type LeastPrivilegeMode = string;
|
|
593
671
|
|
|
@@ -813,6 +891,8 @@ export declare interface ServerConfigurationsManagementSettings {
|
|
|
813
891
|
additionalFeaturesServerConfigurations?: AdditionalFeaturesServerConfigurations;
|
|
814
892
|
/** SQL Instance settings. */
|
|
815
893
|
sqlInstanceSettings?: SQLInstanceSettings;
|
|
894
|
+
/** Azure AD authentication Settings. */
|
|
895
|
+
azureAdAuthenticationSettings?: AADAuthenticationSettings;
|
|
816
896
|
}
|
|
817
897
|
|
|
818
898
|
/** Set the access level and network port settings for SQL Server. */
|
|
@@ -962,7 +1042,12 @@ export declare interface SqlVirtualMachine extends TrackedResource {
|
|
|
962
1042
|
serverConfigurationsManagementSettings?: ServerConfigurationsManagementSettings;
|
|
963
1043
|
/** Storage Configuration Settings. */
|
|
964
1044
|
storageConfigurationSettings?: StorageConfigurationSettings;
|
|
965
|
-
/**
|
|
1045
|
+
/**
|
|
1046
|
+
* Troubleshooting status
|
|
1047
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1048
|
+
*/
|
|
1049
|
+
readonly troubleshootingStatus?: TroubleshootingStatus;
|
|
1050
|
+
/** SQL best practices Assessment Settings. */
|
|
966
1051
|
assessmentSettings?: AssessmentSettings;
|
|
967
1052
|
/** Enable automatic upgrade of Sql IaaS extension Agent. */
|
|
968
1053
|
enableAutomaticUpgrade?: boolean;
|
|
@@ -1047,7 +1132,7 @@ export declare interface SqlVirtualMachineGroups {
|
|
|
1047
1132
|
* @param parameters The SQL virtual machine group.
|
|
1048
1133
|
* @param options The options parameters.
|
|
1049
1134
|
*/
|
|
1050
|
-
beginCreateOrUpdate(resourceGroupName: string, sqlVirtualMachineGroupName: string, parameters: SqlVirtualMachineGroup, options?: SqlVirtualMachineGroupsCreateOrUpdateOptionalParams): Promise<
|
|
1135
|
+
beginCreateOrUpdate(resourceGroupName: string, sqlVirtualMachineGroupName: string, parameters: SqlVirtualMachineGroup, options?: SqlVirtualMachineGroupsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SqlVirtualMachineGroupsCreateOrUpdateResponse>, SqlVirtualMachineGroupsCreateOrUpdateResponse>>;
|
|
1051
1136
|
/**
|
|
1052
1137
|
* Creates or updates a SQL virtual machine group.
|
|
1053
1138
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
@@ -1064,7 +1149,7 @@ export declare interface SqlVirtualMachineGroups {
|
|
|
1064
1149
|
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1065
1150
|
* @param options The options parameters.
|
|
1066
1151
|
*/
|
|
1067
|
-
beginDelete(resourceGroupName: string, sqlVirtualMachineGroupName: string, options?: SqlVirtualMachineGroupsDeleteOptionalParams): Promise<
|
|
1152
|
+
beginDelete(resourceGroupName: string, sqlVirtualMachineGroupName: string, options?: SqlVirtualMachineGroupsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1068
1153
|
/**
|
|
1069
1154
|
* Deletes a SQL virtual machine group.
|
|
1070
1155
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
@@ -1081,7 +1166,7 @@ export declare interface SqlVirtualMachineGroups {
|
|
|
1081
1166
|
* @param parameters The SQL virtual machine group.
|
|
1082
1167
|
* @param options The options parameters.
|
|
1083
1168
|
*/
|
|
1084
|
-
beginUpdate(resourceGroupName: string, sqlVirtualMachineGroupName: string, parameters: SqlVirtualMachineGroupUpdate, options?: SqlVirtualMachineGroupsUpdateOptionalParams): Promise<
|
|
1169
|
+
beginUpdate(resourceGroupName: string, sqlVirtualMachineGroupName: string, parameters: SqlVirtualMachineGroupUpdate, options?: SqlVirtualMachineGroupsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SqlVirtualMachineGroupsUpdateResponse>, SqlVirtualMachineGroupsUpdateResponse>>;
|
|
1085
1170
|
/**
|
|
1086
1171
|
* Updates SQL virtual machine group tags.
|
|
1087
1172
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
@@ -1104,6 +1189,11 @@ export declare interface SqlVirtualMachineGroupsCreateOrUpdateOptionalParams ext
|
|
|
1104
1189
|
/** Contains response data for the createOrUpdate operation. */
|
|
1105
1190
|
export declare type SqlVirtualMachineGroupsCreateOrUpdateResponse = SqlVirtualMachineGroup;
|
|
1106
1191
|
|
|
1192
|
+
/** Defines headers for SqlVirtualMachineGroups_delete operation. */
|
|
1193
|
+
export declare interface SqlVirtualMachineGroupsDeleteHeaders {
|
|
1194
|
+
location?: string;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1107
1197
|
/** Optional parameters. */
|
|
1108
1198
|
export declare interface SqlVirtualMachineGroupsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1109
1199
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -1197,6 +1287,7 @@ export declare class SqlVirtualMachineManagementClient extends coreClient.Servic
|
|
|
1197
1287
|
operations: Operations;
|
|
1198
1288
|
sqlVirtualMachineGroups: SqlVirtualMachineGroups;
|
|
1199
1289
|
sqlVirtualMachines: SqlVirtualMachines;
|
|
1290
|
+
sqlVirtualMachineTroubleshoot: SqlVirtualMachineTroubleshoot;
|
|
1200
1291
|
}
|
|
1201
1292
|
|
|
1202
1293
|
/** Optional parameters. */
|
|
@@ -1232,97 +1323,97 @@ export declare interface SqlVirtualMachines {
|
|
|
1232
1323
|
*/
|
|
1233
1324
|
listByResourceGroup(resourceGroupName: string, options?: SqlVirtualMachinesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachine>;
|
|
1234
1325
|
/**
|
|
1235
|
-
*
|
|
1326
|
+
* Gets a SQL virtual machine.
|
|
1236
1327
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1237
1328
|
* value from the Azure Resource Manager API or the portal.
|
|
1238
1329
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1239
1330
|
* @param options The options parameters.
|
|
1240
1331
|
*/
|
|
1241
|
-
|
|
1332
|
+
get(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesGetOptionalParams): Promise<SqlVirtualMachinesGetResponse>;
|
|
1242
1333
|
/**
|
|
1243
|
-
*
|
|
1334
|
+
* Creates or updates a SQL virtual machine.
|
|
1244
1335
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1245
1336
|
* value from the Azure Resource Manager API or the portal.
|
|
1246
1337
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1338
|
+
* @param parameters The SQL virtual machine.
|
|
1247
1339
|
* @param options The options parameters.
|
|
1248
1340
|
*/
|
|
1249
|
-
|
|
1341
|
+
beginCreateOrUpdate(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachine, options?: SqlVirtualMachinesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SqlVirtualMachinesCreateOrUpdateResponse>, SqlVirtualMachinesCreateOrUpdateResponse>>;
|
|
1250
1342
|
/**
|
|
1251
|
-
*
|
|
1343
|
+
* Creates or updates a SQL virtual machine.
|
|
1252
1344
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1253
1345
|
* value from the Azure Resource Manager API or the portal.
|
|
1254
1346
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1347
|
+
* @param parameters The SQL virtual machine.
|
|
1255
1348
|
* @param options The options parameters.
|
|
1256
1349
|
*/
|
|
1257
|
-
|
|
1350
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachine, options?: SqlVirtualMachinesCreateOrUpdateOptionalParams): Promise<SqlVirtualMachinesCreateOrUpdateResponse>;
|
|
1258
1351
|
/**
|
|
1259
|
-
*
|
|
1352
|
+
* Deletes a SQL virtual machine.
|
|
1260
1353
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1261
1354
|
* value from the Azure Resource Manager API or the portal.
|
|
1262
1355
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1263
1356
|
* @param options The options parameters.
|
|
1264
1357
|
*/
|
|
1265
|
-
|
|
1358
|
+
beginDelete(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1266
1359
|
/**
|
|
1267
|
-
*
|
|
1360
|
+
* Deletes a SQL virtual machine.
|
|
1268
1361
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1269
1362
|
* value from the Azure Resource Manager API or the portal.
|
|
1270
1363
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1271
1364
|
* @param options The options parameters.
|
|
1272
1365
|
*/
|
|
1273
|
-
|
|
1366
|
+
beginDeleteAndWait(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesDeleteOptionalParams): Promise<void>;
|
|
1274
1367
|
/**
|
|
1275
|
-
*
|
|
1368
|
+
* Updates a SQL virtual machine.
|
|
1276
1369
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1277
1370
|
* value from the Azure Resource Manager API or the portal.
|
|
1278
1371
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1279
1372
|
* @param parameters The SQL virtual machine.
|
|
1280
1373
|
* @param options The options parameters.
|
|
1281
1374
|
*/
|
|
1282
|
-
|
|
1375
|
+
beginUpdate(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachineUpdate, options?: SqlVirtualMachinesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SqlVirtualMachinesUpdateResponse>, SqlVirtualMachinesUpdateResponse>>;
|
|
1283
1376
|
/**
|
|
1284
|
-
*
|
|
1377
|
+
* Updates a SQL virtual machine.
|
|
1285
1378
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1286
1379
|
* value from the Azure Resource Manager API or the portal.
|
|
1287
1380
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1288
1381
|
* @param parameters The SQL virtual machine.
|
|
1289
1382
|
* @param options The options parameters.
|
|
1290
1383
|
*/
|
|
1291
|
-
|
|
1384
|
+
beginUpdateAndWait(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachineUpdate, options?: SqlVirtualMachinesUpdateOptionalParams): Promise<SqlVirtualMachinesUpdateResponse>;
|
|
1292
1385
|
/**
|
|
1293
|
-
*
|
|
1386
|
+
* Starts SQL best practices Assessment on SQL virtual machine.
|
|
1294
1387
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1295
1388
|
* value from the Azure Resource Manager API or the portal.
|
|
1296
1389
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1297
1390
|
* @param options The options parameters.
|
|
1298
1391
|
*/
|
|
1299
|
-
|
|
1392
|
+
beginStartAssessment(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesStartAssessmentOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1300
1393
|
/**
|
|
1301
|
-
*
|
|
1394
|
+
* Starts SQL best practices Assessment on SQL virtual machine.
|
|
1302
1395
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1303
1396
|
* value from the Azure Resource Manager API or the portal.
|
|
1304
1397
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1305
1398
|
* @param options The options parameters.
|
|
1306
1399
|
*/
|
|
1307
|
-
|
|
1400
|
+
beginStartAssessmentAndWait(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesStartAssessmentOptionalParams): Promise<void>;
|
|
1308
1401
|
/**
|
|
1309
|
-
*
|
|
1402
|
+
* Uninstalls and reinstalls the SQL IaaS Extension.
|
|
1310
1403
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1311
1404
|
* value from the Azure Resource Manager API or the portal.
|
|
1312
1405
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1313
|
-
* @param parameters The SQL virtual machine.
|
|
1314
1406
|
* @param options The options parameters.
|
|
1315
1407
|
*/
|
|
1316
|
-
|
|
1408
|
+
beginRedeploy(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesRedeployOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1317
1409
|
/**
|
|
1318
|
-
*
|
|
1410
|
+
* Uninstalls and reinstalls the SQL IaaS Extension.
|
|
1319
1411
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1320
1412
|
* value from the Azure Resource Manager API or the portal.
|
|
1321
1413
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1322
|
-
* @param parameters The SQL virtual machine.
|
|
1323
1414
|
* @param options The options parameters.
|
|
1324
1415
|
*/
|
|
1325
|
-
|
|
1416
|
+
beginRedeployAndWait(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesRedeployOptionalParams): Promise<void>;
|
|
1326
1417
|
}
|
|
1327
1418
|
|
|
1328
1419
|
/** Optional parameters. */
|
|
@@ -1336,6 +1427,11 @@ export declare interface SqlVirtualMachinesCreateOrUpdateOptionalParams extends
|
|
|
1336
1427
|
/** Contains response data for the createOrUpdate operation. */
|
|
1337
1428
|
export declare type SqlVirtualMachinesCreateOrUpdateResponse = SqlVirtualMachine;
|
|
1338
1429
|
|
|
1430
|
+
/** Defines headers for SqlVirtualMachines_delete operation. */
|
|
1431
|
+
export declare interface SqlVirtualMachinesDeleteHeaders {
|
|
1432
|
+
location?: string;
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1339
1435
|
/** Optional parameters. */
|
|
1340
1436
|
export declare interface SqlVirtualMachinesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1341
1437
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -1395,6 +1491,11 @@ export declare interface SqlVirtualMachinesListOptionalParams extends coreClient
|
|
|
1395
1491
|
/** Contains response data for the list operation. */
|
|
1396
1492
|
export declare type SqlVirtualMachinesListResponse = SqlVirtualMachineListResult;
|
|
1397
1493
|
|
|
1494
|
+
/** Defines headers for SqlVirtualMachines_redeploy operation. */
|
|
1495
|
+
export declare interface SqlVirtualMachinesRedeployHeaders {
|
|
1496
|
+
location?: string;
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1398
1499
|
/** Optional parameters. */
|
|
1399
1500
|
export declare interface SqlVirtualMachinesRedeployOptionalParams extends coreClient.OperationOptions {
|
|
1400
1501
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -1403,6 +1504,11 @@ export declare interface SqlVirtualMachinesRedeployOptionalParams extends coreCl
|
|
|
1403
1504
|
resumeFrom?: string;
|
|
1404
1505
|
}
|
|
1405
1506
|
|
|
1507
|
+
/** Defines headers for SqlVirtualMachines_startAssessment operation. */
|
|
1508
|
+
export declare interface SqlVirtualMachinesStartAssessmentHeaders {
|
|
1509
|
+
location?: string;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1406
1512
|
/** Optional parameters. */
|
|
1407
1513
|
export declare interface SqlVirtualMachinesStartAssessmentOptionalParams extends coreClient.OperationOptions {
|
|
1408
1514
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -1422,6 +1528,44 @@ export declare interface SqlVirtualMachinesUpdateOptionalParams extends coreClie
|
|
|
1422
1528
|
/** Contains response data for the update operation. */
|
|
1423
1529
|
export declare type SqlVirtualMachinesUpdateResponse = SqlVirtualMachine;
|
|
1424
1530
|
|
|
1531
|
+
/** Interface representing a SqlVirtualMachineTroubleshoot. */
|
|
1532
|
+
export declare interface SqlVirtualMachineTroubleshoot {
|
|
1533
|
+
/**
|
|
1534
|
+
* Starts SQL virtual machine troubleshooting.
|
|
1535
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1536
|
+
* value from the Azure Resource Manager API or the portal.
|
|
1537
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1538
|
+
* @param parameters The SQL virtual machine troubleshooting entity.
|
|
1539
|
+
* @param options The options parameters.
|
|
1540
|
+
*/
|
|
1541
|
+
beginTroubleshoot(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVmTroubleshooting, options?: SqlVirtualMachineTroubleshootTroubleshootOptionalParams): Promise<SimplePollerLike<OperationState<SqlVirtualMachineTroubleshootTroubleshootResponse>, SqlVirtualMachineTroubleshootTroubleshootResponse>>;
|
|
1542
|
+
/**
|
|
1543
|
+
* Starts SQL virtual machine troubleshooting.
|
|
1544
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1545
|
+
* value from the Azure Resource Manager API or the portal.
|
|
1546
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1547
|
+
* @param parameters The SQL virtual machine troubleshooting entity.
|
|
1548
|
+
* @param options The options parameters.
|
|
1549
|
+
*/
|
|
1550
|
+
beginTroubleshootAndWait(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVmTroubleshooting, options?: SqlVirtualMachineTroubleshootTroubleshootOptionalParams): Promise<SqlVirtualMachineTroubleshootTroubleshootResponse>;
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
/** Defines headers for SqlVirtualMachineTroubleshoot_troubleshoot operation. */
|
|
1554
|
+
export declare interface SqlVirtualMachineTroubleshootTroubleshootHeaders {
|
|
1555
|
+
location?: string;
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
/** Optional parameters. */
|
|
1559
|
+
export declare interface SqlVirtualMachineTroubleshootTroubleshootOptionalParams extends coreClient.OperationOptions {
|
|
1560
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1561
|
+
updateIntervalInMs?: number;
|
|
1562
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1563
|
+
resumeFrom?: string;
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
/** Contains response data for the troubleshoot operation. */
|
|
1567
|
+
export declare type SqlVirtualMachineTroubleshootTroubleshootResponse = SqlVmTroubleshooting;
|
|
1568
|
+
|
|
1425
1569
|
/** An update to a SQL virtual machine. */
|
|
1426
1570
|
export declare interface SqlVirtualMachineUpdate {
|
|
1427
1571
|
/** Resource tags. */
|
|
@@ -1440,6 +1584,23 @@ export declare interface SqlVirtualMachineUpdate {
|
|
|
1440
1584
|
*/
|
|
1441
1585
|
export declare type SqlVmGroupImageSku = string;
|
|
1442
1586
|
|
|
1587
|
+
/** Details required for SQL VM troubleshooting */
|
|
1588
|
+
export declare interface SqlVmTroubleshooting {
|
|
1589
|
+
/** Start time in UTC timezone. */
|
|
1590
|
+
startTimeUtc?: Date;
|
|
1591
|
+
/** End time in UTC timezone. */
|
|
1592
|
+
endTimeUtc?: Date;
|
|
1593
|
+
/** SQL VM troubleshooting scenario. */
|
|
1594
|
+
troubleshootingScenario?: TroubleshootingScenario;
|
|
1595
|
+
/** Troubleshooting properties */
|
|
1596
|
+
properties?: TroubleshootingAdditionalProperties;
|
|
1597
|
+
/**
|
|
1598
|
+
* Virtual machine resource id for response.
|
|
1599
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1600
|
+
*/
|
|
1601
|
+
readonly virtualMachineResourceId?: string;
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1443
1604
|
/**
|
|
1444
1605
|
* Defines values for SqlWorkloadType. \
|
|
1445
1606
|
* {@link KnownSqlWorkloadType} can be used interchangeably with SqlWorkloadType,
|
|
@@ -1510,6 +1671,61 @@ export declare interface TrackedResource extends Resource {
|
|
|
1510
1671
|
};
|
|
1511
1672
|
}
|
|
1512
1673
|
|
|
1674
|
+
/** SQL VM Troubleshooting additional properties. */
|
|
1675
|
+
export declare interface TroubleshootingAdditionalProperties {
|
|
1676
|
+
/** The unhealthy replica information */
|
|
1677
|
+
unhealthyReplicaInfo?: UnhealthyReplicaInfo;
|
|
1678
|
+
}
|
|
1679
|
+
|
|
1680
|
+
/**
|
|
1681
|
+
* Defines values for TroubleshootingScenario. \
|
|
1682
|
+
* {@link KnownTroubleshootingScenario} can be used interchangeably with TroubleshootingScenario,
|
|
1683
|
+
* this enum contains the known values that the service supports.
|
|
1684
|
+
* ### Known values supported by the service
|
|
1685
|
+
* **UnhealthyReplica**
|
|
1686
|
+
*/
|
|
1687
|
+
export declare type TroubleshootingScenario = string;
|
|
1688
|
+
|
|
1689
|
+
/** Status of last troubleshooting operation on this SQL VM */
|
|
1690
|
+
export declare interface TroubleshootingStatus {
|
|
1691
|
+
/**
|
|
1692
|
+
* Root cause of the issue
|
|
1693
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1694
|
+
*/
|
|
1695
|
+
readonly rootCause?: string;
|
|
1696
|
+
/**
|
|
1697
|
+
* Last troubleshooting trigger time in UTC timezone
|
|
1698
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1699
|
+
*/
|
|
1700
|
+
readonly lastTriggerTimeUtc?: Date;
|
|
1701
|
+
/**
|
|
1702
|
+
* Start time in UTC timezone.
|
|
1703
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1704
|
+
*/
|
|
1705
|
+
readonly startTimeUtc?: Date;
|
|
1706
|
+
/**
|
|
1707
|
+
* End time in UTC timezone.
|
|
1708
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1709
|
+
*/
|
|
1710
|
+
readonly endTimeUtc?: Date;
|
|
1711
|
+
/**
|
|
1712
|
+
* SQL VM troubleshooting scenario.
|
|
1713
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1714
|
+
*/
|
|
1715
|
+
readonly troubleshootingScenario?: TroubleshootingScenario;
|
|
1716
|
+
/**
|
|
1717
|
+
* Troubleshooting properties
|
|
1718
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1719
|
+
*/
|
|
1720
|
+
readonly properties?: TroubleshootingAdditionalProperties;
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
/** SQL VM Troubleshoot UnhealthyReplica scenario information. */
|
|
1724
|
+
export declare interface UnhealthyReplicaInfo {
|
|
1725
|
+
/** The name of the availability group */
|
|
1726
|
+
availabilityGroupName?: string;
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1513
1729
|
/** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
|
|
1514
1730
|
export declare interface WsfcDomainCredentials {
|
|
1515
1731
|
/** Cluster bootstrap account password. */
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sampleTest.d.ts","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":""}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
|
-
import { Recorder } from "@azure-tools/test-recorder";
|
|
10
|
-
const replaceableVariables = {
|
|
11
|
-
AZURE_CLIENT_ID: "azure_client_id",
|
|
12
|
-
AZURE_CLIENT_SECRET: "azure_client_secret",
|
|
13
|
-
AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
|
|
14
|
-
SUBSCRIPTION_ID: "azure_subscription_id"
|
|
15
|
-
};
|
|
16
|
-
const recorderOptions = {
|
|
17
|
-
envSetupForPlayback: replaceableVariables
|
|
18
|
-
};
|
|
19
|
-
describe("My test", () => {
|
|
20
|
-
let recorder;
|
|
21
|
-
beforeEach(function () {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
recorder = new Recorder(this.currentTest);
|
|
24
|
-
yield recorder.start(recorderOptions);
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
afterEach(function () {
|
|
28
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
-
yield recorder.stop();
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
it("sample test", function () {
|
|
33
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
-
console.log("Hi, I'm a test!");
|
|
35
|
-
});
|
|
36
|
-
});
|
|
37
|
-
});
|
|
38
|
-
//# sourceMappingURL=sampleTest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,QAAQ,EAGT,MAAM,4BAA4B,CAAC;AAIpC,MAAM,oBAAoB,GAA2B;IACnD,eAAe,EAAE,iBAAiB;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,sCAAsC;IACvD,eAAe,EAAE,uBAAuB;CACzC,CAAC;AAEF,MAAM,eAAe,GAAyB;IAC5C,mBAAmB,EAAE,oBAAoB;CAC1C,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YAC1C,MAAM,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QACxC,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,aAAa,EAAE;;YAChB,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;QACjC,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|