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]
[--sas-token]
[--subscription]
[--timeout]

Optional Parameters

--account-key

Storage account key. Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_KEY.

--account-name

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.

--auth-mode

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.

accepted values: key, login
--connection-string

Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING.

--sas-token

A Shared Access Signature (SAS). Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_SAS_TOKEN.

--subscription

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

--timeout

Request timeout in seconds. Applies to each call to the service.

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]

Optional Parameters

--404-document

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.

--account-key

Storage account key. Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_KEY.

--account-name

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

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

--auth-mode

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.

accepted values: key, login
--connection-string

Storage account connection string. Environment variable: AZURE_STORAGE_CONNECTION_STRING.

--delete-retention

Enables soft-delete.

accepted values: false, true
--delete-retention-period

Number of days that soft-deleted blob will be retained. Must be in range [1,365].

--force-string

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

--index-document

Represents the name of the index document. This is commonly "index.html".

--remove

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

--sas-token

A Shared Access Signature (SAS). Must be used in conjunction with storage account name. Environment variable: AZURE_STORAGE_SAS_TOKEN.

--set

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

--static-website

Enables static-website.

accepted values: false, true
--subscription

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

--timeout

Request timeout in seconds. Applies to each call to the service.