ResourcesOperationsExtensions.GetById メソッド

定義

ID でリソースを取得します。

public static Microsoft.Azure.Management.ResourceManager.Models.GenericResource GetById (this Microsoft.Azure.Management.ResourceManager.IResourcesOperations operations, string resourceId, string apiVersion);
static member GetById : Microsoft.Azure.Management.ResourceManager.IResourcesOperations * string * string -> Microsoft.Azure.Management.ResourceManager.Models.GenericResource
<Extension()>
Public Function GetById (operations As IResourcesOperations, resourceId As String, apiVersion As String) As GenericResource

パラメーター

operations
IResourcesOperations

この拡張メソッドの操作グループ。

resourceId
String

リソースの完全修飾 ID。リソース名とリソースの種類が含まれます。 /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} の形式を使用します

apiVersion
String

操作に使用する API バージョン。

戻り値

適用対象