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

DedicatedHostResource.CreateResourceIdentifier Method

Definition

Generate the resource identifier of a DedicatedHostResource instance.

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

Parameters

subscriptionId
String

The subscriptionId.

resourceGroupName
String

The resourceGroupName.

hostGroupName
String

The hostGroupName.

hostName
String

The hostName.

Returns

Applies to