Interface CapacitiesClient
public interface CapacitiesClient
An instance of this class provides access to all the operations defined in CapacitiesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DedicatedCapacityInner>,
DedicatedCapacityInner> beginCreate
(String resourceGroupName, String dedicatedCapacityName, DedicatedCapacityInner capacityParameters) Provisions the specified Dedicated capacity based on the configuration specified in the request.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DedicatedCapacityInner>,
DedicatedCapacityInner> beginCreate
(String resourceGroupName, String dedicatedCapacityName, DedicatedCapacityInner capacityParameters, com.azure.core.util.Context context) Provisions the specified Dedicated capacity based on the configuration specified in the request.beginDelete
(String resourceGroupName, String dedicatedCapacityName) Deletes the specified Dedicated capacity.beginDelete
(String resourceGroupName, String dedicatedCapacityName, com.azure.core.util.Context context) Deletes the specified Dedicated capacity.beginResume
(String resourceGroupName, String dedicatedCapacityName) Resumes operation of the specified Dedicated capacity instance.beginResume
(String resourceGroupName, String dedicatedCapacityName, com.azure.core.util.Context context) Resumes operation of the specified Dedicated capacity instance.beginSuspend
(String resourceGroupName, String dedicatedCapacityName) Suspends operation of the specified dedicated capacity instance.beginSuspend
(String resourceGroupName, String dedicatedCapacityName, com.azure.core.util.Context context) Suspends operation of the specified dedicated capacity instance.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DedicatedCapacityInner>,
DedicatedCapacityInner> beginUpdate
(String resourceGroupName, String dedicatedCapacityName, DedicatedCapacityUpdateParameters capacityUpdateParameters) Updates the current state of the specified Dedicated capacity.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DedicatedCapacityInner>,
DedicatedCapacityInner> beginUpdate
(String resourceGroupName, String dedicatedCapacityName, DedicatedCapacityUpdateParameters capacityUpdateParameters, com.azure.core.util.Context context) Updates the current state of the specified Dedicated capacity.checkNameAvailability
(String location, CheckCapacityNameAvailabilityParameters capacityParameters) Check the name availability in the target location.com.azure.core.http.rest.Response<CheckCapacityNameAvailabilityResultInner>
checkNameAvailabilityWithResponse
(String location, CheckCapacityNameAvailabilityParameters capacityParameters, com.azure.core.util.Context context) Check the name availability in the target location.create
(String resourceGroupName, String dedicatedCapacityName, DedicatedCapacityInner capacityParameters) Provisions the specified Dedicated capacity based on the configuration specified in the request.create
(String resourceGroupName, String dedicatedCapacityName, DedicatedCapacityInner capacityParameters, com.azure.core.util.Context context) Provisions the specified Dedicated capacity based on the configuration specified in the request.void
Deletes the specified Dedicated capacity.void
Deletes the specified Dedicated capacity.getByResourceGroup
(String resourceGroupName, String dedicatedCapacityName) Gets details about the specified dedicated capacity.com.azure.core.http.rest.Response<DedicatedCapacityInner>
getByResourceGroupWithResponse
(String resourceGroupName, String dedicatedCapacityName, com.azure.core.util.Context context) Gets details about the specified dedicated capacity.com.azure.core.http.rest.PagedIterable<DedicatedCapacityInner>
list()
Lists all the Dedicated capacities for the given subscription.com.azure.core.http.rest.PagedIterable<DedicatedCapacityInner>
list
(com.azure.core.util.Context context) Lists all the Dedicated capacities for the given subscription.com.azure.core.http.rest.PagedIterable<DedicatedCapacityInner>
listByResourceGroup
(String resourceGroupName) Gets all the Dedicated capacities for the given resource group.com.azure.core.http.rest.PagedIterable<DedicatedCapacityInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Gets all the Dedicated capacities for the given resource group.listSkus()
Lists eligible SKUs for PowerBI Dedicated resource provider.listSkusForCapacity
(String resourceGroupName, String dedicatedCapacityName) Lists eligible SKUs for a PowerBI Dedicated resource.com.azure.core.http.rest.Response<SkuEnumerationForExistingResourceResultInner>
listSkusForCapacityWithResponse
(String resourceGroupName, String dedicatedCapacityName, com.azure.core.util.Context context) Lists eligible SKUs for a PowerBI Dedicated resource.com.azure.core.http.rest.Response<SkuEnumerationForNewResourceResultInner>
listSkusWithResponse
(com.azure.core.util.Context context) Lists eligible SKUs for PowerBI Dedicated resource provider.void
Resumes operation of the specified Dedicated capacity instance.void
Resumes operation of the specified Dedicated capacity instance.void
Suspends operation of the specified dedicated capacity instance.void
suspend
(String resourceGroupName, String dedicatedCapacityName, com.azure.core.util.Context context) Suspends operation of the specified dedicated capacity instance.update
(String resourceGroupName, String dedicatedCapacityName, DedicatedCapacityUpdateParameters capacityUpdateParameters) Updates the current state of the specified Dedicated capacity.update
(String resourceGroupName, String dedicatedCapacityName, DedicatedCapacityUpdateParameters capacityUpdateParameters, com.azure.core.util.Context context) Updates the current state of the specified Dedicated capacity.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<DedicatedCapacityInner> 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
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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DedicatedCapacityInner>,DedicatedCapacityInner> beginCreate(String resourceGroupName, String dedicatedCapacityName, DedicatedCapacityInner capacityParameters) Provisions the specified Dedicated capacity based on the configuration specified in the request.- 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.capacityParameters
- Contains the information used to provision the Dedicated capacity.- Returns:
- the
SyncPoller
for polling of represents an instance of a Dedicated Capacity resource. - 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DedicatedCapacityInner>,DedicatedCapacityInner> beginCreate(String resourceGroupName, String dedicatedCapacityName, DedicatedCapacityInner capacityParameters, com.azure.core.util.Context context) Provisions the specified Dedicated capacity based on the configuration specified in the request.- 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.capacityParameters
- Contains the information used to provision the Dedicated capacity.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of represents an instance of a Dedicated Capacity resource. - 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.
-
create
DedicatedCapacityInner create(String resourceGroupName, String dedicatedCapacityName, DedicatedCapacityInner capacityParameters) Provisions the specified Dedicated capacity based on the configuration specified in the request.- 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.capacityParameters
- Contains the information used to provision the Dedicated capacity.- Returns:
- represents an instance of a Dedicated Capacity resource.
- 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.
-
create
DedicatedCapacityInner create(String resourceGroupName, String dedicatedCapacityName, DedicatedCapacityInner capacityParameters, com.azure.core.util.Context context) Provisions the specified Dedicated capacity based on the configuration specified in the request.- 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.capacityParameters
- Contains the information used to provision the Dedicated capacity.context
- The context to associate with this operation.- Returns:
- represents an instance of a Dedicated Capacity resource.
- 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
delete
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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DedicatedCapacityInner>,DedicatedCapacityInner> beginUpdate(String resourceGroupName, String dedicatedCapacityName, DedicatedCapacityUpdateParameters capacityUpdateParameters) Updates the current state of 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.capacityUpdateParameters
- Request object that contains the updated information for the capacity.- Returns:
- the
SyncPoller
for polling of represents an instance of a Dedicated Capacity resource. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DedicatedCapacityInner>,DedicatedCapacityInner> beginUpdate(String resourceGroupName, String dedicatedCapacityName, DedicatedCapacityUpdateParameters capacityUpdateParameters, com.azure.core.util.Context context) Updates the current state of 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.capacityUpdateParameters
- Request object that contains the updated information for the capacity.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of represents an instance of a Dedicated Capacity resource. - 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.
-
update
DedicatedCapacityInner update(String resourceGroupName, String dedicatedCapacityName, DedicatedCapacityUpdateParameters capacityUpdateParameters) Updates the current state of 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.capacityUpdateParameters
- Request object that contains the updated information for the capacity.- Returns:
- represents an instance of a Dedicated Capacity resource.
- 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.
-
update
DedicatedCapacityInner update(String resourceGroupName, String dedicatedCapacityName, DedicatedCapacityUpdateParameters capacityUpdateParameters, com.azure.core.util.Context context) Updates the current state of 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.capacityUpdateParameters
- Request object that contains the updated information for the capacity.context
- The context to associate with this operation.- Returns:
- represents an instance of a Dedicated Capacity resource.
- 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.
-
beginSuspend
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginSuspend(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.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
beginSuspend
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginSuspend(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.- Returns:
- the
SyncPoller
for polling of long-running 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
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.
-
beginResume
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResume(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.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
beginResume
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResume(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.- Returns:
- the
SyncPoller
for polling of long-running 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
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<DedicatedCapacityInner> 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<DedicatedCapacityInner> 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<DedicatedCapacityInner> 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<DedicatedCapacityInner> 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<SkuEnumerationForNewResourceResultInner> 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
SkuEnumerationForNewResourceResultInner 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<SkuEnumerationForExistingResourceResultInner> 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
SkuEnumerationForExistingResourceResultInner 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<CheckCapacityNameAvailabilityResultInner> 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
CheckCapacityNameAvailabilityResultInner 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.
-