public interface ServersClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerInner>,ServerInner> |
beginCreate(String resourceGroupName,
String serverName,
ServerInner parameters)
Creates a new server.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerInner>,ServerInner> |
beginCreate(String resourceGroupName,
String serverName,
ServerInner parameters,
com.azure.core.util.Context context)
Creates a new 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.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRestart(String resourceGroupName,
String serverName,
RestartParameter parameters)
Restarts a server.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRestart(String resourceGroupName,
String serverName,
RestartParameter parameters,
com.azure.core.util.Context context)
Restarts a server.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginStart(String resourceGroupName,
String serverName)
Starts a server.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginStart(String resourceGroupName,
String serverName,
com.azure.core.util.Context context)
Starts a server.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginStop(String resourceGroupName,
String serverName)
Stops a server.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginStop(String resourceGroupName,
String serverName,
com.azure.core.util.Context context)
Stops a server.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerInner>,ServerInner> |
beginUpdate(String resourceGroupName,
String serverName,
ServerForUpdate parameters)
Updates an existing server.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerInner>,ServerInner> |
beginUpdate(String resourceGroupName,
String serverName,
ServerForUpdate parameters,
com.azure.core.util.Context context)
Updates an existing server.
|
ServerInner |
create(String resourceGroupName,
String serverName,
ServerInner parameters)
Creates a new server.
|
ServerInner |
create(String resourceGroupName,
String serverName,
ServerInner parameters,
com.azure.core.util.Context context)
Creates a new 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.
|
ServerInner |
getByResourceGroup(String resourceGroupName,
String serverName)
Gets information about a server.
|
com.azure.core.http.rest.Response<ServerInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String serverName,
com.azure.core.util.Context context)
Gets information about a server.
|
com.azure.core.http.rest.PagedIterable<ServerInner> |
list()
List all the servers in a given subscription.
|
com.azure.core.http.rest.PagedIterable<ServerInner> |
list(com.azure.core.util.Context context)
List all the servers in a given subscription.
|
com.azure.core.http.rest.PagedIterable<ServerInner> |
listByResourceGroup(String resourceGroupName)
List all the servers in a given resource group.
|
com.azure.core.http.rest.PagedIterable<ServerInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
List all the servers in a given resource group.
|
void |
restart(String resourceGroupName,
String serverName)
Restarts a server.
|
void |
restart(String resourceGroupName,
String serverName,
RestartParameter parameters)
Restarts a server.
|
void |
restart(String resourceGroupName,
String serverName,
RestartParameter parameters,
com.azure.core.util.Context context)
Restarts a server.
|
void |
start(String resourceGroupName,
String serverName)
Starts a server.
|
void |
start(String resourceGroupName,
String serverName,
com.azure.core.util.Context context)
Starts a server.
|
void |
stop(String resourceGroupName,
String serverName)
Stops a server.
|
void |
stop(String resourceGroupName,
String serverName,
com.azure.core.util.Context context)
Stops a server.
|
ServerInner |
update(String resourceGroupName,
String serverName,
ServerForUpdate parameters)
Updates an existing server.
|
ServerInner |
update(String resourceGroupName,
String serverName,
ServerForUpdate parameters,
com.azure.core.util.Context context)
Updates an existing server.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerInner>,ServerInner> beginCreate(String resourceGroupName, String serverName, ServerInner parameters)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.parameters - The required parameters for creating or updating a 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> beginCreate(String resourceGroupName, String serverName, ServerInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.parameters - The required parameters for creating or updating a 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.ServerInner create(String resourceGroupName, String serverName, ServerInner parameters)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.parameters - The required parameters for creating or updating a 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 create(String resourceGroupName, String serverName, ServerInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.parameters - The required parameters for creating or updating a 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerInner>,ServerInner> beginUpdate(String resourceGroupName, String serverName, ServerForUpdate parameters)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.parameters - The required parameters for updating a 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, ServerForUpdate parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.parameters - The required parameters for updating a 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.ServerInner update(String resourceGroupName, String serverName, ServerForUpdate parameters)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.parameters - The required parameters for updating a 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, ServerForUpdate parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.parameters - The required parameters for updating a 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName)
resourceGroupName - The name of the resource group. The name is case insensitive.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. The name is case insensitive.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.void delete(String resourceGroupName, String serverName)
resourceGroupName - The name of the resource group. The name is case insensitive.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. The name is case insensitive.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.ServerInner getByResourceGroup(String resourceGroupName, String serverName)
resourceGroupName - The name of the resource group. The name is case insensitive.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. The name is case insensitive.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.com.azure.core.http.rest.PagedIterable<ServerInner> listByResourceGroup(String resourceGroupName)
resourceGroupName - The name of the resource group. The name is case insensitive.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. The name is case insensitive.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.PagedIterable<ServerInner> list()
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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRestart(String resourceGroupName, String serverName, RestartParameter parameters)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.parameters - The parameters for restarting a 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> beginRestart(String resourceGroupName, String serverName, RestartParameter parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.parameters - The parameters for restarting a 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.void restart(String resourceGroupName, String serverName, RestartParameter parameters)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.parameters - The parameters for restarting a 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 restart(String resourceGroupName, String serverName)
resourceGroupName - The name of the resource group. The name is case insensitive.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 restart(String resourceGroupName, String serverName, RestartParameter parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.serverName - The name of the server.parameters - The parameters for restarting a 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.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String serverName)
resourceGroupName - The name of the resource group. The name is case insensitive.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> beginStart(String resourceGroupName, String serverName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.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.void start(String resourceGroupName, String serverName)
resourceGroupName - The name of the resource group. The name is case insensitive.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 start(String resourceGroupName, String serverName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStop(String resourceGroupName, String serverName)
resourceGroupName - The name of the resource group. The name is case insensitive.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> beginStop(String resourceGroupName, String serverName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.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.void stop(String resourceGroupName, String serverName)
resourceGroupName - The name of the resource group. The name is case insensitive.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 stop(String resourceGroupName, String serverName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group. The name is case insensitive.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.Copyright © 2021 Microsoft Corporation. All rights reserved.