Delen via


Web Apps - Get Web Job

Beschrijving voor Webtaakgegevens ophalen voor een app of een implementatiesite.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs/{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\._\(\)]+[^\.]$

subscriptionId
path True

string

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

webJobName
path True

string

Naam van de webtaak.

api-version
query True

string

API-versie

Antwoorden

Name Type Description
200 OK

WebJob

OK

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
DefaultErrorResponse

App Service foutreactie.

Details
Error

Foutmodel.

WebJob

Webtaakgegevens.

WebJobType

Taaktype.

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.

WebJob

Webtaakgegevens.

Name Type Description
id

string

Resource-id.

kind

string

Soort resource.

name

string

Resourcenaam.

properties.error

string

Foutinformatie.

properties.extra_info_url

string

Url voor extra informatie.

properties.run_command

string

Voer de opdracht uit.

properties.settings

object

Taakinstellingen.

properties.url

string

Taak-URL.

properties.using_sdk

boolean

Gebruikt u SDK?

properties.web_job_type

WebJobType

Taaktype.

type

string

Resourcetype.

WebJobType

Taaktype.

Name Type Description
Continuous

string

Triggered

string