az vmware pure-storage-policy
Note
This reference is part of the vmware extension for the Azure CLI (version 2.70.0 or higher). The extension will automatically install the first time you run an az vmware pure-storage-policy command. Learn more about extensions.
Commands to manage Pure Storage policy resources.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az vmware pure-storage-policy create |
Create a Pure Storage policy for a private cloud. |
Extension | GA |
| az vmware pure-storage-policy delete |
Delete a Pure Storage policy for a private cloud. |
Extension | GA |
| az vmware pure-storage-policy list |
List Pure Storage policy resources by PrivateCloud. |
Extension | GA |
| az vmware pure-storage-policy show |
Show details of a Pure Storage policy for a private cloud. |
Extension | GA |
az vmware pure-storage-policy create
Create a Pure Storage policy for a private cloud.
az vmware pure-storage-policy create --definition --storage-policy-definition
--name --storage-policy-name
--private-cloud-name
--resource-group
--storage-pool-id
Examples
Create a Pure Storage policy.
az vmware pure-storage-policy create --resource-group group1 --private-cloud-name cloud1 --storage-policy-name storagePolicy1 --storage-policy-definition storagePolicyDefinition1 --storage-pool-id /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/PureStorage.Block/storagePools/storagePool1
Required Parameters
Definition of a Pure Storage Policy Based Management policy.
| Property | Value |
|---|---|
| Parameter group: | Properties Arguments |
Name of the storage policy.
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Azure resource ID of the Pure Storage Pool associated with the storage policy.
| Property | Value |
|---|---|
| Parameter group: | Properties Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az vmware pure-storage-policy delete
Delete a Pure Storage policy for a private cloud.
az vmware pure-storage-policy delete [--ids]
[--name --storage-policy-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--private-cloud-name]
[--resource-group]
[--subscription]
[--yes]
Examples
Delete a Pure Storage policy.
az vmware pure-storage-policy delete --resource-group group1 --private-cloud-name cloud1 --storage-policy-name storagePolicy1
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name of the storage policy.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Accepted values: | 0, 1, f, false, n, no, t, true, y, yes |
Name of the private cloud.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Do not prompt for confirmation.
| Property | Value |
|---|---|
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az vmware pure-storage-policy list
List Pure Storage policy resources by PrivateCloud.
az vmware pure-storage-policy list --private-cloud-name
--resource-group
[--max-items]
[--next-token]
Examples
List ProvisionedNetwork resources.
az vmware pure-storage-policy list --resource-group group1 --private-cloud-name cloud1
Required Parameters
Name of the private cloud.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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.
| Property | Value |
|---|---|
| Parameter group: | Pagination Arguments |
Token to specify where to start paginating. This is the token value from a previously truncated response.
| Property | Value |
|---|---|
| Parameter group: | Pagination Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |
az vmware pure-storage-policy show
Show details of a Pure Storage policy for a private cloud.
az vmware pure-storage-policy show [--ids]
[--name --storage-policy-name]
[--private-cloud-name]
[--resource-group]
[--subscription]
Examples
Show details of a Pure Storage policy.
az vmware pure-storage-policy show --resource-group group1 --private-cloud-name cloud1 --storage-policy-name storagePolicy1
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name of the storage policy.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name of the private cloud.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
| Property | Value |
|---|---|
| Parameter group: | Resource Id Arguments |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |