Share via


ISupportsGettingByName<T>.GetByName(String) Method

Definition

Gets the information about a resource from Azure based on the resource name within the current resource group.

public T GetByName (string name);
abstract member GetByName : string -> 'T
Public Function GetByName (name As String) As T

Parameters

name
String

name the name of the resource. (Note, this is not the resource ID.)

Returns

T

an immutable representation of the resource

Applies to