Share via


ArmStorageModelFactory.StorageTaskAssignmentPatchProperties Method

Definition

Initializes a new instance of StorageTaskAssignmentPatchProperties.

public static Azure.ResourceManager.Storage.Models.StorageTaskAssignmentPatchProperties StorageTaskAssignmentPatchProperties (string taskId = default, bool? isEnabled = default, string description = default, Azure.ResourceManager.Storage.Models.StorageTaskAssignmentUpdateExecutionContext executionContext = default, string reportPrefix = default, Azure.ResourceManager.Storage.Models.StorageProvisioningState? provisioningState = default, Azure.ResourceManager.Storage.Models.StorageTaskReportProperties runStatus = default);
static member StorageTaskAssignmentPatchProperties : string * Nullable<bool> * string * Azure.ResourceManager.Storage.Models.StorageTaskAssignmentUpdateExecutionContext * string * Nullable<Azure.ResourceManager.Storage.Models.StorageProvisioningState> * Azure.ResourceManager.Storage.Models.StorageTaskReportProperties -> Azure.ResourceManager.Storage.Models.StorageTaskAssignmentPatchProperties
Public Shared Function StorageTaskAssignmentPatchProperties (Optional taskId As String = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional description As String = Nothing, Optional executionContext As StorageTaskAssignmentUpdateExecutionContext = Nothing, Optional reportPrefix As String = Nothing, Optional provisioningState As Nullable(Of StorageProvisioningState) = Nothing, Optional runStatus As StorageTaskReportProperties = Nothing) As StorageTaskAssignmentPatchProperties

Parameters

taskId
String

Id of the corresponding storage task.

isEnabled
Nullable<Boolean>

Whether the storage task assignment is enabled or not.

description
String

Text that describes the purpose of the storage task assignment.

executionContext
StorageTaskAssignmentUpdateExecutionContext

The storage task assignment execution context.

reportPrefix
String

The storage task assignment report.

provisioningState
Nullable<StorageProvisioningState>

Represents the provisioning state of the storage task assignment.

runStatus
StorageTaskReportProperties

Run status of storage task assignment.

Returns

A new StorageTaskAssignmentPatchProperties instance for mocking.

Applies to