Switch branches/tags
Nothing to show
Find file History
williexu [Storage] added other mgmt-plane commands to extension to allow bypas…
…sing older api-version restrictions. (#380)

* added mgmt plane commands back to extension

* recordings and setup.py

* style
Latest commit 2c85847 Nov 1, 2018

README.md

Azure CLI Storage Preview Extension

This is a extension for storage preview features.

How to use

Install this extension using the below CLI command

az extension add --name storage-preview

Included Features

Management Policy:

Manage data policy rules associated with a storage account: more info
Examples:

az storage account management-policy create \
    --account-name accountName \
    --resource-group groupName \
    --policy @{path}

Static Website:

Manage static website configurations: more info
Examples:

az storage blob service-properties update \
    --account-name accountName \
    --static-website \
    --404-document error.html \
    --index-document index.html

Hierarchical Namespace:

Enable the blob service to exhibit filesystem semantics: more info
Examples:

az storage account create \
    --name accountName \
    --resource-group groupName \
    --kind StorageV2 \
    --hierarchical-namespace

File AAD Integration:

Enable AAD integration for Azure files, which will support SMB access: more info
Examples:

az storage account create \
    --name accountName \
    --resource-group groupName \
    --kind StorageV2 \
    --file-aad

az storage account update \
    --name accountName \
    --resource-group groupName \
    --file-aad false

Premium Blobs/Files:

Create premium blob/file storage accounts. More info:premium blobs premium files
Examples:

az storage account create \
    --name accountName \
    --resource-group groupName \
    --sku Premium_LRS \
    --kind BlockBlobStorage

az storage account create \
    --name accountName \
    --resource-group groupName \
    --sku Premium_LRS \
    --kind FileStorage