@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api ContainerRegistryManagementClient
@base https://management.azure.com
@version 2019-05-01-preview
@auth OAuth2
@common_fields {api-version: any # The client API version., subscriptionId: any # The Microsoft Azure subscription ID., resourceGroupName: any # The name of the resource group to which the container registry belongs., registryName: any # The name of the container registry.}
@endpoints 11
@toc subscriptions(11)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}
@desc Gets the properties of the specified scope map.
@required {scopeMapName: any # The name of the scope map.}
@returns(200) The request was successful; the request was well-formed and received properly.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}
@desc Creates a scope map for a container registry with the specified parameters.
@required {scopeMapName: any # The name of the scope map., scopeMapCreateParameters: map # The parameters for creating a scope map.}
@returns(200) The request was successful; the request was well-formed and received properly.
@returns(201) The request was successful; the operation will complete asynchronously.

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}
@desc Deletes a scope map from a container registry.
@required {scopeMapName: any # The name of the scope map.}
@returns(200) The request was successful; the request was well-formed and received properly.
@returns(202) The request was successful; the operation will complete asynchronously.
@returns(204) The scopemap does not exist in the subscription.

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}
@desc Updates a scope map with the specified parameters.
@required {scopeMapName: any # The name of the scope map., scopeMapUpdateParameters: map # The parameters for updating a scope map.}
@returns(200) The request was successful; the request was well-formed and received properly.
@returns(201) The request was successful; the operation will complete asynchronously.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps
@desc Lists all the scope maps for the specified container registry.
@returns(200) The request was successful; the request was well-formed and received properly.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}
@desc Gets the properties of the specified token.
@required {tokenName: any # The name of the token.}
@returns(200) The request was successful; the request was well-formed and received properly.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}
@desc Creates a token for a container registry with the specified parameters.
@required {tokenName: any # The name of the token., tokenCreateParameters: map # The parameters for creating a token.}
@returns(200) The request was successful; the request was well-formed and received properly.
@returns(201) The request was successful; the operation will complete asynchronously.

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}
@desc Deletes a token from a container registry.
@required {tokenName: any # The name of the token.}
@returns(200) The request was successful; the request was well-formed and received properly.
@returns(202) The request was successful; the operation will complete asynchronously.
@returns(204) The token does not exist in the subscription.

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}
@desc Updates a token with the specified parameters.
@required {tokenName: any # The name of the token., tokenUpdateParameters: map # The parameters for updating a token.}
@returns(200) The request was successful; the request was well-formed and received properly.
@returns(201) The request was successful; the operation will complete asynchronously.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens
@desc Lists all the tokens for the specified container registry.
@returns(200) The request was successful; the request was well-formed and received properly.

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials
@desc Generate keys for a token of a specified container registry.
@required {generateCredentialsParameters: map # The parameters for generating credentials.}
@returns(200) The request was successful; the request was well-formed and received properly.
@returns(202) The request was successful; the operation will complete asynchronously.

@end
