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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.microsoft.azure.PagedList<T> listByParent​(String resourceGroupName, String parentName)
      Lists resources of the specified type in the specified resource group.
      com.microsoft.azure.PagedList<T> listByParent​(ParentT parentResource)
      Gets the information about a resource from Azure based on the resource id.
    • Method Detail

      • listByParent

        com.microsoft.azure.PagedList<T> listByParent​(String resourceGroupName,
                                                      String parentName)
        Lists resources of the specified type in the specified resource group.
        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.microsoft.azure.PagedList<T> listByParent​(ParentT parentResource)
        Gets the information about a resource from Azure based on the resource id.
        Parameters:
        parentResource - the instance of parent resource.
        Returns:
        an immutable representation of the resource