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
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
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 void |
start()
Starts a stopped server. |
abstract void |
start(Context context)
Starts a stopped server. |
abstract void |
stop()
Stops a running server. |
abstract void |
stop(Context context)
Stops a running server. |
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:
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:
innerModel
public abstract ServerInner innerModel()
Gets the inner com.azure.resourcemanager.mariadb.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
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:
start
public abstract void start()
Starts a stopped server.
start
public abstract void start(Context context)
Starts a stopped server.
Parameters:
stop
public abstract void stop()
Stops a running server.
stop
public abstract void stop(Context context)
Stops a running server.
Parameters:
storageProfile
public abstract StorageProfile storageProfile()
Gets the storageProfile property: Storage profile of a server.
Returns:
tags
public abstract Map
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:
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