deleted_web_apps
Creates, updates, deletes, gets or lists a deleted_web_apps resource.
Overview
| Name | deleted_web_apps |
| Type | Resource |
| Id | azure.web.deleted_web_apps |
Fields
The following fields are returned by SELECT queries:
- get_deleted_web_app_by_location
- list_by_location
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
deletedSiteId | integer | Numeric id for the deleted site. |
deletedSiteName | string | Name of the deleted site. |
deletedTimestamp | string | Time in UTC when the app was deleted. |
geoRegionName | string | Geo Region of the deleted site. |
kind | string | Kind of resource. |
resourceGroup | string | ResourceGroup that contained the deleted site. |
slot | string | Slot of the deleted site. |
subscription | string | Subscription containing the deleted site. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
deletedSiteId | integer | Numeric id for the deleted site. |
deletedSiteName | string | Name of the deleted site. |
deletedTimestamp | string | Time in UTC when the app was deleted. |
geoRegionName | string | Geo Region of the deleted site. |
kind | string | Kind of resource. |
resourceGroup | string | ResourceGroup that contained the deleted site. |
slot | string | Slot of the deleted site. |
subscription | string | Subscription containing the deleted site. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
deletedSiteId | integer | Numeric id for the deleted site. |
deletedSiteName | string | Name of the deleted site. |
deletedTimestamp | string | Time in UTC when the app was deleted. |
geoRegionName | string | Geo Region of the deleted site. |
kind | string | Kind of resource. |
resourceGroup | string | ResourceGroup that contained the deleted site. |
slot | string | Slot of the deleted site. |
subscription | string | Subscription containing the deleted site. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_deleted_web_app_by_location | select | location, deleted_site_id, subscription_id | Get deleted app for a subscription at location. Description for Get deleted app for a subscription at location. | |
list_by_location | select | location, subscription_id | Get all deleted apps for a subscription at location. Description for Get all deleted apps for a subscription at location. | |
list | select | subscription_id | Get all deleted apps for a subscription. Description for Get all deleted apps for a subscription. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
deleted_site_id | string | The numeric ID of the deleted app, e.g. 12345. Required. |
location | string | The location name. Required. |
subscription_id | string |
SELECT examples
- get_deleted_web_app_by_location
- list_by_location
- list
Get deleted app for a subscription at location. Description for Get deleted app for a subscription at location.
SELECT
id,
name,
deletedSiteId,
deletedSiteName,
deletedTimestamp,
geoRegionName,
kind,
resourceGroup,
slot,
subscription,
systemData,
type
FROM azure.web.deleted_web_apps
WHERE location = '{{ location }}' -- required
AND deleted_site_id = '{{ deleted_site_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Get all deleted apps for a subscription at location. Description for Get all deleted apps for a subscription at location.
SELECT
id,
name,
deletedSiteId,
deletedSiteName,
deletedTimestamp,
geoRegionName,
kind,
resourceGroup,
slot,
subscription,
systemData,
type
FROM azure.web.deleted_web_apps
WHERE location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Get all deleted apps for a subscription. Description for Get all deleted apps for a subscription.
SELECT
id,
name,
deletedSiteId,
deletedSiteName,
deletedTimestamp,
geoRegionName,
kind,
resourceGroup,
slot,
subscription,
systemData,
type
FROM azure.web.deleted_web_apps
WHERE subscription_id = '{{ subscription_id }}' -- required
;