ServerInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. mysqlflexibleserver. fluent. models. ServerInner
- com.
- com.
- com.
public final class ServerInner
extends Resource
Represents a server.
Constructor Summary
| Constructor | Description |
|---|---|
| ServerInner() |
Creates an instance of Server |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
administratorLogin()
Get the administrator |
| String |
administratorLoginPassword()
Get the administrator |
| String |
availabilityZone()
Get the availability |
| Backup |
backup()
Get the backup property: Backup related properties of a server. |
|
Create |
createMode()
Get the create |
|
Data |
dataEncryption()
Get the data |
|
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
| String |
fullyQualifiedDomainName()
Get the fully |
|
High |
highAvailability()
Get the high |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
My |
identity()
Get the identity property: The cmk identity for the server. |
|
Import |
importSourceProperties()
Get the import |
|
Maintenance |
maintenanceWindow()
Get the maintenance |
| String |
name()
Get the name property: The name of the resource. |
| Network |
network()
Get the network property: Network related properties of a server. |
|
List<Private |
privateEndpointConnections()
Get the private |
| Integer |
replicaCapacity()
Get the replica |
|
Replication |
replicationRole()
Get the replication |
|
Offset |
restorePointInTime()
Get the restore |
|
My |
sku()
Get the sku property: The SKU (pricing tier) of the server. |
| String |
sourceServerResourceId()
Get the source |
|
Server |
state()
Get the state property: The state of a server. |
| Storage |
storage()
Get the storage property: Storage related properties of a server. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Server |
version()
Get the version property: Server version. |
|
Server |
withAdministratorLogin(String administratorLogin)
Set the administrator |
|
Server |
withAdministratorLoginPassword(String administratorLoginPassword)
Set the administrator |
|
Server |
withAvailabilityZone(String availabilityZone)
Set the availability |
|
Server |
withBackup(Backup backup)
Set the backup property: Backup related properties of a server. |
|
Server |
withCreateMode(CreateMode createMode)
Set the create |
|
Server |
withDataEncryption(DataEncryption dataEncryption)
Set the data |
|
Server |
withHighAvailability(HighAvailability highAvailability)
Set the high |
|
Server |
withIdentity(MySqlServerIdentity identity)
Set the identity property: The cmk identity for the server. |
|
Server |
withImportSourceProperties(ImportSourceProperties importSourceProperties)
Set the import |
|
Server |
withLocation(String location) |
|
Server |
withMaintenanceWindow(MaintenanceWindow maintenanceWindow)
Set the maintenance |
|
Server |
withNetwork(Network network)
Set the network property: Network related properties of a server. |
|
Server |
withReplicationRole(ReplicationRole replicationRole)
Set the replication |
|
Server |
withRestorePointInTime(OffsetDateTime restorePointInTime)
Set the restore |
|
Server |
withSku(MySqlServerSku sku)
Set the sku property: The SKU (pricing tier) of the server. |
|
Server |
withSourceServerResourceId(String sourceServerResourceId)
Set the source |
|
Server |
withStorage(Storage storage)
Set the storage property: Storage related properties of a server. |
|
Server |
withTags(Map<String,String> tags) |
|
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()
Creates an instance of ServerInner class.
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:
administratorLoginPassword
public String administratorLoginPassword()
Get the administratorLoginPassword property: The password of the administrator login (required for server creation).
Returns:
availabilityZone
public String availabilityZone()
Get the availabilityZone property: availability Zone information of the server.
Returns:
backup
public Backup backup()
Get the backup property: Backup related properties of a server.
Returns:
createMode
public CreateMode createMode()
Get the createMode property: The mode to create a new MySQL server.
Returns:
dataEncryption
public DataEncryption dataEncryption()
Get the dataEncryption property: The Data Encryption for CMK.
Returns:
fromJson
public static ServerInner fromJson(JsonReader jsonReader)
Reads an instance of ServerInner from the JsonReader.
Parameters:
Returns:
Throws:
fullyQualifiedDomainName
public String fullyQualifiedDomainName()
Get the fullyQualifiedDomainName property: The fully qualified domain name of a server.
Returns:
highAvailability
public HighAvailability highAvailability()
Get the highAvailability property: High availability related properties of a server.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ServerInner.id()Returns:
identity
public MySqlServerIdentity identity()
Get the identity property: The cmk identity for the server.
Returns:
importSourceProperties
public ImportSourceProperties importSourceProperties()
Get the importSourceProperties property: Source properties for import from storage.
Returns:
maintenanceWindow
public MaintenanceWindow maintenanceWindow()
Get the maintenanceWindow property: Maintenance window of a server.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ServerInner.name()Returns:
network
public Network network()
Get the network property: Network related properties of a server.
Returns:
privateEndpointConnections
public List<PrivateEndpointConnection> privateEndpointConnections()
Get the privateEndpointConnections property: PrivateEndpointConnections related properties of a server.
Returns:
replicaCapacity
public Integer replicaCapacity()
Get the replicaCapacity property: The maximum number of replicas that a primary server can have.
Returns:
replicationRole
public ReplicationRole replicationRole()
Get the replicationRole property: The replication role.
Returns:
restorePointInTime
public OffsetDateTime restorePointInTime()
Get the restorePointInTime property: Restore point creation time (ISO8601 format), specifying the time to restore from.
Returns:
sku
public MySqlServerSku sku()
Get the sku property: The SKU (pricing tier) of the server.
Returns:
sourceServerResourceId
public String sourceServerResourceId()
Get the sourceServerResourceId property: The source MySQL server id.
Returns:
state
public ServerState state()
Get the state property: The state of a server.
Returns:
storage
public Storage storage()
Get the storage property: Storage related properties of a server.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ServerInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ServerInner.type()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:
withAdministratorLoginPassword
public ServerInner withAdministratorLoginPassword(String administratorLoginPassword)
Set the administratorLoginPassword property: The password of the administrator login (required for server creation).
Parameters:
Returns:
withAvailabilityZone
public ServerInner withAvailabilityZone(String availabilityZone)
Set the availabilityZone property: availability Zone information of the server.
Parameters:
Returns:
withBackup
public ServerInner withBackup(Backup backup)
Set the backup property: Backup related properties of a server.
Parameters:
Returns:
withCreateMode
public ServerInner withCreateMode(CreateMode createMode)
Set the createMode property: The mode to create a new MySQL server.
Parameters:
Returns:
withDataEncryption
public ServerInner withDataEncryption(DataEncryption dataEncryption)
Set the dataEncryption property: The Data Encryption for CMK.
Parameters:
Returns:
withHighAvailability
public ServerInner withHighAvailability(HighAvailability highAvailability)
Set the highAvailability property: High availability related properties of a server.
Parameters:
Returns:
withIdentity
public ServerInner withIdentity(MySqlServerIdentity identity)
Set the identity property: The cmk identity for the server.
Parameters:
Returns:
withImportSourceProperties
public ServerInner withImportSourceProperties(ImportSourceProperties importSourceProperties)
Set the importSourceProperties property: Source properties for import from storage.
Parameters:
Returns:
withLocation
public ServerInner withLocation(String location)
Overrides:
ServerInner.withLocation(String location)Parameters:
withMaintenanceWindow
public ServerInner withMaintenanceWindow(MaintenanceWindow maintenanceWindow)
Set the maintenanceWindow property: Maintenance window of a server.
Parameters:
Returns:
withNetwork
public ServerInner withNetwork(Network network)
Set the network property: Network related properties of a server.
Parameters:
Returns:
withReplicationRole
public ServerInner withReplicationRole(ReplicationRole replicationRole)
Set the replicationRole property: The replication role.
Parameters:
Returns:
withRestorePointInTime
public ServerInner withRestorePointInTime(OffsetDateTime restorePointInTime)
Set the restorePointInTime property: Restore point creation time (ISO8601 format), specifying the time to restore from.
Parameters:
Returns:
withSku
public ServerInner withSku(MySqlServerSku sku)
Set the sku property: The SKU (pricing tier) of the server.
Parameters:
Returns:
withSourceServerResourceId
public ServerInner withSourceServerResourceId(String sourceServerResourceId)
Set the sourceServerResourceId property: The source MySQL server id.
Parameters:
Returns:
withStorage
public ServerInner withStorage(Storage storage)
Set the storage property: Storage related properties of a server.
Parameters:
Returns:
withTags
public ServerInner withTags(Map<String,String> tags)
Overrides:
ServerInner.withTags(Map<String,String> tags)Parameters:
withVersion
public ServerInner withVersion(ServerVersion version)
Set the version property: Server version.
Parameters:
Returns: