@azure/arm-sqlvirtualmachine 4.1.1 → 5.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +69 -85
- package/dist/index.js +2827 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +783 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +103 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +31 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +320 -368
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +18 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +143 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/availabilityGroupListeners.d.ts +89 -0
- package/dist-esm/src/operations/availabilityGroupListeners.d.ts.map +1 -0
- package/dist-esm/src/operations/availabilityGroupListeners.js +338 -0
- package/dist-esm/src/operations/availabilityGroupListeners.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +116 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts +117 -0
- package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js +487 -0
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js.map +1 -0
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts +144 -0
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operations/sqlVirtualMachines.js +598 -0
- package/dist-esm/src/operations/sqlVirtualMachines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.js +9 -0
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +12 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts +79 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts +87 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.js +9 -0
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.js.map +1 -0
- package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts +21 -0
- package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts.map +1 -0
- package/dist-esm/src/sqlVirtualMachineManagementClient.js +54 -0
- package/dist-esm/src/sqlVirtualMachineManagementClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +65 -32
- package/review/arm-sqlvirtualmachine.api.md +678 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +629 -1065
- package/src/models/mappers.ts +328 -376
- package/src/models/parameters.ts +106 -41
- package/src/operations/availabilityGroupListeners.ts +366 -222
- package/src/operations/index.ts +3 -5
- package/src/operations/operations.ts +89 -79
- package/src/operations/sqlVirtualMachineGroups.ts +517 -344
- package/src/operations/sqlVirtualMachines.ts +641 -424
- package/src/operationsInterfaces/availabilityGroupListeners.ts +115 -0
- package/src/operationsInterfaces/index.ts +12 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/sqlVirtualMachineGroups.ts +147 -0
- package/src/operationsInterfaces/sqlVirtualMachines.ts +160 -0
- package/src/sqlVirtualMachineManagementClient.ts +78 -41
- package/tsconfig.json +3 -3
- package/types/arm-sqlvirtualmachine.d.ts +1141 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-sqlvirtualmachine.js +0 -2479
- package/dist/arm-sqlvirtualmachine.js.map +0 -1
- package/dist/arm-sqlvirtualmachine.min.js +0 -1
- package/dist/arm-sqlvirtualmachine.min.js.map +0 -1
- package/esm/models/availabilityGroupListenersMappers.d.ts +0 -2
- package/esm/models/availabilityGroupListenersMappers.d.ts.map +0 -1
- package/esm/models/availabilityGroupListenersMappers.js +0 -9
- package/esm/models/availabilityGroupListenersMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1241
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -33
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -11
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -103
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/sqlVirtualMachineGroupsMappers.d.ts +0 -2
- package/esm/models/sqlVirtualMachineGroupsMappers.d.ts.map +0 -1
- package/esm/models/sqlVirtualMachineGroupsMappers.js +0 -9
- package/esm/models/sqlVirtualMachineGroupsMappers.js.map +0 -1
- package/esm/models/sqlVirtualMachinesMappers.d.ts +0 -2
- package/esm/models/sqlVirtualMachinesMappers.d.ts.map +0 -1
- package/esm/models/sqlVirtualMachinesMappers.js +0 -9
- package/esm/models/sqlVirtualMachinesMappers.js.map +0 -1
- package/esm/operations/availabilityGroupListeners.d.ts +0 -125
- package/esm/operations/availabilityGroupListeners.d.ts.map +0 -1
- package/esm/operations/availabilityGroupListeners.js +0 -238
- package/esm/operations/availabilityGroupListeners.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/sqlVirtualMachineGroups.d.ts +0 -168
- package/esm/operations/sqlVirtualMachineGroups.d.ts.map +0 -1
- package/esm/operations/sqlVirtualMachineGroups.js +0 -337
- package/esm/operations/sqlVirtualMachineGroups.js.map +0 -1
- package/esm/operations/sqlVirtualMachines.d.ts +0 -210
- package/esm/operations/sqlVirtualMachines.d.ts.map +0 -1
- package/esm/operations/sqlVirtualMachines.js +0 -395
- package/esm/operations/sqlVirtualMachines.js.map +0 -1
- package/esm/sqlVirtualMachineManagementClient.d.ts +0 -27
- package/esm/sqlVirtualMachineManagementClient.d.ts.map +0 -1
- package/esm/sqlVirtualMachineManagementClient.js +0 -41
- package/esm/sqlVirtualMachineManagementClient.js.map +0 -1
- package/esm/sqlVirtualMachineManagementClientContext.d.ts +0 -22
- package/esm/sqlVirtualMachineManagementClientContext.d.ts.map +0 -1
- package/esm/sqlVirtualMachineManagementClientContext.js +0 -61
- package/esm/sqlVirtualMachineManagementClientContext.js.map +0 -1
- package/src/models/availabilityGroupListenersMappers.ts +0 -34
- package/src/models/operationsMappers.ts +0 -14
- package/src/models/sqlVirtualMachineGroupsMappers.ts +0 -35
- package/src/models/sqlVirtualMachinesMappers.ts +0 -35
- package/src/sqlVirtualMachineManagementClientContext.ts +0 -68
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
3
|
+
import { AvailabilityGroupListener, AvailabilityGroupListenersListByGroupOptionalParams, AvailabilityGroupListenersGetOptionalParams, AvailabilityGroupListenersGetResponse, AvailabilityGroupListenersCreateOrUpdateOptionalParams, AvailabilityGroupListenersCreateOrUpdateResponse, AvailabilityGroupListenersDeleteOptionalParams } from "../models";
|
|
4
|
+
/** Interface representing a AvailabilityGroupListeners. */
|
|
5
|
+
export interface AvailabilityGroupListeners {
|
|
6
|
+
/**
|
|
7
|
+
* Lists all availability group listeners in a SQL virtual machine group.
|
|
8
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
9
|
+
* value from the Azure Resource Manager API or the portal.
|
|
10
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
11
|
+
* @param options The options parameters.
|
|
12
|
+
*/
|
|
13
|
+
listByGroup(resourceGroupName: string, sqlVirtualMachineGroupName: string, options?: AvailabilityGroupListenersListByGroupOptionalParams): PagedAsyncIterableIterator<AvailabilityGroupListener>;
|
|
14
|
+
/**
|
|
15
|
+
* Gets an availability group listener.
|
|
16
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
17
|
+
* value from the Azure Resource Manager API or the portal.
|
|
18
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
19
|
+
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
20
|
+
* @param options The options parameters.
|
|
21
|
+
*/
|
|
22
|
+
get(resourceGroupName: string, sqlVirtualMachineGroupName: string, availabilityGroupListenerName: string, options?: AvailabilityGroupListenersGetOptionalParams): Promise<AvailabilityGroupListenersGetResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Creates or updates an availability group listener.
|
|
25
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
26
|
+
* value from the Azure Resource Manager API or the portal.
|
|
27
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
28
|
+
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
29
|
+
* @param parameters The availability group listener.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
beginCreateOrUpdate(resourceGroupName: string, sqlVirtualMachineGroupName: string, availabilityGroupListenerName: string, parameters: AvailabilityGroupListener, options?: AvailabilityGroupListenersCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<AvailabilityGroupListenersCreateOrUpdateResponse>, AvailabilityGroupListenersCreateOrUpdateResponse>>;
|
|
33
|
+
/**
|
|
34
|
+
* Creates or updates an availability group listener.
|
|
35
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
36
|
+
* value from the Azure Resource Manager API or the portal.
|
|
37
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
38
|
+
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
39
|
+
* @param parameters The availability group listener.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, sqlVirtualMachineGroupName: string, availabilityGroupListenerName: string, parameters: AvailabilityGroupListener, options?: AvailabilityGroupListenersCreateOrUpdateOptionalParams): Promise<AvailabilityGroupListenersCreateOrUpdateResponse>;
|
|
43
|
+
/**
|
|
44
|
+
* Deletes an availability group listener.
|
|
45
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
46
|
+
* value from the Azure Resource Manager API or the portal.
|
|
47
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
48
|
+
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
beginDelete(resourceGroupName: string, sqlVirtualMachineGroupName: string, availabilityGroupListenerName: string, options?: AvailabilityGroupListenersDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
52
|
+
/**
|
|
53
|
+
* Deletes an availability group listener.
|
|
54
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
55
|
+
* value from the Azure Resource Manager API or the portal.
|
|
56
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
57
|
+
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
beginDeleteAndWait(resourceGroupName: string, sqlVirtualMachineGroupName: string, availabilityGroupListenerName: string, options?: AvailabilityGroupListenersDeleteOptionalParams): Promise<void>;
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=availabilityGroupListeners.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"availabilityGroupListeners.d.ts","sourceRoot":"","sources":["../../../src/operationsIn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6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,0BAA0B,EAAE,MAAM,EAClC,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=availabilityGroupListeners.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"availabilityGroupListeners.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/availabilityGroupListeners.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
export * from "./availabilityGroupListeners";
|
|
9
|
+
export * from "./operations";
|
|
10
|
+
export * from "./sqlVirtualMachineGroups";
|
|
11
|
+
export * from "./sqlVirtualMachines";
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,8BAA8B,CAAC;AAC7C,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Operation, OperationsListOptionalParams } from "../models";
|
|
3
|
+
/** Interface representing a Operations. */
|
|
4
|
+
export interface Operations {
|
|
5
|
+
/**
|
|
6
|
+
* Lists all of the available SQL Rest API operations.
|
|
7
|
+
* @param options The options parameters.
|
|
8
|
+
*/
|
|
9
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,WAAW,CAAC;AAGpE,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
3
|
+
import { SqlVirtualMachineGroup, SqlVirtualMachineGroupsListByResourceGroupOptionalParams, SqlVirtualMachineGroupsListOptionalParams, SqlVirtualMachineGroupsGetOptionalParams, SqlVirtualMachineGroupsGetResponse, SqlVirtualMachineGroupsCreateOrUpdateOptionalParams, SqlVirtualMachineGroupsCreateOrUpdateResponse, SqlVirtualMachineGroupsDeleteOptionalParams, SqlVirtualMachineGroupUpdate, SqlVirtualMachineGroupsUpdateOptionalParams, SqlVirtualMachineGroupsUpdateResponse } from "../models";
|
|
4
|
+
/** Interface representing a SqlVirtualMachineGroups. */
|
|
5
|
+
export interface SqlVirtualMachineGroups {
|
|
6
|
+
/**
|
|
7
|
+
* Gets all SQL virtual machine groups in a resource group.
|
|
8
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
9
|
+
* value from the Azure Resource Manager API or the portal.
|
|
10
|
+
* @param options The options parameters.
|
|
11
|
+
*/
|
|
12
|
+
listByResourceGroup(resourceGroupName: string, options?: SqlVirtualMachineGroupsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachineGroup>;
|
|
13
|
+
/**
|
|
14
|
+
* Gets all SQL virtual machine groups in a subscription.
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
list(options?: SqlVirtualMachineGroupsListOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachineGroup>;
|
|
18
|
+
/**
|
|
19
|
+
* Gets a SQL virtual machine group.
|
|
20
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
21
|
+
* value from the Azure Resource Manager API or the portal.
|
|
22
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
get(resourceGroupName: string, sqlVirtualMachineGroupName: string, options?: SqlVirtualMachineGroupsGetOptionalParams): Promise<SqlVirtualMachineGroupsGetResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Creates or updates a SQL virtual machine group.
|
|
28
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
29
|
+
* value from the Azure Resource Manager API or the portal.
|
|
30
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
31
|
+
* @param parameters The SQL virtual machine group.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
beginCreateOrUpdate(resourceGroupName: string, sqlVirtualMachineGroupName: string, parameters: SqlVirtualMachineGroup, options?: SqlVirtualMachineGroupsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<SqlVirtualMachineGroupsCreateOrUpdateResponse>, SqlVirtualMachineGroupsCreateOrUpdateResponse>>;
|
|
35
|
+
/**
|
|
36
|
+
* Creates or updates a SQL virtual machine group.
|
|
37
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
38
|
+
* value from the Azure Resource Manager API or the portal.
|
|
39
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
40
|
+
* @param parameters The SQL virtual machine group.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, sqlVirtualMachineGroupName: string, parameters: SqlVirtualMachineGroup, options?: SqlVirtualMachineGroupsCreateOrUpdateOptionalParams): Promise<SqlVirtualMachineGroupsCreateOrUpdateResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* Deletes a SQL virtual machine group.
|
|
46
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
47
|
+
* value from the Azure Resource Manager API or the portal.
|
|
48
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
beginDelete(resourceGroupName: string, sqlVirtualMachineGroupName: string, options?: SqlVirtualMachineGroupsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
52
|
+
/**
|
|
53
|
+
* Deletes a SQL virtual machine group.
|
|
54
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
55
|
+
* value from the Azure Resource Manager API or the portal.
|
|
56
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
beginDeleteAndWait(resourceGroupName: string, sqlVirtualMachineGroupName: string, options?: SqlVirtualMachineGroupsDeleteOptionalParams): Promise<void>;
|
|
60
|
+
/**
|
|
61
|
+
* Updates SQL virtual machine group tags.
|
|
62
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
63
|
+
* value from the Azure Resource Manager API or the portal.
|
|
64
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
65
|
+
* @param parameters The SQL virtual machine group.
|
|
66
|
+
* @param options The options parameters.
|
|
67
|
+
*/
|
|
68
|
+
beginUpdate(resourceGroupName: string, sqlVirtualMachineGroupName: string, parameters: SqlVirtualMachineGroupUpdate, options?: SqlVirtualMachineGroupsUpdateOptionalParams): Promise<PollerLike<PollOperationState<SqlVirtualMachineGroupsUpdateResponse>, SqlVirtualMachineGroupsUpdateResponse>>;
|
|
69
|
+
/**
|
|
70
|
+
* Updates SQL virtual machine group tags.
|
|
71
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
72
|
+
* value from the Azure Resource Manager API or the portal.
|
|
73
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
74
|
+
* @param parameters The SQL virtual machine group.
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
beginUpdateAndWait(resourceGroupName: string, sqlVirtualMachineGroupName: string, parameters: SqlVirtualMachineGroupUpdate, options?: SqlVirtualMachineGroupsUpdateOptionalParams): Promise<SqlVirtualMachineGroupsUpdateResponse>;
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=sqlVirtualMachineGroups.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlVirtualMachineGroups.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/sqlVirtualMachineGroups.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,sBAAsB,EACtB,wDAAwD,EACxD,yCAAyC,EACzC,wCAAwC,EACxC,kCAAkC,EAClC,mDAAmD,EACnD,6CAA6C,EAC7C,2CAA2C,EAC3C,4BAA4B,EAC5B,2CAA2C,EAC3C,qCAAqC,EACtC,MAAM,WAAW,CAAC;AAGnB,wDAAwD;AACxD,MAAM,WAAW,uBAAuB;IACtC;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,wDAAwD,GACjE,0BAA0B,CAAC,sBAAsB,CAAC,CAAC;IACtD;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,sBAAsB,CAAC,CAAC;IACtD;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,0BAA0B,EAAE,MAAM,EAClC,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO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 +1,9 @@
|
|
|
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
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=sqlVirtualMachineGroups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlVirtualMachineGroups.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/sqlVirtualMachineGroups.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
3
|
+
import { SqlVirtualMachine, SqlVirtualMachinesListBySqlVmGroupOptionalParams, SqlVirtualMachinesListOptionalParams, SqlVirtualMachinesListByResourceGroupOptionalParams, SqlVirtualMachinesGetOptionalParams, SqlVirtualMachinesGetResponse, SqlVirtualMachinesCreateOrUpdateOptionalParams, SqlVirtualMachinesCreateOrUpdateResponse, SqlVirtualMachinesDeleteOptionalParams, SqlVirtualMachineUpdate, SqlVirtualMachinesUpdateOptionalParams, SqlVirtualMachinesUpdateResponse } from "../models";
|
|
4
|
+
/** Interface representing a SqlVirtualMachines. */
|
|
5
|
+
export interface SqlVirtualMachines {
|
|
6
|
+
/**
|
|
7
|
+
* Gets the list of sql virtual machines in a SQL virtual machine group.
|
|
8
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
9
|
+
* value from the Azure Resource Manager API or the portal.
|
|
10
|
+
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
11
|
+
* @param options The options parameters.
|
|
12
|
+
*/
|
|
13
|
+
listBySqlVmGroup(resourceGroupName: string, sqlVirtualMachineGroupName: string, options?: SqlVirtualMachinesListBySqlVmGroupOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachine>;
|
|
14
|
+
/**
|
|
15
|
+
* Gets all SQL virtual machines in a subscription.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
list(options?: SqlVirtualMachinesListOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachine>;
|
|
19
|
+
/**
|
|
20
|
+
* Gets all SQL virtual machines in a resource group.
|
|
21
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
22
|
+
* value from the Azure Resource Manager API or the portal.
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
listByResourceGroup(resourceGroupName: string, options?: SqlVirtualMachinesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SqlVirtualMachine>;
|
|
26
|
+
/**
|
|
27
|
+
* Gets a SQL virtual machine.
|
|
28
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
29
|
+
* value from the Azure Resource Manager API or the portal.
|
|
30
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
get(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesGetOptionalParams): Promise<SqlVirtualMachinesGetResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Creates or updates a SQL virtual machine.
|
|
36
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
37
|
+
* value from the Azure Resource Manager API or the portal.
|
|
38
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
39
|
+
* @param parameters The SQL virtual machine.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
beginCreateOrUpdate(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachine, options?: SqlVirtualMachinesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<SqlVirtualMachinesCreateOrUpdateResponse>, SqlVirtualMachinesCreateOrUpdateResponse>>;
|
|
43
|
+
/**
|
|
44
|
+
* Creates or updates a SQL virtual machine.
|
|
45
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
46
|
+
* value from the Azure Resource Manager API or the portal.
|
|
47
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
48
|
+
* @param parameters The SQL virtual machine.
|
|
49
|
+
* @param options The options parameters.
|
|
50
|
+
*/
|
|
51
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachine, options?: SqlVirtualMachinesCreateOrUpdateOptionalParams): Promise<SqlVirtualMachinesCreateOrUpdateResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Deletes a SQL virtual machine.
|
|
54
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
55
|
+
* value from the Azure Resource Manager API or the portal.
|
|
56
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
beginDelete(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
60
|
+
/**
|
|
61
|
+
* Deletes a SQL virtual machine.
|
|
62
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
63
|
+
* value from the Azure Resource Manager API or the portal.
|
|
64
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
65
|
+
* @param options The options parameters.
|
|
66
|
+
*/
|
|
67
|
+
beginDeleteAndWait(resourceGroupName: string, sqlVirtualMachineName: string, options?: SqlVirtualMachinesDeleteOptionalParams): Promise<void>;
|
|
68
|
+
/**
|
|
69
|
+
* Updates a SQL virtual machine.
|
|
70
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
71
|
+
* value from the Azure Resource Manager API or the portal.
|
|
72
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
73
|
+
* @param parameters The SQL virtual machine.
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
beginUpdate(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachineUpdate, options?: SqlVirtualMachinesUpdateOptionalParams): Promise<PollerLike<PollOperationState<SqlVirtualMachinesUpdateResponse>, SqlVirtualMachinesUpdateResponse>>;
|
|
77
|
+
/**
|
|
78
|
+
* Updates a SQL virtual machine.
|
|
79
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
80
|
+
* value from the Azure Resource Manager API or the portal.
|
|
81
|
+
* @param sqlVirtualMachineName Name of the SQL virtual machine.
|
|
82
|
+
* @param parameters The SQL virtual machine.
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
beginUpdateAndWait(resourceGroupName: string, sqlVirtualMachineName: string, parameters: SqlVirtualMachineUpdate, options?: SqlVirtualMachinesUpdateOptionalParams): Promise<SqlVirtualMachinesUpdateResponse>;
|
|
86
|
+
}
|
|
87
|
+
//# sourceMappingURL=sqlVirtualMachines.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlVirtualMachines.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/sqlVirtualMachines.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,iBAAiB,EACjB,gDAAgD,EAChD,oCAAoC,EACpC,mDAAmD,EACnD,mCAAmC,EACnC,6BAA6B,EAC7B,8CAA8C,EAC9C,wCAAwC,EACxC,sCAAsC,EACtC,uBAAuB,EACvB,sCAAsC,EACtC,gCAAgC,EACjC,MAAM,WAAW,CAAC;AAGnB,mDAAmD;AACnD,MAAM,WAAW,kBAAkB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AqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,qBAAqB,EAAE,MAAM,EAC7B,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,gCAAgC,CAAC,EACpD,gCAAgC,CACjC,CACF,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,qBAAqB,EAAE,MAAM,EAC7B,UAAU,EAAE,uBAAuB,EACnC,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;CAC9C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=sqlVirtualMachines.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlVirtualMachines.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/sqlVirtualMachines.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
|
3
|
+
import { AvailabilityGroupListeners, Operations, SqlVirtualMachineGroups, SqlVirtualMachines } from "./operationsInterfaces";
|
|
4
|
+
import { SqlVirtualMachineManagementClientOptionalParams } from "./models";
|
|
5
|
+
export declare class SqlVirtualMachineManagementClient extends coreClient.ServiceClient {
|
|
6
|
+
$host: string;
|
|
7
|
+
subscriptionId: string;
|
|
8
|
+
apiVersion: string;
|
|
9
|
+
/**
|
|
10
|
+
* Initializes a new instance of the SqlVirtualMachineManagementClient class.
|
|
11
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
12
|
+
* @param subscriptionId Subscription ID that identifies an Azure subscription.
|
|
13
|
+
* @param options The parameter options
|
|
14
|
+
*/
|
|
15
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: SqlVirtualMachineManagementClientOptionalParams);
|
|
16
|
+
availabilityGroupListeners: AvailabilityGroupListeners;
|
|
17
|
+
operations: Operations;
|
|
18
|
+
sqlVirtualMachineGroups: SqlVirtualMachineGroups;
|
|
19
|
+
sqlVirtualMachines: SqlVirtualMachines;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=sqlVirtualMachineManagementClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlVirtualMachineManagementClient.d.ts","sourceRoot":"","sources":["../../src/sqlVirtualMachineManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAO7C,OAAO,EACL,0BAA0B,EAC1B,UAAU,EACV,uBAAuB,EACvB,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,+CAA+C,EAAE,MAAM,UAAU,CAAC;AAE3E,qBAAa,iCAAkC,SAAQ,UAAU,CAAC,aAAa;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+CAA+C;IAgD3D,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,UAAU,EAAE,UAAU,CAAC;IACvB,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,kBAAkB,EAAE,kBAAkB,CAAC;CACxC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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 * as coreClient from "@azure/core-client";
|
|
9
|
+
import { AvailabilityGroupListenersImpl, OperationsImpl, SqlVirtualMachineGroupsImpl, SqlVirtualMachinesImpl } from "./operations";
|
|
10
|
+
export class SqlVirtualMachineManagementClient extends coreClient.ServiceClient {
|
|
11
|
+
/**
|
|
12
|
+
* Initializes a new instance of the SqlVirtualMachineManagementClient class.
|
|
13
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
14
|
+
* @param subscriptionId Subscription ID that identifies an Azure subscription.
|
|
15
|
+
* @param options The parameter options
|
|
16
|
+
*/
|
|
17
|
+
constructor(credentials, subscriptionId, options) {
|
|
18
|
+
if (credentials === undefined) {
|
|
19
|
+
throw new Error("'credentials' cannot be null");
|
|
20
|
+
}
|
|
21
|
+
if (subscriptionId === undefined) {
|
|
22
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
23
|
+
}
|
|
24
|
+
// Initializing default values for options
|
|
25
|
+
if (!options) {
|
|
26
|
+
options = {};
|
|
27
|
+
}
|
|
28
|
+
const defaults = {
|
|
29
|
+
requestContentType: "application/json; charset=utf-8",
|
|
30
|
+
credential: credentials
|
|
31
|
+
};
|
|
32
|
+
const packageDetails = `azsdk-js-arm-sqlvirtualmachine/1.0.0-beta.1`;
|
|
33
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
34
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
35
|
+
: `${packageDetails}`;
|
|
36
|
+
if (!options.credentialScopes) {
|
|
37
|
+
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
38
|
+
}
|
|
39
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
40
|
+
userAgentPrefix
|
|
41
|
+
}, baseUri: options.endpoint || "https://management.azure.com" });
|
|
42
|
+
super(optionsWithDefaults);
|
|
43
|
+
// Parameter assignments
|
|
44
|
+
this.subscriptionId = subscriptionId;
|
|
45
|
+
// Assigning values to Constant parameters
|
|
46
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
47
|
+
this.apiVersion = options.apiVersion || "2017-03-01-preview";
|
|
48
|
+
this.availabilityGroupListeners = new AvailabilityGroupListenersImpl(this);
|
|
49
|
+
this.operations = new OperationsImpl(this);
|
|
50
|
+
this.sqlVirtualMachineGroups = new SqlVirtualMachineGroupsImpl(this);
|
|
51
|
+
this.sqlVirtualMachines = new SqlVirtualMachinesImpl(this);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=sqlVirtualMachineManagementClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlVirtualMachineManagementClient.js","sourceRoot":"","sources":["../../src/sqlVirtualMachineManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EACL,8BAA8B,EAC9B,cAAc,EACd,2BAA2B,EAC3B,sBAAsB,EACvB,MAAM,cAAc,CAAC;AAStB,MAAM,OAAO,iCAAkC,SAAQ,UAAU,CAAC,aAAa;IAK7E;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAyD;QAEzD,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;SACjD;QACD,IAAI,cAAc,KAAK,SAAS,EAAE;YAChC,MAAM,IAAI,KAAK,C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C7D,CAAC;CAMF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sampleTest.d.ts","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { record } from "@azure-tools/test-recorder";
|
|
10
|
+
const recorderEnvSetup = {
|
|
11
|
+
replaceableVariables: {
|
|
12
|
+
AZURE_CLIENT_ID: "azure_client_id",
|
|
13
|
+
AZURE_CLIENT_SECRET: "azure_client_secret",
|
|
14
|
+
AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
|
|
15
|
+
SUBSCRIPTION_ID: "azure_subscription_id"
|
|
16
|
+
},
|
|
17
|
+
customizationsOnRecordings: [
|
|
18
|
+
(recording) => recording.replace(/"access_token":"[^"]*"/g, `"access_token":"access_token"`)
|
|
19
|
+
],
|
|
20
|
+
queryParametersToSkip: []
|
|
21
|
+
};
|
|
22
|
+
describe("My test", () => {
|
|
23
|
+
let recorder;
|
|
24
|
+
beforeEach(function () {
|
|
25
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26
|
+
recorder = record(this, recorderEnvSetup);
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
afterEach(function () {
|
|
30
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
31
|
+
yield recorder.stop();
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
it("sample test", function () {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
console.log("Hi, I'm a test!");
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=sampleTest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EAEL,MAAM,EAGP,MAAM,4BAA4B,CAAC;AAGpC,MAAM,gBAAgB,GAA6B;IACjD,oBAAoB,EAAE;QACpB,eAAe,EAAE,iBAAiB;QAClC,mBAAmB,EAAE,qBAAqB;QAC1C,eAAe,EAAE,sCAAsC;QACvD,eAAe,EAAE,uBAAuB;KACzC;IACD,0BAA0B,EAAE;QAC1B,CAAC,SAAc,EAAO,EAAE,CACtB,SAAS,CAAC,OAAO,CACf,yBAAyB,EACzB,+BAA+B,CAChC;KACJ;IACD,qBAAqB,EAAE,EAAE;CAC1B,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,MAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QAC5C,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"}
|
package/package.json
CHANGED
|
@@ -1,58 +1,91 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/arm-sqlvirtualmachine",
|
|
3
|
+
"sdk-type": "mgmt",
|
|
3
4
|
"author": "Microsoft Corporation",
|
|
4
|
-
"description": "
|
|
5
|
-
"version": "
|
|
5
|
+
"description": "A generated SDK for SqlVirtualMachineManagementClient.",
|
|
6
|
+
"version": "5.0.0-beta.1",
|
|
7
|
+
"engines": { "node": ">=12.0.0" },
|
|
6
8
|
"dependencies": {
|
|
7
|
-
"@azure/
|
|
8
|
-
"@azure/
|
|
9
|
-
"@azure/core-
|
|
10
|
-
"
|
|
9
|
+
"@azure/core-lro": "^2.2.0",
|
|
10
|
+
"@azure/abort-controller": "^1.0.0",
|
|
11
|
+
"@azure/core-paging": "^1.2.0",
|
|
12
|
+
"@azure/core-client": "^1.0.0",
|
|
13
|
+
"@azure/core-auth": "^1.3.0",
|
|
14
|
+
"@azure/core-rest-pipeline": "^1.1.0",
|
|
15
|
+
"tslib": "^2.2.0"
|
|
11
16
|
},
|
|
12
|
-
"keywords": [
|
|
13
|
-
"node",
|
|
14
|
-
"azure",
|
|
15
|
-
"typescript",
|
|
16
|
-
"browser",
|
|
17
|
-
"isomorphic"
|
|
18
|
-
],
|
|
17
|
+
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
|
|
19
18
|
"license": "MIT",
|
|
20
|
-
"main": "./dist/
|
|
21
|
-
"module": "./esm/
|
|
22
|
-
"types": "./
|
|
19
|
+
"main": "./dist/index.js",
|
|
20
|
+
"module": "./dist-esm/src/index.js",
|
|
21
|
+
"types": "./types/arm-sqlvirtualmachine.d.ts",
|
|
23
22
|
"devDependencies": {
|
|
24
|
-
"
|
|
25
|
-
"rollup": "
|
|
26
|
-
"rollup
|
|
23
|
+
"@microsoft/api-extractor": "^7.18.11",
|
|
24
|
+
"@rollup/plugin-commonjs": "11.0.2",
|
|
25
|
+
"@rollup/plugin-json": "^4.0.0",
|
|
26
|
+
"@rollup/plugin-multi-entry": "^3.0.0",
|
|
27
|
+
"@rollup/plugin-node-resolve": "^8.0.0",
|
|
28
|
+
"mkdirp": "^1.0.4",
|
|
29
|
+
"rollup": "^1.16.3",
|
|
27
30
|
"rollup-plugin-sourcemaps": "^0.4.2",
|
|
28
|
-
"
|
|
31
|
+
"typescript": "~4.2.0",
|
|
32
|
+
"uglify-js": "^3.4.9",
|
|
33
|
+
"rimraf": "^3.0.0",
|
|
34
|
+
"@azure/identity": "^2.0.1",
|
|
35
|
+
"@azure-tools/test-recorder": "^1.0.0",
|
|
36
|
+
"mocha": "^7.1.1",
|
|
37
|
+
"cross-env": "^7.0.2"
|
|
29
38
|
},
|
|
30
|
-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/
|
|
39
|
+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/sqlvirtualmachine/arm-sqlvirtualmachine",
|
|
31
40
|
"repository": {
|
|
32
41
|
"type": "git",
|
|
33
42
|
"url": "https://github.com/Azure/azure-sdk-for-js.git"
|
|
34
43
|
},
|
|
35
|
-
"bugs": {
|
|
36
|
-
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
|
|
37
|
-
},
|
|
44
|
+
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
|
|
38
45
|
"files": [
|
|
39
46
|
"dist/**/*.js",
|
|
40
47
|
"dist/**/*.js.map",
|
|
41
48
|
"dist/**/*.d.ts",
|
|
42
49
|
"dist/**/*.d.ts.map",
|
|
43
|
-
"esm/**/*.js",
|
|
44
|
-
"esm/**/*.js.map",
|
|
45
|
-
"esm/**/*.d.ts",
|
|
46
|
-
"esm/**/*.d.ts.map",
|
|
50
|
+
"dist-esm/**/*.js",
|
|
51
|
+
"dist-esm/**/*.js.map",
|
|
52
|
+
"dist-esm/**/*.d.ts",
|
|
53
|
+
"dist-esm/**/*.d.ts.map",
|
|
47
54
|
"src/**/*.ts",
|
|
48
55
|
"README.md",
|
|
56
|
+
"LICENSE",
|
|
49
57
|
"rollup.config.js",
|
|
50
|
-
"tsconfig.json"
|
|
58
|
+
"tsconfig.json",
|
|
59
|
+
"review/*",
|
|
60
|
+
"CHANGELOG.md",
|
|
61
|
+
"types/*"
|
|
51
62
|
],
|
|
52
63
|
"scripts": {
|
|
53
|
-
"build": "tsc && rollup -c
|
|
54
|
-
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/
|
|
55
|
-
"prepack": "npm
|
|
64
|
+
"build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
|
|
65
|
+
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
|
|
66
|
+
"prepack": "npm run build",
|
|
67
|
+
"pack": "npm pack 2>&1",
|
|
68
|
+
"extract-api": "api-extractor run --local",
|
|
69
|
+
"lint": "echo skipped",
|
|
70
|
+
"audit": "echo skipped",
|
|
71
|
+
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
72
|
+
"build:node": "echo skipped",
|
|
73
|
+
"build:browser": "echo skipped",
|
|
74
|
+
"build:test": "echo skipped",
|
|
75
|
+
"build:samples": "echo skipped.",
|
|
76
|
+
"check-format": "echo skipped",
|
|
77
|
+
"execute:samples": "echo skipped",
|
|
78
|
+
"format": "echo skipped",
|
|
79
|
+
"test": "npm run integration-test",
|
|
80
|
+
"test:node": "echo skipped",
|
|
81
|
+
"test:browser": "echo skipped",
|
|
82
|
+
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
83
|
+
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
|
|
84
|
+
"unit-test:browser": "echo skipped",
|
|
85
|
+
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
86
|
+
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
|
|
87
|
+
"integration-test:browser": "echo skipped",
|
|
88
|
+
"docs": "echo skipped"
|
|
56
89
|
},
|
|
57
90
|
"sideEffects": false,
|
|
58
91
|
"autoPublish": true
|