@azure/arm-containerregistry 10.1.1-alpha.20230824.1 → 11.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 +55 -8
- package/README.md +1 -1
- package/dist/index.js +2302 -877
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/cacheRulesCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/cacheRulesCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cacheRulesCreateSample.js +45 -0
- package/dist-esm/samples-dev/cacheRulesCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/cacheRulesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/cacheRulesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cacheRulesDeleteSample.js +40 -0
- package/dist-esm/samples-dev/cacheRulesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/cacheRulesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/cacheRulesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cacheRulesGetSample.js +40 -0
- package/dist-esm/samples-dev/cacheRulesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/cacheRulesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/cacheRulesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cacheRulesListSample.js +60 -0
- package/dist-esm/samples-dev/cacheRulesListSample.js.map +1 -0
- package/dist-esm/samples-dev/cacheRulesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/cacheRulesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/cacheRulesUpdateSample.js +43 -0
- package/dist-esm/samples-dev/cacheRulesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/credentialSetsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/credentialSetsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/credentialSetsCreateSample.js +51 -0
- package/dist-esm/samples-dev/credentialSetsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/credentialSetsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/credentialSetsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/credentialSetsDeleteSample.js +40 -0
- package/dist-esm/samples-dev/credentialSetsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/credentialSetsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/credentialSetsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/credentialSetsGetSample.js +40 -0
- package/dist-esm/samples-dev/credentialSetsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/credentialSetsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/credentialSetsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/credentialSetsListSample.js +60 -0
- package/dist-esm/samples-dev/credentialSetsListSample.js.map +1 -0
- package/dist-esm/samples-dev/credentialSetsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/credentialSetsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/credentialSetsUpdateSample.js +49 -0
- package/dist-esm/samples-dev/credentialSetsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
- package/dist-esm/samples-dev/registriesCheckNameAvailabilitySample.js +2 -2
- package/dist-esm/samples-dev/registriesCreateSample.js +2 -2
- package/dist-esm/samples-dev/registriesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/registriesGenerateCredentialsSample.js +1 -1
- package/dist-esm/samples-dev/registriesGetPrivateLinkResourceSample.js +1 -1
- package/dist-esm/samples-dev/registriesGetSample.js +1 -1
- package/dist-esm/samples-dev/registriesImportImageSample.js +3 -3
- package/dist-esm/samples-dev/registriesListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/registriesListCredentialsSample.js +1 -1
- package/dist-esm/samples-dev/registriesListPrivateLinkResourcesSample.js +1 -1
- package/dist-esm/samples-dev/registriesListSample.js +1 -1
- package/dist-esm/samples-dev/registriesListUsagesSample.js +1 -1
- package/dist-esm/samples-dev/registriesRegenerateCredentialSample.js +1 -1
- package/dist-esm/samples-dev/registriesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/replicationsCreateSample.js +2 -2
- package/dist-esm/samples-dev/replicationsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/replicationsGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationsListSample.js +1 -1
- package/dist-esm/samples-dev/replicationsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/scopeMapsCreateSample.js +1 -1
- package/dist-esm/samples-dev/scopeMapsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/scopeMapsGetSample.js +1 -1
- package/dist-esm/samples-dev/scopeMapsListSample.js +1 -1
- package/dist-esm/samples-dev/scopeMapsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/tokensCreateSample.js +1 -1
- package/dist-esm/samples-dev/tokensDeleteSample.js +1 -1
- package/dist-esm/samples-dev/tokensGetSample.js +1 -1
- package/dist-esm/samples-dev/tokensListSample.js +1 -1
- package/dist-esm/samples-dev/tokensUpdateSample.js +1 -1
- package/dist-esm/samples-dev/webhooksCreateSample.js +2 -4
- package/dist-esm/samples-dev/webhooksCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/webhooksDeleteSample.js +1 -1
- package/dist-esm/samples-dev/webhooksGetCallbackConfigSample.js +1 -1
- package/dist-esm/samples-dev/webhooksGetSample.js +1 -1
- package/dist-esm/samples-dev/webhooksListEventsSample.js +1 -1
- package/dist-esm/samples-dev/webhooksListSample.js +1 -1
- package/dist-esm/samples-dev/webhooksPingSample.js +1 -1
- package/dist-esm/samples-dev/webhooksUpdateSample.js +2 -4
- package/dist-esm/samples-dev/webhooksUpdateSample.js.map +1 -1
- package/dist-esm/src/containerRegistryManagementClient.d.ts +3 -1
- package/dist-esm/src/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist-esm/src/containerRegistryManagementClient.js +4 -2
- package/dist-esm/src/containerRegistryManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +432 -141
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +42 -28
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +24 -7
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +644 -236
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +10 -4
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +72 -26
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/agentPools.js +11 -11
- package/dist-esm/src/operations/agentPools.js.map +1 -1
- package/dist-esm/src/operations/cacheRules.d.ts +99 -0
- package/dist-esm/src/operations/cacheRules.d.ts.map +1 -0
- package/dist-esm/src/operations/cacheRules.js +476 -0
- package/dist-esm/src/operations/cacheRules.js.map +1 -0
- package/dist-esm/src/operations/credentialSets.d.ts +99 -0
- package/dist-esm/src/operations/credentialSets.d.ts.map +1 -0
- package/dist-esm/src/operations/credentialSets.js +476 -0
- package/dist-esm/src/operations/credentialSets.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +2 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +2 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/registries.js +8 -8
- package/dist-esm/src/operations/registries.js.map +1 -1
- package/dist-esm/src/operations/replications.js +2 -2
- package/dist-esm/src/operations/replications.js.map +1 -1
- package/dist-esm/src/operations/runs.js +9 -9
- package/dist-esm/src/operations/runs.js.map +1 -1
- package/dist-esm/src/operations/scopeMaps.js +2 -2
- package/dist-esm/src/operations/scopeMaps.js.map +1 -1
- package/dist-esm/src/operations/taskRuns.js +11 -11
- package/dist-esm/src/operations/taskRuns.js.map +1 -1
- package/dist-esm/src/operations/tasks.js +11 -11
- package/dist-esm/src/operations/tasks.js.map +1 -1
- package/dist-esm/src/operations/tokens.js +2 -2
- package/dist-esm/src/operations/tokens.js.map +1 -1
- package/dist-esm/src/operations/webhooks.js +2 -2
- package/dist-esm/src/operations/webhooks.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/cacheRules.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/cacheRules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cacheRules.js +9 -0
- package/dist-esm/src/operationsInterfaces/cacheRules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/credentialSets.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/credentialSets.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/credentialSets.js +9 -0
- package/dist-esm/src/operationsInterfaces/credentialSets.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +2 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +2 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/package.json +6 -6
- package/review/arm-containerregistry.api.md +258 -5
- package/src/containerRegistryManagementClient.ts +9 -1
- package/src/models/index.ts +494 -152
- package/src/models/mappers.ts +682 -243
- package/src/models/parameters.ts +83 -27
- package/src/operations/agentPools.ts +11 -11
- package/src/operations/cacheRules.ts +661 -0
- package/src/operations/credentialSets.ts +661 -0
- package/src/operations/index.ts +2 -0
- package/src/operations/privateEndpointConnections.ts +1 -1
- package/src/operations/registries.ts +8 -8
- package/src/operations/replications.ts +2 -2
- package/src/operations/runs.ts +9 -9
- package/src/operations/scopeMaps.ts +2 -2
- package/src/operations/taskRuns.ts +11 -11
- package/src/operations/tasks.ts +11 -11
- package/src/operations/tokens.ts +2 -2
- package/src/operations/webhooks.ts +2 -2
- package/src/operationsInterfaces/cacheRules.ts +153 -0
- package/src/operationsInterfaces/credentialSets.ts +153 -0
- package/src/operationsInterfaces/index.ts +2 -0
- package/types/arm-containerregistry.d.ts +491 -11
@@ -247,6 +247,21 @@ export declare interface Argument {
|
|
247
247
|
isSecret?: boolean;
|
248
248
|
}
|
249
249
|
|
250
|
+
/** Authentication credential stored for an upstream. */
|
251
|
+
export declare interface AuthCredential {
|
252
|
+
/** The name of the credential. */
|
253
|
+
name?: CredentialName;
|
254
|
+
/** KeyVault Secret URI for accessing the username. */
|
255
|
+
usernameSecretIdentifier?: string;
|
256
|
+
/** KeyVault Secret URI for accessing the password. */
|
257
|
+
passwordSecretIdentifier?: string;
|
258
|
+
/**
|
259
|
+
* This provides data pertaining to the health of the auth credential.
|
260
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
261
|
+
*/
|
262
|
+
readonly credentialHealth?: CredentialHealth;
|
263
|
+
}
|
264
|
+
|
250
265
|
/** The authorization properties for accessing the source code repository. */
|
251
266
|
export declare interface AuthInfo {
|
252
267
|
/** The type of Auth token. */
|
@@ -337,6 +352,183 @@ export declare interface BaseImageTriggerUpdateParameters {
|
|
337
352
|
name: string;
|
338
353
|
}
|
339
354
|
|
355
|
+
/** An object that represents a cache rule for a container registry. */
|
356
|
+
export declare interface CacheRule extends ProxyResource {
|
357
|
+
/** The ARM resource ID of the credential store which is associated with the cache rule. */
|
358
|
+
credentialSetResourceId?: string;
|
359
|
+
/** Source repository pulled from upstream. */
|
360
|
+
sourceRepository?: string;
|
361
|
+
/**
|
362
|
+
* Target repository specified in docker pull command.
|
363
|
+
* Eg: docker pull myregistry.azurecr.io/{targetRepository}:{tag}
|
364
|
+
*/
|
365
|
+
targetRepository?: string;
|
366
|
+
/**
|
367
|
+
* The creation date of the cache rule.
|
368
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
369
|
+
*/
|
370
|
+
readonly creationDate?: Date;
|
371
|
+
/**
|
372
|
+
* Provisioning state of the resource.
|
373
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
374
|
+
*/
|
375
|
+
readonly provisioningState?: ProvisioningState;
|
376
|
+
}
|
377
|
+
|
378
|
+
/** Interface representing a CacheRules. */
|
379
|
+
export declare interface CacheRules {
|
380
|
+
/**
|
381
|
+
* Lists all cache rule resources for the specified container registry.
|
382
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
383
|
+
* @param registryName The name of the container registry.
|
384
|
+
* @param options The options parameters.
|
385
|
+
*/
|
386
|
+
list(resourceGroupName: string, registryName: string, options?: CacheRulesListOptionalParams): PagedAsyncIterableIterator<CacheRule>;
|
387
|
+
/**
|
388
|
+
* Gets the properties of the specified cache rule resource.
|
389
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
390
|
+
* @param registryName The name of the container registry.
|
391
|
+
* @param cacheRuleName The name of the cache rule.
|
392
|
+
* @param options The options parameters.
|
393
|
+
*/
|
394
|
+
get(resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesGetOptionalParams): Promise<CacheRulesGetResponse>;
|
395
|
+
/**
|
396
|
+
* Creates a cache rule for a container registry with the specified parameters.
|
397
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
398
|
+
* @param registryName The name of the container registry.
|
399
|
+
* @param cacheRuleName The name of the cache rule.
|
400
|
+
* @param cacheRuleCreateParameters The parameters for creating a cache rule.
|
401
|
+
* @param options The options parameters.
|
402
|
+
*/
|
403
|
+
beginCreate(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams): Promise<SimplePollerLike<OperationState<CacheRulesCreateResponse>, CacheRulesCreateResponse>>;
|
404
|
+
/**
|
405
|
+
* Creates a cache rule for a container registry with the specified parameters.
|
406
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
407
|
+
* @param registryName The name of the container registry.
|
408
|
+
* @param cacheRuleName The name of the cache rule.
|
409
|
+
* @param cacheRuleCreateParameters The parameters for creating a cache rule.
|
410
|
+
* @param options The options parameters.
|
411
|
+
*/
|
412
|
+
beginCreateAndWait(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleCreateParameters: CacheRule, options?: CacheRulesCreateOptionalParams): Promise<CacheRulesCreateResponse>;
|
413
|
+
/**
|
414
|
+
* Deletes a cache rule resource from a container registry.
|
415
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
416
|
+
* @param registryName The name of the container registry.
|
417
|
+
* @param cacheRuleName The name of the cache rule.
|
418
|
+
* @param options The options parameters.
|
419
|
+
*/
|
420
|
+
beginDelete(resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<CacheRulesDeleteResponse>, CacheRulesDeleteResponse>>;
|
421
|
+
/**
|
422
|
+
* Deletes a cache rule resource from a container registry.
|
423
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
424
|
+
* @param registryName The name of the container registry.
|
425
|
+
* @param cacheRuleName The name of the cache rule.
|
426
|
+
* @param options The options parameters.
|
427
|
+
*/
|
428
|
+
beginDeleteAndWait(resourceGroupName: string, registryName: string, cacheRuleName: string, options?: CacheRulesDeleteOptionalParams): Promise<CacheRulesDeleteResponse>;
|
429
|
+
/**
|
430
|
+
* Updates a cache rule for a container registry with the specified parameters.
|
431
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
432
|
+
* @param registryName The name of the container registry.
|
433
|
+
* @param cacheRuleName The name of the cache rule.
|
434
|
+
* @param cacheRuleUpdateParameters The parameters for updating a cache rule.
|
435
|
+
* @param options The options parameters.
|
436
|
+
*/
|
437
|
+
beginUpdate(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CacheRulesUpdateResponse>, CacheRulesUpdateResponse>>;
|
438
|
+
/**
|
439
|
+
* Updates a cache rule for a container registry with the specified parameters.
|
440
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
441
|
+
* @param registryName The name of the container registry.
|
442
|
+
* @param cacheRuleName The name of the cache rule.
|
443
|
+
* @param cacheRuleUpdateParameters The parameters for updating a cache rule.
|
444
|
+
* @param options The options parameters.
|
445
|
+
*/
|
446
|
+
beginUpdateAndWait(resourceGroupName: string, registryName: string, cacheRuleName: string, cacheRuleUpdateParameters: CacheRuleUpdateParameters, options?: CacheRulesUpdateOptionalParams): Promise<CacheRulesUpdateResponse>;
|
447
|
+
}
|
448
|
+
|
449
|
+
/** Defines headers for CacheRules_create operation. */
|
450
|
+
export declare interface CacheRulesCreateHeaders {
|
451
|
+
azureAsyncOperation?: string;
|
452
|
+
}
|
453
|
+
|
454
|
+
/** Optional parameters. */
|
455
|
+
export declare interface CacheRulesCreateOptionalParams extends coreClient.OperationOptions {
|
456
|
+
/** Delay to wait until next poll, in milliseconds. */
|
457
|
+
updateIntervalInMs?: number;
|
458
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
459
|
+
resumeFrom?: string;
|
460
|
+
}
|
461
|
+
|
462
|
+
/** Contains response data for the create operation. */
|
463
|
+
export declare type CacheRulesCreateResponse = CacheRule;
|
464
|
+
|
465
|
+
/** Defines headers for CacheRules_delete operation. */
|
466
|
+
export declare interface CacheRulesDeleteHeaders {
|
467
|
+
location?: string;
|
468
|
+
}
|
469
|
+
|
470
|
+
/** Optional parameters. */
|
471
|
+
export declare interface CacheRulesDeleteOptionalParams extends coreClient.OperationOptions {
|
472
|
+
/** Delay to wait until next poll, in milliseconds. */
|
473
|
+
updateIntervalInMs?: number;
|
474
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
475
|
+
resumeFrom?: string;
|
476
|
+
}
|
477
|
+
|
478
|
+
/** Contains response data for the delete operation. */
|
479
|
+
export declare type CacheRulesDeleteResponse = CacheRulesDeleteHeaders;
|
480
|
+
|
481
|
+
/** Optional parameters. */
|
482
|
+
export declare interface CacheRulesGetOptionalParams extends coreClient.OperationOptions {
|
483
|
+
}
|
484
|
+
|
485
|
+
/** Contains response data for the get operation. */
|
486
|
+
export declare type CacheRulesGetResponse = CacheRule;
|
487
|
+
|
488
|
+
/** Optional parameters. */
|
489
|
+
export declare interface CacheRulesListNextOptionalParams extends coreClient.OperationOptions {
|
490
|
+
}
|
491
|
+
|
492
|
+
/** Contains response data for the listNext operation. */
|
493
|
+
export declare type CacheRulesListNextResponse = CacheRulesListResult;
|
494
|
+
|
495
|
+
/** Optional parameters. */
|
496
|
+
export declare interface CacheRulesListOptionalParams extends coreClient.OperationOptions {
|
497
|
+
}
|
498
|
+
|
499
|
+
/** Contains response data for the list operation. */
|
500
|
+
export declare type CacheRulesListResponse = CacheRulesListResult;
|
501
|
+
|
502
|
+
/** The result of a request to list cache rules for a container registry. */
|
503
|
+
export declare interface CacheRulesListResult {
|
504
|
+
/** The list of cache rules. */
|
505
|
+
value?: CacheRule[];
|
506
|
+
/** If provided, client must use NextLink URI to request next list of cache rules. */
|
507
|
+
nextLink?: string;
|
508
|
+
}
|
509
|
+
|
510
|
+
/** Defines headers for CacheRules_update operation. */
|
511
|
+
export declare interface CacheRulesUpdateHeaders {
|
512
|
+
azureAsyncOperation?: string;
|
513
|
+
}
|
514
|
+
|
515
|
+
/** Optional parameters. */
|
516
|
+
export declare interface CacheRulesUpdateOptionalParams extends coreClient.OperationOptions {
|
517
|
+
/** Delay to wait until next poll, in milliseconds. */
|
518
|
+
updateIntervalInMs?: number;
|
519
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
520
|
+
resumeFrom?: string;
|
521
|
+
}
|
522
|
+
|
523
|
+
/** Contains response data for the update operation. */
|
524
|
+
export declare type CacheRulesUpdateResponse = CacheRule;
|
525
|
+
|
526
|
+
/** The parameters for updating a cache rule. */
|
527
|
+
export declare interface CacheRuleUpdateParameters {
|
528
|
+
/** The ARM resource ID of the credential store which is associated with the Cache rule. */
|
529
|
+
credentialSetResourceId?: string;
|
530
|
+
}
|
531
|
+
|
340
532
|
/** The configuration of service URI and custom headers for the webhook. */
|
341
533
|
export declare interface CallbackConfig {
|
342
534
|
/** The service URI for the webhook to post notifications. */
|
@@ -369,6 +561,8 @@ export declare class ContainerRegistryManagementClient extends coreClient.Servic
|
|
369
561
|
* @param options The parameter options
|
370
562
|
*/
|
371
563
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ContainerRegistryManagementClientOptionalParams);
|
564
|
+
cacheRules: CacheRules;
|
565
|
+
credentialSets: CredentialSets;
|
372
566
|
registries: Registries;
|
373
567
|
operations: Operations;
|
374
568
|
privateEndpointConnections: PrivateEndpointConnections;
|
@@ -402,6 +596,35 @@ export declare interface ContainerRegistryManagementClientOptionalParams extends
|
|
402
596
|
*/
|
403
597
|
export declare type CreatedByType = string;
|
404
598
|
|
599
|
+
/** The health of the auth credential. */
|
600
|
+
export declare interface CredentialHealth {
|
601
|
+
/** The health status of credential. */
|
602
|
+
status?: CredentialHealthStatus;
|
603
|
+
/** Error code representing the health check error. */
|
604
|
+
errorCode?: string;
|
605
|
+
/** Descriptive message representing the health check error. */
|
606
|
+
errorMessage?: string;
|
607
|
+
}
|
608
|
+
|
609
|
+
/**
|
610
|
+
* Defines values for CredentialHealthStatus. \
|
611
|
+
* {@link KnownCredentialHealthStatus} can be used interchangeably with CredentialHealthStatus,
|
612
|
+
* this enum contains the known values that the service supports.
|
613
|
+
* ### Known values supported by the service
|
614
|
+
* **Healthy** \
|
615
|
+
* **Unhealthy**
|
616
|
+
*/
|
617
|
+
export declare type CredentialHealthStatus = string;
|
618
|
+
|
619
|
+
/**
|
620
|
+
* Defines values for CredentialName. \
|
621
|
+
* {@link KnownCredentialName} can be used interchangeably with CredentialName,
|
622
|
+
* this enum contains the known values that the service supports.
|
623
|
+
* ### Known values supported by the service
|
624
|
+
* **Credential1**
|
625
|
+
*/
|
626
|
+
export declare type CredentialName = string;
|
627
|
+
|
405
628
|
/** The parameters that describes a set of credentials that will be used when a run is invoked. */
|
406
629
|
export declare interface Credentials {
|
407
630
|
/** Describes the credential parameters for accessing the source registry. */
|
@@ -416,6 +639,188 @@ export declare interface Credentials {
|
|
416
639
|
};
|
417
640
|
}
|
418
641
|
|
642
|
+
/** An object that represents a credential set resource for a container registry. */
|
643
|
+
export declare interface CredentialSet extends ProxyResource {
|
644
|
+
/** Identities associated with the resource. This is used to access the KeyVault secrets. */
|
645
|
+
identity?: IdentityProperties;
|
646
|
+
/** The credentials are stored for this upstream or login server. */
|
647
|
+
loginServer?: string;
|
648
|
+
/**
|
649
|
+
* List of authentication credentials stored for an upstream.
|
650
|
+
* Usually consists of a primary and an optional secondary credential.
|
651
|
+
*/
|
652
|
+
authCredentials?: AuthCredential[];
|
653
|
+
/**
|
654
|
+
* The creation date of credential store resource.
|
655
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
656
|
+
*/
|
657
|
+
readonly creationDate?: Date;
|
658
|
+
/**
|
659
|
+
* Provisioning state of the resource.
|
660
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
661
|
+
*/
|
662
|
+
readonly provisioningState?: ProvisioningState;
|
663
|
+
}
|
664
|
+
|
665
|
+
/** The result of a request to list credential sets for a container registry. */
|
666
|
+
export declare interface CredentialSetListResult {
|
667
|
+
/** The list of credential sets. Since this list may be incomplete, the nextLink field should be used to request the next list of credential sets. */
|
668
|
+
value?: CredentialSet[];
|
669
|
+
/** The URI that can be used to request the next list of credential sets. */
|
670
|
+
nextLink?: string;
|
671
|
+
}
|
672
|
+
|
673
|
+
/** Interface representing a CredentialSets. */
|
674
|
+
export declare interface CredentialSets {
|
675
|
+
/**
|
676
|
+
* Lists all credential set resources for the specified container registry.
|
677
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
678
|
+
* @param registryName The name of the container registry.
|
679
|
+
* @param options The options parameters.
|
680
|
+
*/
|
681
|
+
list(resourceGroupName: string, registryName: string, options?: CredentialSetsListOptionalParams): PagedAsyncIterableIterator<CredentialSet>;
|
682
|
+
/**
|
683
|
+
* Gets the properties of the specified credential set resource.
|
684
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
685
|
+
* @param registryName The name of the container registry.
|
686
|
+
* @param credentialSetName The name of the credential set.
|
687
|
+
* @param options The options parameters.
|
688
|
+
*/
|
689
|
+
get(resourceGroupName: string, registryName: string, credentialSetName: string, options?: CredentialSetsGetOptionalParams): Promise<CredentialSetsGetResponse>;
|
690
|
+
/**
|
691
|
+
* Creates a credential set for a container registry with the specified parameters.
|
692
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
693
|
+
* @param registryName The name of the container registry.
|
694
|
+
* @param credentialSetName The name of the credential set.
|
695
|
+
* @param credentialSetCreateParameters The parameters for creating a credential set.
|
696
|
+
* @param options The options parameters.
|
697
|
+
*/
|
698
|
+
beginCreate(resourceGroupName: string, registryName: string, credentialSetName: string, credentialSetCreateParameters: CredentialSet, options?: CredentialSetsCreateOptionalParams): Promise<SimplePollerLike<OperationState<CredentialSetsCreateResponse>, CredentialSetsCreateResponse>>;
|
699
|
+
/**
|
700
|
+
* Creates a credential set for a container registry with the specified parameters.
|
701
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
702
|
+
* @param registryName The name of the container registry.
|
703
|
+
* @param credentialSetName The name of the credential set.
|
704
|
+
* @param credentialSetCreateParameters The parameters for creating a credential set.
|
705
|
+
* @param options The options parameters.
|
706
|
+
*/
|
707
|
+
beginCreateAndWait(resourceGroupName: string, registryName: string, credentialSetName: string, credentialSetCreateParameters: CredentialSet, options?: CredentialSetsCreateOptionalParams): Promise<CredentialSetsCreateResponse>;
|
708
|
+
/**
|
709
|
+
* Deletes a credential set from a container registry.
|
710
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
711
|
+
* @param registryName The name of the container registry.
|
712
|
+
* @param credentialSetName The name of the credential set.
|
713
|
+
* @param options The options parameters.
|
714
|
+
*/
|
715
|
+
beginDelete(resourceGroupName: string, registryName: string, credentialSetName: string, options?: CredentialSetsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<CredentialSetsDeleteResponse>, CredentialSetsDeleteResponse>>;
|
716
|
+
/**
|
717
|
+
* Deletes a credential set from a container registry.
|
718
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
719
|
+
* @param registryName The name of the container registry.
|
720
|
+
* @param credentialSetName The name of the credential set.
|
721
|
+
* @param options The options parameters.
|
722
|
+
*/
|
723
|
+
beginDeleteAndWait(resourceGroupName: string, registryName: string, credentialSetName: string, options?: CredentialSetsDeleteOptionalParams): Promise<CredentialSetsDeleteResponse>;
|
724
|
+
/**
|
725
|
+
* Updates a credential set for a container registry with the specified parameters.
|
726
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
727
|
+
* @param registryName The name of the container registry.
|
728
|
+
* @param credentialSetName The name of the credential set.
|
729
|
+
* @param credentialSetUpdateParameters The parameters for updating a credential set.
|
730
|
+
* @param options The options parameters.
|
731
|
+
*/
|
732
|
+
beginUpdate(resourceGroupName: string, registryName: string, credentialSetName: string, credentialSetUpdateParameters: CredentialSetUpdateParameters, options?: CredentialSetsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CredentialSetsUpdateResponse>, CredentialSetsUpdateResponse>>;
|
733
|
+
/**
|
734
|
+
* Updates a credential set for a container registry with the specified parameters.
|
735
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
736
|
+
* @param registryName The name of the container registry.
|
737
|
+
* @param credentialSetName The name of the credential set.
|
738
|
+
* @param credentialSetUpdateParameters The parameters for updating a credential set.
|
739
|
+
* @param options The options parameters.
|
740
|
+
*/
|
741
|
+
beginUpdateAndWait(resourceGroupName: string, registryName: string, credentialSetName: string, credentialSetUpdateParameters: CredentialSetUpdateParameters, options?: CredentialSetsUpdateOptionalParams): Promise<CredentialSetsUpdateResponse>;
|
742
|
+
}
|
743
|
+
|
744
|
+
/** Defines headers for CredentialSets_create operation. */
|
745
|
+
export declare interface CredentialSetsCreateHeaders {
|
746
|
+
azureAsyncOperation?: string;
|
747
|
+
}
|
748
|
+
|
749
|
+
/** Optional parameters. */
|
750
|
+
export declare interface CredentialSetsCreateOptionalParams extends coreClient.OperationOptions {
|
751
|
+
/** Delay to wait until next poll, in milliseconds. */
|
752
|
+
updateIntervalInMs?: number;
|
753
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
754
|
+
resumeFrom?: string;
|
755
|
+
}
|
756
|
+
|
757
|
+
/** Contains response data for the create operation. */
|
758
|
+
export declare type CredentialSetsCreateResponse = CredentialSet;
|
759
|
+
|
760
|
+
/** Defines headers for CredentialSets_delete operation. */
|
761
|
+
export declare interface CredentialSetsDeleteHeaders {
|
762
|
+
location?: string;
|
763
|
+
}
|
764
|
+
|
765
|
+
/** Optional parameters. */
|
766
|
+
export declare interface CredentialSetsDeleteOptionalParams extends coreClient.OperationOptions {
|
767
|
+
/** Delay to wait until next poll, in milliseconds. */
|
768
|
+
updateIntervalInMs?: number;
|
769
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
770
|
+
resumeFrom?: string;
|
771
|
+
}
|
772
|
+
|
773
|
+
/** Contains response data for the delete operation. */
|
774
|
+
export declare type CredentialSetsDeleteResponse = CredentialSetsDeleteHeaders;
|
775
|
+
|
776
|
+
/** Optional parameters. */
|
777
|
+
export declare interface CredentialSetsGetOptionalParams extends coreClient.OperationOptions {
|
778
|
+
}
|
779
|
+
|
780
|
+
/** Contains response data for the get operation. */
|
781
|
+
export declare type CredentialSetsGetResponse = CredentialSet;
|
782
|
+
|
783
|
+
/** Optional parameters. */
|
784
|
+
export declare interface CredentialSetsListNextOptionalParams extends coreClient.OperationOptions {
|
785
|
+
}
|
786
|
+
|
787
|
+
/** Contains response data for the listNext operation. */
|
788
|
+
export declare type CredentialSetsListNextResponse = CredentialSetListResult;
|
789
|
+
|
790
|
+
/** Optional parameters. */
|
791
|
+
export declare interface CredentialSetsListOptionalParams extends coreClient.OperationOptions {
|
792
|
+
}
|
793
|
+
|
794
|
+
/** Contains response data for the list operation. */
|
795
|
+
export declare type CredentialSetsListResponse = CredentialSetListResult;
|
796
|
+
|
797
|
+
/** Defines headers for CredentialSets_update operation. */
|
798
|
+
export declare interface CredentialSetsUpdateHeaders {
|
799
|
+
azureAsyncOperation?: string;
|
800
|
+
}
|
801
|
+
|
802
|
+
/** Optional parameters. */
|
803
|
+
export declare interface CredentialSetsUpdateOptionalParams extends coreClient.OperationOptions {
|
804
|
+
/** Delay to wait until next poll, in milliseconds. */
|
805
|
+
updateIntervalInMs?: number;
|
806
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
807
|
+
resumeFrom?: string;
|
808
|
+
}
|
809
|
+
|
810
|
+
/** Contains response data for the update operation. */
|
811
|
+
export declare type CredentialSetsUpdateResponse = CredentialSet;
|
812
|
+
|
813
|
+
/** The parameters for updating a credential set */
|
814
|
+
export declare interface CredentialSetUpdateParameters {
|
815
|
+
/** Identities associated with the resource. This is used to access the KeyVault secrets. */
|
816
|
+
identity?: IdentityProperties;
|
817
|
+
/**
|
818
|
+
* List of authentication credentials stored for an upstream.
|
819
|
+
* Usually consists of a primary and an optional secondary credential.
|
820
|
+
*/
|
821
|
+
authCredentials?: AuthCredential[];
|
822
|
+
}
|
823
|
+
|
419
824
|
/** Describes the credentials that will be used to access a custom registry during a run. */
|
420
825
|
export declare interface CustomRegistryCredentials {
|
421
826
|
/** The username for logging into the custom registry. */
|
@@ -578,10 +983,53 @@ export declare interface EncryptionProperty {
|
|
578
983
|
*/
|
579
984
|
export declare type EncryptionStatus = string;
|
580
985
|
|
581
|
-
/**
|
986
|
+
/** The resource management error additional info. */
|
987
|
+
export declare interface ErrorAdditionalInfo {
|
988
|
+
/**
|
989
|
+
* The additional info type.
|
990
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
991
|
+
*/
|
992
|
+
readonly type?: string;
|
993
|
+
/**
|
994
|
+
* The additional info.
|
995
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
996
|
+
*/
|
997
|
+
readonly info?: Record<string, unknown>;
|
998
|
+
}
|
999
|
+
|
1000
|
+
/** The error detail. */
|
1001
|
+
export declare interface ErrorDetail {
|
1002
|
+
/**
|
1003
|
+
* The error code.
|
1004
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1005
|
+
*/
|
1006
|
+
readonly code?: string;
|
1007
|
+
/**
|
1008
|
+
* The error message.
|
1009
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1010
|
+
*/
|
1011
|
+
readonly message?: string;
|
1012
|
+
/**
|
1013
|
+
* The error target.
|
1014
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1015
|
+
*/
|
1016
|
+
readonly target?: string;
|
1017
|
+
/**
|
1018
|
+
* The error details.
|
1019
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1020
|
+
*/
|
1021
|
+
readonly details?: ErrorDetail[];
|
1022
|
+
/**
|
1023
|
+
* The error additional info.
|
1024
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1025
|
+
*/
|
1026
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
1027
|
+
}
|
1028
|
+
|
1029
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
582
1030
|
export declare interface ErrorResponse {
|
583
|
-
/**
|
584
|
-
error?:
|
1031
|
+
/** The error object. */
|
1032
|
+
error?: ErrorDetail;
|
585
1033
|
}
|
586
1034
|
|
587
1035
|
/** An error response from the Azure Container Registry service. */
|
@@ -596,6 +1044,12 @@ export declare interface ErrorResponseBody {
|
|
596
1044
|
details?: InnerErrorDescription[];
|
597
1045
|
}
|
598
1046
|
|
1047
|
+
/** An error response from the Azure Container Registry service. */
|
1048
|
+
export declare interface ErrorResponseForContainerRegistry {
|
1049
|
+
/** Azure container registry build API error body. */
|
1050
|
+
error?: ErrorResponseBody;
|
1051
|
+
}
|
1052
|
+
|
599
1053
|
/** The event for a webhook. */
|
600
1054
|
declare interface Event_2 extends EventInfo {
|
601
1055
|
/** The event request message sent to the service URI. */
|
@@ -763,10 +1217,16 @@ export declare function getContinuationToken(page: unknown): string | undefined;
|
|
763
1217
|
|
764
1218
|
/** Managed identity for the resource. */
|
765
1219
|
export declare interface IdentityProperties {
|
766
|
-
/**
|
767
|
-
|
768
|
-
|
769
|
-
|
1220
|
+
/**
|
1221
|
+
* The principal ID of resource identity.
|
1222
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1223
|
+
*/
|
1224
|
+
readonly principalId?: string;
|
1225
|
+
/**
|
1226
|
+
* The tenant ID of resource.
|
1227
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1228
|
+
*/
|
1229
|
+
readonly tenantId?: string;
|
770
1230
|
/** The identity type. */
|
771
1231
|
type?: ResourceIdentityType;
|
772
1232
|
/**
|
@@ -954,6 +1414,20 @@ export declare enum KnownCreatedByType {
|
|
954
1414
|
Key = "Key"
|
955
1415
|
}
|
956
1416
|
|
1417
|
+
/** Known values of {@link CredentialHealthStatus} that the service accepts. */
|
1418
|
+
export declare enum KnownCredentialHealthStatus {
|
1419
|
+
/** Healthy */
|
1420
|
+
Healthy = "Healthy",
|
1421
|
+
/** Unhealthy */
|
1422
|
+
Unhealthy = "Unhealthy"
|
1423
|
+
}
|
1424
|
+
|
1425
|
+
/** Known values of {@link CredentialName} that the service accepts. */
|
1426
|
+
export declare enum KnownCredentialName {
|
1427
|
+
/** Credential1 */
|
1428
|
+
Credential1 = "Credential1"
|
1429
|
+
}
|
1430
|
+
|
957
1431
|
/** Known values of {@link DefaultAction} that the service accepts. */
|
958
1432
|
export declare enum KnownDefaultAction {
|
959
1433
|
/** Allow */
|
@@ -3907,10 +4381,16 @@ export declare type TrustPolicyType = string;
|
|
3907
4381
|
export declare type UpdateTriggerPayloadType = string;
|
3908
4382
|
|
3909
4383
|
export declare interface UserIdentityProperties {
|
3910
|
-
/**
|
3911
|
-
|
3912
|
-
|
3913
|
-
|
4384
|
+
/**
|
4385
|
+
* The principal id of user assigned identity.
|
4386
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
4387
|
+
*/
|
4388
|
+
readonly principalId?: string;
|
4389
|
+
/**
|
4390
|
+
* The client id of user assigned identity.
|
4391
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
4392
|
+
*/
|
4393
|
+
readonly clientId?: string;
|
3914
4394
|
}
|
3915
4395
|
|
3916
4396
|
/**
|