共用方式為


ArmStorageSyncModelFactory.StorageSyncWorkflowData Method

Definition

Initializes a new instance of StorageSyncWorkflowData.

public static Azure.ResourceManager.StorageSync.StorageSyncWorkflowData StorageSyncWorkflowData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string lastStepName = default, Azure.ResourceManager.StorageSync.Models.StorageSyncWorkflowStatus? status = default, Azure.ResourceManager.StorageSync.Models.StorageSyncOperationDirection? operation = default, string steps = default, Guid? lastOperationId = default, string commandName = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastStatusUpdatedOn = default);
static member StorageSyncWorkflowData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.StorageSync.Models.StorageSyncWorkflowStatus> * Nullable<Azure.ResourceManager.StorageSync.Models.StorageSyncOperationDirection> * string * Nullable<Guid> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.StorageSync.StorageSyncWorkflowData
Public Shared Function StorageSyncWorkflowData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional lastStepName As String = Nothing, Optional status As Nullable(Of StorageSyncWorkflowStatus) = Nothing, Optional operation As Nullable(Of StorageSyncOperationDirection) = Nothing, Optional steps As String = Nothing, Optional lastOperationId As Nullable(Of Guid) = Nothing, Optional commandName As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastStatusUpdatedOn As Nullable(Of DateTimeOffset) = Nothing) As StorageSyncWorkflowData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

lastStepName
String

last step name.

status
Nullable<StorageSyncWorkflowStatus>

workflow status.

operation
Nullable<StorageSyncOperationDirection>

operation direction.

steps
String

workflow steps.

lastOperationId
Nullable<Guid>

workflow last operation identifier.

commandName
String

workflow command name.

createdOn
Nullable<DateTimeOffset>

workflow created timestamp.

lastStatusUpdatedOn
Nullable<DateTimeOffset>

workflow last status timestamp.

Returns

A new StorageSyncWorkflowData instance for mocking.

Applies to