Jobs - Cancel Job

Feladat megszakítása
Feladat megszakítása.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/transforms/{transformName}/jobs/{jobName}/cancelJob?api-version=2022-07-01

URI-paraméterek

Name In Kötelező Típus Description
accountName
path True

string

A Media Services-fiók neve.

jobName
path True

string

A feladat neve.

resourceGroupName
path True

string

Az Azure-előfizetésben található erőforráscsoport neve.

subscriptionId
path True

string

A Microsoft Azure-előfizetés egyedi azonosítója.

transformName
path True

string

Az Átalakítás neve.

api-version
query True

string

Az ügyfélkéréshez használni kívánt API verziója.

Válaszok

Name Típus Description
200 OK

OK

Other Status Codes

ErrorResponse

Részletes hibainformációk.

Példák

Cancel a Job

Sample Request

POST https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaServices/contosomedia/transforms/exampleTransform/jobs/job1/cancelJob?api-version=2022-07-01

Sample Response

Definíciók

Name Description
ErrorAdditionalInfo

Az erőforrás-kezelési hiba további információi.

ErrorDetail

A hiba részletei.

ErrorResponse

Hibaválasz

ErrorAdditionalInfo

Az erőforrás-kezelési hiba további információi.

Name Típus Description
info

object

A további információk.

type

string

A további információtípus.

ErrorDetail

A hiba részletei.

Name Típus Description
additionalInfo

ErrorAdditionalInfo[]

A hiba további információi.

code

string

A hibakód.

details

ErrorDetail[]

A hiba részletei.

message

string

A hibaüzenet.

target

string

A hibacél.

ErrorResponse

Hibaválasz

Name Típus Description
error

ErrorDetail

A hibaobjektum.