Dela via


ArmStorageModelFactory.StorageTaskAssignmentProperties Method

Definition

Initializes a new instance of StorageTaskAssignmentProperties.

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

Parameters

taskId
ResourceIdentifier

Id of the corresponding storage task.

isEnabled
Boolean

Whether the storage task assignment is enabled or not.

description
String

Text that describes the purpose of the storage task assignment.

executionContext
StorageTaskAssignmentExecutionContext

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 StorageTaskAssignmentProperties instance for mocking.

Applies to