Interface CommitmentTiers


  • public interface CommitmentTiers
    Resource collection API of CommitmentTiers.
    • Method Detail

      • list

        com.azure.core.http.rest.PagedIterable<CommitmentTier> list​(String location)
        List Commitment Tiers.
        Parameters:
        location - Resource location.
        Returns:
        the list of cognitive services accounts operation response as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.PagedIterable<CommitmentTier> list​(String location,
                                                                    com.azure.core.util.Context context)
        List Commitment Tiers.
        Parameters:
        location - Resource location.
        context - The context to associate with this operation.
        Returns:
        the list of cognitive services accounts operation response as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.