Skip to main content

deleted_web_apps

Creates, updates, deletes, gets or lists a deleted_web_apps resource.

Overview

Namedeleted_web_apps
TypeResource
Idazure.web.deleted_web_apps

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
deletedSiteIdintegerNumeric id for the deleted site.
deletedSiteNamestringName of the deleted site.
deletedTimestampstringTime in UTC when the app was deleted.
geoRegionNamestringGeo Region of the deleted site.
kindstringKind of resource.
resourceGroupstringResourceGroup that contained the deleted site.
slotstringSlot of the deleted site.
subscriptionstringSubscription containing the deleted site.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_deleted_web_app_by_locationselectlocation, deleted_site_id, subscription_idGet deleted app for a subscription at location. Description for Get deleted app for a subscription at location.
list_by_locationselectlocation, subscription_idGet all deleted apps for a subscription at location. Description for Get all deleted apps for a subscription at location.
listselectsubscription_idGet 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.

NameDatatypeDescription
deleted_site_idstringThe numeric ID of the deleted app, e.g. 12345. Required.
locationstringThe location name. Required.
subscription_idstring

SELECT examples

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
;