共用方式為


SubnetResource.CreateResourceIdentifier Method

Definition

Generate the resource identifier of a SubnetResource instance.

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

Parameters

subscriptionId
String

The subscriptionId.

resourceGroupName
String

The resourceGroupName.

virtualNetworkName
String

The virtualNetworkName.

subnetName
String

The subnetName.

Returns

Applies to