DatabaseInstanceSettingsIpConfiguration constructor
- Input<
String?> ? allocatedIpRange, - Input<
List< ? authorizedNetworks,DatabaseInstanceSettingsIpConfigurationAuthorizedNetwork> ?> - Input<
List< ? customSubjectAlternativeNames,String> ?> - Input<
bool?> ? enablePrivatePathForGoogleCloudServices, - Input<
bool?> ? ipv4Enabled, - Input<
String?> ? privateNetwork, - Input<
List< ? pscConfigs,DatabaseInstanceSettingsIpConfigurationPscConfig> ?> - 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.
Implementation
const DatabaseInstanceSettingsIpConfiguration({
this.allocatedIpRange,
this.authorizedNetworks,
this.customSubjectAlternativeNames,
this.enablePrivatePathForGoogleCloudServices,
this.ipv4Enabled,
this.privateNetwork,
this.pscConfigs,
this.serverCaMode,
this.serverCaPool,
this.serverCertificateRotationMode,
this.sslMode,
});