Share via


az databoxedge device storage-account

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

Manage device storage account.

Commands

Name Description Type Status
az databoxedge device storage-account container

Manage device storage account container.

Core Preview
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 create

Create storage account on the device.

Core Preview
az databoxedge device storage-account delete

Delete storage account on the Data Box Edge/Data Box Gateway device.

Core Preview
az databoxedge device storage-account list

List all the storage accounts in a Data Box Edge/Data Box Gateway device.

Core Preview
az databoxedge device storage-account show

Show storage account.

Core Preview
az databoxedge device storage-account update

Update storage account on the device.

Core Preview

az databoxedge device storage-account create

Preview

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

Create storage account on the device.

az databoxedge device storage-account create --data-policy {Cloud, Local}
                                             --device-name
                                             --name
                                             --resource-group
                                             [--description]
                                             [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                             [--sac-id]
                                             [--storage-account-status {NeedsAttention, OK, Offline, Unknown, Updating}]

Examples

Create storage account

az databoxedge device storage-account create -g rg --device-name name -n sa-name --data-policy cloud  --storage-account-status ok --storage-account-credential-id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/device/storageAccountCredentials/sac-name

Required Parameters

--data-policy

Data policy of the storage Account.

Accepted values: Cloud, Local
--device-name

The device name.

--name --storage-account-name -n

The StorageAccount name.

--resource-group -g

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

Optional Parameters

--description

Description for the storage Account.

--no-wait

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

Accepted values: 0, 1, f, false, n, no, t, true, y, yes
--sac-id --storage-account-credential-id

Storage Account Credential Id.

--storage-account-status

Current status of the storage account.

Accepted values: NeedsAttention, OK, Offline, Unknown, Updating
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 delete

Preview

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

Delete storage account on the Data Box Edge/Data Box Gateway device.

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

Examples

Delete storage account

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

Optional Parameters

--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.

--name --storage-account-name -n

The StorageAccount name.

--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>.

--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 list

Preview

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

List all the storage accounts in a Data Box Edge/Data Box Gateway device.

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

Examples

List storage account

az databoxedge device storage-account list -g rg --device-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>.

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 show

Preview

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

Show storage account.

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

Examples

Show storage account

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

Optional Parameters

--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.

--name --storage-account-name -n

The storage account name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<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 update

Preview

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

Update storage account on the device.

az databoxedge device storage-account update [--add]
                                             [--data-policy {Cloud, Local}]
                                             [--description]
                                             [--device-name]
                                             [--force-string {0, 1, f, false, n, no, t, true, y, yes}]
                                             [--ids]
                                             [--name]
                                             [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                             [--remove]
                                             [--resource-group]
                                             [--sac-id]
                                             [--set]
                                             [--storage-account-status {NeedsAttention, OK, Offline, Unknown, Updating}]
                                             [--subscription]

Examples

Update storage account

az databoxedge device storage-account update -g rg --device-name name -n sa-name --description test

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>.

--data-policy

Data policy of the storage Account.

Accepted values: Cloud, Local
--description

Description for the storage Account.

--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.

--name --storage-account-name -n

The storage account name.

--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>.

--sac-id --storage-account-credential-id

Storage Account Credential Id.

--set

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

--storage-account-status

Current status of the storage account.

Accepted values: NeedsAttention, OK, Offline, Unknown, Updating
--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.