Interface SupportsListingByParent<T,ParentT extends Resource & HasResourceGroup,ManagerT>
- Type Parameters:
T- the type of the resources listedParentT- the type of the parent resourceManagerT- the client manager type representing the service
public interface SupportsListingByParent<T,ParentT extends Resource & HasResourceGroup,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 TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<T> listByParent(String resourceGroupName, String parentName) Lists resources of the specified type in the specified parent resource.com.azure.core.http.rest.PagedIterable<T> listByParent(ParentT parentResource) Lists resources of the specified type in the specified parent resource.
-
Method Details
-
listByParent
Lists resources of the specified type in the specified parent resource.- Parameters:
resourceGroupName- the name of the resource group to list the resources fromparentName- the name of parent resource.- Returns:
- the list of resources
-
listByParent
Lists resources of the specified type in the specified parent resource.- Parameters:
parentResource- the instance of parent resource.- Returns:
- the list of resources
-