Interface ResourceProvidersClient


public interface ResourceProvidersClient
An instance of this class provides access to all the operations defined in ResourceProvidersClient.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<CatalogInner> list(String subscriptionId)
      Get the regions and skus that are available for RI purchase for the specified Azure subscription.
      Parameters:
      subscriptionId - Id of the subscription.
      Returns:
      the regions and skus that are available for RI purchase for the specified Azure subscription 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<CatalogInner> list(String subscriptionId, String reservedResourceType, String location, String publisherId, String offerId, String planId, String filter, Float skip, Float take, com.azure.core.util.Context context)
      Get the regions and skus that are available for RI purchase for the specified Azure subscription.
      Parameters:
      subscriptionId - Id of the subscription.
      reservedResourceType - The type of the resource for which the skus should be provided.
      location - Filters the skus based on the location specified in this parameter. This can be an Azure region or global.
      publisherId - Publisher id used to get the third party products.
      offerId - Offer id used to get the third party products.
      planId - Plan id used to get the third party products.
      filter - May be used to filter by Catalog properties. The filter supports 'eq', 'or', and 'and'.
      skip - The number of reservations to skip from the list before returning results.
      take - To number of reservations to return.
      context - The context to associate with this operation.
      Returns:
      the regions and skus that are available for RI purchase for the specified Azure subscription 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.
    • getAppliedReservationListWithResponse

      com.azure.core.http.rest.Response<AppliedReservationsInner> getAppliedReservationListWithResponse(String subscriptionId, com.azure.core.util.Context context)
      Get list of applicable `Reservation`s. Get applicable `Reservation`s that are applied to this subscription or a resource group under this subscription.
      Parameters:
      subscriptionId - Id of the subscription.
      context - The context to associate with this operation.
      Returns:
      applicable `Reservation`s that are applied to this subscription or a resource group under this subscription along with Response.
      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.
    • getAppliedReservationList

      AppliedReservationsInner getAppliedReservationList(String subscriptionId)
      Get list of applicable `Reservation`s. Get applicable `Reservation`s that are applied to this subscription or a resource group under this subscription.
      Parameters:
      subscriptionId - Id of the subscription.
      Returns:
      applicable `Reservation`s that are applied to this subscription or a resource group under this subscription.
      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.