@azure/arm-sqlvirtualmachine 5.0.0-beta.7 → 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/dist/index.js +903 -244
- 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.js +2 -2
- package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/availabilityGroupListenersGetSample.js +1 -1
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js +13 -6
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +13 -6
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.js +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js +13 -6
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js +13 -6
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.js +1 -1
- 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.js +9 -6
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.js +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js +13 -6
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js +13 -6
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js +13 -6
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.js +5 -5
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js +5 -5
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js.map +1 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.js +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 +67 -33
- 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.js +18 -7
- 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 +97 -35
- 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 +215 -124
- 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/sqlVirtualMachineManagementClient.d.ts +2 -1
- package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts.map +1 -1
- package/dist-esm/src/sqlVirtualMachineManagementClient.js +4 -3
- 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 +10 -10
- package/review/arm-sqlvirtualmachine.api.md +131 -13
- 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 +54 -28
- package/src/operations/index.ts +1 -0
- package/src/operations/operations.ts +6 -2
- package/src/operations/sqlVirtualMachineGroups.ts +88 -42
- package/src/operations/sqlVirtualMachineTroubleshoot.ts +172 -0
- package/src/operations/sqlVirtualMachines.ts +241 -181
- 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/sqlVirtualMachineManagementClient.ts +10 -4
- package/types/arm-sqlvirtualmachine.d.ts +245 -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,
|
|
@@ -494,7 +554,9 @@ export declare enum KnownIdentityType {
|
|
|
494
554
|
/** Known values of {@link LeastPrivilegeMode} that the service accepts. */
|
|
495
555
|
export declare enum KnownLeastPrivilegeMode {
|
|
496
556
|
/** Enabled */
|
|
497
|
-
Enabled = "Enabled"
|
|
557
|
+
Enabled = "Enabled",
|
|
558
|
+
/** NotSet */
|
|
559
|
+
NotSet = "NotSet"
|
|
498
560
|
}
|
|
499
561
|
|
|
500
562
|
/** Known values of {@link OperationOrigin} that the service accepts. */
|
|
@@ -591,12 +653,19 @@ export declare enum KnownStorageWorkloadType {
|
|
|
591
653
|
DW = "DW"
|
|
592
654
|
}
|
|
593
655
|
|
|
656
|
+
/** Known values of {@link TroubleshootingScenario} that the service accepts. */
|
|
657
|
+
export declare enum KnownTroubleshootingScenario {
|
|
658
|
+
/** UnhealthyReplica */
|
|
659
|
+
UnhealthyReplica = "UnhealthyReplica"
|
|
660
|
+
}
|
|
661
|
+
|
|
594
662
|
/**
|
|
595
663
|
* Defines values for LeastPrivilegeMode. \
|
|
596
664
|
* {@link KnownLeastPrivilegeMode} can be used interchangeably with LeastPrivilegeMode,
|
|
597
665
|
* this enum contains the known values that the service supports.
|
|
598
666
|
* ### Known values supported by the service
|
|
599
|
-
* **Enabled**
|
|
667
|
+
* **Enabled** \
|
|
668
|
+
* **NotSet**
|
|
600
669
|
*/
|
|
601
670
|
export declare type LeastPrivilegeMode = string;
|
|
602
671
|
|
|
@@ -822,6 +891,8 @@ export declare interface ServerConfigurationsManagementSettings {
|
|
|
822
891
|
additionalFeaturesServerConfigurations?: AdditionalFeaturesServerConfigurations;
|
|
823
892
|
/** SQL Instance settings. */
|
|
824
893
|
sqlInstanceSettings?: SQLInstanceSettings;
|
|
894
|
+
/** Azure AD authentication Settings. */
|
|
895
|
+
azureAdAuthenticationSettings?: AADAuthenticationSettings;
|
|
825
896
|
}
|
|
826
897
|
|
|
827
898
|
/** Set the access level and network port settings for SQL Server. */
|
|
@@ -971,7 +1042,12 @@ export declare interface SqlVirtualMachine extends TrackedResource {
|
|
|
971
1042
|
serverConfigurationsManagementSettings?: ServerConfigurationsManagementSettings;
|
|
972
1043
|
/** Storage Configuration Settings. */
|
|
973
1044
|
storageConfigurationSettings?: StorageConfigurationSettings;
|
|
974
|
-
/**
|
|
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. */
|
|
975
1051
|
assessmentSettings?: AssessmentSettings;
|
|
976
1052
|
/** Enable automatic upgrade of Sql IaaS extension Agent. */
|
|
977
1053
|
enableAutomaticUpgrade?: boolean;
|
|
@@ -1056,7 +1132,7 @@ export declare interface SqlVirtualMachineGroups {
|
|
|
1056
1132
|
* @param parameters The SQL virtual machine group.
|
|
1057
1133
|
* @param options The options parameters.
|
|
1058
1134
|
*/
|
|
1059
|
-
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>>;
|
|
1060
1136
|
/**
|
|
1061
1137
|
* Creates or updates a SQL virtual machine group.
|
|
1062
1138
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
@@ -1073,7 +1149,7 @@ export declare interface SqlVirtualMachineGroups {
|
|
|
1073
1149
|
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
1074
1150
|
* @param options The options parameters.
|
|
1075
1151
|
*/
|
|
1076
|
-
beginDelete(resourceGroupName: string, sqlVirtualMachineGroupName: string, options?: SqlVirtualMachineGroupsDeleteOptionalParams): Promise<
|
|
1152
|
+
beginDelete(resourceGroupName: string, sqlVirtualMachineGroupName: string, options?: SqlVirtualMachineGroupsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1077
1153
|
/**
|
|
1078
1154
|
* Deletes a SQL virtual machine group.
|
|
1079
1155
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
@@ -1090,7 +1166,7 @@ export declare interface SqlVirtualMachineGroups {
|
|
|
1090
1166
|
* @param parameters The SQL virtual machine group.
|
|
1091
1167
|
* @param options The options parameters.
|
|
1092
1168
|
*/
|
|
1093
|
-
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>>;
|
|
1094
1170
|
/**
|
|
1095
1171
|
* Updates SQL virtual machine group tags.
|
|
1096
1172
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
@@ -1113,6 +1189,11 @@ export declare interface SqlVirtualMachineGroupsCreateOrUpdateOptionalParams ext
|
|
|
1113
1189
|
/** Contains response data for the createOrUpdate operation. */
|
|
1114
1190
|
export declare type SqlVirtualMachineGroupsCreateOrUpdateResponse = SqlVirtualMachineGroup;
|
|
1115
1191
|
|
|
1192
|
+
/** Defines headers for SqlVirtualMachineGroups_delete operation. */
|
|
1193
|
+
export declare interface SqlVirtualMachineGroupsDeleteHeaders {
|
|
1194
|
+
location?: string;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1116
1197
|
/** Optional parameters. */
|
|
1117
1198
|
export declare interface SqlVirtualMachineGroupsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1118
1199
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -1206,6 +1287,7 @@ export declare class SqlVirtualMachineManagementClient extends coreClient.Servic
|
|
|
1206
1287
|
operations: Operations;
|
|
1207
1288
|
sqlVirtualMachineGroups: SqlVirtualMachineGroups;
|
|
1208
1289
|
sqlVirtualMachines: SqlVirtualMachines;
|
|
1290
|
+
sqlVirtualMachineTroubleshoot: SqlVirtualMachineTroubleshoot;
|
|
1209
1291
|
}
|
|
1210
1292
|
|
|
1211
1293
|
/** Optional parameters. */
|
|
@@ -1241,97 +1323,97 @@ export declare interface SqlVirtualMachines {
|
|
|
1241
1323
|
*/
|
|
1242
1324
|
listByResourceGroup(resourceGroupName: string, options?: SqlVirtualMachinesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachine>;
|
|
1243
1325
|
/**
|
|
1244
|
-
*
|
|
1326
|
+
* Gets a SQL virtual machine.
|
|
1245
1327
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1246
1328
|
* value from the Azure Resource Manager API or the portal.
|
|
1247
1329
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1248
1330
|
* @param options The options parameters.
|
|
1249
1331
|
*/
|
|
1250
|
-
|
|
1332
|
+
get(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesGetOptionalParams): Promise<SqlVirtualMachinesGetResponse>;
|
|
1251
1333
|
/**
|
|
1252
|
-
*
|
|
1334
|
+
* Creates or updates a SQL virtual machine.
|
|
1253
1335
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1254
1336
|
* value from the Azure Resource Manager API or the portal.
|
|
1255
1337
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1338
|
+
* @param parameters The SQL virtual machine.
|
|
1256
1339
|
* @param options The options parameters.
|
|
1257
1340
|
*/
|
|
1258
|
-
|
|
1341
|
+
beginCreateOrUpdate(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachine, options?: SqlVirtualMachinesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SqlVirtualMachinesCreateOrUpdateResponse>, SqlVirtualMachinesCreateOrUpdateResponse>>;
|
|
1259
1342
|
/**
|
|
1260
|
-
*
|
|
1343
|
+
* Creates or updates a SQL virtual machine.
|
|
1261
1344
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1262
1345
|
* value from the Azure Resource Manager API or the portal.
|
|
1263
1346
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1347
|
+
* @param parameters The SQL virtual machine.
|
|
1264
1348
|
* @param options The options parameters.
|
|
1265
1349
|
*/
|
|
1266
|
-
|
|
1350
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachine, options?: SqlVirtualMachinesCreateOrUpdateOptionalParams): Promise<SqlVirtualMachinesCreateOrUpdateResponse>;
|
|
1267
1351
|
/**
|
|
1268
|
-
*
|
|
1352
|
+
* Deletes a SQL virtual machine.
|
|
1269
1353
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1270
1354
|
* value from the Azure Resource Manager API or the portal.
|
|
1271
1355
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1272
1356
|
* @param options The options parameters.
|
|
1273
1357
|
*/
|
|
1274
|
-
|
|
1358
|
+
beginDelete(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1275
1359
|
/**
|
|
1276
|
-
*
|
|
1360
|
+
* Deletes a SQL virtual machine.
|
|
1277
1361
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1278
1362
|
* value from the Azure Resource Manager API or the portal.
|
|
1279
1363
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1280
1364
|
* @param options The options parameters.
|
|
1281
1365
|
*/
|
|
1282
|
-
|
|
1366
|
+
beginDeleteAndWait(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesDeleteOptionalParams): Promise<void>;
|
|
1283
1367
|
/**
|
|
1284
|
-
*
|
|
1368
|
+
* Updates a SQL virtual machine.
|
|
1285
1369
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1286
1370
|
* value from the Azure Resource Manager API or the portal.
|
|
1287
1371
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1288
1372
|
* @param parameters The SQL virtual machine.
|
|
1289
1373
|
* @param options The options parameters.
|
|
1290
1374
|
*/
|
|
1291
|
-
|
|
1375
|
+
beginUpdate(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachineUpdate, options?: SqlVirtualMachinesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SqlVirtualMachinesUpdateResponse>, SqlVirtualMachinesUpdateResponse>>;
|
|
1292
1376
|
/**
|
|
1293
|
-
*
|
|
1377
|
+
* Updates a SQL virtual machine.
|
|
1294
1378
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1295
1379
|
* value from the Azure Resource Manager API or the portal.
|
|
1296
1380
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1297
1381
|
* @param parameters The SQL virtual machine.
|
|
1298
1382
|
* @param options The options parameters.
|
|
1299
1383
|
*/
|
|
1300
|
-
|
|
1384
|
+
beginUpdateAndWait(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachineUpdate, options?: SqlVirtualMachinesUpdateOptionalParams): Promise<SqlVirtualMachinesUpdateResponse>;
|
|
1301
1385
|
/**
|
|
1302
|
-
*
|
|
1386
|
+
* Starts SQL best practices Assessment on SQL virtual machine.
|
|
1303
1387
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1304
1388
|
* value from the Azure Resource Manager API or the portal.
|
|
1305
1389
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1306
1390
|
* @param options The options parameters.
|
|
1307
1391
|
*/
|
|
1308
|
-
|
|
1392
|
+
beginStartAssessment(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesStartAssessmentOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1309
1393
|
/**
|
|
1310
|
-
*
|
|
1394
|
+
* Starts SQL best practices Assessment on SQL virtual machine.
|
|
1311
1395
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1312
1396
|
* value from the Azure Resource Manager API or the portal.
|
|
1313
1397
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1314
1398
|
* @param options The options parameters.
|
|
1315
1399
|
*/
|
|
1316
|
-
|
|
1400
|
+
beginStartAssessmentAndWait(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesStartAssessmentOptionalParams): Promise<void>;
|
|
1317
1401
|
/**
|
|
1318
|
-
*
|
|
1402
|
+
* Uninstalls and reinstalls the SQL IaaS Extension.
|
|
1319
1403
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1320
1404
|
* value from the Azure Resource Manager API or the portal.
|
|
1321
1405
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1322
|
-
* @param parameters The SQL virtual machine.
|
|
1323
1406
|
* @param options The options parameters.
|
|
1324
1407
|
*/
|
|
1325
|
-
|
|
1408
|
+
beginRedeploy(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesRedeployOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1326
1409
|
/**
|
|
1327
|
-
*
|
|
1410
|
+
* Uninstalls and reinstalls the SQL IaaS Extension.
|
|
1328
1411
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
1329
1412
|
* value from the Azure Resource Manager API or the portal.
|
|
1330
1413
|
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
1331
|
-
* @param parameters The SQL virtual machine.
|
|
1332
1414
|
* @param options The options parameters.
|
|
1333
1415
|
*/
|
|
1334
|
-
|
|
1416
|
+
beginRedeployAndWait(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesRedeployOptionalParams): Promise<void>;
|
|
1335
1417
|
}
|
|
1336
1418
|
|
|
1337
1419
|
/** Optional parameters. */
|
|
@@ -1345,6 +1427,11 @@ export declare interface SqlVirtualMachinesCreateOrUpdateOptionalParams extends
|
|
|
1345
1427
|
/** Contains response data for the createOrUpdate operation. */
|
|
1346
1428
|
export declare type SqlVirtualMachinesCreateOrUpdateResponse = SqlVirtualMachine;
|
|
1347
1429
|
|
|
1430
|
+
/** Defines headers for SqlVirtualMachines_delete operation. */
|
|
1431
|
+
export declare interface SqlVirtualMachinesDeleteHeaders {
|
|
1432
|
+
location?: string;
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1348
1435
|
/** Optional parameters. */
|
|
1349
1436
|
export declare interface SqlVirtualMachinesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1350
1437
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -1404,6 +1491,11 @@ export declare interface SqlVirtualMachinesListOptionalParams extends coreClient
|
|
|
1404
1491
|
/** Contains response data for the list operation. */
|
|
1405
1492
|
export declare type SqlVirtualMachinesListResponse = SqlVirtualMachineListResult;
|
|
1406
1493
|
|
|
1494
|
+
/** Defines headers for SqlVirtualMachines_redeploy operation. */
|
|
1495
|
+
export declare interface SqlVirtualMachinesRedeployHeaders {
|
|
1496
|
+
location?: string;
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1407
1499
|
/** Optional parameters. */
|
|
1408
1500
|
export declare interface SqlVirtualMachinesRedeployOptionalParams extends coreClient.OperationOptions {
|
|
1409
1501
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -1412,6 +1504,11 @@ export declare interface SqlVirtualMachinesRedeployOptionalParams extends coreCl
|
|
|
1412
1504
|
resumeFrom?: string;
|
|
1413
1505
|
}
|
|
1414
1506
|
|
|
1507
|
+
/** Defines headers for SqlVirtualMachines_startAssessment operation. */
|
|
1508
|
+
export declare interface SqlVirtualMachinesStartAssessmentHeaders {
|
|
1509
|
+
location?: string;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1415
1512
|
/** Optional parameters. */
|
|
1416
1513
|
export declare interface SqlVirtualMachinesStartAssessmentOptionalParams extends coreClient.OperationOptions {
|
|
1417
1514
|
/** Delay to wait until next poll, in milliseconds. */
|
|
@@ -1431,6 +1528,44 @@ export declare interface SqlVirtualMachinesUpdateOptionalParams extends coreClie
|
|
|
1431
1528
|
/** Contains response data for the update operation. */
|
|
1432
1529
|
export declare type SqlVirtualMachinesUpdateResponse = SqlVirtualMachine;
|
|
1433
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
|
+
|
|
1434
1569
|
/** An update to a SQL virtual machine. */
|
|
1435
1570
|
export declare interface SqlVirtualMachineUpdate {
|
|
1436
1571
|
/** Resource tags. */
|
|
@@ -1449,6 +1584,23 @@ export declare interface SqlVirtualMachineUpdate {
|
|
|
1449
1584
|
*/
|
|
1450
1585
|
export declare type SqlVmGroupImageSku = string;
|
|
1451
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
|
+
|
|
1452
1604
|
/**
|
|
1453
1605
|
* Defines values for SqlWorkloadType. \
|
|
1454
1606
|
* {@link KnownSqlWorkloadType} can be used interchangeably with SqlWorkloadType,
|
|
@@ -1519,6 +1671,61 @@ export declare interface TrackedResource extends Resource {
|
|
|
1519
1671
|
};
|
|
1520
1672
|
}
|
|
1521
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
|
+
|
|
1522
1729
|
/** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */
|
|
1523
1730
|
export declare interface WsfcDomainCredentials {
|
|
1524
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"}
|