@azure/arm-azurestack 1.1.0 → 3.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 +11 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +75 -73
- package/dist/index.js +3000 -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/azureStackManagementClient.d.ts +24 -0
- package/dist-esm/src/azureStackManagementClient.d.ts.map +1 -0
- package/dist-esm/src/azureStackManagementClient.js +57 -0
- package/dist-esm/src/azureStackManagementClient.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/models/index.d.ts +854 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +55 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +37 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +779 -377
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +20 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +163 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/cloudManifestFile.d.ts +24 -0
- package/dist-esm/src/operations/cloudManifestFile.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudManifestFile.js +70 -0
- package/dist-esm/src/operations/cloudManifestFile.js.map +1 -0
- package/dist-esm/src/operations/customerSubscriptions.d.ts +63 -0
- package/dist-esm/src/operations/customerSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/customerSubscriptions.js +241 -0
- package/dist-esm/src/operations/customerSubscriptions.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +3 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +6 -6
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/linkedSubscriptions.d.ts +83 -0
- package/dist-esm/src/operations/linkedSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/linkedSubscriptions.js +359 -0
- package/dist-esm/src/operations/linkedSubscriptions.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 +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/products.d.ts +78 -0
- package/dist-esm/src/operations/products.d.ts.map +1 -0
- package/dist-esm/src/operations/products.js +303 -0
- package/dist-esm/src/operations/products.js.map +1 -0
- package/dist-esm/src/operations/registrations.d.ts +97 -0
- package/dist-esm/src/operations/registrations.d.ts.map +1 -0
- package/dist-esm/src/operations/registrations.js +416 -0
- package/dist-esm/src/operations/registrations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudManifestFile.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/cloudManifestFile.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudManifestFile.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudManifestFile.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/customerSubscriptions.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/customerSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/customerSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/customerSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +14 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/linkedSubscriptions.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/linkedSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/linkedSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/linkedSubscriptions.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/products.d.ts +53 -0
- package/dist-esm/src/operationsInterfaces/products.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/products.js +9 -0
- package/dist-esm/src/operationsInterfaces/products.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/registrations.d.ts +61 -0
- package/dist-esm/src/operationsInterfaces/registrations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/registrations.js +9 -0
- package/dist-esm/src/operationsInterfaces/registrations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +4 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +43 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +68 -34
- package/review/arm-azurestack.api.md +695 -0
- package/rollup.config.js +184 -27
- package/src/azureStackManagementClient.ts +100 -0
- package/src/index.ts +12 -0
- package/src/models/index.ts +981 -0
- package/{lib → src}/models/mappers.ts +809 -377
- package/src/models/parameters.ts +192 -0
- package/src/operations/cloudManifestFile.ts +93 -0
- package/src/operations/customerSubscriptions.ts +317 -0
- package/{lib → src}/operations/index.ts +6 -6
- package/src/operations/linkedSubscriptions.ts +450 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/products.ts +403 -0
- package/src/operations/registrations.ts +521 -0
- package/src/operationsInterfaces/cloudManifestFile.ts +34 -0
- package/src/operationsInterfaces/customerSubscriptions.ts +75 -0
- package/src/operationsInterfaces/index.ts +14 -0
- package/src/operationsInterfaces/linkedSubscriptions.ts +91 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/products.ts +104 -0
- package/src/operationsInterfaces/registrations.ts +116 -0
- package/tsconfig.json +4 -4
- package/types/arm-azurestack.d.ts +1206 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-azurestack.js +0 -1844
- package/dist/arm-azurestack.js.map +0 -1
- package/dist/arm-azurestack.min.js +0 -1
- package/dist/arm-azurestack.min.js.map +0 -1
- package/esm/azureStackManagementClient.d.ts +0 -22
- package/esm/azureStackManagementClient.d.ts.map +0 -1
- package/esm/azureStackManagementClient.js +0 -37
- package/esm/azureStackManagementClient.js.map +0 -1
- package/esm/azureStackManagementClientContext.d.ts +0 -17
- package/esm/azureStackManagementClientContext.d.ts.map +0 -1
- package/esm/azureStackManagementClientContext.js +0 -57
- package/esm/azureStackManagementClientContext.js.map +0 -1
- package/esm/models/customerSubscriptionsMappers.d.ts +0 -2
- package/esm/models/customerSubscriptionsMappers.d.ts.map +0 -1
- package/esm/models/customerSubscriptionsMappers.js +0 -11
- package/esm/models/customerSubscriptionsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -957
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -27
- 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 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -10
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -92
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/productsMappers.d.ts +0 -2
- package/esm/models/productsMappers.d.ts.map +0 -1
- package/esm/models/productsMappers.js +0 -11
- package/esm/models/productsMappers.js.map +0 -1
- package/esm/models/registrationsMappers.d.ts +0 -2
- package/esm/models/registrationsMappers.d.ts.map +0 -1
- package/esm/models/registrationsMappers.js +0 -11
- package/esm/models/registrationsMappers.js.map +0 -1
- package/esm/operations/customerSubscriptions.d.ts +0 -127
- package/esm/operations/customerSubscriptions.d.ts.map +0 -1
- package/esm/operations/customerSubscriptions.js +0 -188
- package/esm/operations/customerSubscriptions.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/products.d.ts +0 -100
- package/esm/operations/products.d.ts.map +0 -1
- package/esm/operations/products.js +0 -150
- package/esm/operations/products.js.map +0 -1
- package/esm/operations/registrations.d.ts +0 -160
- package/esm/operations/registrations.d.ts.map +0 -1
- package/esm/operations/registrations.js +0 -250
- package/esm/operations/registrations.js.map +0 -1
- package/lib/azureStackManagementClient.ts +0 -49
- package/lib/azureStackManagementClientContext.ts +0 -63
- package/lib/models/customerSubscriptionsMappers.ts +0 -26
- package/lib/models/index.ts +0 -1011
- package/lib/models/operationsMappers.ts +0 -17
- package/lib/models/parameters.ts +0 -94
- package/lib/models/productsMappers.ts +0 -29
- package/lib/models/registrationsMappers.ts +0 -28
- package/lib/operations/customerSubscriptions.ts +0 -332
- package/lib/operations/operations.ts +0 -123
- package/lib/operations/products.ts +0 -260
- package/lib/operations/registrations.ts +0 -440
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
LinkedSubscription,
|
|
12
|
+
LinkedSubscriptionsListByResourceGroupOptionalParams,
|
|
13
|
+
LinkedSubscriptionsListBySubscriptionOptionalParams,
|
|
14
|
+
LinkedSubscriptionsGetOptionalParams,
|
|
15
|
+
LinkedSubscriptionsGetResponse,
|
|
16
|
+
LinkedSubscriptionsDeleteOptionalParams,
|
|
17
|
+
LinkedSubscriptionParameter,
|
|
18
|
+
LinkedSubscriptionsCreateOrUpdateOptionalParams,
|
|
19
|
+
LinkedSubscriptionsCreateOrUpdateResponse,
|
|
20
|
+
LinkedSubscriptionsUpdateOptionalParams,
|
|
21
|
+
LinkedSubscriptionsUpdateResponse
|
|
22
|
+
} from "../models";
|
|
23
|
+
|
|
24
|
+
/// <reference lib="esnext.asynciterable" />
|
|
25
|
+
/** Interface representing a LinkedSubscriptions. */
|
|
26
|
+
export interface LinkedSubscriptions {
|
|
27
|
+
/**
|
|
28
|
+
* Returns a list of all linked subscriptions under current resource group.
|
|
29
|
+
* @param resourceGroup Name of the resource group.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
listByResourceGroup(
|
|
33
|
+
resourceGroup: string,
|
|
34
|
+
options?: LinkedSubscriptionsListByResourceGroupOptionalParams
|
|
35
|
+
): PagedAsyncIterableIterator<LinkedSubscription>;
|
|
36
|
+
/**
|
|
37
|
+
* Returns a list of all linked subscriptions under current subscription.
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
listBySubscription(
|
|
41
|
+
options?: LinkedSubscriptionsListBySubscriptionOptionalParams
|
|
42
|
+
): PagedAsyncIterableIterator<LinkedSubscription>;
|
|
43
|
+
/**
|
|
44
|
+
* Returns the properties of a Linked Subscription resource.
|
|
45
|
+
* @param resourceGroup Name of the resource group.
|
|
46
|
+
* @param linkedSubscriptionName Name of the Linked Subscription resource.
|
|
47
|
+
* @param options The options parameters.
|
|
48
|
+
*/
|
|
49
|
+
get(
|
|
50
|
+
resourceGroup: string,
|
|
51
|
+
linkedSubscriptionName: string,
|
|
52
|
+
options?: LinkedSubscriptionsGetOptionalParams
|
|
53
|
+
): Promise<LinkedSubscriptionsGetResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Delete the requested Linked Subscription resource.
|
|
56
|
+
* @param resourceGroup Name of the resource group.
|
|
57
|
+
* @param linkedSubscriptionName Name of the Linked Subscription resource.
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
delete(
|
|
61
|
+
resourceGroup: string,
|
|
62
|
+
linkedSubscriptionName: string,
|
|
63
|
+
options?: LinkedSubscriptionsDeleteOptionalParams
|
|
64
|
+
): Promise<void>;
|
|
65
|
+
/**
|
|
66
|
+
* Create or update a linked subscription resource.
|
|
67
|
+
* @param resourceGroup Name of the resource group.
|
|
68
|
+
* @param linkedSubscriptionName Name of the Linked Subscription resource.
|
|
69
|
+
* @param resource Linked subscription resource parameter.
|
|
70
|
+
* @param options The options parameters.
|
|
71
|
+
*/
|
|
72
|
+
createOrUpdate(
|
|
73
|
+
resourceGroup: string,
|
|
74
|
+
linkedSubscriptionName: string,
|
|
75
|
+
resource: LinkedSubscriptionParameter,
|
|
76
|
+
options?: LinkedSubscriptionsCreateOrUpdateOptionalParams
|
|
77
|
+
): Promise<LinkedSubscriptionsCreateOrUpdateResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* Patch a Linked Subscription resource.
|
|
80
|
+
* @param resourceGroup Name of the resource group.
|
|
81
|
+
* @param linkedSubscriptionName Name of the Linked Subscription resource.
|
|
82
|
+
* @param resource Linked subscription resource parameter.
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
update(
|
|
86
|
+
resourceGroup: string,
|
|
87
|
+
linkedSubscriptionName: string,
|
|
88
|
+
resource: LinkedSubscriptionParameter,
|
|
89
|
+
options?: LinkedSubscriptionsUpdateOptionalParams
|
|
90
|
+
): Promise<LinkedSubscriptionsUpdateResponse>;
|
|
91
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { Operation, OperationsListOptionalParams } from "../models";
|
|
11
|
+
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Interface representing a Operations. */
|
|
14
|
+
export interface Operations {
|
|
15
|
+
/**
|
|
16
|
+
* Returns the list of supported REST operations.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
list(
|
|
20
|
+
options?: OperationsListOptionalParams
|
|
21
|
+
): PagedAsyncIterableIterator<Operation>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
Product,
|
|
12
|
+
ProductsListOptionalParams,
|
|
13
|
+
ProductsGetOptionalParams,
|
|
14
|
+
ProductsGetResponse,
|
|
15
|
+
ProductsListDetailsOptionalParams,
|
|
16
|
+
ProductsListDetailsResponse,
|
|
17
|
+
ProductsGetProductsOptionalParams,
|
|
18
|
+
ProductsGetProductsResponse,
|
|
19
|
+
ProductsGetProductOptionalParams,
|
|
20
|
+
ProductsGetProductResponse,
|
|
21
|
+
ProductsUploadLogOptionalParams,
|
|
22
|
+
ProductsUploadLogResponse
|
|
23
|
+
} from "../models";
|
|
24
|
+
|
|
25
|
+
/// <reference lib="esnext.asynciterable" />
|
|
26
|
+
/** Interface representing a Products. */
|
|
27
|
+
export interface Products {
|
|
28
|
+
/**
|
|
29
|
+
* Returns a list of products.
|
|
30
|
+
* @param resourceGroup Name of the resource group.
|
|
31
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
list(
|
|
35
|
+
resourceGroup: string,
|
|
36
|
+
registrationName: string,
|
|
37
|
+
options?: ProductsListOptionalParams
|
|
38
|
+
): PagedAsyncIterableIterator<Product>;
|
|
39
|
+
/**
|
|
40
|
+
* Returns the specified product.
|
|
41
|
+
* @param resourceGroup Name of the resource group.
|
|
42
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
43
|
+
* @param productName Name of the product.
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
get(
|
|
47
|
+
resourceGroup: string,
|
|
48
|
+
registrationName: string,
|
|
49
|
+
productName: string,
|
|
50
|
+
options?: ProductsGetOptionalParams
|
|
51
|
+
): Promise<ProductsGetResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Returns the extended properties of a product.
|
|
54
|
+
* @param resourceGroup Name of the resource group.
|
|
55
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
56
|
+
* @param productName Name of the product.
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
listDetails(
|
|
60
|
+
resourceGroup: string,
|
|
61
|
+
registrationName: string,
|
|
62
|
+
productName: string,
|
|
63
|
+
options?: ProductsListDetailsOptionalParams
|
|
64
|
+
): Promise<ProductsListDetailsResponse>;
|
|
65
|
+
/**
|
|
66
|
+
* Returns a list of products.
|
|
67
|
+
* @param resourceGroup Name of the resource group.
|
|
68
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
69
|
+
* @param productName Name of the product.
|
|
70
|
+
* @param options The options parameters.
|
|
71
|
+
*/
|
|
72
|
+
getProducts(
|
|
73
|
+
resourceGroup: string,
|
|
74
|
+
registrationName: string,
|
|
75
|
+
productName: string,
|
|
76
|
+
options?: ProductsGetProductsOptionalParams
|
|
77
|
+
): Promise<ProductsGetProductsResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* Returns the specified product.
|
|
80
|
+
* @param resourceGroup Name of the resource group.
|
|
81
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
82
|
+
* @param productName Name of the product.
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
getProduct(
|
|
86
|
+
resourceGroup: string,
|
|
87
|
+
registrationName: string,
|
|
88
|
+
productName: string,
|
|
89
|
+
options?: ProductsGetProductOptionalParams
|
|
90
|
+
): Promise<ProductsGetProductResponse>;
|
|
91
|
+
/**
|
|
92
|
+
* Returns the specified product.
|
|
93
|
+
* @param resourceGroup Name of the resource group.
|
|
94
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
95
|
+
* @param productName Name of the product.
|
|
96
|
+
* @param options The options parameters.
|
|
97
|
+
*/
|
|
98
|
+
uploadLog(
|
|
99
|
+
resourceGroup: string,
|
|
100
|
+
registrationName: string,
|
|
101
|
+
productName: string,
|
|
102
|
+
options?: ProductsUploadLogOptionalParams
|
|
103
|
+
): Promise<ProductsUploadLogResponse>;
|
|
104
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
Registration,
|
|
12
|
+
RegistrationsListOptionalParams,
|
|
13
|
+
RegistrationsListBySubscriptionOptionalParams,
|
|
14
|
+
RegistrationsGetOptionalParams,
|
|
15
|
+
RegistrationsGetResponse,
|
|
16
|
+
RegistrationsDeleteOptionalParams,
|
|
17
|
+
RegistrationParameter,
|
|
18
|
+
RegistrationsCreateOrUpdateOptionalParams,
|
|
19
|
+
RegistrationsCreateOrUpdateResponse,
|
|
20
|
+
RegistrationsUpdateOptionalParams,
|
|
21
|
+
RegistrationsUpdateResponse,
|
|
22
|
+
RegistrationsGetActivationKeyOptionalParams,
|
|
23
|
+
RegistrationsGetActivationKeyResponse,
|
|
24
|
+
RegistrationsEnableRemoteManagementOptionalParams
|
|
25
|
+
} from "../models";
|
|
26
|
+
|
|
27
|
+
/// <reference lib="esnext.asynciterable" />
|
|
28
|
+
/** Interface representing a Registrations. */
|
|
29
|
+
export interface Registrations {
|
|
30
|
+
/**
|
|
31
|
+
* Returns a list of all registrations.
|
|
32
|
+
* @param resourceGroup Name of the resource group.
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
list(
|
|
36
|
+
resourceGroup: string,
|
|
37
|
+
options?: RegistrationsListOptionalParams
|
|
38
|
+
): PagedAsyncIterableIterator<Registration>;
|
|
39
|
+
/**
|
|
40
|
+
* Returns a list of all registrations under current subscription.
|
|
41
|
+
* @param options The options parameters.
|
|
42
|
+
*/
|
|
43
|
+
listBySubscription(
|
|
44
|
+
options?: RegistrationsListBySubscriptionOptionalParams
|
|
45
|
+
): PagedAsyncIterableIterator<Registration>;
|
|
46
|
+
/**
|
|
47
|
+
* Returns the properties of an Azure Stack registration.
|
|
48
|
+
* @param resourceGroup Name of the resource group.
|
|
49
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
get(
|
|
53
|
+
resourceGroup: string,
|
|
54
|
+
registrationName: string,
|
|
55
|
+
options?: RegistrationsGetOptionalParams
|
|
56
|
+
): Promise<RegistrationsGetResponse>;
|
|
57
|
+
/**
|
|
58
|
+
* Delete the requested Azure Stack registration.
|
|
59
|
+
* @param resourceGroup Name of the resource group.
|
|
60
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
delete(
|
|
64
|
+
resourceGroup: string,
|
|
65
|
+
registrationName: string,
|
|
66
|
+
options?: RegistrationsDeleteOptionalParams
|
|
67
|
+
): Promise<void>;
|
|
68
|
+
/**
|
|
69
|
+
* Create or update an Azure Stack registration.
|
|
70
|
+
* @param resourceGroup Name of the resource group.
|
|
71
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
72
|
+
* @param token Registration token
|
|
73
|
+
* @param options The options parameters.
|
|
74
|
+
*/
|
|
75
|
+
createOrUpdate(
|
|
76
|
+
resourceGroup: string,
|
|
77
|
+
registrationName: string,
|
|
78
|
+
token: RegistrationParameter,
|
|
79
|
+
options?: RegistrationsCreateOrUpdateOptionalParams
|
|
80
|
+
): Promise<RegistrationsCreateOrUpdateResponse>;
|
|
81
|
+
/**
|
|
82
|
+
* Patch an Azure Stack registration.
|
|
83
|
+
* @param resourceGroup Name of the resource group.
|
|
84
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
85
|
+
* @param token Registration token
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
update(
|
|
89
|
+
resourceGroup: string,
|
|
90
|
+
registrationName: string,
|
|
91
|
+
token: RegistrationParameter,
|
|
92
|
+
options?: RegistrationsUpdateOptionalParams
|
|
93
|
+
): Promise<RegistrationsUpdateResponse>;
|
|
94
|
+
/**
|
|
95
|
+
* Returns Azure Stack Activation Key.
|
|
96
|
+
* @param resourceGroup Name of the resource group.
|
|
97
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
98
|
+
* @param options The options parameters.
|
|
99
|
+
*/
|
|
100
|
+
getActivationKey(
|
|
101
|
+
resourceGroup: string,
|
|
102
|
+
registrationName: string,
|
|
103
|
+
options?: RegistrationsGetActivationKeyOptionalParams
|
|
104
|
+
): Promise<RegistrationsGetActivationKeyResponse>;
|
|
105
|
+
/**
|
|
106
|
+
* Enables remote management for device under the Azure Stack registration.
|
|
107
|
+
* @param resourceGroup Name of the resource group.
|
|
108
|
+
* @param registrationName Name of the Azure Stack registration.
|
|
109
|
+
* @param options The options parameters.
|
|
110
|
+
*/
|
|
111
|
+
enableRemoteManagement(
|
|
112
|
+
resourceGroup: string,
|
|
113
|
+
registrationName: string,
|
|
114
|
+
options?: RegistrationsEnableRemoteManagementOptionalParams
|
|
115
|
+
): Promise<void>;
|
|
116
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
"module": "es6",
|
|
4
4
|
"moduleResolution": "node",
|
|
5
5
|
"strict": true,
|
|
6
|
-
"target": "
|
|
6
|
+
"target": "es6",
|
|
7
7
|
"sourceMap": true,
|
|
8
8
|
"declarationMap": true,
|
|
9
9
|
"esModuleInterop": true,
|
|
10
10
|
"allowSyntheticDefaultImports": true,
|
|
11
11
|
"forceConsistentCasingInFileNames": true,
|
|
12
|
-
"lib": ["es6"],
|
|
12
|
+
"lib": ["es6", "dom"],
|
|
13
13
|
"declaration": true,
|
|
14
|
-
"outDir": "./esm",
|
|
14
|
+
"outDir": "./dist-esm",
|
|
15
15
|
"importHelpers": true
|
|
16
16
|
},
|
|
17
|
-
"include": ["./
|
|
17
|
+
"include": ["./src/**/*.ts", "./test/**/*.ts"],
|
|
18
18
|
"exclude": ["node_modules"]
|
|
19
19
|
}
|