Class ConnectionProfileCloudsqlSettings
- java.lang.Object
-
- com.pulumi.gcp.databasemigrationservice.outputs.ConnectionProfileCloudsqlSettings
-
public final class ConnectionProfileCloudsqlSettings extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConnectionProfileCloudsqlSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
activationPolicy()
java.util.Optional<java.lang.Boolean>
autoStorageIncrease()
static ConnectionProfileCloudsqlSettings.Builder
builder()
static ConnectionProfileCloudsqlSettings.Builder
builder(ConnectionProfileCloudsqlSettings defaults)
java.util.Optional<java.lang.String>
cmekKeyName()
java.util.Optional<java.lang.String>
collation()
java.util.Map<java.lang.String,java.lang.String>
databaseFlags()
java.util.Optional<java.lang.String>
databaseVersion()
java.util.Optional<java.lang.String>
dataDiskSizeGb()
java.util.Optional<java.lang.String>
dataDiskType()
java.util.Optional<java.lang.String>
edition()
java.util.Optional<ConnectionProfileCloudsqlSettingsIpConfig>
ipConfig()
java.util.Optional<java.lang.String>
rootPassword()
java.util.Optional<java.lang.Boolean>
rootPasswordSet()
java.lang.String
sourceId()
java.util.Optional<java.lang.String>
storageAutoResizeLimit()
java.util.Optional<java.lang.String>
tier()
java.util.Map<java.lang.String,java.lang.String>
userLabels()
java.util.Optional<java.lang.String>
zone()
-
-
-
Method Detail
-
activationPolicy
public java.util.Optional<java.lang.String> activationPolicy()
- Returns:
- The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Possible values are: `ALWAYS`, `NEVER`.
-
autoStorageIncrease
public java.util.Optional<java.lang.Boolean> autoStorageIncrease()
- Returns:
- If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
-
cmekKeyName
public java.util.Optional<java.lang.String> cmekKeyName()
- Returns:
- The KMS key name used for the csql instance.
-
collation
public java.util.Optional<java.lang.String> collation()
- Returns:
- The Cloud SQL default instance level collation.
-
dataDiskSizeGb
public java.util.Optional<java.lang.String> dataDiskSizeGb()
- Returns:
- The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
-
dataDiskType
public java.util.Optional<java.lang.String> dataDiskType()
- Returns:
- The type of storage. Possible values are: `PD_SSD`, `PD_HDD`.
-
databaseFlags
public java.util.Map<java.lang.String,java.lang.String> databaseFlags()
- Returns:
- The database flags passed to the Cloud SQL instance at startup.
-
databaseVersion
public java.util.Optional<java.lang.String> databaseVersion()
- Returns:
- The database engine type and version. Currently supported values located at https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.connectionProfiles#sqldatabaseversion
-
edition
public java.util.Optional<java.lang.String> edition()
- Returns:
- The edition of the given Cloud SQL instance. Possible values are: `ENTERPRISE`, `ENTERPRISE_PLUS`.
-
ipConfig
public java.util.Optional<ConnectionProfileCloudsqlSettingsIpConfig> ipConfig()
- Returns:
- The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled. Structure is documented below.
-
rootPassword
public java.util.Optional<java.lang.String> rootPassword()
- Returns:
- Input only. Initial root password. **Note**: This property is sensitive and will not be displayed in the plan.
-
rootPasswordSet
public java.util.Optional<java.lang.Boolean> rootPasswordSet()
- Returns:
- (Output) Output only. Indicates If this connection profile root password is stored.
-
sourceId
public java.lang.String sourceId()
- Returns:
- The Database Migration Service source connection profile ID, in the format: projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID
-
storageAutoResizeLimit
public java.util.Optional<java.lang.String> storageAutoResizeLimit()
- Returns:
- The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
-
tier
public java.util.Optional<java.lang.String> tier()
- Returns:
- The tier (or machine type) for this instance, for example: db-n1-standard-1 (MySQL instances) or db-custom-1-3840 (PostgreSQL instances). For more information, see https://cloud.google.com/sql/docs/mysql/instance-settings
-
userLabels
public java.util.Map<java.lang.String,java.lang.String> userLabels()
- Returns:
- The resource labels for a Cloud SQL instance to use to annotate any related underlying resources such as Compute Engine VMs.
-
zone
public java.util.Optional<java.lang.String> zone()
- Returns:
- The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.
-
builder
public static ConnectionProfileCloudsqlSettings.Builder builder()
-
builder
public static ConnectionProfileCloudsqlSettings.Builder builder(ConnectionProfileCloudsqlSettings defaults)
-
-