@azure/arm-devopsinfrastructure 1.0.0-alpha.20250618.1 → 1.0.0-alpha.20250717.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.
|
@@ -1,639 +1,639 @@
|
|
|
1
|
-
## API Report File for "@azure/arm-devopsinfrastructure"
|
|
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 { AbortSignalLike } from '@azure/abort-controller';
|
|
8
|
-
import { ClientOptions } from '@azure-rest/core-client';
|
|
9
|
-
import { OperationOptions } from '@azure-rest/core-client';
|
|
10
|
-
import { OperationState } from '@azure/core-lro';
|
|
11
|
-
import { PathUncheckedResponse } from '@azure-rest/core-client';
|
|
12
|
-
import { Pipeline } from '@azure/core-rest-pipeline';
|
|
13
|
-
import { PollerLike } from '@azure/core-lro';
|
|
14
|
-
import { TokenCredential } from '@azure/core-auth';
|
|
15
|
-
|
|
16
|
-
// @public
|
|
17
|
-
export type ActionType = string;
|
|
18
|
-
|
|
19
|
-
// @public
|
|
20
|
-
export interface AgentProfile {
|
|
21
|
-
kind: string;
|
|
22
|
-
resourcePredictions?: ResourcePredictions;
|
|
23
|
-
resourcePredictionsProfile?: ResourcePredictionsProfileUnion;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// @public
|
|
27
|
-
export type AgentProfileUnion = StatelessAgentProfile | Stateful | AgentProfile;
|
|
28
|
-
|
|
29
|
-
// @public
|
|
30
|
-
export interface AutomaticResourcePredictionsProfile extends ResourcePredictionsProfile {
|
|
31
|
-
kind: "Automatic";
|
|
32
|
-
predictionPreference?: PredictionPreference;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// @public
|
|
36
|
-
export interface AzureDevOpsOrganizationProfile extends OrganizationProfile {
|
|
37
|
-
kind: "AzureDevOps";
|
|
38
|
-
organizations: Organization[];
|
|
39
|
-
permissionProfile?: AzureDevOpsPermissionProfile;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// @public
|
|
43
|
-
export interface AzureDevOpsPermissionProfile {
|
|
44
|
-
groups?: string[];
|
|
45
|
-
kind: AzureDevOpsPermissionType;
|
|
46
|
-
users?: string[];
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// @public
|
|
50
|
-
export type AzureDevOpsPermissionType = string;
|
|
51
|
-
|
|
52
|
-
// @public
|
|
53
|
-
export type CachingType = string;
|
|
54
|
-
|
|
55
|
-
// @public
|
|
56
|
-
export type ContinuablePage<TElement, TPage = TElement[]> = TPage & {
|
|
57
|
-
continuationToken?: string;
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
// @public
|
|
61
|
-
export type CreatedByType = string;
|
|
62
|
-
|
|
63
|
-
// @public
|
|
64
|
-
export interface DataDisk {
|
|
65
|
-
caching?: CachingType;
|
|
66
|
-
diskSizeGiB?: number;
|
|
67
|
-
driveLetter?: string;
|
|
68
|
-
storageAccountType?: StorageAccountType;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// @public
|
|
72
|
-
export interface DevOpsAzureSku {
|
|
73
|
-
name: string;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
// @public (undocumented)
|
|
77
|
-
export class DevOpsInfrastructureClient {
|
|
78
|
-
constructor(credential: TokenCredential, subscriptionId: string, options?: DevOpsInfrastructureClientOptionalParams);
|
|
79
|
-
readonly imageVersions: ImageVersionsOperations;
|
|
80
|
-
readonly operations: OperationsOperations;
|
|
81
|
-
readonly pipeline: Pipeline;
|
|
82
|
-
readonly pools: PoolsOperations;
|
|
83
|
-
readonly resourceDetails: ResourceDetailsOperations;
|
|
84
|
-
readonly sku: SkuOperations;
|
|
85
|
-
readonly subscriptionUsages: SubscriptionUsagesOperations;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
// @public
|
|
89
|
-
export interface DevOpsInfrastructureClientOptionalParams extends ClientOptions {
|
|
90
|
-
apiVersion?: string;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// @public
|
|
94
|
-
export interface FabricProfile {
|
|
95
|
-
kind: string;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// @public
|
|
99
|
-
export type FabricProfileUnion = VmssFabricProfile | FabricProfile;
|
|
100
|
-
|
|
101
|
-
// @public
|
|
102
|
-
export interface GitHubOrganization {
|
|
103
|
-
repositories?: string[];
|
|
104
|
-
url: string;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// @public
|
|
108
|
-
export interface GitHubOrganizationProfile extends OrganizationProfile {
|
|
109
|
-
kind: "GitHub";
|
|
110
|
-
organizations: GitHubOrganization[];
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
// @public
|
|
114
|
-
export interface ImageVersion extends ProxyResource {
|
|
115
|
-
properties?: ImageVersionProperties;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
// @public
|
|
119
|
-
export interface ImageVersionProperties {
|
|
120
|
-
version: string;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// @public
|
|
124
|
-
export interface ImageVersionsListByImageOptionalParams extends OperationOptions {
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
// @public
|
|
128
|
-
export interface ImageVersionsOperations {
|
|
129
|
-
listByImage: (resourceGroupName: string, imageName: string, options?: ImageVersionsListByImageOptionalParams) => PagedAsyncIterableIterator<ImageVersion>;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
// @public
|
|
133
|
-
export enum KnownActionType {
|
|
134
|
-
Internal = "Internal"
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
// @public
|
|
138
|
-
export enum KnownAzureDevOpsPermissionType {
|
|
139
|
-
CreatorOnly = "CreatorOnly",
|
|
140
|
-
Inherit = "Inherit",
|
|
141
|
-
SpecificAccounts = "SpecificAccounts"
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
// @public
|
|
145
|
-
export enum KnownCachingType {
|
|
146
|
-
None = "None",
|
|
147
|
-
ReadOnly = "ReadOnly",
|
|
148
|
-
ReadWrite = "ReadWrite"
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
// @public
|
|
152
|
-
export enum KnownCreatedByType {
|
|
153
|
-
Application = "Application",
|
|
154
|
-
Key = "Key",
|
|
155
|
-
ManagedIdentity = "ManagedIdentity",
|
|
156
|
-
User = "User"
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
// @public
|
|
160
|
-
export enum KnownLogonType {
|
|
161
|
-
Interactive = "Interactive",
|
|
162
|
-
Service = "Service"
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
// @public
|
|
166
|
-
export enum KnownManagedServiceIdentityType {
|
|
167
|
-
None = "None",
|
|
168
|
-
SystemAssigned = "SystemAssigned",
|
|
169
|
-
SystemAssignedUserAssigned = "SystemAssigned,UserAssigned",
|
|
170
|
-
UserAssigned = "UserAssigned"
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
// @public
|
|
174
|
-
export enum KnownOrigin {
|
|
175
|
-
System = "system",
|
|
176
|
-
User = "user",
|
|
177
|
-
UserSystem = "user,system"
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
// @public
|
|
181
|
-
export enum KnownOsDiskStorageAccountType {
|
|
182
|
-
Premium = "Premium",
|
|
183
|
-
Standard = "Standard",
|
|
184
|
-
StandardSSD = "StandardSSD"
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
// @public
|
|
188
|
-
export enum KnownPredictionPreference {
|
|
189
|
-
Balanced = "Balanced",
|
|
190
|
-
BestPerformance = "BestPerformance",
|
|
191
|
-
MoreCostEffective = "MoreCostEffective",
|
|
192
|
-
MorePerformance = "MorePerformance",
|
|
193
|
-
MostCostEffective = "MostCostEffective"
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
// @public
|
|
197
|
-
export enum KnownProvisioningState {
|
|
198
|
-
Accepted = "Accepted",
|
|
199
|
-
Canceled = "Canceled",
|
|
200
|
-
Deleting = "Deleting",
|
|
201
|
-
Failed = "Failed",
|
|
202
|
-
Provisioning = "Provisioning",
|
|
203
|
-
Succeeded = "Succeeded",
|
|
204
|
-
Updating = "Updating"
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
// @public
|
|
208
|
-
export enum KnownResourcePredictionsProfileType {
|
|
209
|
-
Automatic = "Automatic",
|
|
210
|
-
Manual = "Manual"
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
// @public
|
|
214
|
-
export enum KnownResourceSkuRestrictionsReasonCode {
|
|
215
|
-
NotAvailableForSubscription = "NotAvailableForSubscription",
|
|
216
|
-
QuotaId = "QuotaId"
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
// @public
|
|
220
|
-
export enum KnownResourceSkuRestrictionsType {
|
|
221
|
-
Location = "Location",
|
|
222
|
-
Zone = "Zone"
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
// @public
|
|
226
|
-
export enum KnownResourceStatus {
|
|
227
|
-
Allocated = "Allocated",
|
|
228
|
-
Leased = "Leased",
|
|
229
|
-
NotReady = "NotReady",
|
|
230
|
-
PendingReimage = "PendingReimage",
|
|
231
|
-
PendingReturn = "PendingReturn",
|
|
232
|
-
Provisioning = "Provisioning",
|
|
233
|
-
Ready = "Ready",
|
|
234
|
-
Reimaging = "Reimaging",
|
|
235
|
-
Returned = "Returned",
|
|
236
|
-
Starting = "Starting",
|
|
237
|
-
Updating = "Updating"
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
// @public
|
|
241
|
-
export enum KnownStorageAccountType {
|
|
242
|
-
PremiumLRS = "Premium_LRS",
|
|
243
|
-
PremiumZRS = "Premium_ZRS",
|
|
244
|
-
StandardLRS = "Standard_LRS",
|
|
245
|
-
StandardSSDLRS = "StandardSSD_LRS",
|
|
246
|
-
StandardSSDZRS = "StandardSSD_ZRS"
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
// @public
|
|
250
|
-
export enum KnownVersions {
|
|
251
|
-
"V2024-10-19" = "2024-10-19"
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
// @public
|
|
255
|
-
export type LogonType = string;
|
|
256
|
-
|
|
257
|
-
// @public
|
|
258
|
-
export interface ManagedServiceIdentity {
|
|
259
|
-
readonly principalId?: string;
|
|
260
|
-
readonly tenantId?: string;
|
|
261
|
-
type: ManagedServiceIdentityType;
|
|
262
|
-
userAssignedIdentities?: Record<string, UserAssignedIdentity | null>;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
// @public
|
|
266
|
-
export type ManagedServiceIdentityType = string;
|
|
267
|
-
|
|
268
|
-
// @public
|
|
269
|
-
export interface ManualResourcePredictionsProfile extends ResourcePredictionsProfile {
|
|
270
|
-
kind: "Manual";
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
// @public
|
|
274
|
-
export interface NetworkProfile {
|
|
275
|
-
subnetId: string;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
// @public
|
|
279
|
-
export interface Operation {
|
|
280
|
-
actionType?: ActionType;
|
|
281
|
-
readonly display?: OperationDisplay;
|
|
282
|
-
readonly isDataAction?: boolean;
|
|
283
|
-
readonly name?: string;
|
|
284
|
-
readonly origin?: Origin;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
// @public
|
|
288
|
-
export interface OperationDisplay {
|
|
289
|
-
readonly description?: string;
|
|
290
|
-
readonly operation?: string;
|
|
291
|
-
readonly provider?: string;
|
|
292
|
-
readonly resource?: string;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
// @public
|
|
296
|
-
export interface OperationsListOptionalParams extends OperationOptions {
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
// @public
|
|
300
|
-
export interface OperationsOperations {
|
|
301
|
-
list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
// @public
|
|
305
|
-
export interface Organization {
|
|
306
|
-
parallelism?: number;
|
|
307
|
-
projects?: string[];
|
|
308
|
-
url: string;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
// @public
|
|
312
|
-
export interface OrganizationProfile {
|
|
313
|
-
kind: string;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
// @public
|
|
317
|
-
export type OrganizationProfileUnion = GitHubOrganizationProfile | AzureDevOpsOrganizationProfile | OrganizationProfile;
|
|
318
|
-
|
|
319
|
-
// @public
|
|
320
|
-
export type Origin = string;
|
|
321
|
-
|
|
322
|
-
// @public
|
|
323
|
-
export type OsDiskStorageAccountType = string;
|
|
324
|
-
|
|
325
|
-
// @public
|
|
326
|
-
export interface OsProfile {
|
|
327
|
-
logonType?: LogonType;
|
|
328
|
-
secretsManagementSettings?: SecretsManagementSettings;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
// @public
|
|
332
|
-
export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings> {
|
|
333
|
-
[Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
|
|
334
|
-
byPage: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;
|
|
335
|
-
next(): Promise<IteratorResult<TElement>>;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
// @public
|
|
339
|
-
export interface PageSettings {
|
|
340
|
-
continuationToken?: string;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
// @public
|
|
344
|
-
export interface Pool extends TrackedResource {
|
|
345
|
-
identity?: ManagedServiceIdentity;
|
|
346
|
-
properties?: PoolProperties;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
// @public
|
|
350
|
-
export interface PoolImage {
|
|
351
|
-
aliases?: string[];
|
|
352
|
-
buffer?: string;
|
|
353
|
-
resourceId?: string;
|
|
354
|
-
wellKnownImageName?: string;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
// @public
|
|
358
|
-
export interface PoolProperties {
|
|
359
|
-
agentProfile: AgentProfileUnion;
|
|
360
|
-
devCenterProjectResourceId: string;
|
|
361
|
-
fabricProfile: FabricProfileUnion;
|
|
362
|
-
maximumConcurrency: number;
|
|
363
|
-
organizationProfile: OrganizationProfileUnion;
|
|
364
|
-
provisioningState?: ProvisioningState;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
// @public
|
|
368
|
-
export interface PoolsCreateOrUpdateOptionalParams extends OperationOptions {
|
|
369
|
-
updateIntervalInMs?: number;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
// @public
|
|
373
|
-
export interface PoolsDeleteOptionalParams extends OperationOptions {
|
|
374
|
-
updateIntervalInMs?: number;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
// @public
|
|
378
|
-
export interface PoolsGetOptionalParams extends OperationOptions {
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
// @public
|
|
382
|
-
export interface PoolsListByResourceGroupOptionalParams extends OperationOptions {
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
// @public
|
|
386
|
-
export interface PoolsListBySubscriptionOptionalParams extends OperationOptions {
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
// @public
|
|
390
|
-
export interface PoolsOperations {
|
|
391
|
-
createOrUpdate: (resourceGroupName: string, poolName: string, resource: Pool, options?: PoolsCreateOrUpdateOptionalParams) => PollerLike<OperationState<Pool>, Pool>;
|
|
392
|
-
delete: (resourceGroupName: string, poolName: string, options?: PoolsDeleteOptionalParams) => PollerLike<OperationState<void>, void>;
|
|
393
|
-
get: (resourceGroupName: string, poolName: string, options?: PoolsGetOptionalParams) => Promise<Pool>;
|
|
394
|
-
listByResourceGroup: (resourceGroupName: string, options?: PoolsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Pool>;
|
|
395
|
-
listBySubscription: (options?: PoolsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<Pool>;
|
|
396
|
-
update: (resourceGroupName: string, poolName: string, properties: PoolUpdate, options?: PoolsUpdateOptionalParams) => PollerLike<OperationState<Pool>, Pool>;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
// @public
|
|
400
|
-
export interface PoolsUpdateOptionalParams extends OperationOptions {
|
|
401
|
-
updateIntervalInMs?: number;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
// @public
|
|
405
|
-
export interface PoolUpdate {
|
|
406
|
-
identity?: ManagedServiceIdentity;
|
|
407
|
-
properties?: PoolUpdateProperties;
|
|
408
|
-
tags?: Record<string, string>;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
// @public
|
|
412
|
-
export interface PoolUpdateProperties {
|
|
413
|
-
agentProfile?: AgentProfileUnion;
|
|
414
|
-
devCenterProjectResourceId?: string;
|
|
415
|
-
fabricProfile?: FabricProfileUnion;
|
|
416
|
-
maximumConcurrency?: number;
|
|
417
|
-
organizationProfile?: OrganizationProfileUnion;
|
|
418
|
-
provisioningState?: ProvisioningState;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
// @public
|
|
422
|
-
export type PredictionPreference = string;
|
|
423
|
-
|
|
424
|
-
// @public
|
|
425
|
-
export type ProvisioningState = string;
|
|
426
|
-
|
|
427
|
-
// @public
|
|
428
|
-
export interface ProxyResource extends Resource {
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
// @public
|
|
432
|
-
export interface Quota {
|
|
433
|
-
currentValue: number;
|
|
434
|
-
id: string;
|
|
435
|
-
limit: number;
|
|
436
|
-
readonly name?: QuotaName;
|
|
437
|
-
unit: string;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
// @public
|
|
441
|
-
export interface QuotaName {
|
|
442
|
-
localizedValue?: string;
|
|
443
|
-
value?: string;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
// @public
|
|
447
|
-
export interface Resource {
|
|
448
|
-
readonly id?: string;
|
|
449
|
-
readonly name?: string;
|
|
450
|
-
readonly systemData?: SystemData;
|
|
451
|
-
readonly type?: string;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
// @public
|
|
455
|
-
export interface ResourceDetailsListByPoolOptionalParams extends OperationOptions {
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
// @public
|
|
459
|
-
export interface ResourceDetailsObject extends ProxyResource {
|
|
460
|
-
properties?: ResourceDetailsObjectProperties;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
// @public
|
|
464
|
-
export interface ResourceDetailsObjectProperties {
|
|
465
|
-
image: string;
|
|
466
|
-
imageVersion: string;
|
|
467
|
-
status: ResourceStatus;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
// @public
|
|
471
|
-
export interface ResourceDetailsOperations {
|
|
472
|
-
listByPool: (resourceGroupName: string, poolName: string, options?: ResourceDetailsListByPoolOptionalParams) => PagedAsyncIterableIterator<ResourceDetailsObject>;
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
// @public
|
|
476
|
-
export interface ResourcePredictions {
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
// @public
|
|
480
|
-
export interface ResourcePredictionsProfile {
|
|
481
|
-
kind: ResourcePredictionsProfileType;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
// @public
|
|
485
|
-
export type ResourcePredictionsProfileType = string;
|
|
486
|
-
|
|
487
|
-
// @public
|
|
488
|
-
export type ResourcePredictionsProfileUnion = ManualResourcePredictionsProfile | AutomaticResourcePredictionsProfile | ResourcePredictionsProfile;
|
|
489
|
-
|
|
490
|
-
// @public
|
|
491
|
-
export interface ResourceSku extends ProxyResource {
|
|
492
|
-
properties?: ResourceSkuProperties;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
// @public
|
|
496
|
-
export interface ResourceSkuCapabilities {
|
|
497
|
-
name: string;
|
|
498
|
-
value: string;
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
// @public
|
|
502
|
-
export interface ResourceSkuLocationInfo {
|
|
503
|
-
location: string;
|
|
504
|
-
zoneDetails: ResourceSkuZoneDetails[];
|
|
505
|
-
zones: string[];
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
// @public
|
|
509
|
-
export interface ResourceSkuProperties {
|
|
510
|
-
capabilities: ResourceSkuCapabilities[];
|
|
511
|
-
family: string;
|
|
512
|
-
locationInfo: ResourceSkuLocationInfo[];
|
|
513
|
-
locations: string[];
|
|
514
|
-
resourceType: string;
|
|
515
|
-
restrictions: ResourceSkuRestrictions[];
|
|
516
|
-
size: string;
|
|
517
|
-
tier: string;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
|
-
// @public
|
|
521
|
-
export interface ResourceSkuRestrictionInfo {
|
|
522
|
-
locations?: string[];
|
|
523
|
-
zones?: string[];
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
// @public
|
|
527
|
-
export interface ResourceSkuRestrictions {
|
|
528
|
-
reasonCode?: ResourceSkuRestrictionsReasonCode;
|
|
529
|
-
restrictionInfo: ResourceSkuRestrictionInfo;
|
|
530
|
-
type?: ResourceSkuRestrictionsType;
|
|
531
|
-
values: string[];
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
// @public
|
|
535
|
-
export type ResourceSkuRestrictionsReasonCode = string;
|
|
536
|
-
|
|
537
|
-
// @public
|
|
538
|
-
export type ResourceSkuRestrictionsType = string;
|
|
539
|
-
|
|
540
|
-
// @public
|
|
541
|
-
export interface ResourceSkuZoneDetails {
|
|
542
|
-
capabilities: ResourceSkuCapabilities[];
|
|
543
|
-
name: string[];
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
// @public
|
|
547
|
-
export type ResourceStatus = string;
|
|
548
|
-
|
|
549
|
-
// @public
|
|
550
|
-
export function restorePoller<TResponse extends PathUncheckedResponse, TResult>(client: DevOpsInfrastructureClient, serializedState: string, sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult>): PollerLike<OperationState<TResult>, TResult>;
|
|
551
|
-
|
|
552
|
-
// @public (undocumented)
|
|
553
|
-
export interface RestorePollerOptions<TResult, TResponse extends PathUncheckedResponse = PathUncheckedResponse> extends OperationOptions {
|
|
554
|
-
abortSignal?: AbortSignalLike;
|
|
555
|
-
processResponseBody?: (result: TResponse) => Promise<TResult>;
|
|
556
|
-
updateIntervalInMs?: number;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
// @public
|
|
560
|
-
export interface SecretsManagementSettings {
|
|
561
|
-
certificateStoreLocation?: string;
|
|
562
|
-
keyExportable: boolean;
|
|
563
|
-
observedCertificates: string[];
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
// @public
|
|
567
|
-
export interface SkuListByLocationOptionalParams extends OperationOptions {
|
|
568
|
-
}
|
|
569
|
-
|
|
570
|
-
// @public
|
|
571
|
-
export interface SkuOperations {
|
|
572
|
-
listByLocation: (locationName: string, options?: SkuListByLocationOptionalParams) => PagedAsyncIterableIterator<ResourceSku>;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
// @public
|
|
576
|
-
export interface Stateful extends AgentProfile {
|
|
577
|
-
gracePeriodTimeSpan?: string;
|
|
578
|
-
kind: "Stateful";
|
|
579
|
-
maxAgentLifetime?: string;
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
// @public
|
|
583
|
-
export interface StatelessAgentProfile extends AgentProfile {
|
|
584
|
-
kind: "Stateless";
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
// @public
|
|
588
|
-
export type StorageAccountType = string;
|
|
589
|
-
|
|
590
|
-
// @public
|
|
591
|
-
export interface StorageProfile {
|
|
592
|
-
dataDisks?: DataDisk[];
|
|
593
|
-
osDiskStorageAccountType?: OsDiskStorageAccountType;
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
// @public
|
|
597
|
-
export interface SubscriptionUsagesOperations {
|
|
598
|
-
usages: (location: string, options?: SubscriptionUsagesUsagesOptionalParams) => PagedAsyncIterableIterator<Quota>;
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
// @public
|
|
602
|
-
export interface SubscriptionUsagesUsagesOptionalParams extends OperationOptions {
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
// @public
|
|
606
|
-
export interface SystemData {
|
|
607
|
-
createdAt?: Date;
|
|
608
|
-
createdBy?: string;
|
|
609
|
-
createdByType?: CreatedByType;
|
|
610
|
-
lastModifiedAt?: Date;
|
|
611
|
-
lastModifiedBy?: string;
|
|
612
|
-
lastModifiedByType?: CreatedByType;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
// @public
|
|
616
|
-
export interface TrackedResource extends Resource {
|
|
617
|
-
location: string;
|
|
618
|
-
tags?: Record<string, string>;
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
// @public
|
|
622
|
-
export interface UserAssignedIdentity {
|
|
623
|
-
readonly clientId?: string;
|
|
624
|
-
readonly principalId?: string;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
// @public
|
|
628
|
-
export interface VmssFabricProfile extends FabricProfile {
|
|
629
|
-
images: PoolImage[];
|
|
630
|
-
kind: "Vmss";
|
|
631
|
-
networkProfile?: NetworkProfile;
|
|
632
|
-
osProfile?: OsProfile;
|
|
633
|
-
sku: DevOpsAzureSku;
|
|
634
|
-
storageProfile?: StorageProfile;
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
// (No @packageDocumentation comment for this package)
|
|
638
|
-
|
|
639
|
-
```
|
|
1
|
+
## API Report File for "@azure/arm-devopsinfrastructure"
|
|
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 { AbortSignalLike } from '@azure/abort-controller';
|
|
8
|
+
import { ClientOptions } from '@azure-rest/core-client';
|
|
9
|
+
import { OperationOptions } from '@azure-rest/core-client';
|
|
10
|
+
import { OperationState } from '@azure/core-lro';
|
|
11
|
+
import { PathUncheckedResponse } from '@azure-rest/core-client';
|
|
12
|
+
import { Pipeline } from '@azure/core-rest-pipeline';
|
|
13
|
+
import { PollerLike } from '@azure/core-lro';
|
|
14
|
+
import { TokenCredential } from '@azure/core-auth';
|
|
15
|
+
|
|
16
|
+
// @public
|
|
17
|
+
export type ActionType = string;
|
|
18
|
+
|
|
19
|
+
// @public
|
|
20
|
+
export interface AgentProfile {
|
|
21
|
+
kind: string;
|
|
22
|
+
resourcePredictions?: ResourcePredictions;
|
|
23
|
+
resourcePredictionsProfile?: ResourcePredictionsProfileUnion;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// @public
|
|
27
|
+
export type AgentProfileUnion = StatelessAgentProfile | Stateful | AgentProfile;
|
|
28
|
+
|
|
29
|
+
// @public
|
|
30
|
+
export interface AutomaticResourcePredictionsProfile extends ResourcePredictionsProfile {
|
|
31
|
+
kind: "Automatic";
|
|
32
|
+
predictionPreference?: PredictionPreference;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// @public
|
|
36
|
+
export interface AzureDevOpsOrganizationProfile extends OrganizationProfile {
|
|
37
|
+
kind: "AzureDevOps";
|
|
38
|
+
organizations: Organization[];
|
|
39
|
+
permissionProfile?: AzureDevOpsPermissionProfile;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// @public
|
|
43
|
+
export interface AzureDevOpsPermissionProfile {
|
|
44
|
+
groups?: string[];
|
|
45
|
+
kind: AzureDevOpsPermissionType;
|
|
46
|
+
users?: string[];
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// @public
|
|
50
|
+
export type AzureDevOpsPermissionType = string;
|
|
51
|
+
|
|
52
|
+
// @public
|
|
53
|
+
export type CachingType = string;
|
|
54
|
+
|
|
55
|
+
// @public
|
|
56
|
+
export type ContinuablePage<TElement, TPage = TElement[]> = TPage & {
|
|
57
|
+
continuationToken?: string;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
// @public
|
|
61
|
+
export type CreatedByType = string;
|
|
62
|
+
|
|
63
|
+
// @public
|
|
64
|
+
export interface DataDisk {
|
|
65
|
+
caching?: CachingType;
|
|
66
|
+
diskSizeGiB?: number;
|
|
67
|
+
driveLetter?: string;
|
|
68
|
+
storageAccountType?: StorageAccountType;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// @public
|
|
72
|
+
export interface DevOpsAzureSku {
|
|
73
|
+
name: string;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// @public (undocumented)
|
|
77
|
+
export class DevOpsInfrastructureClient {
|
|
78
|
+
constructor(credential: TokenCredential, subscriptionId: string, options?: DevOpsInfrastructureClientOptionalParams);
|
|
79
|
+
readonly imageVersions: ImageVersionsOperations;
|
|
80
|
+
readonly operations: OperationsOperations;
|
|
81
|
+
readonly pipeline: Pipeline;
|
|
82
|
+
readonly pools: PoolsOperations;
|
|
83
|
+
readonly resourceDetails: ResourceDetailsOperations;
|
|
84
|
+
readonly sku: SkuOperations;
|
|
85
|
+
readonly subscriptionUsages: SubscriptionUsagesOperations;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// @public
|
|
89
|
+
export interface DevOpsInfrastructureClientOptionalParams extends ClientOptions {
|
|
90
|
+
apiVersion?: string;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// @public
|
|
94
|
+
export interface FabricProfile {
|
|
95
|
+
kind: string;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// @public
|
|
99
|
+
export type FabricProfileUnion = VmssFabricProfile | FabricProfile;
|
|
100
|
+
|
|
101
|
+
// @public
|
|
102
|
+
export interface GitHubOrganization {
|
|
103
|
+
repositories?: string[];
|
|
104
|
+
url: string;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// @public
|
|
108
|
+
export interface GitHubOrganizationProfile extends OrganizationProfile {
|
|
109
|
+
kind: "GitHub";
|
|
110
|
+
organizations: GitHubOrganization[];
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// @public
|
|
114
|
+
export interface ImageVersion extends ProxyResource {
|
|
115
|
+
properties?: ImageVersionProperties;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
// @public
|
|
119
|
+
export interface ImageVersionProperties {
|
|
120
|
+
version: string;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// @public
|
|
124
|
+
export interface ImageVersionsListByImageOptionalParams extends OperationOptions {
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
// @public
|
|
128
|
+
export interface ImageVersionsOperations {
|
|
129
|
+
listByImage: (resourceGroupName: string, imageName: string, options?: ImageVersionsListByImageOptionalParams) => PagedAsyncIterableIterator<ImageVersion>;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
// @public
|
|
133
|
+
export enum KnownActionType {
|
|
134
|
+
Internal = "Internal"
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
// @public
|
|
138
|
+
export enum KnownAzureDevOpsPermissionType {
|
|
139
|
+
CreatorOnly = "CreatorOnly",
|
|
140
|
+
Inherit = "Inherit",
|
|
141
|
+
SpecificAccounts = "SpecificAccounts"
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
// @public
|
|
145
|
+
export enum KnownCachingType {
|
|
146
|
+
None = "None",
|
|
147
|
+
ReadOnly = "ReadOnly",
|
|
148
|
+
ReadWrite = "ReadWrite"
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// @public
|
|
152
|
+
export enum KnownCreatedByType {
|
|
153
|
+
Application = "Application",
|
|
154
|
+
Key = "Key",
|
|
155
|
+
ManagedIdentity = "ManagedIdentity",
|
|
156
|
+
User = "User"
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
// @public
|
|
160
|
+
export enum KnownLogonType {
|
|
161
|
+
Interactive = "Interactive",
|
|
162
|
+
Service = "Service"
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// @public
|
|
166
|
+
export enum KnownManagedServiceIdentityType {
|
|
167
|
+
None = "None",
|
|
168
|
+
SystemAssigned = "SystemAssigned",
|
|
169
|
+
SystemAssignedUserAssigned = "SystemAssigned,UserAssigned",
|
|
170
|
+
UserAssigned = "UserAssigned"
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
// @public
|
|
174
|
+
export enum KnownOrigin {
|
|
175
|
+
System = "system",
|
|
176
|
+
User = "user",
|
|
177
|
+
UserSystem = "user,system"
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
// @public
|
|
181
|
+
export enum KnownOsDiskStorageAccountType {
|
|
182
|
+
Premium = "Premium",
|
|
183
|
+
Standard = "Standard",
|
|
184
|
+
StandardSSD = "StandardSSD"
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
// @public
|
|
188
|
+
export enum KnownPredictionPreference {
|
|
189
|
+
Balanced = "Balanced",
|
|
190
|
+
BestPerformance = "BestPerformance",
|
|
191
|
+
MoreCostEffective = "MoreCostEffective",
|
|
192
|
+
MorePerformance = "MorePerformance",
|
|
193
|
+
MostCostEffective = "MostCostEffective"
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// @public
|
|
197
|
+
export enum KnownProvisioningState {
|
|
198
|
+
Accepted = "Accepted",
|
|
199
|
+
Canceled = "Canceled",
|
|
200
|
+
Deleting = "Deleting",
|
|
201
|
+
Failed = "Failed",
|
|
202
|
+
Provisioning = "Provisioning",
|
|
203
|
+
Succeeded = "Succeeded",
|
|
204
|
+
Updating = "Updating"
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
// @public
|
|
208
|
+
export enum KnownResourcePredictionsProfileType {
|
|
209
|
+
Automatic = "Automatic",
|
|
210
|
+
Manual = "Manual"
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// @public
|
|
214
|
+
export enum KnownResourceSkuRestrictionsReasonCode {
|
|
215
|
+
NotAvailableForSubscription = "NotAvailableForSubscription",
|
|
216
|
+
QuotaId = "QuotaId"
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
// @public
|
|
220
|
+
export enum KnownResourceSkuRestrictionsType {
|
|
221
|
+
Location = "Location",
|
|
222
|
+
Zone = "Zone"
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// @public
|
|
226
|
+
export enum KnownResourceStatus {
|
|
227
|
+
Allocated = "Allocated",
|
|
228
|
+
Leased = "Leased",
|
|
229
|
+
NotReady = "NotReady",
|
|
230
|
+
PendingReimage = "PendingReimage",
|
|
231
|
+
PendingReturn = "PendingReturn",
|
|
232
|
+
Provisioning = "Provisioning",
|
|
233
|
+
Ready = "Ready",
|
|
234
|
+
Reimaging = "Reimaging",
|
|
235
|
+
Returned = "Returned",
|
|
236
|
+
Starting = "Starting",
|
|
237
|
+
Updating = "Updating"
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
// @public
|
|
241
|
+
export enum KnownStorageAccountType {
|
|
242
|
+
PremiumLRS = "Premium_LRS",
|
|
243
|
+
PremiumZRS = "Premium_ZRS",
|
|
244
|
+
StandardLRS = "Standard_LRS",
|
|
245
|
+
StandardSSDLRS = "StandardSSD_LRS",
|
|
246
|
+
StandardSSDZRS = "StandardSSD_ZRS"
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
// @public
|
|
250
|
+
export enum KnownVersions {
|
|
251
|
+
"V2024-10-19" = "2024-10-19"
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
// @public
|
|
255
|
+
export type LogonType = string;
|
|
256
|
+
|
|
257
|
+
// @public
|
|
258
|
+
export interface ManagedServiceIdentity {
|
|
259
|
+
readonly principalId?: string;
|
|
260
|
+
readonly tenantId?: string;
|
|
261
|
+
type: ManagedServiceIdentityType;
|
|
262
|
+
userAssignedIdentities?: Record<string, UserAssignedIdentity | null>;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
// @public
|
|
266
|
+
export type ManagedServiceIdentityType = string;
|
|
267
|
+
|
|
268
|
+
// @public
|
|
269
|
+
export interface ManualResourcePredictionsProfile extends ResourcePredictionsProfile {
|
|
270
|
+
kind: "Manual";
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
// @public
|
|
274
|
+
export interface NetworkProfile {
|
|
275
|
+
subnetId: string;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
// @public
|
|
279
|
+
export interface Operation {
|
|
280
|
+
actionType?: ActionType;
|
|
281
|
+
readonly display?: OperationDisplay;
|
|
282
|
+
readonly isDataAction?: boolean;
|
|
283
|
+
readonly name?: string;
|
|
284
|
+
readonly origin?: Origin;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
// @public
|
|
288
|
+
export interface OperationDisplay {
|
|
289
|
+
readonly description?: string;
|
|
290
|
+
readonly operation?: string;
|
|
291
|
+
readonly provider?: string;
|
|
292
|
+
readonly resource?: string;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
// @public
|
|
296
|
+
export interface OperationsListOptionalParams extends OperationOptions {
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
// @public
|
|
300
|
+
export interface OperationsOperations {
|
|
301
|
+
list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
// @public
|
|
305
|
+
export interface Organization {
|
|
306
|
+
parallelism?: number;
|
|
307
|
+
projects?: string[];
|
|
308
|
+
url: string;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
// @public
|
|
312
|
+
export interface OrganizationProfile {
|
|
313
|
+
kind: string;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
// @public
|
|
317
|
+
export type OrganizationProfileUnion = GitHubOrganizationProfile | AzureDevOpsOrganizationProfile | OrganizationProfile;
|
|
318
|
+
|
|
319
|
+
// @public
|
|
320
|
+
export type Origin = string;
|
|
321
|
+
|
|
322
|
+
// @public
|
|
323
|
+
export type OsDiskStorageAccountType = string;
|
|
324
|
+
|
|
325
|
+
// @public
|
|
326
|
+
export interface OsProfile {
|
|
327
|
+
logonType?: LogonType;
|
|
328
|
+
secretsManagementSettings?: SecretsManagementSettings;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
// @public
|
|
332
|
+
export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings> {
|
|
333
|
+
[Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
|
|
334
|
+
byPage: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;
|
|
335
|
+
next(): Promise<IteratorResult<TElement>>;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
// @public
|
|
339
|
+
export interface PageSettings {
|
|
340
|
+
continuationToken?: string;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
// @public
|
|
344
|
+
export interface Pool extends TrackedResource {
|
|
345
|
+
identity?: ManagedServiceIdentity;
|
|
346
|
+
properties?: PoolProperties;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
// @public
|
|
350
|
+
export interface PoolImage {
|
|
351
|
+
aliases?: string[];
|
|
352
|
+
buffer?: string;
|
|
353
|
+
resourceId?: string;
|
|
354
|
+
wellKnownImageName?: string;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
// @public
|
|
358
|
+
export interface PoolProperties {
|
|
359
|
+
agentProfile: AgentProfileUnion;
|
|
360
|
+
devCenterProjectResourceId: string;
|
|
361
|
+
fabricProfile: FabricProfileUnion;
|
|
362
|
+
maximumConcurrency: number;
|
|
363
|
+
organizationProfile: OrganizationProfileUnion;
|
|
364
|
+
provisioningState?: ProvisioningState;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
// @public
|
|
368
|
+
export interface PoolsCreateOrUpdateOptionalParams extends OperationOptions {
|
|
369
|
+
updateIntervalInMs?: number;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
// @public
|
|
373
|
+
export interface PoolsDeleteOptionalParams extends OperationOptions {
|
|
374
|
+
updateIntervalInMs?: number;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
// @public
|
|
378
|
+
export interface PoolsGetOptionalParams extends OperationOptions {
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
// @public
|
|
382
|
+
export interface PoolsListByResourceGroupOptionalParams extends OperationOptions {
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
// @public
|
|
386
|
+
export interface PoolsListBySubscriptionOptionalParams extends OperationOptions {
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
// @public
|
|
390
|
+
export interface PoolsOperations {
|
|
391
|
+
createOrUpdate: (resourceGroupName: string, poolName: string, resource: Pool, options?: PoolsCreateOrUpdateOptionalParams) => PollerLike<OperationState<Pool>, Pool>;
|
|
392
|
+
delete: (resourceGroupName: string, poolName: string, options?: PoolsDeleteOptionalParams) => PollerLike<OperationState<void>, void>;
|
|
393
|
+
get: (resourceGroupName: string, poolName: string, options?: PoolsGetOptionalParams) => Promise<Pool>;
|
|
394
|
+
listByResourceGroup: (resourceGroupName: string, options?: PoolsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Pool>;
|
|
395
|
+
listBySubscription: (options?: PoolsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<Pool>;
|
|
396
|
+
update: (resourceGroupName: string, poolName: string, properties: PoolUpdate, options?: PoolsUpdateOptionalParams) => PollerLike<OperationState<Pool>, Pool>;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
// @public
|
|
400
|
+
export interface PoolsUpdateOptionalParams extends OperationOptions {
|
|
401
|
+
updateIntervalInMs?: number;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
// @public
|
|
405
|
+
export interface PoolUpdate {
|
|
406
|
+
identity?: ManagedServiceIdentity;
|
|
407
|
+
properties?: PoolUpdateProperties;
|
|
408
|
+
tags?: Record<string, string>;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
// @public
|
|
412
|
+
export interface PoolUpdateProperties {
|
|
413
|
+
agentProfile?: AgentProfileUnion;
|
|
414
|
+
devCenterProjectResourceId?: string;
|
|
415
|
+
fabricProfile?: FabricProfileUnion;
|
|
416
|
+
maximumConcurrency?: number;
|
|
417
|
+
organizationProfile?: OrganizationProfileUnion;
|
|
418
|
+
provisioningState?: ProvisioningState;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
// @public
|
|
422
|
+
export type PredictionPreference = string;
|
|
423
|
+
|
|
424
|
+
// @public
|
|
425
|
+
export type ProvisioningState = string;
|
|
426
|
+
|
|
427
|
+
// @public
|
|
428
|
+
export interface ProxyResource extends Resource {
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
// @public
|
|
432
|
+
export interface Quota {
|
|
433
|
+
currentValue: number;
|
|
434
|
+
id: string;
|
|
435
|
+
limit: number;
|
|
436
|
+
readonly name?: QuotaName;
|
|
437
|
+
unit: string;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
// @public
|
|
441
|
+
export interface QuotaName {
|
|
442
|
+
localizedValue?: string;
|
|
443
|
+
value?: string;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
// @public
|
|
447
|
+
export interface Resource {
|
|
448
|
+
readonly id?: string;
|
|
449
|
+
readonly name?: string;
|
|
450
|
+
readonly systemData?: SystemData;
|
|
451
|
+
readonly type?: string;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
// @public
|
|
455
|
+
export interface ResourceDetailsListByPoolOptionalParams extends OperationOptions {
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
// @public
|
|
459
|
+
export interface ResourceDetailsObject extends ProxyResource {
|
|
460
|
+
properties?: ResourceDetailsObjectProperties;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
// @public
|
|
464
|
+
export interface ResourceDetailsObjectProperties {
|
|
465
|
+
image: string;
|
|
466
|
+
imageVersion: string;
|
|
467
|
+
status: ResourceStatus;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
// @public
|
|
471
|
+
export interface ResourceDetailsOperations {
|
|
472
|
+
listByPool: (resourceGroupName: string, poolName: string, options?: ResourceDetailsListByPoolOptionalParams) => PagedAsyncIterableIterator<ResourceDetailsObject>;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
// @public
|
|
476
|
+
export interface ResourcePredictions {
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
// @public
|
|
480
|
+
export interface ResourcePredictionsProfile {
|
|
481
|
+
kind: ResourcePredictionsProfileType;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
// @public
|
|
485
|
+
export type ResourcePredictionsProfileType = string;
|
|
486
|
+
|
|
487
|
+
// @public
|
|
488
|
+
export type ResourcePredictionsProfileUnion = ManualResourcePredictionsProfile | AutomaticResourcePredictionsProfile | ResourcePredictionsProfile;
|
|
489
|
+
|
|
490
|
+
// @public
|
|
491
|
+
export interface ResourceSku extends ProxyResource {
|
|
492
|
+
properties?: ResourceSkuProperties;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
// @public
|
|
496
|
+
export interface ResourceSkuCapabilities {
|
|
497
|
+
name: string;
|
|
498
|
+
value: string;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
// @public
|
|
502
|
+
export interface ResourceSkuLocationInfo {
|
|
503
|
+
location: string;
|
|
504
|
+
zoneDetails: ResourceSkuZoneDetails[];
|
|
505
|
+
zones: string[];
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
// @public
|
|
509
|
+
export interface ResourceSkuProperties {
|
|
510
|
+
capabilities: ResourceSkuCapabilities[];
|
|
511
|
+
family: string;
|
|
512
|
+
locationInfo: ResourceSkuLocationInfo[];
|
|
513
|
+
locations: string[];
|
|
514
|
+
resourceType: string;
|
|
515
|
+
restrictions: ResourceSkuRestrictions[];
|
|
516
|
+
size: string;
|
|
517
|
+
tier: string;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
// @public
|
|
521
|
+
export interface ResourceSkuRestrictionInfo {
|
|
522
|
+
locations?: string[];
|
|
523
|
+
zones?: string[];
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
// @public
|
|
527
|
+
export interface ResourceSkuRestrictions {
|
|
528
|
+
reasonCode?: ResourceSkuRestrictionsReasonCode;
|
|
529
|
+
restrictionInfo: ResourceSkuRestrictionInfo;
|
|
530
|
+
type?: ResourceSkuRestrictionsType;
|
|
531
|
+
values: string[];
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
// @public
|
|
535
|
+
export type ResourceSkuRestrictionsReasonCode = string;
|
|
536
|
+
|
|
537
|
+
// @public
|
|
538
|
+
export type ResourceSkuRestrictionsType = string;
|
|
539
|
+
|
|
540
|
+
// @public
|
|
541
|
+
export interface ResourceSkuZoneDetails {
|
|
542
|
+
capabilities: ResourceSkuCapabilities[];
|
|
543
|
+
name: string[];
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
// @public
|
|
547
|
+
export type ResourceStatus = string;
|
|
548
|
+
|
|
549
|
+
// @public
|
|
550
|
+
export function restorePoller<TResponse extends PathUncheckedResponse, TResult>(client: DevOpsInfrastructureClient, serializedState: string, sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult>): PollerLike<OperationState<TResult>, TResult>;
|
|
551
|
+
|
|
552
|
+
// @public (undocumented)
|
|
553
|
+
export interface RestorePollerOptions<TResult, TResponse extends PathUncheckedResponse = PathUncheckedResponse> extends OperationOptions {
|
|
554
|
+
abortSignal?: AbortSignalLike;
|
|
555
|
+
processResponseBody?: (result: TResponse) => Promise<TResult>;
|
|
556
|
+
updateIntervalInMs?: number;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
// @public
|
|
560
|
+
export interface SecretsManagementSettings {
|
|
561
|
+
certificateStoreLocation?: string;
|
|
562
|
+
keyExportable: boolean;
|
|
563
|
+
observedCertificates: string[];
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
// @public
|
|
567
|
+
export interface SkuListByLocationOptionalParams extends OperationOptions {
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
// @public
|
|
571
|
+
export interface SkuOperations {
|
|
572
|
+
listByLocation: (locationName: string, options?: SkuListByLocationOptionalParams) => PagedAsyncIterableIterator<ResourceSku>;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
// @public
|
|
576
|
+
export interface Stateful extends AgentProfile {
|
|
577
|
+
gracePeriodTimeSpan?: string;
|
|
578
|
+
kind: "Stateful";
|
|
579
|
+
maxAgentLifetime?: string;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
// @public
|
|
583
|
+
export interface StatelessAgentProfile extends AgentProfile {
|
|
584
|
+
kind: "Stateless";
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
// @public
|
|
588
|
+
export type StorageAccountType = string;
|
|
589
|
+
|
|
590
|
+
// @public
|
|
591
|
+
export interface StorageProfile {
|
|
592
|
+
dataDisks?: DataDisk[];
|
|
593
|
+
osDiskStorageAccountType?: OsDiskStorageAccountType;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
// @public
|
|
597
|
+
export interface SubscriptionUsagesOperations {
|
|
598
|
+
usages: (location: string, options?: SubscriptionUsagesUsagesOptionalParams) => PagedAsyncIterableIterator<Quota>;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
// @public
|
|
602
|
+
export interface SubscriptionUsagesUsagesOptionalParams extends OperationOptions {
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
// @public
|
|
606
|
+
export interface SystemData {
|
|
607
|
+
createdAt?: Date;
|
|
608
|
+
createdBy?: string;
|
|
609
|
+
createdByType?: CreatedByType;
|
|
610
|
+
lastModifiedAt?: Date;
|
|
611
|
+
lastModifiedBy?: string;
|
|
612
|
+
lastModifiedByType?: CreatedByType;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
// @public
|
|
616
|
+
export interface TrackedResource extends Resource {
|
|
617
|
+
location: string;
|
|
618
|
+
tags?: Record<string, string>;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
// @public
|
|
622
|
+
export interface UserAssignedIdentity {
|
|
623
|
+
readonly clientId?: string;
|
|
624
|
+
readonly principalId?: string;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
// @public
|
|
628
|
+
export interface VmssFabricProfile extends FabricProfile {
|
|
629
|
+
images: PoolImage[];
|
|
630
|
+
kind: "Vmss";
|
|
631
|
+
networkProfile?: NetworkProfile;
|
|
632
|
+
osProfile?: OsProfile;
|
|
633
|
+
sku: DevOpsAzureSku;
|
|
634
|
+
storageProfile?: StorageProfile;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
// (No @packageDocumentation comment for this package)
|
|
638
|
+
|
|
639
|
+
```
|