StorageTaskAssignments interface
Interface representing a StorageTaskAssignments.
Methods
begin |
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. |
begin |
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. |
begin |
Delete the storage task assignment sub-resource |
begin |
Delete the storage task assignment sub-resource |
begin |
Update storage task assignment properties |
begin |
Update storage task assignment properties |
get(string, string, string, Storage |
Get the storage task assignment properties |
list(string, string, Storage |
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.
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.
The options parameters.
Returns
Promise<StorageTaskAssignment>
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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<StorageTaskAssignmentsDeleteHeaders>, StorageTaskAssignmentsDeleteHeaders>>
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.
The options parameters.
Returns
Promise<StorageTaskAssignmentsDeleteHeaders>
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.
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.
The options parameters.
Returns
Promise<StorageTaskAssignment>
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.
The options parameters.
Returns
Promise<StorageTaskAssignment>
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.
The options parameters.