Streaming Locators - List Content Keys

Lijst met inhoudssleutels die door deze streaming-locator worden gebruikt

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listContentKeys?api-version=2022-08-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.

streamingLocatorName
path True

string

De naam van de streaming-locator.

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

ListContentKeysResponse

OK

Other Status Codes

ErrorResponse

Gedetailleerde foutinformatie.

Voorbeelden

List Content Keys

Sample Request

POST https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/providers/Microsoft.Media/mediaServices/contosomedia/streamingLocators/secureStreamingLocator/listContentKeys?api-version=2022-08-01

Sample Response

{
  "contentKeys": [
    {
      "id": "9259eb06-eeee-4f77-987f-48f4ea5c649f",
      "type": "EnvelopeEncryption",
      "labelReferenceInStreamingPolicy": "aesDefaultKey",
      "value": "QpiqeQROdN5xamnfUF2Wdw==",
      "policyName": "PolicyWithMultipleOptions",
      "tracks": []
    },
    {
      "id": "06bfeff1-2bb6-4f58-af27-a2767f058bca",
      "type": "CommonEncryptionCenc",
      "labelReferenceInStreamingPolicy": "cencDefaultKey",
      "value": "ZjgWhNnqnqcov/h+wrYusw==",
      "policyName": "PolicyWithMultipleOptions",
      "tracks": []
    },
    {
      "id": "799e78a0-ed6f-4179-9222-ed4ec4223cec",
      "type": "CommonEncryptionCbcs",
      "labelReferenceInStreamingPolicy": "cbcsDefaultKey",
      "value": "FjZ3n3yRcVxRFftdYFbe9g==",
      "policyName": "PolicyWithMultipleOptions",
      "tracks": []
    }
  ]
}

Definities

Name Description
ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ErrorDetail

De foutdetails.

ErrorResponse

Foutreactie

ListContentKeysResponse

Klasse van antwoord voor de actie listContentKeys

StreamingLocatorContentKey

Klasse voor inhoudssleutel in streaming-locator

StreamingLocatorContentKeyType

Versleutelingstype van inhoudssleutel

TrackPropertyCompareOperation

Bewerking eigenschapsvoorwaarde bijhouden

TrackPropertyCondition

Klasse om één voorwaarde voor de eigenschap track op te geven

TrackPropertyType

Type eigenschap bijhouden

TrackSelection

Klas om een nummer te selecteren

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[]

Aanvullende informatie over de fout.

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.

ListContentKeysResponse

Klasse van antwoord voor de actie listContentKeys

Name Type Description
contentKeys

StreamingLocatorContentKey[]

ContentKeys die worden gebruikt door de huidige streaming-locator

StreamingLocatorContentKey

Klasse voor inhoudssleutel in streaming-locator

Name Type Description
id

string

Id van inhoudssleutel

labelReferenceInStreamingPolicy

string

Label van inhoudssleutel zoals opgegeven in het streamingbeleid

policyName

string

ContentKeyPolicy gebruikt door Content Key

tracks

TrackSelection[]

Houdt bij welke inhoudssleutel wordt gebruikt

type

StreamingLocatorContentKeyType

Versleutelingstype van inhoudssleutel

value

string

Waarde van inhoudssleutel

StreamingLocatorContentKeyType

Versleutelingstype van inhoudssleutel

Name Type Description
CommonEncryptionCbcs

string

Algemene versleuteling met CBCS

CommonEncryptionCenc

string

Algemene versleuteling met CENC

EnvelopeEncryption

string

Envelopversleuteling

TrackPropertyCompareOperation

Bewerking eigenschapsvoorwaarde bijhouden

Name Type Description
Equal

string

Gelijke bewerking

Unknown

string

Onbekende vergelijkingsbewerking voor traceereigenschappen

TrackPropertyCondition

Klasse om één voorwaarde voor de eigenschap track op te geven

Name Type Description
operation

TrackPropertyCompareOperation

Bewerking eigenschapsvoorwaarde bijhouden

property

TrackPropertyType

Type eigenschap bijhouden

value

string

Waarde van eigenschap bijhouden

TrackPropertyType

Type eigenschap bijhouden

Name Type Description
FourCC

string

FourCC bijhouden

Unknown

string

Onbekende trackeigenschap

TrackSelection

Klas om een nummer te selecteren

Name Type Description
trackSelections

TrackPropertyCondition[]

TrackSelections is een lijst met voorwaarden voor trackeigenschappen waarmee track(s) kunnen worden opgegeven