@azure/arm-resourcesdeploymentstacks 1.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 +5 -0
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/index.js +2308 -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/samples-dev/deploymentStacksCreateOrUpdateAtManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtManagementGroupSample.js +53 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtResourceGroupSample.js +56 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtSubscriptionSample.js +54 -0
- package/dist-esm/samples-dev/deploymentStacksCreateOrUpdateAtSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtManagementGroupSample.js +37 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtResourceGroupSample.js +40 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtSubscriptionSample.js +38 -0
- package/dist-esm/samples-dev/deploymentStacksDeleteAtSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtManagementGroupSample.js +37 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtResourceGroupSample.js +40 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtSubscriptionSample.js +38 -0
- package/dist-esm/samples-dev/deploymentStacksExportTemplateAtSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtManagementGroupSample.js +37 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtResourceGroupSample.js +40 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtSubscriptionSample.js +38 -0
- package/dist-esm/samples-dev/deploymentStacksGetAtSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksListAtManagementGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksListAtManagementGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksListAtManagementGroupSample.js +57 -0
- package/dist-esm/samples-dev/deploymentStacksListAtManagementGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksListAtResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksListAtResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksListAtResourceGroupSample.js +60 -0
- package/dist-esm/samples-dev/deploymentStacksListAtResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksListAtSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/deploymentStacksListAtSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deploymentStacksListAtSubscriptionSample.js +58 -0
- package/dist-esm/samples-dev/deploymentStacksListAtSubscriptionSample.js.map +1 -0
- package/dist-esm/src/deploymentStacksClient.d.ts +21 -0
- package/dist-esm/src/deploymentStacksClient.d.ts.map +1 -0
- package/dist-esm/src/deploymentStacksClient.js +98 -0
- package/dist-esm/src/deploymentStacksClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +11 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +21 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +642 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +116 -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 +758 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +15 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +152 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/deploymentStacks.d.ts +207 -0
- package/dist-esm/src/operations/deploymentStacks.d.ts.map +1 -0
- package/dist-esm/src/operations/deploymentStacks.js +1086 -0
- package/dist-esm/src/operations/deploymentStacks.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +2 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +9 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/deploymentStacks.d.ts +156 -0
- package/dist-esm/src/operationsInterfaces/deploymentStacks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/deploymentStacks.js +9 -0
- package/dist-esm/src/operationsInterfaces/deploymentStacks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +9 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/resourcesdeploymentstacks_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/resourcesdeploymentstacks_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/resourcesdeploymentstacks_operations_test.spec.js +162 -0
- package/dist-esm/test/resourcesdeploymentstacks_operations_test.spec.js.map +1 -0
- package/package.json +124 -0
- package/review/arm-resourcesdeploymentstacks.api.md +469 -0
- package/rollup.config.js +122 -0
- package/src/deploymentStacksClient.ts +154 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +42 -0
- package/src/models/index.ts +728 -0
- package/src/models/mappers.ts +828 -0
- package/src/models/parameters.ts +170 -0
- package/src/operations/deploymentStacks.ts +1420 -0
- package/src/operations/index.ts +9 -0
- package/src/operationsInterfaces/deploymentStacks.ts +286 -0
- package/src/operationsInterfaces/index.ts +9 -0
- package/src/pagingHelper.ts +39 -0
- package/tsconfig.json +33 -0
- package/types/arm-resourcesdeploymentstacks.d.ts +899 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -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
|
+
|
|
9
|
+
export * from "./deploymentStacks";
|
|
@@ -0,0 +1,286 @@
|
|
|
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 { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
11
|
+
import {
|
|
12
|
+
DeploymentStack,
|
|
13
|
+
DeploymentStacksListAtResourceGroupOptionalParams,
|
|
14
|
+
DeploymentStacksListAtSubscriptionOptionalParams,
|
|
15
|
+
DeploymentStacksListAtManagementGroupOptionalParams,
|
|
16
|
+
DeploymentStacksCreateOrUpdateAtResourceGroupOptionalParams,
|
|
17
|
+
DeploymentStacksCreateOrUpdateAtResourceGroupResponse,
|
|
18
|
+
DeploymentStacksGetAtResourceGroupOptionalParams,
|
|
19
|
+
DeploymentStacksGetAtResourceGroupResponse,
|
|
20
|
+
DeploymentStacksDeleteAtResourceGroupOptionalParams,
|
|
21
|
+
DeploymentStacksCreateOrUpdateAtSubscriptionOptionalParams,
|
|
22
|
+
DeploymentStacksCreateOrUpdateAtSubscriptionResponse,
|
|
23
|
+
DeploymentStacksGetAtSubscriptionOptionalParams,
|
|
24
|
+
DeploymentStacksGetAtSubscriptionResponse,
|
|
25
|
+
DeploymentStacksDeleteAtSubscriptionOptionalParams,
|
|
26
|
+
DeploymentStacksCreateOrUpdateAtManagementGroupOptionalParams,
|
|
27
|
+
DeploymentStacksCreateOrUpdateAtManagementGroupResponse,
|
|
28
|
+
DeploymentStacksGetAtManagementGroupOptionalParams,
|
|
29
|
+
DeploymentStacksGetAtManagementGroupResponse,
|
|
30
|
+
DeploymentStacksDeleteAtManagementGroupOptionalParams,
|
|
31
|
+
DeploymentStacksExportTemplateAtResourceGroupOptionalParams,
|
|
32
|
+
DeploymentStacksExportTemplateAtResourceGroupResponse,
|
|
33
|
+
DeploymentStacksExportTemplateAtSubscriptionOptionalParams,
|
|
34
|
+
DeploymentStacksExportTemplateAtSubscriptionResponse,
|
|
35
|
+
DeploymentStacksExportTemplateAtManagementGroupOptionalParams,
|
|
36
|
+
DeploymentStacksExportTemplateAtManagementGroupResponse
|
|
37
|
+
} from "../models";
|
|
38
|
+
|
|
39
|
+
/// <reference lib="esnext.asynciterable" />
|
|
40
|
+
/** Interface representing a DeploymentStacks. */
|
|
41
|
+
export interface DeploymentStacks {
|
|
42
|
+
/**
|
|
43
|
+
* Lists all the Deployment Stacks within the specified resource group.
|
|
44
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
listAtResourceGroup(
|
|
48
|
+
resourceGroupName: string,
|
|
49
|
+
options?: DeploymentStacksListAtResourceGroupOptionalParams
|
|
50
|
+
): PagedAsyncIterableIterator<DeploymentStack>;
|
|
51
|
+
/**
|
|
52
|
+
* Lists all the Deployment Stacks within the specified subscription.
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
listAtSubscription(
|
|
56
|
+
options?: DeploymentStacksListAtSubscriptionOptionalParams
|
|
57
|
+
): PagedAsyncIterableIterator<DeploymentStack>;
|
|
58
|
+
/**
|
|
59
|
+
* Lists all the Deployment Stacks within the specified management group.
|
|
60
|
+
* @param managementGroupId Management Group.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
listAtManagementGroup(
|
|
64
|
+
managementGroupId: string,
|
|
65
|
+
options?: DeploymentStacksListAtManagementGroupOptionalParams
|
|
66
|
+
): PagedAsyncIterableIterator<DeploymentStack>;
|
|
67
|
+
/**
|
|
68
|
+
* Creates or updates a Deployment Stack.
|
|
69
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
70
|
+
* @param deploymentStackName Name of the deployment stack.
|
|
71
|
+
* @param deploymentStack Deployment Stack supplied to the operation.
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
beginCreateOrUpdateAtResourceGroup(
|
|
75
|
+
resourceGroupName: string,
|
|
76
|
+
deploymentStackName: string,
|
|
77
|
+
deploymentStack: DeploymentStack,
|
|
78
|
+
options?: DeploymentStacksCreateOrUpdateAtResourceGroupOptionalParams
|
|
79
|
+
): Promise<
|
|
80
|
+
SimplePollerLike<
|
|
81
|
+
OperationState<DeploymentStacksCreateOrUpdateAtResourceGroupResponse>,
|
|
82
|
+
DeploymentStacksCreateOrUpdateAtResourceGroupResponse
|
|
83
|
+
>
|
|
84
|
+
>;
|
|
85
|
+
/**
|
|
86
|
+
* Creates or updates a Deployment Stack.
|
|
87
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
88
|
+
* @param deploymentStackName Name of the deployment stack.
|
|
89
|
+
* @param deploymentStack Deployment Stack supplied to the operation.
|
|
90
|
+
* @param options The options parameters.
|
|
91
|
+
*/
|
|
92
|
+
beginCreateOrUpdateAtResourceGroupAndWait(
|
|
93
|
+
resourceGroupName: string,
|
|
94
|
+
deploymentStackName: string,
|
|
95
|
+
deploymentStack: DeploymentStack,
|
|
96
|
+
options?: DeploymentStacksCreateOrUpdateAtResourceGroupOptionalParams
|
|
97
|
+
): Promise<DeploymentStacksCreateOrUpdateAtResourceGroupResponse>;
|
|
98
|
+
/**
|
|
99
|
+
* Gets a Deployment Stack with a given name.
|
|
100
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
101
|
+
* @param deploymentStackName Name of the deployment stack.
|
|
102
|
+
* @param options The options parameters.
|
|
103
|
+
*/
|
|
104
|
+
getAtResourceGroup(
|
|
105
|
+
resourceGroupName: string,
|
|
106
|
+
deploymentStackName: string,
|
|
107
|
+
options?: DeploymentStacksGetAtResourceGroupOptionalParams
|
|
108
|
+
): Promise<DeploymentStacksGetAtResourceGroupResponse>;
|
|
109
|
+
/**
|
|
110
|
+
* Deletes a Deployment Stack by name. When operation completes, status code 200 returned without
|
|
111
|
+
* content.
|
|
112
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
113
|
+
* @param deploymentStackName Name of the deployment stack.
|
|
114
|
+
* @param options The options parameters.
|
|
115
|
+
*/
|
|
116
|
+
beginDeleteAtResourceGroup(
|
|
117
|
+
resourceGroupName: string,
|
|
118
|
+
deploymentStackName: string,
|
|
119
|
+
options?: DeploymentStacksDeleteAtResourceGroupOptionalParams
|
|
120
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
121
|
+
/**
|
|
122
|
+
* Deletes a Deployment Stack by name. When operation completes, status code 200 returned without
|
|
123
|
+
* content.
|
|
124
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
125
|
+
* @param deploymentStackName Name of the deployment stack.
|
|
126
|
+
* @param options The options parameters.
|
|
127
|
+
*/
|
|
128
|
+
beginDeleteAtResourceGroupAndWait(
|
|
129
|
+
resourceGroupName: string,
|
|
130
|
+
deploymentStackName: string,
|
|
131
|
+
options?: DeploymentStacksDeleteAtResourceGroupOptionalParams
|
|
132
|
+
): Promise<void>;
|
|
133
|
+
/**
|
|
134
|
+
* Creates or updates a Deployment Stack.
|
|
135
|
+
* @param deploymentStackName Name of the deployment stack.
|
|
136
|
+
* @param deploymentStack Deployment Stack supplied to the operation.
|
|
137
|
+
* @param options The options parameters.
|
|
138
|
+
*/
|
|
139
|
+
beginCreateOrUpdateAtSubscription(
|
|
140
|
+
deploymentStackName: string,
|
|
141
|
+
deploymentStack: DeploymentStack,
|
|
142
|
+
options?: DeploymentStacksCreateOrUpdateAtSubscriptionOptionalParams
|
|
143
|
+
): Promise<
|
|
144
|
+
SimplePollerLike<
|
|
145
|
+
OperationState<DeploymentStacksCreateOrUpdateAtSubscriptionResponse>,
|
|
146
|
+
DeploymentStacksCreateOrUpdateAtSubscriptionResponse
|
|
147
|
+
>
|
|
148
|
+
>;
|
|
149
|
+
/**
|
|
150
|
+
* Creates or updates a Deployment Stack.
|
|
151
|
+
* @param deploymentStackName Name of the deployment stack.
|
|
152
|
+
* @param deploymentStack Deployment Stack supplied to the operation.
|
|
153
|
+
* @param options The options parameters.
|
|
154
|
+
*/
|
|
155
|
+
beginCreateOrUpdateAtSubscriptionAndWait(
|
|
156
|
+
deploymentStackName: string,
|
|
157
|
+
deploymentStack: DeploymentStack,
|
|
158
|
+
options?: DeploymentStacksCreateOrUpdateAtSubscriptionOptionalParams
|
|
159
|
+
): Promise<DeploymentStacksCreateOrUpdateAtSubscriptionResponse>;
|
|
160
|
+
/**
|
|
161
|
+
* Gets a Deployment Stack with a given name.
|
|
162
|
+
* @param deploymentStackName Name of the deployment stack.
|
|
163
|
+
* @param options The options parameters.
|
|
164
|
+
*/
|
|
165
|
+
getAtSubscription(
|
|
166
|
+
deploymentStackName: string,
|
|
167
|
+
options?: DeploymentStacksGetAtSubscriptionOptionalParams
|
|
168
|
+
): Promise<DeploymentStacksGetAtSubscriptionResponse>;
|
|
169
|
+
/**
|
|
170
|
+
* Deletes a Deployment Stack by name. When operation completes, status code 200 returned without
|
|
171
|
+
* content.
|
|
172
|
+
* @param deploymentStackName Name of the deployment stack.
|
|
173
|
+
* @param options The options parameters.
|
|
174
|
+
*/
|
|
175
|
+
beginDeleteAtSubscription(
|
|
176
|
+
deploymentStackName: string,
|
|
177
|
+
options?: DeploymentStacksDeleteAtSubscriptionOptionalParams
|
|
178
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
179
|
+
/**
|
|
180
|
+
* Deletes a Deployment Stack by name. When operation completes, status code 200 returned without
|
|
181
|
+
* content.
|
|
182
|
+
* @param deploymentStackName Name of the deployment stack.
|
|
183
|
+
* @param options The options parameters.
|
|
184
|
+
*/
|
|
185
|
+
beginDeleteAtSubscriptionAndWait(
|
|
186
|
+
deploymentStackName: string,
|
|
187
|
+
options?: DeploymentStacksDeleteAtSubscriptionOptionalParams
|
|
188
|
+
): Promise<void>;
|
|
189
|
+
/**
|
|
190
|
+
* Creates or updates a Deployment Stack.
|
|
191
|
+
* @param managementGroupId Management Group.
|
|
192
|
+
* @param deploymentStackName Name of the deployment stack.
|
|
193
|
+
* @param deploymentStack Deployment Stack supplied to the operation.
|
|
194
|
+
* @param options The options parameters.
|
|
195
|
+
*/
|
|
196
|
+
beginCreateOrUpdateAtManagementGroup(
|
|
197
|
+
managementGroupId: string,
|
|
198
|
+
deploymentStackName: string,
|
|
199
|
+
deploymentStack: DeploymentStack,
|
|
200
|
+
options?: DeploymentStacksCreateOrUpdateAtManagementGroupOptionalParams
|
|
201
|
+
): Promise<
|
|
202
|
+
SimplePollerLike<
|
|
203
|
+
OperationState<DeploymentStacksCreateOrUpdateAtManagementGroupResponse>,
|
|
204
|
+
DeploymentStacksCreateOrUpdateAtManagementGroupResponse
|
|
205
|
+
>
|
|
206
|
+
>;
|
|
207
|
+
/**
|
|
208
|
+
* Creates or updates a Deployment Stack.
|
|
209
|
+
* @param managementGroupId Management Group.
|
|
210
|
+
* @param deploymentStackName Name of the deployment stack.
|
|
211
|
+
* @param deploymentStack Deployment Stack supplied to the operation.
|
|
212
|
+
* @param options The options parameters.
|
|
213
|
+
*/
|
|
214
|
+
beginCreateOrUpdateAtManagementGroupAndWait(
|
|
215
|
+
managementGroupId: string,
|
|
216
|
+
deploymentStackName: string,
|
|
217
|
+
deploymentStack: DeploymentStack,
|
|
218
|
+
options?: DeploymentStacksCreateOrUpdateAtManagementGroupOptionalParams
|
|
219
|
+
): Promise<DeploymentStacksCreateOrUpdateAtManagementGroupResponse>;
|
|
220
|
+
/**
|
|
221
|
+
* Gets a Deployment Stack with a given name.
|
|
222
|
+
* @param managementGroupId Management Group.
|
|
223
|
+
* @param deploymentStackName Name of the deployment stack.
|
|
224
|
+
* @param options The options parameters.
|
|
225
|
+
*/
|
|
226
|
+
getAtManagementGroup(
|
|
227
|
+
managementGroupId: string,
|
|
228
|
+
deploymentStackName: string,
|
|
229
|
+
options?: DeploymentStacksGetAtManagementGroupOptionalParams
|
|
230
|
+
): Promise<DeploymentStacksGetAtManagementGroupResponse>;
|
|
231
|
+
/**
|
|
232
|
+
* Deletes a Deployment Stack by name. When operation completes, status code 200 returned without
|
|
233
|
+
* content.
|
|
234
|
+
* @param managementGroupId Management Group.
|
|
235
|
+
* @param deploymentStackName Name of the deployment stack.
|
|
236
|
+
* @param options The options parameters.
|
|
237
|
+
*/
|
|
238
|
+
beginDeleteAtManagementGroup(
|
|
239
|
+
managementGroupId: string,
|
|
240
|
+
deploymentStackName: string,
|
|
241
|
+
options?: DeploymentStacksDeleteAtManagementGroupOptionalParams
|
|
242
|
+
): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
243
|
+
/**
|
|
244
|
+
* Deletes a Deployment Stack by name. When operation completes, status code 200 returned without
|
|
245
|
+
* content.
|
|
246
|
+
* @param managementGroupId Management Group.
|
|
247
|
+
* @param deploymentStackName Name of the deployment stack.
|
|
248
|
+
* @param options The options parameters.
|
|
249
|
+
*/
|
|
250
|
+
beginDeleteAtManagementGroupAndWait(
|
|
251
|
+
managementGroupId: string,
|
|
252
|
+
deploymentStackName: string,
|
|
253
|
+
options?: DeploymentStacksDeleteAtManagementGroupOptionalParams
|
|
254
|
+
): Promise<void>;
|
|
255
|
+
/**
|
|
256
|
+
* Exports the template used to create the deployment stack.
|
|
257
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
258
|
+
* @param deploymentStackName Name of the deployment stack.
|
|
259
|
+
* @param options The options parameters.
|
|
260
|
+
*/
|
|
261
|
+
exportTemplateAtResourceGroup(
|
|
262
|
+
resourceGroupName: string,
|
|
263
|
+
deploymentStackName: string,
|
|
264
|
+
options?: DeploymentStacksExportTemplateAtResourceGroupOptionalParams
|
|
265
|
+
): Promise<DeploymentStacksExportTemplateAtResourceGroupResponse>;
|
|
266
|
+
/**
|
|
267
|
+
* Exports the template used to create the deployment stack.
|
|
268
|
+
* @param deploymentStackName Name of the deployment stack.
|
|
269
|
+
* @param options The options parameters.
|
|
270
|
+
*/
|
|
271
|
+
exportTemplateAtSubscription(
|
|
272
|
+
deploymentStackName: string,
|
|
273
|
+
options?: DeploymentStacksExportTemplateAtSubscriptionOptionalParams
|
|
274
|
+
): Promise<DeploymentStacksExportTemplateAtSubscriptionResponse>;
|
|
275
|
+
/**
|
|
276
|
+
* Exports the template used to create the deployment stack.
|
|
277
|
+
* @param managementGroupId Management Group.
|
|
278
|
+
* @param deploymentStackName Name of the deployment stack.
|
|
279
|
+
* @param options The options parameters.
|
|
280
|
+
*/
|
|
281
|
+
exportTemplateAtManagementGroup(
|
|
282
|
+
managementGroupId: string,
|
|
283
|
+
deploymentStackName: string,
|
|
284
|
+
options?: DeploymentStacksExportTemplateAtManagementGroupOptionalParams
|
|
285
|
+
): Promise<DeploymentStacksExportTemplateAtManagementGroupResponse>;
|
|
286
|
+
}
|
|
@@ -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
|
+
|
|
9
|
+
export * from "./deploymentStacks";
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
export interface PageInfo {
|
|
10
|
+
continuationToken?: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const pageMap = new WeakMap<object, PageInfo>();
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
17
|
+
* returns a continuation token that can be used to begin paging from
|
|
18
|
+
* that point later.
|
|
19
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
20
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
21
|
+
*/
|
|
22
|
+
export function getContinuationToken(page: unknown): string | undefined {
|
|
23
|
+
if (typeof page !== "object" || page === null) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
return pageMap.get(page)?.continuationToken;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export function setContinuationToken(
|
|
30
|
+
page: unknown,
|
|
31
|
+
continuationToken: string | undefined
|
|
32
|
+
): void {
|
|
33
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
const pageInfo = pageMap.get(page) ?? {};
|
|
37
|
+
pageInfo.continuationToken = continuationToken;
|
|
38
|
+
pageMap.set(page, pageInfo);
|
|
39
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"module": "es6",
|
|
4
|
+
"moduleResolution": "node",
|
|
5
|
+
"strict": true,
|
|
6
|
+
"target": "es6",
|
|
7
|
+
"sourceMap": true,
|
|
8
|
+
"declarationMap": true,
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"allowSyntheticDefaultImports": true,
|
|
11
|
+
"forceConsistentCasingInFileNames": true,
|
|
12
|
+
"lib": [
|
|
13
|
+
"es6",
|
|
14
|
+
"dom"
|
|
15
|
+
],
|
|
16
|
+
"declaration": true,
|
|
17
|
+
"outDir": "./dist-esm",
|
|
18
|
+
"importHelpers": true,
|
|
19
|
+
"paths": {
|
|
20
|
+
"@azure/arm-resourcesdeploymentstacks": [
|
|
21
|
+
"./src/index"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"include": [
|
|
26
|
+
"./src/**/*.ts",
|
|
27
|
+
"./test/**/*.ts",
|
|
28
|
+
"samples-dev/**/*.ts"
|
|
29
|
+
],
|
|
30
|
+
"exclude": [
|
|
31
|
+
"node_modules"
|
|
32
|
+
]
|
|
33
|
+
}
|