共用方式為


ISupportsGettingByParent<T,ParentT,ManagerT>.GetByParent Method

Definition

Overloads

GetByParent(ParentT, String)

Gets the information about a resource from Azure based on the resource id.

GetByParent(String, String, String)

Gets the information about a resource from Azure based on the resource id.

GetByParent(ParentT, String)

Gets the information about a resource from Azure based on the resource id.

public T GetByParent (ParentT parentResource, string name);
abstract member GetByParent : 'ParentT * string -> 'T
Public Function GetByParent (parentResource As ParentT, name As String) As T

Parameters

parentResource
ParentT

The instance of parent resource.

name
String

The name of resource.

Returns

T

Applies to

GetByParent(String, String, String)

Gets the information about a resource from Azure based on the resource id.

public T GetByParent (string resourceGroup, string parentName, string name);
abstract member GetByParent : string * string * string -> 'T
Public Function GetByParent (resourceGroup As String, parentName As String, name As String) As T

Parameters

resourceGroup
String

The name of resource group.

parentName
String

The name of parent resource.

name
String

The name of resource.

Returns

T

Applies to