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

IdUtils.GetValueByName(String, String) Method

Definition

Fetches the value embedded in the ARM ID, identified the provided input id, in the ARM ID.

public static string GetValueByName (string id, string idName);
static member GetValueByName : string * string -> string
Public Shared Function GetValueByName (id As String, idName As String) As String

Parameters

id
String

The ARM input ID

idName
String

Name of the value to be returned

Returns

Applies to