IpConfigurationResponse class
IP Management configuration.
Constructors
-
IpConfigurationResponse({required Input<
String> allocatedIpRange, required Input<List< authorizedNetworks, required Input<AclEntryResponse> >bool> enablePrivatePathForGoogleCloudServices, required Input<bool> ipv4Enabled, required Input<String> privateNetwork, required Input<PscConfigResponse> pscConfig, required Input<bool> requireSsl, required Input<String> sslMode}) -
Creates a new IpConfigurationResponse.
allocatedIpRangeThe name of the allocated ip range for the private ip Cloud SQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression[a-z]([-a-z0-9]*[a-z0-9])?.authorizedNetworksThe list of external networks that are allowed to connect to the instance using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:157.197.200.0/24).enablePrivatePathForGoogleCloudServicesControls connectivity to private IP instances from Google services, such as BigQuery.ipv4EnabledWhether the instance is assigned a public IP address or not.privateNetworkThe resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example,/projects/myProject/global/networks/default. This setting can be updated, but it cannot be removed after it is set.pscConfigPSC settings for this instance.requireSslWhether SSL/TLS connections over IP are enforced. If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the client certificate won't be verified. If set to true, then only allow connections encrypted with SSL/TLS and with valid client certificates. If you want to enforce SSL/TLS without enforcing the requirement for valid client certificates, then use thessl_modeflag instead of the legacyrequire_sslflag.sslModeSpecify how SSL/TLS is enforced in database connections. This flag is supported only for PostgreSQL. Use the legacyrequire_sslflag for enforcing SSL/TLS in MySQL and SQL Server. But, for PostgreSQL, use thessl_modeflag instead of the legacyrequire_sslflag. To avoid the conflict between those flags in PostgreSQL, only the following value pairs are valid: *ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTEDandrequire_ssl=false*ssl_mode=ENCRYPTED_ONLYandrequire_ssl=false*ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIREDandrequire_ssl=trueNote that the value ofssl_modegets priority over the value of the legacyrequire_ssl. For example, for the pairssl_mode=ENCRYPTED_ONLY, require_ssl=false, thessl_mode=ENCRYPTED_ONLYmeans "only accepts SSL connection", while therequire_ssl=falsemeans "both non-SSL and SSL connections are allowed". The database respectsssl_modein this case and only accepts SSL connections.const -
IpConfigurationResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
allocatedIpRange
→ Input<
String> -
The name of the allocated ip range for the private ip Cloud SQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?.final -
The list of external networks that are allowed to connect to the instance using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:
157.197.200.0/24).final -
enablePrivatePathForGoogleCloudServices
→ Input<
bool> -
Controls connectivity to private IP instances from Google services, such as BigQuery.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ipv4Enabled
→ Input<
bool> -
Whether the instance is assigned a public IP address or not.
final
-
privateNetwork
→ Input<
String> -
The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example,
/projects/myProject/global/networks/default. This setting can be updated, but it cannot be removed after it is set.final -
pscConfig
→ Input<
PscConfigResponse> -
PSC settings for this instance.
final
-
requireSsl
→ Input<
bool> -
Whether SSL/TLS connections over IP are enforced. If set to false, then allow both non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the client certificate won't be verified. If set to true, then only allow connections encrypted with SSL/TLS and with valid client certificates. If you want to enforce SSL/TLS without enforcing the requirement for valid client certificates, then use the
ssl_modeflag instead of the legacyrequire_sslflag.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sslMode
→ Input<
String> -
Specify how SSL/TLS is enforced in database connections. This flag is supported only for PostgreSQL. Use the legacy
require_sslflag for enforcing SSL/TLS in MySQL and SQL Server. But, for PostgreSQL, use thessl_modeflag instead of the legacyrequire_sslflag. To avoid the conflict between those flags in PostgreSQL, only the following value pairs are valid: *ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTEDandrequire_ssl=false*ssl_mode=ENCRYPTED_ONLYandrequire_ssl=false*ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIREDandrequire_ssl=trueNote that the value ofssl_modegets priority over the value of the legacyrequire_ssl. For example, for the pairssl_mode=ENCRYPTED_ONLY, require_ssl=false, thessl_mode=ENCRYPTED_ONLYmeans "only accepts SSL connection", while therequire_ssl=falsemeans "both non-SSL and SSL connections are allowed". The database respectsssl_modein this case and only accepts SSL connections.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