Delen via


Web Apps - Get Continuous Web Job Slot

Beschrijving voor Hiermee wordt een doorlopende webtaak opgehaald op basis van de id voor een app of een implementatiesite.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}?api-version=2023-12-01

URI-parameters

Name In Vereist Type Description
name
path True

string

Sitenaam.

resourceGroupName
path True

string

Naam van de resourcegroep waartoe de resource behoort.

Regex-patroon: ^[-\w\._\(\)]+[^\.]$

slot
path True

string

Naam van de implementatiesite. Als er geen site is opgegeven, verwijdert de API een implementatie voor de productiesite.

subscriptionId
path True

string

Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 00000000-0000-0000-0000-000000000000).

webJobName
path True

string

Naam van webtaak.

api-version
query True

string

API-versie

Antwoorden

Name Type Description
200 OK

ContinuousWebJob

Continue webtaak gevonden.

404 Not Found

Continue webtaak bestaat niet.

Other Status Codes

DefaultErrorResponse

App Service foutreactie.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom

Type: oauth2
Stroom: implicit
Autorisatie-URL: https://login.microsoftonline.com/common/oauth2/authorize

Bereiken

Name Description
user_impersonation uw gebruikersaccount imiteren

Definities

Name Description
ContinuousWebJob

Continue webtaakgegevens.

ContinuousWebJobStatus

Taakstatus.

DefaultErrorResponse

App Service foutreactie.

Details
Error

Foutmodel.

WebJobType

Taaktype.

ContinuousWebJob

Continue webtaakgegevens.

Name Type Description
id

string

Resource-id.

kind

string

Soort resource.

name

string

Resourcenaam.

properties.detailed_status

string

Gedetailleerde status.

properties.error

string

Foutinformatie.

properties.extra_info_url

string

Extra info-URL.

properties.log_url

string

Logboek-URL.

properties.run_command

string

Voer de opdracht uit.

properties.settings

object

Taakinstellingen.

properties.status

ContinuousWebJobStatus

Taakstatus.

properties.url

string

Taak-URL.

properties.using_sdk

boolean

Gebruikt u SDK?

properties.web_job_type

WebJobType

Taaktype.

type

string

Resourcetype.

ContinuousWebJobStatus

Taakstatus.

Name Type Description
Initializing

string

PendingRestart

string

Running

string

Starting

string

Stopped

string

DefaultErrorResponse

App Service foutreactie.

Name Type Description
error

Error

Foutmodel.

Details

Name Type Description
code

string

Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren.

message

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

target

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

Error

Foutmodel.

Name Type Description
code

string

Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren.

details

Details[]

Gedetailleerde fouten.

innererror

string

Meer informatie over foutopsporing.

message

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

target

string

Gedetailleerde foutbeschrijving en foutopsporingsinformatie.

WebJobType

Taaktype.

Name Type Description
Continuous

string

Triggered

string