共用方式為


ArmRecoveryServicesSiteRecoveryModelFactory.SiteRecoveryJobEntity Method

Definition

Initializes a new instance of SiteRecoveryJobEntity.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryJobEntity SiteRecoveryJobEntity (Azure.Core.ResourceIdentifier jobId = default, string jobFriendlyName = default, string targetObjectId = default, string targetObjectName = default, string targetInstanceType = default, string jobScenarioName = default);
static member SiteRecoveryJobEntity : Azure.Core.ResourceIdentifier * string * string * string * string * string -> Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryJobEntity
Public Shared Function SiteRecoveryJobEntity (Optional jobId As ResourceIdentifier = Nothing, Optional jobFriendlyName As String = Nothing, Optional targetObjectId As String = Nothing, Optional targetObjectName As String = Nothing, Optional targetInstanceType As String = Nothing, Optional jobScenarioName As String = Nothing) As SiteRecoveryJobEntity

Parameters

jobId
ResourceIdentifier

The job id.

jobFriendlyName
String

The job display name.

targetObjectId
String

The object id.

targetObjectName
String

The object name.

targetInstanceType
String

The workflow affected object type.

jobScenarioName
String

The job name. Enum type ScenarioName.

Returns

A new SiteRecoveryJobEntity instance for mocking.

Applies to