table of contents
AZURECTL(1) | AZURECTL(1) |
NAME¶
azurectl - Command Line Interface to manage Microsoft Azure
In order to make use of a disk image in Azure, a fixed-size virtual hard disk (VHD) file must be uploaded to storage as a page blob.
SYNOPSIS¶
azurectl storage disk upload --source=file
-
[--blob-name=<blobname>] [--max-chunk-size=<size>] [--quiet]
azurectl storage disk sas --blob-name=blobname
-
[--start-datetime=start] [--expiry-datetime=expiry] [--permissions=permissions]
azurectl storage disk delete --blob-name=blobname
DESCRIPTION¶
upload¶
Upload file to a page blob in a container. The command autodetects the filetype whether it is XZ-compressed or not and decompresses the image automatically. If the filetype could not be identified the file will be uploaded as raw sequence of bytes.
While any kind of data can be uploaded to the blob storage the purpose of this command is mainly for uploading XZ-compressed VHD (Virtual Hard Drive) disk images in order to register an Azure operating system image from it at a later point in time.
sas¶
Generate a Shared Access Signature (SAS) URL allowing limited access to a disk image, without requiring an access key. See https://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-shared-access-signature-part-1/ for more information on shared access signatures.
delete¶
Delete a file from a container.
OPTIONS¶
--blob-name=blobname¶
Name of the uploaded file in the storage pool. If not specified the name is the same as the file used for upload.
--expiry-datetime=expiry¶
Date (and optionally time) to cease access via a shared access signature. (default: 30 days from start)
--max-chunk-size=byte_size¶
Specify the maximum page size for uploading data. By default a page size of 4MB is used.
--permissions=permissions¶
String of permitted actions on a storage element via shared access signature. (default: rl)
- •
- r = Read
- •
- w = Write
- •
- d = Delete
- •
- l = List
--quiet¶
Suppress progress information on upload.
--start-datetime=start¶
Date (and optionally time) to grant access via a shared access signature. (default: now)
AZURECTL User Manuals |