OnPremisesConfiguration class
On-premises instance configuration.
Constructors
-
OnPremisesConfiguration({Input<
String> ? caCertificate, Input<String> ? clientCertificate, Input<String> ? clientKey, Input<String> ? dumpFilePath, Input<String> ? hostPort, Input<String> ? kind, Input<String> ? password, Input<InstanceReference> ? sourceInstance, Input<String> ? username}) -
Creates a new OnPremisesConfiguration.
caCertificatePEM representation of the trusted CA's x509 certificate.clientCertificatePEM representation of the replica's x509 certificate.clientKeyPEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.dumpFilePathThe dump file to create the Cloud SQL replica.hostPortThe host and port of the on-premises instance in host:port formatkindThis is alwayssql#onPremisesConfiguration.passwordThe password for connecting to on-premises instance.sourceInstanceThe reference to Cloud SQL instance if the source is Cloud SQL.usernameThe username for connecting to on-premises instance.const -
OnPremisesConfiguration.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
caCertificate
→ Input<
String> ? -
PEM representation of the trusted CA's x509 certificate.
final
-
clientCertificate
→ Input<
String> ? -
PEM representation of the replica's x509 certificate.
final
-
clientKey
→ Input<
String> ? -
PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.
final
-
dumpFilePath
→ Input<
String> ? -
The dump file to create the Cloud SQL replica.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hostPort
→ Input<
String> ? -
The host and port of the on-premises instance in host:port format
final
-
kind
→ Input<
String> ? -
This is always
sql#onPremisesConfiguration.final -
password
→ Input<
String> ? -
The password for connecting to on-premises instance.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceInstance
→ Input<
InstanceReference> ? -
The reference to Cloud SQL instance if the source is Cloud SQL.
final
-
username
→ Input<
String> ? -
The username for connecting to on-premises instance.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited