BlobInventoryPolicies interface
Interface representing a BlobInventoryPolicies.
Methods
create |
Sets the blob inventory policy to the specified storage account. |
delete(string, string, string, Blob |
Deletes the blob inventory policy associated with the specified storage account. |
get(string, string, string, Blob |
Gets the blob inventory policy associated with the specified storage account. |
list(string, string, Blob |
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.
The options parameters.
Returns
Promise<BlobInventoryPolicy>
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'
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'
The options parameters.
Returns
Promise<BlobInventoryPolicy>
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.
The options parameters.