deleted_services
Creates, updates, deletes, gets or lists a deleted_services
resource.
Overview
Name | deleted_services |
Type | Resource |
Id | azure.api_center.deleted_services |
Fields
- vw_deleted_services
- deleted_services
Name | Datatype | Description |
---|---|---|
deletedServiceName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
scheduled_purge_date | text | field from the properties object |
soft_deletion_date | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Deleted service properties. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | deletedServiceName, resourceGroupName, subscriptionId | Returns details of the soft-deleted service. |
list | SELECT | resourceGroupName, subscriptionId | Lists soft-deleted services. |
list_by_subscription | SELECT | subscriptionId | Lists services within an Azure subscription. |
delete | DELETE | deletedServiceName, resourceGroupName, subscriptionId | Permanently deletes specified service. |
SELECT
examples
Lists services within an Azure subscription.
- vw_deleted_services
- deleted_services
SELECT
deletedServiceName,
resourceGroupName,
scheduled_purge_date,
soft_deletion_date,
subscriptionId
FROM azure.api_center.vw_deleted_services
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.api_center.deleted_services
WHERE subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified deleted_services
resource.
/*+ delete */
DELETE FROM azure.api_center.deleted_services
WHERE deletedServiceName = '{{ deletedServiceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';