Microsoft.ContainerRegistry (stable:2025-04-01)

2025/04/15 • 58 new methods

CacheRules_List (new)
Description Lists all cache rule resources for the specified container registry.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
credentialSetResourceId: string ,
sourceRepository: string ,
targetRepository: string ,
creationDate: string ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CacheRules_Get (new)
Description Gets the properties of the specified cache rule resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
cacheRuleName: string ,
}

⚐ Response (200)

{
properties:
{
credentialSetResourceId: string ,
sourceRepository: string ,
targetRepository: string ,
creationDate: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CacheRules_Create (new)
Description Creates a cache rule for a container registry with the specified parameters.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
cacheRuleName: string ,
cacheRuleCreateParameters:
{
properties:
{
credentialSetResourceId: string ,
sourceRepository: string ,
targetRepository: string ,
creationDate: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
credentialSetResourceId: string ,
sourceRepository: string ,
targetRepository: string ,
creationDate: string ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
credentialSetResourceId: string ,
sourceRepository: string ,
targetRepository: string ,
creationDate: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CacheRules_Delete (new)
Description Deletes a cache rule resource from a container registry.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
cacheRuleName: string ,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CacheRules_Update (new)
Description Updates a cache rule for a container registry with the specified parameters.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/cacheRules/{cacheRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
cacheRuleName: string ,
cacheRuleUpdateParameters:
{
properties:
{
credentialSetResourceId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
credentialSetResourceId: string ,
sourceRepository: string ,
targetRepository: string ,
creationDate: string ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
credentialSetResourceId: string ,
sourceRepository: string ,
targetRepository: string ,
creationDate: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConnectedRegistries_Get (new)
Description Gets the properties of the connected registry.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
connectedRegistryName: string ,
}

⚐ Response (200)

{
properties: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConnectedRegistries_Create (new)
Description Creates a connected registry for a container registry with the specified parameters.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
connectedRegistryName: string ,
connectedRegistryCreateParameters:
{
properties: string ,
}
,
}

⚐ Response (200)

{
properties: string ,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConnectedRegistries_Update (new)
Description Updates a connected registry with the specified parameters.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
connectedRegistryName: string ,
connectedRegistryUpdateParameters:
{
properties: string ,
}
,
}

⚐ Response (200)

{
properties: string ,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConnectedRegistries_Delete (new)
Description Deletes a connected registry from a container registry.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
connectedRegistryName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConnectedRegistries_List (new)
Description Lists all connected registries for the specified container registry.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
$filter: string ,
}

⚐ Response (200)

{
value:
[
{
properties: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ConnectedRegistries_Deactivate (new)
Description Deactivates the connected registry instance.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
connectedRegistryName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CredentialSets_List (new)
Description Lists all credential set resources for the specified container registry.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
loginServer: string ,
authCredentials:
[
{
name: enum ,
usernameSecretIdentifier: string ,
passwordSecretIdentifier: string ,
credentialHealth:
{
status: enum ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
creationDate: string ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CredentialSets_Get (new)
Description Gets the properties of the specified credential set resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
credentialSetName: string ,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
loginServer: string ,
authCredentials:
[
{
name: enum ,
usernameSecretIdentifier: string ,
passwordSecretIdentifier: string ,
credentialHealth:
{
status: enum ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
creationDate: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CredentialSets_Create (new)
Description Creates a credential set for a container registry with the specified parameters.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
credentialSetName: string ,
credentialSetCreateParameters:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
loginServer: string ,
authCredentials:
[
{
name: enum ,
usernameSecretIdentifier: string ,
passwordSecretIdentifier: string ,
credentialHealth:
{
status: enum ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
creationDate: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
loginServer: string ,
authCredentials:
[
{
name: enum ,
usernameSecretIdentifier: string ,
passwordSecretIdentifier: string ,
credentialHealth:
{
status: enum ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
creationDate: string ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
loginServer: string ,
authCredentials:
[
{
name: enum ,
usernameSecretIdentifier: string ,
passwordSecretIdentifier: string ,
credentialHealth:
{
status: enum ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
creationDate: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CredentialSets_Delete (new)
Description Deletes a credential set from a container registry.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
credentialSetName: string ,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CredentialSets_Update (new)
Description Updates a credential set for a container registry with the specified parameters.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
credentialSetName: string ,
credentialSetUpdateParameters:
{
properties:
{
authCredentials:
[
{
name: enum ,
usernameSecretIdentifier: string ,
passwordSecretIdentifier: string ,
credentialHealth:
{
status: enum ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
loginServer: string ,
authCredentials:
[
{
name: enum ,
usernameSecretIdentifier: string ,
passwordSecretIdentifier: string ,
credentialHealth:
{
status: enum ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
creationDate: string ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
loginServer: string ,
authCredentials:
[
{
name: enum ,
usernameSecretIdentifier: string ,
passwordSecretIdentifier: string ,
credentialHealth:
{
status: enum ,
errorCode: string ,
errorMessage: string ,
}
,
}
,
]
,
creationDate: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Registries_ImportImage (new)
Description Copies an image to this container registry from the specified container registry.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importImage
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
parameters:
{
source:
{
resourceId: string ,
registryUri: string ,
credentials:
{
username: string ,
password: string ,
}
,
sourceImage: string ,
}
,
targetTags:
[
string ,
]
,
untaggedTargetRepositories:
[
string ,
]
,
mode: enum ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}
Operations_List (new)
Description Lists all of the available Azure Container Registry REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.ContainerRegistry/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
origin: string ,
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
properties:
{
serviceSpecification:
{
metricSpecifications:
[
{
name: string ,
displayName: string ,
displayDescription: string ,
unit: string ,
aggregationType: string ,
internalMetricName: string ,
}
,
]
,
logSpecifications:
[
{
name: string ,
displayName: string ,
blobDuration: string ,
}
,
]
,
}
,
}
,
isDataAction: boolean ,
}
,
]
,
nextLink: string ,
}
Registries_CheckNameAvailability (new)
Description 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.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/checkNameAvailability
{
api-version: string ,
subscriptionId: string ,
registryNameCheckRequest:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: string ,
message: string ,
}
PrivateEndpointConnections_List (new)
Description List all private endpoint connections in a container registry.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}
PrivateEndpointConnections_Get (new)
Description Get the specified private endpoint connection associated with the container registry.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
privateEndpointConnectionName: string ,
}

⚐ Response (200)

{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
PrivateEndpointConnections_CreateOrUpdate (new)
Description Update the state of specified private endpoint connection associated with the container registry.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
privateEndpointConnectionName: string ,
privateEndpointConnection:
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
}
PrivateEndpointConnections_Delete (new)
Description Deletes the specified private endpoint connection associated with the container registry.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
privateEndpointConnectionName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}
Registries_List (new)
Description Lists all the container registries under the specified subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: enum ,
tier: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
loginServer: string ,
creationDate: string ,
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
adminUserEnabled: boolean ,
networkRuleSet:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
policies:
{
quarantinePolicy:
{
status: enum ,
}
,
trustPolicy:
{
type: enum ,
status: enum ,
}
,
retentionPolicy:
{
days: integer ,
lastUpdatedTime: string ,
status: enum ,
}
,
exportPolicy:
{
status: enum ,
}
,
azureADAuthenticationAsArmPolicy:
{
status: enum ,
}
,
}
,
encryption:
{
status: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
versionedKeyIdentifier: string ,
identity: string ,
keyRotationEnabled: boolean ,
lastKeyRotationTimestamp: string ,
}
,
}
,
dataEndpointEnabled: boolean ,
dataEndpointHostNames:
[
string ,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
networkRuleBypassOptions: enum ,
zoneRedundancy: enum ,
anonymousPullEnabled: boolean ,
}
,
}
,
]
,
nextLink: string ,
}
Registries_ListByResourceGroup (new)
Description Lists all the container registries under the specified resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
sku:
{
name: enum ,
tier: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
loginServer: string ,
creationDate: string ,
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
adminUserEnabled: boolean ,
networkRuleSet:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
policies:
{
quarantinePolicy:
{
status: enum ,
}
,
trustPolicy:
{
type: enum ,
status: enum ,
}
,
retentionPolicy:
{
days: integer ,
lastUpdatedTime: string ,
status: enum ,
}
,
exportPolicy:
{
status: enum ,
}
,
azureADAuthenticationAsArmPolicy:
{
status: enum ,
}
,
}
,
encryption:
{
status: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
versionedKeyIdentifier: string ,
identity: string ,
keyRotationEnabled: boolean ,
lastKeyRotationTimestamp: string ,
}
,
}
,
dataEndpointEnabled: boolean ,
dataEndpointHostNames:
[
string ,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
networkRuleBypassOptions: enum ,
zoneRedundancy: enum ,
anonymousPullEnabled: boolean ,
}
,
}
,
]
,
nextLink: string ,
}
Registries_Get (new)
Description Gets the properties of the specified container registry.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
}

⚐ Response (200)

{
sku:
{
name: enum ,
tier: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
loginServer: string ,
creationDate: string ,
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
adminUserEnabled: boolean ,
networkRuleSet:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
policies:
{
quarantinePolicy:
{
status: enum ,
}
,
trustPolicy:
{
type: enum ,
status: enum ,
}
,
retentionPolicy:
{
days: integer ,
lastUpdatedTime: string ,
status: enum ,
}
,
exportPolicy:
{
status: enum ,
}
,
azureADAuthenticationAsArmPolicy:
{
status: enum ,
}
,
}
,
encryption:
{
status: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
versionedKeyIdentifier: string ,
identity: string ,
keyRotationEnabled: boolean ,
lastKeyRotationTimestamp: string ,
}
,
}
,
dataEndpointEnabled: boolean ,
dataEndpointHostNames:
[
string ,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
networkRuleBypassOptions: enum ,
zoneRedundancy: enum ,
anonymousPullEnabled: boolean ,
}
,
}
Registries_Create (new)
Description Creates a container registry with the specified parameters.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
registry:
{
sku:
{
name: enum ,
tier: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
loginServer: string ,
creationDate: string ,
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
adminUserEnabled: boolean ,
networkRuleSet:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
policies:
{
quarantinePolicy:
{
status: enum ,
}
,
trustPolicy:
{
type: enum ,
status: enum ,
}
,
retentionPolicy:
{
days: integer ,
lastUpdatedTime: string ,
status: enum ,
}
,
exportPolicy:
{
status: enum ,
}
,
azureADAuthenticationAsArmPolicy:
{
status: enum ,
}
,
}
,
encryption:
{
status: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
versionedKeyIdentifier: string ,
identity: string ,
keyRotationEnabled: boolean ,
lastKeyRotationTimestamp: string ,
}
,
}
,
dataEndpointEnabled: boolean ,
dataEndpointHostNames:
[
string ,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
networkRuleBypassOptions: enum ,
zoneRedundancy: enum ,
anonymousPullEnabled: boolean ,
}
,
}
,
}

⚐ Response (200)

{
sku:
{
name: enum ,
tier: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
loginServer: string ,
creationDate: string ,
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
adminUserEnabled: boolean ,
networkRuleSet:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
policies:
{
quarantinePolicy:
{
status: enum ,
}
,
trustPolicy:
{
type: enum ,
status: enum ,
}
,
retentionPolicy:
{
days: integer ,
lastUpdatedTime: string ,
status: enum ,
}
,
exportPolicy:
{
status: enum ,
}
,
azureADAuthenticationAsArmPolicy:
{
status: enum ,
}
,
}
,
encryption:
{
status: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
versionedKeyIdentifier: string ,
identity: string ,
keyRotationEnabled: boolean ,
lastKeyRotationTimestamp: string ,
}
,
}
,
dataEndpointEnabled: boolean ,
dataEndpointHostNames:
[
string ,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
networkRuleBypassOptions: enum ,
zoneRedundancy: enum ,
anonymousPullEnabled: boolean ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
sku:
{
name: enum ,
tier: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
loginServer: string ,
creationDate: string ,
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
adminUserEnabled: boolean ,
networkRuleSet:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
policies:
{
quarantinePolicy:
{
status: enum ,
}
,
trustPolicy:
{
type: enum ,
status: enum ,
}
,
retentionPolicy:
{
days: integer ,
lastUpdatedTime: string ,
status: enum ,
}
,
exportPolicy:
{
status: enum ,
}
,
azureADAuthenticationAsArmPolicy:
{
status: enum ,
}
,
}
,
encryption:
{
status: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
versionedKeyIdentifier: string ,
identity: string ,
keyRotationEnabled: boolean ,
lastKeyRotationTimestamp: string ,
}
,
}
,
dataEndpointEnabled: boolean ,
dataEndpointHostNames:
[
string ,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
networkRuleBypassOptions: enum ,
zoneRedundancy: enum ,
anonymousPullEnabled: boolean ,
}
,
}
,
}
Registries_Delete (new)
Description Deletes a container registry.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}
Registries_Update (new)
Description Updates a container registry with the specified parameters.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
registryUpdateParameters:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
tags: object ,
sku:
{
name: enum ,
tier: enum ,
}
,
properties:
{
adminUserEnabled: boolean ,
networkRuleSet:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
policies:
{
quarantinePolicy:
{
status: enum ,
}
,
trustPolicy:
{
type: enum ,
status: enum ,
}
,
retentionPolicy:
{
days: integer ,
lastUpdatedTime: string ,
status: enum ,
}
,
exportPolicy:
{
status: enum ,
}
,
azureADAuthenticationAsArmPolicy:
{
status: enum ,
}
,
}
,
encryption:
{
status: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
versionedKeyIdentifier: string ,
identity: string ,
keyRotationEnabled: boolean ,
lastKeyRotationTimestamp: string ,
}
,
}
,
dataEndpointEnabled: boolean ,
publicNetworkAccess: enum ,
networkRuleBypassOptions: enum ,
anonymousPullEnabled: boolean ,
}
,
}
,
}

⚐ Response (200)

{
sku:
{
name: enum ,
tier: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
loginServer: string ,
creationDate: string ,
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
adminUserEnabled: boolean ,
networkRuleSet:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
policies:
{
quarantinePolicy:
{
status: enum ,
}
,
trustPolicy:
{
type: enum ,
status: enum ,
}
,
retentionPolicy:
{
days: integer ,
lastUpdatedTime: string ,
status: enum ,
}
,
exportPolicy:
{
status: enum ,
}
,
azureADAuthenticationAsArmPolicy:
{
status: enum ,
}
,
}
,
encryption:
{
status: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
versionedKeyIdentifier: string ,
identity: string ,
keyRotationEnabled: boolean ,
lastKeyRotationTimestamp: string ,
}
,
}
,
dataEndpointEnabled: boolean ,
dataEndpointHostNames:
[
string ,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
networkRuleBypassOptions: enum ,
zoneRedundancy: enum ,
anonymousPullEnabled: boolean ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
sku:
{
name: enum ,
tier: enum ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
loginServer: string ,
creationDate: string ,
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
adminUserEnabled: boolean ,
networkRuleSet:
{
defaultAction: enum ,
ipRules:
[
{
action: enum ,
value: string ,
}
,
]
,
}
,
policies:
{
quarantinePolicy:
{
status: enum ,
}
,
trustPolicy:
{
type: enum ,
status: enum ,
}
,
retentionPolicy:
{
days: integer ,
lastUpdatedTime: string ,
status: enum ,
}
,
exportPolicy:
{
status: enum ,
}
,
azureADAuthenticationAsArmPolicy:
{
status: enum ,
}
,
}
,
encryption:
{
status: enum ,
keyVaultProperties:
{
keyIdentifier: string ,
versionedKeyIdentifier: string ,
identity: string ,
keyRotationEnabled: boolean ,
lastKeyRotationTimestamp: string ,
}
,
}
,
dataEndpointEnabled: boolean ,
dataEndpointHostNames:
[
string ,
]
,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: enum ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
publicNetworkAccess: enum ,
networkRuleBypassOptions: enum ,
zoneRedundancy: enum ,
anonymousPullEnabled: boolean ,
}
,
}
,
}
Registries_ListUsages (new)
Description Gets the quota usages for the specified container registry.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
limit: integer ,
currentValue: integer ,
unit: enum ,
}
,
]
,
}
Registries_ListPrivateLinkResources (new)
Description Lists the private link resources for a container registry.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
}

⚐ Response (200)

{
value:
[
{
type: string ,
id: string ,
name: string ,
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}
Registries_GetPrivateLinkResource (new)
Description Gets a private link resource by a specified group name for a container registry.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources/{groupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
groupName: string ,
}

⚐ Response (200)

{
type: string ,
id: string ,
name: string ,
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Registries_ListCredentials (new)
Description Lists the login credentials for the specified container registry.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listCredentials
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
}

⚐ Response (200)

{
username: string ,
passwords:
[
{
name: enum ,
value: string ,
}
,
]
,
}
Registries_RegenerateCredential (new)
Description Regenerates one of the login credentials for the specified container registry.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/regenerateCredential
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
regenerateCredentialParameters:
{
name: enum ,
}
,
}

⚐ Response (200)

{
username: string ,
passwords:
[
{
name: enum ,
value: string ,
}
,
]
,
}
Replications_List (new)
Description Lists all the replications for the specified container registry.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
regionEndpointEnabled: boolean ,
zoneRedundancy: enum ,
}
,
}
,
]
,
nextLink: string ,
}
Replications_Get (new)
Description Gets the properties of the specified replication.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
replicationName: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
regionEndpointEnabled: boolean ,
zoneRedundancy: enum ,
}
,
}
Replications_Create (new)
Description Creates a replication for a container registry with the specified parameters.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
replicationName: string ,
replication:
{
properties:
{
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
regionEndpointEnabled: boolean ,
zoneRedundancy: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
regionEndpointEnabled: boolean ,
zoneRedundancy: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
regionEndpointEnabled: boolean ,
zoneRedundancy: enum ,
}
,
}
,
}
Replications_Delete (new)
Description Deletes a replication from a container registry.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
replicationName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}
Replications_Update (new)
Description Updates a replication for a container registry with the specified parameters.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
replicationName: string ,
replicationUpdateParameters:
{
tags: object ,
properties:
{
regionEndpointEnabled: boolean ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
regionEndpointEnabled: boolean ,
zoneRedundancy: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
status:
{
displayStatus: string ,
message: string ,
timestamp: string ,
}
,
regionEndpointEnabled: boolean ,
zoneRedundancy: enum ,
}
,
}
,
}
ScopeMaps_List (new)
Description Lists all the scope maps for the specified container registry.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
type: string ,
creationDate: string ,
provisioningState: enum ,
actions:
[
string ,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScopeMaps_Get (new)
Description Gets the properties of the specified scope map.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
scopeMapName: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
type: string ,
creationDate: string ,
provisioningState: enum ,
actions:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScopeMaps_Create (new)
Description Creates a scope map for a container registry with the specified parameters.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
scopeMapName: string ,
scopeMapCreateParameters:
{
properties:
{
description: string ,
type: string ,
creationDate: string ,
provisioningState: enum ,
actions:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
description: string ,
type: string ,
creationDate: string ,
provisioningState: enum ,
actions:
[
string ,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
description: string ,
type: string ,
creationDate: string ,
provisioningState: enum ,
actions:
[
string ,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScopeMaps_Delete (new)
Description Deletes a scope map from a container registry.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
scopeMapName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ScopeMaps_Update (new)
Description Updates a scope map with the specified parameters.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
scopeMapName: string ,
scopeMapUpdateParameters:
{
properties:
{
description: string ,
actions:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
description: string ,
type: string ,
creationDate: string ,
provisioningState: enum ,
actions:
[
string ,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
description: string ,
type: string ,
creationDate: string ,
provisioningState: enum ,
actions:
[
string ,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tokens_List (new)
Description Lists all the tokens for the specified container registry.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
creationDate: string ,
provisioningState: enum ,
scopeMapId: string ,
credentials:
{
certificates:
[
{
name: enum ,
expiry: string ,
thumbprint: string ,
encodedPemCertificate: string ,
}
,
]
,
passwords:
[
{
creationTime: string ,
expiry: string ,
name: enum ,
value: string ,
}
,
]
,
}
,
status: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tokens_Get (new)
Description Gets the properties of the specified token.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
tokenName: string ,
}

⚐ Response (200)

{
properties:
{
creationDate: string ,
provisioningState: enum ,
scopeMapId: string ,
credentials:
{
certificates:
[
{
name: enum ,
expiry: string ,
thumbprint: string ,
encodedPemCertificate: string ,
}
,
]
,
passwords:
[
{
creationTime: string ,
expiry: string ,
name: enum ,
value: string ,
}
,
]
,
}
,
status: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tokens_Create (new)
Description Creates a token for a container registry with the specified parameters.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
tokenName: string ,
tokenCreateParameters:
{
properties:
{
creationDate: string ,
provisioningState: enum ,
scopeMapId: string ,
credentials:
{
certificates:
[
{
name: enum ,
expiry: string ,
thumbprint: string ,
encodedPemCertificate: string ,
}
,
]
,
passwords:
[
{
creationTime: string ,
expiry: string ,
name: enum ,
value: string ,
}
,
]
,
}
,
status: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
creationDate: string ,
provisioningState: enum ,
scopeMapId: string ,
credentials:
{
certificates:
[
{
name: enum ,
expiry: string ,
thumbprint: string ,
encodedPemCertificate: string ,
}
,
]
,
passwords:
[
{
creationTime: string ,
expiry: string ,
name: enum ,
value: string ,
}
,
]
,
}
,
status: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
creationDate: string ,
provisioningState: enum ,
scopeMapId: string ,
credentials:
{
certificates:
[
{
name: enum ,
expiry: string ,
thumbprint: string ,
encodedPemCertificate: string ,
}
,
]
,
passwords:
[
{
creationTime: string ,
expiry: string ,
name: enum ,
value: string ,
}
,
]
,
}
,
status: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tokens_Delete (new)
Description Deletes a token from a container registry.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
tokenName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Tokens_Update (new)
Description Updates a token with the specified parameters.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
tokenName: string ,
tokenUpdateParameters:
{
properties:
{
scopeMapId: string ,
status: enum ,
credentials:
{
certificates:
[
{
name: enum ,
expiry: string ,
thumbprint: string ,
encodedPemCertificate: string ,
}
,
]
,
passwords:
[
{
creationTime: string ,
expiry: string ,
name: enum ,
value: string ,
}
,
]
,
}
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
creationDate: string ,
provisioningState: enum ,
scopeMapId: string ,
credentials:
{
certificates:
[
{
name: enum ,
expiry: string ,
thumbprint: string ,
encodedPemCertificate: string ,
}
,
]
,
passwords:
[
{
creationTime: string ,
expiry: string ,
name: enum ,
value: string ,
}
,
]
,
}
,
status: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
creationDate: string ,
provisioningState: enum ,
scopeMapId: string ,
credentials:
{
certificates:
[
{
name: enum ,
expiry: string ,
thumbprint: string ,
encodedPemCertificate: string ,
}
,
]
,
passwords:
[
{
creationTime: string ,
expiry: string ,
name: enum ,
value: string ,
}
,
]
,
}
,
status: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Registries_GenerateCredentials (new)
Description Generate keys for a token of a specified container registry.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
generateCredentialsParameters:
{
tokenId: string ,
expiry: string ,
name: enum ,
}
,
}

⚐ Response (200)

{
username: string ,
passwords:
[
{
creationTime: string ,
expiry: string ,
name: enum ,
value: string ,
}
,
]
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Webhooks_List (new)
Description Lists all the webhooks for the specified container registry.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
scope: string ,
actions:
[
string ,
]
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}
Webhooks_Get (new)
Description Gets the properties of the specified webhook.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
webhookName: string ,
}

⚐ Response (200)

{
properties:
{
status: enum ,
scope: string ,
actions:
[
string ,
]
,
provisioningState: enum ,
}
,
}
Webhooks_Create (new)
Description Creates a webhook for a container registry with the specified parameters.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
webhookName: string ,
webhookCreateParameters:
{
tags: object ,
location: string ,
properties:
{
serviceUri: string ,
customHeaders: object ,
status: enum ,
scope: string ,
actions:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
status: enum ,
scope: string ,
actions:
[
string ,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
status: enum ,
scope: string ,
actions:
[
string ,
]
,
provisioningState: enum ,
}
,
}
,
}
Webhooks_Delete (new)
Description Deletes a webhook from a container registry.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
webhookName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}
Webhooks_Update (new)
Description Updates a webhook with the specified parameters.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
webhookName: string ,
webhookUpdateParameters:
{
tags: object ,
properties:
{
serviceUri: string ,
customHeaders: object ,
status: enum ,
scope: string ,
actions:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
status: enum ,
scope: string ,
actions:
[
string ,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
status: enum ,
scope: string ,
actions:
[
string ,
]
,
provisioningState: enum ,
}
,
}
,
}
Webhooks_Ping (new)
Description Triggers a ping event to be sent to the webhook.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
webhookName: string ,
}

⚐ Response (200)

{
id: string ,
}
Webhooks_ListEvents (new)
Description Lists recent events for the specified webhook.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
webhookName: string ,
}

⚐ Response (200)

{
value:
[
{
eventRequestMessage:
{
content:
{
id: string ,
timestamp: string ,
action: string ,
target:
{
mediaType: string ,
size: integer ,
digest: string ,
length: integer ,
repository: string ,
url: string ,
tag: string ,
name: string ,
version: string ,
}
,
request:
{
id: string ,
addr: string ,
host: string ,
method: string ,
useragent: string ,
}
,
actor:
{
name: string ,
}
,
source:
{
addr: string ,
instanceID: string ,
}
,
}
,
headers: object ,
method: string ,
requestUri: string ,
version: string ,
}
,
eventResponseMessage:
{
content: string ,
headers: object ,
reasonPhrase: string ,
statusCode: string ,
version: string ,
}
,
}
,
]
,
nextLink: string ,
}
Webhooks_GetCallbackConfig (new)
Description Gets the configuration of service URI and custom headers for the webhook.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
webhookName: string ,
}

⚐ Response (200)

{
serviceUri: string ,
customHeaders: object ,
}