Content Key Policies - Create Or Update

Tartalomkulcs-szabályzat létrehozása vagy frissítése
Tartalomkulcs-szabályzat létrehozása vagy frissítése a Media Services-fiókban

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}?api-version=2022-08-01

URI-paraméterek

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

string

A Media Services-fiók neve.

contentKeyPolicyName
path True

string

A tartalomkulcs-szabályzat neve.

resourceGroupName
path True

string

Az Azure-előfizetésen belüli erőforráscsoport neve.

subscriptionId
path True

string

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

api-version
query True

string

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

Kérelem törzse

Name Kötelező Típus Description
properties.options True

ContentKeyPolicyOption[]

A Kulcsszabályzat beállításai.

properties.description

string

A szabályzat leírása.

Válaszok

Name Típus Description
200 OK

ContentKeyPolicy

OK

201 Created

ContentKeyPolicy

Létrehozva

Other Status Codes

ErrorResponse

Részletes hibainformációk.

Példák

Creates a Content Key Policy with ClearKey option and Token Restriction
Creates a Content Key Policy with multiple options
Creates a Content Key Policy with PlayReady option and Open Restriction
Creates a Content Key Policy with Widevine option and Token Restriction

Creates a Content Key Policy with ClearKey option and Token Restriction

Sample Request

PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/providers/Microsoft.Media/mediaServices/contosomedia/contentKeyPolicies/PolicyWithClearKeyOptionAndSwtTokenRestriction?api-version=2022-08-01

{
  "properties": {
    "description": "ArmPolicyDescription",
    "options": [
      {
        "name": "ClearKeyOption",
        "configuration": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
        },
        "restriction": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
          "issuer": "urn:issuer",
          "audience": "urn:audience",
          "primaryVerificationKey": {
            "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
            "keyValue": "AAAAAAAAAAAAAAAAAAAAAA=="
          },
          "restrictionTokenType": "Swt"
        }
      }
    ]
  }
}

Sample Response

{
  "name": "PolicyWithClearKeyOptionAndSwtTokenRestriction",
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithClearKeyOptionAndSwtTokenRestriction",
  "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
  "properties": {
    "policyId": "2926c1bc-4dec-4a11-9d19-3f99006530a9",
    "created": "2018-08-08T18:29:29.837Z",
    "lastModified": "2018-08-08T18:29:29.837Z",
    "description": "ArmPolicyDescription",
    "options": [
      {
        "policyOptionId": "e7d4d465-b6f7-4830-9a21-74a7326ef797",
        "name": "ClearKeyOption",
        "configuration": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
        },
        "restriction": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
          "issuer": "urn:issuer",
          "audience": "urn:audience",
          "primaryVerificationKey": {
            "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
            "keyValue": ""
          },
          "alternateVerificationKeys": [],
          "requiredClaims": [],
          "restrictionTokenType": "Swt"
        }
      }
    ]
  }
}
{
  "name": "PolicyWithClearKeyOptionAndSwtTokenRestriction",
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithClearKeyOptionAndSwtTokenRestriction",
  "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
  "properties": {
    "policyId": "2926c1bc-4dec-4a11-9d19-3f99006530a9",
    "created": "2018-08-08T18:29:29.837Z",
    "lastModified": "2018-08-08T18:29:29.837Z",
    "description": "ArmPolicyDescription",
    "options": [
      {
        "policyOptionId": "e7d4d465-b6f7-4830-9a21-74a7326ef797",
        "name": "ClearKeyOption",
        "configuration": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
        },
        "restriction": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
          "issuer": "urn:issuer",
          "audience": "urn:audience",
          "primaryVerificationKey": {
            "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
            "keyValue": ""
          },
          "alternateVerificationKeys": [],
          "requiredClaims": [],
          "restrictionTokenType": "Swt"
        }
      }
    ]
  }
}

Creates a Content Key Policy with multiple options

Sample Request

PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/providers/Microsoft.Media/mediaServices/contosomedia/contentKeyPolicies/PolicyCreatedWithMultipleOptions?api-version=2022-08-01

{
  "properties": {
    "description": "ArmPolicyDescription",
    "options": [
      {
        "name": "ClearKeyOption",
        "configuration": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
        },
        "restriction": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
          "issuer": "urn:issuer",
          "audience": "urn:audience",
          "primaryVerificationKey": {
            "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
            "keyValue": "AAAAAAAAAAAAAAAAAAAAAA=="
          },
          "restrictionTokenType": "Swt"
        }
      },
      {
        "name": "widevineoption",
        "configuration": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
          "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}"
        },
        "restriction": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
        }
      }
    ]
  }
}

Sample Response

{
  "name": "PolicyCreatedWithMultipleOptions",
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyCreatedWithMultipleOptions",
  "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
  "properties": {
    "policyId": "07ad673b-dc14-4230-adab-716622f33992",
    "created": "2018-08-08T18:29:29.98Z",
    "lastModified": "2018-08-08T18:29:29.98Z",
    "description": "ArmPolicyDescription",
    "options": [
      {
        "policyOptionId": "8dac9510-770a-401f-8f2b-f72640977ed0",
        "name": "ClearKeyOption",
        "configuration": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
        },
        "restriction": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
          "issuer": "urn:issuer",
          "audience": "urn:audience",
          "primaryVerificationKey": {
            "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
            "keyValue": ""
          },
          "alternateVerificationKeys": [],
          "requiredClaims": [],
          "restrictionTokenType": "Swt"
        }
      },
      {
        "policyOptionId": "fc121776-6ced-4135-be92-f928dedc029a",
        "name": "widevineoption",
        "configuration": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
          "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}"
        },
        "restriction": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
        }
      }
    ]
  }
}
{
  "name": "PolicyCreatedWithMultipleOptions",
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyCreatedWithMultipleOptions",
  "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
  "properties": {
    "policyId": "07ad673b-dc14-4230-adab-716622f33992",
    "created": "2018-08-08T18:29:29.98Z",
    "lastModified": "2018-08-08T18:29:29.98Z",
    "description": "ArmPolicyDescription",
    "options": [
      {
        "policyOptionId": "8dac9510-770a-401f-8f2b-f72640977ed0",
        "name": "ClearKeyOption",
        "configuration": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration"
        },
        "restriction": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
          "issuer": "urn:issuer",
          "audience": "urn:audience",
          "primaryVerificationKey": {
            "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
            "keyValue": ""
          },
          "alternateVerificationKeys": [],
          "requiredClaims": [],
          "restrictionTokenType": "Swt"
        }
      },
      {
        "policyOptionId": "fc121776-6ced-4135-be92-f928dedc029a",
        "name": "widevineoption",
        "configuration": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
          "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}"
        },
        "restriction": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
        }
      }
    ]
  }
}

Creates a Content Key Policy with PlayReady option and Open Restriction

Sample Request

PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/providers/Microsoft.Media/mediaServices/contosomedia/contentKeyPolicies/PolicyWithPlayReadyOptionAndOpenRestriction?api-version=2022-08-01

{
  "properties": {
    "description": "ArmPolicyDescription",
    "options": [
      {
        "name": "ArmPolicyOptionName",
        "configuration": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration",
          "licenses": [
            {
              "allowTestDevices": true,
              "securityLevel": "SL150",
              "beginDate": "2017-10-16T18:22:53.46Z",
              "playRight": {
                "scmsRestriction": 2,
                "digitalVideoOnlyContentRestriction": false,
                "imageConstraintForAnalogComponentVideoRestriction": true,
                "imageConstraintForAnalogComputerMonitorRestriction": false,
                "allowPassingVideoContentToUnknownOutput": "NotAllowed"
              },
              "licenseType": "Persistent",
              "contentKeyLocation": {
                "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader"
              },
              "contentType": "UltraVioletDownload"
            }
          ]
        },
        "restriction": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
        }
      }
    ]
  }
}

Sample Response

{
  "name": "PolicyWithPlayReadyOptionAndOpenRestriction",
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithPlayReadyOptionAndOpenRestriction",
  "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
  "properties": {
    "policyId": "a9bacd1d-60f5-4af3-8d2b-cf46ca5c9b04",
    "created": "2012-11-01T00:00:00Z",
    "lastModified": "2018-08-08T18:29:29.51Z",
    "description": "ArmPolicyDescription",
    "options": [
      {
        "policyOptionId": "c52f9af0-1f53-4775-8edb-af2d9a6e28cd",
        "name": "ArmPolicyOptionName",
        "configuration": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration",
          "licenses": [
            {
              "allowTestDevices": true,
              "beginDate": "2017-10-16T18:22:53.46Z",
              "playRight": {
                "scmsRestriction": 2,
                "digitalVideoOnlyContentRestriction": false,
                "imageConstraintForAnalogComponentVideoRestriction": true,
                "imageConstraintForAnalogComputerMonitorRestriction": false,
                "allowPassingVideoContentToUnknownOutput": "NotAllowed"
              },
              "licenseType": "Persistent",
              "contentKeyLocation": {
                "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader"
              },
              "contentType": "UltraVioletDownload",
              "securityLevel": "SL150"
            }
          ]
        },
        "restriction": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
        }
      }
    ]
  }
}
{
  "name": "PolicyWithPlayReadyOptionAndOpenRestriction",
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithPlayReadyOptionAndOpenRestriction",
  "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
  "properties": {
    "policyId": "a9bacd1d-60f5-4af3-8d2b-cf46ca5c9b04",
    "created": "2012-11-01T00:00:00Z",
    "lastModified": "2018-08-08T18:29:29.51Z",
    "description": "ArmPolicyDescription",
    "options": [
      {
        "policyOptionId": "c52f9af0-1f53-4775-8edb-af2d9a6e28cd",
        "name": "ArmPolicyOptionName",
        "configuration": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration",
          "licenses": [
            {
              "allowTestDevices": true,
              "beginDate": "2017-10-16T18:22:53.46Z",
              "playRight": {
                "scmsRestriction": 2,
                "digitalVideoOnlyContentRestriction": false,
                "imageConstraintForAnalogComponentVideoRestriction": true,
                "imageConstraintForAnalogComputerMonitorRestriction": false,
                "allowPassingVideoContentToUnknownOutput": "NotAllowed"
              },
              "licenseType": "Persistent",
              "contentKeyLocation": {
                "@odata.type": "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader"
              },
              "contentType": "UltraVioletDownload",
              "securityLevel": "SL150"
            }
          ]
        },
        "restriction": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction"
        }
      }
    ]
  }
}

Creates a Content Key Policy with Widevine option and Token Restriction

Sample Request

PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/providers/Microsoft.Media/mediaServices/contosomedia/contentKeyPolicies/PolicyWithWidevineOptionAndJwtTokenRestriction?api-version=2022-08-01

{
  "properties": {
    "description": "ArmPolicyDescription",
    "options": [
      {
        "name": "widevineoption",
        "configuration": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
          "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}"
        },
        "restriction": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
          "issuer": "urn:issuer",
          "audience": "urn:audience",
          "primaryVerificationKey": {
            "@odata.type": "#Microsoft.Media.ContentKeyPolicyRsaTokenKey",
            "exponent": "AQAB",
            "modulus": "AQAD"
          },
          "alternateVerificationKeys": [
            {
              "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
              "keyValue": "AAAAAAAAAAAAAAAAAAAAAA=="
            }
          ],
          "restrictionTokenType": "Jwt"
        }
      }
    ]
  }
}

Sample Response

{
  "name": "PolicyWithWidevineOptionAndJwtTokenRestriction",
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithWidevineOptionAndJwtTokenRestriction",
  "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
  "properties": {
    "policyId": "bad1d030-7d5c-4643-8f1e-49807a4bf64c",
    "created": "2018-08-08T18:29:29.663Z",
    "lastModified": "2018-08-08T18:29:29.663Z",
    "description": "ArmPolicyDescription",
    "options": [
      {
        "policyOptionId": "26fee004-8dfa-4828-bcad-5e63c637534f",
        "name": "widevineoption",
        "configuration": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
          "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}"
        },
        "restriction": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
          "issuer": "urn:issuer",
          "audience": "urn:audience",
          "primaryVerificationKey": {
            "@odata.type": "#Microsoft.Media.ContentKeyPolicyRsaTokenKey",
            "exponent": "",
            "modulus": ""
          },
          "alternateVerificationKeys": [
            {
              "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
              "keyValue": ""
            }
          ],
          "requiredClaims": [],
          "restrictionTokenType": "Jwt"
        }
      }
    ]
  }
}
{
  "name": "PolicyWithWidevineOptionAndJwtTokenRestriction",
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyWithWidevineOptionAndJwtTokenRestriction",
  "type": "Microsoft.Media/mediaservices/contentKeyPolicies",
  "properties": {
    "policyId": "bad1d030-7d5c-4643-8f1e-49807a4bf64c",
    "created": "2018-08-08T18:29:29.663Z",
    "lastModified": "2018-08-08T18:29:29.663Z",
    "description": "ArmPolicyDescription",
    "options": [
      {
        "policyOptionId": "26fee004-8dfa-4828-bcad-5e63c637534f",
        "name": "widevineoption",
        "configuration": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
          "widevineTemplate": "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}"
        },
        "restriction": {
          "@odata.type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
          "issuer": "urn:issuer",
          "audience": "urn:audience",
          "primaryVerificationKey": {
            "@odata.type": "#Microsoft.Media.ContentKeyPolicyRsaTokenKey",
            "exponent": "",
            "modulus": ""
          },
          "alternateVerificationKeys": [
            {
              "@odata.type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
              "keyValue": ""
            }
          ],
          "requiredClaims": [],
          "restrictionTokenType": "Jwt"
        }
      }
    ]
  }
}

Definíciók

Name Description
ContentKeyPolicy

Egy tartalomkulcs-szabályzat erőforrása.

ContentKeyPolicyClearKeyConfiguration

Nem DRM-kulcsok konfigurációját jelöli.

ContentKeyPolicyFairPlayConfiguration

A FairPlay-licencek konfigurációját adja meg.

ContentKeyPolicyFairPlayOfflineRentalConfiguration
ContentKeyPolicyFairPlayRentalAndLeaseKeyType

A bérleti és bérletkulcs típusa.

ContentKeyPolicyOpenRestriction

Nyitott korlátozást jelöl. A licenc vagy a kulcs minden kérésre kézbesítve lesz.

ContentKeyPolicyOption

Egy szabályzatbeállítást jelöl.

ContentKeyPolicyPlayReadyConfiguration

Megadja a PlayReady-licencek konfigurációját.

ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader

Megadja, hogy a tartalomkulcs azonosítója a PlayReady fejlécben legyen.

ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier

Megadja, hogy a tartalomkulcs azonosítója meg legyen adva a PlayReady konfigurációjában.

ContentKeyPolicyPlayReadyContentType

A PlayReady-tartalomtípus.

ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction

Konfigurálja az Explicit Analóg televíziókimenet-korlátozás vezérlőbiteket. További részletekért lásd a PlayReady megfelelőségi szabályait.

ContentKeyPolicyPlayReadyLicense

A PlayReady-licenc

ContentKeyPolicyPlayReadyLicenseType

A licenc típusa.

ContentKeyPolicyPlayReadyPlayRight

A PlayReady-licencben konfigurálja a lejátszási jogot.

ContentKeyPolicyPlayReadyUnknownOutputPassingOption

A licenc ismeretlen kimeneti kezelési beállításait konfigurálja.

ContentKeyPolicyRestrictionTokenType

A jogkivonat típusa.

ContentKeyPolicyRsaTokenKey

RSA-kulcsot ad meg a jogkivonat érvényesítéséhez

ContentKeyPolicySymmetricTokenKey

Szimmetrikus kulcsot ad meg a jogkivonat érvényesítéséhez.

ContentKeyPolicyTokenClaim

Jogkivonat-jogcímet jelöl.

ContentKeyPolicyTokenRestriction

Jogkivonat-korlátozást jelöl. A megadott jogkivonatnak meg kell felelnie ezeknek a követelményeknek a sikeres licenc- vagy kulcskézbesítéshez.

ContentKeyPolicyUnknownConfiguration

Olyan ContentKeyPolicyConfiguration értéket jelöl, amely nem érhető el az aktuális API-verzióban.

ContentKeyPolicyUnknownRestriction

Olyan ContentKeyPolicyRestriction értéket jelöl, amely nem érhető el az aktuális API-verzióban.

ContentKeyPolicyWidevineConfiguration

A Widevine-licencek konfigurációját adja meg.

ContentKeyPolicyX509CertificateTokenKey

Egy tanúsítványt ad meg a jogkivonat érvényesítéséhez.

createdByType

Az erőforrást létrehozó identitás típusa.

ErrorAdditionalInfo

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

ErrorDetail

A hiba részletei.

ErrorResponse

Hibaválasz

SecurityLevel

A biztonsági szint.

systemData

Az erőforrás létrehozásával és utolsó módosításával kapcsolatos metaadatok.

ContentKeyPolicy

Egy tartalomkulcs-szabályzat erőforrása.

Name Típus Description
id

string

Az erőforrás teljes erőforrás-azonosítója. Például : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

Az erőforrás neve

properties.created

string

A szabályzat létrehozásának dátuma

properties.description

string

A szabályzat leírása.

properties.lastModified

string

A szabályzat utolsó módosításának dátuma

properties.options

ContentKeyPolicyOption[]

A Kulcsszabályzat beállításai.

properties.policyId

string

Az örökölt szabályzatazonosító.

systemData

systemData

Az erőforráshoz kapcsolódó rendszer metaadatai.

type

string

Az erőforrás típusa. Például"Microsoft.Compute/virtualMachines" vagy "Microsoft.Storage/storageAccounts"

ContentKeyPolicyClearKeyConfiguration

Nem DRM-kulcsok konfigurációját jelöli.

Name Típus Description
@odata.type string:

#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration

A származtatott típusok diszkriminatív.

ContentKeyPolicyFairPlayConfiguration

A FairPlay-licencek konfigurációját adja meg.

Name Típus Description
@odata.type string:

#Microsoft.Media.ContentKeyPolicyFairPlayConfiguration

A származtatott típusok diszkriminatív.

ask

string

A FairPlay alkalmazás titkos kulcsaként használandó kulcs. Ennek base64 kódolásúnak kell lennie.

fairPlayPfx

string

A FairPlay-tanúsítvány Base64-es reprezentációja PKCS 12 (pfx) formátumban (beleértve a titkos kulcsot is).

fairPlayPfxPassword

string

A FairPlay-tanúsítványT titkosító jelszó PKCS 12 (pfx) formátumban.

offlineRentalConfiguration

ContentKeyPolicyFairPlayOfflineRentalConfiguration

Offline bérleti szabályzat

rentalAndLeaseKeyType

ContentKeyPolicyFairPlayRentalAndLeaseKeyType

A bérleti és bérletkulcs típusa.

rentalDuration

integer

A bérleti időtartam. Nem lehet kisebb, mint 0.

ContentKeyPolicyFairPlayOfflineRentalConfiguration

Name Típus Description
playbackDurationSeconds

integer

Lejátszás időtartama

storageDurationSeconds

integer

Tárterület időtartama

ContentKeyPolicyFairPlayRentalAndLeaseKeyType

A bérleti és bérletkulcs típusa.

Name Típus Description
DualExpiry

string

Kettős lejárat offline bérlet esetén.

PersistentLimited

string

A tartalomkulcs megőrizhető, és az érvényes időtartamot a Bérleti időtartam érték korlátozza

PersistentUnlimited

string

A tartalomkulcs korlátlan időtartammal megőrizhető

Undefined

string

Nincs megadva a kulcs időtartama.

Unknown

string

Olyan ContentKeyPolicyFairPlayRentalAndLeaseKeyType típust jelöl, amely nem érhető el az aktuális API-verzióban.

ContentKeyPolicyOpenRestriction

Nyitott korlátozást jelöl. A licenc vagy a kulcs minden kérésre kézbesítve lesz.

Name Típus Description
@odata.type string:

#Microsoft.Media.ContentKeyPolicyOpenRestriction

A származtatott típusok diszkriminatív.

ContentKeyPolicyOption

Egy szabályzatbeállítást jelöl.

Name Típus Description
configuration ContentKeyPolicyConfiguration:

A kulcskézbesítési konfiguráció.

name

string

A Házirend beállítás leírása.

policyOptionId

string

Az örökölt házirend-beállítás azonosítója.

restriction ContentKeyPolicyRestriction:

Az ezzel a konfigurációval rendelkező kulcsok kézbesítéséhez szükséges követelmények

ContentKeyPolicyPlayReadyConfiguration

Megadja a PlayReady-licencek konfigurációját.

Name Típus Description
@odata.type string:

#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration

A származtatott típusok diszkriminatív.

licenses

ContentKeyPolicyPlayReadyLicense[]

A PlayReady-licencek.

responseCustomData

string

Az egyéni válaszadatok.

ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader

Megadja, hogy a tartalomkulcs azonosítója a PlayReady fejlécben legyen.

Name Típus Description
@odata.type string:

#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader

A származtatott típusok diszkriminatív.

ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier

Megadja, hogy a tartalomkulcs azonosítója meg legyen adva a PlayReady konfigurációjában.

Name Típus Description
@odata.type string:

#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier

A származtatott típusok diszkriminatív.

keyId

string

A tartalomkulcs azonosítója.

ContentKeyPolicyPlayReadyContentType

A PlayReady-tartalomtípus.

Name Típus Description
UltraVioletDownload

string

Ultraibolya letöltési tartalomtípus.

UltraVioletStreaming

string

Ultraibolya streamelési tartalomtípus.

Unknown

string

Olyan ContentKeyPolicyPlayReadyContentType típust jelöl, amely nem érhető el az aktuális API-verzióban.

Unspecified

string

Meghatározatlan tartalomtípus.

ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction

Konfigurálja az Explicit Analóg televíziókimenet-korlátozás vezérlőbiteket. További részletekért lásd a PlayReady megfelelőségi szabályait.

Name Típus Description
bestEffort

boolean

Azt jelzi, hogy a korlátozás kényszerítve van-e a Legjobb erőfeszítés alapján.

configurationData

integer

Konfigurálja a korlátozásvezérlő biteket. 0 és 3 közötti értéknek kell lennie.

ContentKeyPolicyPlayReadyLicense

A PlayReady-licenc

Name Típus Description
allowTestDevices

boolean

Jelölő, amely jelzi, hogy a teszteszközök használhatják-e a licencet.

beginDate

string

A licenc kezdő dátuma

contentKeyLocation ContentKeyPolicyPlayReadyContentKeyLocation:

A tartalomkulcs helye.

contentType

ContentKeyPolicyPlayReadyContentType

A PlayReady-tartalomtípus.

expirationDate

string

A licenc lejárati dátuma.

gracePeriod

string

A licenc türelmi időszaka.

licenseType

ContentKeyPolicyPlayReadyLicenseType

A licenc típusa.

playRight

ContentKeyPolicyPlayReadyPlayRight

A playRight licenc

relativeBeginDate

string

A licenc relatív kezdő dátuma.

relativeExpirationDate

string

A licenc relatív lejárati dátuma.

securityLevel

SecurityLevel

A biztonsági szint.

ContentKeyPolicyPlayReadyLicenseType

A licenc típusa.

Name Típus Description
NonPersistent

string

Nem állandó licenc.

Persistent

string

Állandó licenc. Engedélyezi az offline lejátszást.

Unknown

string

Olyan ContentKeyPolicyPlayReadyLicenseType típust jelöl, amely nem érhető el az aktuális API-verzióban.

ContentKeyPolicyPlayReadyPlayRight

A PlayReady-licencben konfigurálja a lejátszási jogot.

Name Típus Description
agcAndColorStripeRestriction

integer

Konfigurálja az automatikus nyereségvezérlést (AGC) és a színcsíkot a licencben. 0 és 3 közötti értéknek kell lennie.

allowPassingVideoContentToUnknownOutput

ContentKeyPolicyPlayReadyUnknownOutputPassingOption

A licenc ismeretlen kimeneti kezelési beállításait konfigurálja.

analogVideoOpl

integer

Meghatározza a tömörített digitális hang kimeneti védelmi szintjét.

compressedDigitalAudioOpl

integer

Meghatározza a tömörített digitális hang kimeneti védelmi szintjét.

compressedDigitalVideoOpl

integer

Meghatározza a tömörített digitális videó kimeneti védelmi szintjét.

digitalVideoOnlyContentRestriction

boolean

Engedélyezi az analóg összetevő videókorlátozásának képkényszerítését a licencben.

explicitAnalogTelevisionOutputRestriction

ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction

Konfigurálja az explicit analóg televíziókimeneti korlátozást a licencben. A konfigurációs adatoknak 0 és 3 közöttinek kell lenniük.

firstPlayExpiration

string

Az az idő, amely után a licenc érvényes lesz a tartalom lejátszásához.

imageConstraintForAnalogComponentVideoRestriction

boolean

Engedélyezi az analóg összetevő videókorlátozásának képkényszerítését a licencben.

imageConstraintForAnalogComputerMonitorRestriction

boolean

Engedélyezi az analóg összetevő videókorlátozásának képkényszerítését a licencben.

scmsRestriction

integer

Konfigurálja a serial copy management system (SCMS) rendszert a licencben. 0 és 3 közötti értéknek kell lennie.

uncompressedDigitalAudioOpl

integer

Meghatározza a tömörítetlen digitális hangkimenet védelmi szintjét.

uncompressedDigitalVideoOpl

integer

Meghatározza a tömörítetlen digitális videók kimeneti védelmi szintjét.

ContentKeyPolicyPlayReadyUnknownOutputPassingOption

A licenc ismeretlen kimeneti kezelési beállításait konfigurálja.

Name Típus Description
Allowed

string

A védett tartalom videó részének ismeretlen kimenetnek való átadása engedélyezett.

AllowedWithVideoConstriction

string

A védett tartalom videórészének ismeretlen kimenetnek való átadása engedélyezett, de korlátozott felbontással.

NotAllowed

string

A védett tartalom videó részének ismeretlen kimenetnek való átadása nem engedélyezett.

Unknown

string

A ContentKeyPolicyPlayReadyUnknownOutputPassingOption értéket jelöli, amely nem érhető el az aktuális API-verzióban.

ContentKeyPolicyRestrictionTokenType

A jogkivonat típusa.

Name Típus Description
Jwt

string

JSON webes jogkivonat.

Swt

string

Egyszerű webes jogkivonat.

Unknown

string

Olyan ContentKeyPolicyRestrictionTokenType értéket jelöl, amely nem érhető el az aktuális API-verzióban.

ContentKeyPolicyRsaTokenKey

RSA-kulcsot ad meg a jogkivonat érvényesítéséhez

Name Típus Description
@odata.type string:

#Microsoft.Media.ContentKeyPolicyRsaTokenKey

A származtatott típusok diszkriminatív.

exponent

string

Az RSA-paraméter kitevője

modulus

string

Az RSA paramétermodulusa

ContentKeyPolicySymmetricTokenKey

Szimmetrikus kulcsot ad meg a jogkivonat érvényesítéséhez.

Name Típus Description
@odata.type string:

#Microsoft.Media.ContentKeyPolicySymmetricTokenKey

A származtatott típusok diszkriminatív.

keyValue

string

A kulcs kulcsértéke

ContentKeyPolicyTokenClaim

Jogkivonat-jogcímet jelöl.

Name Típus Description
claimType

string

Jogkivonat jogcímtípusa.

claimValue

string

Jogkivonat jogcímének értéke.

ContentKeyPolicyTokenRestriction

Jogkivonat-korlátozást jelöl. A megadott jogkivonatnak meg kell felelnie ezeknek a követelményeknek a sikeres licenc- vagy kulcskézbesítéshez.

Name Típus Description
@odata.type string:

#Microsoft.Media.ContentKeyPolicyTokenRestriction

A származtatott típusok diszkriminatív.

alternateVerificationKeys ContentKeyPolicyRestrictionTokenKey[]:

Az alternatív ellenőrzőkulcsok listája.

audience

string

A jogkivonat célközönsége.

issuer

string

A jogkivonat kiállítója.

openIdConnectDiscoveryDocument

string

Az OpenID connect discovery dokumentum.

primaryVerificationKey ContentKeyPolicyRestrictionTokenKey:

Az elsődleges ellenőrzési kulcs.

requiredClaims

ContentKeyPolicyTokenClaim[]

A szükséges jogkivonat-jogcímek listája.

restrictionTokenType

ContentKeyPolicyRestrictionTokenType

A jogkivonat típusa.

ContentKeyPolicyUnknownConfiguration

Olyan ContentKeyPolicyConfiguration értéket jelöl, amely nem érhető el az aktuális API-verzióban.

Name Típus Description
@odata.type string:

#Microsoft.Media.ContentKeyPolicyUnknownConfiguration

A származtatott típusok diszkriminatív.

ContentKeyPolicyUnknownRestriction

Olyan ContentKeyPolicyRestriction értéket jelöl, amely nem érhető el az aktuális API-verzióban.

Name Típus Description
@odata.type string:

#Microsoft.Media.ContentKeyPolicyUnknownRestriction

A származtatott típusok diszkriminatív.

ContentKeyPolicyWidevineConfiguration

A Widevine-licencek konfigurációját adja meg.

Name Típus Description
@odata.type string:

#Microsoft.Media.ContentKeyPolicyWidevineConfiguration

A származtatott típusok diszkriminatív.

widevineTemplate

string

A Widevine sablon.

ContentKeyPolicyX509CertificateTokenKey

Egy tanúsítványt ad meg a jogkivonat érvényesítéséhez.

Name Típus Description
@odata.type string:

#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey

A származtatott típusok diszkriminatív.

rawBody

string

A tanúsítvány nyers adatmezője PKCS 12 formátumban (X509Certificate2 a .NET-ben)

createdByType

Az erőforrást létrehozó identitás típusa.

Name Típus Description
Application

string

Key

string

ManagedIdentity

string

User

string

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 adattí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 hiba célja.

ErrorResponse

Hibaválasz

Name Típus Description
error

ErrorDetail

A hibaobjektum.

SecurityLevel

A biztonsági szint.

Name Típus Description
SL150

string

Fejlesztés alatt álló vagy tesztelt ügyfelek esetén. Nincs védelem a jogosulatlan használattal szemben.

SL2000

string

A kereskedelmi tartalmat használó, edzett eszközök és alkalmazások esetében. Szoftver- vagy hardvervédelem.

SL3000

string

Csak edzett eszközök esetén. Hardvervédelem.

Unknown

string

Olyan SecurityLevelet jelöl, amely nem érhető el az aktuális API-verzióban.

systemData

Az erőforrás létrehozásával és utolsó módosításával kapcsolatos metaadatok.

Name Típus Description
createdAt

string

Az erőforrás-létrehozás időbélyege (UTC).

createdBy

string

Az erőforrást létrehozó identitás.

createdByType

createdByType

Az erőforrást létrehozó identitás típusa.

lastModifiedAt

string

Az erőforrás utolsó módosításának időbélyege (UTC)

lastModifiedBy

string

Az erőforrást utoljára módosító identitás.

lastModifiedByType

createdByType

Az erőforrást legutóbb módosító identitás típusa.