@azure/arm-standbypool 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 +2605 -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/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +53 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsCreateOrUpdateSample.js +57 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsDeleteSample.js +39 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsGetSample.js +39 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsListByResourceGroupSample.js +54 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsListBySubscriptionSample.js +53 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsUpdateSample.js +56 -0
- package/dist-esm/samples-dev/standbyContainerGroupPoolsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsCreateOrUpdateSample.js +48 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsDeleteSample.js +39 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsGetSample.js +39 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsListByResourceGroupSample.js +54 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsListBySubscriptionSample.js +53 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsUpdateSample.js +47 -0
- package/dist-esm/samples-dev/standbyVirtualMachinePoolsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/standbyVirtualMachinesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/standbyVirtualMachinesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/standbyVirtualMachinesGetSample.js +40 -0
- package/dist-esm/samples-dev/standbyVirtualMachinesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/standbyVirtualMachinesListByStandbyVirtualMachinePoolResourceSample.d.ts +2 -0
- package/dist-esm/samples-dev/standbyVirtualMachinesListByStandbyVirtualMachinePoolResourceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/standbyVirtualMachinesListByStandbyVirtualMachinePoolResourceSample.js +55 -0
- package/dist-esm/samples-dev/standbyVirtualMachinesListByStandbyVirtualMachinePoolResourceSample.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 +581 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +62 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +38 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +877 -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 +143 -0
- package/dist-esm/src/models/parameters.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 +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +133 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/standbyContainerGroupPools.d.ts +99 -0
- package/dist-esm/src/operations/standbyContainerGroupPools.d.ts.map +1 -0
- package/dist-esm/src/operations/standbyContainerGroupPools.js +502 -0
- package/dist-esm/src/operations/standbyContainerGroupPools.js.map +1 -0
- package/dist-esm/src/operations/standbyVirtualMachinePools.d.ts +99 -0
- package/dist-esm/src/operations/standbyVirtualMachinePools.d.ts.map +1 -0
- package/dist-esm/src/operations/standbyVirtualMachinePools.js +502 -0
- package/dist-esm/src/operations/standbyVirtualMachinePools.js.map +1 -0
- package/dist-esm/src/operations/standbyVirtualMachines.d.ts +47 -0
- package/dist-esm/src/operations/standbyVirtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operations/standbyVirtualMachines.js +188 -0
- package/dist-esm/src/operations/standbyVirtualMachines.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/standbyContainerGroupPools.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/standbyContainerGroupPools.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/standbyContainerGroupPools.js +9 -0
- package/dist-esm/src/operationsInterfaces/standbyContainerGroupPools.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/standbyVirtualMachinePools.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/standbyVirtualMachinePools.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/standbyVirtualMachinePools.js +9 -0
- package/dist-esm/src/operationsInterfaces/standbyVirtualMachinePools.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/standbyVirtualMachines.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/standbyVirtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/standbyVirtualMachines.js +9 -0
- package/dist-esm/src/operationsInterfaces/standbyVirtualMachines.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/src/standbyPoolManagementClient.d.ts +23 -0
- package/dist-esm/src/standbyPoolManagementClient.d.ts.map +1 -0
- package/dist-esm/src/standbyPoolManagementClient.js +103 -0
- package/dist-esm/src/standbyPoolManagementClient.js.map +1 -0
- package/dist-esm/test/standbypool_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/standbypool_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/standbypool_operations_test.spec.js +73 -0
- package/dist-esm/test/standbypool_operations_test.spec.js.map +1 -0
- package/package.json +118 -0
- package/review/arm-standbypool.api.md +520 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +42 -0
- package/src/models/index.ts +695 -0
- package/src/models/mappers.ts +947 -0
- package/src/models/parameters.ts +167 -0
- package/src/operations/index.ts +12 -0
- package/src/operations/operations.ts +149 -0
- package/src/operations/standbyContainerGroupPools.ts +650 -0
- package/src/operations/standbyVirtualMachinePools.ts +650 -0
- package/src/operations/standbyVirtualMachines.ts +252 -0
- package/src/operationsInterfaces/index.ts +12 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/standbyContainerGroupPools.ts +127 -0
- package/src/operationsInterfaces/standbyVirtualMachinePools.ts +127 -0
- package/src/operationsInterfaces/standbyVirtualMachines.ts +44 -0
- package/src/pagingHelper.ts +39 -0
- package/src/standbyPoolManagementClient.ts +157 -0
- package/tsconfig.json +33 -0
- package/types/arm-standbypool.d.ts +853 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,502 @@
|
|
|
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers";
|
|
12
|
+
import * as Parameters from "../models/parameters";
|
|
13
|
+
import { createHttpPoller, } from "@azure/core-lro";
|
|
14
|
+
import { createLroSpec } from "../lroImpl";
|
|
15
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
|
+
/** Class containing StandbyContainerGroupPools operations. */
|
|
17
|
+
export class StandbyContainerGroupPoolsImpl {
|
|
18
|
+
/**
|
|
19
|
+
* Initialize a new instance of the class StandbyContainerGroupPools class.
|
|
20
|
+
* @param client Reference to the service client
|
|
21
|
+
*/
|
|
22
|
+
constructor(client) {
|
|
23
|
+
this.client = client;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* List StandbyContainerGroupPoolResource resources by subscription ID
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
listBySubscription(options) {
|
|
30
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
|
31
|
+
return {
|
|
32
|
+
next() {
|
|
33
|
+
return iter.next();
|
|
34
|
+
},
|
|
35
|
+
[Symbol.asyncIterator]() {
|
|
36
|
+
return this;
|
|
37
|
+
},
|
|
38
|
+
byPage: (settings) => {
|
|
39
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
40
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
41
|
+
}
|
|
42
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
listBySubscriptionPagingPage(options, settings) {
|
|
47
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
48
|
+
let result;
|
|
49
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
50
|
+
if (!continuationToken) {
|
|
51
|
+
result = yield __await(this._listBySubscription(options));
|
|
52
|
+
let page = result.value || [];
|
|
53
|
+
continuationToken = result.nextLink;
|
|
54
|
+
setContinuationToken(page, continuationToken);
|
|
55
|
+
yield yield __await(page);
|
|
56
|
+
}
|
|
57
|
+
while (continuationToken) {
|
|
58
|
+
result = yield __await(this._listBySubscriptionNext(continuationToken, options));
|
|
59
|
+
continuationToken = result.nextLink;
|
|
60
|
+
let page = result.value || [];
|
|
61
|
+
setContinuationToken(page, continuationToken);
|
|
62
|
+
yield yield __await(page);
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
listBySubscriptionPagingAll(options) {
|
|
67
|
+
return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
68
|
+
var _a, e_1, _b, _c;
|
|
69
|
+
try {
|
|
70
|
+
for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
71
|
+
_c = _f.value;
|
|
72
|
+
_d = false;
|
|
73
|
+
const page = _c;
|
|
74
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
78
|
+
finally {
|
|
79
|
+
try {
|
|
80
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
81
|
+
}
|
|
82
|
+
finally { if (e_1) throw e_1.error; }
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* List StandbyContainerGroupPoolResource resources by resource group
|
|
88
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
92
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
93
|
+
return {
|
|
94
|
+
next() {
|
|
95
|
+
return iter.next();
|
|
96
|
+
},
|
|
97
|
+
[Symbol.asyncIterator]() {
|
|
98
|
+
return this;
|
|
99
|
+
},
|
|
100
|
+
byPage: (settings) => {
|
|
101
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
102
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
103
|
+
}
|
|
104
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
105
|
+
},
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
109
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
110
|
+
let result;
|
|
111
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
112
|
+
if (!continuationToken) {
|
|
113
|
+
result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
114
|
+
let page = result.value || [];
|
|
115
|
+
continuationToken = result.nextLink;
|
|
116
|
+
setContinuationToken(page, continuationToken);
|
|
117
|
+
yield yield __await(page);
|
|
118
|
+
}
|
|
119
|
+
while (continuationToken) {
|
|
120
|
+
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
121
|
+
continuationToken = result.nextLink;
|
|
122
|
+
let page = result.value || [];
|
|
123
|
+
setContinuationToken(page, continuationToken);
|
|
124
|
+
yield yield __await(page);
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
129
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
130
|
+
var _a, e_2, _b, _c;
|
|
131
|
+
try {
|
|
132
|
+
for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
133
|
+
_c = _f.value;
|
|
134
|
+
_d = false;
|
|
135
|
+
const page = _c;
|
|
136
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
140
|
+
finally {
|
|
141
|
+
try {
|
|
142
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
143
|
+
}
|
|
144
|
+
finally { if (e_2) throw e_2.error; }
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* List StandbyContainerGroupPoolResource resources by subscription ID
|
|
150
|
+
* @param options The options parameters.
|
|
151
|
+
*/
|
|
152
|
+
_listBySubscription(options) {
|
|
153
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* List StandbyContainerGroupPoolResource resources by resource group
|
|
157
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
158
|
+
* @param options The options parameters.
|
|
159
|
+
*/
|
|
160
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
161
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Get a StandbyContainerGroupPoolResource
|
|
165
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
166
|
+
* @param standbyContainerGroupPoolName Name of the standby container group pool
|
|
167
|
+
* @param options The options parameters.
|
|
168
|
+
*/
|
|
169
|
+
get(resourceGroupName, standbyContainerGroupPoolName, options) {
|
|
170
|
+
return this.client.sendOperationRequest({ resourceGroupName, standbyContainerGroupPoolName, options }, getOperationSpec);
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Create a StandbyContainerGroupPoolResource
|
|
174
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
175
|
+
* @param standbyContainerGroupPoolName Name of the standby container group pool
|
|
176
|
+
* @param resource Resource create parameters.
|
|
177
|
+
* @param options The options parameters.
|
|
178
|
+
*/
|
|
179
|
+
beginCreateOrUpdate(resourceGroupName, standbyContainerGroupPoolName, resource, options) {
|
|
180
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
181
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
182
|
+
return this.client.sendOperationRequest(args, spec);
|
|
183
|
+
});
|
|
184
|
+
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
185
|
+
var _a;
|
|
186
|
+
let currentRawResponse = undefined;
|
|
187
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
188
|
+
const callback = (rawResponse, flatResponse) => {
|
|
189
|
+
currentRawResponse = rawResponse;
|
|
190
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
191
|
+
};
|
|
192
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
193
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
194
|
+
return {
|
|
195
|
+
flatResponse,
|
|
196
|
+
rawResponse: {
|
|
197
|
+
statusCode: currentRawResponse.status,
|
|
198
|
+
body: currentRawResponse.parsedBody,
|
|
199
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
200
|
+
},
|
|
201
|
+
};
|
|
202
|
+
});
|
|
203
|
+
const lro = createLroSpec({
|
|
204
|
+
sendOperationFn,
|
|
205
|
+
args: {
|
|
206
|
+
resourceGroupName,
|
|
207
|
+
standbyContainerGroupPoolName,
|
|
208
|
+
resource,
|
|
209
|
+
options,
|
|
210
|
+
},
|
|
211
|
+
spec: createOrUpdateOperationSpec,
|
|
212
|
+
});
|
|
213
|
+
const poller = yield createHttpPoller(lro, {
|
|
214
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
215
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
216
|
+
resourceLocationConfig: "azure-async-operation",
|
|
217
|
+
});
|
|
218
|
+
yield poller.poll();
|
|
219
|
+
return poller;
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Create a StandbyContainerGroupPoolResource
|
|
224
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
225
|
+
* @param standbyContainerGroupPoolName Name of the standby container group pool
|
|
226
|
+
* @param resource Resource create parameters.
|
|
227
|
+
* @param options The options parameters.
|
|
228
|
+
*/
|
|
229
|
+
beginCreateOrUpdateAndWait(resourceGroupName, standbyContainerGroupPoolName, resource, options) {
|
|
230
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
231
|
+
const poller = yield this.beginCreateOrUpdate(resourceGroupName, standbyContainerGroupPoolName, resource, options);
|
|
232
|
+
return poller.pollUntilDone();
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Update a StandbyContainerGroupPoolResource
|
|
237
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
238
|
+
* @param standbyContainerGroupPoolName Name of the standby container group pool
|
|
239
|
+
* @param properties The resource properties to be updated.
|
|
240
|
+
* @param options The options parameters.
|
|
241
|
+
*/
|
|
242
|
+
update(resourceGroupName, standbyContainerGroupPoolName, properties, options) {
|
|
243
|
+
return this.client.sendOperationRequest({ resourceGroupName, standbyContainerGroupPoolName, properties, options }, updateOperationSpec);
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Delete a StandbyContainerGroupPoolResource
|
|
247
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
248
|
+
* @param standbyContainerGroupPoolName Name of the standby container group pool
|
|
249
|
+
* @param options The options parameters.
|
|
250
|
+
*/
|
|
251
|
+
beginDelete(resourceGroupName, standbyContainerGroupPoolName, options) {
|
|
252
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
253
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
254
|
+
return this.client.sendOperationRequest(args, spec);
|
|
255
|
+
});
|
|
256
|
+
const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
257
|
+
var _a;
|
|
258
|
+
let currentRawResponse = undefined;
|
|
259
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
260
|
+
const callback = (rawResponse, flatResponse) => {
|
|
261
|
+
currentRawResponse = rawResponse;
|
|
262
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
263
|
+
};
|
|
264
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
265
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
266
|
+
return {
|
|
267
|
+
flatResponse,
|
|
268
|
+
rawResponse: {
|
|
269
|
+
statusCode: currentRawResponse.status,
|
|
270
|
+
body: currentRawResponse.parsedBody,
|
|
271
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
272
|
+
},
|
|
273
|
+
};
|
|
274
|
+
});
|
|
275
|
+
const lro = createLroSpec({
|
|
276
|
+
sendOperationFn,
|
|
277
|
+
args: { resourceGroupName, standbyContainerGroupPoolName, options },
|
|
278
|
+
spec: deleteOperationSpec,
|
|
279
|
+
});
|
|
280
|
+
const poller = yield createHttpPoller(lro, {
|
|
281
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
282
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
283
|
+
resourceLocationConfig: "location",
|
|
284
|
+
});
|
|
285
|
+
yield poller.poll();
|
|
286
|
+
return poller;
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Delete a StandbyContainerGroupPoolResource
|
|
291
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
292
|
+
* @param standbyContainerGroupPoolName Name of the standby container group pool
|
|
293
|
+
* @param options The options parameters.
|
|
294
|
+
*/
|
|
295
|
+
beginDeleteAndWait(resourceGroupName, standbyContainerGroupPoolName, options) {
|
|
296
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
297
|
+
const poller = yield this.beginDelete(resourceGroupName, standbyContainerGroupPoolName, options);
|
|
298
|
+
return poller.pollUntilDone();
|
|
299
|
+
});
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* ListBySubscriptionNext
|
|
303
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
304
|
+
* @param options The options parameters.
|
|
305
|
+
*/
|
|
306
|
+
_listBySubscriptionNext(nextLink, options) {
|
|
307
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* ListByResourceGroupNext
|
|
311
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
312
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
313
|
+
* @param options The options parameters.
|
|
314
|
+
*/
|
|
315
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
316
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
// Operation Specifications
|
|
320
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
321
|
+
const listBySubscriptionOperationSpec = {
|
|
322
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyContainerGroupPools",
|
|
323
|
+
httpMethod: "GET",
|
|
324
|
+
responses: {
|
|
325
|
+
200: {
|
|
326
|
+
bodyMapper: Mappers.StandbyContainerGroupPoolResourceListResult,
|
|
327
|
+
},
|
|
328
|
+
default: {
|
|
329
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
330
|
+
},
|
|
331
|
+
},
|
|
332
|
+
queryParameters: [Parameters.apiVersion],
|
|
333
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
334
|
+
headerParameters: [Parameters.accept],
|
|
335
|
+
serializer,
|
|
336
|
+
};
|
|
337
|
+
const listByResourceGroupOperationSpec = {
|
|
338
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools",
|
|
339
|
+
httpMethod: "GET",
|
|
340
|
+
responses: {
|
|
341
|
+
200: {
|
|
342
|
+
bodyMapper: Mappers.StandbyContainerGroupPoolResourceListResult,
|
|
343
|
+
},
|
|
344
|
+
default: {
|
|
345
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
346
|
+
},
|
|
347
|
+
},
|
|
348
|
+
queryParameters: [Parameters.apiVersion],
|
|
349
|
+
urlParameters: [
|
|
350
|
+
Parameters.$host,
|
|
351
|
+
Parameters.subscriptionId,
|
|
352
|
+
Parameters.resourceGroupName,
|
|
353
|
+
],
|
|
354
|
+
headerParameters: [Parameters.accept],
|
|
355
|
+
serializer,
|
|
356
|
+
};
|
|
357
|
+
const getOperationSpec = {
|
|
358
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}",
|
|
359
|
+
httpMethod: "GET",
|
|
360
|
+
responses: {
|
|
361
|
+
200: {
|
|
362
|
+
bodyMapper: Mappers.StandbyContainerGroupPoolResource,
|
|
363
|
+
},
|
|
364
|
+
default: {
|
|
365
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
366
|
+
},
|
|
367
|
+
},
|
|
368
|
+
queryParameters: [Parameters.apiVersion],
|
|
369
|
+
urlParameters: [
|
|
370
|
+
Parameters.$host,
|
|
371
|
+
Parameters.subscriptionId,
|
|
372
|
+
Parameters.resourceGroupName,
|
|
373
|
+
Parameters.standbyContainerGroupPoolName,
|
|
374
|
+
],
|
|
375
|
+
headerParameters: [Parameters.accept],
|
|
376
|
+
serializer,
|
|
377
|
+
};
|
|
378
|
+
const createOrUpdateOperationSpec = {
|
|
379
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}",
|
|
380
|
+
httpMethod: "PUT",
|
|
381
|
+
responses: {
|
|
382
|
+
200: {
|
|
383
|
+
bodyMapper: Mappers.StandbyContainerGroupPoolResource,
|
|
384
|
+
},
|
|
385
|
+
201: {
|
|
386
|
+
bodyMapper: Mappers.StandbyContainerGroupPoolResource,
|
|
387
|
+
},
|
|
388
|
+
202: {
|
|
389
|
+
bodyMapper: Mappers.StandbyContainerGroupPoolResource,
|
|
390
|
+
},
|
|
391
|
+
204: {
|
|
392
|
+
bodyMapper: Mappers.StandbyContainerGroupPoolResource,
|
|
393
|
+
},
|
|
394
|
+
default: {
|
|
395
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
396
|
+
},
|
|
397
|
+
},
|
|
398
|
+
requestBody: Parameters.resource,
|
|
399
|
+
queryParameters: [Parameters.apiVersion],
|
|
400
|
+
urlParameters: [
|
|
401
|
+
Parameters.$host,
|
|
402
|
+
Parameters.subscriptionId,
|
|
403
|
+
Parameters.resourceGroupName,
|
|
404
|
+
Parameters.standbyContainerGroupPoolName,
|
|
405
|
+
],
|
|
406
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
407
|
+
mediaType: "json",
|
|
408
|
+
serializer,
|
|
409
|
+
};
|
|
410
|
+
const updateOperationSpec = {
|
|
411
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}",
|
|
412
|
+
httpMethod: "PATCH",
|
|
413
|
+
responses: {
|
|
414
|
+
200: {
|
|
415
|
+
bodyMapper: Mappers.StandbyContainerGroupPoolResource,
|
|
416
|
+
},
|
|
417
|
+
default: {
|
|
418
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
419
|
+
},
|
|
420
|
+
},
|
|
421
|
+
requestBody: Parameters.properties,
|
|
422
|
+
queryParameters: [Parameters.apiVersion],
|
|
423
|
+
urlParameters: [
|
|
424
|
+
Parameters.$host,
|
|
425
|
+
Parameters.subscriptionId,
|
|
426
|
+
Parameters.resourceGroupName,
|
|
427
|
+
Parameters.standbyContainerGroupPoolName,
|
|
428
|
+
],
|
|
429
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
430
|
+
mediaType: "json",
|
|
431
|
+
serializer,
|
|
432
|
+
};
|
|
433
|
+
const deleteOperationSpec = {
|
|
434
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}",
|
|
435
|
+
httpMethod: "DELETE",
|
|
436
|
+
responses: {
|
|
437
|
+
200: {
|
|
438
|
+
headersMapper: Mappers.StandbyContainerGroupPoolsDeleteHeaders,
|
|
439
|
+
},
|
|
440
|
+
201: {
|
|
441
|
+
headersMapper: Mappers.StandbyContainerGroupPoolsDeleteHeaders,
|
|
442
|
+
},
|
|
443
|
+
202: {
|
|
444
|
+
headersMapper: Mappers.StandbyContainerGroupPoolsDeleteHeaders,
|
|
445
|
+
},
|
|
446
|
+
204: {
|
|
447
|
+
headersMapper: Mappers.StandbyContainerGroupPoolsDeleteHeaders,
|
|
448
|
+
},
|
|
449
|
+
default: {
|
|
450
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
451
|
+
},
|
|
452
|
+
},
|
|
453
|
+
queryParameters: [Parameters.apiVersion],
|
|
454
|
+
urlParameters: [
|
|
455
|
+
Parameters.$host,
|
|
456
|
+
Parameters.subscriptionId,
|
|
457
|
+
Parameters.resourceGroupName,
|
|
458
|
+
Parameters.standbyContainerGroupPoolName,
|
|
459
|
+
],
|
|
460
|
+
headerParameters: [Parameters.accept],
|
|
461
|
+
serializer,
|
|
462
|
+
};
|
|
463
|
+
const listBySubscriptionNextOperationSpec = {
|
|
464
|
+
path: "{nextLink}",
|
|
465
|
+
httpMethod: "GET",
|
|
466
|
+
responses: {
|
|
467
|
+
200: {
|
|
468
|
+
bodyMapper: Mappers.StandbyContainerGroupPoolResourceListResult,
|
|
469
|
+
},
|
|
470
|
+
default: {
|
|
471
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
472
|
+
},
|
|
473
|
+
},
|
|
474
|
+
urlParameters: [
|
|
475
|
+
Parameters.$host,
|
|
476
|
+
Parameters.nextLink,
|
|
477
|
+
Parameters.subscriptionId,
|
|
478
|
+
],
|
|
479
|
+
headerParameters: [Parameters.accept],
|
|
480
|
+
serializer,
|
|
481
|
+
};
|
|
482
|
+
const listByResourceGroupNextOperationSpec = {
|
|
483
|
+
path: "{nextLink}",
|
|
484
|
+
httpMethod: "GET",
|
|
485
|
+
responses: {
|
|
486
|
+
200: {
|
|
487
|
+
bodyMapper: Mappers.StandbyContainerGroupPoolResourceListResult,
|
|
488
|
+
},
|
|
489
|
+
default: {
|
|
490
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
491
|
+
},
|
|
492
|
+
},
|
|
493
|
+
urlParameters: [
|
|
494
|
+
Parameters.$host,
|
|
495
|
+
Parameters.nextLink,
|
|
496
|
+
Parameters.subscriptionId,
|
|
497
|
+
Parameters.resourceGroupName,
|
|
498
|
+
],
|
|
499
|
+
headerParameters: [Parameters.accept],
|
|
500
|
+
serializer,
|
|
501
|
+
};
|
|
502
|
+
//# sourceMappingURL=standbyContainerGroupPools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"standbyContainerGroupPools.js","sourceRoot":"","sources":["../../../src/operations/standbyContainerGroupPools.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAsB3C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAKzC;;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;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { StandbyVirtualMachinePools } from "../operationsInterfaces";
|
|
3
|
+
import { StandbyPoolManagementClient } from "../standbyPoolManagementClient";
|
|
4
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import { StandbyVirtualMachinePoolResource, StandbyVirtualMachinePoolsListBySubscriptionOptionalParams, StandbyVirtualMachinePoolsListByResourceGroupOptionalParams, StandbyVirtualMachinePoolsGetOptionalParams, StandbyVirtualMachinePoolsGetResponse, StandbyVirtualMachinePoolsCreateOrUpdateOptionalParams, StandbyVirtualMachinePoolsCreateOrUpdateResponse, StandbyVirtualMachinePoolResourceUpdate, StandbyVirtualMachinePoolsUpdateOptionalParams, StandbyVirtualMachinePoolsUpdateResponse, StandbyVirtualMachinePoolsDeleteOptionalParams, StandbyVirtualMachinePoolsDeleteResponse } from "../models";
|
|
6
|
+
/** Class containing StandbyVirtualMachinePools operations. */
|
|
7
|
+
export declare class StandbyVirtualMachinePoolsImpl implements StandbyVirtualMachinePools {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class StandbyVirtualMachinePools class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: StandbyPoolManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* List StandbyVirtualMachinePoolResource resources by subscription ID
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
listBySubscription(options?: StandbyVirtualMachinePoolsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<StandbyVirtualMachinePoolResource>;
|
|
19
|
+
private listBySubscriptionPagingPage;
|
|
20
|
+
private listBySubscriptionPagingAll;
|
|
21
|
+
/**
|
|
22
|
+
* List StandbyVirtualMachinePoolResource resources by resource group
|
|
23
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
listByResourceGroup(resourceGroupName: string, options?: StandbyVirtualMachinePoolsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<StandbyVirtualMachinePoolResource>;
|
|
27
|
+
private listByResourceGroupPagingPage;
|
|
28
|
+
private listByResourceGroupPagingAll;
|
|
29
|
+
/**
|
|
30
|
+
* List StandbyVirtualMachinePoolResource resources by subscription ID
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
private _listBySubscription;
|
|
34
|
+
/**
|
|
35
|
+
* List StandbyVirtualMachinePoolResource resources by resource group
|
|
36
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
private _listByResourceGroup;
|
|
40
|
+
/**
|
|
41
|
+
* Get a StandbyVirtualMachinePoolResource
|
|
42
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
43
|
+
* @param standbyVirtualMachinePoolName Name of the standby virtual machine pool
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
get(resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinePoolsGetOptionalParams): Promise<StandbyVirtualMachinePoolsGetResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Create a StandbyVirtualMachinePoolResource
|
|
49
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
50
|
+
* @param standbyVirtualMachinePoolName Name of the standby virtual machine pool
|
|
51
|
+
* @param resource Resource create parameters.
|
|
52
|
+
* @param options The options parameters.
|
|
53
|
+
*/
|
|
54
|
+
beginCreateOrUpdate(resourceGroupName: string, standbyVirtualMachinePoolName: string, resource: StandbyVirtualMachinePoolResource, options?: StandbyVirtualMachinePoolsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<StandbyVirtualMachinePoolsCreateOrUpdateResponse>, StandbyVirtualMachinePoolsCreateOrUpdateResponse>>;
|
|
55
|
+
/**
|
|
56
|
+
* Create a StandbyVirtualMachinePoolResource
|
|
57
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
58
|
+
* @param standbyVirtualMachinePoolName Name of the standby virtual machine pool
|
|
59
|
+
* @param resource Resource create parameters.
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, standbyVirtualMachinePoolName: string, resource: StandbyVirtualMachinePoolResource, options?: StandbyVirtualMachinePoolsCreateOrUpdateOptionalParams): Promise<StandbyVirtualMachinePoolsCreateOrUpdateResponse>;
|
|
63
|
+
/**
|
|
64
|
+
* Update a StandbyVirtualMachinePoolResource
|
|
65
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
66
|
+
* @param standbyVirtualMachinePoolName Name of the standby virtual machine pool
|
|
67
|
+
* @param properties The resource properties to be updated.
|
|
68
|
+
* @param options The options parameters.
|
|
69
|
+
*/
|
|
70
|
+
update(resourceGroupName: string, standbyVirtualMachinePoolName: string, properties: StandbyVirtualMachinePoolResourceUpdate, options?: StandbyVirtualMachinePoolsUpdateOptionalParams): Promise<StandbyVirtualMachinePoolsUpdateResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* Delete a StandbyVirtualMachinePoolResource
|
|
73
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
74
|
+
* @param standbyVirtualMachinePoolName Name of the standby virtual machine pool
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
beginDelete(resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinePoolsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<StandbyVirtualMachinePoolsDeleteResponse>, StandbyVirtualMachinePoolsDeleteResponse>>;
|
|
78
|
+
/**
|
|
79
|
+
* Delete a StandbyVirtualMachinePoolResource
|
|
80
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
81
|
+
* @param standbyVirtualMachinePoolName Name of the standby virtual machine pool
|
|
82
|
+
* @param options The options parameters.
|
|
83
|
+
*/
|
|
84
|
+
beginDeleteAndWait(resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinePoolsDeleteOptionalParams): Promise<StandbyVirtualMachinePoolsDeleteResponse>;
|
|
85
|
+
/**
|
|
86
|
+
* ListBySubscriptionNext
|
|
87
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
|
88
|
+
* @param options The options parameters.
|
|
89
|
+
*/
|
|
90
|
+
private _listBySubscriptionNext;
|
|
91
|
+
/**
|
|
92
|
+
* ListByResourceGroupNext
|
|
93
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
94
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
95
|
+
* @param options The options parameters.
|
|
96
|
+
*/
|
|
97
|
+
private _listByResourceGroupNext;
|
|
98
|
+
}
|
|
99
|
+
//# sourceMappingURL=standbyVirtualMachinePools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"standbyVirtualMachinePools.d.ts","sourceRoot":"","sources":["../../../src/operations/standbyVirtualMachinePools.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAIrE,OAAO,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,iCAAiC,EAEjC,0DAA0D,EAG1D,2DAA2D,EAE3D,2CAA2C,EAC3C,qCAAqC,EACrC,sDAAsD,EACtD,gDAAgD,EAChD,uCAAuC,EACvC,8CAA8C,EAC9C,wCAAwC,EACxC,8CAA8C,EAC9C,wCAAwC,EAGzC,MAA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