@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,520 @@
|
|
|
1
|
+
## API Report File for "@azure/arm-standbypool"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import * as coreAuth from '@azure/core-auth';
|
|
8
|
+
import * as coreClient from '@azure/core-client';
|
|
9
|
+
import { OperationState } from '@azure/core-lro';
|
|
10
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
11
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
|
12
|
+
|
|
13
|
+
// @public
|
|
14
|
+
export type ActionType = string;
|
|
15
|
+
|
|
16
|
+
// @public
|
|
17
|
+
export interface ContainerGroupProfile {
|
|
18
|
+
id: string;
|
|
19
|
+
revision?: number;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// @public
|
|
23
|
+
export interface ContainerGroupProfileUpdate {
|
|
24
|
+
id?: string;
|
|
25
|
+
revision?: number;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// @public
|
|
29
|
+
export interface ContainerGroupProperties {
|
|
30
|
+
containerGroupProfile: ContainerGroupProfile;
|
|
31
|
+
subnetIds?: Subnet[];
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// @public
|
|
35
|
+
export interface ContainerGroupPropertiesUpdate {
|
|
36
|
+
containerGroupProfile?: ContainerGroupProfileUpdate;
|
|
37
|
+
subnetIds?: Subnet[];
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// @public
|
|
41
|
+
export type CreatedByType = string;
|
|
42
|
+
|
|
43
|
+
// @public
|
|
44
|
+
export interface ErrorAdditionalInfo {
|
|
45
|
+
readonly info?: Record<string, unknown>;
|
|
46
|
+
readonly type?: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// @public
|
|
50
|
+
export interface ErrorDetail {
|
|
51
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
52
|
+
readonly code?: string;
|
|
53
|
+
readonly details?: ErrorDetail[];
|
|
54
|
+
readonly message?: string;
|
|
55
|
+
readonly target?: string;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// @public
|
|
59
|
+
export interface ErrorResponse {
|
|
60
|
+
error?: ErrorDetail;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// @public
|
|
64
|
+
export function getContinuationToken(page: unknown): string | undefined;
|
|
65
|
+
|
|
66
|
+
// @public
|
|
67
|
+
export enum KnownActionType {
|
|
68
|
+
Internal = "Internal"
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// @public
|
|
72
|
+
export enum KnownCreatedByType {
|
|
73
|
+
Application = "Application",
|
|
74
|
+
Key = "Key",
|
|
75
|
+
ManagedIdentity = "ManagedIdentity",
|
|
76
|
+
User = "User"
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// @public
|
|
80
|
+
export enum KnownOrigin {
|
|
81
|
+
System = "system",
|
|
82
|
+
User = "user",
|
|
83
|
+
UserSystem = "user,system"
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// @public
|
|
87
|
+
export enum KnownProvisioningState {
|
|
88
|
+
Canceled = "Canceled",
|
|
89
|
+
Deleting = "Deleting",
|
|
90
|
+
Failed = "Failed",
|
|
91
|
+
Succeeded = "Succeeded"
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// @public
|
|
95
|
+
export enum KnownRefillPolicy {
|
|
96
|
+
Always = "always"
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
// @public
|
|
100
|
+
export enum KnownVirtualMachineState {
|
|
101
|
+
Deallocated = "Deallocated",
|
|
102
|
+
Running = "Running"
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// @public
|
|
106
|
+
export interface Operation {
|
|
107
|
+
readonly actionType?: ActionType;
|
|
108
|
+
display?: OperationDisplay;
|
|
109
|
+
readonly isDataAction?: boolean;
|
|
110
|
+
readonly name?: string;
|
|
111
|
+
readonly origin?: Origin;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// @public
|
|
115
|
+
export interface OperationDisplay {
|
|
116
|
+
readonly description?: string;
|
|
117
|
+
readonly operation?: string;
|
|
118
|
+
readonly provider?: string;
|
|
119
|
+
readonly resource?: string;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// @public
|
|
123
|
+
export interface OperationListResult {
|
|
124
|
+
readonly nextLink?: string;
|
|
125
|
+
readonly value?: Operation[];
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// @public
|
|
129
|
+
export interface Operations {
|
|
130
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// @public
|
|
134
|
+
export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
// @public
|
|
138
|
+
export type OperationsListNextResponse = OperationListResult;
|
|
139
|
+
|
|
140
|
+
// @public
|
|
141
|
+
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
// @public
|
|
145
|
+
export type OperationsListResponse = OperationListResult;
|
|
146
|
+
|
|
147
|
+
// @public
|
|
148
|
+
export type Origin = string;
|
|
149
|
+
|
|
150
|
+
// @public
|
|
151
|
+
export type ProvisioningState = string;
|
|
152
|
+
|
|
153
|
+
// @public
|
|
154
|
+
export interface ProxyResource extends Resource {
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
// @public
|
|
158
|
+
export type RefillPolicy = string;
|
|
159
|
+
|
|
160
|
+
// @public
|
|
161
|
+
export interface Resource {
|
|
162
|
+
readonly id?: string;
|
|
163
|
+
readonly name?: string;
|
|
164
|
+
readonly systemData?: SystemData;
|
|
165
|
+
readonly type?: string;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// @public
|
|
169
|
+
export interface StandbyContainerGroupPoolElasticityProfile {
|
|
170
|
+
maxReadyCapacity: number;
|
|
171
|
+
refillPolicy?: RefillPolicy;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
// @public
|
|
175
|
+
export interface StandbyContainerGroupPoolElasticityProfileUpdate {
|
|
176
|
+
maxReadyCapacity?: number;
|
|
177
|
+
refillPolicy?: RefillPolicy;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
// @public
|
|
181
|
+
export interface StandbyContainerGroupPoolResource extends TrackedResource {
|
|
182
|
+
properties?: StandbyContainerGroupPoolResourceProperties;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
// @public
|
|
186
|
+
export interface StandbyContainerGroupPoolResourceListResult {
|
|
187
|
+
nextLink?: string;
|
|
188
|
+
value: StandbyContainerGroupPoolResource[];
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
// @public
|
|
192
|
+
export interface StandbyContainerGroupPoolResourceProperties {
|
|
193
|
+
containerGroupProperties: ContainerGroupProperties;
|
|
194
|
+
elasticityProfile: StandbyContainerGroupPoolElasticityProfile;
|
|
195
|
+
readonly provisioningState?: ProvisioningState;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
// @public
|
|
199
|
+
export interface StandbyContainerGroupPoolResourceUpdate {
|
|
200
|
+
properties?: StandbyContainerGroupPoolResourceUpdateProperties;
|
|
201
|
+
tags?: {
|
|
202
|
+
[propertyName: string]: string;
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
// @public
|
|
207
|
+
export interface StandbyContainerGroupPoolResourceUpdateProperties {
|
|
208
|
+
containerGroupProperties?: ContainerGroupPropertiesUpdate;
|
|
209
|
+
elasticityProfile?: StandbyContainerGroupPoolElasticityProfileUpdate;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
// @public
|
|
213
|
+
export interface StandbyContainerGroupPools {
|
|
214
|
+
beginCreateOrUpdate(resourceGroupName: string, standbyContainerGroupPoolName: string, resource: StandbyContainerGroupPoolResource, options?: StandbyContainerGroupPoolsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<StandbyContainerGroupPoolsCreateOrUpdateResponse>, StandbyContainerGroupPoolsCreateOrUpdateResponse>>;
|
|
215
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, standbyContainerGroupPoolName: string, resource: StandbyContainerGroupPoolResource, options?: StandbyContainerGroupPoolsCreateOrUpdateOptionalParams): Promise<StandbyContainerGroupPoolsCreateOrUpdateResponse>;
|
|
216
|
+
beginDelete(resourceGroupName: string, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<StandbyContainerGroupPoolsDeleteResponse>, StandbyContainerGroupPoolsDeleteResponse>>;
|
|
217
|
+
beginDeleteAndWait(resourceGroupName: string, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolsDeleteOptionalParams): Promise<StandbyContainerGroupPoolsDeleteResponse>;
|
|
218
|
+
get(resourceGroupName: string, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolsGetOptionalParams): Promise<StandbyContainerGroupPoolsGetResponse>;
|
|
219
|
+
listByResourceGroup(resourceGroupName: string, options?: StandbyContainerGroupPoolsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<StandbyContainerGroupPoolResource>;
|
|
220
|
+
listBySubscription(options?: StandbyContainerGroupPoolsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<StandbyContainerGroupPoolResource>;
|
|
221
|
+
update(resourceGroupName: string, standbyContainerGroupPoolName: string, properties: StandbyContainerGroupPoolResourceUpdate, options?: StandbyContainerGroupPoolsUpdateOptionalParams): Promise<StandbyContainerGroupPoolsUpdateResponse>;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
// @public
|
|
225
|
+
export interface StandbyContainerGroupPoolsCreateOrUpdateHeaders {
|
|
226
|
+
retryAfter?: number;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
// @public
|
|
230
|
+
export interface StandbyContainerGroupPoolsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
231
|
+
resumeFrom?: string;
|
|
232
|
+
updateIntervalInMs?: number;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
// @public
|
|
236
|
+
export type StandbyContainerGroupPoolsCreateOrUpdateResponse = StandbyContainerGroupPoolResource;
|
|
237
|
+
|
|
238
|
+
// @public
|
|
239
|
+
export interface StandbyContainerGroupPoolsDeleteHeaders {
|
|
240
|
+
location?: string;
|
|
241
|
+
retryAfter?: number;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
// @public
|
|
245
|
+
export interface StandbyContainerGroupPoolsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
246
|
+
resumeFrom?: string;
|
|
247
|
+
updateIntervalInMs?: number;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
// @public
|
|
251
|
+
export type StandbyContainerGroupPoolsDeleteResponse = StandbyContainerGroupPoolsDeleteHeaders;
|
|
252
|
+
|
|
253
|
+
// @public
|
|
254
|
+
export interface StandbyContainerGroupPoolsGetOptionalParams extends coreClient.OperationOptions {
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
// @public
|
|
258
|
+
export type StandbyContainerGroupPoolsGetResponse = StandbyContainerGroupPoolResource;
|
|
259
|
+
|
|
260
|
+
// @public
|
|
261
|
+
export interface StandbyContainerGroupPoolsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
// @public
|
|
265
|
+
export type StandbyContainerGroupPoolsListByResourceGroupNextResponse = StandbyContainerGroupPoolResourceListResult;
|
|
266
|
+
|
|
267
|
+
// @public
|
|
268
|
+
export interface StandbyContainerGroupPoolsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
// @public
|
|
272
|
+
export type StandbyContainerGroupPoolsListByResourceGroupResponse = StandbyContainerGroupPoolResourceListResult;
|
|
273
|
+
|
|
274
|
+
// @public
|
|
275
|
+
export interface StandbyContainerGroupPoolsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
// @public
|
|
279
|
+
export type StandbyContainerGroupPoolsListBySubscriptionNextResponse = StandbyContainerGroupPoolResourceListResult;
|
|
280
|
+
|
|
281
|
+
// @public
|
|
282
|
+
export interface StandbyContainerGroupPoolsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
// @public
|
|
286
|
+
export type StandbyContainerGroupPoolsListBySubscriptionResponse = StandbyContainerGroupPoolResourceListResult;
|
|
287
|
+
|
|
288
|
+
// @public
|
|
289
|
+
export interface StandbyContainerGroupPoolsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
// @public
|
|
293
|
+
export type StandbyContainerGroupPoolsUpdateResponse = StandbyContainerGroupPoolResource;
|
|
294
|
+
|
|
295
|
+
// @public (undocumented)
|
|
296
|
+
export class StandbyPoolManagementClient extends coreClient.ServiceClient {
|
|
297
|
+
// (undocumented)
|
|
298
|
+
$host: string;
|
|
299
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: StandbyPoolManagementClientOptionalParams);
|
|
300
|
+
// (undocumented)
|
|
301
|
+
apiVersion: string;
|
|
302
|
+
// (undocumented)
|
|
303
|
+
operations: Operations;
|
|
304
|
+
// (undocumented)
|
|
305
|
+
standbyContainerGroupPools: StandbyContainerGroupPools;
|
|
306
|
+
// (undocumented)
|
|
307
|
+
standbyVirtualMachinePools: StandbyVirtualMachinePools;
|
|
308
|
+
// (undocumented)
|
|
309
|
+
standbyVirtualMachines: StandbyVirtualMachines;
|
|
310
|
+
// (undocumented)
|
|
311
|
+
subscriptionId: string;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
// @public
|
|
315
|
+
export interface StandbyPoolManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
316
|
+
$host?: string;
|
|
317
|
+
apiVersion?: string;
|
|
318
|
+
endpoint?: string;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
// @public
|
|
322
|
+
export interface StandbyVirtualMachinePoolElasticityProfile {
|
|
323
|
+
maxReadyCapacity: number;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
// @public
|
|
327
|
+
export interface StandbyVirtualMachinePoolElasticityProfileUpdate {
|
|
328
|
+
maxReadyCapacity?: number;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
// @public
|
|
332
|
+
export interface StandbyVirtualMachinePoolResource extends TrackedResource {
|
|
333
|
+
properties?: StandbyVirtualMachinePoolResourceProperties;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
// @public
|
|
337
|
+
export interface StandbyVirtualMachinePoolResourceListResult {
|
|
338
|
+
nextLink?: string;
|
|
339
|
+
value: StandbyVirtualMachinePoolResource[];
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
// @public
|
|
343
|
+
export interface StandbyVirtualMachinePoolResourceProperties {
|
|
344
|
+
attachedVirtualMachineScaleSetId?: string;
|
|
345
|
+
elasticityProfile?: StandbyVirtualMachinePoolElasticityProfile;
|
|
346
|
+
readonly provisioningState?: ProvisioningState;
|
|
347
|
+
virtualMachineState: VirtualMachineState;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
// @public
|
|
351
|
+
export interface StandbyVirtualMachinePoolResourceUpdate {
|
|
352
|
+
properties?: StandbyVirtualMachinePoolResourceUpdateProperties;
|
|
353
|
+
tags?: {
|
|
354
|
+
[propertyName: string]: string;
|
|
355
|
+
};
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
// @public
|
|
359
|
+
export interface StandbyVirtualMachinePoolResourceUpdateProperties {
|
|
360
|
+
attachedVirtualMachineScaleSetId?: string;
|
|
361
|
+
elasticityProfile?: StandbyVirtualMachinePoolElasticityProfileUpdate;
|
|
362
|
+
virtualMachineState?: VirtualMachineState;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
// @public
|
|
366
|
+
export interface StandbyVirtualMachinePools {
|
|
367
|
+
beginCreateOrUpdate(resourceGroupName: string, standbyVirtualMachinePoolName: string, resource: StandbyVirtualMachinePoolResource, options?: StandbyVirtualMachinePoolsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<StandbyVirtualMachinePoolsCreateOrUpdateResponse>, StandbyVirtualMachinePoolsCreateOrUpdateResponse>>;
|
|
368
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, standbyVirtualMachinePoolName: string, resource: StandbyVirtualMachinePoolResource, options?: StandbyVirtualMachinePoolsCreateOrUpdateOptionalParams): Promise<StandbyVirtualMachinePoolsCreateOrUpdateResponse>;
|
|
369
|
+
beginDelete(resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinePoolsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<StandbyVirtualMachinePoolsDeleteResponse>, StandbyVirtualMachinePoolsDeleteResponse>>;
|
|
370
|
+
beginDeleteAndWait(resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinePoolsDeleteOptionalParams): Promise<StandbyVirtualMachinePoolsDeleteResponse>;
|
|
371
|
+
get(resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinePoolsGetOptionalParams): Promise<StandbyVirtualMachinePoolsGetResponse>;
|
|
372
|
+
listByResourceGroup(resourceGroupName: string, options?: StandbyVirtualMachinePoolsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<StandbyVirtualMachinePoolResource>;
|
|
373
|
+
listBySubscription(options?: StandbyVirtualMachinePoolsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<StandbyVirtualMachinePoolResource>;
|
|
374
|
+
update(resourceGroupName: string, standbyVirtualMachinePoolName: string, properties: StandbyVirtualMachinePoolResourceUpdate, options?: StandbyVirtualMachinePoolsUpdateOptionalParams): Promise<StandbyVirtualMachinePoolsUpdateResponse>;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
// @public
|
|
378
|
+
export interface StandbyVirtualMachinePoolsCreateOrUpdateHeaders {
|
|
379
|
+
retryAfter?: number;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
// @public
|
|
383
|
+
export interface StandbyVirtualMachinePoolsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
384
|
+
resumeFrom?: string;
|
|
385
|
+
updateIntervalInMs?: number;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
// @public
|
|
389
|
+
export type StandbyVirtualMachinePoolsCreateOrUpdateResponse = StandbyVirtualMachinePoolResource;
|
|
390
|
+
|
|
391
|
+
// @public
|
|
392
|
+
export interface StandbyVirtualMachinePoolsDeleteHeaders {
|
|
393
|
+
location?: string;
|
|
394
|
+
retryAfter?: number;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
// @public
|
|
398
|
+
export interface StandbyVirtualMachinePoolsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
399
|
+
resumeFrom?: string;
|
|
400
|
+
updateIntervalInMs?: number;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
// @public
|
|
404
|
+
export type StandbyVirtualMachinePoolsDeleteResponse = StandbyVirtualMachinePoolsDeleteHeaders;
|
|
405
|
+
|
|
406
|
+
// @public
|
|
407
|
+
export interface StandbyVirtualMachinePoolsGetOptionalParams extends coreClient.OperationOptions {
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
// @public
|
|
411
|
+
export type StandbyVirtualMachinePoolsGetResponse = StandbyVirtualMachinePoolResource;
|
|
412
|
+
|
|
413
|
+
// @public
|
|
414
|
+
export interface StandbyVirtualMachinePoolsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
// @public
|
|
418
|
+
export type StandbyVirtualMachinePoolsListByResourceGroupNextResponse = StandbyVirtualMachinePoolResourceListResult;
|
|
419
|
+
|
|
420
|
+
// @public
|
|
421
|
+
export interface StandbyVirtualMachinePoolsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
// @public
|
|
425
|
+
export type StandbyVirtualMachinePoolsListByResourceGroupResponse = StandbyVirtualMachinePoolResourceListResult;
|
|
426
|
+
|
|
427
|
+
// @public
|
|
428
|
+
export interface StandbyVirtualMachinePoolsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
// @public
|
|
432
|
+
export type StandbyVirtualMachinePoolsListBySubscriptionNextResponse = StandbyVirtualMachinePoolResourceListResult;
|
|
433
|
+
|
|
434
|
+
// @public
|
|
435
|
+
export interface StandbyVirtualMachinePoolsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
// @public
|
|
439
|
+
export type StandbyVirtualMachinePoolsListBySubscriptionResponse = StandbyVirtualMachinePoolResourceListResult;
|
|
440
|
+
|
|
441
|
+
// @public
|
|
442
|
+
export interface StandbyVirtualMachinePoolsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
// @public
|
|
446
|
+
export type StandbyVirtualMachinePoolsUpdateResponse = StandbyVirtualMachinePoolResource;
|
|
447
|
+
|
|
448
|
+
// @public
|
|
449
|
+
export interface StandbyVirtualMachineResource extends ProxyResource {
|
|
450
|
+
properties?: StandbyVirtualMachineResourceProperties;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
// @public
|
|
454
|
+
export interface StandbyVirtualMachineResourceListResult {
|
|
455
|
+
nextLink?: string;
|
|
456
|
+
value: StandbyVirtualMachineResource[];
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
// @public
|
|
460
|
+
export interface StandbyVirtualMachineResourceProperties {
|
|
461
|
+
readonly provisioningState?: ProvisioningState;
|
|
462
|
+
virtualMachineResourceId: string;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
// @public
|
|
466
|
+
export interface StandbyVirtualMachines {
|
|
467
|
+
get(resourceGroupName: string, standbyVirtualMachinePoolName: string, standbyVirtualMachineName: string, options?: StandbyVirtualMachinesGetOptionalParams): Promise<StandbyVirtualMachinesGetResponse>;
|
|
468
|
+
listByStandbyVirtualMachinePoolResource(resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinesListByStandbyVirtualMachinePoolResourceOptionalParams): PagedAsyncIterableIterator<StandbyVirtualMachineResource>;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
// @public
|
|
472
|
+
export interface StandbyVirtualMachinesGetOptionalParams extends coreClient.OperationOptions {
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
// @public
|
|
476
|
+
export type StandbyVirtualMachinesGetResponse = StandbyVirtualMachineResource;
|
|
477
|
+
|
|
478
|
+
// @public
|
|
479
|
+
export interface StandbyVirtualMachinesListByStandbyVirtualMachinePoolResourceNextOptionalParams extends coreClient.OperationOptions {
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
// @public
|
|
483
|
+
export type StandbyVirtualMachinesListByStandbyVirtualMachinePoolResourceNextResponse = StandbyVirtualMachineResourceListResult;
|
|
484
|
+
|
|
485
|
+
// @public
|
|
486
|
+
export interface StandbyVirtualMachinesListByStandbyVirtualMachinePoolResourceOptionalParams extends coreClient.OperationOptions {
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
// @public
|
|
490
|
+
export type StandbyVirtualMachinesListByStandbyVirtualMachinePoolResourceResponse = StandbyVirtualMachineResourceListResult;
|
|
491
|
+
|
|
492
|
+
// @public
|
|
493
|
+
export interface Subnet {
|
|
494
|
+
id: string;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
// @public
|
|
498
|
+
export interface SystemData {
|
|
499
|
+
createdAt?: Date;
|
|
500
|
+
createdBy?: string;
|
|
501
|
+
createdByType?: CreatedByType;
|
|
502
|
+
lastModifiedAt?: Date;
|
|
503
|
+
lastModifiedBy?: string;
|
|
504
|
+
lastModifiedByType?: CreatedByType;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
// @public
|
|
508
|
+
export interface TrackedResource extends Resource {
|
|
509
|
+
location: string;
|
|
510
|
+
tags?: {
|
|
511
|
+
[propertyName: string]: string;
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
// @public
|
|
516
|
+
export type VirtualMachineState = string;
|
|
517
|
+
|
|
518
|
+
// (No @packageDocumentation comment for this package)
|
|
519
|
+
|
|
520
|
+
```
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
/// <reference lib="esnext.asynciterable" />
|
|
10
|
+
export { getContinuationToken } from "./pagingHelper";
|
|
11
|
+
export * from "./models";
|
|
12
|
+
export { StandbyPoolManagementClient } from "./standbyPoolManagementClient";
|
|
13
|
+
export * from "./operationsInterfaces";
|
package/src/lroImpl.ts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT license.
|
|
11
|
+
|
|
12
|
+
import { AbortSignalLike } from "@azure/abort-controller";
|
|
13
|
+
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
|
14
|
+
|
|
15
|
+
export function createLroSpec<T>(inputs: {
|
|
16
|
+
sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
|
|
17
|
+
args: Record<string, unknown>;
|
|
18
|
+
spec: {
|
|
19
|
+
readonly requestBody?: unknown;
|
|
20
|
+
readonly path?: string;
|
|
21
|
+
readonly httpMethod: string;
|
|
22
|
+
} & Record<string, any>;
|
|
23
|
+
}): LongRunningOperation<T> {
|
|
24
|
+
const { args, spec, sendOperationFn } = inputs;
|
|
25
|
+
return {
|
|
26
|
+
requestMethod: spec.httpMethod,
|
|
27
|
+
requestPath: spec.path!,
|
|
28
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
29
|
+
sendPollRequest: (
|
|
30
|
+
path: string,
|
|
31
|
+
options?: { abortSignal?: AbortSignalLike },
|
|
32
|
+
) => {
|
|
33
|
+
const { requestBody, ...restSpec } = spec;
|
|
34
|
+
return sendOperationFn(args, {
|
|
35
|
+
...restSpec,
|
|
36
|
+
httpMethod: "GET",
|
|
37
|
+
path,
|
|
38
|
+
abortSignal: options?.abortSignal,
|
|
39
|
+
});
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
}
|