BlobServices interface

Interface representing a BlobServices.

Methods

getServiceProperties(string, string, BlobServicesGetServicePropertiesOptionalParams)

Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.

list(string, string, BlobServicesListOptionalParams)

List blob services of storage account. It returns a collection of one object named default.

setServiceProperties(string, string, BlobServiceProperties, BlobServicesSetServicePropertiesOptionalParams)

Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.

Method Details

getServiceProperties(string, string, BlobServicesGetServicePropertiesOptionalParams)

Gets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.

function getServiceProperties(resourceGroupName: string, accountName: string, options?: BlobServicesGetServicePropertiesOptionalParams): Promise<BlobServiceProperties>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

accountName

string

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

options
BlobServicesGetServicePropertiesOptionalParams

The options parameters.

Returns

list(string, string, BlobServicesListOptionalParams)

List blob services of storage account. It returns a collection of one object named default.

function list(resourceGroupName: string, accountName: string, options?: BlobServicesListOptionalParams): PagedAsyncIterableIterator<BlobServiceProperties, BlobServiceProperties[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

accountName

string

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

options
BlobServicesListOptionalParams

The options parameters.

Returns

setServiceProperties(string, string, BlobServiceProperties, BlobServicesSetServicePropertiesOptionalParams)

Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.

function setServiceProperties(resourceGroupName: string, accountName: string, parameters: BlobServiceProperties, options?: BlobServicesSetServicePropertiesOptionalParams): Promise<BlobServiceProperties>

Parameters

resourceGroupName

string

The name of the resource group within the user's subscription. The name is case insensitive.

accountName

string

The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.

parameters
BlobServiceProperties

The properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules.

options
BlobServicesSetServicePropertiesOptionalParams

The options parameters.

Returns