@azure/arm-azurestackhci 1.1.1 → 2.0.0-alpha.20220111.3
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 +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -80
- package/dist/index.js +2369 -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/azureStackHCIClient.d.ts +21 -0
- package/dist-esm/src/azureStackHCIClient.d.ts.map +1 -0
- package/dist-esm/src/azureStackHCIClient.js +54 -0
- package/dist-esm/src/azureStackHCIClient.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 +864 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +135 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +23 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +881 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +16 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +137 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/arcSettings.d.ts +72 -0
- package/dist-esm/src/operations/arcSettings.d.ts.map +1 -0
- package/dist-esm/src/operations/arcSettings.js +281 -0
- package/dist-esm/src/operations/arcSettings.js.map +1 -0
- package/dist-esm/src/operations/clusters.d.ts +83 -0
- package/dist-esm/src/operations/clusters.d.ts.map +1 -0
- package/dist-esm/src/operations/clusters.js +356 -0
- package/dist-esm/src/operations/clusters.js.map +1 -0
- package/dist-esm/src/operations/extensions.d.ts +109 -0
- package/dist-esm/src/operations/extensions.d.ts.map +1 -0
- package/dist-esm/src/operations/extensions.js +462 -0
- package/dist-esm/src/operations/extensions.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +5 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +12 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +18 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +46 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/arcSettings.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/arcSettings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/arcSettings.js +9 -0
- package/dist-esm/src/operationsInterfaces/arcSettings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/clusters.js +9 -0
- package/dist-esm/src/operationsInterfaces/clusters.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/extensions.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/extensions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/extensions.js +9 -0
- package/dist-esm/src/operationsInterfaces/extensions.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 +10 -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/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 -22
- package/review/arm-azurestackhci.api.md +650 -0
- package/rollup.config.js +181 -30
- package/src/azureStackHCIClient.ts +78 -37
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +775 -366
- package/src/models/mappers.ts +635 -239
- package/src/models/parameters.ts +112 -35
- package/src/operations/arcSettings.ts +394 -0
- package/src/operations/clusters.ts +279 -309
- package/src/operations/extensions.ts +672 -0
- package/src/operations/index.ts +6 -6
- package/src/operations/operations.ts +30 -45
- package/src/operationsInterfaces/arcSettings.ts +89 -0
- package/src/operationsInterfaces/clusters.ts +91 -0
- package/src/operationsInterfaces/extensions.ts +162 -0
- package/src/operationsInterfaces/index.ts +12 -0
- package/src/operationsInterfaces/operations.ts +21 -0
- package/tsconfig.json +3 -3
- package/types/arm-azurestackhci.d.ts +1146 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-azurestackhci.js +0 -1151
- package/dist/arm-azurestackhci.js.map +0 -1
- package/dist/arm-azurestackhci.min.js +0 -1
- package/dist/arm-azurestackhci.min.js.map +0 -1
- package/esm/azureStackHCIClient.d.ts +0 -25
- package/esm/azureStackHCIClient.d.ts.map +0 -1
- package/esm/azureStackHCIClient.js +0 -39
- package/esm/azureStackHCIClient.js.map +0 -1
- package/esm/azureStackHCIClientContext.d.ts +0 -22
- package/esm/azureStackHCIClientContext.d.ts.map +0 -1
- package/esm/azureStackHCIClientContext.js +0 -61
- package/esm/azureStackHCIClientContext.js.map +0 -1
- package/esm/models/clustersMappers.d.ts +0 -2
- package/esm/models/clustersMappers.d.ts.map +0 -1
- package/esm/models/clustersMappers.js +0 -9
- package/esm/models/clustersMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -509
- 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 -19
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -527
- 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 -8
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -82
- package/esm/models/parameters.js.map +0 -1
- package/esm/operations/clusters.d.ts +0 -169
- package/esm/operations/clusters.d.ts.map +0 -1
- package/esm/operations/clusters.js +0 -273
- package/esm/operations/clusters.js.map +0 -1
- package/esm/operations/index.d.ts +0 -3
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -12
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -51
- package/esm/operations/operations.js.map +0 -1
- package/src/azureStackHCIClientContext.ts +0 -68
- package/src/models/clustersMappers.ts +0 -23
- package/src/models/operationsMappers.ts +0 -16
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Cluster, ClustersListBySubscriptionOptionalParams, ClustersListByResourceGroupOptionalParams, ClustersGetOptionalParams, ClustersGetResponse, ClustersCreateOptionalParams, ClustersCreateResponse, ClusterPatch, ClustersUpdateOptionalParams, ClustersUpdateResponse, ClustersDeleteOptionalParams } from "../models";
|
|
3
|
+
/** Interface representing a Clusters. */
|
|
4
|
+
export interface Clusters {
|
|
5
|
+
/**
|
|
6
|
+
* List all HCI clusters in a subscription.
|
|
7
|
+
* @param options The options parameters.
|
|
8
|
+
*/
|
|
9
|
+
listBySubscription(options?: ClustersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Cluster>;
|
|
10
|
+
/**
|
|
11
|
+
* List all HCI clusters in a resource group.
|
|
12
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
13
|
+
* @param options The options parameters.
|
|
14
|
+
*/
|
|
15
|
+
listByResourceGroup(resourceGroupName: string, options?: ClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cluster>;
|
|
16
|
+
/**
|
|
17
|
+
* Get HCI cluster.
|
|
18
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
19
|
+
* @param clusterName The name of the cluster.
|
|
20
|
+
* @param options The options parameters.
|
|
21
|
+
*/
|
|
22
|
+
get(resourceGroupName: string, clusterName: string, options?: ClustersGetOptionalParams): Promise<ClustersGetResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Create an HCI cluster.
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
+
* @param clusterName The name of the cluster.
|
|
27
|
+
* @param cluster Details of the HCI cluster.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
create(resourceGroupName: string, clusterName: string, cluster: Cluster, options?: ClustersCreateOptionalParams): Promise<ClustersCreateResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Update an HCI cluster.
|
|
33
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
|
+
* @param clusterName The name of the cluster.
|
|
35
|
+
* @param cluster Details of the HCI cluster.
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
update(resourceGroupName: string, clusterName: string, cluster: ClusterPatch, options?: ClustersUpdateOptionalParams): Promise<ClustersUpdateResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* Delete an HCI cluster.
|
|
41
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
42
|
+
* @param clusterName The name of the cluster.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
delete(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<void>;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=clusters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clusters.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/clusters.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,OAAO,EACP,wCAAwC,EACxC,yCAAyC,EACzC,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,sBAAsB,EACtB,YAAY,EACZ,4BAA4B,EAC5B,sBAAsB,EACtB,4BAA4B,EAC7B,MAAM,WAAW,CAAC;AAGnB,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,OAAO,EAChB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,YAAY,EACrB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,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=clusters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clusters.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/clusters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
3
|
+
import { Extension, ExtensionsListByArcSettingOptionalParams, ExtensionsGetOptionalParams, ExtensionsGetResponse, ExtensionsCreateOptionalParams, ExtensionsCreateResponse, ExtensionsUpdateOptionalParams, ExtensionsUpdateResponse, ExtensionsDeleteOptionalParams } from "../models";
|
|
4
|
+
/** Interface representing a Extensions. */
|
|
5
|
+
export interface Extensions {
|
|
6
|
+
/**
|
|
7
|
+
* List all Extensions under ArcSetting resource.
|
|
8
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
9
|
+
* @param clusterName The name of the cluster.
|
|
10
|
+
* @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
|
|
11
|
+
* @param options The options parameters.
|
|
12
|
+
*/
|
|
13
|
+
listByArcSetting(resourceGroupName: string, clusterName: string, arcSettingName: string, options?: ExtensionsListByArcSettingOptionalParams): PagedAsyncIterableIterator<Extension>;
|
|
14
|
+
/**
|
|
15
|
+
* Get particular Arc Extension of HCI Cluster.
|
|
16
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
17
|
+
* @param clusterName The name of the cluster.
|
|
18
|
+
* @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
|
|
19
|
+
* @param extensionName The name of the machine extension.
|
|
20
|
+
* @param options The options parameters.
|
|
21
|
+
*/
|
|
22
|
+
get(resourceGroupName: string, clusterName: string, arcSettingName: string, extensionName: string, options?: ExtensionsGetOptionalParams): Promise<ExtensionsGetResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Create Extension for HCI cluster.
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
+
* @param clusterName The name of the cluster.
|
|
27
|
+
* @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
|
|
28
|
+
* @param extensionName The name of the machine extension.
|
|
29
|
+
* @param extension Details of the Machine Extension to be created.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
beginCreate(resourceGroupName: string, clusterName: string, arcSettingName: string, extensionName: string, extension: Extension, options?: ExtensionsCreateOptionalParams): Promise<PollerLike<PollOperationState<ExtensionsCreateResponse>, ExtensionsCreateResponse>>;
|
|
33
|
+
/**
|
|
34
|
+
* Create Extension for HCI cluster.
|
|
35
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
36
|
+
* @param clusterName The name of the cluster.
|
|
37
|
+
* @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
|
|
38
|
+
* @param extensionName The name of the machine extension.
|
|
39
|
+
* @param extension Details of the Machine Extension to be created.
|
|
40
|
+
* @param options The options parameters.
|
|
41
|
+
*/
|
|
42
|
+
beginCreateAndWait(resourceGroupName: string, clusterName: string, arcSettingName: string, extensionName: string, extension: Extension, options?: ExtensionsCreateOptionalParams): Promise<ExtensionsCreateResponse>;
|
|
43
|
+
/**
|
|
44
|
+
* Update Extension for HCI cluster.
|
|
45
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
46
|
+
* @param clusterName The name of the cluster.
|
|
47
|
+
* @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
|
|
48
|
+
* @param extensionName The name of the machine extension.
|
|
49
|
+
* @param extension Details of the Machine Extension to be created.
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
beginUpdate(resourceGroupName: string, clusterName: string, arcSettingName: string, extensionName: string, extension: Extension, options?: ExtensionsUpdateOptionalParams): Promise<PollerLike<PollOperationState<ExtensionsUpdateResponse>, ExtensionsUpdateResponse>>;
|
|
53
|
+
/**
|
|
54
|
+
* Update Extension for HCI cluster.
|
|
55
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
56
|
+
* @param clusterName The name of the cluster.
|
|
57
|
+
* @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
|
|
58
|
+
* @param extensionName The name of the machine extension.
|
|
59
|
+
* @param extension Details of the Machine Extension to be created.
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
beginUpdateAndWait(resourceGroupName: string, clusterName: string, arcSettingName: string, extensionName: string, extension: Extension, options?: ExtensionsUpdateOptionalParams): Promise<ExtensionsUpdateResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* Delete particular Arc Extension of HCI Cluster.
|
|
65
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
66
|
+
* @param clusterName The name of the cluster.
|
|
67
|
+
* @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
|
|
68
|
+
* @param extensionName The name of the machine extension.
|
|
69
|
+
* @param options The options parameters.
|
|
70
|
+
*/
|
|
71
|
+
beginDelete(resourceGroupName: string, clusterName: string, arcSettingName: string, extensionName: string, options?: ExtensionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
72
|
+
/**
|
|
73
|
+
* Delete particular Arc Extension of HCI Cluster.
|
|
74
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
75
|
+
* @param clusterName The name of the cluster.
|
|
76
|
+
* @param arcSettingName The name of the proxy resource holding details of HCI ArcSetting information.
|
|
77
|
+
* @param extensionName The name of the machine extension.
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
beginDeleteAndWait(resourceGroupName: string, clusterName: string, arcSettingName: string, extensionName: string, options?: ExtensionsDeleteOptionalParams): Promise<void>;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=extensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/extensions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,SAAS,EACT,wCAAwC,EACxC,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC/B,MAAM,WAAW,CAAC;AAGnB,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;;;;OAMG;IACH,gBAAgB,CACd,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACzC;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAClC;;;;;;;;OAQG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,SAAS,EACpB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,wBAAwB,CAAC,EAC5C,wBAAwB,CACzB,CACF,CAAC;IACF;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,SAAS,EACpB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;;;;;OAQG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,SAAS,EACpB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,wBAAwB,CAAC,EAC5C,wBAAwB,CACzB,CACF,CAAC;IACF;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,SAAS,EACpB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,EACtB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,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=extensions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensions.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/extensions.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,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,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 "./arcSettings";
|
|
9
|
+
export * from "./clusters";
|
|
10
|
+
export * from "./extensions";
|
|
11
|
+
export * from "./operations";
|
|
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,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OperationsListOptionalParams, OperationsListResponse } from "../models";
|
|
2
|
+
/** Interface representing a Operations. */
|
|
3
|
+
export interface Operations {
|
|
4
|
+
/**
|
|
5
|
+
* List all available Microsoft.AzureStackHCI provider operations
|
|
6
|
+
* @param options The options parameters.
|
|
7
|
+
*/
|
|
8
|
+
list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
|
|
9
|
+
}
|
|
10
|
+
//# 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,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,WAAW,CAAC;AAEnB,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC;CAC/E"}
|
|
@@ -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 @@
|
|
|
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,13 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/arm-azurestackhci",
|
|
3
|
+
"sdk-type": "mgmt",
|
|
3
4
|
"author": "Microsoft Corporation",
|
|
4
|
-
"description": "
|
|
5
|
-
"version": "
|
|
5
|
+
"description": "A generated SDK for AzureStackHCIClient.",
|
|
6
|
+
"version": "2.0.0-alpha.20220111.3",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": ">=12.0.0"
|
|
9
|
+
},
|
|
6
10
|
"dependencies": {
|
|
7
|
-
"@azure/
|
|
8
|
-
"@azure/
|
|
9
|
-
"@azure/core-
|
|
10
|
-
"
|
|
11
|
+
"@azure/core-lro": "^2.2.0",
|
|
12
|
+
"@azure/abort-controller": "^1.0.0",
|
|
13
|
+
"@azure/core-paging": "^1.2.0",
|
|
14
|
+
"@azure/core-client": "^1.0.0",
|
|
15
|
+
"@azure/core-auth": "^1.3.0",
|
|
16
|
+
"@azure/core-rest-pipeline": "^1.1.0",
|
|
17
|
+
"tslib": "^2.2.0"
|
|
11
18
|
},
|
|
12
19
|
"keywords": [
|
|
13
20
|
"node",
|
|
@@ -17,17 +24,27 @@
|
|
|
17
24
|
"isomorphic"
|
|
18
25
|
],
|
|
19
26
|
"license": "MIT",
|
|
20
|
-
"main": "./dist/
|
|
21
|
-
"module": "./esm/
|
|
22
|
-
"types": "./
|
|
27
|
+
"main": "./dist/index.js",
|
|
28
|
+
"module": "./dist-esm/src/index.js",
|
|
29
|
+
"types": "./types/arm-azurestackhci.d.ts",
|
|
23
30
|
"devDependencies": {
|
|
24
|
-
"
|
|
25
|
-
"rollup": "
|
|
26
|
-
"rollup
|
|
31
|
+
"@microsoft/api-extractor": "^7.18.11",
|
|
32
|
+
"@rollup/plugin-commonjs": "11.0.2",
|
|
33
|
+
"@rollup/plugin-json": "^4.0.0",
|
|
34
|
+
"@rollup/plugin-multi-entry": "^3.0.0",
|
|
35
|
+
"@rollup/plugin-node-resolve": "^8.0.0",
|
|
36
|
+
"mkdirp": "^1.0.4",
|
|
37
|
+
"rollup": "^1.16.3",
|
|
27
38
|
"rollup-plugin-sourcemaps": "^0.4.2",
|
|
28
|
-
"
|
|
39
|
+
"typescript": "~4.2.0",
|
|
40
|
+
"uglify-js": "^3.4.9",
|
|
41
|
+
"rimraf": "^3.0.0",
|
|
42
|
+
"@azure/identity": "^2.0.1",
|
|
43
|
+
"@azure-tools/test-recorder": "^1.0.0",
|
|
44
|
+
"mocha": "^7.1.1",
|
|
45
|
+
"cross-env": "^7.0.2"
|
|
29
46
|
},
|
|
30
|
-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/
|
|
47
|
+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/azurestackhci/arm-azurestackhci",
|
|
31
48
|
"repository": {
|
|
32
49
|
"type": "git",
|
|
33
50
|
"url": "https://github.com/Azure/azure-sdk-for-js.git"
|
|
@@ -40,19 +57,45 @@
|
|
|
40
57
|
"dist/**/*.js.map",
|
|
41
58
|
"dist/**/*.d.ts",
|
|
42
59
|
"dist/**/*.d.ts.map",
|
|
43
|
-
"esm/**/*.js",
|
|
44
|
-
"esm/**/*.js.map",
|
|
45
|
-
"esm/**/*.d.ts",
|
|
46
|
-
"esm/**/*.d.ts.map",
|
|
60
|
+
"dist-esm/**/*.js",
|
|
61
|
+
"dist-esm/**/*.js.map",
|
|
62
|
+
"dist-esm/**/*.d.ts",
|
|
63
|
+
"dist-esm/**/*.d.ts.map",
|
|
47
64
|
"src/**/*.ts",
|
|
48
65
|
"README.md",
|
|
66
|
+
"LICENSE",
|
|
49
67
|
"rollup.config.js",
|
|
50
|
-
"tsconfig.json"
|
|
68
|
+
"tsconfig.json",
|
|
69
|
+
"review/*",
|
|
70
|
+
"CHANGELOG.md",
|
|
71
|
+
"types/*"
|
|
51
72
|
],
|
|
52
73
|
"scripts": {
|
|
53
|
-
"build": "tsc && rollup -c
|
|
54
|
-
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/
|
|
55
|
-
"prepack": "npm
|
|
74
|
+
"build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
|
|
75
|
+
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
|
|
76
|
+
"prepack": "npm run build",
|
|
77
|
+
"pack": "npm pack 2>&1",
|
|
78
|
+
"extract-api": "api-extractor run --local",
|
|
79
|
+
"lint": "echo skipped",
|
|
80
|
+
"audit": "echo skipped",
|
|
81
|
+
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
82
|
+
"build:node": "echo skipped",
|
|
83
|
+
"build:browser": "echo skipped",
|
|
84
|
+
"build:test": "echo skipped",
|
|
85
|
+
"build:samples": "echo skipped.",
|
|
86
|
+
"check-format": "echo skipped",
|
|
87
|
+
"execute:samples": "echo skipped",
|
|
88
|
+
"format": "echo skipped",
|
|
89
|
+
"test": "npm run integration-test",
|
|
90
|
+
"test:node": "echo skipped",
|
|
91
|
+
"test:browser": "echo skipped",
|
|
92
|
+
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
93
|
+
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
|
|
94
|
+
"unit-test:browser": "echo skipped",
|
|
95
|
+
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
96
|
+
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
|
|
97
|
+
"integration-test:browser": "echo skipped",
|
|
98
|
+
"docs": "echo skipped"
|
|
56
99
|
},
|
|
57
100
|
"sideEffects": false,
|
|
58
101
|
"autoPublish": true
|