src/MediaServices/MediaServicesRestProxy.php
public function getContentKeyAuthorizationPolicy($contentKeyAuthorizationPolicy)
    {
        $contentKeyAuthorizationPolicyId = Utilities::getEntityId(
            $contentKeyAuthorizationPolicy,
            'WindowsAzure\MediaServices\Models\ContentKeyAuthorizationPolicy'
        );

        return ContentKeyAuthorizationPolicy::createFromOptions(
            $this->_getEntity("ContentKeyAuthorizationPolicies('{$contentKeyAuthorizationPolicyId}')")
        );
    }
public function getContentKeyAuthorizationPolicy($contentKeyAuthorizationPolicy)
    {
        $contentKeyAuthorizationPolicyId = Utilities::getEntityId(
            $contentKeyAuthorizationPolicy,
            'WindowsAzure\MediaServices\Models\ContentKeyAuthorizationPolicy'
        );

        return ContentKeyAuthorizationPolicy::createFromOptions(
            $this->_getEntity("ContentKeyAuthorizationPolicies('{$contentKeyAuthorizationPolicyId}')")
        );
    }
public function getContentKeyAuthorizationPolicy ( $ contentKeyAuthorizationPolicy ) { $ contentKeyAuthorizationPolicyId = Utilities :: getEntityId ( $ contentKeyAuthorizationPolicy , 'WindowsAzure\MediaServices\Models\ContentKeyAuthorizationPolicy' ) ; return ContentKeyAuthorizationPolicy :: createFromOptions ( $ this -> _getEntity ( "ContentKeyAuthorizationPolicies('{$contentKeyAuthorizationPolicyId}')" ) ) ; }
Get content key authorization policy.

@param ContentKeyAuthorizationPolicy|string $contentKeyAuthorizationPolicy ContentKeyAuthorizationPolicies data
or content key authorization policy Id

@return ContentKeyAuthorizationPolicy
Get content key authorization policy .