global
Creates, updates, deletes, gets or lists a global resource.
Overview
| Name | global |
| Type | Resource |
| Id | azure.web.global |
Fields
The following fields are returned by SELECT queries:
- get_deleted_web_app
| 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 | select | deleted_site_id, subscription_id | Get deleted app for a subscription. Description for Get deleted app for a subscription. | |
get_deleted_web_app_snapshots | exec | deleted_site_id, subscription_id | Get all deleted apps for a subscription. Description for Get all deleted apps for a subscription. | |
get_subscription_operation_with_async_response | exec | location, operation_id, subscription_id | Gets an operation in a subscription and given region. Description for Gets an operation in a subscription and given region. |
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 name of the Azure region. Required. |
operation_id | string | Operation Id. Required. |
subscription_id | string |
SELECT examples
- get_deleted_web_app
Get deleted app for a subscription. Description for Get deleted app for a subscription.
SELECT
id,
name,
deletedSiteId,
deletedSiteName,
deletedTimestamp,
geoRegionName,
kind,
resourceGroup,
slot,
subscription,
systemData,
type
FROM azure.web.global
WHERE deleted_site_id = '{{ deleted_site_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Lifecycle Methods
- get_deleted_web_app_snapshots
- get_subscription_operation_with_async_response
Get all deleted apps for a subscription. Description for Get all deleted apps for a subscription.
EXEC azure.web.global.get_deleted_web_app_snapshots
@deleted_site_id='{{ deleted_site_id }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Gets an operation in a subscription and given region. Description for Gets an operation in a subscription and given region.
EXEC azure.web.global.get_subscription_operation_with_async_response
@location='{{ location }}' --required,
@operation_id='{{ operation_id }}' --required,
@subscription_id='{{ subscription_id }}' --required
;