Skip to main content

process_slots

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

Overview

Nameprocess_slots
TypeResource
Idazure.app_service.process_slots

Fields

The following fields are returned by SELECT queries:

Process information returned.

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
kindstringKind of resource.
propertiesobjectProcessInfo resource specific properties
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, name, processId, slot, subscriptionIdDescription for Get process information by its ID for a specific scaled-out instance in a web site.
listselectresourceGroupName, name, slot, subscriptionIdDescription for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.
deletedeleteresourceGroupName, name, processId, slot, subscriptionIdDescription for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.

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
namestringSite name.
processIdstringPID.
resourceGroupNamestringName of the resource group to which the resource belongs.
slotstringName of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.
subscriptionIdstringYour Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

SELECT examples

Description for Get process information by its ID for a specific scaled-out instance in a web site.

SELECT
id,
name,
kind,
properties,
type
FROM azure.app_service.process_slots
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND name = '{{ name }}' -- required
AND processId = '{{ processId }}' -- required
AND slot = '{{ slot }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;

DELETE examples

Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.

DELETE FROM azure.app_service.process_slots
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND name = '{{ name }}' --required
AND processId = '{{ processId }}' --required
AND slot = '{{ slot }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
;