ServersClient Interface
public interface ServersClient
An instance of this class provides access to all the operations defined in ServersClient.
Method Summary
Method Details
beginCreate
public abstract SyncPoller<>
Creates a new server, or will overwrite an existing server.
Parameters:
Returns:
beginCreate
public abstract SyncPoller<>
Creates a new server, or will overwrite an existing server.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<>
Deletes a server.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<>
Deletes a server.
Parameters:
Returns:
beginRestart
public abstract SyncPoller<>
Restarts a server.
Parameters:
Returns:
beginRestart
public abstract SyncPoller<>
Restarts a server.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller<>
Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller<>
Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.
Parameters:
Returns:
create
public abstract ServerInner create(String resourceGroupName, String serverName, ServerForCreate parameters)
Creates a new server, or will overwrite an existing server.
Parameters:
Returns:
create
public abstract ServerInner create(String resourceGroupName, String serverName, ServerForCreate parameters, Context context)
Creates a new server, or will overwrite an existing server.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String serverName)
Deletes a server.
Parameters:
delete
public abstract void delete(String resourceGroupName, String serverName, Context context)
Deletes a server.
Parameters:
getByResourceGroup
public abstract ServerInner getByResourceGroup(String resourceGroupName, String serverName)
Gets information about a server.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response
Gets information about a server.
Parameters:
Returns:
list
public abstract PagedIterable
List all the servers in a given subscription.
Returns:
list
public abstract PagedIterable
List all the servers in a given subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable
List all the servers in a given resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable
List all the servers in a given resource group.
Parameters:
Returns:
restart
public abstract void restart(String resourceGroupName, String serverName)
Restarts a server.
Parameters:
restart
public abstract void restart(String resourceGroupName, String serverName, Context context)
Restarts a server.
Parameters:
update
public abstract ServerInner update(String resourceGroupName, String serverName, ServerUpdateParameters parameters)
Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.
Parameters:
Returns:
update
public abstract ServerInner update(String resourceGroupName, String serverName, ServerUpdateParameters parameters, Context context)
Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for