共用方式為


ArmMongoClusterModelFactory.MongoClusterReplica Method

Definition

Initializes a new instance of MongoClusterReplica.

public static Azure.ResourceManager.MongoCluster.Models.MongoClusterReplica MongoClusterReplica (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.MongoCluster.Models.MongoClusterProperties properties = default);
static member MongoClusterReplica : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.MongoCluster.Models.MongoClusterProperties -> Azure.ResourceManager.MongoCluster.Models.MongoClusterReplica
Public Shared Function MongoClusterReplica (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional properties As MongoClusterProperties = Nothing) As MongoClusterReplica

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

properties
MongoClusterProperties

The resource-specific properties for this resource.

Returns

A new MongoClusterReplica instance for mocking.

Applies to