ManagedInstanceKeyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. ManagedInstanceKeyInner
- com.
- com.
public final class ManagedInstanceKeyInner
extends ProxyResource
A managed instance key.
Constructor Summary
Constructor | Description |
---|---|
ManagedInstanceKeyInner() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
autoRotationEnabled()
Get the auto |
Offset |
creationDate()
Get the creation |
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
kind()
Get the kind property: Kind of encryption protector. |
String |
name()
Get the name property: The name of the resource. |
Server |
serverKeyType()
Get the server |
String |
thumbprint()
Get the thumbprint property: Thumbprint of the key. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
String |
uri()
Get the uri property: The URI of the key. |
void |
validate()
Validates the instance. |
Managed |
withServerKeyType(ServerKeyType serverKeyType)
Set the server |
Managed |
withUri(String uri)
Set the uri property: The URI of the key. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ManagedInstanceKeyInner
public ManagedInstanceKeyInner()
Creates an instance of ManagedInstanceKeyInner class.
Method Details
autoRotationEnabled
public Boolean autoRotationEnabled()
Get the autoRotationEnabled property: Key auto rotation opt-in flag. Either true or false.
Returns:
creationDate
public OffsetDateTime creationDate()
Get the creationDate property: The key creation date.
Returns:
fromJson
public static ManagedInstanceKeyInner fromJson(JsonReader jsonReader)
Reads an instance of ManagedInstanceKeyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ManagedInstanceKeyInner.id()Returns:
kind
public String kind()
Get the kind property: Kind of encryption protector. This is metadata used for the Azure portal experience.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ManagedInstanceKeyInner.name()Returns:
serverKeyType
public ServerKeyType serverKeyType()
Get the serverKeyType property: The key type like 'ServiceManaged', 'AzureKeyVault'.
Returns:
thumbprint
public String thumbprint()
Get the thumbprint property: Thumbprint of the key.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ManagedInstanceKeyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ManagedInstanceKeyInner.type()Returns:
uri
public String uri()
Get the uri property: The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required.
Returns:
validate
public void validate()
Validates the instance.
withServerKeyType
public ManagedInstanceKeyInner withServerKeyType(ServerKeyType serverKeyType)
Set the serverKeyType property: The key type like 'ServiceManaged', 'AzureKeyVault'.
Parameters:
Returns:
withUri
public ManagedInstanceKeyInner withUri(String uri)
Set the uri property: The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required.
Parameters:
Returns:
Applies to
Azure SDK for Java