container_registry_configurations
Creates, updates, deletes, gets or lists a container_registry_configurations
resource.
Overview
Name | container_registry_configurations |
Type | Resource |
Id | azure_stack.container_registry_admin.container_registry_configurations |
Fields
- vw_container_registry_configurations
- container_registry_configurations
Name | Datatype | Description |
---|---|---|
id | text | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | text | The name of the resource |
configurationName | text | field from the properties object |
location | text | field from the properties object |
maximum_capacity_in_gib | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
properties | object | Container registry configuration property. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | configurationName, location, subscriptionId | Returns the specified configuration details. |
list | SELECT | location, subscriptionId | Returns a list of configuration at the given location. |
delete | DELETE | configurationName, location, subscriptionId | Delete an existing container registry configuration |
put | REPLACE | configurationName, location, subscriptionId, data__properties | Configure container registry overall configuration properties. |
SELECT
examples
Returns a list of configuration at the given location.
- vw_container_registry_configurations
- container_registry_configurations
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 }}';
SELECT
id,
name,
properties,
type
FROM azure_stack.container_registry_admin.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 }}';