BlobInventoryPolicies interface

Interface representing a BlobInventoryPolicies.

Methods

createOrUpdate(string, string, string, BlobInventoryPolicy, BlobInventoryPoliciesCreateOrUpdateOptionalParams)

Sets the blob inventory policy to the specified storage account.

delete(string, string, string, BlobInventoryPoliciesDeleteOptionalParams)

Deletes the blob inventory policy associated with the specified storage account.

get(string, string, string, BlobInventoryPoliciesGetOptionalParams)

Gets the blob inventory policy associated with the specified storage account.

list(string, string, BlobInventoryPoliciesListOptionalParams)

Gets the blob inventory policy associated with the specified storage account.

Method Details

createOrUpdate(string, string, string, BlobInventoryPolicy, BlobInventoryPoliciesCreateOrUpdateOptionalParams)

Sets the blob inventory policy to the specified storage account.

function createOrUpdate(resourceGroupName: string, accountName: string, blobInventoryPolicyName: string, properties: BlobInventoryPolicy, options?: BlobInventoryPoliciesCreateOrUpdateOptionalParams): Promise<BlobInventoryPolicy>

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.

blobInventoryPolicyName

string

The name of the storage account blob inventory policy. It should always be 'default'

properties
BlobInventoryPolicy

The blob inventory policy set to a storage account.

options
BlobInventoryPoliciesCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, string, BlobInventoryPoliciesDeleteOptionalParams)

Deletes the blob inventory policy associated with the specified storage account.

function delete(resourceGroupName: string, accountName: string, blobInventoryPolicyName: string, options?: BlobInventoryPoliciesDeleteOptionalParams): Promise<void>

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.

blobInventoryPolicyName

string

The name of the storage account blob inventory policy. It should always be 'default'

options
BlobInventoryPoliciesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, BlobInventoryPoliciesGetOptionalParams)

Gets the blob inventory policy associated with the specified storage account.

function get(resourceGroupName: string, accountName: string, blobInventoryPolicyName: string, options?: BlobInventoryPoliciesGetOptionalParams): Promise<BlobInventoryPolicy>

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.

blobInventoryPolicyName

string

The name of the storage account blob inventory policy. It should always be 'default'

options
BlobInventoryPoliciesGetOptionalParams

The options parameters.

Returns

list(string, string, BlobInventoryPoliciesListOptionalParams)

Gets the blob inventory policy associated with the specified storage account.

function list(resourceGroupName: string, accountName: string, options?: BlobInventoryPoliciesListOptionalParams): PagedAsyncIterableIterator<BlobInventoryPolicy, BlobInventoryPolicy[], 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
BlobInventoryPoliciesListOptionalParams

The options parameters.

Returns