[mgmt] containerregistry preview release (#27152)

https://github.com/Azure/sdk-release-request/issues/4495
This commit is contained in:
kazrael2119 2023-09-20 19:40:26 +08:00 коммит произвёл GitHub
Родитель aa83b6bb7d
Коммит b1da04cfec
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
264 изменённых файлов: 12840 добавлений и 532 удалений

Просмотреть файл

@ -11789,7 +11789,7 @@ packages:
dev: false
file:projects/arm-containerregistry.tgz:
resolution: {integrity: sha512-fRkiXaz22vrb1482ZJk+NFbFAPs61HZJkzyegJny6M07WriK9w8bWa7BLU+o9vNyJFvX3DNVMad/Rc5mpmebxA==, tarball: file:projects/arm-containerregistry.tgz}
resolution: {integrity: sha512-OZ+Jtgw0h7GJSc8pVq5YZUwS9rV+pCBWAfyxI4pBz9TSNx7oVw5GhBGlQclaAu0B5kB6DfT1+fMGha7JrhOdMQ==, tarball: file:projects/arm-containerregistry.tgz}
name: '@rush-temp/arm-containerregistry'
version: 0.0.0
dependencies:
@ -11806,7 +11806,7 @@ packages:
dotenv: 16.3.1
mkdirp: 2.1.6
mocha: 7.2.0
rimraf: 3.0.2
rimraf: 5.0.1
rollup: 2.79.1
rollup-plugin-sourcemaps: 0.6.3(@types/node@14.18.56)(rollup@2.79.1)
ts-node: 10.9.1(@types/node@14.18.56)(typescript@5.0.4)

Просмотреть файл

@ -1,155 +1,360 @@
# Release History
## 11.0.0-beta.1 (2023-09-07)
## 11.0.0-beta.2 (2023-09-20)
**Features**
- Added operation group CacheRules
- Added operation group CredentialSets
- Added Interface AuthCredential
- Added Interface CacheRule
- Added Interface CacheRulesCreateHeaders
- Added Interface CacheRulesCreateOptionalParams
- Added Interface CacheRulesDeleteHeaders
- Added Interface CacheRulesDeleteOptionalParams
- Added Interface CacheRulesGetOptionalParams
- Added Interface CacheRulesListNextOptionalParams
- Added Interface CacheRulesListOptionalParams
- Added Interface CacheRulesListResult
- Added Interface CacheRulesUpdateHeaders
- Added Interface CacheRulesUpdateOptionalParams
- Added Interface CacheRuleUpdateParameters
- Added Interface CredentialHealth
- Added Interface CredentialSet
- Added Interface CredentialSetListResult
- Added Interface CredentialSetsCreateHeaders
- Added Interface CredentialSetsCreateOptionalParams
- Added Interface CredentialSetsDeleteHeaders
- Added Interface CredentialSetsDeleteOptionalParams
- Added Interface CredentialSetsGetOptionalParams
- Added Interface CredentialSetsListNextOptionalParams
- Added Interface CredentialSetsListOptionalParams
- Added Interface CredentialSetsUpdateHeaders
- Added Interface CredentialSetsUpdateOptionalParams
- Added Interface CredentialSetUpdateParameters
- Added Interface ErrorAdditionalInfo
- Added Interface ErrorDetail
- Added Interface ErrorResponseForContainerRegistry
- Added Type Alias CacheRulesCreateResponse
- Added Type Alias CacheRulesDeleteResponse
- Added Type Alias CacheRulesGetResponse
- Added Type Alias CacheRulesListNextResponse
- Added Type Alias CacheRulesListResponse
- Added Type Alias CacheRulesUpdateResponse
- Added Type Alias CredentialHealthStatus
- Added Type Alias CredentialName
- Added Type Alias CredentialSetsCreateResponse
- Added Type Alias CredentialSetsDeleteResponse
- Added Type Alias CredentialSetsGetResponse
- Added Type Alias CredentialSetsListNextResponse
- Added Type Alias CredentialSetsListResponse
- Added Type Alias CredentialSetsUpdateResponse
- Added Enum KnownCredentialHealthStatus
- Added Enum KnownCredentialName
- Added operation group Archives
- Added operation group ArchiveVersions
- Added operation group CacheRules
- Added operation group ConnectedRegistries
- Added operation group CredentialSets
- Added operation group ExportPipelines
- Added operation group ImportPipelines
- Added operation group PipelineRuns
- Added Interface ActivationProperties
- Added Interface Archive
- Added Interface ArchiveListResult
- Added Interface ArchivePackageSourceProperties
- Added Interface ArchiveProperties
- Added Interface ArchivesCreateHeaders
- Added Interface ArchivesCreateOptionalParams
- Added Interface ArchivesDeleteHeaders
- Added Interface ArchivesDeleteOptionalParams
- Added Interface ArchivesGetOptionalParams
- Added Interface ArchivesListNextOptionalParams
- Added Interface ArchivesListOptionalParams
- Added Interface ArchivesUpdateOptionalParams
- Added Interface ArchiveUpdateParameters
- Added Interface ArchiveVersion
- Added Interface ArchiveVersionListResult
- Added Interface ArchiveVersionsCreateHeaders
- Added Interface ArchiveVersionsCreateOptionalParams
- Added Interface ArchiveVersionsDeleteHeaders
- Added Interface ArchiveVersionsDeleteOptionalParams
- Added Interface ArchiveVersionsGetOptionalParams
- Added Interface ArchiveVersionsListNextOptionalParams
- Added Interface ArchiveVersionsListOptionalParams
- Added Interface AuthCredential
- Added Interface AzureADAuthenticationAsArmPolicy
- Added Interface CacheRule
- Added Interface CacheRulesCreateHeaders
- Added Interface CacheRulesCreateOptionalParams
- Added Interface CacheRulesDeleteHeaders
- Added Interface CacheRulesDeleteOptionalParams
- Added Interface CacheRulesGetOptionalParams
- Added Interface CacheRulesListNextOptionalParams
- Added Interface CacheRulesListOptionalParams
- Added Interface CacheRulesListResult
- Added Interface CacheRulesUpdateHeaders
- Added Interface CacheRulesUpdateOptionalParams
- Added Interface CacheRuleUpdateParameters
- Added Interface ConnectedRegistriesCreateHeaders
- Added Interface ConnectedRegistriesCreateOptionalParams
- Added Interface ConnectedRegistriesDeactivateHeaders
- Added Interface ConnectedRegistriesDeactivateOptionalParams
- Added Interface ConnectedRegistriesDeleteHeaders
- Added Interface ConnectedRegistriesDeleteOptionalParams
- Added Interface ConnectedRegistriesGetOptionalParams
- Added Interface ConnectedRegistriesListNextOptionalParams
- Added Interface ConnectedRegistriesListOptionalParams
- Added Interface ConnectedRegistriesUpdateHeaders
- Added Interface ConnectedRegistriesUpdateOptionalParams
- Added Interface ConnectedRegistry
- Added Interface ConnectedRegistryListResult
- Added Interface ConnectedRegistryUpdateParameters
- Added Interface CredentialHealth
- Added Interface CredentialSet
- Added Interface CredentialSetListResult
- Added Interface CredentialSetsCreateHeaders
- Added Interface CredentialSetsCreateOptionalParams
- Added Interface CredentialSetsDeleteHeaders
- Added Interface CredentialSetsDeleteOptionalParams
- Added Interface CredentialSetsGetOptionalParams
- Added Interface CredentialSetsListNextOptionalParams
- Added Interface CredentialSetsListOptionalParams
- Added Interface CredentialSetsUpdateHeaders
- Added Interface CredentialSetsUpdateOptionalParams
- Added Interface CredentialSetUpdateParameters
- Added Interface DebianArchivePackageSourceProperties
- Added Interface DebianArchiveProperties
- Added Interface ErrorAdditionalInfo
- Added Interface ErrorDetail
- Added Interface ErrorResponseForContainerRegistry
- Added Interface ExportPipeline
- Added Interface ExportPipelineListResult
- Added Interface ExportPipelinesCreateHeaders
- Added Interface ExportPipelinesCreateOptionalParams
- Added Interface ExportPipelinesDeleteHeaders
- Added Interface ExportPipelinesDeleteOptionalParams
- Added Interface ExportPipelinesGetOptionalParams
- Added Interface ExportPipelinesListNextOptionalParams
- Added Interface ExportPipelinesListOptionalParams
- Added Interface ExportPipelineTargetProperties
- Added Interface ImportPipeline
- Added Interface ImportPipelineListResult
- Added Interface ImportPipelinesCreateHeaders
- Added Interface ImportPipelinesCreateOptionalParams
- Added Interface ImportPipelinesDeleteHeaders
- Added Interface ImportPipelinesDeleteOptionalParams
- Added Interface ImportPipelinesGetOptionalParams
- Added Interface ImportPipelinesListNextOptionalParams
- Added Interface ImportPipelinesListOptionalParams
- Added Interface ImportPipelineSourceProperties
- Added Interface LoggingProperties
- Added Interface LoginServerProperties
- Added Interface ParentProperties
- Added Interface PipelineRun
- Added Interface PipelineRunListResult
- Added Interface PipelineRunRequest
- Added Interface PipelineRunResponse
- Added Interface PipelineRunsCreateHeaders
- Added Interface PipelineRunsCreateOptionalParams
- Added Interface PipelineRunsDeleteHeaders
- Added Interface PipelineRunsDeleteOptionalParams
- Added Interface PipelineRunsGetOptionalParams
- Added Interface PipelineRunsListNextOptionalParams
- Added Interface PipelineRunsListOptionalParams
- Added Interface PipelineRunSourceProperties
- Added Interface PipelineRunTargetProperties
- Added Interface PipelineSourceTriggerDescriptor
- Added Interface PipelineSourceTriggerProperties
- Added Interface PipelineTriggerDescriptor
- Added Interface PipelineTriggerProperties
- Added Interface ProgressProperties
- Added Interface SoftDeletePolicy
- Added Interface StatusDetailProperties
- Added Interface SyncProperties
- Added Interface SyncUpdateProperties
- Added Interface TlsCertificateProperties
- Added Interface TlsProperties
- Added Type Alias ActivationStatus
- Added Type Alias ArchivesCreateResponse
- Added Type Alias ArchivesDeleteResponse
- Added Type Alias ArchivesGetResponse
- Added Type Alias ArchivesListNextResponse
- Added Type Alias ArchivesListResponse
- Added Type Alias ArchivesUpdateResponse
- Added Type Alias ArchiveVersionsCreateResponse
- Added Type Alias ArchiveVersionsDeleteResponse
- Added Type Alias ArchiveVersionsGetResponse
- Added Type Alias ArchiveVersionsListNextResponse
- Added Type Alias ArchiveVersionsListResponse
- Added Type Alias AuditLogStatus
- Added Type Alias AzureADAuthenticationAsArmPolicyStatus
- Added Type Alias CacheRulesCreateResponse
- Added Type Alias CacheRulesDeleteResponse
- Added Type Alias CacheRulesGetResponse
- Added Type Alias CacheRulesListNextResponse
- Added Type Alias CacheRulesListResponse
- Added Type Alias CacheRulesUpdateResponse
- Added Type Alias CertificateType
- Added Type Alias ConnectedRegistriesCreateResponse
- Added Type Alias ConnectedRegistriesGetResponse
- Added Type Alias ConnectedRegistriesListNextResponse
- Added Type Alias ConnectedRegistriesListResponse
- Added Type Alias ConnectedRegistriesUpdateResponse
- Added Type Alias ConnectedRegistryMode
- Added Type Alias ConnectionState
- Added Type Alias CredentialHealthStatus
- Added Type Alias CredentialName
- Added Type Alias CredentialSetsCreateResponse
- Added Type Alias CredentialSetsDeleteResponse
- Added Type Alias CredentialSetsGetResponse
- Added Type Alias CredentialSetsListNextResponse
- Added Type Alias CredentialSetsListResponse
- Added Type Alias CredentialSetsUpdateResponse
- Added Type Alias ExportPipelinesCreateResponse
- Added Type Alias ExportPipelinesGetResponse
- Added Type Alias ExportPipelinesListNextResponse
- Added Type Alias ExportPipelinesListResponse
- Added Type Alias ImportPipelinesCreateResponse
- Added Type Alias ImportPipelinesGetResponse
- Added Type Alias ImportPipelinesListNextResponse
- Added Type Alias ImportPipelinesListResponse
- Added Type Alias LogLevel
- Added Type Alias PackageSourceType
- Added Type Alias PipelineOptions
- Added Type Alias PipelineRunsCreateResponse
- Added Type Alias PipelineRunsGetResponse
- Added Type Alias PipelineRunsListNextResponse
- Added Type Alias PipelineRunsListResponse
- Added Type Alias PipelineRunSourceType
- Added Type Alias PipelineRunTargetType
- Added Type Alias PipelineSourceType
- Added Type Alias TlsStatus
- Interface Policies has a new optional parameter azureADAuthenticationAsArmPolicy
- Interface Policies has a new optional parameter softDeletePolicy
- Interface Registry has a new optional parameter anonymousPullEnabled
- Interface RegistryUpdateParameters has a new optional parameter anonymousPullEnabled
- Added Enum KnownActivationStatus
- Added Enum KnownAuditLogStatus
- Added Enum KnownAzureADAuthenticationAsArmPolicyStatus
- Added Enum KnownCertificateType
- Added Enum KnownConnectedRegistryMode
- Added Enum KnownConnectionState
- Added Enum KnownCredentialHealthStatus
- Added Enum KnownCredentialName
- Added Enum KnownLogLevel
- Added Enum KnownPackageSourceType
- Added Enum KnownPipelineOptions
- Added Enum KnownPipelineRunSourceType
- Added Enum KnownPipelineRunTargetType
- Added Enum KnownPipelineSourceType
- Added Enum KnownTlsStatus
**Breaking Changes**
- Type of parameter error of interface ErrorResponse is changed from ErrorResponseBody to ErrorDetail
## 10.1.0 (2023-03-21)
- Type of parameter error of interface ErrorResponse is changed from ErrorResponseBody to ErrorDetail
## 11.0.0-beta.1 (2023-09-07)
**Features**
- Added operation group ScopeMaps
- Added operation group Tokens
- Added operation Registries.beginGenerateCredentials
- Added operation Registries.beginGenerateCredentialsAndWait
- Added Interface ActiveDirectoryObject
- Added Interface AgentPool
- Added Interface DockerBuildRequest
- Added Interface DockerBuildStep
- Added Interface DockerBuildStepUpdateParameters
- Added Interface EncodedTaskRunRequest
- Added Interface EncodedTaskStep
- Added Interface EncodedTaskStepUpdateParameters
- Added Interface Event_2
- Added Interface FileTaskRunRequest
- Added Interface FileTaskStep
- Added Interface FileTaskStepUpdateParameters
- Added Interface GenerateCredentialsParameters
- Added Interface GenerateCredentialsResult
- Added Interface PrivateEndpointConnection
- Added Interface PrivateEndpointConnectionsCreateOrUpdateHeaders
- Added Interface PrivateEndpointConnectionsDeleteHeaders
- Added Interface RegistriesCreateHeaders
- Added Interface RegistriesDeleteHeaders
- Added Interface RegistriesGenerateCredentialsHeaders
- Added Interface RegistriesGenerateCredentialsOptionalParams
- Added Interface RegistriesImportImageHeaders
- Added Interface RegistriesUpdateHeaders
- Added Interface Registry
- Added Interface Replication
- Added Interface ReplicationsCreateHeaders
- Added Interface ReplicationsDeleteHeaders
- Added Interface ReplicationsUpdateHeaders
- Added Interface Run
- Added Interface ScopeMap
- Added Interface ScopeMapListResult
- Added Interface ScopeMapsCreateHeaders
- Added Interface ScopeMapsCreateOptionalParams
- Added Interface ScopeMapsDeleteHeaders
- Added Interface ScopeMapsDeleteOptionalParams
- Added Interface ScopeMapsGetOptionalParams
- Added Interface ScopeMapsListNextOptionalParams
- Added Interface ScopeMapsListOptionalParams
- Added Interface ScopeMapsUpdateHeaders
- Added Interface ScopeMapsUpdateOptionalParams
- Added Interface ScopeMapUpdateParameters
- Added Interface Task
- Added Interface TaskRun
- Added Interface TaskRunRequest
- Added Interface Token
- Added Interface TokenCertificate
- Added Interface TokenCredentialsProperties
- Added Interface TokenListResult
- Added Interface TokenPassword
- Added Interface TokensCreateHeaders
- Added Interface TokensCreateOptionalParams
- Added Interface TokensDeleteHeaders
- Added Interface TokensDeleteOptionalParams
- Added Interface TokensGetOptionalParams
- Added Interface TokensListNextOptionalParams
- Added Interface TokensListOptionalParams
- Added Interface TokensUpdateHeaders
- Added Interface TokensUpdateOptionalParams
- Added Interface TokenUpdateParameters
- Added Interface Webhook
- Added Interface WebhooksCreateHeaders
- Added Interface WebhooksDeleteHeaders
- Added Interface WebhooksUpdateHeaders
- Added Type Alias RegistriesGenerateCredentialsResponse
- Added Type Alias ScopeMapsCreateResponse
- Added Type Alias ScopeMapsGetResponse
- Added Type Alias ScopeMapsListNextResponse
- Added Type Alias ScopeMapsListResponse
- Added Type Alias ScopeMapsUpdateResponse
- Added Type Alias TokenCertificateName
- Added Type Alias TokenPasswordName
- Added Type Alias TokensCreateResponse
- Added Type Alias TokensGetResponse
- Added Type Alias TokensListNextResponse
- Added Type Alias TokensListResponse
- Added Type Alias TokenStatus
- Added Type Alias TokensUpdateResponse
- Added Enum KnownTokenCertificateName
- Added Enum KnownTokenPasswordName
- Added Enum KnownTokenStatus
- Added function getContinuationToken
- Interface RunsListNextOptionalParams no longer has parameter filter
- Interface RunsListNextOptionalParams no longer has parameter top
- Added operation group CacheRules
- Added operation group CredentialSets
- Added Interface AuthCredential
- Added Interface CacheRule
- Added Interface CacheRulesCreateHeaders
- Added Interface CacheRulesCreateOptionalParams
- Added Interface CacheRulesDeleteHeaders
- Added Interface CacheRulesDeleteOptionalParams
- Added Interface CacheRulesGetOptionalParams
- Added Interface CacheRulesListNextOptionalParams
- Added Interface CacheRulesListOptionalParams
- Added Interface CacheRulesListResult
- Added Interface CacheRulesUpdateHeaders
- Added Interface CacheRulesUpdateOptionalParams
- Added Interface CacheRuleUpdateParameters
- Added Interface CredentialHealth
- Added Interface CredentialSet
- Added Interface CredentialSetListResult
- Added Interface CredentialSetsCreateHeaders
- Added Interface CredentialSetsCreateOptionalParams
- Added Interface CredentialSetsDeleteHeaders
- Added Interface CredentialSetsDeleteOptionalParams
- Added Interface CredentialSetsGetOptionalParams
- Added Interface CredentialSetsListNextOptionalParams
- Added Interface CredentialSetsListOptionalParams
- Added Interface CredentialSetsUpdateHeaders
- Added Interface CredentialSetsUpdateOptionalParams
- Added Interface CredentialSetUpdateParameters
- Added Interface ErrorAdditionalInfo
- Added Interface ErrorDetail
- Added Interface ErrorResponseForContainerRegistry
- Added Type Alias CacheRulesCreateResponse
- Added Type Alias CacheRulesDeleteResponse
- Added Type Alias CacheRulesGetResponse
- Added Type Alias CacheRulesListNextResponse
- Added Type Alias CacheRulesListResponse
- Added Type Alias CacheRulesUpdateResponse
- Added Type Alias CredentialHealthStatus
- Added Type Alias CredentialName
- Added Type Alias CredentialSetsCreateResponse
- Added Type Alias CredentialSetsDeleteResponse
- Added Type Alias CredentialSetsGetResponse
- Added Type Alias CredentialSetsListNextResponse
- Added Type Alias CredentialSetsListResponse
- Added Type Alias CredentialSetsUpdateResponse
- Added Enum KnownCredentialHealthStatus
- Added Enum KnownCredentialName
**Breaking Changes**
- Type of parameter error of interface ErrorResponse is changed from ErrorResponseBody to ErrorDetail
## 10.1.0 (2023-03-21)
**Features**
- Added operation group ScopeMaps
- Added operation group Tokens
- Added operation Registries.beginGenerateCredentials
- Added operation Registries.beginGenerateCredentialsAndWait
- Added Interface ActiveDirectoryObject
- Added Interface AgentPool
- Added Interface DockerBuildRequest
- Added Interface DockerBuildStep
- Added Interface DockerBuildStepUpdateParameters
- Added Interface EncodedTaskRunRequest
- Added Interface EncodedTaskStep
- Added Interface EncodedTaskStepUpdateParameters
- Added Interface Event_2
- Added Interface FileTaskRunRequest
- Added Interface FileTaskStep
- Added Interface FileTaskStepUpdateParameters
- Added Interface GenerateCredentialsParameters
- Added Interface GenerateCredentialsResult
- Added Interface PrivateEndpointConnection
- Added Interface PrivateEndpointConnectionsCreateOrUpdateHeaders
- Added Interface PrivateEndpointConnectionsDeleteHeaders
- Added Interface RegistriesCreateHeaders
- Added Interface RegistriesDeleteHeaders
- Added Interface RegistriesGenerateCredentialsHeaders
- Added Interface RegistriesGenerateCredentialsOptionalParams
- Added Interface RegistriesImportImageHeaders
- Added Interface RegistriesUpdateHeaders
- Added Interface Registry
- Added Interface Replication
- Added Interface ReplicationsCreateHeaders
- Added Interface ReplicationsDeleteHeaders
- Added Interface ReplicationsUpdateHeaders
- Added Interface Run
- Added Interface ScopeMap
- Added Interface ScopeMapListResult
- Added Interface ScopeMapsCreateHeaders
- Added Interface ScopeMapsCreateOptionalParams
- Added Interface ScopeMapsDeleteHeaders
- Added Interface ScopeMapsDeleteOptionalParams
- Added Interface ScopeMapsGetOptionalParams
- Added Interface ScopeMapsListNextOptionalParams
- Added Interface ScopeMapsListOptionalParams
- Added Interface ScopeMapsUpdateHeaders
- Added Interface ScopeMapsUpdateOptionalParams
- Added Interface ScopeMapUpdateParameters
- Added Interface Task
- Added Interface TaskRun
- Added Interface TaskRunRequest
- Added Interface Token
- Added Interface TokenCertificate
- Added Interface TokenCredentialsProperties
- Added Interface TokenListResult
- Added Interface TokenPassword
- Added Interface TokensCreateHeaders
- Added Interface TokensCreateOptionalParams
- Added Interface TokensDeleteHeaders
- Added Interface TokensDeleteOptionalParams
- Added Interface TokensGetOptionalParams
- Added Interface TokensListNextOptionalParams
- Added Interface TokensListOptionalParams
- Added Interface TokensUpdateHeaders
- Added Interface TokensUpdateOptionalParams
- Added Interface TokenUpdateParameters
- Added Interface Webhook
- Added Interface WebhooksCreateHeaders
- Added Interface WebhooksDeleteHeaders
- Added Interface WebhooksUpdateHeaders
- Added Type Alias RegistriesGenerateCredentialsResponse
- Added Type Alias ScopeMapsCreateResponse
- Added Type Alias ScopeMapsGetResponse
- Added Type Alias ScopeMapsListNextResponse
- Added Type Alias ScopeMapsListResponse
- Added Type Alias ScopeMapsUpdateResponse
- Added Type Alias TokenCertificateName
- Added Type Alias TokenPasswordName
- Added Type Alias TokensCreateResponse
- Added Type Alias TokensGetResponse
- Added Type Alias TokensListNextResponse
- Added Type Alias TokensListResponse
- Added Type Alias TokenStatus
- Added Type Alias TokensUpdateResponse
- Added Enum KnownTokenCertificateName
- Added Enum KnownTokenPasswordName
- Added Enum KnownTokenStatus
- Added function getContinuationToken
- Interface RunsListNextOptionalParams no longer has parameter filter
- Interface RunsListNextOptionalParams no longer has parameter top
## 10.0.0 (2021-12-28)
The package of @azure/arm-containerregistry is using our next generation design principles since version 10.0.0, which contains breaking changes.

Просмотреть файл

@ -1,8 +1,8 @@
{
"commit": "cee67a4b348ad227431ccb223e8945a3348be3c3",
"commit": "cc047c8902b6e9b03e6b3d1700f51526f2acb767",
"readme": "specification/containerregistry/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\containerregistry\\resource-manager\\readme.md --use=@autorest/typescript@6.0.8 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\containerregistry\\resource-manager\\readme.md --use=@autorest/typescript@6.0.9 --generate-sample=true",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.2",
"use": "@autorest/typescript@6.0.8"
}
"use": "@autorest/typescript@6.0.9"
}

Просмотреть файл

@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "js",
"TagPrefix": "js/containerregistry/arm-containerregistry",
"Tag": "js/containerregistry/arm-containerregistry_4e821cd910"
"Tag": "js/containerregistry/arm-containerregistry_09302235d4"
}

Просмотреть файл

@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for ContainerRegistryManagementClient.",
"version": "11.0.0-beta.1",
"version": "11.0.0-beta.2",
"engines": {
"node": ">=14.0.0"
},
@ -38,7 +38,7 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~5.0.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^3.0.0",
@ -84,7 +84,7 @@
"extract-api": "api-extractor run --local",
"lint": "echo skipped",
"audit": "echo skipped",
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"build:node": "echo skipped",
"build:browser": "echo skipped",
"build:test": "echo skipped",

Просмотреть файл

@ -16,6 +16,14 @@ export type Action = string;
// @public
export type ActionsRequired = string;
// @public
export interface ActivationProperties {
readonly status?: ActivationStatus;
}
// @public
export type ActivationStatus = string;
// @public
export interface ActiveDirectoryObject {
objectId?: string;
@ -128,6 +136,185 @@ export interface AgentProperties {
// @public
export type Architecture = string;
// @public
export interface Archive extends ProxyResource {
packageSource?: ArchivePackageSourceProperties;
readonly provisioningState?: ProvisioningState;
publishedVersion?: string;
readonly repositoryEndpoint?: string;
// (undocumented)
repositoryEndpointPrefix?: string;
}
// @public
export interface ArchiveListResult {
nextLink?: string;
value?: Archive[];
}
// @public
export interface ArchivePackageSourceProperties {
type?: PackageSourceType;
url?: string;
}
// @public
export interface ArchiveProperties {
packageSource?: ArchivePackageSourceProperties;
readonly provisioningState?: ProvisioningState;
publishedVersion?: string;
readonly repositoryEndpoint?: string;
// (undocumented)
repositoryEndpointPrefix?: string;
}
// @public
export interface Archives {
beginCreate(resourceGroupName: string, registryName: string, packageType: string, archiveName: string, archiveCreateParameters: Archive, options?: ArchivesCreateOptionalParams): Promise<SimplePollerLike<OperationState<ArchivesCreateResponse>, ArchivesCreateResponse>>;
beginCreateAndWait(resourceGroupName: string, registryName: string, packageType: string, archiveName: string, archiveCreateParameters: Archive, options?: ArchivesCreateOptionalParams): Promise<ArchivesCreateResponse>;
beginDelete(resourceGroupName: string, registryName: string, packageType: string, archiveName: string, options?: ArchivesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ArchivesDeleteResponse>, ArchivesDeleteResponse>>;
beginDeleteAndWait(resourceGroupName: string, registryName: string, packageType: string, archiveName: string, options?: ArchivesDeleteOptionalParams): Promise<ArchivesDeleteResponse>;
get(resourceGroupName: string, registryName: string, packageType: string, archiveName: string, options?: ArchivesGetOptionalParams): Promise<ArchivesGetResponse>;
list(resourceGroupName: string, registryName: string, packageType: string, options?: ArchivesListOptionalParams): PagedAsyncIterableIterator<Archive>;
update(resourceGroupName: string, registryName: string, packageType: string, archiveName: string, archiveUpdateParameters: ArchiveUpdateParameters, options?: ArchivesUpdateOptionalParams): Promise<ArchivesUpdateResponse>;
}
// @public
export interface ArchivesCreateHeaders {
// (undocumented)
azureAsyncOperation?: string;
}
// @public
export interface ArchivesCreateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type ArchivesCreateResponse = Archive;
// @public
export interface ArchivesDeleteHeaders {
// (undocumented)
location?: string;
}
// @public
export interface ArchivesDeleteOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type ArchivesDeleteResponse = ArchivesDeleteHeaders;
// @public
export interface ArchivesGetOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ArchivesGetResponse = Archive;
// @public
export interface ArchivesListNextOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ArchivesListNextResponse = ArchiveListResult;
// @public
export interface ArchivesListOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ArchivesListResponse = ArchiveListResult;
// @public
export interface ArchivesUpdateOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ArchivesUpdateResponse = Archive;
// @public
export interface ArchiveUpdateParameters {
publishedVersion?: string;
}
// @public
export interface ArchiveVersion extends ProxyResource {
archiveVersionErrorMessage?: string;
readonly provisioningState?: ProvisioningState;
}
// @public
export interface ArchiveVersionListResult {
nextLink?: string;
value?: ArchiveVersion[];
}
// @public
export interface ArchiveVersions {
beginCreate(resourceGroupName: string, registryName: string, packageType: string, archiveName: string, archiveVersionName: string, options?: ArchiveVersionsCreateOptionalParams): Promise<SimplePollerLike<OperationState<ArchiveVersionsCreateResponse>, ArchiveVersionsCreateResponse>>;
beginCreateAndWait(resourceGroupName: string, registryName: string, packageType: string, archiveName: string, archiveVersionName: string, options?: ArchiveVersionsCreateOptionalParams): Promise<ArchiveVersionsCreateResponse>;
beginDelete(resourceGroupName: string, registryName: string, packageType: string, archiveName: string, archiveVersionName: string, options?: ArchiveVersionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ArchiveVersionsDeleteResponse>, ArchiveVersionsDeleteResponse>>;
beginDeleteAndWait(resourceGroupName: string, registryName: string, packageType: string, archiveName: string, archiveVersionName: string, options?: ArchiveVersionsDeleteOptionalParams): Promise<ArchiveVersionsDeleteResponse>;
get(resourceGroupName: string, registryName: string, packageType: string, archiveName: string, archiveVersionName: string, options?: ArchiveVersionsGetOptionalParams): Promise<ArchiveVersionsGetResponse>;
list(resourceGroupName: string, registryName: string, packageType: string, archiveName: string, options?: ArchiveVersionsListOptionalParams): PagedAsyncIterableIterator<ArchiveVersion>;
}
// @public
export interface ArchiveVersionsCreateHeaders {
// (undocumented)
azureAsyncOperation?: string;
}
// @public
export interface ArchiveVersionsCreateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type ArchiveVersionsCreateResponse = ArchiveVersion;
// @public
export interface ArchiveVersionsDeleteHeaders {
// (undocumented)
location?: string;
}
// @public
export interface ArchiveVersionsDeleteOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type ArchiveVersionsDeleteResponse = ArchiveVersionsDeleteHeaders;
// @public
export interface ArchiveVersionsGetOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ArchiveVersionsGetResponse = ArchiveVersion;
// @public
export interface ArchiveVersionsListNextOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ArchiveVersionsListNextResponse = ArchiveVersionListResult;
// @public
export interface ArchiveVersionsListOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ArchiveVersionsListResponse = ArchiveVersionListResult;
// @public
export interface Argument {
isSecret?: boolean;
@ -135,6 +322,9 @@ export interface Argument {
value: string;
}
// @public
export type AuditLogStatus = string;
// @public
export interface AuthCredential {
readonly credentialHealth?: CredentialHealth;
@ -161,6 +351,14 @@ export interface AuthInfoUpdateParameters {
tokenType?: TokenType;
}
// @public
export interface AzureADAuthenticationAsArmPolicy {
status?: AzureADAuthenticationAsArmPolicyStatus;
}
// @public
export type AzureADAuthenticationAsArmPolicyStatus = string;
// @public
export interface BaseImageDependency {
digest?: string;
@ -300,6 +498,135 @@ export interface CallbackConfig {
serviceUri: string;
}
// @public
export type CertificateType = string;
// @public
export interface ConnectedRegistries {
beginCreate(resourceGroupName: string, registryName: string, connectedRegistryName: string, connectedRegistryCreateParameters: ConnectedRegistry, options?: ConnectedRegistriesCreateOptionalParams): Promise<SimplePollerLike<OperationState<ConnectedRegistriesCreateResponse>, ConnectedRegistriesCreateResponse>>;
beginCreateAndWait(resourceGroupName: string, registryName: string, connectedRegistryName: string, connectedRegistryCreateParameters: ConnectedRegistry, options?: ConnectedRegistriesCreateOptionalParams): Promise<ConnectedRegistriesCreateResponse>;
beginDeactivate(resourceGroupName: string, registryName: string, connectedRegistryName: string, options?: ConnectedRegistriesDeactivateOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeactivateAndWait(resourceGroupName: string, registryName: string, connectedRegistryName: string, options?: ConnectedRegistriesDeactivateOptionalParams): Promise<void>;
beginDelete(resourceGroupName: string, registryName: string, connectedRegistryName: string, options?: ConnectedRegistriesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, registryName: string, connectedRegistryName: string, options?: ConnectedRegistriesDeleteOptionalParams): Promise<void>;
beginUpdate(resourceGroupName: string, registryName: string, connectedRegistryName: string, connectedRegistryUpdateParameters: ConnectedRegistryUpdateParameters, options?: ConnectedRegistriesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ConnectedRegistriesUpdateResponse>, ConnectedRegistriesUpdateResponse>>;
beginUpdateAndWait(resourceGroupName: string, registryName: string, connectedRegistryName: string, connectedRegistryUpdateParameters: ConnectedRegistryUpdateParameters, options?: ConnectedRegistriesUpdateOptionalParams): Promise<ConnectedRegistriesUpdateResponse>;
get(resourceGroupName: string, registryName: string, connectedRegistryName: string, options?: ConnectedRegistriesGetOptionalParams): Promise<ConnectedRegistriesGetResponse>;
list(resourceGroupName: string, registryName: string, options?: ConnectedRegistriesListOptionalParams): PagedAsyncIterableIterator<ConnectedRegistry>;
}
// @public
export interface ConnectedRegistriesCreateHeaders {
// (undocumented)
azureAsyncOperation?: string;
}
// @public
export interface ConnectedRegistriesCreateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type ConnectedRegistriesCreateResponse = ConnectedRegistry;
// @public
export interface ConnectedRegistriesDeactivateHeaders {
// (undocumented)
location?: string;
}
// @public
export interface ConnectedRegistriesDeactivateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export interface ConnectedRegistriesDeleteHeaders {
// (undocumented)
location?: string;
}
// @public
export interface ConnectedRegistriesDeleteOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export interface ConnectedRegistriesGetOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ConnectedRegistriesGetResponse = ConnectedRegistry;
// @public
export interface ConnectedRegistriesListNextOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ConnectedRegistriesListNextResponse = ConnectedRegistryListResult;
// @public
export interface ConnectedRegistriesListOptionalParams extends coreClient.OperationOptions {
filter?: string;
}
// @public
export type ConnectedRegistriesListResponse = ConnectedRegistryListResult;
// @public
export interface ConnectedRegistriesUpdateHeaders {
// (undocumented)
azureAsyncOperation?: string;
}
// @public
export interface ConnectedRegistriesUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type ConnectedRegistriesUpdateResponse = ConnectedRegistry;
// @public
export interface ConnectedRegistry extends ProxyResource {
readonly activation?: ActivationProperties;
clientTokenIds?: string[];
readonly connectionState?: ConnectionState;
readonly lastActivityTime?: Date;
logging?: LoggingProperties;
loginServer?: LoginServerProperties;
mode?: ConnectedRegistryMode;
notificationsList?: string[];
parent?: ParentProperties;
readonly provisioningState?: ProvisioningState;
readonly statusDetails?: StatusDetailProperties[];
readonly version?: string;
}
// @public
export interface ConnectedRegistryListResult {
nextLink?: string;
value?: ConnectedRegistry[];
}
// @public
export type ConnectedRegistryMode = string;
// @public
export interface ConnectedRegistryUpdateParameters {
clientTokenIds?: string[];
logging?: LoggingProperties;
notificationsList?: string[];
syncProperties?: SyncUpdateProperties;
}
// @public
export type ConnectionState = string;
// @public
export type ConnectionStatus = string;
@ -311,12 +638,24 @@ export class ContainerRegistryManagementClient extends coreClient.ServiceClient
// (undocumented)
agentPools: AgentPools;
// (undocumented)
archives: Archives;
// (undocumented)
archiveVersions: ArchiveVersions;
// (undocumented)
cacheRules: CacheRules;
// (undocumented)
connectedRegistries: ConnectedRegistries;
// (undocumented)
credentialSets: CredentialSets;
// (undocumented)
exportPipelines: ExportPipelines;
// (undocumented)
importPipelines: ImportPipelines;
// (undocumented)
operations: Operations;
// (undocumented)
pipelineRuns: PipelineRuns;
// (undocumented)
privateEndpointConnections: PrivateEndpointConnections;
// (undocumented)
registries: Registries;
@ -474,6 +813,16 @@ export interface CustomRegistryCredentials {
userName?: SecretObject;
}
// @public
export interface DebianArchivePackageSourceProperties extends ArchivePackageSourceProperties {
distributionName?: string;
}
// @public
export interface DebianArchiveProperties extends ArchiveProperties {
distributionName?: string;
}
// @public
export type DefaultAction = string;
@ -637,6 +986,86 @@ export interface EventResponseMessage {
version?: string;
}
// @public
export interface ExportPipeline extends ProxyResource {
identity?: IdentityProperties;
location?: string;
options?: PipelineOptions[];
readonly provisioningState?: ProvisioningState;
target?: ExportPipelineTargetProperties;
}
// @public
export interface ExportPipelineListResult {
nextLink?: string;
value?: ExportPipeline[];
}
// @public
export interface ExportPipelines {
beginCreate(resourceGroupName: string, registryName: string, exportPipelineName: string, exportPipelineCreateParameters: ExportPipeline, options?: ExportPipelinesCreateOptionalParams): Promise<SimplePollerLike<OperationState<ExportPipelinesCreateResponse>, ExportPipelinesCreateResponse>>;
beginCreateAndWait(resourceGroupName: string, registryName: string, exportPipelineName: string, exportPipelineCreateParameters: ExportPipeline, options?: ExportPipelinesCreateOptionalParams): Promise<ExportPipelinesCreateResponse>;
beginDelete(resourceGroupName: string, registryName: string, exportPipelineName: string, options?: ExportPipelinesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, registryName: string, exportPipelineName: string, options?: ExportPipelinesDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, registryName: string, exportPipelineName: string, options?: ExportPipelinesGetOptionalParams): Promise<ExportPipelinesGetResponse>;
list(resourceGroupName: string, registryName: string, options?: ExportPipelinesListOptionalParams): PagedAsyncIterableIterator<ExportPipeline>;
}
// @public
export interface ExportPipelinesCreateHeaders {
// (undocumented)
azureAsyncOperation?: string;
}
// @public
export interface ExportPipelinesCreateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type ExportPipelinesCreateResponse = ExportPipeline;
// @public
export interface ExportPipelinesDeleteHeaders {
// (undocumented)
location?: string;
}
// @public
export interface ExportPipelinesDeleteOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export interface ExportPipelinesGetOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ExportPipelinesGetResponse = ExportPipeline;
// @public
export interface ExportPipelinesListNextOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ExportPipelinesListNextResponse = ExportPipelineListResult;
// @public
export interface ExportPipelinesListOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ExportPipelinesListResponse = ExportPipelineListResult;
// @public
export interface ExportPipelineTargetProperties {
keyVaultUri: string;
type?: string;
uri?: string;
}
// @public
export interface ExportPolicy {
status?: ExportPolicyStatus;
@ -726,6 +1155,87 @@ export interface ImportImageParameters {
// @public
export type ImportMode = string;
// @public
export interface ImportPipeline extends ProxyResource {
identity?: IdentityProperties;
location?: string;
options?: PipelineOptions[];
readonly provisioningState?: ProvisioningState;
source?: ImportPipelineSourceProperties;
trigger?: PipelineTriggerProperties;
}
// @public
export interface ImportPipelineListResult {
nextLink?: string;
value?: ImportPipeline[];
}
// @public
export interface ImportPipelines {
beginCreate(resourceGroupName: string, registryName: string, importPipelineName: string, importPipelineCreateParameters: ImportPipeline, options?: ImportPipelinesCreateOptionalParams): Promise<SimplePollerLike<OperationState<ImportPipelinesCreateResponse>, ImportPipelinesCreateResponse>>;
beginCreateAndWait(resourceGroupName: string, registryName: string, importPipelineName: string, importPipelineCreateParameters: ImportPipeline, options?: ImportPipelinesCreateOptionalParams): Promise<ImportPipelinesCreateResponse>;
beginDelete(resourceGroupName: string, registryName: string, importPipelineName: string, options?: ImportPipelinesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, registryName: string, importPipelineName: string, options?: ImportPipelinesDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, registryName: string, importPipelineName: string, options?: ImportPipelinesGetOptionalParams): Promise<ImportPipelinesGetResponse>;
list(resourceGroupName: string, registryName: string, options?: ImportPipelinesListOptionalParams): PagedAsyncIterableIterator<ImportPipeline>;
}
// @public
export interface ImportPipelinesCreateHeaders {
// (undocumented)
azureAsyncOperation?: string;
}
// @public
export interface ImportPipelinesCreateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type ImportPipelinesCreateResponse = ImportPipeline;
// @public
export interface ImportPipelinesDeleteHeaders {
// (undocumented)
location?: string;
}
// @public
export interface ImportPipelinesDeleteOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export interface ImportPipelinesGetOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ImportPipelinesGetResponse = ImportPipeline;
// @public
export interface ImportPipelinesListNextOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ImportPipelinesListNextResponse = ImportPipelineListResult;
// @public
export interface ImportPipelinesListOptionalParams extends coreClient.OperationOptions {
}
// @public
export type ImportPipelinesListResponse = ImportPipelineListResult;
// @public
export interface ImportPipelineSourceProperties {
keyVaultUri: string;
type?: PipelineSourceType;
uri?: string;
}
// @public (undocumented)
export interface ImportSource {
credentials?: ImportSourceCredentials;
@ -773,6 +1283,12 @@ export enum KnownActionsRequired {
Recreate = "Recreate"
}
// @public
export enum KnownActivationStatus {
Active = "Active",
Inactive = "Inactive"
}
// @public
export enum KnownArchitecture {
Amd64 = "amd64",
@ -782,6 +1298,18 @@ export enum KnownArchitecture {
X86 = "x86"
}
// @public
export enum KnownAuditLogStatus {
Disabled = "Disabled",
Enabled = "Enabled"
}
// @public
export enum KnownAzureADAuthenticationAsArmPolicyStatus {
Disabled = "disabled",
Enabled = "enabled"
}
// @public
export enum KnownBaseImageDependencyType {
BuildTime = "BuildTime",
@ -794,6 +1322,27 @@ export enum KnownBaseImageTriggerType {
Runtime = "Runtime"
}
// @public
export enum KnownCertificateType {
LocalDirectory = "LocalDirectory"
}
// @public
export enum KnownConnectedRegistryMode {
Mirror = "Mirror",
ReadOnly = "ReadOnly",
ReadWrite = "ReadWrite",
Registry = "Registry"
}
// @public
export enum KnownConnectionState {
Offline = "Offline",
Online = "Online",
Syncing = "Syncing",
Unhealthy = "Unhealthy"
}
// @public
export enum KnownConnectionStatus {
Approved = "Approved",
@ -853,6 +1402,15 @@ export enum KnownLastModifiedByType {
User = "User"
}
// @public
export enum KnownLogLevel {
Debug = "Debug",
Error = "Error",
Information = "Information",
None = "None",
Warning = "Warning"
}
// @public
export enum KnownNetworkRuleBypassOptions {
AzureServices = "AzureServices",
@ -865,6 +1423,34 @@ export enum KnownOS {
Windows = "Windows"
}
// @public
export enum KnownPackageSourceType {
Remote = "remote"
}
// @public
export enum KnownPipelineOptions {
ContinueOnErrors = "ContinueOnErrors",
DeleteSourceBlobOnSuccess = "DeleteSourceBlobOnSuccess",
OverwriteBlobs = "OverwriteBlobs",
OverwriteTags = "OverwriteTags"
}
// @public
export enum KnownPipelineRunSourceType {
AzureStorageBlob = "AzureStorageBlob"
}
// @public
export enum KnownPipelineRunTargetType {
AzureStorageBlob = "AzureStorageBlob"
}
// @public
export enum KnownPipelineSourceType {
AzureStorageBlobContainer = "AzureStorageBlobContainer"
}
// @public
export enum KnownPolicyStatus {
Disabled = "disabled",
@ -966,6 +1552,12 @@ export enum KnownTaskStatus {
Enabled = "Enabled"
}
// @public
export enum KnownTlsStatus {
Disabled = "Disabled",
Enabled = "Enabled"
}
// @public
export enum KnownTokenCertificateName {
Certificate1 = "certificate1",
@ -1038,6 +1630,21 @@ export enum KnownZoneRedundancy {
// @public
export type LastModifiedByType = string;
// @public
export interface LoggingProperties {
auditLogStatus?: AuditLogStatus;
logLevel?: LogLevel;
}
// @public
export interface LoginServerProperties {
readonly host?: string;
readonly tls?: TlsProperties;
}
// @public
export type LogLevel = string;
// @public
export type NetworkRuleBypassOptions = string;
@ -1125,15 +1732,163 @@ export interface OverrideTaskStepProperties {
values?: SetValue[];
}
// @public
export type PackageSourceType = string;
// @public
export interface PackageType {
readonly endpoint?: string;
name?: string;
}
// @public
export interface ParentProperties {
id?: string;
syncProperties: SyncProperties;
}
// @public
export type PasswordName = "password" | "password2";
// @public
export type PipelineOptions = string;
// @public
export interface PipelineRun extends ProxyResource {
forceUpdateTag?: string;
readonly provisioningState?: ProvisioningState;
request?: PipelineRunRequest;
readonly response?: PipelineRunResponse;
}
// @public
export interface PipelineRunListResult {
nextLink?: string;
value?: PipelineRun[];
}
// @public
export interface PipelineRunRequest {
artifacts?: string[];
catalogDigest?: string;
pipelineResourceId?: string;
source?: PipelineRunSourceProperties;
target?: PipelineRunTargetProperties;
}
// @public
export interface PipelineRunResponse {
catalogDigest?: string;
finishTime?: Date;
importedArtifacts?: string[];
pipelineRunErrorMessage?: string;
progress?: ProgressProperties;
source?: ImportPipelineSourceProperties;
startTime?: Date;
status?: string;
target?: ExportPipelineTargetProperties;
trigger?: PipelineTriggerDescriptor;
}
// @public
export interface PipelineRuns {
beginCreate(resourceGroupName: string, registryName: string, pipelineRunName: string, pipelineRunCreateParameters: PipelineRun, options?: PipelineRunsCreateOptionalParams): Promise<SimplePollerLike<OperationState<PipelineRunsCreateResponse>, PipelineRunsCreateResponse>>;
beginCreateAndWait(resourceGroupName: string, registryName: string, pipelineRunName: string, pipelineRunCreateParameters: PipelineRun, options?: PipelineRunsCreateOptionalParams): Promise<PipelineRunsCreateResponse>;
beginDelete(resourceGroupName: string, registryName: string, pipelineRunName: string, options?: PipelineRunsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, registryName: string, pipelineRunName: string, options?: PipelineRunsDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, registryName: string, pipelineRunName: string, options?: PipelineRunsGetOptionalParams): Promise<PipelineRunsGetResponse>;
list(resourceGroupName: string, registryName: string, options?: PipelineRunsListOptionalParams): PagedAsyncIterableIterator<PipelineRun>;
}
// @public
export interface PipelineRunsCreateHeaders {
// (undocumented)
azureAsyncOperation?: string;
}
// @public
export interface PipelineRunsCreateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export type PipelineRunsCreateResponse = PipelineRun;
// @public
export interface PipelineRunsDeleteHeaders {
// (undocumented)
location?: string;
}
// @public
export interface PipelineRunsDeleteOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}
// @public
export interface PipelineRunsGetOptionalParams extends coreClient.OperationOptions {
}
// @public
export type PipelineRunsGetResponse = PipelineRun;
// @public
export interface PipelineRunsListNextOptionalParams extends coreClient.OperationOptions {
}
// @public
export type PipelineRunsListNextResponse = PipelineRunListResult;
// @public
export interface PipelineRunsListOptionalParams extends coreClient.OperationOptions {
}
// @public
export type PipelineRunsListResponse = PipelineRunListResult;
// @public (undocumented)
export interface PipelineRunSourceProperties {
name?: string;
type?: PipelineRunSourceType;
}
// @public
export type PipelineRunSourceType = string;
// @public (undocumented)
export interface PipelineRunTargetProperties {
name?: string;
type?: PipelineRunTargetType;
}
// @public
export type PipelineRunTargetType = string;
// @public (undocumented)
export interface PipelineSourceTriggerDescriptor {
timestamp?: Date;
}
// @public (undocumented)
export interface PipelineSourceTriggerProperties {
status: TriggerStatus;
}
// @public
export type PipelineSourceType = string;
// @public (undocumented)
export interface PipelineTriggerDescriptor {
sourceTrigger?: PipelineSourceTriggerDescriptor;
}
// @public (undocumented)
export interface PipelineTriggerProperties {
sourceTrigger?: PipelineSourceTriggerProperties;
}
// @public
export interface PlatformProperties {
architecture?: Architecture;
@ -1150,9 +1905,11 @@ export interface PlatformUpdateParameters {
// @public
export interface Policies {
azureADAuthenticationAsArmPolicy?: AzureADAuthenticationAsArmPolicy;
exportPolicy?: ExportPolicy;
quarantinePolicy?: QuarantinePolicy;
retentionPolicy?: RetentionPolicy;
softDeletePolicy?: SoftDeletePolicy;
trustPolicy?: TrustPolicy;
}
@ -1258,6 +2015,11 @@ export interface PrivateLinkServiceConnectionState {
status?: ConnectionStatus;
}
// @public (undocumented)
export interface ProgressProperties {
percentage?: string;
}
// @public
export type ProvisioningState = string;
@ -1480,6 +2242,7 @@ export type RegistriesUpdateResponse = Registry;
// @public
export interface Registry extends Resource {
adminUserEnabled?: boolean;
anonymousPullEnabled?: boolean;
readonly creationDate?: Date;
dataEndpointEnabled?: boolean;
readonly dataEndpointHostNames?: string[];
@ -1531,6 +2294,7 @@ export interface RegistryPassword {
// @public
export interface RegistryUpdateParameters {
adminUserEnabled?: boolean;
anonymousPullEnabled?: boolean;
dataEndpointEnabled?: boolean;
encryption?: EncryptionProperty;
identity?: IdentityProperties;
@ -1942,6 +2706,13 @@ export type SkuName = string;
// @public
export type SkuTier = string;
// @public
export interface SoftDeletePolicy {
readonly lastUpdatedTime?: Date;
retentionDays?: number;
status?: PolicyStatus;
}
// @public
export interface Source {
addr?: string;
@ -2018,6 +2789,15 @@ export interface Status {
readonly timestamp?: Date;
}
// @public
export interface StatusDetailProperties {
readonly code?: string;
readonly correlationId?: string;
readonly description?: string;
readonly timestamp?: Date;
readonly type?: string;
}
// @public
export type StepType = string;
@ -2026,6 +2806,23 @@ export interface StorageAccountProperties {
id: string;
}
// @public
export interface SyncProperties {
readonly gatewayEndpoint?: string;
readonly lastSyncTime?: Date;
messageTtl: string;
schedule?: string;
syncWindow?: string;
tokenId: string;
}
// @public
export interface SyncUpdateProperties {
messageTtl?: string;
schedule?: string;
syncWindow?: string;
}
// @public
export interface SystemData {
createdAt?: Date;
@ -2297,6 +3094,21 @@ export interface TimerTriggerUpdateParameters {
status?: TriggerStatus;
}
// @public
export interface TlsCertificateProperties {
readonly location?: string;
readonly type?: CertificateType;
}
// @public
export interface TlsProperties {
readonly certificate?: TlsCertificateProperties;
readonly status?: TlsStatus;
}
// @public
export type TlsStatus = string;
// @public
export interface Token extends ProxyResource {
readonly creationDate?: Date;

Просмотреть файл

@ -0,0 +1,52 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Creates a archive for a container registry with the specified parameters.
*
* @summary Creates a archive for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveVersionCreate.json
*/
async function archiveVersionCreate() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const packageType = "rpm";
const archiveName = "myArchiveName";
const archiveVersionName = "myArchiveVersionName";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.archiveVersions.beginCreateAndWait(
resourceGroupName,
registryName,
packageType,
archiveName,
archiveVersionName
);
console.log(result);
}
async function main() {
archiveVersionCreate();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,52 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Deletes a archive version from a container registry.
*
* @summary Deletes a archive version from a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveVersionDelete.json
*/
async function archiveVersionDelete() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const packageType = "myPackageType";
const archiveName = "myArchiveName";
const archiveVersionName = "myArchiveVersionName";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.archiveVersions.beginDeleteAndWait(
resourceGroupName,
registryName,
packageType,
archiveName,
archiveVersionName
);
console.log(result);
}
async function main() {
archiveVersionDelete();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,52 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Gets the properties of the archive version.
*
* @summary Gets the properties of the archive version.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveVersionGet.json
*/
async function archiveVersionGet() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const packageType = "rpm";
const archiveName = "myArchiveName";
const archiveVersionName = "myArchiveVersionName";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.archiveVersions.get(
resourceGroupName,
registryName,
packageType,
archiveName,
archiveVersionName
);
console.log(result);
}
async function main() {
archiveVersionGet();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,53 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Lists all archive versions for the specified container registry, repository type and archive name.
*
* @summary Lists all archive versions for the specified container registry, repository type and archive name.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveVersionList.json
*/
async function archiveVersionList() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const packageType = "myPackageType";
const archiveName = "myArchiveName";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const resArray = new Array();
for await (let item of client.archiveVersions.list(
resourceGroupName,
registryName,
packageType,
archiveName
)) {
resArray.push(item);
}
console.log(resArray);
}
async function main() {
archiveVersionList();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,59 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import {
Archive,
ContainerRegistryManagementClient
} from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Creates a archive for a container registry with the specified parameters.
*
* @summary Creates a archive for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveCreate.json
*/
async function archiveCreate() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const packageType = "rpm";
const archiveName = "myArchiveName";
const archiveCreateParameters: Archive = {
packageSource: { type: "remote", url: "string" },
publishedVersion: "string",
repositoryEndpointPrefix: "string"
};
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.archives.beginCreateAndWait(
resourceGroupName,
registryName,
packageType,
archiveName,
archiveCreateParameters
);
console.log(result);
}
async function main() {
archiveCreate();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,50 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Deletes a archive from a container registry.
*
* @summary Deletes a archive from a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveDelete.json
*/
async function archiveDelete() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const packageType = "myPackageType";
const archiveName = "myArchiveName";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.archives.beginDeleteAndWait(
resourceGroupName,
registryName,
packageType,
archiveName
);
console.log(result);
}
async function main() {
archiveDelete();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,50 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Gets the properties of the archive.
*
* @summary Gets the properties of the archive.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveGet.json
*/
async function archiveGet() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const packageType = "myPackageType";
const archiveName = "myArchiveName";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.archives.get(
resourceGroupName,
registryName,
packageType,
archiveName
);
console.log(result);
}
async function main() {
archiveGet();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,51 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Lists all archives for the specified container registry and package type.
*
* @summary Lists all archives for the specified container registry and package type.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveList.json
*/
async function archiveList() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const packageType = "myPackageType";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const resArray = new Array();
for await (let item of client.archives.list(
resourceGroupName,
registryName,
packageType
)) {
resArray.push(item);
}
console.log(resArray);
}
async function main() {
archiveList();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,57 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import {
ArchiveUpdateParameters,
ContainerRegistryManagementClient
} from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Updates a archive for a container registry with the specified parameters.
*
* @summary Updates a archive for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveUpdate.json
*/
async function archiveUpdate() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const packageType = "myPackageType";
const archiveName = "myArchiveName";
const archiveUpdateParameters: ArchiveUpdateParameters = {
publishedVersion: "string"
};
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.archives.update(
resourceGroupName,
registryName,
packageType,
archiveName,
archiveUpdateParameters
);
console.log(result);
}
async function main() {
archiveUpdate();
}
main().catch(console.error);

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Creates a cache rule for a container registry with the specified parameters.
*
* @summary Creates a cache rule for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleCreate.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CacheRuleCreate.json
*/
async function cacheRuleCreate() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Deletes a cache rule resource from a container registry.
*
* @summary Deletes a cache rule resource from a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleDelete.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CacheRuleDelete.json
*/
async function cacheRuleDelete() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the properties of the specified cache rule resource.
*
* @summary Gets the properties of the specified cache rule resource.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleGet.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CacheRuleGet.json
*/
async function cacheRuleGet() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists all cache rule resources for the specified container registry.
*
* @summary Lists all cache rule resources for the specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleList.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CacheRuleList.json
*/
async function cacheRuleList() {
const subscriptionId =

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Updates a cache rule for a container registry with the specified parameters.
*
* @summary Updates a cache rule for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleUpdate.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CacheRuleUpdate.json
*/
async function cacheRuleUpdate() {
const subscriptionId =

Просмотреть файл

@ -0,0 +1,68 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import {
ConnectedRegistry,
ContainerRegistryManagementClient
} from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Creates a connected registry for a container registry with the specified parameters.
*
* @summary Creates a connected registry for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ConnectedRegistryCreate.json
*/
async function connectedRegistryCreate() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const connectedRegistryName = "myConnectedRegistry";
const connectedRegistryCreateParameters: ConnectedRegistry = {
clientTokenIds: [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token"
],
mode: "ReadWrite",
notificationsList: ["hello-world:*:*", "sample/repo/*:1.0:*"],
parent: {
syncProperties: {
messageTtl: "P2D",
schedule: "0 9 * * *",
syncWindow: "PT3H",
tokenId:
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/syncToken"
}
}
};
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.connectedRegistries.beginCreateAndWait(
resourceGroupName,
registryName,
connectedRegistryName,
connectedRegistryCreateParameters
);
console.log(result);
}
async function main() {
connectedRegistryCreate();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,48 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Deactivates the connected registry instance.
*
* @summary Deactivates the connected registry instance.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ConnectedRegistryDeactivate.json
*/
async function connectedRegistryDeactivate() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const connectedRegistryName = "myConnectedRegistry";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.connectedRegistries.beginDeactivateAndWait(
resourceGroupName,
registryName,
connectedRegistryName
);
console.log(result);
}
async function main() {
connectedRegistryDeactivate();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,48 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Deletes a connected registry from a container registry.
*
* @summary Deletes a connected registry from a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ConnectedRegistryDelete.json
*/
async function connectedRegistryDelete() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const connectedRegistryName = "myConnectedRegistry";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.connectedRegistries.beginDeleteAndWait(
resourceGroupName,
registryName,
connectedRegistryName
);
console.log(result);
}
async function main() {
connectedRegistryDelete();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,48 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Gets the properties of the connected registry.
*
* @summary Gets the properties of the connected registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ConnectedRegistryGet.json
*/
async function connectedRegistryGet() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const connectedRegistryName = "myConnectedRegistry";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.connectedRegistries.get(
resourceGroupName,
registryName,
connectedRegistryName
);
console.log(result);
}
async function main() {
connectedRegistryGet();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,49 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Lists all connected registries for the specified container registry.
*
* @summary Lists all connected registries for the specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ConnectedRegistryList.json
*/
async function connectedRegistryList() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const resArray = new Array();
for await (let item of client.connectedRegistries.list(
resourceGroupName,
registryName
)) {
resArray.push(item);
}
console.log(resArray);
}
async function main() {
connectedRegistryList();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,65 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import {
ConnectedRegistryUpdateParameters,
ContainerRegistryManagementClient
} from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Updates a connected registry with the specified parameters.
*
* @summary Updates a connected registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ConnectedRegistryUpdate.json
*/
async function connectedRegistryUpdate() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const connectedRegistryName = "myScopeMap";
const connectedRegistryUpdateParameters: ConnectedRegistryUpdateParameters = {
clientTokenIds: [
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client1Token",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tokens/client2Token"
],
logging: { auditLogStatus: "Enabled", logLevel: "Debug" },
notificationsList: ["hello-world:*:*", "sample/repo/*:1.0:*"],
syncProperties: {
messageTtl: "P30D",
schedule: "0 0 */10 * *",
syncWindow: "P2D"
}
};
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.connectedRegistries.beginUpdateAndWait(
resourceGroupName,
registryName,
connectedRegistryName,
connectedRegistryUpdateParameters
);
console.log(result);
}
async function main() {
connectedRegistryUpdate();
}
main().catch(console.error);

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Creates a credential set for a container registry with the specified parameters.
*
* @summary Creates a credential set for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CredentialSetCreate.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CredentialSetCreate.json
*/
async function credentialSetCreate() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Deletes a credential set from a container registry.
*
* @summary Deletes a credential set from a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CredentialSetDelete.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CredentialSetDelete.json
*/
async function credentialSetDelete() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the properties of the specified credential set resource.
*
* @summary Gets the properties of the specified credential set resource.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CredentialSetGet.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CredentialSetGet.json
*/
async function credentialSetGet() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists all credential set resources for the specified container registry.
*
* @summary Lists all credential set resources for the specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CredentialSetList.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CredentialSetList.json
*/
async function credentialSetList() {
const subscriptionId =

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Updates a credential set for a container registry with the specified parameters.
*
* @summary Updates a credential set for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CredentialSetUpdate.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CredentialSetUpdate.json
*/
async function credentialSetUpdate() {
const subscriptionId =

Просмотреть файл

@ -0,0 +1,62 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import {
ExportPipeline,
ContainerRegistryManagementClient
} from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Creates an export pipeline for a container registry with the specified parameters.
*
* @summary Creates an export pipeline for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ExportPipelineCreate.json
*/
async function exportPipelineCreate() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const exportPipelineName = "myExportPipeline";
const exportPipelineCreateParameters: ExportPipeline = {
identity: { type: "SystemAssigned" },
location: "westus",
options: ["OverwriteBlobs"],
target: {
type: "AzureStorageBlobContainer",
keyVaultUri: "https://myvault.vault.azure.net/secrets/acrexportsas",
uri: "https://accountname.blob.core.windows.net/containername"
}
};
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.exportPipelines.beginCreateAndWait(
resourceGroupName,
registryName,
exportPipelineName,
exportPipelineCreateParameters
);
console.log(result);
}
async function main() {
exportPipelineCreate();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,48 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Deletes an export pipeline from a container registry.
*
* @summary Deletes an export pipeline from a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ExportPipelineDelete.json
*/
async function exportPipelineDelete() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const exportPipelineName = "myExportPipeline";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.exportPipelines.beginDeleteAndWait(
resourceGroupName,
registryName,
exportPipelineName
);
console.log(result);
}
async function main() {
exportPipelineDelete();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,48 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Gets the properties of the export pipeline.
*
* @summary Gets the properties of the export pipeline.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ExportPipelineGet.json
*/
async function exportPipelineGet() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const exportPipelineName = "myExportPipeline";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.exportPipelines.get(
resourceGroupName,
registryName,
exportPipelineName
);
console.log(result);
}
async function main() {
exportPipelineGet();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,49 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Lists all export pipelines for the specified container registry.
*
* @summary Lists all export pipelines for the specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ExportPipelineList.json
*/
async function exportPipelineList() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const resArray = new Array();
for await (let item of client.exportPipelines.list(
resourceGroupName,
registryName
)) {
resArray.push(item);
}
console.log(resArray);
}
async function main() {
exportPipelineList();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,67 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import {
ImportPipeline,
ContainerRegistryManagementClient
} from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Creates an import pipeline for a container registry with the specified parameters.
*
* @summary Creates an import pipeline for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ImportPipelineCreate.json
*/
async function importPipelineCreate() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const importPipelineName = "myImportPipeline";
const importPipelineCreateParameters: ImportPipeline = {
identity: {
type: "UserAssigned",
userAssignedIdentities: {
"/subscriptions/f9d7ebedAdbd4cb4B973Aaf82c136138/resourcegroups/myResourceGroup/providers/MicrosoftManagedIdentity/userAssignedIdentities/identity2": {}
}
},
location: "westus",
options: ["OverwriteTags", "DeleteSourceBlobOnSuccess", "ContinueOnErrors"],
source: {
type: "AzureStorageBlobContainer",
keyVaultUri: "https://myvault.vault.azure.net/secrets/acrimportsas",
uri: "https://accountname.blob.core.windows.net/containername"
}
};
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.importPipelines.beginCreateAndWait(
resourceGroupName,
registryName,
importPipelineName,
importPipelineCreateParameters
);
console.log(result);
}
async function main() {
importPipelineCreate();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,48 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Deletes an import pipeline from a container registry.
*
* @summary Deletes an import pipeline from a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ImportPipelineDelete.json
*/
async function importPipelineDelete() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const importPipelineName = "myImportPipeline";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.importPipelines.beginDeleteAndWait(
resourceGroupName,
registryName,
importPipelineName
);
console.log(result);
}
async function main() {
importPipelineDelete();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,48 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Gets the properties of the import pipeline.
*
* @summary Gets the properties of the import pipeline.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ImportPipelineGet.json
*/
async function importPipelineGet() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const importPipelineName = "myImportPipeline";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.importPipelines.get(
resourceGroupName,
registryName,
importPipelineName
);
console.log(result);
}
async function main() {
importPipelineGet();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,49 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Lists all import pipelines for the specified container registry.
*
* @summary Lists all import pipelines for the specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ImportPipelineList.json
*/
async function importPipelineList() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const resArray = new Array();
for await (let item of client.importPipelines.list(
resourceGroupName,
registryName
)) {
resArray.push(item);
}
console.log(resArray);
}
async function main() {
importPipelineList();
}
main().catch(console.error);

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists all of the available Azure Container Registry REST API operations.
*
* @summary Lists all of the available Azure Container Registry REST API operations.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/OperationList.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/OperationList.json
*/
async function operationList() {
const subscriptionId =

Просмотреть файл

@ -0,0 +1,101 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import {
PipelineRun,
ContainerRegistryManagementClient
} from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Creates a pipeline run for a container registry with the specified parameters
*
* @summary Creates a pipeline run for a container registry with the specified parameters
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PipelineRunCreate_Export.json
*/
async function pipelineRunCreateExport() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const pipelineRunName = "myPipelineRun";
const pipelineRunCreateParameters: PipelineRun = {
request: {
artifacts: [
"sourceRepository/hello-world",
"sourceRepository2@sha256:00000000000000000000000000000000000"
],
pipelineResourceId:
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/exportPipelines/myExportPipeline",
target: { name: "myblob.tar.gz", type: "AzureStorageBlob" }
}
};
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.pipelineRuns.beginCreateAndWait(
resourceGroupName,
registryName,
pipelineRunName,
pipelineRunCreateParameters
);
console.log(result);
}
/**
* This sample demonstrates how to Creates a pipeline run for a container registry with the specified parameters
*
* @summary Creates a pipeline run for a container registry with the specified parameters
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PipelineRunCreate_Import.json
*/
async function pipelineRunCreateImport() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const pipelineRunName = "myPipelineRun";
const pipelineRunCreateParameters: PipelineRun = {
forceUpdateTag: "2020-03-04T17:23:21.9261521+00:00",
request: {
catalogDigest: "sha256@",
pipelineResourceId:
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/importPipelines/myImportPipeline",
source: { name: "myblob.tar.gz", type: "AzureStorageBlob" }
}
};
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.pipelineRuns.beginCreateAndWait(
resourceGroupName,
registryName,
pipelineRunName,
pipelineRunCreateParameters
);
console.log(result);
}
async function main() {
pipelineRunCreateExport();
pipelineRunCreateImport();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,48 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Deletes a pipeline run from a container registry.
*
* @summary Deletes a pipeline run from a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PipelineRunDelete.json
*/
async function pipelineRunDelete() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const pipelineRunName = "myPipelineRun";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.pipelineRuns.beginDeleteAndWait(
resourceGroupName,
registryName,
pipelineRunName
);
console.log(result);
}
async function main() {
pipelineRunDelete();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,48 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Gets the detailed information for a given pipeline run.
*
* @summary Gets the detailed information for a given pipeline run.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PipelineRunGet.json
*/
async function pipelineRunGet() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const pipelineRunName = "myPipelineRun";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const result = await client.pipelineRuns.get(
resourceGroupName,
registryName,
pipelineRunName
);
console.log(result);
}
async function main() {
pipelineRunGet();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,49 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import { ContainerRegistryManagementClient } from "@azure/arm-containerregistry";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";
dotenv.config();
/**
* This sample demonstrates how to Lists all the pipeline runs for the specified container registry.
*
* @summary Lists all the pipeline runs for the specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PipelineRunList.json
*/
async function pipelineRunList() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] ||
"00000000-0000-0000-0000-000000000000";
const resourceGroupName =
process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(
credential,
subscriptionId
);
const resArray = new Array();
for await (let item of client.pipelineRuns.list(
resourceGroupName,
registryName
)) {
resArray.push(item);
}
console.log(resArray);
}
async function main() {
pipelineRunList();
}
main().catch(console.error);

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Update the state of specified private endpoint connection associated with the container registry.
*
* @summary Update the state of specified private endpoint connection associated with the container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/PrivateEndpointConnectionCreateOrUpdate.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json
*/
async function privateEndpointConnectionCreateOrUpdate() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Deletes the specified private endpoint connection associated with the container registry.
*
* @summary Deletes the specified private endpoint connection associated with the container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/PrivateEndpointConnectionDelete.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PrivateEndpointConnectionDelete.json
*/
async function privateEndpointConnectionDelete() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Get the specified private endpoint connection associated with the container registry.
*
* @summary Get the specified private endpoint connection associated with the container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/PrivateEndpointConnectionGet.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PrivateEndpointConnectionGet.json
*/
async function privateEndpointConnectionGet() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to List all private endpoint connections in a container registry.
*
* @summary List all private endpoint connections in a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/PrivateEndpointConnectionList.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PrivateEndpointConnectionList.json
*/
async function privateEndpointConnectionList() {
const subscriptionId =

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.
*
* @summary Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryCheckNameAvailable.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryCheckNameAvailable.json
*/
async function registryCheckNameAvailable() {
const subscriptionId =
@ -46,7 +46,7 @@ async function registryCheckNameAvailable() {
* This sample demonstrates how to Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.
*
* @summary Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryCheckNameNotAvailable.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryCheckNameNotAvailable.json
*/
async function registryCheckNameNotAvailable() {
const subscriptionId =

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Creates a container registry with the specified parameters.
*
* @summary Creates a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryCreate.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryCreate.json
*/
async function registryCreate() {
const subscriptionId =
@ -53,7 +53,7 @@ async function registryCreate() {
* This sample demonstrates how to Creates a container registry with the specified parameters.
*
* @summary Creates a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryCreateZoneRedundant.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryCreateZoneRedundant.json
*/
async function registryCreateZoneRedundant() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Deletes a container registry.
*
* @summary Deletes a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryDelete.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryDelete.json
*/
async function registryDelete() {
const subscriptionId =

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Generate keys for a token of a specified container registry.
*
* @summary Generate keys for a token of a specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryGenerateCredentials.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryGenerateCredentials.json
*/
async function registryGenerateCredentials() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets a private link resource by a specified group name for a container registry.
*
* @summary Gets a private link resource by a specified group name for a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryGetPrivateLinkResource.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryGetPrivateLinkResource.json
*/
async function registryGetPrivateLinkResource() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the properties of the specified container registry.
*
* @summary Gets the properties of the specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryGet.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryGet.json
*/
async function registryGet() {
const subscriptionId =

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Copies an image to this container registry from the specified container registry.
*
* @summary Copies an image to this container registry from the specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ImportImageByManifestDigest.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ImportImageByManifestDigest.json
*/
async function importImageByManifestDigest() {
const subscriptionId =
@ -58,7 +58,7 @@ async function importImageByManifestDigest() {
* This sample demonstrates how to Copies an image to this container registry from the specified container registry.
*
* @summary Copies an image to this container registry from the specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ImportImageByTag.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ImportImageByTag.json
*/
async function importImageByTag() {
const subscriptionId =
@ -94,7 +94,7 @@ async function importImageByTag() {
* This sample demonstrates how to Copies an image to this container registry from the specified container registry.
*
* @summary Copies an image to this container registry from the specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ImportImageFromPublicRegistry.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ImportImageFromPublicRegistry.json
*/
async function importImageFromPublicRegistry() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists all the container registries under the specified resource group.
*
* @summary Lists all the container registries under the specified resource group.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryListByResourceGroup.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryListByResourceGroup.json
*/
async function registryListByResourceGroup() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists the login credentials for the specified container registry.
*
* @summary Lists the login credentials for the specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryListCredentials.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryListCredentials.json
*/
async function registryListCredentials() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists the private link resources for a container registry.
*
* @summary Lists the private link resources for a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryListPrivateLinkResources.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryListPrivateLinkResources.json
*/
async function registryListPrivateLinkResources() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists all the container registries under the specified subscription.
*
* @summary Lists all the container registries under the specified subscription.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryList.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryList.json
*/
async function registryList() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the quota usages for the specified container registry.
*
* @summary Gets the quota usages for the specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryListUsages.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryListUsages.json
*/
async function registryListUsages() {
const subscriptionId =

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Regenerates one of the login credentials for the specified container registry.
*
* @summary Regenerates one of the login credentials for the specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryRegenerateCredential.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryRegenerateCredential.json
*/
async function registryRegenerateCredential() {
const subscriptionId =

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Updates a container registry with the specified parameters.
*
* @summary Updates a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryUpdate.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryUpdate.json
*/
async function registryUpdate() {
const subscriptionId =

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Creates a replication for a container registry with the specified parameters.
*
* @summary Creates a replication for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ReplicationCreate.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ReplicationCreate.json
*/
async function replicationCreate() {
const subscriptionId =
@ -53,7 +53,7 @@ async function replicationCreate() {
* This sample demonstrates how to Creates a replication for a container registry with the specified parameters.
*
* @summary Creates a replication for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ReplicationCreateZoneRedundant.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ReplicationCreateZoneRedundant.json
*/
async function replicationCreateZoneRedundant() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Deletes a replication from a container registry.
*
* @summary Deletes a replication from a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ReplicationDelete.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ReplicationDelete.json
*/
async function replicationDelete() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the properties of the specified replication.
*
* @summary Gets the properties of the specified replication.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ReplicationGet.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ReplicationGet.json
*/
async function replicationGet() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists all the replications for the specified container registry.
*
* @summary Lists all the replications for the specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ReplicationList.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ReplicationList.json
*/
async function replicationList() {
const subscriptionId =

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Updates a replication for a container registry with the specified parameters.
*
* @summary Updates a replication for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ReplicationUpdate.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ReplicationUpdate.json
*/
async function replicationUpdate() {
const subscriptionId =

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Creates a scope map for a container registry with the specified parameters.
*
* @summary Creates a scope map for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ScopeMapCreate.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ScopeMapCreate.json
*/
async function scopeMapCreate() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Deletes a scope map from a container registry.
*
* @summary Deletes a scope map from a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ScopeMapDelete.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ScopeMapDelete.json
*/
async function scopeMapDelete() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the properties of the specified scope map.
*
* @summary Gets the properties of the specified scope map.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ScopeMapGet.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ScopeMapGet.json
*/
async function scopeMapGet() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists all the scope maps for the specified container registry.
*
* @summary Lists all the scope maps for the specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ScopeMapList.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ScopeMapList.json
*/
async function scopeMapList() {
const subscriptionId =

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Updates a scope map with the specified parameters.
*
* @summary Updates a scope map with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ScopeMapUpdate.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ScopeMapUpdate.json
*/
async function scopeMapUpdate() {
const subscriptionId =

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Creates a token for a container registry with the specified parameters.
*
* @summary Creates a token for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/TokenCreate.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/TokenCreate.json
*/
async function tokenCreate() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Deletes a token from a container registry.
*
* @summary Deletes a token from a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/TokenDelete.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/TokenDelete.json
*/
async function tokenDelete() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the properties of the specified token.
*
* @summary Gets the properties of the specified token.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/TokenGet.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/TokenGet.json
*/
async function tokenGet() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists all the tokens for the specified container registry.
*
* @summary Lists all the tokens for the specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/TokenList.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/TokenList.json
*/
async function tokenList() {
const subscriptionId =

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Updates a token with the specified parameters.
*
* @summary Updates a token with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/TokenUpdate.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/TokenUpdate.json
*/
async function tokenUpdate() {
const subscriptionId =

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Creates a webhook for a container registry with the specified parameters.
*
* @summary Creates a webhook for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/WebhookCreate.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/WebhookCreate.json
*/
async function webhookCreate() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Deletes a webhook from a container registry.
*
* @summary Deletes a webhook from a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/WebhookDelete.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/WebhookDelete.json
*/
async function webhookDelete() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the configuration of service URI and custom headers for the webhook.
*
* @summary Gets the configuration of service URI and custom headers for the webhook.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/WebhookGetCallbackConfig.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/WebhookGetCallbackConfig.json
*/
async function webhookGetCallbackConfig() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Gets the properties of the specified webhook.
*
* @summary Gets the properties of the specified webhook.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/WebhookGet.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/WebhookGet.json
*/
async function webhookGet() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists recent events for the specified webhook.
*
* @summary Lists recent events for the specified webhook.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/WebhookListEvents.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/WebhookListEvents.json
*/
async function webhookListEvents() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Lists all the webhooks for the specified container registry.
*
* @summary Lists all the webhooks for the specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/WebhookList.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/WebhookList.json
*/
async function webhookList() {
const subscriptionId =

Просмотреть файл

@ -18,7 +18,7 @@ dotenv.config();
* This sample demonstrates how to Triggers a ping event to be sent to the webhook.
*
* @summary Triggers a ping event to be sent to the webhook.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/WebhookPing.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/WebhookPing.json
*/
async function webhookPing() {
const subscriptionId =

Просмотреть файл

@ -21,7 +21,7 @@ dotenv.config();
* This sample demonstrates how to Updates a webhook with the specified parameters.
*
* @summary Updates a webhook with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/WebhookUpdate.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/WebhookUpdate.json
*/
async function webhookUpdate() {
const subscriptionId =

Просмотреть файл

@ -2,85 +2,112 @@
These sample programs show how to use the JavaScript client libraries for in some common scenarios.
| **File Name** | **Description** |
| --------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [agentPoolsCreateSample.js][agentpoolscreatesample] | Creates an agent pool for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsCreate.json |
| [agentPoolsDeleteSample.js][agentpoolsdeletesample] | Deletes a specified agent pool resource. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsDelete.json |
| [agentPoolsGetQueueStatusSample.js][agentpoolsgetqueuestatussample] | Gets the count of queued runs for a given agent pool. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsGetQueueStatus.json |
| [agentPoolsGetSample.js][agentpoolsgetsample] | Gets the detailed information for a given agent pool. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsGet.json |
| [agentPoolsListSample.js][agentpoolslistsample] | Lists all the agent pools for a specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsList.json |
| [agentPoolsUpdateSample.js][agentpoolsupdatesample] | Updates an agent pool with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsUpdate.json |
| [cacheRulesCreateSample.js][cacherulescreatesample] | Creates a cache rule for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleCreate.json |
| [cacheRulesDeleteSample.js][cacherulesdeletesample] | Deletes a cache rule resource from a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleDelete.json |
| [cacheRulesGetSample.js][cacherulesgetsample] | Gets the properties of the specified cache rule resource. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleGet.json |
| [cacheRulesListSample.js][cacheruleslistsample] | Lists all cache rule resources for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleList.json |
| [cacheRulesUpdateSample.js][cacherulesupdatesample] | Updates a cache rule for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleUpdate.json |
| [credentialSetsCreateSample.js][credentialsetscreatesample] | Creates a credential set for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CredentialSetCreate.json |
| [credentialSetsDeleteSample.js][credentialsetsdeletesample] | Deletes a credential set from a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CredentialSetDelete.json |
| [credentialSetsGetSample.js][credentialsetsgetsample] | Gets the properties of the specified credential set resource. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CredentialSetGet.json |
| [credentialSetsListSample.js][credentialsetslistsample] | Lists all credential set resources for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CredentialSetList.json |
| [credentialSetsUpdateSample.js][credentialsetsupdatesample] | Updates a credential set for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CredentialSetUpdate.json |
| [operationsListSample.js][operationslistsample] | Lists all of the available Azure Container Registry REST API operations. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/OperationList.json |
| [privateEndpointConnectionsCreateOrUpdateSample.js][privateendpointconnectionscreateorupdatesample] | Update the state of specified private endpoint connection associated with the container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/PrivateEndpointConnectionCreateOrUpdate.json |
| [privateEndpointConnectionsDeleteSample.js][privateendpointconnectionsdeletesample] | Deletes the specified private endpoint connection associated with the container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/PrivateEndpointConnectionDelete.json |
| [privateEndpointConnectionsGetSample.js][privateendpointconnectionsgetsample] | Get the specified private endpoint connection associated with the container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/PrivateEndpointConnectionGet.json |
| [privateEndpointConnectionsListSample.js][privateendpointconnectionslistsample] | List all private endpoint connections in a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/PrivateEndpointConnectionList.json |
| [registriesCheckNameAvailabilitySample.js][registrieschecknameavailabilitysample] | Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryCheckNameAvailable.json |
| [registriesCreateSample.js][registriescreatesample] | Creates a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryCreate.json |
| [registriesDeleteSample.js][registriesdeletesample] | Deletes a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryDelete.json |
| [registriesGenerateCredentialsSample.js][registriesgeneratecredentialssample] | Generate keys for a token of a specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryGenerateCredentials.json |
| [registriesGetBuildSourceUploadUrlSample.js][registriesgetbuildsourceuploadurlsample] | Get the upload location for the user to be able to upload the source. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json |
| [registriesGetPrivateLinkResourceSample.js][registriesgetprivatelinkresourcesample] | Gets a private link resource by a specified group name for a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryGetPrivateLinkResource.json |
| [registriesGetSample.js][registriesgetsample] | Gets the properties of the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryGet.json |
| [registriesImportImageSample.js][registriesimportimagesample] | Copies an image to this container registry from the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ImportImageByManifestDigest.json |
| [registriesListByResourceGroupSample.js][registrieslistbyresourcegroupsample] | Lists all the container registries under the specified resource group. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryListByResourceGroup.json |
| [registriesListCredentialsSample.js][registrieslistcredentialssample] | Lists the login credentials for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryListCredentials.json |
| [registriesListPrivateLinkResourcesSample.js][registrieslistprivatelinkresourcessample] | Lists the private link resources for a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryListPrivateLinkResources.json |
| [registriesListSample.js][registrieslistsample] | Lists all the container registries under the specified subscription. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryList.json |
| [registriesListUsagesSample.js][registrieslistusagessample] | Gets the quota usages for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryListUsages.json |
| [registriesRegenerateCredentialSample.js][registriesregeneratecredentialsample] | Regenerates one of the login credentials for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryRegenerateCredential.json |
| [registriesScheduleRunSample.js][registriesschedulerunsample] | Schedules a new run based on the request parameters and add it to the run queue. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun.json |
| [registriesUpdateSample.js][registriesupdatesample] | Updates a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/RegistryUpdate.json |
| [replicationsCreateSample.js][replicationscreatesample] | Creates a replication for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ReplicationCreate.json |
| [replicationsDeleteSample.js][replicationsdeletesample] | Deletes a replication from a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ReplicationDelete.json |
| [replicationsGetSample.js][replicationsgetsample] | Gets the properties of the specified replication. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ReplicationGet.json |
| [replicationsListSample.js][replicationslistsample] | Lists all the replications for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ReplicationList.json |
| [replicationsUpdateSample.js][replicationsupdatesample] | Updates a replication for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ReplicationUpdate.json |
| [runsCancelSample.js][runscancelsample] | Cancel an existing run. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsCancel.json |
| [runsGetLogSasUrlSample.js][runsgetlogsasurlsample] | Gets a link to download the run logs. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGetLogSasUrl.json |
| [runsGetSample.js][runsgetsample] | Gets the detailed information for a given run. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json |
| [runsListSample.js][runslistsample] | Gets all the runs for a registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsList.json |
| [runsUpdateSample.js][runsupdatesample] | Patch the run properties. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsUpdate.json |
| [scopeMapsCreateSample.js][scopemapscreatesample] | Creates a scope map for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ScopeMapCreate.json |
| [scopeMapsDeleteSample.js][scopemapsdeletesample] | Deletes a scope map from a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ScopeMapDelete.json |
| [scopeMapsGetSample.js][scopemapsgetsample] | Gets the properties of the specified scope map. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ScopeMapGet.json |
| [scopeMapsListSample.js][scopemapslistsample] | Lists all the scope maps for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ScopeMapList.json |
| [scopeMapsUpdateSample.js][scopemapsupdatesample] | Updates a scope map with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/ScopeMapUpdate.json |
| [taskRunsCreateSample.js][taskrunscreatesample] | Creates a task run for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsCreate.json |
| [taskRunsDeleteSample.js][taskrunsdeletesample] | Deletes a specified task run resource. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsDelete.json |
| [taskRunsGetDetailsSample.js][taskrunsgetdetailssample] | Gets the detailed information for a given task run that includes all secrets. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsGetDetails.json |
| [taskRunsGetSample.js][taskrunsgetsample] | Gets the detailed information for a given task run. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsGet.json |
| [taskRunsListSample.js][taskrunslistsample] | Lists all the task runs for a specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsList.json |
| [taskRunsUpdateSample.js][taskrunsupdatesample] | Updates a task run with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsUpdate.json |
| [tasksCreateSample.js][taskscreatesample] | Creates a task for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksCreate.json |
| [tasksDeleteSample.js][tasksdeletesample] | Deletes a specified task. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksDelete.json |
| [tasksGetDetailsSample.js][tasksgetdetailssample] | Returns a task with extended information that includes all secrets. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGetDetails.json |
| [tasksGetSample.js][tasksgetsample] | Get the properties of a specified task. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json |
| [tasksListSample.js][taskslistsample] | Lists all the tasks for a specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksList.json |
| [tasksUpdateSample.js][tasksupdatesample] | Updates a task with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate.json |
| [tokensCreateSample.js][tokenscreatesample] | Creates a token for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/TokenCreate.json |
| [tokensDeleteSample.js][tokensdeletesample] | Deletes a token from a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/TokenDelete.json |
| [tokensGetSample.js][tokensgetsample] | Gets the properties of the specified token. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/TokenGet.json |
| [tokensListSample.js][tokenslistsample] | Lists all the tokens for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/TokenList.json |
| [tokensUpdateSample.js][tokensupdatesample] | Updates a token with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/TokenUpdate.json |
| [webhooksCreateSample.js][webhookscreatesample] | Creates a webhook for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/WebhookCreate.json |
| [webhooksDeleteSample.js][webhooksdeletesample] | Deletes a webhook from a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/WebhookDelete.json |
| [webhooksGetCallbackConfigSample.js][webhooksgetcallbackconfigsample] | Gets the configuration of service URI and custom headers for the webhook. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/WebhookGetCallbackConfig.json |
| [webhooksGetSample.js][webhooksgetsample] | Gets the properties of the specified webhook. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/WebhookGet.json |
| [webhooksListEventsSample.js][webhookslisteventssample] | Lists recent events for the specified webhook. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/WebhookListEvents.json |
| [webhooksListSample.js][webhookslistsample] | Lists all the webhooks for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/WebhookList.json |
| [webhooksPingSample.js][webhookspingsample] | Triggers a ping event to be sent to the webhook. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/WebhookPing.json |
| [webhooksUpdateSample.js][webhooksupdatesample] | Updates a webhook with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/WebhookUpdate.json |
| **File Name** | **Description** |
| --------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [agentPoolsCreateSample.js][agentpoolscreatesample] | Creates an agent pool for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsCreate.json |
| [agentPoolsDeleteSample.js][agentpoolsdeletesample] | Deletes a specified agent pool resource. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsDelete.json |
| [agentPoolsGetQueueStatusSample.js][agentpoolsgetqueuestatussample] | Gets the count of queued runs for a given agent pool. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsGetQueueStatus.json |
| [agentPoolsGetSample.js][agentpoolsgetsample] | Gets the detailed information for a given agent pool. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsGet.json |
| [agentPoolsListSample.js][agentpoolslistsample] | Lists all the agent pools for a specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsList.json |
| [agentPoolsUpdateSample.js][agentpoolsupdatesample] | Updates an agent pool with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/AgentPoolsUpdate.json |
| [archiveVersionsCreateSample.js][archiveversionscreatesample] | Creates a archive for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveVersionCreate.json |
| [archiveVersionsDeleteSample.js][archiveversionsdeletesample] | Deletes a archive version from a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveVersionDelete.json |
| [archiveVersionsGetSample.js][archiveversionsgetsample] | Gets the properties of the archive version. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveVersionGet.json |
| [archiveVersionsListSample.js][archiveversionslistsample] | Lists all archive versions for the specified container registry, repository type and archive name. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveVersionList.json |
| [archivesCreateSample.js][archivescreatesample] | Creates a archive for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveCreate.json |
| [archivesDeleteSample.js][archivesdeletesample] | Deletes a archive from a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveDelete.json |
| [archivesGetSample.js][archivesgetsample] | Gets the properties of the archive. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveGet.json |
| [archivesListSample.js][archiveslistsample] | Lists all archives for the specified container registry and package type. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveList.json |
| [archivesUpdateSample.js][archivesupdatesample] | Updates a archive for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveUpdate.json |
| [cacheRulesCreateSample.js][cacherulescreatesample] | Creates a cache rule for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CacheRuleCreate.json |
| [cacheRulesDeleteSample.js][cacherulesdeletesample] | Deletes a cache rule resource from a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CacheRuleDelete.json |
| [cacheRulesGetSample.js][cacherulesgetsample] | Gets the properties of the specified cache rule resource. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CacheRuleGet.json |
| [cacheRulesListSample.js][cacheruleslistsample] | Lists all cache rule resources for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CacheRuleList.json |
| [cacheRulesUpdateSample.js][cacherulesupdatesample] | Updates a cache rule for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CacheRuleUpdate.json |
| [connectedRegistriesCreateSample.js][connectedregistriescreatesample] | Creates a connected registry for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ConnectedRegistryCreate.json |
| [connectedRegistriesDeactivateSample.js][connectedregistriesdeactivatesample] | Deactivates the connected registry instance. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ConnectedRegistryDeactivate.json |
| [connectedRegistriesDeleteSample.js][connectedregistriesdeletesample] | Deletes a connected registry from a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ConnectedRegistryDelete.json |
| [connectedRegistriesGetSample.js][connectedregistriesgetsample] | Gets the properties of the connected registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ConnectedRegistryGet.json |
| [connectedRegistriesListSample.js][connectedregistrieslistsample] | Lists all connected registries for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ConnectedRegistryList.json |
| [connectedRegistriesUpdateSample.js][connectedregistriesupdatesample] | Updates a connected registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ConnectedRegistryUpdate.json |
| [credentialSetsCreateSample.js][credentialsetscreatesample] | Creates a credential set for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CredentialSetCreate.json |
| [credentialSetsDeleteSample.js][credentialsetsdeletesample] | Deletes a credential set from a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CredentialSetDelete.json |
| [credentialSetsGetSample.js][credentialsetsgetsample] | Gets the properties of the specified credential set resource. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CredentialSetGet.json |
| [credentialSetsListSample.js][credentialsetslistsample] | Lists all credential set resources for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CredentialSetList.json |
| [credentialSetsUpdateSample.js][credentialsetsupdatesample] | Updates a credential set for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CredentialSetUpdate.json |
| [exportPipelinesCreateSample.js][exportpipelinescreatesample] | Creates an export pipeline for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ExportPipelineCreate.json |
| [exportPipelinesDeleteSample.js][exportpipelinesdeletesample] | Deletes an export pipeline from a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ExportPipelineDelete.json |
| [exportPipelinesGetSample.js][exportpipelinesgetsample] | Gets the properties of the export pipeline. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ExportPipelineGet.json |
| [exportPipelinesListSample.js][exportpipelineslistsample] | Lists all export pipelines for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ExportPipelineList.json |
| [importPipelinesCreateSample.js][importpipelinescreatesample] | Creates an import pipeline for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ImportPipelineCreate.json |
| [importPipelinesDeleteSample.js][importpipelinesdeletesample] | Deletes an import pipeline from a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ImportPipelineDelete.json |
| [importPipelinesGetSample.js][importpipelinesgetsample] | Gets the properties of the import pipeline. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ImportPipelineGet.json |
| [importPipelinesListSample.js][importpipelineslistsample] | Lists all import pipelines for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ImportPipelineList.json |
| [operationsListSample.js][operationslistsample] | Lists all of the available Azure Container Registry REST API operations. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/OperationList.json |
| [pipelineRunsCreateSample.js][pipelinerunscreatesample] | Creates a pipeline run for a container registry with the specified parameters x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PipelineRunCreate_Export.json |
| [pipelineRunsDeleteSample.js][pipelinerunsdeletesample] | Deletes a pipeline run from a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PipelineRunDelete.json |
| [pipelineRunsGetSample.js][pipelinerunsgetsample] | Gets the detailed information for a given pipeline run. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PipelineRunGet.json |
| [pipelineRunsListSample.js][pipelinerunslistsample] | Lists all the pipeline runs for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PipelineRunList.json |
| [privateEndpointConnectionsCreateOrUpdateSample.js][privateendpointconnectionscreateorupdatesample] | Update the state of specified private endpoint connection associated with the container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PrivateEndpointConnectionCreateOrUpdate.json |
| [privateEndpointConnectionsDeleteSample.js][privateendpointconnectionsdeletesample] | Deletes the specified private endpoint connection associated with the container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PrivateEndpointConnectionDelete.json |
| [privateEndpointConnectionsGetSample.js][privateendpointconnectionsgetsample] | Get the specified private endpoint connection associated with the container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PrivateEndpointConnectionGet.json |
| [privateEndpointConnectionsListSample.js][privateendpointconnectionslistsample] | List all private endpoint connections in a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/PrivateEndpointConnectionList.json |
| [registriesCheckNameAvailabilitySample.js][registrieschecknameavailabilitysample] | Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryCheckNameAvailable.json |
| [registriesCreateSample.js][registriescreatesample] | Creates a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryCreate.json |
| [registriesDeleteSample.js][registriesdeletesample] | Deletes a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryDelete.json |
| [registriesGenerateCredentialsSample.js][registriesgeneratecredentialssample] | Generate keys for a token of a specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryGenerateCredentials.json |
| [registriesGetBuildSourceUploadUrlSample.js][registriesgetbuildsourceuploadurlsample] | Get the upload location for the user to be able to upload the source. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json |
| [registriesGetPrivateLinkResourceSample.js][registriesgetprivatelinkresourcesample] | Gets a private link resource by a specified group name for a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryGetPrivateLinkResource.json |
| [registriesGetSample.js][registriesgetsample] | Gets the properties of the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryGet.json |
| [registriesImportImageSample.js][registriesimportimagesample] | Copies an image to this container registry from the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ImportImageByManifestDigest.json |
| [registriesListByResourceGroupSample.js][registrieslistbyresourcegroupsample] | Lists all the container registries under the specified resource group. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryListByResourceGroup.json |
| [registriesListCredentialsSample.js][registrieslistcredentialssample] | Lists the login credentials for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryListCredentials.json |
| [registriesListPrivateLinkResourcesSample.js][registrieslistprivatelinkresourcessample] | Lists the private link resources for a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryListPrivateLinkResources.json |
| [registriesListSample.js][registrieslistsample] | Lists all the container registries under the specified subscription. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryList.json |
| [registriesListUsagesSample.js][registrieslistusagessample] | Gets the quota usages for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryListUsages.json |
| [registriesRegenerateCredentialSample.js][registriesregeneratecredentialsample] | Regenerates one of the login credentials for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryRegenerateCredential.json |
| [registriesScheduleRunSample.js][registriesschedulerunsample] | Schedules a new run based on the request parameters and add it to the run queue. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun.json |
| [registriesUpdateSample.js][registriesupdatesample] | Updates a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/RegistryUpdate.json |
| [replicationsCreateSample.js][replicationscreatesample] | Creates a replication for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ReplicationCreate.json |
| [replicationsDeleteSample.js][replicationsdeletesample] | Deletes a replication from a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ReplicationDelete.json |
| [replicationsGetSample.js][replicationsgetsample] | Gets the properties of the specified replication. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ReplicationGet.json |
| [replicationsListSample.js][replicationslistsample] | Lists all the replications for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ReplicationList.json |
| [replicationsUpdateSample.js][replicationsupdatesample] | Updates a replication for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ReplicationUpdate.json |
| [runsCancelSample.js][runscancelsample] | Cancel an existing run. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsCancel.json |
| [runsGetLogSasUrlSample.js][runsgetlogsasurlsample] | Gets a link to download the run logs. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGetLogSasUrl.json |
| [runsGetSample.js][runsgetsample] | Gets the detailed information for a given run. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json |
| [runsListSample.js][runslistsample] | Gets all the runs for a registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsList.json |
| [runsUpdateSample.js][runsupdatesample] | Patch the run properties. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsUpdate.json |
| [scopeMapsCreateSample.js][scopemapscreatesample] | Creates a scope map for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ScopeMapCreate.json |
| [scopeMapsDeleteSample.js][scopemapsdeletesample] | Deletes a scope map from a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ScopeMapDelete.json |
| [scopeMapsGetSample.js][scopemapsgetsample] | Gets the properties of the specified scope map. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ScopeMapGet.json |
| [scopeMapsListSample.js][scopemapslistsample] | Lists all the scope maps for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ScopeMapList.json |
| [scopeMapsUpdateSample.js][scopemapsupdatesample] | Updates a scope map with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ScopeMapUpdate.json |
| [taskRunsCreateSample.js][taskrunscreatesample] | Creates a task run for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsCreate.json |
| [taskRunsDeleteSample.js][taskrunsdeletesample] | Deletes a specified task run resource. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsDelete.json |
| [taskRunsGetDetailsSample.js][taskrunsgetdetailssample] | Gets the detailed information for a given task run that includes all secrets. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsGetDetails.json |
| [taskRunsGetSample.js][taskrunsgetsample] | Gets the detailed information for a given task run. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsGet.json |
| [taskRunsListSample.js][taskrunslistsample] | Lists all the task runs for a specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsList.json |
| [taskRunsUpdateSample.js][taskrunsupdatesample] | Updates a task run with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TaskRunsUpdate.json |
| [tasksCreateSample.js][taskscreatesample] | Creates a task for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksCreate.json |
| [tasksDeleteSample.js][tasksdeletesample] | Deletes a specified task. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksDelete.json |
| [tasksGetDetailsSample.js][tasksgetdetailssample] | Returns a task with extended information that includes all secrets. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGetDetails.json |
| [tasksGetSample.js][tasksgetsample] | Get the properties of a specified task. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json |
| [tasksListSample.js][taskslistsample] | Lists all the tasks for a specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksList.json |
| [tasksUpdateSample.js][tasksupdatesample] | Updates a task with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate.json |
| [tokensCreateSample.js][tokenscreatesample] | Creates a token for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/TokenCreate.json |
| [tokensDeleteSample.js][tokensdeletesample] | Deletes a token from a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/TokenDelete.json |
| [tokensGetSample.js][tokensgetsample] | Gets the properties of the specified token. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/TokenGet.json |
| [tokensListSample.js][tokenslistsample] | Lists all the tokens for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/TokenList.json |
| [tokensUpdateSample.js][tokensupdatesample] | Updates a token with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/TokenUpdate.json |
| [webhooksCreateSample.js][webhookscreatesample] | Creates a webhook for a container registry with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/WebhookCreate.json |
| [webhooksDeleteSample.js][webhooksdeletesample] | Deletes a webhook from a container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/WebhookDelete.json |
| [webhooksGetCallbackConfigSample.js][webhooksgetcallbackconfigsample] | Gets the configuration of service URI and custom headers for the webhook. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/WebhookGetCallbackConfig.json |
| [webhooksGetSample.js][webhooksgetsample] | Gets the properties of the specified webhook. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/WebhookGet.json |
| [webhooksListEventsSample.js][webhookslisteventssample] | Lists recent events for the specified webhook. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/WebhookListEvents.json |
| [webhooksListSample.js][webhookslistsample] | Lists all the webhooks for the specified container registry. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/WebhookList.json |
| [webhooksPingSample.js][webhookspingsample] | Triggers a ping event to be sent to the webhook. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/WebhookPing.json |
| [webhooksUpdateSample.js][webhooksupdatesample] | Updates a webhook with the specified parameters. x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/WebhookUpdate.json |
## Prerequisites
@ -126,17 +153,44 @@ Take a look at our [API Documentation][apiref] for more information about the AP
[agentpoolsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/agentPoolsGetSample.js
[agentpoolslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/agentPoolsListSample.js
[agentpoolsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/agentPoolsUpdateSample.js
[archiveversionscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/archiveVersionsCreateSample.js
[archiveversionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/archiveVersionsDeleteSample.js
[archiveversionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/archiveVersionsGetSample.js
[archiveversionslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/archiveVersionsListSample.js
[archivescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/archivesCreateSample.js
[archivesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/archivesDeleteSample.js
[archivesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/archivesGetSample.js
[archiveslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/archivesListSample.js
[archivesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/archivesUpdateSample.js
[cacherulescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/cacheRulesCreateSample.js
[cacherulesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/cacheRulesDeleteSample.js
[cacherulesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/cacheRulesGetSample.js
[cacheruleslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/cacheRulesListSample.js
[cacherulesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/cacheRulesUpdateSample.js
[connectedregistriescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/connectedRegistriesCreateSample.js
[connectedregistriesdeactivatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/connectedRegistriesDeactivateSample.js
[connectedregistriesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/connectedRegistriesDeleteSample.js
[connectedregistriesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/connectedRegistriesGetSample.js
[connectedregistrieslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/connectedRegistriesListSample.js
[connectedregistriesupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/connectedRegistriesUpdateSample.js
[credentialsetscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/credentialSetsCreateSample.js
[credentialsetsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/credentialSetsDeleteSample.js
[credentialsetsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/credentialSetsGetSample.js
[credentialsetslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/credentialSetsListSample.js
[credentialsetsupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/credentialSetsUpdateSample.js
[exportpipelinescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/exportPipelinesCreateSample.js
[exportpipelinesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/exportPipelinesDeleteSample.js
[exportpipelinesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/exportPipelinesGetSample.js
[exportpipelineslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/exportPipelinesListSample.js
[importpipelinescreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/importPipelinesCreateSample.js
[importpipelinesdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/importPipelinesDeleteSample.js
[importpipelinesgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/importPipelinesGetSample.js
[importpipelineslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/importPipelinesListSample.js
[operationslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/operationsListSample.js
[pipelinerunscreatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/pipelineRunsCreateSample.js
[pipelinerunsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/pipelineRunsDeleteSample.js
[pipelinerunsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/pipelineRunsGetSample.js
[pipelinerunslistsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/pipelineRunsListSample.js
[privateendpointconnectionscreateorupdatesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/privateEndpointConnectionsCreateOrUpdateSample.js
[privateendpointconnectionsdeletesample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/privateEndpointConnectionsDeleteSample.js
[privateendpointconnectionsgetsample]: https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/containerregistry/arm-containerregistry/samples/v11-beta/javascript/privateEndpointConnectionsGetSample.js

Просмотреть файл

@ -0,0 +1,45 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
const { ContainerRegistryManagementClient } = require("@azure/arm-containerregistry");
const { DefaultAzureCredential } = require("@azure/identity");
require("dotenv").config();
/**
* This sample demonstrates how to Creates a archive for a container registry with the specified parameters.
*
* @summary Creates a archive for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveVersionCreate.json
*/
async function archiveVersionCreate() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] || "00000000-0000-0000-0000-000000000000";
const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const packageType = "rpm";
const archiveName = "myArchiveName";
const archiveVersionName = "myArchiveVersionName";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(credential, subscriptionId);
const result = await client.archiveVersions.beginCreateAndWait(
resourceGroupName,
registryName,
packageType,
archiveName,
archiveVersionName
);
console.log(result);
}
async function main() {
archiveVersionCreate();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,45 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
const { ContainerRegistryManagementClient } = require("@azure/arm-containerregistry");
const { DefaultAzureCredential } = require("@azure/identity");
require("dotenv").config();
/**
* This sample demonstrates how to Deletes a archive version from a container registry.
*
* @summary Deletes a archive version from a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveVersionDelete.json
*/
async function archiveVersionDelete() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] || "00000000-0000-0000-0000-000000000000";
const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const packageType = "myPackageType";
const archiveName = "myArchiveName";
const archiveVersionName = "myArchiveVersionName";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(credential, subscriptionId);
const result = await client.archiveVersions.beginDeleteAndWait(
resourceGroupName,
registryName,
packageType,
archiveName,
archiveVersionName
);
console.log(result);
}
async function main() {
archiveVersionDelete();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,45 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
const { ContainerRegistryManagementClient } = require("@azure/arm-containerregistry");
const { DefaultAzureCredential } = require("@azure/identity");
require("dotenv").config();
/**
* This sample demonstrates how to Gets the properties of the archive version.
*
* @summary Gets the properties of the archive version.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveVersionGet.json
*/
async function archiveVersionGet() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] || "00000000-0000-0000-0000-000000000000";
const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const packageType = "rpm";
const archiveName = "myArchiveName";
const archiveVersionName = "myArchiveVersionName";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(credential, subscriptionId);
const result = await client.archiveVersions.get(
resourceGroupName,
registryName,
packageType,
archiveName,
archiveVersionName
);
console.log(result);
}
async function main() {
archiveVersionGet();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,46 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
const { ContainerRegistryManagementClient } = require("@azure/arm-containerregistry");
const { DefaultAzureCredential } = require("@azure/identity");
require("dotenv").config();
/**
* This sample demonstrates how to Lists all archive versions for the specified container registry, repository type and archive name.
*
* @summary Lists all archive versions for the specified container registry, repository type and archive name.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveVersionList.json
*/
async function archiveVersionList() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] || "00000000-0000-0000-0000-000000000000";
const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const packageType = "myPackageType";
const archiveName = "myArchiveName";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(credential, subscriptionId);
const resArray = new Array();
for await (let item of client.archiveVersions.list(
resourceGroupName,
registryName,
packageType,
archiveName
)) {
resArray.push(item);
}
console.log(resArray);
}
async function main() {
archiveVersionList();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,49 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
const { ContainerRegistryManagementClient } = require("@azure/arm-containerregistry");
const { DefaultAzureCredential } = require("@azure/identity");
require("dotenv").config();
/**
* This sample demonstrates how to Creates a archive for a container registry with the specified parameters.
*
* @summary Creates a archive for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveCreate.json
*/
async function archiveCreate() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] || "00000000-0000-0000-0000-000000000000";
const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const packageType = "rpm";
const archiveName = "myArchiveName";
const archiveCreateParameters = {
packageSource: { type: "remote", url: "string" },
publishedVersion: "string",
repositoryEndpointPrefix: "string",
};
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(credential, subscriptionId);
const result = await client.archives.beginCreateAndWait(
resourceGroupName,
registryName,
packageType,
archiveName,
archiveCreateParameters
);
console.log(result);
}
async function main() {
archiveCreate();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,43 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
const { ContainerRegistryManagementClient } = require("@azure/arm-containerregistry");
const { DefaultAzureCredential } = require("@azure/identity");
require("dotenv").config();
/**
* This sample demonstrates how to Deletes a archive from a container registry.
*
* @summary Deletes a archive from a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveDelete.json
*/
async function archiveDelete() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] || "00000000-0000-0000-0000-000000000000";
const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const packageType = "myPackageType";
const archiveName = "myArchiveName";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(credential, subscriptionId);
const result = await client.archives.beginDeleteAndWait(
resourceGroupName,
registryName,
packageType,
archiveName
);
console.log(result);
}
async function main() {
archiveDelete();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,43 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
const { ContainerRegistryManagementClient } = require("@azure/arm-containerregistry");
const { DefaultAzureCredential } = require("@azure/identity");
require("dotenv").config();
/**
* This sample demonstrates how to Gets the properties of the archive.
*
* @summary Gets the properties of the archive.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveGet.json
*/
async function archiveGet() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] || "00000000-0000-0000-0000-000000000000";
const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const packageType = "myPackageType";
const archiveName = "myArchiveName";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(credential, subscriptionId);
const result = await client.archives.get(
resourceGroupName,
registryName,
packageType,
archiveName
);
console.log(result);
}
async function main() {
archiveGet();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,40 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
const { ContainerRegistryManagementClient } = require("@azure/arm-containerregistry");
const { DefaultAzureCredential } = require("@azure/identity");
require("dotenv").config();
/**
* This sample demonstrates how to Lists all archives for the specified container registry and package type.
*
* @summary Lists all archives for the specified container registry and package type.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveList.json
*/
async function archiveList() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] || "00000000-0000-0000-0000-000000000000";
const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const packageType = "myPackageType";
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(credential, subscriptionId);
const resArray = new Array();
for await (let item of client.archives.list(resourceGroupName, registryName, packageType)) {
resArray.push(item);
}
console.log(resArray);
}
async function main() {
archiveList();
}
main().catch(console.error);

Просмотреть файл

@ -0,0 +1,47 @@
/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
const { ContainerRegistryManagementClient } = require("@azure/arm-containerregistry");
const { DefaultAzureCredential } = require("@azure/identity");
require("dotenv").config();
/**
* This sample demonstrates how to Updates a archive for a container registry with the specified parameters.
*
* @summary Updates a archive for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/ArchiveUpdate.json
*/
async function archiveUpdate() {
const subscriptionId =
process.env["CONTAINERREGISTRY_SUBSCRIPTION_ID"] || "00000000-0000-0000-0000-000000000000";
const resourceGroupName = process.env["CONTAINERREGISTRY_RESOURCE_GROUP"] || "myResourceGroup";
const registryName = "myRegistry";
const packageType = "myPackageType";
const archiveName = "myArchiveName";
const archiveUpdateParameters = {
publishedVersion: "string",
};
const credential = new DefaultAzureCredential();
const client = new ContainerRegistryManagementClient(credential, subscriptionId);
const result = await client.archives.update(
resourceGroupName,
registryName,
packageType,
archiveName,
archiveUpdateParameters
);
console.log(result);
}
async function main() {
archiveUpdate();
}
main().catch(console.error);

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Creates a cache rule for a container registry with the specified parameters.
*
* @summary Creates a cache rule for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleCreate.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CacheRuleCreate.json
*/
async function cacheRuleCreate() {
const subscriptionId =

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Deletes a cache rule resource from a container registry.
*
* @summary Deletes a cache rule resource from a container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleDelete.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CacheRuleDelete.json
*/
async function cacheRuleDelete() {
const subscriptionId =

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Gets the properties of the specified cache rule resource.
*
* @summary Gets the properties of the specified cache rule resource.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleGet.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CacheRuleGet.json
*/
async function cacheRuleGet() {
const subscriptionId =

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Lists all cache rule resources for the specified container registry.
*
* @summary Lists all cache rule resources for the specified container registry.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleList.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CacheRuleList.json
*/
async function cacheRuleList() {
const subscriptionId =

Просмотреть файл

@ -16,7 +16,7 @@ require("dotenv").config();
* This sample demonstrates how to Updates a cache rule for a container registry with the specified parameters.
*
* @summary Updates a cache rule for a container registry with the specified parameters.
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2023-07-01/examples/CacheRuleUpdate.json
* x-ms-original-file: specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2023-08-01-preview/examples/CacheRuleUpdate.json
*/
async function cacheRuleUpdate() {
const subscriptionId =

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше