GetDatabaseInstancesInstanceSettingIpConfiguration constructor
- required Input<
String> allocatedIpRange, - required Input<
List< authorizedNetworks,GetDatabaseInstancesInstanceSettingIpConfigurationAuthorizedNetwork> > - required Input<
List< customSubjectAlternativeNames,String> > - required Input<
bool> enablePrivatePathForGoogleCloudServices, - required Input<
bool> ipv4Enabled, - required Input<
String> privateNetwork, - required Input<
List< pscConfigs,GetDatabaseInstancesInstanceSettingIpConfigurationPscConfig> > - required Input<
String> serverCaMode, - required Input<
String> serverCaPool, - required Input<
String> serverCertificateRotationMode, - required Input<
String> sslMode,
Creates a new GetDatabaseInstancesInstanceSettingIpConfiguration.
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 Required.
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 a public IPV4 address. At least ipv4Enabled must be enabled or a privateNetwork must be configured.
privateNetwork 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.
pscConfigs PSC settings for a Cloud SQL instance.
serverCaMode Specify how the server certificate's Certificate Authority is hosted.
serverCaPool The resource name of the server CA pool for an instance with "CUSTOMER_MANAGED_CAS_CA" as the "serverCaMode".
serverCertificateRotationMode Settings for how the server certificate gets rotated.
sslMode Specify how SSL connection should be enforced in DB connections.
Implementation
const GetDatabaseInstancesInstanceSettingIpConfiguration({
required this.allocatedIpRange,
required this.authorizedNetworks,
required this.customSubjectAlternativeNames,
required this.enablePrivatePathForGoogleCloudServices,
required this.ipv4Enabled,
required this.privateNetwork,
required this.pscConfigs,
required this.serverCaMode,
required this.serverCaPool,
required this.serverCertificateRotationMode,
required this.sslMode,
});