共用方式為


CosmosDBLocationResource.CreateResourceIdentifier Method

Definition

Generate the resource identifier of a CosmosDBLocationResource instance.

public static Azure.Core.ResourceIdentifier CreateResourceIdentifier (string subscriptionId, Azure.Core.AzureLocation location);
static member CreateResourceIdentifier : string * Azure.Core.AzureLocation -> Azure.Core.ResourceIdentifier
Public Shared Function CreateResourceIdentifier (subscriptionId As String, location As AzureLocation) As ResourceIdentifier

Parameters

subscriptionId
String

The subscriptionId.

location
AzureLocation

The location.

Returns

Applies to