Share via


az databoxedge device storage-account container

Command group 'databoxedge' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Manage device storage account container.

Commands

Name Description Type Status
az databoxedge device storage-account container create

Create container on the device.

Core Preview
az databoxedge device storage-account container delete

Delete the container on the Data Box Edge/Data Box Gateway device.

Core Preview
az databoxedge device storage-account container list

List all the containers of a storage account in a Data Box Edge/Data Box Gateway device.

Core Preview
az databoxedge device storage-account container show

Show container.

Core Preview
az databoxedge device storage-account container update

Update container on the device.

Core Preview

az databoxedge device storage-account container create

Preview

Command group 'databoxedge' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Create container on the device.

az databoxedge device storage-account container create --container-name
                                                       --data-format {AzureFile, BlockBlob, PageBlob}
                                                       --device-name
                                                       --resource-group
                                                       --storage-account-name
                                                       [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]

Examples

Create container

az databoxedge device storage-account container create -g rg --device-name name --storage-account-name name -n container-name --data-format BlockBlob

Required Parameters

--container-name --name -n

The container name.

--data-format

DataFormat for Container.

Accepted values: AzureFile, BlockBlob, PageBlob
--device-name

The device name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--storage-account-name

The Storage Account Name.

Optional Parameters

--no-wait

Do not wait for the long-running operation to finish.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az databoxedge device storage-account container delete

Preview

Command group 'databoxedge' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Delete the container on the Data Box Edge/Data Box Gateway device.

az databoxedge device storage-account container delete [--container-name]
                                                       [--device-name]
                                                       [--ids]
                                                       [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                       [--resource-group]
                                                       [--storage-account-name]
                                                       [--subscription]
                                                       [--yes]

Examples

Delete container

az databoxedge device storage-account container delete -g rg --device-name name --storage-account-name name -n container-name

Optional Parameters

--container-name --name -n

The container name.

--device-name

The device name.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--no-wait

Do not wait for the long-running operation to finish.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--storage-account-name

The Storage Account Name.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--yes -y

Do not prompt for confirmation.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az databoxedge device storage-account container list

Preview

Command group 'databoxedge' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

List all the containers of a storage account in a Data Box Edge/Data Box Gateway device.

az databoxedge device storage-account container list --device-name
                                                     --resource-group
                                                     --storage-account-name
                                                     [--max-items]
                                                     [--next-token]

Examples

List container

az databoxedge device storage-account container list -g rg --device-name name --storage-account-name name

Required Parameters

--device-name

The device name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--storage-account-name

The storage Account name.

Optional Parameters

--max-items

Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token argument of a subsequent command.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az databoxedge device storage-account container show

Preview

Command group 'databoxedge' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Show container.

az databoxedge device storage-account container show [--container-name]
                                                     [--device-name]
                                                     [--ids]
                                                     [--resource-group]
                                                     [--storage-account-name]
                                                     [--subscription]

Examples

Show container

az databoxedge device storage-account container show -g rg --device-name name --storage-account-name name -n container-name

Optional Parameters

--container-name --name -n

The container Name.

--device-name

The device name.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--storage-account-name

The Storage Account Name.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az databoxedge device storage-account container update

Preview

Command group 'databoxedge' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Update container on the device.

az databoxedge device storage-account container update [--add]
                                                       [--container-name]
                                                       [--data-format {AzureFile, BlockBlob, PageBlob}]
                                                       [--device-name]
                                                       [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                                                       [--ids]
                                                       [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                                       [--remove]
                                                       [--resource-group]
                                                       [--set]
                                                       [--storage-account-name]
                                                       [--subscription]

Examples

Update container

az databoxedge device storage-account container update -g rg --device-name name --storage-account-name name -n container-name --data-format BlockBlob

Optional Parameters

--add

Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.

--container-name --name -n

The container Name.

--data-format

DataFormat for Container.

Accepted values: AzureFile, BlockBlob, PageBlob
--device-name

The device name.

--force-string

When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--no-wait

Do not wait for the long-running operation to finish.

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--remove

Remove a property or an element from a list. Example: --remove property.list <indexToRemove> OR --remove propertyToRemove.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--set

Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>.

--storage-account-name

The Storage Account Name.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.