共用方式為


CosmosDBServiceResource.CreateResourceIdentifier Method

Definition

Generate the resource identifier of a CosmosDBServiceResource instance.

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

Parameters

subscriptionId
String

The subscriptionId.

resourceGroupName
String

The resourceGroupName.

accountName
String

The accountName.

serviceName
String

The serviceName.

Returns

Applies to