Streaming Endpoints - Stop

StreamingEindpunt stoppen
Stopt een bestaand streaming-eindpunt.

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}/stop?api-version=2022-11-01

URI-parameters

Name In Vereist Type Description
accountName
path True

string

De naam van het Media Services-account.

resourceGroupName
path True

string

De naam van de resourcegroep binnen het Azure-abonnement.

streamingEndpointName
path True

string

De naam van het streaming-eindpunt, de maximale lengte is 24.

Regex pattern: ^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$

subscriptionId
path True

string

De unieke id voor een Microsoft Azure-abonnement.

api-version
query True

string

De versie van de API die moet worden gebruikt met de clientaanvraag.

Antwoorden

Name Type Description
200 OK

OK. De aanvraag is geslaagd.

202 Accepted

Aanvaard. De aanvraag is geaccepteerd voor verwerking en de bewerking wordt asynchroon voltooid. Zie https://go.microsoft.com/fwlink/?linkid=2087017 voor meer informatie over de bewaking van asynchrone Azure-bewerkingen.

Other Status Codes

ErrorResponse

Het streamingfoutantwoord waarin wordt beschreven waarom de bewerking is mislukt.

Voorbeelden

Stop a streaming endpoint

Sample Request

POST https://management.azure.com/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingEndpoints/myStreamingEndpoint1/stop?api-version=2022-11-01

Sample Response

azure-asyncoperation: https://management.azure.com/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpointoperations/62e4d893-d233-4005-988e-a428d9f77076?api-version=2022-11-01
location: https://management.azure.com/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1/operationlocations/62e4d893-d233-4005-988e-a428d9f77076?api-version=2022-11-01

Definities

Name Description
ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ErrorDetail

De foutdetails.

ErrorResponse

Foutreactie

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

Name Type Description
info

object

De aanvullende informatie.

type

string

Het type aanvullende informatie.

ErrorDetail

De foutdetails.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

De fout aanvullende informatie.

code

string

De foutcode.

details

ErrorDetail[]

De foutdetails.

message

string

Het foutbericht.

target

string

Het foutdoel.

ErrorResponse

Foutreactie

Name Type Description
error

ErrorDetail

Het foutobject.