SupportsListingByParent<T,ParentT,ManagerT> Interface

Type Parameters

T

the type of the resources listed

ParentT

the type of the parent resource

ManagerT

the client manager type representing the service

public interface SupportsListingByParent<T,ParentT,ManagerT>

Provides access to listing Azure resources of a specific type in a specific parent resource.

(Note this interface is not intended to be implemented by user code.)

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<T> listByParent(ParentT parentResource)

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

abstract PagedIterable<T> listByParent(String resourceGroupName, String parentName)

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

Method Details

listByParent

public abstract PagedIterable<T> listByParent(ParentT parentResource)

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

Parameters:

parentResource - the instance of parent resource.

Returns:

the list of resources

listByParent

public abstract PagedIterable<T> listByParent(String resourceGroupName, String parentName)

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

Parameters:

resourceGroupName - the name of the resource group to list the resources from
parentName - the name of parent resource.

Returns:

the list of resources

Applies to