ServerInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. postgresql. fluent. models. ServerInner
- com.
- com.
- com.
public final class ServerInner
extends Resource
Represents a server.
Constructor Summary
Constructor | Description | |
---|---|---|
ServerInner() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
administratorLogin()
Get the administrator |
String |
byokEnforcement()
Get the byok |
Offset |
earliestRestoreDate()
Get the earliest |
String |
fullyQualifiedDomainName()
Get the fully |
Resource |
identity()
Get the identity property: The Azure Active Directory identity of the server. |
Infrastructure |
infrastructureEncryption()
Get the infrastructure |
String |
masterServerId()
Get the master |
Minimal |
minimalTlsVersion()
Get the minimal |
List<Server |
privateEndpointConnections()
Get the private |
Public |
publicNetworkAccess()
Get the public |
Integer |
replicaCapacity()
Get the replica |
String |
replicationRole()
Get the replication |
Sku |
sku()
Get the sku property: The SKU (pricing tier) of the server. |
Ssl |
sslEnforcement()
Get the ssl |
Storage |
storageProfile()
Get the storage |
Server |
userVisibleState()
Get the user |
void |
validate()
Validates the instance. |
Server |
version()
Get the version property: Server version. |
Server |
withAdministratorLogin(String administratorLogin)
Set the administrator |
Server |
withEarliestRestoreDate(OffsetDateTime earliestRestoreDate)
Set the earliest |
Server |
withFullyQualifiedDomainName(String fullyQualifiedDomainName)
Set the fully |
Server |
withIdentity(ResourceIdentity identity)
Set the identity property: The Azure Active Directory identity of the server. |
Server |
withInfrastructureEncryption(InfrastructureEncryption infrastructureEncryption)
Set the infrastructure |
Server |
withLocation(String location) |
Server |
withMasterServerId(String masterServerId)
Set the master |
Server |
withMinimalTlsVersion(MinimalTlsVersionEnum minimalTlsVersion)
Set the minimal |
Server |
withPublicNetworkAccess(PublicNetworkAccessEnum publicNetworkAccess)
Set the public |
Server |
withReplicaCapacity(Integer replicaCapacity)
Set the replica |
Server |
withReplicationRole(String replicationRole)
Set the replication |
Server |
withSku(Sku sku)
Set the sku property: The SKU (pricing tier) of the server. |
Server |
withSslEnforcement(SslEnforcementEnum sslEnforcement)
Set the ssl |
Server |
withStorageProfile(StorageProfile storageProfile)
Set the storage |
Server |
withTags(Map<String,String> tags) |
Server |
withUserVisibleState(ServerState userVisibleState)
Set the user |
Server |
withVersion(ServerVersion version)
Set the version property: Server version. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ServerInner
public ServerInner()
Method Details
administratorLogin
public String administratorLogin()
Get 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 String byokEnforcement()
Get the byokEnforcement property: Status showing whether the server data encryption is enabled with customer-managed keys.
Returns:
earliestRestoreDate
public OffsetDateTime earliestRestoreDate()
Get the earliestRestoreDate property: Earliest restore point creation time (ISO8601 format).
Returns:
fullyQualifiedDomainName
public String fullyQualifiedDomainName()
Get the fullyQualifiedDomainName property: The fully qualified domain name of a server.
Returns:
identity
public ResourceIdentity identity()
Get the identity property: The Azure Active Directory identity of the server.
Returns:
infrastructureEncryption
public InfrastructureEncryption infrastructureEncryption()
Get the infrastructureEncryption property: Status showing whether the server enabled infrastructure encryption.
Returns:
masterServerId
public String masterServerId()
Get the masterServerId property: The master server id of a replica server.
Returns:
minimalTlsVersion
public MinimalTlsVersionEnum minimalTlsVersion()
Get the minimalTlsVersion property: Enforce a minimal Tls version for the server.
Returns:
privateEndpointConnections
public List
Get the privateEndpointConnections property: List of private endpoint connections on a server.
Returns:
publicNetworkAccess
public PublicNetworkAccessEnum publicNetworkAccess()
Get 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:
replicaCapacity
public Integer replicaCapacity()
Get the replicaCapacity property: The maximum number of replicas that a master server can have.
Returns:
replicationRole
public String replicationRole()
Get the replicationRole property: The replication role of the server.
Returns:
sku
public Sku sku()
Get the sku property: The SKU (pricing tier) of the server.
Returns:
sslEnforcement
public SslEnforcementEnum sslEnforcement()
Get the sslEnforcement property: Enable ssl enforcement or not when connect to server.
Returns:
storageProfile
public StorageProfile storageProfile()
Get the storageProfile property: Storage profile of a server.
Returns:
userVisibleState
public ServerState userVisibleState()
Get the userVisibleState property: A state of a server that is visible to user.
Returns:
validate
public void validate()
Validates the instance.
version
public ServerVersion version()
Get the version property: Server version.
Returns:
withAdministratorLogin
public ServerInner withAdministratorLogin(String administratorLogin)
Set 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).
Parameters:
Returns:
withEarliestRestoreDate
public ServerInner withEarliestRestoreDate(OffsetDateTime earliestRestoreDate)
Set the earliestRestoreDate property: Earliest restore point creation time (ISO8601 format).
Parameters:
Returns:
withFullyQualifiedDomainName
public ServerInner withFullyQualifiedDomainName(String fullyQualifiedDomainName)
Set the fullyQualifiedDomainName property: The fully qualified domain name of a server.
Parameters:
Returns:
withIdentity
public ServerInner withIdentity(ResourceIdentity identity)
Set the identity property: The Azure Active Directory identity of the server.
Parameters:
Returns:
withInfrastructureEncryption
public ServerInner withInfrastructureEncryption(InfrastructureEncryption infrastructureEncryption)
Set the infrastructureEncryption property: Status showing whether the server enabled infrastructure encryption.
Parameters:
Returns:
withLocation
public ServerInner withLocation(String location)
Overrides:
ServerInner.withLocation(String location)Parameters:
withMasterServerId
public ServerInner withMasterServerId(String masterServerId)
Set the masterServerId property: The master server id of a replica server.
Parameters:
Returns:
withMinimalTlsVersion
public ServerInner withMinimalTlsVersion(MinimalTlsVersionEnum minimalTlsVersion)
Set the minimalTlsVersion property: Enforce a minimal Tls version for the server.
Parameters:
Returns:
withPublicNetworkAccess
public ServerInner withPublicNetworkAccess(PublicNetworkAccessEnum publicNetworkAccess)
Set 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'.
Parameters:
Returns:
withReplicaCapacity
public ServerInner withReplicaCapacity(Integer replicaCapacity)
Set the replicaCapacity property: The maximum number of replicas that a master server can have.
Parameters:
Returns:
withReplicationRole
public ServerInner withReplicationRole(String replicationRole)
Set the replicationRole property: The replication role of the server.
Parameters:
Returns:
withSku
public ServerInner withSku(Sku sku)
Set the sku property: The SKU (pricing tier) of the server.
Parameters:
Returns:
withSslEnforcement
public ServerInner withSslEnforcement(SslEnforcementEnum sslEnforcement)
Set the sslEnforcement property: Enable ssl enforcement or not when connect to server.
Parameters:
Returns:
withStorageProfile
public ServerInner withStorageProfile(StorageProfile storageProfile)
Set the storageProfile property: Storage profile of a server.
Parameters:
Returns:
withTags
public ServerInner withTags(Map
Overrides:
ServerInner.withTags(Map<String,String> tags)Parameters:
withUserVisibleState
public ServerInner withUserVisibleState(ServerState userVisibleState)
Set the userVisibleState property: A state of a server that is visible to user.
Parameters:
Returns:
withVersion
public ServerInner withVersion(ServerVersion version)
Set the version property: Server version.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for