Dela via


StorageTaskAssignments interface

Interface representing a StorageTaskAssignments.

Methods

beginCreate(string, string, string, StorageTaskAssignment, StorageTaskAssignmentsCreateOptionalParams)

Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated. If a storage task assignment is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.

beginCreateAndWait(string, string, string, StorageTaskAssignment, StorageTaskAssignmentsCreateOptionalParams)

Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated. If a storage task assignment is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.

beginDelete(string, string, string, StorageTaskAssignmentsDeleteOptionalParams)

Delete the storage task assignment sub-resource

beginDeleteAndWait(string, string, string, StorageTaskAssignmentsDeleteOptionalParams)

Delete the storage task assignment sub-resource

beginUpdate(string, string, string, StorageTaskAssignmentUpdateParameters, StorageTaskAssignmentsUpdateOptionalParams)

Update storage task assignment properties

beginUpdateAndWait(string, string, string, StorageTaskAssignmentUpdateParameters, StorageTaskAssignmentsUpdateOptionalParams)

Update storage task assignment properties

get(string, string, string, StorageTaskAssignmentsGetOptionalParams)

Get the storage task assignment properties

list(string, string, StorageTaskAssignmentsListOptionalParams)

List all the storage task assignments in an account

Method Details

beginCreate(string, string, string, StorageTaskAssignment, StorageTaskAssignmentsCreateOptionalParams)

Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated. If a storage task assignment is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.

function beginCreate(resourceGroupName: string, accountName: string, storageTaskAssignmentName: string, parameters: StorageTaskAssignment, options?: StorageTaskAssignmentsCreateOptionalParams): Promise<SimplePollerLike<OperationState<StorageTaskAssignment>, StorageTaskAssignment>>

Parameters

resourceGroupName

string

The name of the resource group. 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.

storageTaskAssignmentName

string

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

parameters
StorageTaskAssignment

The parameters to create a Storage Task Assignment.

options
StorageTaskAssignmentsCreateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<StorageTaskAssignment>, StorageTaskAssignment>>

beginCreateAndWait(string, string, string, StorageTaskAssignment, StorageTaskAssignmentsCreateOptionalParams)

Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated. If a storage task assignment is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.

function beginCreateAndWait(resourceGroupName: string, accountName: string, storageTaskAssignmentName: string, parameters: StorageTaskAssignment, options?: StorageTaskAssignmentsCreateOptionalParams): Promise<StorageTaskAssignment>

Parameters

resourceGroupName

string

The name of the resource group. 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.

storageTaskAssignmentName

string

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

parameters
StorageTaskAssignment

The parameters to create a Storage Task Assignment.

options
StorageTaskAssignmentsCreateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, StorageTaskAssignmentsDeleteOptionalParams)

Delete the storage task assignment sub-resource

function beginDelete(resourceGroupName: string, accountName: string, storageTaskAssignmentName: string, options?: StorageTaskAssignmentsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<StorageTaskAssignmentsDeleteHeaders>, StorageTaskAssignmentsDeleteHeaders>>

Parameters

resourceGroupName

string

The name of the resource group. 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.

storageTaskAssignmentName

string

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

options
StorageTaskAssignmentsDeleteOptionalParams

The options parameters.

Returns

beginDeleteAndWait(string, string, string, StorageTaskAssignmentsDeleteOptionalParams)

Delete the storage task assignment sub-resource

function beginDeleteAndWait(resourceGroupName: string, accountName: string, storageTaskAssignmentName: string, options?: StorageTaskAssignmentsDeleteOptionalParams): Promise<StorageTaskAssignmentsDeleteHeaders>

Parameters

resourceGroupName

string

The name of the resource group. 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.

storageTaskAssignmentName

string

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

options
StorageTaskAssignmentsDeleteOptionalParams

The options parameters.

Returns

beginUpdate(string, string, string, StorageTaskAssignmentUpdateParameters, StorageTaskAssignmentsUpdateOptionalParams)

Update storage task assignment properties

function beginUpdate(resourceGroupName: string, accountName: string, storageTaskAssignmentName: string, parameters: StorageTaskAssignmentUpdateParameters, options?: StorageTaskAssignmentsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<StorageTaskAssignment>, StorageTaskAssignment>>

Parameters

resourceGroupName

string

The name of the resource group. 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.

storageTaskAssignmentName

string

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

parameters
StorageTaskAssignmentUpdateParameters

The parameters to update a Storage Task Assignment.

options
StorageTaskAssignmentsUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<StorageTaskAssignment>, StorageTaskAssignment>>

beginUpdateAndWait(string, string, string, StorageTaskAssignmentUpdateParameters, StorageTaskAssignmentsUpdateOptionalParams)

Update storage task assignment properties

function beginUpdateAndWait(resourceGroupName: string, accountName: string, storageTaskAssignmentName: string, parameters: StorageTaskAssignmentUpdateParameters, options?: StorageTaskAssignmentsUpdateOptionalParams): Promise<StorageTaskAssignment>

Parameters

resourceGroupName

string

The name of the resource group. 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.

storageTaskAssignmentName

string

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

parameters
StorageTaskAssignmentUpdateParameters

The parameters to update a Storage Task Assignment.

options
StorageTaskAssignmentsUpdateOptionalParams

The options parameters.

Returns

get(string, string, string, StorageTaskAssignmentsGetOptionalParams)

Get the storage task assignment properties

function get(resourceGroupName: string, accountName: string, storageTaskAssignmentName: string, options?: StorageTaskAssignmentsGetOptionalParams): Promise<StorageTaskAssignment>

Parameters

resourceGroupName

string

The name of the resource group. 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.

storageTaskAssignmentName

string

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

options
StorageTaskAssignmentsGetOptionalParams

The options parameters.

Returns

list(string, string, StorageTaskAssignmentsListOptionalParams)

List all the storage task assignments in an account

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

Parameters

resourceGroupName

string

The name of the resource group. 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
StorageTaskAssignmentsListOptionalParams

The options parameters.

Returns