Package version:

Interface StorageTaskAssignments

Interface representing a StorageTaskAssignments.

interface StorageTaskAssignments {
    beginCreate(resourceGroupName: string, accountName: string, storageTaskAssignmentName: string, parameters: StorageTaskAssignment, options?: StorageTaskAssignmentsCreateOptionalParams): Promise<SimplePollerLike<OperationState<StorageTaskAssignment>, StorageTaskAssignment>>;
    beginCreateAndWait(resourceGroupName: string, accountName: string, storageTaskAssignmentName: string, parameters: StorageTaskAssignment, options?: StorageTaskAssignmentsCreateOptionalParams): Promise<StorageTaskAssignment>;
    beginDelete(resourceGroupName: string, accountName: string, storageTaskAssignmentName: string, options?: StorageTaskAssignmentsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<StorageTaskAssignmentsDeleteHeaders>, StorageTaskAssignmentsDeleteHeaders>>;
    beginDeleteAndWait(resourceGroupName: string, accountName: string, storageTaskAssignmentName: string, options?: StorageTaskAssignmentsDeleteOptionalParams): Promise<StorageTaskAssignmentsDeleteHeaders>;
    beginUpdate(resourceGroupName: string, accountName: string, storageTaskAssignmentName: string, parameters: StorageTaskAssignmentUpdateParameters, options?: StorageTaskAssignmentsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<StorageTaskAssignment>, StorageTaskAssignment>>;
    beginUpdateAndWait(resourceGroupName: string, accountName: string, storageTaskAssignmentName: string, parameters: StorageTaskAssignmentUpdateParameters, options?: StorageTaskAssignmentsUpdateOptionalParams): Promise<StorageTaskAssignment>;
    get(resourceGroupName: string, accountName: string, storageTaskAssignmentName: string, options?: StorageTaskAssignmentsGetOptionalParams): Promise<StorageTaskAssignment>;
    list(resourceGroupName: string, accountName: string, options?: StorageTaskAssignmentsListOptionalParams): PagedAsyncIterableIterator<StorageTaskAssignment>;
}

Methods

  • 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.

    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.

    • Optionaloptions: StorageTaskAssignmentsCreateOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<StorageTaskAssignment>, StorageTaskAssignment>>

  • 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.

    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.

    • Optionaloptions: StorageTaskAssignmentsCreateOptionalParams

      The options parameters.

    Returns Promise<StorageTaskAssignment>

  • Delete the storage task assignment sub-resource

    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.

    • Optionaloptions: StorageTaskAssignmentsDeleteOptionalParams

      The options parameters.

    Returns Promise<StorageTaskAssignmentsDeleteHeaders>

  • Update storage task assignment properties

    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.

    • Optionaloptions: StorageTaskAssignmentsUpdateOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<StorageTaskAssignment>, StorageTaskAssignment>>

  • Update storage task assignment properties

    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.

    • Optionaloptions: StorageTaskAssignmentsUpdateOptionalParams

      The options parameters.

    Returns Promise<StorageTaskAssignment>

  • Get the storage task assignment properties

    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.

    • Optionaloptions: StorageTaskAssignmentsGetOptionalParams

      The options parameters.

    Returns Promise<StorageTaskAssignment>