Server Interface
public interface Server
An immutable client-side representation of Server.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract String |
administratorLogin()
Gets the administrator |
| abstract String |
byokEnforcement()
Gets the byok |
|
abstract
Offset |
earliestRestoreDate()
Gets the earliest |
| abstract String |
fullyQualifiedDomainName()
Gets the fully |
| abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
|
abstract
Resource |
identity()
Gets the identity property: The Azure Active Directory identity of the server. |
|
abstract
Infrastructure |
infrastructureEncryption()
Gets the infrastructure |
|
abstract
Server |
innerModel()
Gets the inner com. |
| abstract String |
location()
Gets the location property: The geo-location where the resource lives. |
| abstract String |
masterServerId()
Gets the master |
|
abstract
Minimal |
minimalTlsVersion()
Gets the minimal |
| abstract String |
name()
Gets the name property: The name of the resource. |
|
abstract
List<Server |
privateEndpointConnections()
Gets the private |
|
abstract
Public |
publicNetworkAccess()
Gets the public |
| abstract Server |
refresh()
Refreshes the resource to sync with Azure. |
| abstract Server |
refresh(Context context)
Refreshes the resource to sync with Azure. |
| abstract Region |
region()
Gets the region of the resource. |
| abstract String |
regionName()
Gets the name of the resource region. |
| abstract Integer |
replicaCapacity()
Gets the replica |
| abstract String |
replicationRole()
Gets the replication |
| abstract String |
resourceGroupName()
Gets the name of the resource group. |
| abstract void |
restart()
Restarts a server. |
| abstract void |
restart(Context context)
Restarts a server. |
| abstract Sku |
sku()
Gets the sku property: The SKU (pricing tier) of the server. |
|
abstract
Ssl |
sslEnforcement()
Gets the ssl |
|
abstract
Storage |
storageProfile()
Gets the storage |
| abstract Map<String,String> |
tags()
Gets the tags property: Resource tags. |
| abstract String |
type()
Gets the type property: The type of the resource. |
| abstract Update |
update()
Begins update for the Server resource. |
|
abstract
Server |
userVisibleState()
Gets the user |
|
abstract
Server |
version()
Gets the version property: Server version. |
Method Details
administratorLogin
public abstract String administratorLogin()
Gets the administratorLogin property: The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
Returns:
byokEnforcement
public abstract String byokEnforcement()
Gets the byokEnforcement property: Status showing whether the server data encryption is enabled with customer-managed keys.
Returns:
earliestRestoreDate
public abstract OffsetDateTime earliestRestoreDate()
Gets the earliestRestoreDate property: Earliest restore point creation time (ISO8601 format).
Returns:
fullyQualifiedDomainName
public abstract String fullyQualifiedDomainName()
Gets the fullyQualifiedDomainName property: The fully qualified domain name of a server.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
identity
public abstract ResourceIdentity identity()
Gets the identity property: The Azure Active Directory identity of the server.
Returns:
infrastructureEncryption
public abstract InfrastructureEncryption infrastructureEncryption()
Gets the infrastructureEncryption property: Status showing whether the server enabled infrastructure encryption.
Returns:
innerModel
public abstract ServerInner innerModel()
Gets the inner com.azure.resourcemanager.postgresql.fluent.models.ServerInner object.
Returns:
location
public abstract String location()
Gets the location property: The geo-location where the resource lives.
Returns:
masterServerId
public abstract String masterServerId()
Gets the masterServerId property: The master server id of a replica server.
Returns:
minimalTlsVersion
public abstract MinimalTlsVersionEnum minimalTlsVersion()
Gets the minimalTlsVersion property: Enforce a minimal Tls version for the server.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
privateEndpointConnections
public abstract List<ServerPrivateEndpointConnection> privateEndpointConnections()
Gets the privateEndpointConnections property: List of private endpoint connections on a server.
Returns:
publicNetworkAccess
public abstract PublicNetworkAccessEnum publicNetworkAccess()
Gets the publicNetworkAccess property: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.
Returns:
refresh
public abstract Server refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract Server refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
region
public abstract Region region()
Gets the region of the resource.
Returns:
regionName
public abstract String regionName()
Gets the name of the resource region.
Returns:
replicaCapacity
public abstract Integer replicaCapacity()
Gets the replicaCapacity property: The maximum number of replicas that a master server can have.
Returns:
replicationRole
public abstract String replicationRole()
Gets the replicationRole property: The replication role of the server.
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
restart
public abstract void restart()
Restarts a server.
restart
public abstract void restart(Context context)
Restarts a server.
Parameters:
sku
public abstract Sku sku()
Gets the sku property: The SKU (pricing tier) of the server.
Returns:
sslEnforcement
public abstract SslEnforcementEnum sslEnforcement()
Gets the sslEnforcement property: Enable ssl enforcement or not when connect to server.
Returns:
storageProfile
public abstract StorageProfile storageProfile()
Gets the storageProfile property: Storage profile of a server.
Returns:
tags
public abstract Map<String,String> tags()
Gets the tags property: Resource tags.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract Server.Update update()
Begins update for the Server resource.
Returns:
userVisibleState
public abstract ServerState userVisibleState()
Gets the userVisibleState property: A state of a server that is visible to user.
Returns:
version
public abstract ServerVersion version()
Gets the version property: Server version.
Returns: