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.ProxyResourceServerKey
Constructor
ServerKey(*, server_key_type: str | ServerKeyType | None = None, uri: str | None = None, **kwargs)
Parameters
Name | Description |
---|---|
server_key_type
Required
|
str or
ServerKeyType
The server key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: "ServiceManaged", "AzureKeyVault". |
uri
Required
|
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
|
Resource ID. |
name
|
Resource name. |
type
|
Resource type. |
kind
|
Kind of encryption protector. This is metadata used for the Azure portal experience. |
location
|
Resource location. |
subregion
|
Subregion of the server key. |
thumbprint
|
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. |
Azure SDK for Python