deleted_services
Creates, updates, deletes, gets or lists a deleted_services
resource.
Overview
Name | deleted_services |
Type | Resource |
Id | azure.api_management.deleted_services |
Fields
- vw_deleted_services
- deleted_services
Name | Datatype | Description |
---|---|---|
deletion_date | text | field from the properties object |
location | text | API Management Service Master Location. |
scheduled_purge_date | text | field from the properties object |
serviceName | text | field from the properties object |
service_id | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | API Management Service Master Location. |
properties | object |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_by_name | SELECT | location, serviceName, subscriptionId | Get soft-deleted Api Management Service by name. |
list_by_subscription | SELECT | subscriptionId | Lists all soft-deleted services available for undelete for the given subscription. |
purge | EXEC | location, serviceName, subscriptionId | Purges Api Management Service (deletes it with no option to undelete). |
SELECT
examples
Lists all soft-deleted services available for undelete for the given subscription.
- vw_deleted_services
- deleted_services
SELECT
deletion_date,
location,
scheduled_purge_date,
serviceName,
service_id,
subscriptionId
FROM azure.api_management.vw_deleted_services
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties
FROM azure.api_management.deleted_services
WHERE subscriptionId = '{{ subscriptionId }}';