다음을 통해 공유


IGenericResources.GetById(String, String) Method

Definition

Return a resource by the resource ID.

public Microsoft.Azure.Management.ResourceManager.Fluent.IGenericResource GetById (string id, string apiVersion = default);
abstract member GetById : string * string -> Microsoft.Azure.Management.ResourceManager.Fluent.IGenericResource
Public Function GetById (id As String, Optional apiVersion As String = Nothing) As IGenericResource

Parameters

id
String

id The ID of the resource.

apiVersion
String

apiVersion the String value

Returns

the generic resource

Applies to