SupportsListingByParent<T,ParentT,ManagerT>.listByParent 方法

定义

重载

listByParent(ParentT parentResource)

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

listByParent(String resourceGroupName, String parentName)

Lists resources of the specified type in the specified resource group.

listByParent(ParentT parentResource)

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

public PagedList<T> listByParent(ParentT parentResource)

参数

parentResource
ParentT

the instance of parent resource.

返回

PagedList<T>

an immutable representation of the resource

listByParent(String resourceGroupName, String parentName)

Lists resources of the specified type in the specified resource group.

public PagedList<T> listByParent(String resourceGroupName, String parentName)

参数

resourceGroupName
String

the name of the resource group to list the resources from

parentName
String

the name of parent resource.

返回

PagedList<T>

the list of resources

适用于