Class ManagedInstanceKey
A managed instance key.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class ManagedInstanceKey : Microsoft.Azure.Management.Sql.Models.ProxyResource
Constructors
ManagedInstanceKey()
Initializes a new instance of the ManagedInstanceKey class.
Declaration
public ManagedInstanceKey ();
ManagedInstanceKey(String, String, String, String, String, String, String, Nullable<DateTime>)
Initializes a new instance of the ManagedInstanceKey class.
Declaration
public ManagedInstanceKey (string serverKeyType, string id = null, string name = null, string type = null, string kind = null, string uri = null, string thumbprint = null, Nullable<DateTime> creationDate = null);
Parameters
String
serverKeyType
The key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: 'ServiceManaged', 'AzureKeyVault' |
String
id
Resource ID. |
String
name
Resource name. |
String
type
Resource type. |
String
kind
Kind of encryption protector. This is metadata used for the Azure portal experience. |
String
uri
The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required. |
String
thumbprint
Thumbprint of the key. |
Nullable<DateTime>
creationDate
The key creation date. |
Properties
CreationDate
Gets the key creation date.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.creationDate")]
public Nullable<DateTime> CreationDate { get; }
Property Value
Nullable<DateTime>
|
Kind
Gets kind of encryption protector. This is metadata used for the Azure portal experience.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="kind")]
public string Kind { get; }
Property Value
String
|
ServerKeyType
Gets or sets the key type like 'ServiceManaged', 'AzureKeyVault'. Possible values include: 'ServiceManaged', 'AzureKeyVault'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.serverKeyType")]
public string ServerKeyType { get; set; }
Property Value
String
|
Thumbprint
Gets thumbprint of the key.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.thumbprint")]
public string Thumbprint { get; }
Property Value
String
|
Uri
Gets or sets the URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.uri")]
public string Uri { get; set; }
Property Value
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
ValidationException
Thrown if validation fails |