ServerPropertiesForCreate Class
- java.
lang. Object - com.
azure. resourcemanager. mysql. models. ServerPropertiesForCreate
- com.
public class ServerPropertiesForCreate
The properties used to create a new server.
Constructor | Description | |
---|---|---|
Server |
Modifier and Type | Method and Description |
---|---|
Infrastructure |
infrastructure Get the infrastructure |
Minimal |
minimal Get the minimal |
Public |
public Get the public |
Ssl |
ssl Get the ssl |
Storage |
storage Get the storage |
void |
validate()
Validates the instance. |
Server |
version()
Get the version property: Server version. |
Server |
with Set the infrastructure |
Server |
with Set the minimal |
Server |
with Set the public |
Server |
with Set the ssl |
Server |
with Set the storage |
Server |
with Set the version property: Server version. |
Methods inherited from java.lang.Object
ServerPropertiesForCreate
public ServerPropertiesForCreate()
infrastructureEncryption
public InfrastructureEncryption infrastructureEncryption()
Get the infrastructureEncryption property: Status showing whether the server enabled infrastructure encryption.
Returns:
minimalTlsVersion
public MinimalTlsVersionEnum minimalTlsVersion()
Get the minimalTlsVersion property: Enforce a minimal Tls version for the server.
Returns:
publicNetworkAccess
public PublicNetworkAccessEnum publicNetworkAccess()
Get 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:
sslEnforcement
public SslEnforcementEnum sslEnforcement()
Get the sslEnforcement property: Enable ssl enforcement or not when connect to server.
Returns:
storageProfile
public StorageProfile storageProfile()
Get the storageProfile property: Storage profile of a server.
Returns:
validate
public void validate()
Validates the instance.
version
public ServerVersion version()
Get the version property: Server version.
Returns:
withInfrastructureEncryption
public ServerPropertiesForCreate withInfrastructureEncryption(InfrastructureEncryption infrastructureEncryption)
Set the infrastructureEncryption property: Status showing whether the server enabled infrastructure encryption.
Parameters:
Returns:
withMinimalTlsVersion
public ServerPropertiesForCreate withMinimalTlsVersion(MinimalTlsVersionEnum minimalTlsVersion)
Set the minimalTlsVersion property: Enforce a minimal Tls version for the server.
Parameters:
Returns:
withPublicNetworkAccess
public ServerPropertiesForCreate withPublicNetworkAccess(PublicNetworkAccessEnum publicNetworkAccess)
Set 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'.
Parameters:
Returns:
withSslEnforcement
public ServerPropertiesForCreate withSslEnforcement(SslEnforcementEnum sslEnforcement)
Set the sslEnforcement property: Enable ssl enforcement or not when connect to server.
Parameters:
Returns:
withStorageProfile
public ServerPropertiesForCreate withStorageProfile(StorageProfile storageProfile)
Set the storageProfile property: Storage profile of a server.
Parameters:
Returns:
withVersion
public ServerPropertiesForCreate withVersion(ServerVersion version)
Set the version property: Server version.
Parameters:
Returns:
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: