你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CapacityReservationResource.CreateResourceIdentifier Method

Definition

Generate the resource identifier of a CapacityReservationResource instance.

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

Parameters

subscriptionId
String

The subscriptionId.

resourceGroupName
String

The resourceGroupName.

capacityReservationGroupName
String

The capacityReservationGroupName.

capacityReservationName
String

The capacityReservationName.

Returns

Applies to