Share via


ServerKey Class

Definition

A server key.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ServerKey : Microsoft.Azure.Management.Sql.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ServerKey = class
    inherit ProxyResource
Public Class ServerKey
Inherits ProxyResource
Inheritance
Attributes

Constructors

ServerKey()

Initializes a new instance of the ServerKey class.

ServerKey(String, String, String, String, String, String, String, String, String, Nullable<DateTime>, Nullable<Boolean>)

Initializes a new instance of the ServerKey class.

Properties

AutoRotationEnabled

Gets key auto rotation opt-in flag. Either true or false.

CreationDate

Gets the server key creation date.

Id

Gets resource ID.

(Inherited from Resource)
Kind

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

Location

Gets resource location.

Name

Gets resource name.

(Inherited from Resource)
ServerKeyType

Gets or sets the server key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: 'ServiceManaged', 'AzureKeyVault'

Subregion

Gets subregion of the server key.

Thumbprint

Gets thumbprint of the server key.

Type

Gets resource type.

(Inherited from Resource)
Uri

Gets or sets the URI of the server key. If the ServerKeyType is AzureKeyVault, then the URI is required.

Methods

Validate()

Validate the object.

Applies to