public final class ServerInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
ServerInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
administratorLogin()
Get the administratorLogin property: The administrator's login name of a server.
|
String |
administratorLoginPassword()
Get the administratorLoginPassword property: The administrator login password (required for server creation).
|
String |
availabilityZone()
Get the availabilityZone property: availability zone information of the server.
|
Backup |
backup()
Get the backup property: Backup properties of a server.
|
CreateMode |
createMode()
Get the createMode property: The mode to create a new PostgreSQL server.
|
String |
fullyQualifiedDomainName()
Get the fullyQualifiedDomainName property: The fully qualified domain name of a server.
|
HighAvailability |
highAvailability()
Get the highAvailability property: High availability properties of a server.
|
MaintenanceWindow |
maintenanceWindow()
Get the maintenanceWindow property: Maintenance window properties of a server.
|
String |
minorVersion()
Get the minorVersion property: The minor version of the server.
|
Network |
network()
Get the network property: Network properties of a server.
|
OffsetDateTime |
pointInTimeUtc()
Get the pointInTimeUtc property: Restore point creation time (ISO8601 format), specifying the time to restore
from.
|
Sku |
sku()
Get the sku property: The SKU (pricing tier) of the server.
|
String |
sourceServerResourceId()
Get the sourceServerResourceId property: The source server resource ID to restore from.
|
ServerState |
state()
Get the state property: A state of a server that is visible to user.
|
Storage |
storage()
Get the storage property: Storage properties of a server.
|
com.azure.core.management.SystemData |
systemData()
Get the systemData property: The system metadata relating to this resource.
|
Map<String,String> |
tagsPropertiesTags()
Get the tags property: Application-specific metadata in the form of key-value pairs.
|
void |
validate()
Validates the instance.
|
ServerVersion |
version()
Get the version property: PostgreSQL Server version.
|
ServerInner |
withAdministratorLogin(String administratorLogin)
Set the administratorLogin property: The administrator's login name of a server.
|
ServerInner |
withAdministratorLoginPassword(String administratorLoginPassword)
Set the administratorLoginPassword property: The administrator login password (required for server creation).
|
ServerInner |
withAvailabilityZone(String availabilityZone)
Set the availabilityZone property: availability zone information of the server.
|
ServerInner |
withBackup(Backup backup)
Set the backup property: Backup properties of a server.
|
ServerInner |
withCreateMode(CreateMode createMode)
Set the createMode property: The mode to create a new PostgreSQL server.
|
ServerInner |
withHighAvailability(HighAvailability highAvailability)
Set the highAvailability property: High availability properties of a server.
|
ServerInner |
withLocation(String location) |
ServerInner |
withMaintenanceWindow(MaintenanceWindow maintenanceWindow)
Set the maintenanceWindow property: Maintenance window properties of a server.
|
ServerInner |
withNetwork(Network network)
Set the network property: Network properties of a server.
|
ServerInner |
withPointInTimeUtc(OffsetDateTime pointInTimeUtc)
Set the pointInTimeUtc property: Restore point creation time (ISO8601 format), specifying the time to restore
from.
|
ServerInner |
withSku(Sku sku)
Set the sku property: The SKU (pricing tier) of the server.
|
ServerInner |
withSourceServerResourceId(String sourceServerResourceId)
Set the sourceServerResourceId property: The source server resource ID to restore from.
|
ServerInner |
withStorage(Storage storage)
Set the storage property: Storage properties of a server.
|
ServerInner |
withTags(Map<String,String> tags) |
ServerInner |
withTagsPropertiesTags(Map<String,String> tags)
Set the tags property: Application-specific metadata in the form of key-value pairs.
|
ServerInner |
withVersion(ServerVersion version)
Set the version property: PostgreSQL Server version.
|
public Sku sku()
public ServerInner withSku(Sku sku)
sku - the sku value to set.public com.azure.core.management.SystemData systemData()
public ServerInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic ServerInner withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic String administratorLogin()
public ServerInner withAdministratorLogin(String administratorLogin)
administratorLogin - the administratorLogin value to set.public String administratorLoginPassword()
public ServerInner withAdministratorLoginPassword(String administratorLoginPassword)
administratorLoginPassword - the administratorLoginPassword value to set.public ServerVersion version()
public ServerInner withVersion(ServerVersion version)
version - the version value to set.public String minorVersion()
public ServerState state()
public String fullyQualifiedDomainName()
public Storage storage()
public ServerInner withStorage(Storage storage)
storage - the storage value to set.public Backup backup()
public ServerInner withBackup(Backup backup)
backup - the backup value to set.public Network network()
public ServerInner withNetwork(Network network)
network - the network value to set.public HighAvailability highAvailability()
public ServerInner withHighAvailability(HighAvailability highAvailability)
highAvailability - the highAvailability value to set.public MaintenanceWindow maintenanceWindow()
public ServerInner withMaintenanceWindow(MaintenanceWindow maintenanceWindow)
maintenanceWindow - the maintenanceWindow value to set.public String sourceServerResourceId()
public ServerInner withSourceServerResourceId(String sourceServerResourceId)
sourceServerResourceId - the sourceServerResourceId value to set.public OffsetDateTime pointInTimeUtc()
public ServerInner withPointInTimeUtc(OffsetDateTime pointInTimeUtc)
pointInTimeUtc - the pointInTimeUtc value to set.public String availabilityZone()
public ServerInner withAvailabilityZone(String availabilityZone)
availabilityZone - the availabilityZone value to set.public CreateMode createMode()
public ServerInner withCreateMode(CreateMode createMode)
createMode - the createMode value to set.public Map<String,String> tagsPropertiesTags()
public ServerInner withTagsPropertiesTags(Map<String,String> tags)
tags - the tags value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.