共用方式為


ArmCosmosDBModelFactory.CassandraClusterData Method

Definition

Initializes a new instance of CassandraClusterData.

public static Azure.ResourceManager.CosmosDB.CassandraClusterData CassandraClusterData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.CosmosDB.Models.CassandraClusterProperties properties = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member CassandraClusterData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.CosmosDB.Models.CassandraClusterProperties * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.CosmosDB.CassandraClusterData
Public Shared Function CassandraClusterData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional properties As CassandraClusterProperties = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As CassandraClusterData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

properties
CassandraClusterProperties

Properties of a managed Cassandra cluster.

identity
ManagedServiceIdentity

Identity for the resource. Current supported identity types: SystemAssigned, None.

Returns

A new CassandraClusterData instance for mocking.

Applies to