共用方式為


ArmRecoveryServicesSiteRecoveryModelFactory.ReplicationProtectedItemData Method

Definition

Initializes a new instance of ReplicationProtectedItemData.

public static Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectedItemData ReplicationProtectedItemData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ReplicationProtectedItemProperties properties = default, Azure.Core.AzureLocation? location = default);
static member ReplicationProtectedItemData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ReplicationProtectedItemProperties * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.RecoveryServicesSiteRecovery.ReplicationProtectedItemData
Public Shared Function ReplicationProtectedItemData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional properties As ReplicationProtectedItemProperties = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing) As ReplicationProtectedItemData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

properties
ReplicationProtectedItemProperties

The custom data.

location
Nullable<AzureLocation>

Resource Location.

Returns

A new ReplicationProtectedItemData instance for mocking.

Applies to