SupportsGettingByParent<T,ParentT,ManagerT>.getByParent 方法

定义

重载

getByParent(ParentT parentResource, String name)

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

getByParent(String resourceGroup, String parentName, String name)

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

getByParent(ParentT parentResource, String name)

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

public T getByParent(ParentT parentResource, String name)

参数

parentResource
ParentT

the instance of parent resource

name
String

the name of resource

返回

T

an immutable representation of the resource

getByParent(String resourceGroup, String parentName, String name)

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

public T getByParent(String resourceGroup, String parentName, String name)

参数

resourceGroup
String

the name of resource group

parentName
String

the name of parent resource

name
String

the name of resource

返回

T

an immutable representation of the resource

适用于