DatabaseInstanceSettingsIpConfiguration class
Constructors
-
DatabaseInstanceSettingsIpConfiguration({Input<String?>? allocatedIpRange, Input<List<DatabaseInstanceSettingsIpConfigurationAuthorizedNetwork>?>? authorizedNetworks, Input<List<String>?>? customSubjectAlternativeNames, Input<bool?>? enablePrivatePathForGoogleCloudServices, Input<bool?>? ipv4Enabled, Input<String?>? privateNetwork, Input<List<DatabaseInstanceSettingsIpConfigurationPscConfig>?>? pscConfigs, Input<String?>? serverCaMode, Input<String?>? serverCaPool, Input<String?>? serverCertificateRotationMode, Input<String?>? sslMode})
-
Creates a new DatabaseInstanceSettingsIpConfiguration.
allocatedIpRange The name of the allocated ip range for the private ip CloudSQL 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?.
authorizedNetworks Optional.
customSubjectAlternativeNames The custom subject alternative names for an instance with CUSTOMER_MANAGED_CAS_CA as the serverCaMode.
enablePrivatePathForGoogleCloudServices Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported.
ipv4Enabled Whether this Cloud SQL instance should be assigned
privateNetwork The VPC network from which the Cloud SQL
pscConfigs PSC settings for a Cloud SQL instance.
serverCaMode Specify how the server certificate's Certificate Authority is hosted. Supported values are GOOGLE_MANAGED_INTERNAL_CA, GOOGLE_MANAGED_CAS_CA, and CUSTOMER_MANAGED_CAS_CA.
serverCaPool The resource name of the server CA pool for an instance with CUSTOMER_MANAGED_CAS_CA as the serverCaMode.
serverCertificateRotationMode Controls the automatic server certificate rotation feature. Supported values are NO_AUTOMATIC_ROTATIONand AUTOMATIC_ROTATION_DURING_MAINTENANCE. AUTOMATIC_ROTATION_DURING_MAINTENANCE can only be set if serverCaMode is either GOOGLE_MANAGED_CAS_CA or CUSTOMER_MANAGED_CAS_CA. See API reference doc for details.
sslMode Specify how SSL connection should be enforced in DB connections. Supported values are ALLOW_UNENCRYPTED_AND_ENCRYPTED, ENCRYPTED_ONLY, and TRUSTED_CLIENT_CERTIFICATE_REQUIRED (not supported for SQL Server). See API reference doc for details.
const
-
DatabaseInstanceSettingsIpConfiguration.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
allocatedIpRange
→ Input<String?>?
-
The name of the allocated ip range for the private ip CloudSQL 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?.
final
-
authorizedNetworks
→ Input<List<DatabaseInstanceSettingsIpConfigurationAuthorizedNetwork>?>?
-
final
-
customSubjectAlternativeNames
→ Input<List<String>?>?
-
The custom subject alternative names for an instance with
CUSTOMER_MANAGED_CAS_CA as the serverCaMode.
final
-
enablePrivatePathForGoogleCloudServices
→ Input<bool?>?
-
Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
ipv4Enabled
→ Input<bool?>?
-
Whether this Cloud SQL instance should be assigned
a public IPV4 address. At least
ipv4Enabled must be enabled or a
privateNetwork must be configured.
final
-
privateNetwork
→ Input<String?>?
-
The VPC network from which the Cloud SQL
instance is accessible for private IP. For example, projects/myProject/global/networks/default.
Specifying a network enables private IP.
At least
ipv4Enabled must be enabled or a privateNetwork must be configured.
This setting can be updated, but it cannot be removed after it is set.
final
-
pscConfigs
→ Input<List<DatabaseInstanceSettingsIpConfigurationPscConfig>?>?
-
PSC settings for a Cloud SQL instance.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
serverCaMode
→ Input<String?>?
-
Specify how the server certificate's Certificate Authority is hosted. Supported values are
GOOGLE_MANAGED_INTERNAL_CA, GOOGLE_MANAGED_CAS_CA, and CUSTOMER_MANAGED_CAS_CA.
final
-
serverCaPool
→ Input<String?>?
-
The resource name of the server CA pool for an instance with
CUSTOMER_MANAGED_CAS_CA as the serverCaMode.
final
-
serverCertificateRotationMode
→ Input<String?>?
-
Controls the automatic server certificate rotation feature. Supported values are
NO_AUTOMATIC_ROTATIONand AUTOMATIC_ROTATION_DURING_MAINTENANCE. AUTOMATIC_ROTATION_DURING_MAINTENANCE can only be set if serverCaMode is either GOOGLE_MANAGED_CAS_CA or CUSTOMER_MANAGED_CAS_CA. See API reference doc for details.
final
-
sslMode
→ Input<String?>?
-
Specify how SSL connection should be enforced in DB connections. Supported values are
ALLOW_UNENCRYPTED_AND_ENCRYPTED, ENCRYPTED_ONLY, and TRUSTED_CLIENT_CERTIFICATE_REQUIRED (not supported for SQL Server). See API reference doc for details.
final