ServerKey Interface

public interface ServerKey

An immutable client-side representation of ServerKey.

Method Summary

Modifier and Type Method and Description
abstract OffsetDateTime creationDate()

Gets the creationDate property: The key creation date.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract ServerKeyInner innerModel()

Gets the inner com.azure.resourcemanager.postgresql.fluent.models.ServerKeyInner object.

abstract String kind()

Gets the kind property: Kind of encryption protector used to protect the key.

abstract String name()

Gets the name property: The name of the resource.

abstract ServerKey refresh()

Refreshes the resource to sync with Azure.

abstract ServerKey refresh(Context context)

Refreshes the resource to sync with Azure.

abstract ServerKeyType serverKeyType()

Gets the serverKeyType property: The key type like 'AzureKeyVault'.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the ServerKey resource.

abstract String uri()

Gets the uri property: The URI of the key.

Method Details

creationDate

public abstract OffsetDateTime creationDate()

Gets the creationDate property: The key creation date.

Returns:

the creationDate value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract ServerKeyInner innerModel()

Gets the inner com.azure.resourcemanager.postgresql.fluent.models.ServerKeyInner object.

Returns:

the inner object.

kind

public abstract String kind()

Gets the kind property: Kind of encryption protector used to protect the key.

Returns:

the kind value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

refresh

public abstract ServerKey refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract ServerKey refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

serverKeyType

public abstract ServerKeyType serverKeyType()

Gets the serverKeyType property: The key type like 'AzureKeyVault'.

Returns:

the serverKeyType value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract ServerKey.Update update()

Begins update for the ServerKey resource.

Returns:

the stage of resource update.

uri

public abstract String uri()

Gets the uri property: The URI of the key.

Returns:

the uri value.

Applies to