public abstract SyncPoller,ServerInner> beginCreateOrUpdate(String resourceGroupName, String serverName, ServerInner parameters)
Creates or updates a server.
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
- The requested server resource state.
Returns:
the SyncPoller<T,U> for polling of an Azure SQL Database server.
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
- The requested server resource state.
context
- The context to associate with this operation.
Returns:
the SyncPoller<T,U> for polling of an Azure SQL Database server.
beginCreateOrUpdateAsync
public abstract PollerFlux,ServerInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, ServerInner parameters)
Creates or updates a server.
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
- The requested server resource state.
Returns:
the PollerFlux<T,U> for polling of an Azure SQL Database server.
beginDelete
public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String serverName)
Deletes a server.
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.
public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String serverName, Context context)
Deletes a server.
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.
context
- The context to associate with this operation.
public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String serverName)
Deletes a server.
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.
public abstract SyncPoller,ImportExportOperationResultInner> beginImportDatabase(String resourceGroupName, String serverName, ImportNewDatabaseDefinition parameters)
Imports a bacpac into a new database.
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
- The database import request parameters.
Returns:
the SyncPoller<T,U> for polling of an ImportExport operation result resource.
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
- The database import request parameters.
context
- The context to associate with this operation.
Returns:
the SyncPoller<T,U> for polling of an ImportExport operation result resource.
beginImportDatabaseAsync
public abstract PollerFlux,ImportExportOperationResultInner> beginImportDatabaseAsync(String resourceGroupName, String serverName, ImportNewDatabaseDefinition parameters)
Imports a bacpac into a new database.
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
- The database import request parameters.
Returns:
the PollerFlux<T,U> for polling of an ImportExport operation result resource.
beginUpdate
public abstract SyncPoller,ServerInner> beginUpdate(String resourceGroupName, String serverName, ServerUpdate parameters)
Updates a server.
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
- The requested server resource state.
Returns:
the SyncPoller<T,U> for polling of an Azure SQL Database server.
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
- The requested server resource state.
context
- The context to associate with this operation.
Returns:
the SyncPoller<T,U> for polling of an Azure SQL Database server.
beginUpdateAsync
public abstract PollerFlux,ServerInner> beginUpdateAsync(String resourceGroupName, String serverName, ServerUpdate parameters)
Updates a server.
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
- The requested server resource state.
Returns:
the PollerFlux<T,U> for polling of an Azure SQL Database server.
checkNameAvailability
public abstract CheckNameAvailabilityResponseInner checkNameAvailability(CheckNameAvailabilityRequest parameters)
Determines whether a resource can be created with the specified name.
Parameters:
parameters
- The name availability request parameters.
Returns:
the result of a name availability check.
checkNameAvailabilityAsync
public abstract Mono checkNameAvailabilityAsync(CheckNameAvailabilityRequest parameters)
Determines whether a resource can be created with the specified name.
Parameters:
parameters
- The name availability request parameters.
Returns:
the result of a name availability check on successful completion of Mono.
checkNameAvailabilityWithResponse
public abstract Response checkNameAvailabilityWithResponse(CheckNameAvailabilityRequest parameters, Context context)
Determines whether a resource can be created with the specified name.
Parameters:
parameters
- The name availability request parameters.
context
- The context to associate with this operation.
Returns:
the result of a name availability check along with Response<T>.
checkNameAvailabilityWithResponseAsync
public abstract Mono> checkNameAvailabilityWithResponseAsync(CheckNameAvailabilityRequest parameters)
Determines whether a resource can be created with the specified name.
Parameters:
parameters
- The name availability request parameters.
Returns:
the result of a name availability check along with Response<T> on successful completion of
Mono.
createOrUpdate
public abstract ServerInner createOrUpdate(String resourceGroupName, String serverName, ServerInner parameters)
Creates or updates a server.
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.
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
- The requested server resource state.
context
- The context to associate with this operation.
Returns:
an Azure SQL Database server.
createOrUpdateAsync
public abstract Mono createOrUpdateAsync(String resourceGroupName, String serverName, ServerInner parameters)
Creates or updates a server.
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
- The requested server resource state.
Returns:
an Azure SQL Database server on successful completion of Mono.
createOrUpdateWithResponseAsync
public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, ServerInner parameters)
Creates or updates a server.
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
- The requested server resource state.
Returns:
an Azure SQL Database server along with Response<T> on successful completion of Mono.
delete
public abstract void delete(String resourceGroupName, String serverName)
Deletes a server.
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.
delete
public abstract void delete(String resourceGroupName, String serverName, Context context)
Deletes a server.
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.
context
- The context to associate with this operation.
deleteAsync
public abstract Mono deleteAsync(String resourceGroupName, String serverName)
Deletes a server.
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.
Returns:
A Mono that completes when a successful response is received.
deleteWithResponseAsync
public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String serverName)
Deletes a server.
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.
public abstract ServerInner getByResourceGroup(String resourceGroupName, String serverName)
Gets a server.
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.
Returns:
a server.
getByResourceGroupAsync
public abstract Mono getByResourceGroupAsync(String resourceGroupName, String serverName)
Gets a server.
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.
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.
expand
- The child resources to include in the response.
context
- The context to associate with this operation.
public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String serverName, String expand)
Gets a server.
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.
expand
- The child resources to include in the response.
Returns:
a server along with Response<T> on successful completion of Mono.
importDatabase
public abstract ImportExportOperationResultInner importDatabase(String resourceGroupName, String serverName, ImportNewDatabaseDefinition parameters)
Imports a bacpac into a new database.
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
- The database import request 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
- The database import request parameters.
context
- The context to associate with this operation.
Returns:
an ImportExport operation result resource.
importDatabaseAsync
public abstract Mono importDatabaseAsync(String resourceGroupName, String serverName, ImportNewDatabaseDefinition parameters)
Imports a bacpac into a new database.
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
- The database import request parameters.
Returns:
an ImportExport operation result resource on successful completion of Mono.
importDatabaseWithResponseAsync
public abstract Mono>> importDatabaseWithResponseAsync(String resourceGroupName, String serverName, ImportNewDatabaseDefinition parameters)
Imports a bacpac into a new database.
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
- The database import request parameters.
Returns:
an ImportExport operation result resource along with Response<T> on successful completion of
Mono.
list
public abstract PagedIterable list()
Gets a list of all servers in the subscription.
Returns:
a list of all servers in the subscription as paginated response with PagedIterable<T>.
list
public abstract PagedIterable list(String expand, Context context)
Gets a list of all servers in the subscription.
Parameters:
expand
- The child resources to include in the response.
context
- The context to associate with this operation.
Returns:
a list of all servers in the subscription as paginated response with PagedIterable<T>.
listAsync
public abstract PagedFlux listAsync()
Gets a list of all servers in the subscription.
Returns:
a list of all servers in the subscription as paginated response with PagedFlux<T>.
listAsync
public abstract PagedFlux listAsync(String expand)
Gets a list of all servers in the subscription.
Parameters:
expand
- The child resources to include in the response.
Returns:
a list of all servers in the subscription as paginated response with PagedFlux<T>.
listByResourceGroup
public abstract PagedIterable listByResourceGroup(String resourceGroupName)
Gets a list of servers in a resource groups.
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.
Returns:
a list of servers in a resource groups as paginated response with PagedIterable<T>.
listByResourceGroup
public abstract PagedIterable listByResourceGroup(String resourceGroupName, String expand, Context context)
Gets a list of servers in a resource groups.
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.
expand
- The child resources to include in the response.
context
- The context to associate with this operation.
Returns:
a list of servers in a resource groups as paginated response with PagedIterable<T>.
listByResourceGroupAsync
public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)
Gets a list of servers in a resource groups.
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.
Returns:
a list of servers in a resource groups as paginated response with PagedFlux<T>.
listByResourceGroupAsync
public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName, String expand)
Gets a list of servers in a resource groups.
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.
expand
- The child resources to include in the response.
Returns:
a list of servers in a resource groups as paginated response with PagedFlux<T>.
update
public abstract ServerInner update(String resourceGroupName, String serverName, ServerUpdate parameters)
Updates a server.
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.
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
- The requested server resource state.
context
- The context to associate with this operation.
Returns:
an Azure SQL Database server.
updateAsync
public abstract Mono updateAsync(String resourceGroupName, String serverName, ServerUpdate parameters)
Updates a server.
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
- The requested server resource state.
Returns:
an Azure SQL Database server on successful completion of Mono.
updateWithResponseAsync
public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String serverName, ServerUpdate parameters)
Updates a server.
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
- The requested server resource state.
Returns:
an Azure SQL Database server along with Response<T> on successful completion of Mono.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.