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 administratorLogin property: The administrator's login name of a server.

abstract OffsetDateTime earliestRestoreDate()

Gets the earliestRestoreDate property: Earliest restore point creation time (ISO8601 format).

abstract String fullyQualifiedDomainName()

Gets the fullyQualifiedDomainName property: The fully qualified domain name of a server.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract ServerInner innerModel()

Gets the inner com.azure.resourcemanager.mariadb.fluent.models.ServerInner object.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract String masterServerId()

Gets the masterServerId property: The master server id of a replica server.

abstract MinimalTlsVersionEnum minimalTlsVersion()

Gets the minimalTlsVersion property: Enforce a minimal Tls version for the server.

abstract String name()

Gets the name property: The name of the resource.

abstract List<ServerPrivateEndpointConnection> privateEndpointConnections()

Gets the privateEndpointConnections property: List of private endpoint connections on a server.

abstract PublicNetworkAccessEnum publicNetworkAccess()

Gets the publicNetworkAccess property: Whether or not public network access is allowed for this server.

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 replicaCapacity property: The maximum number of replicas that a master server can have.

abstract String replicationRole()

Gets the replicationRole property: The replication role of the server.

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 SslEnforcementEnum sslEnforcement()

Gets the sslEnforcement property: Enable ssl enforcement or not when connect to server.

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 StorageProfile storageProfile()

Gets the storageProfile property: Storage profile of a server.

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 ServerState userVisibleState()

Gets the userVisibleState property: A state of a server that is visible to user.

abstract ServerVersion 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:

the administratorLogin value.

earliestRestoreDate

public abstract OffsetDateTime earliestRestoreDate()

Gets the earliestRestoreDate property: Earliest restore point creation time (ISO8601 format).

Returns:

the earliestRestoreDate value.

fullyQualifiedDomainName

public abstract String fullyQualifiedDomainName()

Gets the fullyQualifiedDomainName property: The fully qualified domain name of a server.

Returns:

the fullyQualifiedDomainName value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract ServerInner innerModel()

Gets the inner com.azure.resourcemanager.mariadb.fluent.models.ServerInner object.

Returns:

the inner object.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

masterServerId

public abstract String masterServerId()

Gets the masterServerId property: The master server id of a replica server.

Returns:

the masterServerId value.

minimalTlsVersion

public abstract MinimalTlsVersionEnum minimalTlsVersion()

Gets the minimalTlsVersion property: Enforce a minimal Tls version for the server.

Returns:

the minimalTlsVersion value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

privateEndpointConnections

public abstract List privateEndpointConnections()

Gets the privateEndpointConnections property: List of private endpoint connections on a server.

Returns:

the privateEndpointConnections value.

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:

the publicNetworkAccess value.

refresh

public abstract Server refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract Server refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

replicaCapacity

public abstract Integer replicaCapacity()

Gets the replicaCapacity property: The maximum number of replicas that a master server can have.

Returns:

the replicaCapacity value.

replicationRole

public abstract String replicationRole()

Gets the replicationRole property: The replication role of the server.

Returns:

the replicationRole value.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

restart

public abstract void restart()

Restarts a server.

restart

public abstract void restart(Context context)

Restarts a server.

Parameters:

context - The context to associate with this operation.

sku

public abstract Sku sku()

Gets the sku property: The SKU (pricing tier) of the server.

Returns:

the sku value.

sslEnforcement

public abstract SslEnforcementEnum sslEnforcement()

Gets the sslEnforcement property: Enable ssl enforcement or not when connect to server.

Returns:

the sslEnforcement value.

start

public abstract void start()

Starts a stopped server.

start

public abstract void start(Context context)

Starts a stopped server.

Parameters:

context - The context to associate with this operation.

stop

public abstract void stop()

Stops a running server.

stop

public abstract void stop(Context context)

Stops a running server.

Parameters:

context - The context to associate with this operation.

storageProfile

public abstract StorageProfile storageProfile()

Gets the storageProfile property: Storage profile of a server.

Returns:

the storageProfile value.

tags

public abstract Map tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract Server.Update update()

Begins update for the Server resource.

Returns:

the stage of resource update.

userVisibleState

public abstract ServerState userVisibleState()

Gets the userVisibleState property: A state of a server that is visible to user.

Returns:

the userVisibleState value.

version

public abstract ServerVersion version()

Gets the version property: Server version.

Returns:

the version value.

Applies to