Interface AutoScaleVCores
public interface AutoScaleVCores
Resource collection API of AutoScaleVCores.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new AutoScaleVCore resource.void
deleteById
(String id) Deletes the specified auto scale v-core.com.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes the specified auto scale v-core.void
deleteByResourceGroup
(String resourceGroupName, String vcoreName) Deletes the specified auto scale v-core.com.azure.core.http.rest.Response<Void>
deleteByResourceGroupWithResponse
(String resourceGroupName, String vcoreName, com.azure.core.util.Context context) Deletes the specified auto scale v-core.Gets details about the specified auto scale v-core.com.azure.core.http.rest.Response<AutoScaleVCore>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets details about 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<AutoScaleVCore>
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<AutoScaleVCore>
list()
Lists all the auto scale v-cores for the given subscription.com.azure.core.http.rest.PagedIterable<AutoScaleVCore>
list
(com.azure.core.util.Context context) Lists all the auto scale v-cores for the given subscription.com.azure.core.http.rest.PagedIterable<AutoScaleVCore>
listByResourceGroup
(String resourceGroupName) Gets all the auto scale v-cores for the given resource group.com.azure.core.http.rest.PagedIterable<AutoScaleVCore>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Gets all the auto scale v-cores for the given resource group.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<AutoScaleVCore> 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.
-
deleteByResourceGroupWithResponse
com.azure.core.http.rest.Response<Void> deleteByResourceGroupWithResponse(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.
-
deleteByResourceGroup
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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<AutoScaleVCore> 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<AutoScaleVCore> 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<AutoScaleVCore> 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
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.
-
getById
Gets details about the specified auto scale v-core.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<AutoScaleVCore> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets details about the specified auto scale v-core.- Parameters:
id
- the resource ID.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.
-
deleteById
Deletes the specified auto scale v-core.- 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
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Deletes the specified auto scale v-core.- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new AutoScaleVCore resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new AutoScaleVCore definition.
-