Interface AutoScaleVCoresClient
public interface AutoScaleVCoresClient
An instance of this class provides access to all the operations defined in AutoScaleVCoresClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String resourceGroupName, String vcoreName, AutoScaleVCoreInner vCoreParameters) Provisions the specified auto scale v-core based on the configuration specified in the request.com.azure.core.http.rest.Response<AutoScaleVCoreInner>
createWithResponse
(String resourceGroupName, String vcoreName, AutoScaleVCoreInner vCoreParameters, com.azure.core.util.Context context) Provisions the specified auto scale v-core based on the configuration specified in the request.void
Deletes the specified auto scale v-core.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String vcoreName, com.azure.core.util.Context context) Deletes the specified auto scale v-core.getByResourceGroup
(String resourceGroupName, String vcoreName) Gets details about the specified auto scale v-core.com.azure.core.http.rest.Response<AutoScaleVCoreInner>
getByResourceGroupWithResponse
(String resourceGroupName, String vcoreName, com.azure.core.util.Context context) Gets details about the specified auto scale v-core.com.azure.core.http.rest.PagedIterable<AutoScaleVCoreInner>
list()
Lists all the auto scale v-cores for the given subscription.com.azure.core.http.rest.PagedIterable<AutoScaleVCoreInner>
list
(com.azure.core.util.Context context) Lists all the auto scale v-cores for the given subscription.com.azure.core.http.rest.PagedIterable<AutoScaleVCoreInner>
listByResourceGroup
(String resourceGroupName) Gets all the auto scale v-cores for the given resource group.com.azure.core.http.rest.PagedIterable<AutoScaleVCoreInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Gets all the auto scale v-cores for the given resource group.update
(String resourceGroupName, String vcoreName, AutoScaleVCoreUpdateParameters vCoreUpdateParameters) Updates the current state of the specified auto scale v-core.com.azure.core.http.rest.Response<AutoScaleVCoreInner>
updateWithResponse
(String resourceGroupName, String vcoreName, AutoScaleVCoreUpdateParameters vCoreUpdateParameters, com.azure.core.util.Context context) Updates the current state of the specified auto scale v-core.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<AutoScaleVCoreInner> getByResourceGroupWithResponse(String resourceGroupName, String vcoreName, com.azure.core.util.Context context) Gets details about the specified auto scale v-core.- 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.vcoreName
- The name of the auto scale v-core. 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 auto scale v-core 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 auto scale v-core.- 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.vcoreName
- The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.- Returns:
- details about the specified auto scale v-core.
- 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.
-
createWithResponse
com.azure.core.http.rest.Response<AutoScaleVCoreInner> createWithResponse(String resourceGroupName, String vcoreName, AutoScaleVCoreInner vCoreParameters, com.azure.core.util.Context context) Provisions the specified auto scale v-core 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.vcoreName
- The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.vCoreParameters
- Contains the information used to provision the auto scale v-core.context
- The context to associate with this operation.- Returns:
- represents an instance of an auto scale v-core resource 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.
-
create
AutoScaleVCoreInner create(String resourceGroupName, String vcoreName, AutoScaleVCoreInner vCoreParameters) Provisions the specified auto scale v-core 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.vcoreName
- The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.vCoreParameters
- Contains the information used to provision the auto scale v-core.- Returns:
- represents an instance of an auto scale v-core 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String vcoreName, com.azure.core.util.Context context) Deletes the specified auto scale v-core.- 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.vcoreName
- The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.context
- The context to associate with this operation.- Returns:
- the
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.
-
delete
Deletes the specified auto scale v-core.- 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.vcoreName
- The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 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.
-
updateWithResponse
com.azure.core.http.rest.Response<AutoScaleVCoreInner> updateWithResponse(String resourceGroupName, String vcoreName, AutoScaleVCoreUpdateParameters vCoreUpdateParameters, com.azure.core.util.Context context) Updates the current state of the specified auto scale v-core.- 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.vcoreName
- The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.vCoreUpdateParameters
- Request object that contains the updated information for the auto scale v-core.context
- The context to associate with this operation.- Returns:
- represents an instance of an auto scale v-core resource 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.
-
update
AutoScaleVCoreInner update(String resourceGroupName, String vcoreName, AutoScaleVCoreUpdateParameters vCoreUpdateParameters) Updates the current state of the specified auto scale v-core.- 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.vcoreName
- The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63.vCoreUpdateParameters
- Request object that contains the updated information for the auto scale v-core.- Returns:
- represents an instance of an auto scale v-core 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<AutoScaleVCoreInner> listByResourceGroup(String resourceGroupName) Gets all the auto scale v-cores 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 auto scale v-cores 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<AutoScaleVCoreInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets all the auto scale v-cores 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 auto scale v-cores 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<AutoScaleVCoreInner> list()Lists all the auto scale v-cores for the given subscription.- Returns:
- an array of auto scale v-core 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<AutoScaleVCoreInner> list(com.azure.core.util.Context context) Lists all the auto scale v-cores for the given subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- an array of auto scale v-core 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.
-