Establishes and manages a lock on a container for delete operations, or on a blob for write and delete operations.
For more information, see the official documentation for Blob Storage: Acquire lease.
| Field | Type | Description | Required |
|---|---|---|---|
| url | string | The URL of the Blob. | Required |
| proposeLeaseId | string | Proposed lease id. | Required |
| duration | number | Must be between 15 and 60 seconds, or infinite (-1). | Required |
Returns fields as described in LeaseOperationResponse.
To release the lease if it is no longer needed, so that another client may immediately acquire a lease against the container or blob.
For more information, see the official documentation for Blob Storage: Release lease.
| Field | Type | Description | Required |
|---|---|---|---|
| url | string | The URL of the Blob. | Required |
| proposeLeaseId | string | Proposed lease id. | Required |
Returns fields as described in LeaseOperationResponse.
To renew the lease.
For more information, see the official documentation for Blob Storage: Renew lease.
| Field | Type | Description | Required |
|---|---|---|---|
| url | string | The URL of the Blob. | Required |
| proposeLeaseId | string | Proposed lease id. | Required |
Returns fields as described in Lease.
Create a Blob container.
For more information, see the official documentation for Blob Storage: Create container.
| Field | Type | Description | Required |
|---|---|---|---|
| url | string | The URL of the Blob. | Required |
| containerName | string | Name of the container to create. | Required |
| Field | Type |
|---|---|
| containerClient | ContainerClient |
| containerCreateResponse | ContainerCreateResponse |
Deletes a Blob container.
For more information, see the official documentation for Blob Storage: Delete container.
| Field | Type | Description | Required |
|---|---|---|---|
| url | string | The URL of the Blob. | Required |
| containerName | string | Name of the container to delete. | Required |
Returns fields as described in ContainerDeleteResponse.
Returns an async iterable iterator to list all the containers under the specified account.
For more information, see the official documentation for Blob Storage: List containers.
| Field | Type | Description | Required |
|---|---|---|---|
| url | string | The URL of the Blob. | Required |
Returns fields as described in ServiceListContainersSegmentResponse.
Asynchronously copies a blob to a destination within the storage account.
For more information, see the official documentation for Blob Storage: Copy blob from URL.
| Field | Type | Description | Required |
|---|---|---|---|
| url | string | The URL of the Blob. | Required |
| copySource | string | url to the source Azure Blob/File. | Required |
Returns fields as described in BlobBeginCopyFromURLResponse.
Creates a read-only snapshot of a blob.
For more information, see the official documentation for Blob Storage: Create snapshot.
| Field | Type | Description | Required |
|---|---|---|---|
| url | string | The URL of the Blob. | Required |
Returns fields as described in BlobCreateSnapshotResponse.
Marks the specified blob or snapshot for deletion.
For more information, see the official documentation for Blob Storage: Delete blob.
| Field | Type | Description | Required |
|---|---|---|---|
| url | string | The URL of the Blob. | Required |
Returns fields as described in BlobDeleteResponse.
Reads or downloads a blob from the system, including its metadata and properties.
For more information, see the official documentation for Blob Storage: Download.
| Field | Type | Description | Required |
|---|---|---|---|
| url | string | The URL of the Blob. | Required |
| offset | number | From which position of the blob to download, greater than or equal to 0. | Required |
| count | number | How much data to be downloaded, greater than 0. | Required |
Returns fields as described in BlobDownloadResponseParsed.
Returns the list of blocks that have been uploaded as part of a block blob using the specified block list filter.
For more information, see the official documentation for Blob Storage: Get block list.
| Field | Type | Description | Required |
|---|---|---|---|
| url | string | The URL of the Blob. | Required |
| listType | BlockListType | Specifies whether to return the list of committed blocks, the list of uncommitted blocks, or both lists together. | Required |
Returns fields as described in BlockBlobGetBlockListResponse.
Returns all user-defined metadata, standard HTTP properties, and system properties for the blob.
For more information, see the official documentation for Blob Storage: Get properties.
| Field | Type | Description | Required |
|---|---|---|---|
| url | string | The URL of the Blob. | Required |
Returns fields as described in BlobGetPropertiesResponse.
Uploads data to a BlockBlob.
For more information, see the official documentation for Blob Storage: Upload.
| Field | Type | Description | Required |
|---|---|---|---|
| url | string | The URL of the Blob. | Required |
| data | string | The content you want to upload. Currently, only text input is supported. | Required |
Returns fields as described in BlobUploadCommonResponse.