ServerKey Class

A server key.

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

Inheritance
azure.mgmt.sql.models._models_py3.ProxyResource
ServerKey

Constructor

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

Parameters

Name Description
server_key_type
Required

The server key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: "ServiceManaged", "AzureKeyVault".

uri
Required
str

The URI of the server key. If the ServerKeyType is AzureKeyVault, then the URI is required.

Keyword-Only Parameters

Name Description
server_key_type
Required
uri
Required

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

kind
str

Kind of encryption protector. This is metadata used for the Azure portal experience.

location
str

Resource location.

subregion
str

Subregion of the server key.

thumbprint
str

Thumbprint of the server key.

creation_date

The server key creation date.

auto_rotation_enabled

Key auto rotation opt-in flag. Either true or false.