src/MediaServices/MediaServicesRestProxy.php
public function getContentKeyAuthorizationPolicyOption($contentKeyAuthorizationOptions)
    {
        $contentKeyAuthorizationOptionsId = Utilities::getEntityId(
            $contentKeyAuthorizationOptions,
            'WindowsAzure\MediaServices\Models\ContentKeyAuthorizationPolicyOption'
        );

        return ContentKeyAuthorizationPolicyOption::createFromOptions(
            $this->_getEntity("ContentKeyAuthorizationPolicyOptions('{$contentKeyAuthorizationOptionsId}')")
        );
    }
public function getContentKeyAuthorizationPolicyOption($contentKeyAuthorizationOptions)
    {
        $contentKeyAuthorizationOptionsId = Utilities::getEntityId(
            $contentKeyAuthorizationOptions,
            'WindowsAzure\MediaServices\Models\ContentKeyAuthorizationPolicyOption'
        );

        return ContentKeyAuthorizationPolicyOption::createFromOptions(
            $this->_getEntity("ContentKeyAuthorizationPolicyOptions('{$contentKeyAuthorizationOptionsId}')")
        );
    }
public function getContentKeyAuthorizationPolicyOption ( $ contentKeyAuthorizationOptions ) { $ contentKeyAuthorizationOptionsId = Utilities :: getEntityId ( $ contentKeyAuthorizationOptions , 'WindowsAzure\MediaServices\Models\ContentKeyAuthorizationPolicyOption' ) ; return ContentKeyAuthorizationPolicyOption :: createFromOptions ( $ this -> _getEntity ( "ContentKeyAuthorizationPolicyOptions('{$contentKeyAuthorizationOptionsId}')" ) ) ; }
Get content key authorization option by id.

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

@return ContentKeyAuthorizationPolicyOption
Get content key authorization option by id .