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

ServerKey 类

服务器密钥。

变量仅由服务器填充,发送请求时将被忽略。

继承
azure.mgmt.sql.models._models_py3.ProxyResource
ServerKey

构造函数

ServerKey(*, server_key_type: str | ServerKeyType | None = None, uri: str | None = None, **kwargs)

参数

名称 说明
server_key_type
必需

服务器密钥类型,例如“ServiceManaged”、“AzureKeyVault”。 可能的值包括:“ServiceManaged”、“AzureKeyVault”。

uri
必需
str

服务器密钥的 URI。 如果 ServerKeyType 为 AzureKeyVault,则 URI 是必需的。

仅限关键字的参数

名称 说明
server_key_type
必需
uri
必需

变量

名称 说明
id
str

资源 ID。

name
str

资源名称。

type
str

资源类型。

kind
str

加密保护程序的种类。 这是用于Azure 门户体验的元数据。

location
str

资源位置。

subregion
str

服务器密钥的子区域。

thumbprint
str

服务器密钥的指纹。

creation_date

服务器密钥创建日期。

auto_rotation_enabled

密钥自动轮换选择加入标志。 true 或 false。