你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DeletedServices interface
Interface representing a DeletedServices.
Methods
begin |
Purges Api Management Service (deletes it with no option to undelete). |
begin |
Purges Api Management Service (deletes it with no option to undelete). |
get |
Get soft-deleted Api Management Service by name. |
list |
Lists all soft-deleted services available for undelete for the given subscription. |
Method Details
beginPurge(string, string, DeletedServicesPurgeOptionalParams)
Purges Api Management Service (deletes it with no option to undelete).
function beginPurge(serviceName: string, location: string, options?: DeletedServicesPurgeOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- serviceName
-
string
The name of the API Management service.
- location
-
string
The location of the deleted API Management service.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginPurgeAndWait(string, string, DeletedServicesPurgeOptionalParams)
Purges Api Management Service (deletes it with no option to undelete).
function beginPurgeAndWait(serviceName: string, location: string, options?: DeletedServicesPurgeOptionalParams): Promise<void>
Parameters
- serviceName
-
string
The name of the API Management service.
- location
-
string
The location of the deleted API Management service.
The options parameters.
Returns
Promise<void>
getByName(string, string, DeletedServicesGetByNameOptionalParams)
Get soft-deleted Api Management Service by name.
function getByName(serviceName: string, location: string, options?: DeletedServicesGetByNameOptionalParams): Promise<DeletedServiceContract>
Parameters
- serviceName
-
string
The name of the API Management service.
- location
-
string
The location of the deleted API Management service.
The options parameters.
Returns
Promise<DeletedServiceContract>
listBySubscription(DeletedServicesListBySubscriptionOptionalParams)
Lists all soft-deleted services available for undelete for the given subscription.
function listBySubscription(options?: DeletedServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<DeletedServiceContract, DeletedServiceContract[], PageSettings>
Parameters
The options parameters.