你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ContentKeyPolicyOption Class

Represents a policy option.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Constructor

ContentKeyPolicyOption(*, configuration: _models.ContentKeyPolicyConfiguration, restriction: _models.ContentKeyPolicyRestriction, name: str | None = None, **kwargs)

Keyword-Only Parameters

Name Description
name
str

The Policy Option description.

configuration

The key delivery configuration. Required.

restriction

The requirements that must be met to deliver keys with this configuration. Required.

Variables

Name Description
policy_option_id
str

The legacy Policy Option ID.

name
str

The Policy Option description.

configuration

The key delivery configuration. Required.

restriction

The requirements that must be met to deliver keys with this configuration. Required.