DeletedServers interface
Interface representing a DeletedServers.
Methods
begin |
Recovers a deleted server. |
begin |
Recovers a deleted server. |
get(string, string, Deleted |
Gets a deleted server. |
list(Deleted |
Gets a list of all deleted servers in a subscription. |
list |
Gets a list of deleted servers for a location. |
Method Details
beginRecover(string, string, DeletedServersRecoverOptionalParams)
Recovers a deleted server.
function beginRecover(locationName: string, deletedServerName: string, options?: DeletedServersRecoverOptionalParams): Promise<SimplePollerLike<OperationState<DeletedServer>, DeletedServer>>
Parameters
- locationName
-
string
The name of the region where the resource is located.
- deletedServerName
-
string
The name of the deleted server.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DeletedServer>, DeletedServer>>
beginRecoverAndWait(string, string, DeletedServersRecoverOptionalParams)
Recovers a deleted server.
function beginRecoverAndWait(locationName: string, deletedServerName: string, options?: DeletedServersRecoverOptionalParams): Promise<DeletedServer>
Parameters
- locationName
-
string
The name of the region where the resource is located.
- deletedServerName
-
string
The name of the deleted server.
The options parameters.
Returns
Promise<DeletedServer>
get(string, string, DeletedServersGetOptionalParams)
Gets a deleted server.
function get(locationName: string, deletedServerName: string, options?: DeletedServersGetOptionalParams): Promise<DeletedServer>
Parameters
- locationName
-
string
The name of the region where the resource is located.
- deletedServerName
-
string
The name of the deleted server.
- options
- DeletedServersGetOptionalParams
The options parameters.
Returns
Promise<DeletedServer>
list(DeletedServersListOptionalParams)
Gets a list of all deleted servers in a subscription.
function list(options?: DeletedServersListOptionalParams): PagedAsyncIterableIterator<DeletedServer, DeletedServer[], PageSettings>
Parameters
- options
- DeletedServersListOptionalParams
The options parameters.
Returns
listByLocation(string, DeletedServersListByLocationOptionalParams)
Gets a list of deleted servers for a location.
function listByLocation(locationName: string, options?: DeletedServersListByLocationOptionalParams): PagedAsyncIterableIterator<DeletedServer, DeletedServer[], PageSettings>
Parameters
- locationName
-
string
The name of the region where the resource is located.
The options parameters.