az storage blob service-properties
Manage storage blob service properties.
Commands
az storage blob service-properties delete-policy |
Manage storage blob delete-policy service properties. |
az storage blob service-properties delete-policy show |
Show the storage blob delete-policy. |
az storage blob service-properties delete-policy update |
Update the storage blob delete-policy. |
az storage blob service-properties show |
Gets the properties of a storage account's Blob service, including Azure Storage Analytics. |
az storage blob service-properties update |
Update storage blob service properties. |
az storage blob service-properties show
Gets the properties of a storage account's Blob service, including Azure Storage Analytics.
az storage blob service-properties show [--account-key]
[--account-name]
[--auth-mode {key, login}]
[--connection-string]
[--query-examples]
[--sas-token]
[--subscription]
[--timeout]
Optional Parameters
Storage account key. Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_KEY.
Storage account name. Related environment variable: AZURE_STORAGE_ACCOUNT. Must be used in conjunction with either storage account key or a SAS token. If neither are present, the command will try to query the storage account key using the authenticated Azure account. If a large number of storage commands are executed the API quota may be hit.
The mode in which to run the command. "login" mode will directly use your login credentials for the authentication. The legacy "key" mode will attempt to query for an account key if no authentication parameters for the account are provided. Environment variable: AZURE_STORAGE_AUTH_MODE.
Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING.
Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.
A Shared Access Signature (SAS). Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_SAS_TOKEN.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Request timeout in seconds. Applies to each call to the service.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az storage blob service-properties update
Update storage blob service properties.
az storage blob service-properties update [--404-document]
[--account-key]
[--account-name]
[--add]
[--auth-mode {key, login}]
[--connection-string]
[--delete-retention {false, true}]
[--delete-retention-period]
[--force-string]
[--index-document]
[--remove]
[--sas-token]
[--set]
[--static-website {false, true}]
[--subscription]
[--timeout]
Examples
Update storage blob service properties. (autogenerated)
az storage blob service-properties update --404-document error.html --account-name mystorageccount --account-key 00000000 --index-document index.html --static-website true
Optional Parameters
Represents the path to the error document that should be shown when an error 404 is issued, in other words, when a browser requests a page that does not exist.
Storage account key. Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_KEY.
Storage account name. Related environment variable: AZURE_STORAGE_ACCOUNT. Must be used in conjunction with either storage account key or a SAS token. If neither are present, the command will try to query the storage account key using the authenticated Azure account. If a large number of storage commands are executed the API quota may be hit.
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>.
The mode in which to run the command. "login" mode will directly use your login credentials for the authentication. The legacy "key" mode will attempt to query for an account key if no authentication parameters for the account are provided. Environment variable: AZURE_STORAGE_AUTH_MODE.
Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING.
Enables soft-delete.
Number of days that soft-deleted blob will be retained. Must be in range [1,365].
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Represents the name of the index document. This is commonly "index.html".
Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.
A Shared Access Signature (SAS). Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_SAS_TOKEN.
Update an object by specifying a property path and value to set. Example: --set property1.property2=.
Enables static-website.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Request timeout in seconds. Applies to each call to the service.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.