Interface SupportsListingByParent<T,ParentT extends Resource & HasResourceGroup,ManagerT>

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 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 Type
    Method
    Description
    com.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

      com.azure.core.http.rest.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
    • listByParent

      com.azure.core.http.rest.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