public interface Server
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Server.Definition
The entirety of the Server definition.
|
static interface |
Server.DefinitionStages
The Server definition stages.
|
static interface |
Server.Update
The template for Server update.
|
static interface |
Server.UpdateStages
The Server update stages.
|
| Modifier and Type | Method and Description |
|---|---|
String |
administratorLogin()
Gets the administratorLogin property: The administrator's login name of a server.
|
String |
administratorLoginPassword()
Gets the administratorLoginPassword property: The administrator login password (required for server creation).
|
String |
availabilityZone()
Gets the availabilityZone property: availability zone information of the server.
|
Backup |
backup()
Gets the backup property: Backup properties of a server.
|
CreateMode |
createMode()
Gets the createMode property: The mode to create a new PostgreSQL server.
|
String |
fullyQualifiedDomainName()
Gets the fullyQualifiedDomainName property: The fully qualified domain name of a server.
|
HighAvailability |
highAvailability()
Gets the highAvailability property: High availability properties of a server.
|
String |
id()
Gets the id property: Fully qualified resource Id for the resource.
|
ServerInner |
innerModel()
Gets the inner com.azure.resourcemanager.postgresqlflexibleserver.fluent.models.ServerInner object.
|
String |
location()
Gets the location property: The geo-location where the resource lives.
|
MaintenanceWindow |
maintenanceWindow()
Gets the maintenanceWindow property: Maintenance window properties of a server.
|
String |
minorVersion()
Gets the minorVersion property: The minor version of the server.
|
String |
name()
Gets the name property: The name of the resource.
|
Network |
network()
Gets the network property: Network properties of a server.
|
OffsetDateTime |
pointInTimeUtc()
Gets the pointInTimeUtc property: Restore point creation time (ISO8601 format), specifying the time to restore
from.
|
Server |
refresh()
Refreshes the resource to sync with Azure.
|
Server |
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.
|
com.azure.core.management.Region |
region()
Gets the region of the resource.
|
String |
regionName()
Gets the name of the resource region.
|
void |
restart()
Restarts a server.
|
void |
restart(RestartParameter parameters)
Restarts a server.
|
void |
restart(RestartParameter parameters,
com.azure.core.util.Context context)
Restarts a server.
|
Sku |
sku()
Gets the sku property: The SKU (pricing tier) of the server.
|
String |
sourceServerResourceId()
Gets the sourceServerResourceId property: The source server resource ID to restore from.
|
void |
start()
Starts a server.
|
void |
start(com.azure.core.util.Context context)
Starts a server.
|
ServerState |
state()
Gets the state property: A state of a server that is visible to user.
|
void |
stop()
Stops a server.
|
void |
stop(com.azure.core.util.Context context)
Stops a server.
|
Storage |
storage()
Gets the storage property: Storage properties of a server.
|
com.azure.core.management.SystemData |
systemData()
Gets the systemData property: The system metadata relating to this resource.
|
Map<String,String> |
tags()
Gets the tags property: Resource tags.
|
Map<String,String> |
tagsPropertiesTags()
Gets the tagsPropertiesTags property: Application-specific metadata in the form of key-value pairs.
|
String |
type()
Gets the type property: The type of the resource.
|
Server.Update |
update()
Begins update for the Server resource.
|
ServerVersion |
version()
Gets the version property: PostgreSQL Server version.
|
String id()
String name()
String type()
String location()
Sku sku()
com.azure.core.management.SystemData systemData()
String administratorLogin()
String administratorLoginPassword()
ServerVersion version()
String minorVersion()
ServerState state()
String fullyQualifiedDomainName()
Storage storage()
Backup backup()
Network network()
HighAvailability highAvailability()
MaintenanceWindow maintenanceWindow()
String sourceServerResourceId()
OffsetDateTime pointInTimeUtc()
String availabilityZone()
CreateMode createMode()
Map<String,String> tagsPropertiesTags()
com.azure.core.management.Region region()
String regionName()
ServerInner innerModel()
Server.Update update()
Server refresh()
Server refresh(com.azure.core.util.Context context)
context - The context to associate with this operation.void restart(RestartParameter parameters)
parameters - The parameters for restarting a server.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void restart()
com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void restart(RestartParameter parameters, com.azure.core.util.Context context)
parameters - The parameters for restarting a server.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void start()
com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void start(com.azure.core.util.Context context)
context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void stop()
com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void stop(com.azure.core.util.Context context)
context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.