public interface Capacities
Resource collection API of Capacities.
  • Method Details

    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<DedicatedCapacity> getByResourceGroupWithResponse(String resourceGroupName, String dedicatedCapacityName, com.azure.core.util.Context context)
      Gets details about the specified dedicated capacity.
      Parameters:
      resourceGroupName - The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
      dedicatedCapacityName - The name of the dedicated capacity. It must be a minimum of 3 characters, and a maximum of 63.
      context - The context to associate with this operation.
      Returns:
      details about the specified dedicated capacity 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.
    • getByResourceGroup

      DedicatedCapacity getByResourceGroup(String resourceGroupName, String dedicatedCapacityName)
      Gets details about the specified dedicated capacity.
      Parameters:
      resourceGroupName - The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
      dedicatedCapacityName - The name of the dedicated capacity. It must be a minimum of 3 characters, and a maximum of 63.
      Returns:
      details about the specified dedicated capacity.
      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.
    • deleteByResourceGroup

      void deleteByResourceGroup(String resourceGroupName, String dedicatedCapacityName)
      Deletes the specified Dedicated capacity.
      Parameters:
      resourceGroupName - The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
      dedicatedCapacityName - The name of the Dedicated capacity. It must be at least 3 characters in length, and no more than 63.
      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.
    • delete

      void delete(String resourceGroupName, String dedicatedCapacityName, com.azure.core.util.Context context)
      Deletes the specified Dedicated capacity.
      Parameters:
      resourceGroupName - The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
      dedicatedCapacityName - The name of the Dedicated capacity. It must be at least 3 characters in length, and no more than 63.
      context - The context to associate with this operation.
      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.
    • suspend

      void suspend(String resourceGroupName, String dedicatedCapacityName)
      Suspends operation of the specified dedicated capacity instance.
      Parameters:
      resourceGroupName - The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
      dedicatedCapacityName - The name of the Dedicated capacity. It must be at least 3 characters in length, and no more than 63.
      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.
    • suspend

      void suspend(String resourceGroupName, String dedicatedCapacityName, com.azure.core.util.Context context)
      Suspends operation of the specified dedicated capacity instance.
      Parameters:
      resourceGroupName - The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
      dedicatedCapacityName - The name of the Dedicated capacity. It must be at least 3 characters in length, and no more than 63.
      context - The context to associate with this operation.
      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.
    • resume

      void resume(String resourceGroupName, String dedicatedCapacityName)
      Resumes operation of the specified Dedicated capacity instance.
      Parameters:
      resourceGroupName - The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
      dedicatedCapacityName - The name of the Dedicated capacity. It must be at least 3 characters in length, and no more than 63.
      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.
    • resume

      void resume(String resourceGroupName, String dedicatedCapacityName, com.azure.core.util.Context context)
      Resumes operation of the specified Dedicated capacity instance.
      Parameters:
      resourceGroupName - The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
      dedicatedCapacityName - The name of the Dedicated capacity. It must be at least 3 characters in length, and no more than 63.
      context - The context to associate with this operation.
      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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<DedicatedCapacity> listByResourceGroup(String resourceGroupName)
      Gets all the Dedicated capacities for the given resource group.
      Parameters:
      resourceGroupName - The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
      Returns:
      all the Dedicated capacities for the given resource group 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<DedicatedCapacity> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Gets all the Dedicated capacities for the given resource group.
      Parameters:
      resourceGroupName - The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
      context - The context to associate with this operation.
      Returns:
      all the Dedicated capacities for the given resource group 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<DedicatedCapacity> list()
      Lists all the Dedicated capacities for the given subscription.
      Returns:
      an array of Dedicated capacities resources as paginated response with PagedIterable.
      Throws:
      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<DedicatedCapacity> list(com.azure.core.util.Context context)
      Lists all the Dedicated capacities for the given subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      an array of Dedicated capacities resources 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.
    • listSkusWithResponse

      com.azure.core.http.rest.Response<SkuEnumerationForNewResourceResult> listSkusWithResponse(com.azure.core.util.Context context)
      Lists eligible SKUs for PowerBI Dedicated resource provider.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      an object that represents enumerating SKUs for new resources 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.
    • listSkus

      Lists eligible SKUs for PowerBI Dedicated resource provider.
      Returns:
      an object that represents enumerating SKUs for new resources.
      Throws:
      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.
    • listSkusForCapacityWithResponse

      com.azure.core.http.rest.Response<SkuEnumerationForExistingResourceResult> listSkusForCapacityWithResponse(String resourceGroupName, String dedicatedCapacityName, com.azure.core.util.Context context)
      Lists eligible SKUs for a PowerBI Dedicated resource.
      Parameters:
      resourceGroupName - The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
      dedicatedCapacityName - The name of the Dedicated capacity. It must be at least 3 characters in length, and no more than 63.
      context - The context to associate with this operation.
      Returns:
      an object that represents enumerating SKUs for existing resources 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.
    • listSkusForCapacity

      SkuEnumerationForExistingResourceResult listSkusForCapacity(String resourceGroupName, String dedicatedCapacityName)
      Lists eligible SKUs for a PowerBI Dedicated resource.
      Parameters:
      resourceGroupName - The name of the Azure Resource group of which a given PowerBIDedicated capacity is part. This name must be at least 1 character in length, and no more than 90.
      dedicatedCapacityName - The name of the Dedicated capacity. It must be at least 3 characters in length, and no more than 63.
      Returns:
      an object that represents enumerating SKUs for existing resources.
      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.
    • checkNameAvailabilityWithResponse

      com.azure.core.http.rest.Response<CheckCapacityNameAvailabilityResult> checkNameAvailabilityWithResponse(String location, CheckCapacityNameAvailabilityParameters capacityParameters, com.azure.core.util.Context context)
      Check the name availability in the target location.
      Parameters:
      location - The region name which the operation will lookup into.
      capacityParameters - The name of the capacity.
      context - The context to associate with this operation.
      Returns:
      the checking result of capacity name availability 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.
    • checkNameAvailability

      CheckCapacityNameAvailabilityResult checkNameAvailability(String location, CheckCapacityNameAvailabilityParameters capacityParameters)
      Check the name availability in the target location.
      Parameters:
      location - The region name which the operation will lookup into.
      capacityParameters - The name of the capacity.
      Returns:
      the checking result of capacity name availability.
      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.
    • getById

      Gets details about the specified dedicated capacity.
      Parameters:
      id - the resource ID.
      Returns:
      details about the specified dedicated capacity 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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<DedicatedCapacity> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets details about the specified dedicated capacity.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      details about the specified dedicated capacity 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.
    • deleteById

      void deleteById(String id)
      Deletes the specified Dedicated capacity.
      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes the specified Dedicated capacity.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      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.
    • define

      Begins definition for a new DedicatedCapacity resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new DedicatedCapacity definition.