Skip to main content

container_registry_configurations

Creates, updates, deletes, gets or lists a container_registry_configurations resource.

Overview

Namecontainer_registry_configurations
TypeResource
Idazure_stack.container_registry_admin.container_registry_configurations

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
configurationNametextfield from the properties object
locationtextfield from the properties object
maximum_capacity_in_gibtextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECTconfigurationName, location, subscriptionIdReturns the specified configuration details.
listSELECTlocation, subscriptionIdReturns a list of configuration at the given location.
deleteDELETEconfigurationName, location, subscriptionIdDelete an existing container registry configuration
putREPLACEconfigurationName, location, subscriptionId, data__propertiesConfigure container registry overall configuration properties.

SELECT examples

Returns a list of configuration at the given location.

SELECT
id,
name,
configurationName,
location,
maximum_capacity_in_gib,
subscriptionId,
type
FROM azure_stack.container_registry_admin.vw_container_registry_configurations
WHERE location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';

REPLACE example

Replaces all fields in the specified container_registry_configurations resource.

/*+ update */
REPLACE azure_stack.container_registry_admin.container_registry_configurations
SET
properties = '{{ properties }}'
WHERE
configurationName = '{{ configurationName }}'
AND location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}'
AND data__properties = '{{ data__properties }}';

DELETE example

Deletes the specified container_registry_configurations resource.

/*+ delete */
DELETE FROM azure_stack.container_registry_admin.container_registry_configurations
WHERE configurationName = '{{ configurationName }}'
AND location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';