Compartilhar via


ArmCosmosDBModelFactory.CosmosDBLocationData Method

Definition

Initializes a new instance of CosmosDBLocationData.

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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

properties
CosmosDBLocationProperties

Cosmos DB location metadata.

Returns

A new CosmosDBLocationData instance for mocking.

Applies to