public interface ServersClient extends InnerSupportsGet<ServerInner>, InnerSupportsListing<ServerInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerInner>,ServerInner> |
beginCreateOrUpdate(String resourceGroupName,
String serverName,
ServerInner parameters)
Creates or updates a server.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerInner>,ServerInner> |
beginCreateOrUpdate(String resourceGroupName,
String serverName,
ServerInner parameters,
com.azure.core.util.Context context)
Creates or updates a server.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServerInner>,ServerInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String serverName,
ServerInner parameters)
Creates or updates a server.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String serverName)
Deletes a server.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String serverName,
com.azure.core.util.Context context)
Deletes a server.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String serverName)
Deletes a server.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerInner>,ServerInner> |
beginUpdate(String resourceGroupName,
String serverName,
ServerUpdate parameters)
Updates a server.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerInner>,ServerInner> |
beginUpdate(String resourceGroupName,
String serverName,
ServerUpdate parameters,
com.azure.core.util.Context context)
Updates a server.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ServerInner>,ServerInner> |
beginUpdateAsync(String resourceGroupName,
String serverName,
ServerUpdate parameters)
Updates a server.
|
CheckNameAvailabilityResponseInner |
checkNameAvailability(String name)
Determines whether a resource can be created with the specified name.
|
Mono<CheckNameAvailabilityResponseInner> |
checkNameAvailabilityAsync(String name)
Determines whether a resource can be created with the specified name.
|
com.azure.core.http.rest.Response<CheckNameAvailabilityResponseInner> |
checkNameAvailabilityWithResponse(String name,
com.azure.core.util.Context context)
Determines whether a resource can be created with the specified name.
|
Mono<com.azure.core.http.rest.Response<CheckNameAvailabilityResponseInner>> |
checkNameAvailabilityWithResponseAsync(String name)
Determines whether a resource can be created with the specified name.
|
ServerInner |
createOrUpdate(String resourceGroupName,
String serverName,
ServerInner parameters)
Creates or updates a server.
|
ServerInner |
createOrUpdate(String resourceGroupName,
String serverName,
ServerInner parameters,
com.azure.core.util.Context context)
Creates or updates a server.
|
Mono<ServerInner> |
createOrUpdateAsync(String resourceGroupName,
String serverName,
ServerInner parameters)
Creates or updates a server.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String serverName,
ServerInner parameters)
Creates or updates a server.
|
void |
delete(String resourceGroupName,
String serverName)
Deletes a server.
|
void |
delete(String resourceGroupName,
String serverName,
com.azure.core.util.Context context)
Deletes a server.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String serverName)
Deletes a server.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String serverName)
Deletes a server.
|
ServerInner |
getByResourceGroup(String resourceGroupName,
String serverName)
Gets a server.
|
Mono<ServerInner> |
getByResourceGroupAsync(String resourceGroupName,
String serverName)
Gets a server.
|
com.azure.core.http.rest.Response<ServerInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String serverName,
com.azure.core.util.Context context)
Gets a server.
|
Mono<com.azure.core.http.rest.Response<ServerInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String serverName)
Gets a server.
|
com.azure.core.http.rest.PagedIterable<ServerInner> |
list()
Gets a list of all servers in the subscription.
|
com.azure.core.http.rest.PagedIterable<ServerInner> |
list(com.azure.core.util.Context context)
Gets a list of all servers in the subscription.
|
com.azure.core.http.rest.PagedFlux<ServerInner> |
listAsync()
Gets a list of all servers in the subscription.
|
com.azure.core.http.rest.PagedIterable<ServerInner> |
listByResourceGroup(String resourceGroupName)
Gets a list of servers in a resource groups.
|
com.azure.core.http.rest.PagedIterable<ServerInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Gets a list of servers in a resource groups.
|
com.azure.core.http.rest.PagedFlux<ServerInner> |
listByResourceGroupAsync(String resourceGroupName)
Gets a list of servers in a resource groups.
|
ServerInner |
update(String resourceGroupName,
String serverName,
ServerUpdate parameters)
Updates a server.
|
ServerInner |
update(String resourceGroupName,
String serverName,
ServerUpdate parameters,
com.azure.core.util.Context context)
Updates a server.
|
Mono<ServerInner> |
updateAsync(String resourceGroupName,
String serverName,
ServerUpdate parameters)
Updates a server.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
updateWithResponseAsync(String resourceGroupName,
String serverName,
ServerUpdate parameters)
Updates a server.
|
com.azure.core.http.rest.PagedFlux<ServerInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync in interface InnerSupportsListing<ServerInner>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<ServerInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup in interface InnerSupportsListing<ServerInner>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<ServerInner> 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.Mono<com.azure.core.http.rest.Response<ServerInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String serverName)
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.serverName - The name of the server.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<ServerInner> getByResourceGroupAsync(String resourceGroupName, String serverName)
getByResourceGroupAsync in interface InnerSupportsGet<ServerInner>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.serverName - The name of the server.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.ServerInner getByResourceGroup(String resourceGroupName, String serverName)
getByResourceGroup in interface InnerSupportsGet<ServerInner>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.serverName - The name of the server.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<ServerInner> getByResourceGroupWithResponse(String resourceGroupName, String serverName, 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.serverName - The name of the server.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 serverName, ServerInner 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.serverName - The name of the server.parameters - An Azure SQL Database server.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<ServerInner>,ServerInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, ServerInner 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.serverName - The name of the server.parameters - An Azure SQL Database server.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<ServerInner>,ServerInner> beginCreateOrUpdate(String resourceGroupName, String serverName, ServerInner 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.serverName - The name of the server.parameters - An Azure SQL Database server.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<ServerInner>,ServerInner> beginCreateOrUpdate(String resourceGroupName, String serverName, ServerInner 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.serverName - The name of the server.parameters - An Azure SQL Database server.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<ServerInner> createOrUpdateAsync(String resourceGroupName, String serverName, ServerInner 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.serverName - The name of the server.parameters - An Azure SQL Database server.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.ServerInner createOrUpdate(String resourceGroupName, String serverName, ServerInner 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.serverName - The name of the server.parameters - An Azure SQL Database server.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.ServerInner createOrUpdate(String resourceGroupName, String serverName, ServerInner 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.serverName - The name of the server.parameters - An Azure SQL Database server.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 serverName)
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.serverName - The name of the server.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 serverName)
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.serverName - The name of the server.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 serverName)
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.serverName - The name of the server.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 serverName, 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.serverName - The name of the server.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 serverName)
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.serverName - The name of the server.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 serverName)
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.serverName - The name of the server.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 serverName, 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.serverName - The name of the server.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 serverName, ServerUpdate 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.serverName - The name of the server.parameters - An update request for an Azure SQL Database server.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<ServerInner>,ServerInner> beginUpdateAsync(String resourceGroupName, String serverName, ServerUpdate 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.serverName - The name of the server.parameters - An update request for an Azure SQL Database server.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<ServerInner>,ServerInner> beginUpdate(String resourceGroupName, String serverName, ServerUpdate 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.serverName - The name of the server.parameters - An update request for an Azure SQL Database server.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<ServerInner>,ServerInner> beginUpdate(String resourceGroupName, String serverName, ServerUpdate 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.serverName - The name of the server.parameters - An update request for an Azure SQL Database server.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<ServerInner> updateAsync(String resourceGroupName, String serverName, ServerUpdate 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.serverName - The name of the server.parameters - An update request for an Azure SQL Database server.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.ServerInner update(String resourceGroupName, String serverName, ServerUpdate 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.serverName - The name of the server.parameters - An update request for an Azure SQL Database server.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.ServerInner update(String resourceGroupName, String serverName, ServerUpdate 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.serverName - The name of the server.parameters - An update request for an Azure SQL Database server.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<ServerInner> listAsync()
listAsync in interface InnerSupportsListing<ServerInner>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<ServerInner> list()
list in interface InnerSupportsListing<ServerInner>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<ServerInner> 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.Mono<com.azure.core.http.rest.Response<CheckNameAvailabilityResponseInner>> checkNameAvailabilityWithResponseAsync(String name)
name - The name parameter.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<CheckNameAvailabilityResponseInner> checkNameAvailabilityAsync(String name)
name - The name parameter.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.CheckNameAvailabilityResponseInner checkNameAvailability(String name)
name - The name parameter.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<CheckNameAvailabilityResponseInner> checkNameAvailabilityWithResponse(String name, com.azure.core.util.Context context)
name - The name parameter.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.