src/MediaServices/MediaServicesRestProxy.php
public function getContentKeyAuthorizationPolicyLinkedOptions($policy)
    {
        $policyId = Utilities::getEntityId(
            $policy,
            'WindowsAzure\MediaServices\Models\ContentKeyAuthorizationPolicy'
        );

        $propertyList = $this->_getEntityList("ContentKeyAuthorizationPolicies('{$policyId}')/Options");
        $result = [];

        foreach ($propertyList as $properties) {
            $result[] = ContentKeyAuthorizationPolicyOption::createFromOptions($properties);
        }

        return $result;
    }
public function getContentKeyAuthorizationPolicyLinkedOptions($policy)
    {
        $policyId = Utilities::getEntityId(
            $policy,
            'WindowsAzure\MediaServices\Models\ContentKeyAuthorizationPolicy'
        );

        $propertyList = $this->_getEntityList("ContentKeyAuthorizationPolicies('{$policyId}')/Options");
        $result = [];

        foreach ($propertyList as $properties) {
            $result[] = ContentKeyAuthorizationPolicyOption::createFromOptions($properties);
        }

        return $result;
    }
public function getContentKeyAuthorizationPolicyLinkedOptions ( $ policy ) { $ policyId = Utilities :: getEntityId ( $ policy , 'WindowsAzure\MediaServices\Models\ContentKeyAuthorizationPolicy' ) ; $ propertyList = $ this -> _getEntityList ( "ContentKeyAuthorizationPolicies('{$policyId}')/Options" ) ; $ result = [ ] ; foreach ( $ propertyList as $ properties ) { $ result [ ] = ContentKeyAuthorizationPolicyOption :: createFromOptions ( $ properties ) ; } return $ result ; }
Get ContentKeyAuthorizationPolicy linked Options.

@param ContentKeyAuthorizationPolicy|string $policy ContentKeyAuthorizationPolicy data or
ContentKeyAuthorizationPolicy Id

@return ContentKeyAuthorizationPolicyOption[]
Get ContentKeyAuthorizationPolicy linked Options .