Streaming Locators - List Content Keys

Bu Akış Bulucu tarafından kullanılan İçerik Anahtarlarını Listele

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName}/listContentKeys?api-version=2022-08-01

URI Parametreleri

Name İçinde Gerekli Tür Description
accountName
path True

string

Media Services hesap adı.

resourceGroupName
path True

string

Azure aboneliğindeki kaynak grubunun adı.

streamingLocatorName
path True

string

Akış Bulucu adı.

subscriptionId
path True

string

Microsoft Azure aboneliğinin benzersiz tanımlayıcısı.

api-version
query True

string

İstemci isteğiyle kullanılacak API'nin sürümü.

Yanıtlar

Name Tür Description
200 OK

ListContentKeysResponse

Tamam

Other Status Codes

ErrorResponse

Ayrıntılı hata bilgileri.

Örnekler

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": []
    }
  ]
}

Tanımlar

Name Description
ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

ErrorDetail

Hata ayrıntısı.

ErrorResponse

Hata yanıtı

ListContentKeysResponse

listContentKeys eylemi için yanıt sınıfı

StreamingLocatorContentKey

Akış Bulucu'da içerik anahtarı sınıfı

StreamingLocatorContentKeyType

İçerik Anahtarının şifreleme türü

TrackPropertyCompareOperation

Özellik koşulu işlemini izleme

TrackPropertyCondition

Tek bir izleme özelliği koşulu belirtmek için sınıf

TrackPropertyType

Özellik türünü izleme

TrackSelection

Parça seçmek için sınıf

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

Name Tür Description
info

object

Ek bilgiler.

type

string

Ek bilgi türü.

ErrorDetail

Hata ayrıntısı.

Name Tür Description
additionalInfo

ErrorAdditionalInfo[]

Hata ek bilgileri.

code

string

Hata kodu.

details

ErrorDetail[]

Hata ayrıntıları.

message

string

Hata iletisi.

target

string

Hata hedefi.

ErrorResponse

Hata yanıtı

Name Tür Description
error

ErrorDetail

Hata nesnesi.

ListContentKeysResponse

listContentKeys eylemi için yanıt sınıfı

Name Tür Description
contentKeys

StreamingLocatorContentKey[]

Geçerli Akış Bulucu tarafından kullanılan ContentKey'ler

StreamingLocatorContentKey

Akış Bulucu'da içerik anahtarı sınıfı

Name Tür Description
id

string

İçerik Anahtarının Kimliği

labelReferenceInStreamingPolicy

string

Akış İlkesi'nde belirtilen İçerik Anahtarı Etiketi

policyName

string

İçerik Anahtarı tarafından kullanılan ContentKeyPolicy

tracks

TrackSelection[]

Bu İçerik Anahtarını kullanan izler

type

StreamingLocatorContentKeyType

İçerik Anahtarının şifreleme türü

value

string

İçerik Anahtarının Değeri

StreamingLocatorContentKeyType

İçerik Anahtarının şifreleme türü

Name Tür Description
CommonEncryptionCbcs

string

CBCS kullanarak Ortak Şifreleme

CommonEncryptionCenc

string

CENC kullanarak Ortak Şifreleme

EnvelopeEncryption

string

Zarf Şifrelemesi

TrackPropertyCompareOperation

Özellik koşulu işlemini izleme

Name Tür Description
Equal

string

Eşittir işlemi

Unknown

string

Bilinmeyen izleme özelliği karşılaştırma işlemi

TrackPropertyCondition

Tek bir izleme özelliği koşulu belirtmek için sınıf

Name Tür Description
operation

TrackPropertyCompareOperation

Özellik koşulu işlemini izleme

property

TrackPropertyType

Özellik türünü izleme

value

string

Özellik değerini izleme

TrackPropertyType

Özellik türünü izleme

Name Tür Description
FourCC

string

FourCC'yi İzle

Unknown

string

Bilinmeyen izleme özelliği

TrackSelection

Parça seçmek için sınıf

Name Tür Description
trackSelections

TrackPropertyCondition[]

TrackSelections, izlemeleri belirtebilen bir izleme özelliği koşul listesidir