public interface InstancePoolsClient extends InnerSupportsGet<InstancePoolInner>, InnerSupportsListing<InstancePoolInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InstancePoolInner>,InstancePoolInner> |
beginCreateOrUpdate(String resourceGroupName,
String instancePoolName,
InstancePoolInner parameters)
Creates or updates an instance pool.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InstancePoolInner>,InstancePoolInner> |
beginCreateOrUpdate(String resourceGroupName,
String instancePoolName,
InstancePoolInner parameters,
com.azure.core.util.Context context)
Creates or updates an instance pool.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<InstancePoolInner>,InstancePoolInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String instancePoolName,
InstancePoolInner parameters)
Creates or updates an instance pool.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String instancePoolName)
Deletes an instance pool.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String instancePoolName,
com.azure.core.util.Context context)
Deletes an instance pool.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String instancePoolName)
Deletes an instance pool.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InstancePoolInner>,InstancePoolInner> |
beginUpdate(String resourceGroupName,
String instancePoolName,
Map<String,String> tags)
Updates an instance pool.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InstancePoolInner>,InstancePoolInner> |
beginUpdate(String resourceGroupName,
String instancePoolName,
Map<String,String> tags,
com.azure.core.util.Context context)
Updates an instance pool.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<InstancePoolInner>,InstancePoolInner> |
beginUpdateAsync(String resourceGroupName,
String instancePoolName,
Map<String,String> tags)
Updates an instance pool.
|
InstancePoolInner |
createOrUpdate(String resourceGroupName,
String instancePoolName,
InstancePoolInner parameters)
Creates or updates an instance pool.
|
InstancePoolInner |
createOrUpdate(String resourceGroupName,
String instancePoolName,
InstancePoolInner parameters,
com.azure.core.util.Context context)
Creates or updates an instance pool.
|
Mono<InstancePoolInner> |
createOrUpdateAsync(String resourceGroupName,
String instancePoolName,
InstancePoolInner parameters)
Creates or updates an instance pool.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String instancePoolName,
InstancePoolInner parameters)
Creates or updates an instance pool.
|
void |
delete(String resourceGroupName,
String instancePoolName)
Deletes an instance pool.
|
void |
delete(String resourceGroupName,
String instancePoolName,
com.azure.core.util.Context context)
Deletes an instance pool.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String instancePoolName)
Deletes an instance pool.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String instancePoolName)
Deletes an instance pool.
|
InstancePoolInner |
getByResourceGroup(String resourceGroupName,
String instancePoolName)
Gets an instance pool.
|
Mono<InstancePoolInner> |
getByResourceGroupAsync(String resourceGroupName,
String instancePoolName)
Gets an instance pool.
|
com.azure.core.http.rest.Response<InstancePoolInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String instancePoolName,
com.azure.core.util.Context context)
Gets an instance pool.
|
Mono<com.azure.core.http.rest.Response<InstancePoolInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String instancePoolName)
Gets an instance pool.
|
com.azure.core.http.rest.PagedIterable<InstancePoolInner> |
list()
Gets a list of all instance pools in the subscription.
|
com.azure.core.http.rest.PagedIterable<InstancePoolInner> |
list(com.azure.core.util.Context context)
Gets a list of all instance pools in the subscription.
|
com.azure.core.http.rest.PagedFlux<InstancePoolInner> |
listAsync()
Gets a list of all instance pools in the subscription.
|
com.azure.core.http.rest.PagedIterable<InstancePoolInner> |
listByResourceGroup(String resourceGroupName)
Gets a list of instance pools in the resource group.
|
com.azure.core.http.rest.PagedIterable<InstancePoolInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Gets a list of instance pools in the resource group.
|
com.azure.core.http.rest.PagedFlux<InstancePoolInner> |
listByResourceGroupAsync(String resourceGroupName)
Gets a list of instance pools in the resource group.
|
InstancePoolInner |
update(String resourceGroupName,
String instancePoolName)
Updates an instance pool.
|
InstancePoolInner |
update(String resourceGroupName,
String instancePoolName,
Map<String,String> tags)
Updates an instance pool.
|
InstancePoolInner |
update(String resourceGroupName,
String instancePoolName,
Map<String,String> tags,
com.azure.core.util.Context context)
Updates an instance pool.
|
Mono<InstancePoolInner> |
updateAsync(String resourceGroupName,
String instancePoolName)
Updates an instance pool.
|
Mono<InstancePoolInner> |
updateAsync(String resourceGroupName,
String instancePoolName,
Map<String,String> tags)
Updates an instance pool.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
updateWithResponseAsync(String resourceGroupName,
String instancePoolName,
Map<String,String> tags)
Updates an instance pool.
|
Mono<com.azure.core.http.rest.Response<InstancePoolInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String instancePoolName)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be retrieved.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.Mono<InstancePoolInner> getByResourceGroupAsync(String resourceGroupName, String instancePoolName)
getByResourceGroupAsync in interface InnerSupportsGet<InstancePoolInner>resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be retrieved.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.InstancePoolInner getByResourceGroup(String resourceGroupName, String instancePoolName)
getByResourceGroup in interface InnerSupportsGet<InstancePoolInner>resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be retrieved.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.com.azure.core.http.rest.Response<InstancePoolInner> getByResourceGroupWithResponse(String resourceGroupName, String instancePoolName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be retrieved.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String instancePoolName, InstancePoolInner parameters)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be created or updated.parameters - An Azure SQL instance pool.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<InstancePoolInner>,InstancePoolInner> beginCreateOrUpdateAsync(String resourceGroupName, String instancePoolName, InstancePoolInner parameters)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be created or updated.parameters - An Azure SQL instance pool.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InstancePoolInner>,InstancePoolInner> beginCreateOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be created or updated.parameters - An Azure SQL instance pool.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InstancePoolInner>,InstancePoolInner> beginCreateOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be created or updated.parameters - An Azure SQL instance pool.context - The context to associate with this operation.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.Mono<InstancePoolInner> createOrUpdateAsync(String resourceGroupName, String instancePoolName, InstancePoolInner parameters)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be created or updated.parameters - An Azure SQL instance pool.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.InstancePoolInner createOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be created or updated.parameters - An Azure SQL instance pool.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.InstancePoolInner createOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be created or updated.parameters - An Azure SQL instance pool.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String instancePoolName)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be deleted.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String instancePoolName)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be deleted.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String instancePoolName)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be deleted.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String instancePoolName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be deleted.context - The context to associate with this operation.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.Mono<Void> deleteAsync(String resourceGroupName, String instancePoolName)
deleteAsync in interface InnerSupportsDelete<Void>resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be deleted.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.void delete(String resourceGroupName, String instancePoolName)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be deleted.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.void delete(String resourceGroupName, String instancePoolName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be deleted.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String instancePoolName, Map<String,String> tags)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be updated.tags - Resource tags.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<InstancePoolInner>,InstancePoolInner> beginUpdateAsync(String resourceGroupName, String instancePoolName, Map<String,String> tags)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be updated.tags - Resource tags.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InstancePoolInner>,InstancePoolInner> beginUpdate(String resourceGroupName, String instancePoolName, Map<String,String> tags)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be updated.tags - Resource tags.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InstancePoolInner>,InstancePoolInner> beginUpdate(String resourceGroupName, String instancePoolName, Map<String,String> tags, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be updated.tags - Resource tags.context - The context to associate with this operation.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.Mono<InstancePoolInner> updateAsync(String resourceGroupName, String instancePoolName, Map<String,String> tags)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be updated.tags - Resource tags.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.Mono<InstancePoolInner> updateAsync(String resourceGroupName, String instancePoolName)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be updated.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.InstancePoolInner update(String resourceGroupName, String instancePoolName, Map<String,String> tags)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be updated.tags - Resource tags.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.InstancePoolInner update(String resourceGroupName, String instancePoolName, Map<String,String> tags, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be updated.tags - Resource tags.context - The context to associate with this operation.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.InstancePoolInner update(String resourceGroupName, String instancePoolName)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.instancePoolName - The name of the instance pool to be updated.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.com.azure.core.http.rest.PagedFlux<InstancePoolInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync in interface InnerSupportsListing<InstancePoolInner>resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.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.com.azure.core.http.rest.PagedIterable<InstancePoolInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup in interface InnerSupportsListing<InstancePoolInner>resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.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.com.azure.core.http.rest.PagedIterable<InstancePoolInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group that contains the resource. You can obtain this value
from the Azure Resource Manager API or the portal.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<InstancePoolInner> listAsync()
listAsync in interface InnerSupportsListing<InstancePoolInner>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.com.azure.core.http.rest.PagedIterable<InstancePoolInner> list()
list in interface InnerSupportsListing<InstancePoolInner>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.com.azure.core.http.rest.PagedIterable<InstancePoolInner> list(com.azure.core.util.Context context)
context - The context to associate with this operation.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.Copyright © 2020 Microsoft Corporation. All rights reserved.