Documentation ¶
Index ¶
- type Database
- type DatabaseArgs
- type DatabaseInstance
- type DatabaseInstanceArgs
- type DatabaseInstanceIpAddress
- type DatabaseInstanceIpAddressArgs
- func (DatabaseInstanceIpAddressArgs) ElementType() reflect.Type
- func (i DatabaseInstanceIpAddressArgs) ToDatabaseInstanceIpAddressOutput() DatabaseInstanceIpAddressOutput
- func (i DatabaseInstanceIpAddressArgs) ToDatabaseInstanceIpAddressOutputWithContext(ctx context.Context) DatabaseInstanceIpAddressOutput
- type DatabaseInstanceIpAddressArray
- func (DatabaseInstanceIpAddressArray) ElementType() reflect.Type
- func (i DatabaseInstanceIpAddressArray) ToDatabaseInstanceIpAddressArrayOutput() DatabaseInstanceIpAddressArrayOutput
- func (i DatabaseInstanceIpAddressArray) ToDatabaseInstanceIpAddressArrayOutputWithContext(ctx context.Context) DatabaseInstanceIpAddressArrayOutput
- type DatabaseInstanceIpAddressArrayInput
- type DatabaseInstanceIpAddressArrayOutput
- func (DatabaseInstanceIpAddressArrayOutput) ElementType() reflect.Type
- func (o DatabaseInstanceIpAddressArrayOutput) Index(i pulumi.IntInput) DatabaseInstanceIpAddressOutput
- func (o DatabaseInstanceIpAddressArrayOutput) ToDatabaseInstanceIpAddressArrayOutput() DatabaseInstanceIpAddressArrayOutput
- func (o DatabaseInstanceIpAddressArrayOutput) ToDatabaseInstanceIpAddressArrayOutputWithContext(ctx context.Context) DatabaseInstanceIpAddressArrayOutput
- type DatabaseInstanceIpAddressInput
- type DatabaseInstanceIpAddressOutput
- func (DatabaseInstanceIpAddressOutput) ElementType() reflect.Type
- func (o DatabaseInstanceIpAddressOutput) IpAddress() pulumi.StringPtrOutput
- func (o DatabaseInstanceIpAddressOutput) TimeToRetire() pulumi.StringPtrOutput
- func (o DatabaseInstanceIpAddressOutput) ToDatabaseInstanceIpAddressOutput() DatabaseInstanceIpAddressOutput
- func (o DatabaseInstanceIpAddressOutput) ToDatabaseInstanceIpAddressOutputWithContext(ctx context.Context) DatabaseInstanceIpAddressOutput
- func (o DatabaseInstanceIpAddressOutput) Type() pulumi.StringPtrOutput
- type DatabaseInstanceReplicaConfiguration
- type DatabaseInstanceReplicaConfigurationArgs
- func (DatabaseInstanceReplicaConfigurationArgs) ElementType() reflect.Type
- func (i DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationOutput() DatabaseInstanceReplicaConfigurationOutput
- func (i DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationOutputWithContext(ctx context.Context) DatabaseInstanceReplicaConfigurationOutput
- func (i DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationPtrOutput() DatabaseInstanceReplicaConfigurationPtrOutput
- func (i DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceReplicaConfigurationPtrOutput
- type DatabaseInstanceReplicaConfigurationInput
- type DatabaseInstanceReplicaConfigurationOutput
- func (o DatabaseInstanceReplicaConfigurationOutput) CaCertificate() pulumi.StringPtrOutput
- func (o DatabaseInstanceReplicaConfigurationOutput) ClientCertificate() pulumi.StringPtrOutput
- func (o DatabaseInstanceReplicaConfigurationOutput) ClientKey() pulumi.StringPtrOutput
- func (o DatabaseInstanceReplicaConfigurationOutput) ConnectRetryInterval() pulumi.IntPtrOutput
- func (o DatabaseInstanceReplicaConfigurationOutput) DumpFilePath() pulumi.StringPtrOutput
- func (DatabaseInstanceReplicaConfigurationOutput) ElementType() reflect.Type
- func (o DatabaseInstanceReplicaConfigurationOutput) FailoverTarget() pulumi.BoolPtrOutput
- func (o DatabaseInstanceReplicaConfigurationOutput) MasterHeartbeatPeriod() pulumi.IntPtrOutput
- func (o DatabaseInstanceReplicaConfigurationOutput) Password() pulumi.StringPtrOutput
- func (o DatabaseInstanceReplicaConfigurationOutput) SslCipher() pulumi.StringPtrOutput
- func (o DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationOutput() DatabaseInstanceReplicaConfigurationOutput
- func (o DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationOutputWithContext(ctx context.Context) DatabaseInstanceReplicaConfigurationOutput
- func (o DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationPtrOutput() DatabaseInstanceReplicaConfigurationPtrOutput
- func (o DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceReplicaConfigurationPtrOutput
- func (o DatabaseInstanceReplicaConfigurationOutput) Username() pulumi.StringPtrOutput
- func (o DatabaseInstanceReplicaConfigurationOutput) VerifyServerCertificate() pulumi.BoolPtrOutput
- type DatabaseInstanceReplicaConfigurationPtrInput
- type DatabaseInstanceReplicaConfigurationPtrOutput
- func (o DatabaseInstanceReplicaConfigurationPtrOutput) CaCertificate() pulumi.StringPtrOutput
- func (o DatabaseInstanceReplicaConfigurationPtrOutput) ClientCertificate() pulumi.StringPtrOutput
- func (o DatabaseInstanceReplicaConfigurationPtrOutput) ClientKey() pulumi.StringPtrOutput
- func (o DatabaseInstanceReplicaConfigurationPtrOutput) ConnectRetryInterval() pulumi.IntPtrOutput
- func (o DatabaseInstanceReplicaConfigurationPtrOutput) DumpFilePath() pulumi.StringPtrOutput
- func (o DatabaseInstanceReplicaConfigurationPtrOutput) Elem() DatabaseInstanceReplicaConfigurationOutput
- func (DatabaseInstanceReplicaConfigurationPtrOutput) ElementType() reflect.Type
- func (o DatabaseInstanceReplicaConfigurationPtrOutput) FailoverTarget() pulumi.BoolPtrOutput
- func (o DatabaseInstanceReplicaConfigurationPtrOutput) MasterHeartbeatPeriod() pulumi.IntPtrOutput
- func (o DatabaseInstanceReplicaConfigurationPtrOutput) Password() pulumi.StringPtrOutput
- func (o DatabaseInstanceReplicaConfigurationPtrOutput) SslCipher() pulumi.StringPtrOutput
- func (o DatabaseInstanceReplicaConfigurationPtrOutput) ToDatabaseInstanceReplicaConfigurationPtrOutput() DatabaseInstanceReplicaConfigurationPtrOutput
- func (o DatabaseInstanceReplicaConfigurationPtrOutput) ToDatabaseInstanceReplicaConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceReplicaConfigurationPtrOutput
- func (o DatabaseInstanceReplicaConfigurationPtrOutput) Username() pulumi.StringPtrOutput
- func (o DatabaseInstanceReplicaConfigurationPtrOutput) VerifyServerCertificate() pulumi.BoolPtrOutput
- type DatabaseInstanceServerCaCert
- type DatabaseInstanceServerCaCertArgs
- func (DatabaseInstanceServerCaCertArgs) ElementType() reflect.Type
- func (i DatabaseInstanceServerCaCertArgs) ToDatabaseInstanceServerCaCertOutput() DatabaseInstanceServerCaCertOutput
- func (i DatabaseInstanceServerCaCertArgs) ToDatabaseInstanceServerCaCertOutputWithContext(ctx context.Context) DatabaseInstanceServerCaCertOutput
- func (i DatabaseInstanceServerCaCertArgs) ToDatabaseInstanceServerCaCertPtrOutput() DatabaseInstanceServerCaCertPtrOutput
- func (i DatabaseInstanceServerCaCertArgs) ToDatabaseInstanceServerCaCertPtrOutputWithContext(ctx context.Context) DatabaseInstanceServerCaCertPtrOutput
- type DatabaseInstanceServerCaCertInput
- type DatabaseInstanceServerCaCertOutput
- func (o DatabaseInstanceServerCaCertOutput) Cert() pulumi.StringPtrOutput
- func (o DatabaseInstanceServerCaCertOutput) CommonName() pulumi.StringPtrOutput
- func (o DatabaseInstanceServerCaCertOutput) CreateTime() pulumi.StringPtrOutput
- func (DatabaseInstanceServerCaCertOutput) ElementType() reflect.Type
- func (o DatabaseInstanceServerCaCertOutput) ExpirationTime() pulumi.StringPtrOutput
- func (o DatabaseInstanceServerCaCertOutput) Sha1Fingerprint() pulumi.StringPtrOutput
- func (o DatabaseInstanceServerCaCertOutput) ToDatabaseInstanceServerCaCertOutput() DatabaseInstanceServerCaCertOutput
- func (o DatabaseInstanceServerCaCertOutput) ToDatabaseInstanceServerCaCertOutputWithContext(ctx context.Context) DatabaseInstanceServerCaCertOutput
- func (o DatabaseInstanceServerCaCertOutput) ToDatabaseInstanceServerCaCertPtrOutput() DatabaseInstanceServerCaCertPtrOutput
- func (o DatabaseInstanceServerCaCertOutput) ToDatabaseInstanceServerCaCertPtrOutputWithContext(ctx context.Context) DatabaseInstanceServerCaCertPtrOutput
- type DatabaseInstanceServerCaCertPtrInput
- type DatabaseInstanceServerCaCertPtrOutput
- func (o DatabaseInstanceServerCaCertPtrOutput) Cert() pulumi.StringPtrOutput
- func (o DatabaseInstanceServerCaCertPtrOutput) CommonName() pulumi.StringPtrOutput
- func (o DatabaseInstanceServerCaCertPtrOutput) CreateTime() pulumi.StringPtrOutput
- func (o DatabaseInstanceServerCaCertPtrOutput) Elem() DatabaseInstanceServerCaCertOutput
- func (DatabaseInstanceServerCaCertPtrOutput) ElementType() reflect.Type
- func (o DatabaseInstanceServerCaCertPtrOutput) ExpirationTime() pulumi.StringPtrOutput
- func (o DatabaseInstanceServerCaCertPtrOutput) Sha1Fingerprint() pulumi.StringPtrOutput
- func (o DatabaseInstanceServerCaCertPtrOutput) ToDatabaseInstanceServerCaCertPtrOutput() DatabaseInstanceServerCaCertPtrOutput
- func (o DatabaseInstanceServerCaCertPtrOutput) ToDatabaseInstanceServerCaCertPtrOutputWithContext(ctx context.Context) DatabaseInstanceServerCaCertPtrOutput
- type DatabaseInstanceSettings
- type DatabaseInstanceSettingsArgs
- func (DatabaseInstanceSettingsArgs) ElementType() reflect.Type
- func (i DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsOutput() DatabaseInstanceSettingsOutput
- func (i DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsOutputWithContext(ctx context.Context) DatabaseInstanceSettingsOutput
- func (i DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsPtrOutput() DatabaseInstanceSettingsPtrOutput
- func (i DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsPtrOutput
- type DatabaseInstanceSettingsBackupConfiguration
- type DatabaseInstanceSettingsBackupConfigurationArgs
- func (DatabaseInstanceSettingsBackupConfigurationArgs) ElementType() reflect.Type
- func (i DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationOutput() DatabaseInstanceSettingsBackupConfigurationOutput
- func (i DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationOutputWithContext(ctx context.Context) DatabaseInstanceSettingsBackupConfigurationOutput
- func (i DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationPtrOutput() DatabaseInstanceSettingsBackupConfigurationPtrOutput
- func (i DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsBackupConfigurationPtrOutput
- type DatabaseInstanceSettingsBackupConfigurationInput
- type DatabaseInstanceSettingsBackupConfigurationOutput
- func (o DatabaseInstanceSettingsBackupConfigurationOutput) BinaryLogEnabled() pulumi.BoolPtrOutput
- func (DatabaseInstanceSettingsBackupConfigurationOutput) ElementType() reflect.Type
- func (o DatabaseInstanceSettingsBackupConfigurationOutput) Enabled() pulumi.BoolPtrOutput
- func (o DatabaseInstanceSettingsBackupConfigurationOutput) Location() pulumi.StringPtrOutput
- func (o DatabaseInstanceSettingsBackupConfigurationOutput) StartTime() pulumi.StringPtrOutput
- func (o DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationOutput() DatabaseInstanceSettingsBackupConfigurationOutput
- func (o DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationOutputWithContext(ctx context.Context) DatabaseInstanceSettingsBackupConfigurationOutput
- func (o DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutput() DatabaseInstanceSettingsBackupConfigurationPtrOutput
- func (o DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsBackupConfigurationPtrOutput
- type DatabaseInstanceSettingsBackupConfigurationPtrInput
- type DatabaseInstanceSettingsBackupConfigurationPtrOutput
- func (o DatabaseInstanceSettingsBackupConfigurationPtrOutput) BinaryLogEnabled() pulumi.BoolPtrOutput
- func (o DatabaseInstanceSettingsBackupConfigurationPtrOutput) Elem() DatabaseInstanceSettingsBackupConfigurationOutput
- func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) ElementType() reflect.Type
- func (o DatabaseInstanceSettingsBackupConfigurationPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o DatabaseInstanceSettingsBackupConfigurationPtrOutput) Location() pulumi.StringPtrOutput
- func (o DatabaseInstanceSettingsBackupConfigurationPtrOutput) StartTime() pulumi.StringPtrOutput
- func (o DatabaseInstanceSettingsBackupConfigurationPtrOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutput() DatabaseInstanceSettingsBackupConfigurationPtrOutput
- func (o DatabaseInstanceSettingsBackupConfigurationPtrOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsBackupConfigurationPtrOutput
- type DatabaseInstanceSettingsDatabaseFlag
- type DatabaseInstanceSettingsDatabaseFlagArgs
- func (DatabaseInstanceSettingsDatabaseFlagArgs) ElementType() reflect.Type
- func (i DatabaseInstanceSettingsDatabaseFlagArgs) ToDatabaseInstanceSettingsDatabaseFlagOutput() DatabaseInstanceSettingsDatabaseFlagOutput
- func (i DatabaseInstanceSettingsDatabaseFlagArgs) ToDatabaseInstanceSettingsDatabaseFlagOutputWithContext(ctx context.Context) DatabaseInstanceSettingsDatabaseFlagOutput
- type DatabaseInstanceSettingsDatabaseFlagArray
- func (DatabaseInstanceSettingsDatabaseFlagArray) ElementType() reflect.Type
- func (i DatabaseInstanceSettingsDatabaseFlagArray) ToDatabaseInstanceSettingsDatabaseFlagArrayOutput() DatabaseInstanceSettingsDatabaseFlagArrayOutput
- func (i DatabaseInstanceSettingsDatabaseFlagArray) ToDatabaseInstanceSettingsDatabaseFlagArrayOutputWithContext(ctx context.Context) DatabaseInstanceSettingsDatabaseFlagArrayOutput
- type DatabaseInstanceSettingsDatabaseFlagArrayInput
- type DatabaseInstanceSettingsDatabaseFlagArrayOutput
- func (DatabaseInstanceSettingsDatabaseFlagArrayOutput) ElementType() reflect.Type
- func (o DatabaseInstanceSettingsDatabaseFlagArrayOutput) Index(i pulumi.IntInput) DatabaseInstanceSettingsDatabaseFlagOutput
- func (o DatabaseInstanceSettingsDatabaseFlagArrayOutput) ToDatabaseInstanceSettingsDatabaseFlagArrayOutput() DatabaseInstanceSettingsDatabaseFlagArrayOutput
- func (o DatabaseInstanceSettingsDatabaseFlagArrayOutput) ToDatabaseInstanceSettingsDatabaseFlagArrayOutputWithContext(ctx context.Context) DatabaseInstanceSettingsDatabaseFlagArrayOutput
- type DatabaseInstanceSettingsDatabaseFlagInput
- type DatabaseInstanceSettingsDatabaseFlagOutput
- func (DatabaseInstanceSettingsDatabaseFlagOutput) ElementType() reflect.Type
- func (o DatabaseInstanceSettingsDatabaseFlagOutput) Name() pulumi.StringOutput
- func (o DatabaseInstanceSettingsDatabaseFlagOutput) ToDatabaseInstanceSettingsDatabaseFlagOutput() DatabaseInstanceSettingsDatabaseFlagOutput
- func (o DatabaseInstanceSettingsDatabaseFlagOutput) ToDatabaseInstanceSettingsDatabaseFlagOutputWithContext(ctx context.Context) DatabaseInstanceSettingsDatabaseFlagOutput
- func (o DatabaseInstanceSettingsDatabaseFlagOutput) Value() pulumi.StringOutput
- type DatabaseInstanceSettingsInput
- type DatabaseInstanceSettingsIpConfiguration
- type DatabaseInstanceSettingsIpConfigurationArgs
- func (DatabaseInstanceSettingsIpConfigurationArgs) ElementType() reflect.Type
- func (i DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationOutput() DatabaseInstanceSettingsIpConfigurationOutput
- func (i DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationOutput
- func (i DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationPtrOutput() DatabaseInstanceSettingsIpConfigurationPtrOutput
- func (i DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationPtrOutput
- type DatabaseInstanceSettingsIpConfigurationAuthorizedNetwork
- type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs
- func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs) ElementType() reflect.Type
- func (i DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput() DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput
- func (i DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput
- type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray
- func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray) ElementType() reflect.Type
- func (i DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput() DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput
- func (i DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput
- type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayInput
- type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput
- func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput) ElementType() reflect.Type
- func (o DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput) Index(i pulumi.IntInput) DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput
- func (o DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput() DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput
- func (o DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput
- type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkInput
- type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput
- func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) ElementType() reflect.Type
- func (o DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) ExpirationTime() pulumi.StringPtrOutput
- func (o DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) Name() pulumi.StringPtrOutput
- func (o DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput() DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput
- func (o DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput
- func (o DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) Value() pulumi.StringOutput
- type DatabaseInstanceSettingsIpConfigurationInput
- type DatabaseInstanceSettingsIpConfigurationOutput
- func (o DatabaseInstanceSettingsIpConfigurationOutput) AuthorizedNetworks() DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput
- func (DatabaseInstanceSettingsIpConfigurationOutput) ElementType() reflect.Type
- func (o DatabaseInstanceSettingsIpConfigurationOutput) Ipv4Enabled() pulumi.BoolPtrOutput
- func (o DatabaseInstanceSettingsIpConfigurationOutput) PrivateNetwork() pulumi.StringPtrOutput
- func (o DatabaseInstanceSettingsIpConfigurationOutput) RequireSsl() pulumi.BoolPtrOutput
- func (o DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationOutput() DatabaseInstanceSettingsIpConfigurationOutput
- func (o DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationOutput
- func (o DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutput() DatabaseInstanceSettingsIpConfigurationPtrOutput
- func (o DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationPtrOutput
- type DatabaseInstanceSettingsIpConfigurationPtrInput
- type DatabaseInstanceSettingsIpConfigurationPtrOutput
- func (o DatabaseInstanceSettingsIpConfigurationPtrOutput) AuthorizedNetworks() DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput
- func (o DatabaseInstanceSettingsIpConfigurationPtrOutput) Elem() DatabaseInstanceSettingsIpConfigurationOutput
- func (DatabaseInstanceSettingsIpConfigurationPtrOutput) ElementType() reflect.Type
- func (o DatabaseInstanceSettingsIpConfigurationPtrOutput) Ipv4Enabled() pulumi.BoolPtrOutput
- func (o DatabaseInstanceSettingsIpConfigurationPtrOutput) PrivateNetwork() pulumi.StringPtrOutput
- func (o DatabaseInstanceSettingsIpConfigurationPtrOutput) RequireSsl() pulumi.BoolPtrOutput
- func (o DatabaseInstanceSettingsIpConfigurationPtrOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutput() DatabaseInstanceSettingsIpConfigurationPtrOutput
- func (o DatabaseInstanceSettingsIpConfigurationPtrOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationPtrOutput
- type DatabaseInstanceSettingsLocationPreference
- type DatabaseInstanceSettingsLocationPreferenceArgs
- func (DatabaseInstanceSettingsLocationPreferenceArgs) ElementType() reflect.Type
- func (i DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferenceOutput() DatabaseInstanceSettingsLocationPreferenceOutput
- func (i DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferenceOutputWithContext(ctx context.Context) DatabaseInstanceSettingsLocationPreferenceOutput
- func (i DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferencePtrOutput() DatabaseInstanceSettingsLocationPreferencePtrOutput
- func (i DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferencePtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsLocationPreferencePtrOutput
- type DatabaseInstanceSettingsLocationPreferenceInput
- type DatabaseInstanceSettingsLocationPreferenceOutput
- func (DatabaseInstanceSettingsLocationPreferenceOutput) ElementType() reflect.Type
- func (o DatabaseInstanceSettingsLocationPreferenceOutput) FollowGaeApplication() pulumi.StringPtrOutput
- func (o DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferenceOutput() DatabaseInstanceSettingsLocationPreferenceOutput
- func (o DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferenceOutputWithContext(ctx context.Context) DatabaseInstanceSettingsLocationPreferenceOutput
- func (o DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutput() DatabaseInstanceSettingsLocationPreferencePtrOutput
- func (o DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsLocationPreferencePtrOutput
- func (o DatabaseInstanceSettingsLocationPreferenceOutput) Zone() pulumi.StringPtrOutput
- type DatabaseInstanceSettingsLocationPreferencePtrInput
- type DatabaseInstanceSettingsLocationPreferencePtrOutput
- func (o DatabaseInstanceSettingsLocationPreferencePtrOutput) Elem() DatabaseInstanceSettingsLocationPreferenceOutput
- func (DatabaseInstanceSettingsLocationPreferencePtrOutput) ElementType() reflect.Type
- func (o DatabaseInstanceSettingsLocationPreferencePtrOutput) FollowGaeApplication() pulumi.StringPtrOutput
- func (o DatabaseInstanceSettingsLocationPreferencePtrOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutput() DatabaseInstanceSettingsLocationPreferencePtrOutput
- func (o DatabaseInstanceSettingsLocationPreferencePtrOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsLocationPreferencePtrOutput
- func (o DatabaseInstanceSettingsLocationPreferencePtrOutput) Zone() pulumi.StringPtrOutput
- type DatabaseInstanceSettingsMaintenanceWindow
- type DatabaseInstanceSettingsMaintenanceWindowArgs
- func (DatabaseInstanceSettingsMaintenanceWindowArgs) ElementType() reflect.Type
- func (i DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowOutput() DatabaseInstanceSettingsMaintenanceWindowOutput
- func (i DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowOutputWithContext(ctx context.Context) DatabaseInstanceSettingsMaintenanceWindowOutput
- func (i DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutput() DatabaseInstanceSettingsMaintenanceWindowPtrOutput
- func (i DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsMaintenanceWindowPtrOutput
- type DatabaseInstanceSettingsMaintenanceWindowInput
- type DatabaseInstanceSettingsMaintenanceWindowOutput
- func (o DatabaseInstanceSettingsMaintenanceWindowOutput) Day() pulumi.IntPtrOutput
- func (DatabaseInstanceSettingsMaintenanceWindowOutput) ElementType() reflect.Type
- func (o DatabaseInstanceSettingsMaintenanceWindowOutput) Hour() pulumi.IntPtrOutput
- func (o DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowOutput() DatabaseInstanceSettingsMaintenanceWindowOutput
- func (o DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowOutputWithContext(ctx context.Context) DatabaseInstanceSettingsMaintenanceWindowOutput
- func (o DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutput() DatabaseInstanceSettingsMaintenanceWindowPtrOutput
- func (o DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsMaintenanceWindowPtrOutput
- func (o DatabaseInstanceSettingsMaintenanceWindowOutput) UpdateTrack() pulumi.StringPtrOutput
- type DatabaseInstanceSettingsMaintenanceWindowPtrInput
- type DatabaseInstanceSettingsMaintenanceWindowPtrOutput
- func (o DatabaseInstanceSettingsMaintenanceWindowPtrOutput) Day() pulumi.IntPtrOutput
- func (o DatabaseInstanceSettingsMaintenanceWindowPtrOutput) Elem() DatabaseInstanceSettingsMaintenanceWindowOutput
- func (DatabaseInstanceSettingsMaintenanceWindowPtrOutput) ElementType() reflect.Type
- func (o DatabaseInstanceSettingsMaintenanceWindowPtrOutput) Hour() pulumi.IntPtrOutput
- func (o DatabaseInstanceSettingsMaintenanceWindowPtrOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutput() DatabaseInstanceSettingsMaintenanceWindowPtrOutput
- func (o DatabaseInstanceSettingsMaintenanceWindowPtrOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsMaintenanceWindowPtrOutput
- func (o DatabaseInstanceSettingsMaintenanceWindowPtrOutput) UpdateTrack() pulumi.StringPtrOutput
- type DatabaseInstanceSettingsOutput
- func (o DatabaseInstanceSettingsOutput) ActivationPolicy() pulumi.StringPtrOutput
- func (o DatabaseInstanceSettingsOutput) AuthorizedGaeApplications() pulumi.StringArrayOutputdeprecated
- func (o DatabaseInstanceSettingsOutput) AvailabilityType() pulumi.StringPtrOutput
- func (o DatabaseInstanceSettingsOutput) BackupConfiguration() DatabaseInstanceSettingsBackupConfigurationPtrOutput
- func (o DatabaseInstanceSettingsOutput) CrashSafeReplication() pulumi.BoolPtrOutputdeprecated
- func (o DatabaseInstanceSettingsOutput) DatabaseFlags() DatabaseInstanceSettingsDatabaseFlagArrayOutput
- func (o DatabaseInstanceSettingsOutput) DiskAutoresize() pulumi.BoolPtrOutput
- func (o DatabaseInstanceSettingsOutput) DiskSize() pulumi.IntPtrOutput
- func (o DatabaseInstanceSettingsOutput) DiskType() pulumi.StringPtrOutput
- func (DatabaseInstanceSettingsOutput) ElementType() reflect.Type
- func (o DatabaseInstanceSettingsOutput) IpConfiguration() DatabaseInstanceSettingsIpConfigurationPtrOutput
- func (o DatabaseInstanceSettingsOutput) LocationPreference() DatabaseInstanceSettingsLocationPreferencePtrOutput
- func (o DatabaseInstanceSettingsOutput) MaintenanceWindow() DatabaseInstanceSettingsMaintenanceWindowPtrOutput
- func (o DatabaseInstanceSettingsOutput) PricingPlan() pulumi.StringPtrOutput
- func (o DatabaseInstanceSettingsOutput) ReplicationType() pulumi.StringPtrOutputdeprecated
- func (o DatabaseInstanceSettingsOutput) Tier() pulumi.StringOutput
- func (o DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsOutput() DatabaseInstanceSettingsOutput
- func (o DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsOutputWithContext(ctx context.Context) DatabaseInstanceSettingsOutput
- func (o DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsPtrOutput() DatabaseInstanceSettingsPtrOutput
- func (o DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsPtrOutput
- func (o DatabaseInstanceSettingsOutput) UserLabels() pulumi.StringMapOutput
- func (o DatabaseInstanceSettingsOutput) Version() pulumi.IntPtrOutput
- type DatabaseInstanceSettingsPtrInput
- type DatabaseInstanceSettingsPtrOutput
- func (o DatabaseInstanceSettingsPtrOutput) ActivationPolicy() pulumi.StringPtrOutput
- func (o DatabaseInstanceSettingsPtrOutput) AuthorizedGaeApplications() pulumi.StringArrayOutputdeprecated
- func (o DatabaseInstanceSettingsPtrOutput) AvailabilityType() pulumi.StringPtrOutput
- func (o DatabaseInstanceSettingsPtrOutput) BackupConfiguration() DatabaseInstanceSettingsBackupConfigurationPtrOutput
- func (o DatabaseInstanceSettingsPtrOutput) CrashSafeReplication() pulumi.BoolPtrOutputdeprecated
- func (o DatabaseInstanceSettingsPtrOutput) DatabaseFlags() DatabaseInstanceSettingsDatabaseFlagArrayOutput
- func (o DatabaseInstanceSettingsPtrOutput) DiskAutoresize() pulumi.BoolPtrOutput
- func (o DatabaseInstanceSettingsPtrOutput) DiskSize() pulumi.IntPtrOutput
- func (o DatabaseInstanceSettingsPtrOutput) DiskType() pulumi.StringPtrOutput
- func (o DatabaseInstanceSettingsPtrOutput) Elem() DatabaseInstanceSettingsOutput
- func (DatabaseInstanceSettingsPtrOutput) ElementType() reflect.Type
- func (o DatabaseInstanceSettingsPtrOutput) IpConfiguration() DatabaseInstanceSettingsIpConfigurationPtrOutput
- func (o DatabaseInstanceSettingsPtrOutput) LocationPreference() DatabaseInstanceSettingsLocationPreferencePtrOutput
- func (o DatabaseInstanceSettingsPtrOutput) MaintenanceWindow() DatabaseInstanceSettingsMaintenanceWindowPtrOutput
- func (o DatabaseInstanceSettingsPtrOutput) PricingPlan() pulumi.StringPtrOutput
- func (o DatabaseInstanceSettingsPtrOutput) ReplicationType() pulumi.StringPtrOutputdeprecated
- func (o DatabaseInstanceSettingsPtrOutput) Tier() pulumi.StringPtrOutput
- func (o DatabaseInstanceSettingsPtrOutput) ToDatabaseInstanceSettingsPtrOutput() DatabaseInstanceSettingsPtrOutput
- func (o DatabaseInstanceSettingsPtrOutput) ToDatabaseInstanceSettingsPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsPtrOutput
- func (o DatabaseInstanceSettingsPtrOutput) UserLabels() pulumi.StringMapOutput
- func (o DatabaseInstanceSettingsPtrOutput) Version() pulumi.IntPtrOutput
- type DatabaseInstanceState
- type DatabaseState
- type GetCaCertsArgs
- type GetCaCertsCert
- type GetCaCertsCertArgs
- type GetCaCertsCertArray
- type GetCaCertsCertArrayInput
- type GetCaCertsCertArrayOutput
- func (GetCaCertsCertArrayOutput) ElementType() reflect.Type
- func (o GetCaCertsCertArrayOutput) Index(i pulumi.IntInput) GetCaCertsCertOutput
- func (o GetCaCertsCertArrayOutput) ToGetCaCertsCertArrayOutput() GetCaCertsCertArrayOutput
- func (o GetCaCertsCertArrayOutput) ToGetCaCertsCertArrayOutputWithContext(ctx context.Context) GetCaCertsCertArrayOutput
- type GetCaCertsCertInput
- type GetCaCertsCertOutput
- func (o GetCaCertsCertOutput) Cert() pulumi.StringOutput
- func (o GetCaCertsCertOutput) CommonName() pulumi.StringOutput
- func (o GetCaCertsCertOutput) CreateTime() pulumi.StringOutput
- func (GetCaCertsCertOutput) ElementType() reflect.Type
- func (o GetCaCertsCertOutput) ExpirationTime() pulumi.StringOutput
- func (o GetCaCertsCertOutput) Sha1Fingerprint() pulumi.StringOutput
- func (o GetCaCertsCertOutput) ToGetCaCertsCertOutput() GetCaCertsCertOutput
- func (o GetCaCertsCertOutput) ToGetCaCertsCertOutputWithContext(ctx context.Context) GetCaCertsCertOutput
- type GetCaCertsResult
- type SourceRepresentationInstance
- type SourceRepresentationInstanceArgs
- type SourceRepresentationInstanceState
- type SslCert
- type SslCertArgs
- type SslCertState
- type User
- type UserArgs
- type UserState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct { pulumi.CustomResourceState // The charset value. See MySQL's // [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html) // and Postgres' [Character Set Support](https://www.postgresql.org/docs/9.6/static/multibyte.html) // for more details and supported values. Postgres databases only support // a value of `UTF8` at creation time. Charset pulumi.StringOutput `pulumi:"charset"` // The collation value. See MySQL's // [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html) // and Postgres' [Collation Support](https://www.postgresql.org/docs/9.6/static/collation.html) // for more details and supported values. Postgres databases only support // a value of `en_US.UTF8` at creation time. Collation pulumi.StringOutput `pulumi:"collation"` // The name of the Cloud SQL instance. This does not include the project // ID. Instance pulumi.StringOutput `pulumi:"instance"` // The name of the database in the Cloud SQL instance. // This does not include the project ID or instance name. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The URI of the created resource. SelfLink pulumi.StringOutput `pulumi:"selfLink"` }
Represents a SQL database inside the Cloud SQL instance, hosted in Google's cloud.
## Example Usage
### Sql Database Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v3/go/gcp/sql" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { instance, err := sql.NewDatabaseInstance(ctx, "instance", &sql.DatabaseInstanceArgs{ Region: pulumi.String("us-central1"), Settings: &sql.DatabaseInstanceSettingsArgs{ Tier: pulumi.String("db-f1-micro"), }, }) if err != nil { return err } database, err := sql.NewDatabase(ctx, "database", &sql.DatabaseArgs{ Instance: instance.Name, }) if err != nil { return err } return nil }) }
```
func GetDatabase ¶
func GetDatabase(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*Database, error)
GetDatabase gets an existing Database resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDatabase ¶
func NewDatabase(ctx *pulumi.Context, name string, args *DatabaseArgs, opts ...pulumi.ResourceOption) (*Database, error)
NewDatabase registers a new resource with the given unique name, arguments, and options.
type DatabaseArgs ¶
type DatabaseArgs struct { // The charset value. See MySQL's // [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html) // and Postgres' [Character Set Support](https://www.postgresql.org/docs/9.6/static/multibyte.html) // for more details and supported values. Postgres databases only support // a value of `UTF8` at creation time. Charset pulumi.StringPtrInput // The collation value. See MySQL's // [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html) // and Postgres' [Collation Support](https://www.postgresql.org/docs/9.6/static/collation.html) // for more details and supported values. Postgres databases only support // a value of `en_US.UTF8` at creation time. Collation pulumi.StringPtrInput // The name of the Cloud SQL instance. This does not include the project // ID. Instance pulumi.StringInput // The name of the database in the Cloud SQL instance. // This does not include the project ID or instance name. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a Database resource.
func (DatabaseArgs) ElementType ¶
func (DatabaseArgs) ElementType() reflect.Type
type DatabaseInstance ¶
type DatabaseInstance struct { pulumi.CustomResourceState // The connection name of the instance to be used in // connection strings. For example, when connecting with [Cloud SQL Proxy](https://cloud.google.com/sql/docs/mysql/connect-admin-proxy). ConnectionName pulumi.StringOutput `pulumi:"connectionName"` // The MySQL, PostgreSQL or // SQL Server (beta) version to use. Supported values include `MYSQL_5_6`, // `MYSQL_5_7`, `POSTGRES_9_6`,`POSTGRES_10`, `POSTGRES_11`, `POSTGRES_12`, `SQLSERVER_2017_STANDARD`, // `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`. // [Database Version Policies](https://cloud.google.com/sql/docs/sqlserver/db-versions) // includes an up-to-date reference of supported versions. DatabaseVersion pulumi.StringPtrOutput `pulumi:"databaseVersion"` // The full path to the encryption key used for the CMEK disk encryption. Setting // up disk encryption currently requires manual steps outside of this provider. // The provided key must be in the same region as the SQL instance. In order // to use this feature, a special kind of service account must be created and // granted permission on this key. This step can currently only be done // manually, please see [this step](https://cloud.google.com/sql/docs/mysql/configure-cmek#service-account). // That service account needs the `Cloud KMS > Cloud KMS CryptoKey Encrypter/Decrypter` role on your // key - please see [this step](https://cloud.google.com/sql/docs/mysql/configure-cmek#grantkey). EncryptionKeyName pulumi.StringOutput `pulumi:"encryptionKeyName"` // The first IPv4 address of any type assigned. FirstIpAddress pulumi.StringOutput `pulumi:"firstIpAddress"` IpAddresses DatabaseInstanceIpAddressArrayOutput `pulumi:"ipAddresses"` // The name of the instance that will act as // the master in the replication setup. Note, this requires the master to have // `binaryLogEnabled` set, as well as existing backups. MasterInstanceName pulumi.StringOutput `pulumi:"masterInstanceName"` // A name for this whitelist entry. Name pulumi.StringOutput `pulumi:"name"` // The first private (`PRIVATE`) IPv4 address assigned. PrivateIpAddress pulumi.StringOutput `pulumi:"privateIpAddress"` // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The first public (`PRIMARY`) IPv4 address assigned. PublicIpAddress pulumi.StringOutput `pulumi:"publicIpAddress"` // The region the instance will sit in. Note, Cloud SQL is not // available in all regions - choose from one of the options listed [here](https://cloud.google.com/sql/docs/mysql/instance-locations). // A valid region must be provided to use this resource. If a region is not provided in the resource definition, // the provider region will be used instead, but this will be an apply-time error for instances if the provider // region is not supported with Cloud SQL. If you choose not to provide the `region` argument for this resource, // make sure you understand this. Region pulumi.StringOutput `pulumi:"region"` // The configuration for replication. The // configuration is detailed below. ReplicaConfiguration DatabaseInstanceReplicaConfigurationOutput `pulumi:"replicaConfiguration"` // Initial root password. Required for MS SQL Server, ignored by MySQL and PostgreSQL. RootPassword pulumi.StringPtrOutput `pulumi:"rootPassword"` // The URI of the created resource. SelfLink pulumi.StringOutput `pulumi:"selfLink"` ServerCaCert DatabaseInstanceServerCaCertOutput `pulumi:"serverCaCert"` // The service account email address assigned to the // instance. ServiceAccountEmailAddress pulumi.StringOutput `pulumi:"serviceAccountEmailAddress"` // The settings to use for the database. The // configuration is detailed below. Settings DatabaseInstanceSettingsOutput `pulumi:"settings"` }
Creates a new Google SQL Database Instance. For more information, see the [official documentation](https://cloud.google.com/sql/), or the [JSON API](https://cloud.google.com/sql/docs/admin-api/v1beta4/instances).
> **NOTE on `sql.DatabaseInstance`:** - First-generation instances have been deprecated and should no longer be created, see [upgrade docs](https://cloud.google.com/sql/docs/mysql/upgrade-2nd-gen) for more details. To upgrade your First-generation instance, update your config that the instance has * `settings.ip_configuration.ipv4_enabled=true` * `settings.backup_configuration.enabled=true` * `settings.backup_configuration.binary_log_enabled=true`. Apply the config, then upgrade the instance in the console as described in the documentation. Once upgraded, update the following attributes in your config to the correct value according to the above documentation: * `region` * `databaseVersion` (if applicable) * `tier` Remove any fields that are not applicable to Second-generation instances: * `settings.crash_safe_replication` * `settings.replication_type` * `settings.authorized_gae_applications` And change values to appropriate values for Second-generation instances for: * `activationPolicy` ("ON_DEMAND" is no longer an option) * `pricingPlan` ("PER_USE" is now the only valid option) Change `settings.backup_configuration.enabled` attribute back to its desired value and apply as necessary.
> **NOTE on `sql.DatabaseInstance`:** - Second-generation instances include a default 'root'@'%' user with no password. This user will be deleted by the provider on instance creation. You should use `sql.User` to define a custom user with a restricted host and strong password.
## Example Usage
### SQL Second Generation Instance
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v3/go/gcp/sql" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { master, err := sql.NewDatabaseInstance(ctx, "master", &sql.DatabaseInstanceArgs{ DatabaseVersion: pulumi.String("POSTGRES_11"), Region: pulumi.String("us-central1"), Settings: &sql.DatabaseInstanceSettingsArgs{ Tier: pulumi.String("db-f1-micro"), }, }) if err != nil { return err } return nil }) }
```
func GetDatabaseInstance ¶
func GetDatabaseInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatabaseInstanceState, opts ...pulumi.ResourceOption) (*DatabaseInstance, error)
GetDatabaseInstance gets an existing DatabaseInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDatabaseInstance ¶
func NewDatabaseInstance(ctx *pulumi.Context, name string, args *DatabaseInstanceArgs, opts ...pulumi.ResourceOption) (*DatabaseInstance, error)
NewDatabaseInstance registers a new resource with the given unique name, arguments, and options.
type DatabaseInstanceArgs ¶
type DatabaseInstanceArgs struct { // The MySQL, PostgreSQL or // SQL Server (beta) version to use. Supported values include `MYSQL_5_6`, // `MYSQL_5_7`, `POSTGRES_9_6`,`POSTGRES_10`, `POSTGRES_11`, `POSTGRES_12`, `SQLSERVER_2017_STANDARD`, // `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`. // [Database Version Policies](https://cloud.google.com/sql/docs/sqlserver/db-versions) // includes an up-to-date reference of supported versions. DatabaseVersion pulumi.StringPtrInput // The full path to the encryption key used for the CMEK disk encryption. Setting // up disk encryption currently requires manual steps outside of this provider. // The provided key must be in the same region as the SQL instance. In order // to use this feature, a special kind of service account must be created and // granted permission on this key. This step can currently only be done // manually, please see [this step](https://cloud.google.com/sql/docs/mysql/configure-cmek#service-account). // That service account needs the `Cloud KMS > Cloud KMS CryptoKey Encrypter/Decrypter` role on your // key - please see [this step](https://cloud.google.com/sql/docs/mysql/configure-cmek#grantkey). EncryptionKeyName pulumi.StringPtrInput // The name of the instance that will act as // the master in the replication setup. Note, this requires the master to have // `binaryLogEnabled` set, as well as existing backups. MasterInstanceName pulumi.StringPtrInput // A name for this whitelist entry. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput // The region the instance will sit in. Note, Cloud SQL is not // available in all regions - choose from one of the options listed [here](https://cloud.google.com/sql/docs/mysql/instance-locations). // A valid region must be provided to use this resource. If a region is not provided in the resource definition, // the provider region will be used instead, but this will be an apply-time error for instances if the provider // region is not supported with Cloud SQL. If you choose not to provide the `region` argument for this resource, // make sure you understand this. Region pulumi.StringPtrInput // The configuration for replication. The // configuration is detailed below. ReplicaConfiguration DatabaseInstanceReplicaConfigurationPtrInput // Initial root password. Required for MS SQL Server, ignored by MySQL and PostgreSQL. RootPassword pulumi.StringPtrInput // The settings to use for the database. The // configuration is detailed below. Settings DatabaseInstanceSettingsInput }
The set of arguments for constructing a DatabaseInstance resource.
func (DatabaseInstanceArgs) ElementType ¶
func (DatabaseInstanceArgs) ElementType() reflect.Type
type DatabaseInstanceIpAddressArgs ¶
type DatabaseInstanceIpAddressArgs struct { IpAddress pulumi.StringPtrInput `pulumi:"ipAddress"` TimeToRetire pulumi.StringPtrInput `pulumi:"timeToRetire"` Type pulumi.StringPtrInput `pulumi:"type"` }
func (DatabaseInstanceIpAddressArgs) ElementType ¶
func (DatabaseInstanceIpAddressArgs) ElementType() reflect.Type
func (DatabaseInstanceIpAddressArgs) ToDatabaseInstanceIpAddressOutput ¶
func (i DatabaseInstanceIpAddressArgs) ToDatabaseInstanceIpAddressOutput() DatabaseInstanceIpAddressOutput
func (DatabaseInstanceIpAddressArgs) ToDatabaseInstanceIpAddressOutputWithContext ¶
func (i DatabaseInstanceIpAddressArgs) ToDatabaseInstanceIpAddressOutputWithContext(ctx context.Context) DatabaseInstanceIpAddressOutput
type DatabaseInstanceIpAddressArray ¶
type DatabaseInstanceIpAddressArray []DatabaseInstanceIpAddressInput
func (DatabaseInstanceIpAddressArray) ElementType ¶
func (DatabaseInstanceIpAddressArray) ElementType() reflect.Type
func (DatabaseInstanceIpAddressArray) ToDatabaseInstanceIpAddressArrayOutput ¶
func (i DatabaseInstanceIpAddressArray) ToDatabaseInstanceIpAddressArrayOutput() DatabaseInstanceIpAddressArrayOutput
func (DatabaseInstanceIpAddressArray) ToDatabaseInstanceIpAddressArrayOutputWithContext ¶
func (i DatabaseInstanceIpAddressArray) ToDatabaseInstanceIpAddressArrayOutputWithContext(ctx context.Context) DatabaseInstanceIpAddressArrayOutput
type DatabaseInstanceIpAddressArrayInput ¶
type DatabaseInstanceIpAddressArrayInput interface { pulumi.Input ToDatabaseInstanceIpAddressArrayOutput() DatabaseInstanceIpAddressArrayOutput ToDatabaseInstanceIpAddressArrayOutputWithContext(context.Context) DatabaseInstanceIpAddressArrayOutput }
DatabaseInstanceIpAddressArrayInput is an input type that accepts DatabaseInstanceIpAddressArray and DatabaseInstanceIpAddressArrayOutput values. You can construct a concrete instance of `DatabaseInstanceIpAddressArrayInput` via:
DatabaseInstanceIpAddressArray{ DatabaseInstanceIpAddressArgs{...} }
type DatabaseInstanceIpAddressArrayOutput ¶
type DatabaseInstanceIpAddressArrayOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceIpAddressArrayOutput) ElementType ¶
func (DatabaseInstanceIpAddressArrayOutput) ElementType() reflect.Type
func (DatabaseInstanceIpAddressArrayOutput) Index ¶
func (o DatabaseInstanceIpAddressArrayOutput) Index(i pulumi.IntInput) DatabaseInstanceIpAddressOutput
func (DatabaseInstanceIpAddressArrayOutput) ToDatabaseInstanceIpAddressArrayOutput ¶
func (o DatabaseInstanceIpAddressArrayOutput) ToDatabaseInstanceIpAddressArrayOutput() DatabaseInstanceIpAddressArrayOutput
func (DatabaseInstanceIpAddressArrayOutput) ToDatabaseInstanceIpAddressArrayOutputWithContext ¶
func (o DatabaseInstanceIpAddressArrayOutput) ToDatabaseInstanceIpAddressArrayOutputWithContext(ctx context.Context) DatabaseInstanceIpAddressArrayOutput
type DatabaseInstanceIpAddressInput ¶
type DatabaseInstanceIpAddressInput interface { pulumi.Input ToDatabaseInstanceIpAddressOutput() DatabaseInstanceIpAddressOutput ToDatabaseInstanceIpAddressOutputWithContext(context.Context) DatabaseInstanceIpAddressOutput }
DatabaseInstanceIpAddressInput is an input type that accepts DatabaseInstanceIpAddressArgs and DatabaseInstanceIpAddressOutput values. You can construct a concrete instance of `DatabaseInstanceIpAddressInput` via:
DatabaseInstanceIpAddressArgs{...}
type DatabaseInstanceIpAddressOutput ¶
type DatabaseInstanceIpAddressOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceIpAddressOutput) ElementType ¶
func (DatabaseInstanceIpAddressOutput) ElementType() reflect.Type
func (DatabaseInstanceIpAddressOutput) IpAddress ¶
func (o DatabaseInstanceIpAddressOutput) IpAddress() pulumi.StringPtrOutput
func (DatabaseInstanceIpAddressOutput) TimeToRetire ¶
func (o DatabaseInstanceIpAddressOutput) TimeToRetire() pulumi.StringPtrOutput
func (DatabaseInstanceIpAddressOutput) ToDatabaseInstanceIpAddressOutput ¶
func (o DatabaseInstanceIpAddressOutput) ToDatabaseInstanceIpAddressOutput() DatabaseInstanceIpAddressOutput
func (DatabaseInstanceIpAddressOutput) ToDatabaseInstanceIpAddressOutputWithContext ¶
func (o DatabaseInstanceIpAddressOutput) ToDatabaseInstanceIpAddressOutputWithContext(ctx context.Context) DatabaseInstanceIpAddressOutput
func (DatabaseInstanceIpAddressOutput) Type ¶
func (o DatabaseInstanceIpAddressOutput) Type() pulumi.StringPtrOutput
type DatabaseInstanceReplicaConfiguration ¶
type DatabaseInstanceReplicaConfiguration struct { // PEM representation of the trusted CA's x509 // certificate. CaCertificate *string `pulumi:"caCertificate"` // PEM representation of the slave's x509 // certificate. ClientCertificate *string `pulumi:"clientCertificate"` // PEM representation of the slave's private key. The // corresponding public key in encoded in the `clientCertificate`. ClientKey *string `pulumi:"clientKey"` // The number of seconds // between connect retries. ConnectRetryInterval *int `pulumi:"connectRetryInterval"` // Path to a SQL file in GCS from which slave // instances are created. Format is `gs://bucket/filename`. DumpFilePath *string `pulumi:"dumpFilePath"` // Specifies if the replica is the failover target. // If the field is set to true the replica will be designated as a failover replica. // If the master instance fails, the replica instance will be promoted as // the new master instance. FailoverTarget *bool `pulumi:"failoverTarget"` // Time in ms between replication // heartbeats. MasterHeartbeatPeriod *int `pulumi:"masterHeartbeatPeriod"` // Password for the replication connection. Password *string `pulumi:"password"` SslCipher *string `pulumi:"sslCipher"` // Username for replication connection. Username *string `pulumi:"username"` // True if the master's common name // value is checked during the SSL handshake. VerifyServerCertificate *bool `pulumi:"verifyServerCertificate"` }
type DatabaseInstanceReplicaConfigurationArgs ¶
type DatabaseInstanceReplicaConfigurationArgs struct { // PEM representation of the trusted CA's x509 // certificate. CaCertificate pulumi.StringPtrInput `pulumi:"caCertificate"` // PEM representation of the slave's x509 // certificate. ClientCertificate pulumi.StringPtrInput `pulumi:"clientCertificate"` // PEM representation of the slave's private key. The // corresponding public key in encoded in the `clientCertificate`. ClientKey pulumi.StringPtrInput `pulumi:"clientKey"` // The number of seconds // between connect retries. ConnectRetryInterval pulumi.IntPtrInput `pulumi:"connectRetryInterval"` // Path to a SQL file in GCS from which slave // instances are created. Format is `gs://bucket/filename`. DumpFilePath pulumi.StringPtrInput `pulumi:"dumpFilePath"` // Specifies if the replica is the failover target. // If the field is set to true the replica will be designated as a failover replica. // If the master instance fails, the replica instance will be promoted as // the new master instance. FailoverTarget pulumi.BoolPtrInput `pulumi:"failoverTarget"` // Time in ms between replication // heartbeats. MasterHeartbeatPeriod pulumi.IntPtrInput `pulumi:"masterHeartbeatPeriod"` // Password for the replication connection. Password pulumi.StringPtrInput `pulumi:"password"` SslCipher pulumi.StringPtrInput `pulumi:"sslCipher"` // Username for replication connection. Username pulumi.StringPtrInput `pulumi:"username"` // True if the master's common name // value is checked during the SSL handshake. VerifyServerCertificate pulumi.BoolPtrInput `pulumi:"verifyServerCertificate"` }
func (DatabaseInstanceReplicaConfigurationArgs) ElementType ¶
func (DatabaseInstanceReplicaConfigurationArgs) ElementType() reflect.Type
func (DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationOutput ¶
func (i DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationOutput() DatabaseInstanceReplicaConfigurationOutput
func (DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationOutputWithContext ¶
func (i DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationOutputWithContext(ctx context.Context) DatabaseInstanceReplicaConfigurationOutput
func (DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationPtrOutput ¶
func (i DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationPtrOutput() DatabaseInstanceReplicaConfigurationPtrOutput
func (DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationPtrOutputWithContext ¶
func (i DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceReplicaConfigurationPtrOutput
type DatabaseInstanceReplicaConfigurationInput ¶
type DatabaseInstanceReplicaConfigurationInput interface { pulumi.Input ToDatabaseInstanceReplicaConfigurationOutput() DatabaseInstanceReplicaConfigurationOutput ToDatabaseInstanceReplicaConfigurationOutputWithContext(context.Context) DatabaseInstanceReplicaConfigurationOutput }
DatabaseInstanceReplicaConfigurationInput is an input type that accepts DatabaseInstanceReplicaConfigurationArgs and DatabaseInstanceReplicaConfigurationOutput values. You can construct a concrete instance of `DatabaseInstanceReplicaConfigurationInput` via:
DatabaseInstanceReplicaConfigurationArgs{...}
type DatabaseInstanceReplicaConfigurationOutput ¶
type DatabaseInstanceReplicaConfigurationOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceReplicaConfigurationOutput) CaCertificate ¶
func (o DatabaseInstanceReplicaConfigurationOutput) CaCertificate() pulumi.StringPtrOutput
PEM representation of the trusted CA's x509 certificate.
func (DatabaseInstanceReplicaConfigurationOutput) ClientCertificate ¶
func (o DatabaseInstanceReplicaConfigurationOutput) ClientCertificate() pulumi.StringPtrOutput
PEM representation of the slave's x509 certificate.
func (DatabaseInstanceReplicaConfigurationOutput) ClientKey ¶
func (o DatabaseInstanceReplicaConfigurationOutput) ClientKey() pulumi.StringPtrOutput
PEM representation of the slave's private key. The corresponding public key in encoded in the `clientCertificate`.
func (DatabaseInstanceReplicaConfigurationOutput) ConnectRetryInterval ¶
func (o DatabaseInstanceReplicaConfigurationOutput) ConnectRetryInterval() pulumi.IntPtrOutput
The number of seconds between connect retries.
func (DatabaseInstanceReplicaConfigurationOutput) DumpFilePath ¶
func (o DatabaseInstanceReplicaConfigurationOutput) DumpFilePath() pulumi.StringPtrOutput
Path to a SQL file in GCS from which slave instances are created. Format is `gs://bucket/filename`.
func (DatabaseInstanceReplicaConfigurationOutput) ElementType ¶
func (DatabaseInstanceReplicaConfigurationOutput) ElementType() reflect.Type
func (DatabaseInstanceReplicaConfigurationOutput) FailoverTarget ¶
func (o DatabaseInstanceReplicaConfigurationOutput) FailoverTarget() pulumi.BoolPtrOutput
Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. If the master instance fails, the replica instance will be promoted as the new master instance.
func (DatabaseInstanceReplicaConfigurationOutput) MasterHeartbeatPeriod ¶
func (o DatabaseInstanceReplicaConfigurationOutput) MasterHeartbeatPeriod() pulumi.IntPtrOutput
Time in ms between replication heartbeats.
func (DatabaseInstanceReplicaConfigurationOutput) Password ¶
func (o DatabaseInstanceReplicaConfigurationOutput) Password() pulumi.StringPtrOutput
Password for the replication connection.
func (DatabaseInstanceReplicaConfigurationOutput) SslCipher ¶
func (o DatabaseInstanceReplicaConfigurationOutput) SslCipher() pulumi.StringPtrOutput
func (DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationOutput ¶
func (o DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationOutput() DatabaseInstanceReplicaConfigurationOutput
func (DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationOutputWithContext ¶
func (o DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationOutputWithContext(ctx context.Context) DatabaseInstanceReplicaConfigurationOutput
func (DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationPtrOutput ¶
func (o DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationPtrOutput() DatabaseInstanceReplicaConfigurationPtrOutput
func (DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationPtrOutputWithContext ¶
func (o DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceReplicaConfigurationPtrOutput
func (DatabaseInstanceReplicaConfigurationOutput) Username ¶
func (o DatabaseInstanceReplicaConfigurationOutput) Username() pulumi.StringPtrOutput
Username for replication connection.
func (DatabaseInstanceReplicaConfigurationOutput) VerifyServerCertificate ¶
func (o DatabaseInstanceReplicaConfigurationOutput) VerifyServerCertificate() pulumi.BoolPtrOutput
True if the master's common name value is checked during the SSL handshake.
type DatabaseInstanceReplicaConfigurationPtrInput ¶
type DatabaseInstanceReplicaConfigurationPtrInput interface { pulumi.Input ToDatabaseInstanceReplicaConfigurationPtrOutput() DatabaseInstanceReplicaConfigurationPtrOutput ToDatabaseInstanceReplicaConfigurationPtrOutputWithContext(context.Context) DatabaseInstanceReplicaConfigurationPtrOutput }
DatabaseInstanceReplicaConfigurationPtrInput is an input type that accepts DatabaseInstanceReplicaConfigurationArgs, DatabaseInstanceReplicaConfigurationPtr and DatabaseInstanceReplicaConfigurationPtrOutput values. You can construct a concrete instance of `DatabaseInstanceReplicaConfigurationPtrInput` via:
DatabaseInstanceReplicaConfigurationArgs{...} or: nil
func DatabaseInstanceReplicaConfigurationPtr ¶
func DatabaseInstanceReplicaConfigurationPtr(v *DatabaseInstanceReplicaConfigurationArgs) DatabaseInstanceReplicaConfigurationPtrInput
type DatabaseInstanceReplicaConfigurationPtrOutput ¶
type DatabaseInstanceReplicaConfigurationPtrOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceReplicaConfigurationPtrOutput) CaCertificate ¶
func (o DatabaseInstanceReplicaConfigurationPtrOutput) CaCertificate() pulumi.StringPtrOutput
PEM representation of the trusted CA's x509 certificate.
func (DatabaseInstanceReplicaConfigurationPtrOutput) ClientCertificate ¶
func (o DatabaseInstanceReplicaConfigurationPtrOutput) ClientCertificate() pulumi.StringPtrOutput
PEM representation of the slave's x509 certificate.
func (DatabaseInstanceReplicaConfigurationPtrOutput) ClientKey ¶
func (o DatabaseInstanceReplicaConfigurationPtrOutput) ClientKey() pulumi.StringPtrOutput
PEM representation of the slave's private key. The corresponding public key in encoded in the `clientCertificate`.
func (DatabaseInstanceReplicaConfigurationPtrOutput) ConnectRetryInterval ¶
func (o DatabaseInstanceReplicaConfigurationPtrOutput) ConnectRetryInterval() pulumi.IntPtrOutput
The number of seconds between connect retries.
func (DatabaseInstanceReplicaConfigurationPtrOutput) DumpFilePath ¶
func (o DatabaseInstanceReplicaConfigurationPtrOutput) DumpFilePath() pulumi.StringPtrOutput
Path to a SQL file in GCS from which slave instances are created. Format is `gs://bucket/filename`.
func (DatabaseInstanceReplicaConfigurationPtrOutput) ElementType ¶
func (DatabaseInstanceReplicaConfigurationPtrOutput) ElementType() reflect.Type
func (DatabaseInstanceReplicaConfigurationPtrOutput) FailoverTarget ¶
func (o DatabaseInstanceReplicaConfigurationPtrOutput) FailoverTarget() pulumi.BoolPtrOutput
Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. If the master instance fails, the replica instance will be promoted as the new master instance.
func (DatabaseInstanceReplicaConfigurationPtrOutput) MasterHeartbeatPeriod ¶
func (o DatabaseInstanceReplicaConfigurationPtrOutput) MasterHeartbeatPeriod() pulumi.IntPtrOutput
Time in ms between replication heartbeats.
func (DatabaseInstanceReplicaConfigurationPtrOutput) Password ¶
func (o DatabaseInstanceReplicaConfigurationPtrOutput) Password() pulumi.StringPtrOutput
Password for the replication connection.
func (DatabaseInstanceReplicaConfigurationPtrOutput) SslCipher ¶
func (o DatabaseInstanceReplicaConfigurationPtrOutput) SslCipher() pulumi.StringPtrOutput
func (DatabaseInstanceReplicaConfigurationPtrOutput) ToDatabaseInstanceReplicaConfigurationPtrOutput ¶
func (o DatabaseInstanceReplicaConfigurationPtrOutput) ToDatabaseInstanceReplicaConfigurationPtrOutput() DatabaseInstanceReplicaConfigurationPtrOutput
func (DatabaseInstanceReplicaConfigurationPtrOutput) ToDatabaseInstanceReplicaConfigurationPtrOutputWithContext ¶
func (o DatabaseInstanceReplicaConfigurationPtrOutput) ToDatabaseInstanceReplicaConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceReplicaConfigurationPtrOutput
func (DatabaseInstanceReplicaConfigurationPtrOutput) Username ¶
func (o DatabaseInstanceReplicaConfigurationPtrOutput) Username() pulumi.StringPtrOutput
Username for replication connection.
func (DatabaseInstanceReplicaConfigurationPtrOutput) VerifyServerCertificate ¶
func (o DatabaseInstanceReplicaConfigurationPtrOutput) VerifyServerCertificate() pulumi.BoolPtrOutput
True if the master's common name value is checked during the SSL handshake.
type DatabaseInstanceServerCaCert ¶
type DatabaseInstanceServerCaCert struct { Cert *string `pulumi:"cert"` CommonName *string `pulumi:"commonName"` CreateTime *string `pulumi:"createTime"` // The [RFC 3339](https://tools.ietf.org/html/rfc3339) // formatted date time string indicating when this whitelist expires. ExpirationTime *string `pulumi:"expirationTime"` Sha1Fingerprint *string `pulumi:"sha1Fingerprint"` }
type DatabaseInstanceServerCaCertArgs ¶
type DatabaseInstanceServerCaCertArgs struct { Cert pulumi.StringPtrInput `pulumi:"cert"` CommonName pulumi.StringPtrInput `pulumi:"commonName"` CreateTime pulumi.StringPtrInput `pulumi:"createTime"` // The [RFC 3339](https://tools.ietf.org/html/rfc3339) // formatted date time string indicating when this whitelist expires. ExpirationTime pulumi.StringPtrInput `pulumi:"expirationTime"` Sha1Fingerprint pulumi.StringPtrInput `pulumi:"sha1Fingerprint"` }
func (DatabaseInstanceServerCaCertArgs) ElementType ¶
func (DatabaseInstanceServerCaCertArgs) ElementType() reflect.Type
func (DatabaseInstanceServerCaCertArgs) ToDatabaseInstanceServerCaCertOutput ¶
func (i DatabaseInstanceServerCaCertArgs) ToDatabaseInstanceServerCaCertOutput() DatabaseInstanceServerCaCertOutput
func (DatabaseInstanceServerCaCertArgs) ToDatabaseInstanceServerCaCertOutputWithContext ¶
func (i DatabaseInstanceServerCaCertArgs) ToDatabaseInstanceServerCaCertOutputWithContext(ctx context.Context) DatabaseInstanceServerCaCertOutput
func (DatabaseInstanceServerCaCertArgs) ToDatabaseInstanceServerCaCertPtrOutput ¶
func (i DatabaseInstanceServerCaCertArgs) ToDatabaseInstanceServerCaCertPtrOutput() DatabaseInstanceServerCaCertPtrOutput
func (DatabaseInstanceServerCaCertArgs) ToDatabaseInstanceServerCaCertPtrOutputWithContext ¶
func (i DatabaseInstanceServerCaCertArgs) ToDatabaseInstanceServerCaCertPtrOutputWithContext(ctx context.Context) DatabaseInstanceServerCaCertPtrOutput
type DatabaseInstanceServerCaCertInput ¶
type DatabaseInstanceServerCaCertInput interface { pulumi.Input ToDatabaseInstanceServerCaCertOutput() DatabaseInstanceServerCaCertOutput ToDatabaseInstanceServerCaCertOutputWithContext(context.Context) DatabaseInstanceServerCaCertOutput }
DatabaseInstanceServerCaCertInput is an input type that accepts DatabaseInstanceServerCaCertArgs and DatabaseInstanceServerCaCertOutput values. You can construct a concrete instance of `DatabaseInstanceServerCaCertInput` via:
DatabaseInstanceServerCaCertArgs{...}
type DatabaseInstanceServerCaCertOutput ¶
type DatabaseInstanceServerCaCertOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceServerCaCertOutput) Cert ¶
func (o DatabaseInstanceServerCaCertOutput) Cert() pulumi.StringPtrOutput
func (DatabaseInstanceServerCaCertOutput) CommonName ¶
func (o DatabaseInstanceServerCaCertOutput) CommonName() pulumi.StringPtrOutput
func (DatabaseInstanceServerCaCertOutput) CreateTime ¶
func (o DatabaseInstanceServerCaCertOutput) CreateTime() pulumi.StringPtrOutput
func (DatabaseInstanceServerCaCertOutput) ElementType ¶
func (DatabaseInstanceServerCaCertOutput) ElementType() reflect.Type
func (DatabaseInstanceServerCaCertOutput) ExpirationTime ¶
func (o DatabaseInstanceServerCaCertOutput) ExpirationTime() pulumi.StringPtrOutput
The [RFC 3339](https://tools.ietf.org/html/rfc3339) formatted date time string indicating when this whitelist expires.
func (DatabaseInstanceServerCaCertOutput) Sha1Fingerprint ¶
func (o DatabaseInstanceServerCaCertOutput) Sha1Fingerprint() pulumi.StringPtrOutput
func (DatabaseInstanceServerCaCertOutput) ToDatabaseInstanceServerCaCertOutput ¶
func (o DatabaseInstanceServerCaCertOutput) ToDatabaseInstanceServerCaCertOutput() DatabaseInstanceServerCaCertOutput
func (DatabaseInstanceServerCaCertOutput) ToDatabaseInstanceServerCaCertOutputWithContext ¶
func (o DatabaseInstanceServerCaCertOutput) ToDatabaseInstanceServerCaCertOutputWithContext(ctx context.Context) DatabaseInstanceServerCaCertOutput
func (DatabaseInstanceServerCaCertOutput) ToDatabaseInstanceServerCaCertPtrOutput ¶
func (o DatabaseInstanceServerCaCertOutput) ToDatabaseInstanceServerCaCertPtrOutput() DatabaseInstanceServerCaCertPtrOutput
func (DatabaseInstanceServerCaCertOutput) ToDatabaseInstanceServerCaCertPtrOutputWithContext ¶
func (o DatabaseInstanceServerCaCertOutput) ToDatabaseInstanceServerCaCertPtrOutputWithContext(ctx context.Context) DatabaseInstanceServerCaCertPtrOutput
type DatabaseInstanceServerCaCertPtrInput ¶
type DatabaseInstanceServerCaCertPtrInput interface { pulumi.Input ToDatabaseInstanceServerCaCertPtrOutput() DatabaseInstanceServerCaCertPtrOutput ToDatabaseInstanceServerCaCertPtrOutputWithContext(context.Context) DatabaseInstanceServerCaCertPtrOutput }
DatabaseInstanceServerCaCertPtrInput is an input type that accepts DatabaseInstanceServerCaCertArgs, DatabaseInstanceServerCaCertPtr and DatabaseInstanceServerCaCertPtrOutput values. You can construct a concrete instance of `DatabaseInstanceServerCaCertPtrInput` via:
DatabaseInstanceServerCaCertArgs{...} or: nil
func DatabaseInstanceServerCaCertPtr ¶
func DatabaseInstanceServerCaCertPtr(v *DatabaseInstanceServerCaCertArgs) DatabaseInstanceServerCaCertPtrInput
type DatabaseInstanceServerCaCertPtrOutput ¶
type DatabaseInstanceServerCaCertPtrOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceServerCaCertPtrOutput) Cert ¶
func (o DatabaseInstanceServerCaCertPtrOutput) Cert() pulumi.StringPtrOutput
func (DatabaseInstanceServerCaCertPtrOutput) CommonName ¶
func (o DatabaseInstanceServerCaCertPtrOutput) CommonName() pulumi.StringPtrOutput
func (DatabaseInstanceServerCaCertPtrOutput) CreateTime ¶
func (o DatabaseInstanceServerCaCertPtrOutput) CreateTime() pulumi.StringPtrOutput
func (DatabaseInstanceServerCaCertPtrOutput) ElementType ¶
func (DatabaseInstanceServerCaCertPtrOutput) ElementType() reflect.Type
func (DatabaseInstanceServerCaCertPtrOutput) ExpirationTime ¶
func (o DatabaseInstanceServerCaCertPtrOutput) ExpirationTime() pulumi.StringPtrOutput
The [RFC 3339](https://tools.ietf.org/html/rfc3339) formatted date time string indicating when this whitelist expires.
func (DatabaseInstanceServerCaCertPtrOutput) Sha1Fingerprint ¶
func (o DatabaseInstanceServerCaCertPtrOutput) Sha1Fingerprint() pulumi.StringPtrOutput
func (DatabaseInstanceServerCaCertPtrOutput) ToDatabaseInstanceServerCaCertPtrOutput ¶
func (o DatabaseInstanceServerCaCertPtrOutput) ToDatabaseInstanceServerCaCertPtrOutput() DatabaseInstanceServerCaCertPtrOutput
func (DatabaseInstanceServerCaCertPtrOutput) ToDatabaseInstanceServerCaCertPtrOutputWithContext ¶
func (o DatabaseInstanceServerCaCertPtrOutput) ToDatabaseInstanceServerCaCertPtrOutputWithContext(ctx context.Context) DatabaseInstanceServerCaCertPtrOutput
type DatabaseInstanceSettings ¶
type DatabaseInstanceSettings struct { // This specifies when the instance should be // active. Can be either `ALWAYS`, `NEVER` or `ON_DEMAND`. ActivationPolicy *string `pulumi:"activationPolicy"` // This property is only applicable to First Generation instances. // First Generation instances are now deprecated, see [here](https://cloud.google.com/sql/docs/mysql/upgrade-2nd-gen) // for information on how to upgrade to Second Generation instances. // A list of Google App Engine (GAE) project names that are allowed to access this instance. // // Deprecated: This property is only applicable to First Generation instances, and First Generation instances are now deprecated. AuthorizedGaeApplications []string `pulumi:"authorizedGaeApplications"` // The availability type of the Cloud SQL // instance, high availability (`REGIONAL`) or single zone (`ZONAL`).' For MySQL // instances, ensure that `settings.backup_configuration.enabled` and // `settings.backup_configuration.binary_log_enabled` are both set to `true`. AvailabilityType *string `pulumi:"availabilityType"` BackupConfiguration *DatabaseInstanceSettingsBackupConfiguration `pulumi:"backupConfiguration"` // This property is only applicable to First Generation instances. // First Generation instances are now deprecated, see [here](https://cloud.google.com/sql/docs/mysql/upgrade-2nd-gen) // for information on how to upgrade to Second Generation instances. // Specific to read instances, indicates // when crash-safe replication flags are enabled. // // Deprecated: This property is only applicable to First Generation instances, and First Generation instances are now deprecated. CrashSafeReplication *bool `pulumi:"crashSafeReplication"` DatabaseFlags []DatabaseInstanceSettingsDatabaseFlag `pulumi:"databaseFlags"` // Configuration to increase storage size automatically. Note that future `pulumi apply` calls will attempt to resize the disk to the value specified in `diskSize` - if this is set, do not set `diskSize`. DiskAutoresize *bool `pulumi:"diskAutoresize"` // The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. DiskSize *int `pulumi:"diskSize"` // The type of data disk: PD_SSD or PD_HDD. DiskType *string `pulumi:"diskType"` IpConfiguration *DatabaseInstanceSettingsIpConfiguration `pulumi:"ipConfiguration"` LocationPreference *DatabaseInstanceSettingsLocationPreference `pulumi:"locationPreference"` MaintenanceWindow *DatabaseInstanceSettingsMaintenanceWindow `pulumi:"maintenanceWindow"` // Pricing plan for this instance, can only be `PER_USE`. PricingPlan *string `pulumi:"pricingPlan"` // This property is only applicable to First Generation instances. // First Generation instances are now deprecated, see [here](https://cloud.google.com/sql/docs/mysql/upgrade-2nd-gen) // for information on how to upgrade to Second Generation instances. // Replication type for this instance, can be one of `ASYNCHRONOUS` or `SYNCHRONOUS`. // // Deprecated: This property is only applicable to First Generation instances, and First Generation instances are now deprecated. ReplicationType *string `pulumi:"replicationType"` // The machine type to use. See [tiers](https://cloud.google.com/sql/docs/admin-api/v1beta4/tiers) // for more details and supported versions. Postgres supports only shared-core machine types such as `db-f1-micro`, // and custom machine types such as `db-custom-2-13312`. See the [Custom Machine Type Documentation](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create) to learn about specifying custom machine types. Tier string `pulumi:"tier"` // A set of key/value user label pairs to assign to the instance. UserLabels map[string]string `pulumi:"userLabels"` Version *int `pulumi:"version"` }
type DatabaseInstanceSettingsArgs ¶
type DatabaseInstanceSettingsArgs struct { // This specifies when the instance should be // active. Can be either `ALWAYS`, `NEVER` or `ON_DEMAND`. ActivationPolicy pulumi.StringPtrInput `pulumi:"activationPolicy"` // This property is only applicable to First Generation instances. // First Generation instances are now deprecated, see [here](https://cloud.google.com/sql/docs/mysql/upgrade-2nd-gen) // for information on how to upgrade to Second Generation instances. // A list of Google App Engine (GAE) project names that are allowed to access this instance. // // Deprecated: This property is only applicable to First Generation instances, and First Generation instances are now deprecated. AuthorizedGaeApplications pulumi.StringArrayInput `pulumi:"authorizedGaeApplications"` // The availability type of the Cloud SQL // instance, high availability (`REGIONAL`) or single zone (`ZONAL`).' For MySQL // instances, ensure that `settings.backup_configuration.enabled` and // `settings.backup_configuration.binary_log_enabled` are both set to `true`. AvailabilityType pulumi.StringPtrInput `pulumi:"availabilityType"` BackupConfiguration DatabaseInstanceSettingsBackupConfigurationPtrInput `pulumi:"backupConfiguration"` // This property is only applicable to First Generation instances. // First Generation instances are now deprecated, see [here](https://cloud.google.com/sql/docs/mysql/upgrade-2nd-gen) // for information on how to upgrade to Second Generation instances. // Specific to read instances, indicates // when crash-safe replication flags are enabled. // // Deprecated: This property is only applicable to First Generation instances, and First Generation instances are now deprecated. CrashSafeReplication pulumi.BoolPtrInput `pulumi:"crashSafeReplication"` DatabaseFlags DatabaseInstanceSettingsDatabaseFlagArrayInput `pulumi:"databaseFlags"` // Configuration to increase storage size automatically. Note that future `pulumi apply` calls will attempt to resize the disk to the value specified in `diskSize` - if this is set, do not set `diskSize`. DiskAutoresize pulumi.BoolPtrInput `pulumi:"diskAutoresize"` // The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. DiskSize pulumi.IntPtrInput `pulumi:"diskSize"` // The type of data disk: PD_SSD or PD_HDD. DiskType pulumi.StringPtrInput `pulumi:"diskType"` IpConfiguration DatabaseInstanceSettingsIpConfigurationPtrInput `pulumi:"ipConfiguration"` LocationPreference DatabaseInstanceSettingsLocationPreferencePtrInput `pulumi:"locationPreference"` MaintenanceWindow DatabaseInstanceSettingsMaintenanceWindowPtrInput `pulumi:"maintenanceWindow"` // Pricing plan for this instance, can only be `PER_USE`. PricingPlan pulumi.StringPtrInput `pulumi:"pricingPlan"` // This property is only applicable to First Generation instances. // First Generation instances are now deprecated, see [here](https://cloud.google.com/sql/docs/mysql/upgrade-2nd-gen) // for information on how to upgrade to Second Generation instances. // Replication type for this instance, can be one of `ASYNCHRONOUS` or `SYNCHRONOUS`. // // Deprecated: This property is only applicable to First Generation instances, and First Generation instances are now deprecated. ReplicationType pulumi.StringPtrInput `pulumi:"replicationType"` // The machine type to use. See [tiers](https://cloud.google.com/sql/docs/admin-api/v1beta4/tiers) // for more details and supported versions. Postgres supports only shared-core machine types such as `db-f1-micro`, // and custom machine types such as `db-custom-2-13312`. See the [Custom Machine Type Documentation](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create) to learn about specifying custom machine types. Tier pulumi.StringInput `pulumi:"tier"` // A set of key/value user label pairs to assign to the instance. UserLabels pulumi.StringMapInput `pulumi:"userLabels"` Version pulumi.IntPtrInput `pulumi:"version"` }
func (DatabaseInstanceSettingsArgs) ElementType ¶
func (DatabaseInstanceSettingsArgs) ElementType() reflect.Type
func (DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsOutput ¶
func (i DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsOutput() DatabaseInstanceSettingsOutput
func (DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsOutputWithContext ¶
func (i DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsOutputWithContext(ctx context.Context) DatabaseInstanceSettingsOutput
func (DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsPtrOutput ¶
func (i DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsPtrOutput() DatabaseInstanceSettingsPtrOutput
func (DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsPtrOutputWithContext ¶
func (i DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsPtrOutput
type DatabaseInstanceSettingsBackupConfiguration ¶
type DatabaseInstanceSettingsBackupConfiguration struct { // True if binary logging is enabled. If // `settings.backup_configuration.enabled` is false, this must be as well. // Cannot be used with Postgres. BinaryLogEnabled *bool `pulumi:"binaryLogEnabled"` // True if backup configuration is enabled. Enabled *bool `pulumi:"enabled"` Location *string `pulumi:"location"` // `HH:MM` format time indicating when backup // configuration starts. StartTime *string `pulumi:"startTime"` }
type DatabaseInstanceSettingsBackupConfigurationArgs ¶
type DatabaseInstanceSettingsBackupConfigurationArgs struct { // True if binary logging is enabled. If // `settings.backup_configuration.enabled` is false, this must be as well. // Cannot be used with Postgres. BinaryLogEnabled pulumi.BoolPtrInput `pulumi:"binaryLogEnabled"` // True if backup configuration is enabled. Enabled pulumi.BoolPtrInput `pulumi:"enabled"` Location pulumi.StringPtrInput `pulumi:"location"` // `HH:MM` format time indicating when backup // configuration starts. StartTime pulumi.StringPtrInput `pulumi:"startTime"` }
func (DatabaseInstanceSettingsBackupConfigurationArgs) ElementType ¶
func (DatabaseInstanceSettingsBackupConfigurationArgs) ElementType() reflect.Type
func (DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationOutput ¶
func (i DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationOutput() DatabaseInstanceSettingsBackupConfigurationOutput
func (DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationOutputWithContext ¶
func (i DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationOutputWithContext(ctx context.Context) DatabaseInstanceSettingsBackupConfigurationOutput
func (DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationPtrOutput ¶
func (i DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationPtrOutput() DatabaseInstanceSettingsBackupConfigurationPtrOutput
func (DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationPtrOutputWithContext ¶
func (i DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsBackupConfigurationPtrOutput
type DatabaseInstanceSettingsBackupConfigurationInput ¶
type DatabaseInstanceSettingsBackupConfigurationInput interface { pulumi.Input ToDatabaseInstanceSettingsBackupConfigurationOutput() DatabaseInstanceSettingsBackupConfigurationOutput ToDatabaseInstanceSettingsBackupConfigurationOutputWithContext(context.Context) DatabaseInstanceSettingsBackupConfigurationOutput }
DatabaseInstanceSettingsBackupConfigurationInput is an input type that accepts DatabaseInstanceSettingsBackupConfigurationArgs and DatabaseInstanceSettingsBackupConfigurationOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsBackupConfigurationInput` via:
DatabaseInstanceSettingsBackupConfigurationArgs{...}
type DatabaseInstanceSettingsBackupConfigurationOutput ¶
type DatabaseInstanceSettingsBackupConfigurationOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceSettingsBackupConfigurationOutput) BinaryLogEnabled ¶
func (o DatabaseInstanceSettingsBackupConfigurationOutput) BinaryLogEnabled() pulumi.BoolPtrOutput
True if binary logging is enabled. If `settings.backup_configuration.enabled` is false, this must be as well. Cannot be used with Postgres.
func (DatabaseInstanceSettingsBackupConfigurationOutput) ElementType ¶
func (DatabaseInstanceSettingsBackupConfigurationOutput) ElementType() reflect.Type
func (DatabaseInstanceSettingsBackupConfigurationOutput) Enabled ¶
func (o DatabaseInstanceSettingsBackupConfigurationOutput) Enabled() pulumi.BoolPtrOutput
True if backup configuration is enabled.
func (DatabaseInstanceSettingsBackupConfigurationOutput) Location ¶
func (o DatabaseInstanceSettingsBackupConfigurationOutput) Location() pulumi.StringPtrOutput
func (DatabaseInstanceSettingsBackupConfigurationOutput) StartTime ¶
func (o DatabaseInstanceSettingsBackupConfigurationOutput) StartTime() pulumi.StringPtrOutput
`HH:MM` format time indicating when backup configuration starts.
func (DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationOutput ¶
func (o DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationOutput() DatabaseInstanceSettingsBackupConfigurationOutput
func (DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationOutputWithContext ¶
func (o DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationOutputWithContext(ctx context.Context) DatabaseInstanceSettingsBackupConfigurationOutput
func (DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutput ¶
func (o DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutput() DatabaseInstanceSettingsBackupConfigurationPtrOutput
func (DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutputWithContext ¶
func (o DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsBackupConfigurationPtrOutput
type DatabaseInstanceSettingsBackupConfigurationPtrInput ¶
type DatabaseInstanceSettingsBackupConfigurationPtrInput interface { pulumi.Input ToDatabaseInstanceSettingsBackupConfigurationPtrOutput() DatabaseInstanceSettingsBackupConfigurationPtrOutput ToDatabaseInstanceSettingsBackupConfigurationPtrOutputWithContext(context.Context) DatabaseInstanceSettingsBackupConfigurationPtrOutput }
DatabaseInstanceSettingsBackupConfigurationPtrInput is an input type that accepts DatabaseInstanceSettingsBackupConfigurationArgs, DatabaseInstanceSettingsBackupConfigurationPtr and DatabaseInstanceSettingsBackupConfigurationPtrOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsBackupConfigurationPtrInput` via:
DatabaseInstanceSettingsBackupConfigurationArgs{...} or: nil
func DatabaseInstanceSettingsBackupConfigurationPtr ¶
func DatabaseInstanceSettingsBackupConfigurationPtr(v *DatabaseInstanceSettingsBackupConfigurationArgs) DatabaseInstanceSettingsBackupConfigurationPtrInput
type DatabaseInstanceSettingsBackupConfigurationPtrOutput ¶
type DatabaseInstanceSettingsBackupConfigurationPtrOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) BinaryLogEnabled ¶
func (o DatabaseInstanceSettingsBackupConfigurationPtrOutput) BinaryLogEnabled() pulumi.BoolPtrOutput
True if binary logging is enabled. If `settings.backup_configuration.enabled` is false, this must be as well. Cannot be used with Postgres.
func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) ElementType ¶
func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) ElementType() reflect.Type
func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) Enabled ¶
func (o DatabaseInstanceSettingsBackupConfigurationPtrOutput) Enabled() pulumi.BoolPtrOutput
True if backup configuration is enabled.
func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) Location ¶
func (o DatabaseInstanceSettingsBackupConfigurationPtrOutput) Location() pulumi.StringPtrOutput
func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) StartTime ¶
func (o DatabaseInstanceSettingsBackupConfigurationPtrOutput) StartTime() pulumi.StringPtrOutput
`HH:MM` format time indicating when backup configuration starts.
func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutput ¶
func (o DatabaseInstanceSettingsBackupConfigurationPtrOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutput() DatabaseInstanceSettingsBackupConfigurationPtrOutput
func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutputWithContext ¶
func (o DatabaseInstanceSettingsBackupConfigurationPtrOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsBackupConfigurationPtrOutput
type DatabaseInstanceSettingsDatabaseFlag ¶
type DatabaseInstanceSettingsDatabaseFlag struct { // A name for this whitelist entry. Name string `pulumi:"name"` // A CIDR notation IPv4 or IPv6 address that is allowed to // access this instance. Must be set even if other two attributes are not for // the whitelist to become active. Value string `pulumi:"value"` }
type DatabaseInstanceSettingsDatabaseFlagArgs ¶
type DatabaseInstanceSettingsDatabaseFlagArgs struct { // A name for this whitelist entry. Name pulumi.StringInput `pulumi:"name"` // A CIDR notation IPv4 or IPv6 address that is allowed to // access this instance. Must be set even if other two attributes are not for // the whitelist to become active. Value pulumi.StringInput `pulumi:"value"` }
func (DatabaseInstanceSettingsDatabaseFlagArgs) ElementType ¶
func (DatabaseInstanceSettingsDatabaseFlagArgs) ElementType() reflect.Type
func (DatabaseInstanceSettingsDatabaseFlagArgs) ToDatabaseInstanceSettingsDatabaseFlagOutput ¶
func (i DatabaseInstanceSettingsDatabaseFlagArgs) ToDatabaseInstanceSettingsDatabaseFlagOutput() DatabaseInstanceSettingsDatabaseFlagOutput
func (DatabaseInstanceSettingsDatabaseFlagArgs) ToDatabaseInstanceSettingsDatabaseFlagOutputWithContext ¶
func (i DatabaseInstanceSettingsDatabaseFlagArgs) ToDatabaseInstanceSettingsDatabaseFlagOutputWithContext(ctx context.Context) DatabaseInstanceSettingsDatabaseFlagOutput
type DatabaseInstanceSettingsDatabaseFlagArray ¶
type DatabaseInstanceSettingsDatabaseFlagArray []DatabaseInstanceSettingsDatabaseFlagInput
func (DatabaseInstanceSettingsDatabaseFlagArray) ElementType ¶
func (DatabaseInstanceSettingsDatabaseFlagArray) ElementType() reflect.Type
func (DatabaseInstanceSettingsDatabaseFlagArray) ToDatabaseInstanceSettingsDatabaseFlagArrayOutput ¶
func (i DatabaseInstanceSettingsDatabaseFlagArray) ToDatabaseInstanceSettingsDatabaseFlagArrayOutput() DatabaseInstanceSettingsDatabaseFlagArrayOutput
func (DatabaseInstanceSettingsDatabaseFlagArray) ToDatabaseInstanceSettingsDatabaseFlagArrayOutputWithContext ¶
func (i DatabaseInstanceSettingsDatabaseFlagArray) ToDatabaseInstanceSettingsDatabaseFlagArrayOutputWithContext(ctx context.Context) DatabaseInstanceSettingsDatabaseFlagArrayOutput
type DatabaseInstanceSettingsDatabaseFlagArrayInput ¶
type DatabaseInstanceSettingsDatabaseFlagArrayInput interface { pulumi.Input ToDatabaseInstanceSettingsDatabaseFlagArrayOutput() DatabaseInstanceSettingsDatabaseFlagArrayOutput ToDatabaseInstanceSettingsDatabaseFlagArrayOutputWithContext(context.Context) DatabaseInstanceSettingsDatabaseFlagArrayOutput }
DatabaseInstanceSettingsDatabaseFlagArrayInput is an input type that accepts DatabaseInstanceSettingsDatabaseFlagArray and DatabaseInstanceSettingsDatabaseFlagArrayOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsDatabaseFlagArrayInput` via:
DatabaseInstanceSettingsDatabaseFlagArray{ DatabaseInstanceSettingsDatabaseFlagArgs{...} }
type DatabaseInstanceSettingsDatabaseFlagArrayOutput ¶
type DatabaseInstanceSettingsDatabaseFlagArrayOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceSettingsDatabaseFlagArrayOutput) ElementType ¶
func (DatabaseInstanceSettingsDatabaseFlagArrayOutput) ElementType() reflect.Type
func (DatabaseInstanceSettingsDatabaseFlagArrayOutput) ToDatabaseInstanceSettingsDatabaseFlagArrayOutput ¶
func (o DatabaseInstanceSettingsDatabaseFlagArrayOutput) ToDatabaseInstanceSettingsDatabaseFlagArrayOutput() DatabaseInstanceSettingsDatabaseFlagArrayOutput
func (DatabaseInstanceSettingsDatabaseFlagArrayOutput) ToDatabaseInstanceSettingsDatabaseFlagArrayOutputWithContext ¶
func (o DatabaseInstanceSettingsDatabaseFlagArrayOutput) ToDatabaseInstanceSettingsDatabaseFlagArrayOutputWithContext(ctx context.Context) DatabaseInstanceSettingsDatabaseFlagArrayOutput
type DatabaseInstanceSettingsDatabaseFlagInput ¶
type DatabaseInstanceSettingsDatabaseFlagInput interface { pulumi.Input ToDatabaseInstanceSettingsDatabaseFlagOutput() DatabaseInstanceSettingsDatabaseFlagOutput ToDatabaseInstanceSettingsDatabaseFlagOutputWithContext(context.Context) DatabaseInstanceSettingsDatabaseFlagOutput }
DatabaseInstanceSettingsDatabaseFlagInput is an input type that accepts DatabaseInstanceSettingsDatabaseFlagArgs and DatabaseInstanceSettingsDatabaseFlagOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsDatabaseFlagInput` via:
DatabaseInstanceSettingsDatabaseFlagArgs{...}
type DatabaseInstanceSettingsDatabaseFlagOutput ¶
type DatabaseInstanceSettingsDatabaseFlagOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceSettingsDatabaseFlagOutput) ElementType ¶
func (DatabaseInstanceSettingsDatabaseFlagOutput) ElementType() reflect.Type
func (DatabaseInstanceSettingsDatabaseFlagOutput) Name ¶
func (o DatabaseInstanceSettingsDatabaseFlagOutput) Name() pulumi.StringOutput
A name for this whitelist entry.
func (DatabaseInstanceSettingsDatabaseFlagOutput) ToDatabaseInstanceSettingsDatabaseFlagOutput ¶
func (o DatabaseInstanceSettingsDatabaseFlagOutput) ToDatabaseInstanceSettingsDatabaseFlagOutput() DatabaseInstanceSettingsDatabaseFlagOutput
func (DatabaseInstanceSettingsDatabaseFlagOutput) ToDatabaseInstanceSettingsDatabaseFlagOutputWithContext ¶
func (o DatabaseInstanceSettingsDatabaseFlagOutput) ToDatabaseInstanceSettingsDatabaseFlagOutputWithContext(ctx context.Context) DatabaseInstanceSettingsDatabaseFlagOutput
func (DatabaseInstanceSettingsDatabaseFlagOutput) Value ¶
func (o DatabaseInstanceSettingsDatabaseFlagOutput) Value() pulumi.StringOutput
A CIDR notation IPv4 or IPv6 address that is allowed to access this instance. Must be set even if other two attributes are not for the whitelist to become active.
type DatabaseInstanceSettingsInput ¶
type DatabaseInstanceSettingsInput interface { pulumi.Input ToDatabaseInstanceSettingsOutput() DatabaseInstanceSettingsOutput ToDatabaseInstanceSettingsOutputWithContext(context.Context) DatabaseInstanceSettingsOutput }
DatabaseInstanceSettingsInput is an input type that accepts DatabaseInstanceSettingsArgs and DatabaseInstanceSettingsOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsInput` via:
DatabaseInstanceSettingsArgs{...}
type DatabaseInstanceSettingsIpConfiguration ¶
type DatabaseInstanceSettingsIpConfiguration struct { AuthorizedNetworks []DatabaseInstanceSettingsIpConfigurationAuthorizedNetwork `pulumi:"authorizedNetworks"` // Whether this Cloud SQL instance should be assigned // a public IPV4 address. Either `ipv4Enabled` must be enabled or a // `privateNetwork` must be configured. Ipv4Enabled *bool `pulumi:"ipv4Enabled"` // 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. // Either `ipv4Enabled` must be enabled or a `privateNetwork` must be configured. // This setting can be updated, but it cannot be removed after it is set. PrivateNetwork *string `pulumi:"privateNetwork"` // True if mysqld should default to `REQUIRE X509` // for users connecting over IP. RequireSsl *bool `pulumi:"requireSsl"` }
type DatabaseInstanceSettingsIpConfigurationArgs ¶
type DatabaseInstanceSettingsIpConfigurationArgs struct { AuthorizedNetworks DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayInput `pulumi:"authorizedNetworks"` // Whether this Cloud SQL instance should be assigned // a public IPV4 address. Either `ipv4Enabled` must be enabled or a // `privateNetwork` must be configured. Ipv4Enabled pulumi.BoolPtrInput `pulumi:"ipv4Enabled"` // 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. // Either `ipv4Enabled` must be enabled or a `privateNetwork` must be configured. // This setting can be updated, but it cannot be removed after it is set. PrivateNetwork pulumi.StringPtrInput `pulumi:"privateNetwork"` // True if mysqld should default to `REQUIRE X509` // for users connecting over IP. RequireSsl pulumi.BoolPtrInput `pulumi:"requireSsl"` }
func (DatabaseInstanceSettingsIpConfigurationArgs) ElementType ¶
func (DatabaseInstanceSettingsIpConfigurationArgs) ElementType() reflect.Type
func (DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationOutput ¶
func (i DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationOutput() DatabaseInstanceSettingsIpConfigurationOutput
func (DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationOutputWithContext ¶
func (i DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationOutput
func (DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationPtrOutput ¶
func (i DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationPtrOutput() DatabaseInstanceSettingsIpConfigurationPtrOutput
func (DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationPtrOutputWithContext ¶
func (i DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationPtrOutput
type DatabaseInstanceSettingsIpConfigurationAuthorizedNetwork ¶
type DatabaseInstanceSettingsIpConfigurationAuthorizedNetwork struct { // The [RFC 3339](https://tools.ietf.org/html/rfc3339) // formatted date time string indicating when this whitelist expires. ExpirationTime *string `pulumi:"expirationTime"` // A name for this whitelist entry. Name *string `pulumi:"name"` // A CIDR notation IPv4 or IPv6 address that is allowed to // access this instance. Must be set even if other two attributes are not for // the whitelist to become active. Value string `pulumi:"value"` }
type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs ¶
type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs struct { // The [RFC 3339](https://tools.ietf.org/html/rfc3339) // formatted date time string indicating when this whitelist expires. ExpirationTime pulumi.StringPtrInput `pulumi:"expirationTime"` // A name for this whitelist entry. Name pulumi.StringPtrInput `pulumi:"name"` // A CIDR notation IPv4 or IPv6 address that is allowed to // access this instance. Must be set even if other two attributes are not for // the whitelist to become active. Value pulumi.StringInput `pulumi:"value"` }
func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs) ElementType ¶
func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs) ElementType() reflect.Type
func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput ¶
func (i DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput() DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput
func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutputWithContext ¶
func (i DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput
type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray ¶
type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray []DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkInput
func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray) ElementType ¶
func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray) ElementType() reflect.Type
func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput ¶
func (i DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput() DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput
func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutputWithContext ¶
func (i DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput
type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayInput ¶
type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayInput interface { pulumi.Input ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput() DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutputWithContext(context.Context) DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput }
DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayInput is an input type that accepts DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray and DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayInput` via:
DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray{ DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs{...} }
type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput ¶
type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput) ElementType ¶
func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput) ElementType() reflect.Type
func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput ¶
func (o DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput() DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput
func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutputWithContext ¶
func (o DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput
type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkInput ¶
type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkInput interface { pulumi.Input ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput() DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutputWithContext(context.Context) DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput }
DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkInput is an input type that accepts DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs and DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkInput` via:
DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs{...}
type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput ¶
type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) ElementType ¶
func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) ElementType() reflect.Type
func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) ExpirationTime ¶
func (o DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) ExpirationTime() pulumi.StringPtrOutput
The [RFC 3339](https://tools.ietf.org/html/rfc3339) formatted date time string indicating when this whitelist expires.
func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) Name ¶
func (o DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) Name() pulumi.StringPtrOutput
A name for this whitelist entry.
func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput ¶
func (o DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput() DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput
func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutputWithContext ¶
func (o DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput
type DatabaseInstanceSettingsIpConfigurationInput ¶
type DatabaseInstanceSettingsIpConfigurationInput interface { pulumi.Input ToDatabaseInstanceSettingsIpConfigurationOutput() DatabaseInstanceSettingsIpConfigurationOutput ToDatabaseInstanceSettingsIpConfigurationOutputWithContext(context.Context) DatabaseInstanceSettingsIpConfigurationOutput }
DatabaseInstanceSettingsIpConfigurationInput is an input type that accepts DatabaseInstanceSettingsIpConfigurationArgs and DatabaseInstanceSettingsIpConfigurationOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsIpConfigurationInput` via:
DatabaseInstanceSettingsIpConfigurationArgs{...}
type DatabaseInstanceSettingsIpConfigurationOutput ¶
type DatabaseInstanceSettingsIpConfigurationOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceSettingsIpConfigurationOutput) AuthorizedNetworks ¶
func (o DatabaseInstanceSettingsIpConfigurationOutput) AuthorizedNetworks() DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput
func (DatabaseInstanceSettingsIpConfigurationOutput) ElementType ¶
func (DatabaseInstanceSettingsIpConfigurationOutput) ElementType() reflect.Type
func (DatabaseInstanceSettingsIpConfigurationOutput) Ipv4Enabled ¶
func (o DatabaseInstanceSettingsIpConfigurationOutput) Ipv4Enabled() pulumi.BoolPtrOutput
Whether this Cloud SQL instance should be assigned a public IPV4 address. Either `ipv4Enabled` must be enabled or a `privateNetwork` must be configured.
func (DatabaseInstanceSettingsIpConfigurationOutput) PrivateNetwork ¶
func (o DatabaseInstanceSettingsIpConfigurationOutput) PrivateNetwork() pulumi.StringPtrOutput
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. Either `ipv4Enabled` must be enabled or a `privateNetwork` must be configured. This setting can be updated, but it cannot be removed after it is set.
func (DatabaseInstanceSettingsIpConfigurationOutput) RequireSsl ¶
func (o DatabaseInstanceSettingsIpConfigurationOutput) RequireSsl() pulumi.BoolPtrOutput
True if mysqld should default to `REQUIRE X509` for users connecting over IP.
func (DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationOutput ¶
func (o DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationOutput() DatabaseInstanceSettingsIpConfigurationOutput
func (DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationOutputWithContext ¶
func (o DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationOutput
func (DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutput ¶
func (o DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutput() DatabaseInstanceSettingsIpConfigurationPtrOutput
func (DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutputWithContext ¶
func (o DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationPtrOutput
type DatabaseInstanceSettingsIpConfigurationPtrInput ¶
type DatabaseInstanceSettingsIpConfigurationPtrInput interface { pulumi.Input ToDatabaseInstanceSettingsIpConfigurationPtrOutput() DatabaseInstanceSettingsIpConfigurationPtrOutput ToDatabaseInstanceSettingsIpConfigurationPtrOutputWithContext(context.Context) DatabaseInstanceSettingsIpConfigurationPtrOutput }
DatabaseInstanceSettingsIpConfigurationPtrInput is an input type that accepts DatabaseInstanceSettingsIpConfigurationArgs, DatabaseInstanceSettingsIpConfigurationPtr and DatabaseInstanceSettingsIpConfigurationPtrOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsIpConfigurationPtrInput` via:
DatabaseInstanceSettingsIpConfigurationArgs{...} or: nil
func DatabaseInstanceSettingsIpConfigurationPtr ¶
func DatabaseInstanceSettingsIpConfigurationPtr(v *DatabaseInstanceSettingsIpConfigurationArgs) DatabaseInstanceSettingsIpConfigurationPtrInput
type DatabaseInstanceSettingsIpConfigurationPtrOutput ¶
type DatabaseInstanceSettingsIpConfigurationPtrOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceSettingsIpConfigurationPtrOutput) AuthorizedNetworks ¶
func (o DatabaseInstanceSettingsIpConfigurationPtrOutput) AuthorizedNetworks() DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput
func (DatabaseInstanceSettingsIpConfigurationPtrOutput) ElementType ¶
func (DatabaseInstanceSettingsIpConfigurationPtrOutput) ElementType() reflect.Type
func (DatabaseInstanceSettingsIpConfigurationPtrOutput) Ipv4Enabled ¶
func (o DatabaseInstanceSettingsIpConfigurationPtrOutput) Ipv4Enabled() pulumi.BoolPtrOutput
Whether this Cloud SQL instance should be assigned a public IPV4 address. Either `ipv4Enabled` must be enabled or a `privateNetwork` must be configured.
func (DatabaseInstanceSettingsIpConfigurationPtrOutput) PrivateNetwork ¶
func (o DatabaseInstanceSettingsIpConfigurationPtrOutput) PrivateNetwork() pulumi.StringPtrOutput
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. Either `ipv4Enabled` must be enabled or a `privateNetwork` must be configured. This setting can be updated, but it cannot be removed after it is set.
func (DatabaseInstanceSettingsIpConfigurationPtrOutput) RequireSsl ¶
func (o DatabaseInstanceSettingsIpConfigurationPtrOutput) RequireSsl() pulumi.BoolPtrOutput
True if mysqld should default to `REQUIRE X509` for users connecting over IP.
func (DatabaseInstanceSettingsIpConfigurationPtrOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutput ¶
func (o DatabaseInstanceSettingsIpConfigurationPtrOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutput() DatabaseInstanceSettingsIpConfigurationPtrOutput
func (DatabaseInstanceSettingsIpConfigurationPtrOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutputWithContext ¶
func (o DatabaseInstanceSettingsIpConfigurationPtrOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationPtrOutput
type DatabaseInstanceSettingsLocationPreference ¶
type DatabaseInstanceSettingsLocationPreference struct { // A GAE application whose zone to remain // in. Must be in the same region as this instance. FollowGaeApplication *string `pulumi:"followGaeApplication"` // The preferred compute engine // [zone](https://cloud.google.com/compute/docs/zones?hl=en). Zone *string `pulumi:"zone"` }
type DatabaseInstanceSettingsLocationPreferenceArgs ¶
type DatabaseInstanceSettingsLocationPreferenceArgs struct { // A GAE application whose zone to remain // in. Must be in the same region as this instance. FollowGaeApplication pulumi.StringPtrInput `pulumi:"followGaeApplication"` // The preferred compute engine // [zone](https://cloud.google.com/compute/docs/zones?hl=en). Zone pulumi.StringPtrInput `pulumi:"zone"` }
func (DatabaseInstanceSettingsLocationPreferenceArgs) ElementType ¶
func (DatabaseInstanceSettingsLocationPreferenceArgs) ElementType() reflect.Type
func (DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferenceOutput ¶
func (i DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferenceOutput() DatabaseInstanceSettingsLocationPreferenceOutput
func (DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferenceOutputWithContext ¶
func (i DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferenceOutputWithContext(ctx context.Context) DatabaseInstanceSettingsLocationPreferenceOutput
func (DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferencePtrOutput ¶
func (i DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferencePtrOutput() DatabaseInstanceSettingsLocationPreferencePtrOutput
func (DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferencePtrOutputWithContext ¶
func (i DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferencePtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsLocationPreferencePtrOutput
type DatabaseInstanceSettingsLocationPreferenceInput ¶
type DatabaseInstanceSettingsLocationPreferenceInput interface { pulumi.Input ToDatabaseInstanceSettingsLocationPreferenceOutput() DatabaseInstanceSettingsLocationPreferenceOutput ToDatabaseInstanceSettingsLocationPreferenceOutputWithContext(context.Context) DatabaseInstanceSettingsLocationPreferenceOutput }
DatabaseInstanceSettingsLocationPreferenceInput is an input type that accepts DatabaseInstanceSettingsLocationPreferenceArgs and DatabaseInstanceSettingsLocationPreferenceOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsLocationPreferenceInput` via:
DatabaseInstanceSettingsLocationPreferenceArgs{...}
type DatabaseInstanceSettingsLocationPreferenceOutput ¶
type DatabaseInstanceSettingsLocationPreferenceOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceSettingsLocationPreferenceOutput) ElementType ¶
func (DatabaseInstanceSettingsLocationPreferenceOutput) ElementType() reflect.Type
func (DatabaseInstanceSettingsLocationPreferenceOutput) FollowGaeApplication ¶
func (o DatabaseInstanceSettingsLocationPreferenceOutput) FollowGaeApplication() pulumi.StringPtrOutput
A GAE application whose zone to remain in. Must be in the same region as this instance.
func (DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferenceOutput ¶
func (o DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferenceOutput() DatabaseInstanceSettingsLocationPreferenceOutput
func (DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferenceOutputWithContext ¶
func (o DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferenceOutputWithContext(ctx context.Context) DatabaseInstanceSettingsLocationPreferenceOutput
func (DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutput ¶
func (o DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutput() DatabaseInstanceSettingsLocationPreferencePtrOutput
func (DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutputWithContext ¶
func (o DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsLocationPreferencePtrOutput
func (DatabaseInstanceSettingsLocationPreferenceOutput) Zone ¶
func (o DatabaseInstanceSettingsLocationPreferenceOutput) Zone() pulumi.StringPtrOutput
The preferred compute engine [zone](https://cloud.google.com/compute/docs/zones?hl=en).
type DatabaseInstanceSettingsLocationPreferencePtrInput ¶
type DatabaseInstanceSettingsLocationPreferencePtrInput interface { pulumi.Input ToDatabaseInstanceSettingsLocationPreferencePtrOutput() DatabaseInstanceSettingsLocationPreferencePtrOutput ToDatabaseInstanceSettingsLocationPreferencePtrOutputWithContext(context.Context) DatabaseInstanceSettingsLocationPreferencePtrOutput }
DatabaseInstanceSettingsLocationPreferencePtrInput is an input type that accepts DatabaseInstanceSettingsLocationPreferenceArgs, DatabaseInstanceSettingsLocationPreferencePtr and DatabaseInstanceSettingsLocationPreferencePtrOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsLocationPreferencePtrInput` via:
DatabaseInstanceSettingsLocationPreferenceArgs{...} or: nil
func DatabaseInstanceSettingsLocationPreferencePtr ¶
func DatabaseInstanceSettingsLocationPreferencePtr(v *DatabaseInstanceSettingsLocationPreferenceArgs) DatabaseInstanceSettingsLocationPreferencePtrInput
type DatabaseInstanceSettingsLocationPreferencePtrOutput ¶
type DatabaseInstanceSettingsLocationPreferencePtrOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceSettingsLocationPreferencePtrOutput) ElementType ¶
func (DatabaseInstanceSettingsLocationPreferencePtrOutput) ElementType() reflect.Type
func (DatabaseInstanceSettingsLocationPreferencePtrOutput) FollowGaeApplication ¶
func (o DatabaseInstanceSettingsLocationPreferencePtrOutput) FollowGaeApplication() pulumi.StringPtrOutput
A GAE application whose zone to remain in. Must be in the same region as this instance.
func (DatabaseInstanceSettingsLocationPreferencePtrOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutput ¶
func (o DatabaseInstanceSettingsLocationPreferencePtrOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutput() DatabaseInstanceSettingsLocationPreferencePtrOutput
func (DatabaseInstanceSettingsLocationPreferencePtrOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutputWithContext ¶
func (o DatabaseInstanceSettingsLocationPreferencePtrOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsLocationPreferencePtrOutput
func (DatabaseInstanceSettingsLocationPreferencePtrOutput) Zone ¶
func (o DatabaseInstanceSettingsLocationPreferencePtrOutput) Zone() pulumi.StringPtrOutput
The preferred compute engine [zone](https://cloud.google.com/compute/docs/zones?hl=en).
type DatabaseInstanceSettingsMaintenanceWindow ¶
type DatabaseInstanceSettingsMaintenanceWindow struct { // Day of week (`1-7`), starting on Monday Day *int `pulumi:"day"` // Hour of day (`0-23`), ignored if `day` not set Hour *int `pulumi:"hour"` // Receive updates earlier (`canary`) or later // (`stable`) UpdateTrack *string `pulumi:"updateTrack"` }
type DatabaseInstanceSettingsMaintenanceWindowArgs ¶
type DatabaseInstanceSettingsMaintenanceWindowArgs struct { // Day of week (`1-7`), starting on Monday Day pulumi.IntPtrInput `pulumi:"day"` // Hour of day (`0-23`), ignored if `day` not set Hour pulumi.IntPtrInput `pulumi:"hour"` // Receive updates earlier (`canary`) or later // (`stable`) UpdateTrack pulumi.StringPtrInput `pulumi:"updateTrack"` }
func (DatabaseInstanceSettingsMaintenanceWindowArgs) ElementType ¶
func (DatabaseInstanceSettingsMaintenanceWindowArgs) ElementType() reflect.Type
func (DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowOutput ¶
func (i DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowOutput() DatabaseInstanceSettingsMaintenanceWindowOutput
func (DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowOutputWithContext ¶
func (i DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowOutputWithContext(ctx context.Context) DatabaseInstanceSettingsMaintenanceWindowOutput
func (DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutput ¶
func (i DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutput() DatabaseInstanceSettingsMaintenanceWindowPtrOutput
func (DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutputWithContext ¶
func (i DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsMaintenanceWindowPtrOutput
type DatabaseInstanceSettingsMaintenanceWindowInput ¶
type DatabaseInstanceSettingsMaintenanceWindowInput interface { pulumi.Input ToDatabaseInstanceSettingsMaintenanceWindowOutput() DatabaseInstanceSettingsMaintenanceWindowOutput ToDatabaseInstanceSettingsMaintenanceWindowOutputWithContext(context.Context) DatabaseInstanceSettingsMaintenanceWindowOutput }
DatabaseInstanceSettingsMaintenanceWindowInput is an input type that accepts DatabaseInstanceSettingsMaintenanceWindowArgs and DatabaseInstanceSettingsMaintenanceWindowOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsMaintenanceWindowInput` via:
DatabaseInstanceSettingsMaintenanceWindowArgs{...}
type DatabaseInstanceSettingsMaintenanceWindowOutput ¶
type DatabaseInstanceSettingsMaintenanceWindowOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceSettingsMaintenanceWindowOutput) Day ¶
func (o DatabaseInstanceSettingsMaintenanceWindowOutput) Day() pulumi.IntPtrOutput
Day of week (`1-7`), starting on Monday
func (DatabaseInstanceSettingsMaintenanceWindowOutput) ElementType ¶
func (DatabaseInstanceSettingsMaintenanceWindowOutput) ElementType() reflect.Type
func (DatabaseInstanceSettingsMaintenanceWindowOutput) Hour ¶
func (o DatabaseInstanceSettingsMaintenanceWindowOutput) Hour() pulumi.IntPtrOutput
Hour of day (`0-23`), ignored if `day` not set
func (DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowOutput ¶
func (o DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowOutput() DatabaseInstanceSettingsMaintenanceWindowOutput
func (DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowOutputWithContext ¶
func (o DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowOutputWithContext(ctx context.Context) DatabaseInstanceSettingsMaintenanceWindowOutput
func (DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutput ¶
func (o DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutput() DatabaseInstanceSettingsMaintenanceWindowPtrOutput
func (DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutputWithContext ¶
func (o DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsMaintenanceWindowPtrOutput
func (DatabaseInstanceSettingsMaintenanceWindowOutput) UpdateTrack ¶
func (o DatabaseInstanceSettingsMaintenanceWindowOutput) UpdateTrack() pulumi.StringPtrOutput
Receive updates earlier (`canary`) or later (`stable`)
type DatabaseInstanceSettingsMaintenanceWindowPtrInput ¶
type DatabaseInstanceSettingsMaintenanceWindowPtrInput interface { pulumi.Input ToDatabaseInstanceSettingsMaintenanceWindowPtrOutput() DatabaseInstanceSettingsMaintenanceWindowPtrOutput ToDatabaseInstanceSettingsMaintenanceWindowPtrOutputWithContext(context.Context) DatabaseInstanceSettingsMaintenanceWindowPtrOutput }
DatabaseInstanceSettingsMaintenanceWindowPtrInput is an input type that accepts DatabaseInstanceSettingsMaintenanceWindowArgs, DatabaseInstanceSettingsMaintenanceWindowPtr and DatabaseInstanceSettingsMaintenanceWindowPtrOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsMaintenanceWindowPtrInput` via:
DatabaseInstanceSettingsMaintenanceWindowArgs{...} or: nil
func DatabaseInstanceSettingsMaintenanceWindowPtr ¶
func DatabaseInstanceSettingsMaintenanceWindowPtr(v *DatabaseInstanceSettingsMaintenanceWindowArgs) DatabaseInstanceSettingsMaintenanceWindowPtrInput
type DatabaseInstanceSettingsMaintenanceWindowPtrOutput ¶
type DatabaseInstanceSettingsMaintenanceWindowPtrOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceSettingsMaintenanceWindowPtrOutput) Day ¶
func (o DatabaseInstanceSettingsMaintenanceWindowPtrOutput) Day() pulumi.IntPtrOutput
Day of week (`1-7`), starting on Monday
func (DatabaseInstanceSettingsMaintenanceWindowPtrOutput) ElementType ¶
func (DatabaseInstanceSettingsMaintenanceWindowPtrOutput) ElementType() reflect.Type
func (DatabaseInstanceSettingsMaintenanceWindowPtrOutput) Hour ¶
func (o DatabaseInstanceSettingsMaintenanceWindowPtrOutput) Hour() pulumi.IntPtrOutput
Hour of day (`0-23`), ignored if `day` not set
func (DatabaseInstanceSettingsMaintenanceWindowPtrOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutput ¶
func (o DatabaseInstanceSettingsMaintenanceWindowPtrOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutput() DatabaseInstanceSettingsMaintenanceWindowPtrOutput
func (DatabaseInstanceSettingsMaintenanceWindowPtrOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutputWithContext ¶
func (o DatabaseInstanceSettingsMaintenanceWindowPtrOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsMaintenanceWindowPtrOutput
func (DatabaseInstanceSettingsMaintenanceWindowPtrOutput) UpdateTrack ¶
func (o DatabaseInstanceSettingsMaintenanceWindowPtrOutput) UpdateTrack() pulumi.StringPtrOutput
Receive updates earlier (`canary`) or later (`stable`)
type DatabaseInstanceSettingsOutput ¶
type DatabaseInstanceSettingsOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceSettingsOutput) ActivationPolicy ¶
func (o DatabaseInstanceSettingsOutput) ActivationPolicy() pulumi.StringPtrOutput
This specifies when the instance should be active. Can be either `ALWAYS`, `NEVER` or `ON_DEMAND`.
func (DatabaseInstanceSettingsOutput) AuthorizedGaeApplications
deprecated
func (o DatabaseInstanceSettingsOutput) AuthorizedGaeApplications() pulumi.StringArrayOutput
This property is only applicable to First Generation instances. First Generation instances are now deprecated, see [here](https://cloud.google.com/sql/docs/mysql/upgrade-2nd-gen) for information on how to upgrade to Second Generation instances. A list of Google App Engine (GAE) project names that are allowed to access this instance.
Deprecated: This property is only applicable to First Generation instances, and First Generation instances are now deprecated.
func (DatabaseInstanceSettingsOutput) AvailabilityType ¶
func (o DatabaseInstanceSettingsOutput) AvailabilityType() pulumi.StringPtrOutput
The availability type of the Cloud SQL instance, high availability (`REGIONAL`) or single zone (`ZONAL`).' For MySQL instances, ensure that `settings.backup_configuration.enabled` and `settings.backup_configuration.binary_log_enabled` are both set to `true`.
func (DatabaseInstanceSettingsOutput) BackupConfiguration ¶
func (o DatabaseInstanceSettingsOutput) BackupConfiguration() DatabaseInstanceSettingsBackupConfigurationPtrOutput
func (DatabaseInstanceSettingsOutput) CrashSafeReplication
deprecated
func (o DatabaseInstanceSettingsOutput) CrashSafeReplication() pulumi.BoolPtrOutput
This property is only applicable to First Generation instances. First Generation instances are now deprecated, see [here](https://cloud.google.com/sql/docs/mysql/upgrade-2nd-gen) for information on how to upgrade to Second Generation instances. Specific to read instances, indicates when crash-safe replication flags are enabled.
Deprecated: This property is only applicable to First Generation instances, and First Generation instances are now deprecated.
func (DatabaseInstanceSettingsOutput) DatabaseFlags ¶
func (o DatabaseInstanceSettingsOutput) DatabaseFlags() DatabaseInstanceSettingsDatabaseFlagArrayOutput
func (DatabaseInstanceSettingsOutput) DiskAutoresize ¶
func (o DatabaseInstanceSettingsOutput) DiskAutoresize() pulumi.BoolPtrOutput
Configuration to increase storage size automatically. Note that future `pulumi apply` calls will attempt to resize the disk to the value specified in `diskSize` - if this is set, do not set `diskSize`.
func (DatabaseInstanceSettingsOutput) DiskSize ¶
func (o DatabaseInstanceSettingsOutput) DiskSize() pulumi.IntPtrOutput
The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased.
func (DatabaseInstanceSettingsOutput) DiskType ¶
func (o DatabaseInstanceSettingsOutput) DiskType() pulumi.StringPtrOutput
The type of data disk: PD_SSD or PD_HDD.
func (DatabaseInstanceSettingsOutput) ElementType ¶
func (DatabaseInstanceSettingsOutput) ElementType() reflect.Type
func (DatabaseInstanceSettingsOutput) IpConfiguration ¶
func (o DatabaseInstanceSettingsOutput) IpConfiguration() DatabaseInstanceSettingsIpConfigurationPtrOutput
func (DatabaseInstanceSettingsOutput) LocationPreference ¶
func (o DatabaseInstanceSettingsOutput) LocationPreference() DatabaseInstanceSettingsLocationPreferencePtrOutput
func (DatabaseInstanceSettingsOutput) MaintenanceWindow ¶
func (o DatabaseInstanceSettingsOutput) MaintenanceWindow() DatabaseInstanceSettingsMaintenanceWindowPtrOutput
func (DatabaseInstanceSettingsOutput) PricingPlan ¶
func (o DatabaseInstanceSettingsOutput) PricingPlan() pulumi.StringPtrOutput
Pricing plan for this instance, can only be `PER_USE`.
func (DatabaseInstanceSettingsOutput) ReplicationType
deprecated
func (o DatabaseInstanceSettingsOutput) ReplicationType() pulumi.StringPtrOutput
This property is only applicable to First Generation instances. First Generation instances are now deprecated, see [here](https://cloud.google.com/sql/docs/mysql/upgrade-2nd-gen) for information on how to upgrade to Second Generation instances. Replication type for this instance, can be one of `ASYNCHRONOUS` or `SYNCHRONOUS`.
Deprecated: This property is only applicable to First Generation instances, and First Generation instances are now deprecated.
func (DatabaseInstanceSettingsOutput) Tier ¶
func (o DatabaseInstanceSettingsOutput) Tier() pulumi.StringOutput
The machine type to use. See [tiers](https://cloud.google.com/sql/docs/admin-api/v1beta4/tiers) for more details and supported versions. Postgres supports only shared-core machine types such as `db-f1-micro`, and custom machine types such as `db-custom-2-13312`. See the [Custom Machine Type Documentation](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create) to learn about specifying custom machine types.
func (DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsOutput ¶
func (o DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsOutput() DatabaseInstanceSettingsOutput
func (DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsOutputWithContext ¶
func (o DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsOutputWithContext(ctx context.Context) DatabaseInstanceSettingsOutput
func (DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsPtrOutput ¶
func (o DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsPtrOutput() DatabaseInstanceSettingsPtrOutput
func (DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsPtrOutputWithContext ¶
func (o DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsPtrOutput
func (DatabaseInstanceSettingsOutput) UserLabels ¶
func (o DatabaseInstanceSettingsOutput) UserLabels() pulumi.StringMapOutput
A set of key/value user label pairs to assign to the instance.
func (DatabaseInstanceSettingsOutput) Version ¶
func (o DatabaseInstanceSettingsOutput) Version() pulumi.IntPtrOutput
type DatabaseInstanceSettingsPtrInput ¶
type DatabaseInstanceSettingsPtrInput interface { pulumi.Input ToDatabaseInstanceSettingsPtrOutput() DatabaseInstanceSettingsPtrOutput ToDatabaseInstanceSettingsPtrOutputWithContext(context.Context) DatabaseInstanceSettingsPtrOutput }
DatabaseInstanceSettingsPtrInput is an input type that accepts DatabaseInstanceSettingsArgs, DatabaseInstanceSettingsPtr and DatabaseInstanceSettingsPtrOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsPtrInput` via:
DatabaseInstanceSettingsArgs{...} or: nil
func DatabaseInstanceSettingsPtr ¶
func DatabaseInstanceSettingsPtr(v *DatabaseInstanceSettingsArgs) DatabaseInstanceSettingsPtrInput
type DatabaseInstanceSettingsPtrOutput ¶
type DatabaseInstanceSettingsPtrOutput struct{ *pulumi.OutputState }
func (DatabaseInstanceSettingsPtrOutput) ActivationPolicy ¶
func (o DatabaseInstanceSettingsPtrOutput) ActivationPolicy() pulumi.StringPtrOutput
This specifies when the instance should be active. Can be either `ALWAYS`, `NEVER` or `ON_DEMAND`.
func (DatabaseInstanceSettingsPtrOutput) AuthorizedGaeApplications
deprecated
func (o DatabaseInstanceSettingsPtrOutput) AuthorizedGaeApplications() pulumi.StringArrayOutput
This property is only applicable to First Generation instances. First Generation instances are now deprecated, see [here](https://cloud.google.com/sql/docs/mysql/upgrade-2nd-gen) for information on how to upgrade to Second Generation instances. A list of Google App Engine (GAE) project names that are allowed to access this instance.
Deprecated: This property is only applicable to First Generation instances, and First Generation instances are now deprecated.
func (DatabaseInstanceSettingsPtrOutput) AvailabilityType ¶
func (o DatabaseInstanceSettingsPtrOutput) AvailabilityType() pulumi.StringPtrOutput
The availability type of the Cloud SQL instance, high availability (`REGIONAL`) or single zone (`ZONAL`).' For MySQL instances, ensure that `settings.backup_configuration.enabled` and `settings.backup_configuration.binary_log_enabled` are both set to `true`.
func (DatabaseInstanceSettingsPtrOutput) BackupConfiguration ¶
func (o DatabaseInstanceSettingsPtrOutput) BackupConfiguration() DatabaseInstanceSettingsBackupConfigurationPtrOutput
func (DatabaseInstanceSettingsPtrOutput) CrashSafeReplication
deprecated
func (o DatabaseInstanceSettingsPtrOutput) CrashSafeReplication() pulumi.BoolPtrOutput
This property is only applicable to First Generation instances. First Generation instances are now deprecated, see [here](https://cloud.google.com/sql/docs/mysql/upgrade-2nd-gen) for information on how to upgrade to Second Generation instances. Specific to read instances, indicates when crash-safe replication flags are enabled.
Deprecated: This property is only applicable to First Generation instances, and First Generation instances are now deprecated.
func (DatabaseInstanceSettingsPtrOutput) DatabaseFlags ¶
func (o DatabaseInstanceSettingsPtrOutput) DatabaseFlags() DatabaseInstanceSettingsDatabaseFlagArrayOutput
func (DatabaseInstanceSettingsPtrOutput) DiskAutoresize ¶
func (o DatabaseInstanceSettingsPtrOutput) DiskAutoresize() pulumi.BoolPtrOutput
Configuration to increase storage size automatically. Note that future `pulumi apply` calls will attempt to resize the disk to the value specified in `diskSize` - if this is set, do not set `diskSize`.
func (DatabaseInstanceSettingsPtrOutput) DiskSize ¶
func (o DatabaseInstanceSettingsPtrOutput) DiskSize() pulumi.IntPtrOutput
The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased.
func (DatabaseInstanceSettingsPtrOutput) DiskType ¶
func (o DatabaseInstanceSettingsPtrOutput) DiskType() pulumi.StringPtrOutput
The type of data disk: PD_SSD or PD_HDD.
func (DatabaseInstanceSettingsPtrOutput) Elem ¶
func (o DatabaseInstanceSettingsPtrOutput) Elem() DatabaseInstanceSettingsOutput
func (DatabaseInstanceSettingsPtrOutput) ElementType ¶
func (DatabaseInstanceSettingsPtrOutput) ElementType() reflect.Type
func (DatabaseInstanceSettingsPtrOutput) IpConfiguration ¶
func (o DatabaseInstanceSettingsPtrOutput) IpConfiguration() DatabaseInstanceSettingsIpConfigurationPtrOutput
func (DatabaseInstanceSettingsPtrOutput) LocationPreference ¶
func (o DatabaseInstanceSettingsPtrOutput) LocationPreference() DatabaseInstanceSettingsLocationPreferencePtrOutput
func (DatabaseInstanceSettingsPtrOutput) MaintenanceWindow ¶
func (o DatabaseInstanceSettingsPtrOutput) MaintenanceWindow() DatabaseInstanceSettingsMaintenanceWindowPtrOutput
func (DatabaseInstanceSettingsPtrOutput) PricingPlan ¶
func (o DatabaseInstanceSettingsPtrOutput) PricingPlan() pulumi.StringPtrOutput
Pricing plan for this instance, can only be `PER_USE`.
func (DatabaseInstanceSettingsPtrOutput) ReplicationType
deprecated
func (o DatabaseInstanceSettingsPtrOutput) ReplicationType() pulumi.StringPtrOutput
This property is only applicable to First Generation instances. First Generation instances are now deprecated, see [here](https://cloud.google.com/sql/docs/mysql/upgrade-2nd-gen) for information on how to upgrade to Second Generation instances. Replication type for this instance, can be one of `ASYNCHRONOUS` or `SYNCHRONOUS`.
Deprecated: This property is only applicable to First Generation instances, and First Generation instances are now deprecated.
func (DatabaseInstanceSettingsPtrOutput) Tier ¶
func (o DatabaseInstanceSettingsPtrOutput) Tier() pulumi.StringPtrOutput
The machine type to use. See [tiers](https://cloud.google.com/sql/docs/admin-api/v1beta4/tiers) for more details and supported versions. Postgres supports only shared-core machine types such as `db-f1-micro`, and custom machine types such as `db-custom-2-13312`. See the [Custom Machine Type Documentation](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create) to learn about specifying custom machine types.
func (DatabaseInstanceSettingsPtrOutput) ToDatabaseInstanceSettingsPtrOutput ¶
func (o DatabaseInstanceSettingsPtrOutput) ToDatabaseInstanceSettingsPtrOutput() DatabaseInstanceSettingsPtrOutput
func (DatabaseInstanceSettingsPtrOutput) ToDatabaseInstanceSettingsPtrOutputWithContext ¶
func (o DatabaseInstanceSettingsPtrOutput) ToDatabaseInstanceSettingsPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsPtrOutput
func (DatabaseInstanceSettingsPtrOutput) UserLabels ¶
func (o DatabaseInstanceSettingsPtrOutput) UserLabels() pulumi.StringMapOutput
A set of key/value user label pairs to assign to the instance.
func (DatabaseInstanceSettingsPtrOutput) Version ¶
func (o DatabaseInstanceSettingsPtrOutput) Version() pulumi.IntPtrOutput
type DatabaseInstanceState ¶
type DatabaseInstanceState struct { // The connection name of the instance to be used in // connection strings. For example, when connecting with [Cloud SQL Proxy](https://cloud.google.com/sql/docs/mysql/connect-admin-proxy). ConnectionName pulumi.StringPtrInput // The MySQL, PostgreSQL or // SQL Server (beta) version to use. Supported values include `MYSQL_5_6`, // `MYSQL_5_7`, `POSTGRES_9_6`,`POSTGRES_10`, `POSTGRES_11`, `POSTGRES_12`, `SQLSERVER_2017_STANDARD`, // `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`. // [Database Version Policies](https://cloud.google.com/sql/docs/sqlserver/db-versions) // includes an up-to-date reference of supported versions. DatabaseVersion pulumi.StringPtrInput // The full path to the encryption key used for the CMEK disk encryption. Setting // up disk encryption currently requires manual steps outside of this provider. // The provided key must be in the same region as the SQL instance. In order // to use this feature, a special kind of service account must be created and // granted permission on this key. This step can currently only be done // manually, please see [this step](https://cloud.google.com/sql/docs/mysql/configure-cmek#service-account). // That service account needs the `Cloud KMS > Cloud KMS CryptoKey Encrypter/Decrypter` role on your // key - please see [this step](https://cloud.google.com/sql/docs/mysql/configure-cmek#grantkey). EncryptionKeyName pulumi.StringPtrInput // The first IPv4 address of any type assigned. FirstIpAddress pulumi.StringPtrInput IpAddresses DatabaseInstanceIpAddressArrayInput // The name of the instance that will act as // the master in the replication setup. Note, this requires the master to have // `binaryLogEnabled` set, as well as existing backups. MasterInstanceName pulumi.StringPtrInput // A name for this whitelist entry. Name pulumi.StringPtrInput // The first private (`PRIVATE`) IPv4 address assigned. PrivateIpAddress pulumi.StringPtrInput // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput // The first public (`PRIMARY`) IPv4 address assigned. PublicIpAddress pulumi.StringPtrInput // The region the instance will sit in. Note, Cloud SQL is not // available in all regions - choose from one of the options listed [here](https://cloud.google.com/sql/docs/mysql/instance-locations). // A valid region must be provided to use this resource. If a region is not provided in the resource definition, // the provider region will be used instead, but this will be an apply-time error for instances if the provider // region is not supported with Cloud SQL. If you choose not to provide the `region` argument for this resource, // make sure you understand this. Region pulumi.StringPtrInput // The configuration for replication. The // configuration is detailed below. ReplicaConfiguration DatabaseInstanceReplicaConfigurationPtrInput // Initial root password. Required for MS SQL Server, ignored by MySQL and PostgreSQL. RootPassword pulumi.StringPtrInput // The URI of the created resource. SelfLink pulumi.StringPtrInput ServerCaCert DatabaseInstanceServerCaCertPtrInput // The service account email address assigned to the // instance. ServiceAccountEmailAddress pulumi.StringPtrInput // The settings to use for the database. The // configuration is detailed below. Settings DatabaseInstanceSettingsPtrInput }
func (DatabaseInstanceState) ElementType ¶
func (DatabaseInstanceState) ElementType() reflect.Type
type DatabaseState ¶
type DatabaseState struct { // The charset value. See MySQL's // [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html) // and Postgres' [Character Set Support](https://www.postgresql.org/docs/9.6/static/multibyte.html) // for more details and supported values. Postgres databases only support // a value of `UTF8` at creation time. Charset pulumi.StringPtrInput // The collation value. See MySQL's // [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html) // and Postgres' [Collation Support](https://www.postgresql.org/docs/9.6/static/collation.html) // for more details and supported values. Postgres databases only support // a value of `en_US.UTF8` at creation time. Collation pulumi.StringPtrInput // The name of the Cloud SQL instance. This does not include the project // ID. Instance pulumi.StringPtrInput // The name of the database in the Cloud SQL instance. // This does not include the project ID or instance name. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The URI of the created resource. SelfLink pulumi.StringPtrInput }
func (DatabaseState) ElementType ¶
func (DatabaseState) ElementType() reflect.Type
type GetCaCertsArgs ¶
type GetCaCertsArgs struct { // The name or self link of the instance. Instance string `pulumi:"instance"` // The ID of the project in which the resource belongs. If `project` is not provided, the provider project is used. Project *string `pulumi:"project"` }
A collection of arguments for invoking getCaCerts.
type GetCaCertsCert ¶
type GetCaCertsCert struct { // The CA certificate used to connect to the SQL instance via SSL. Cert string `pulumi:"cert"` // The CN valid for the CA cert. CommonName string `pulumi:"commonName"` // Creation time of the CA cert. CreateTime string `pulumi:"createTime"` // Expiration time of the CA cert. ExpirationTime string `pulumi:"expirationTime"` // SHA1 fingerprint of the CA cert. Sha1Fingerprint string `pulumi:"sha1Fingerprint"` }
type GetCaCertsCertArgs ¶
type GetCaCertsCertArgs struct { // The CA certificate used to connect to the SQL instance via SSL. Cert pulumi.StringInput `pulumi:"cert"` // The CN valid for the CA cert. CommonName pulumi.StringInput `pulumi:"commonName"` // Creation time of the CA cert. CreateTime pulumi.StringInput `pulumi:"createTime"` // Expiration time of the CA cert. ExpirationTime pulumi.StringInput `pulumi:"expirationTime"` // SHA1 fingerprint of the CA cert. Sha1Fingerprint pulumi.StringInput `pulumi:"sha1Fingerprint"` }
func (GetCaCertsCertArgs) ElementType ¶
func (GetCaCertsCertArgs) ElementType() reflect.Type
func (GetCaCertsCertArgs) ToGetCaCertsCertOutput ¶
func (i GetCaCertsCertArgs) ToGetCaCertsCertOutput() GetCaCertsCertOutput
func (GetCaCertsCertArgs) ToGetCaCertsCertOutputWithContext ¶
func (i GetCaCertsCertArgs) ToGetCaCertsCertOutputWithContext(ctx context.Context) GetCaCertsCertOutput
type GetCaCertsCertArray ¶
type GetCaCertsCertArray []GetCaCertsCertInput
func (GetCaCertsCertArray) ElementType ¶
func (GetCaCertsCertArray) ElementType() reflect.Type
func (GetCaCertsCertArray) ToGetCaCertsCertArrayOutput ¶
func (i GetCaCertsCertArray) ToGetCaCertsCertArrayOutput() GetCaCertsCertArrayOutput
func (GetCaCertsCertArray) ToGetCaCertsCertArrayOutputWithContext ¶
func (i GetCaCertsCertArray) ToGetCaCertsCertArrayOutputWithContext(ctx context.Context) GetCaCertsCertArrayOutput
type GetCaCertsCertArrayInput ¶
type GetCaCertsCertArrayInput interface { pulumi.Input ToGetCaCertsCertArrayOutput() GetCaCertsCertArrayOutput ToGetCaCertsCertArrayOutputWithContext(context.Context) GetCaCertsCertArrayOutput }
GetCaCertsCertArrayInput is an input type that accepts GetCaCertsCertArray and GetCaCertsCertArrayOutput values. You can construct a concrete instance of `GetCaCertsCertArrayInput` via:
GetCaCertsCertArray{ GetCaCertsCertArgs{...} }
type GetCaCertsCertArrayOutput ¶
type GetCaCertsCertArrayOutput struct{ *pulumi.OutputState }
func (GetCaCertsCertArrayOutput) ElementType ¶
func (GetCaCertsCertArrayOutput) ElementType() reflect.Type
func (GetCaCertsCertArrayOutput) Index ¶
func (o GetCaCertsCertArrayOutput) Index(i pulumi.IntInput) GetCaCertsCertOutput
func (GetCaCertsCertArrayOutput) ToGetCaCertsCertArrayOutput ¶
func (o GetCaCertsCertArrayOutput) ToGetCaCertsCertArrayOutput() GetCaCertsCertArrayOutput
func (GetCaCertsCertArrayOutput) ToGetCaCertsCertArrayOutputWithContext ¶
func (o GetCaCertsCertArrayOutput) ToGetCaCertsCertArrayOutputWithContext(ctx context.Context) GetCaCertsCertArrayOutput
type GetCaCertsCertInput ¶
type GetCaCertsCertInput interface { pulumi.Input ToGetCaCertsCertOutput() GetCaCertsCertOutput ToGetCaCertsCertOutputWithContext(context.Context) GetCaCertsCertOutput }
GetCaCertsCertInput is an input type that accepts GetCaCertsCertArgs and GetCaCertsCertOutput values. You can construct a concrete instance of `GetCaCertsCertInput` via:
GetCaCertsCertArgs{...}
type GetCaCertsCertOutput ¶
type GetCaCertsCertOutput struct{ *pulumi.OutputState }
func (GetCaCertsCertOutput) Cert ¶
func (o GetCaCertsCertOutput) Cert() pulumi.StringOutput
The CA certificate used to connect to the SQL instance via SSL.
func (GetCaCertsCertOutput) CommonName ¶
func (o GetCaCertsCertOutput) CommonName() pulumi.StringOutput
The CN valid for the CA cert.
func (GetCaCertsCertOutput) CreateTime ¶
func (o GetCaCertsCertOutput) CreateTime() pulumi.StringOutput
Creation time of the CA cert.
func (GetCaCertsCertOutput) ElementType ¶
func (GetCaCertsCertOutput) ElementType() reflect.Type
func (GetCaCertsCertOutput) ExpirationTime ¶
func (o GetCaCertsCertOutput) ExpirationTime() pulumi.StringOutput
Expiration time of the CA cert.
func (GetCaCertsCertOutput) Sha1Fingerprint ¶
func (o GetCaCertsCertOutput) Sha1Fingerprint() pulumi.StringOutput
SHA1 fingerprint of the CA cert.
func (GetCaCertsCertOutput) ToGetCaCertsCertOutput ¶
func (o GetCaCertsCertOutput) ToGetCaCertsCertOutput() GetCaCertsCertOutput
func (GetCaCertsCertOutput) ToGetCaCertsCertOutputWithContext ¶
func (o GetCaCertsCertOutput) ToGetCaCertsCertOutputWithContext(ctx context.Context) GetCaCertsCertOutput
type GetCaCertsResult ¶
type GetCaCertsResult struct { // SHA1 fingerprint of the currently active CA certificate. ActiveVersion string `pulumi:"activeVersion"` // A list of server CA certificates for the instance. Each contains: Certs []GetCaCertsCert `pulumi:"certs"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Instance string `pulumi:"instance"` Project string `pulumi:"project"` }
A collection of values returned by getCaCerts.
func GetCaCerts ¶
func GetCaCerts(ctx *pulumi.Context, args *GetCaCertsArgs, opts ...pulumi.InvokeOption) (*GetCaCertsResult, error)
Get all of the trusted Certificate Authorities (CAs) for the specified SQL database instance. For more information see the [official documentation](https://cloud.google.com/sql/) and [API](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/instances/listServerCas).
type SourceRepresentationInstance ¶
type SourceRepresentationInstance struct { pulumi.CustomResourceState // The MySQL version running on your source database server. DatabaseVersion pulumi.StringOutput `pulumi:"databaseVersion"` // The externally accessible IPv4 address for the source database server. Host pulumi.StringOutput `pulumi:"host"` // The name of the source representation instance. Use any valid Cloud SQL instance name. Name pulumi.StringOutput `pulumi:"name"` // The externally accessible port for the source database server. // Defaults to 3306. Port pulumi.IntPtrOutput `pulumi:"port"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The Region in which the created instance should reside. // If it is not provided, the provider region is used. Region pulumi.StringOutput `pulumi:"region"` }
A source representation instance is a Cloud SQL instance that represents the source database server to the Cloud SQL replica. It is visible in the Cloud Console and appears the same as a regular Cloud SQL instance, but it contains no data, requires no configuration or maintenance, and does not affect billing. You cannot update the source representation instance.
## Example Usage
### Sql Source Representation Instance Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v3/go/gcp/sql" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { instance, err := sql.NewSourceRepresentationInstance(ctx, "instance", &sql.SourceRepresentationInstanceArgs{ DatabaseVersion: pulumi.String("MYSQL_5_7"), Host: pulumi.String("10.20.30.40"), Port: pulumi.Int(3306), Region: pulumi.String("us-central1"), }) if err != nil { return err } return nil }) }
```
func GetSourceRepresentationInstance ¶
func GetSourceRepresentationInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SourceRepresentationInstanceState, opts ...pulumi.ResourceOption) (*SourceRepresentationInstance, error)
GetSourceRepresentationInstance gets an existing SourceRepresentationInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSourceRepresentationInstance ¶
func NewSourceRepresentationInstance(ctx *pulumi.Context, name string, args *SourceRepresentationInstanceArgs, opts ...pulumi.ResourceOption) (*SourceRepresentationInstance, error)
NewSourceRepresentationInstance registers a new resource with the given unique name, arguments, and options.
type SourceRepresentationInstanceArgs ¶
type SourceRepresentationInstanceArgs struct { // The MySQL version running on your source database server. DatabaseVersion pulumi.StringInput // The externally accessible IPv4 address for the source database server. Host pulumi.StringInput // The name of the source representation instance. Use any valid Cloud SQL instance name. Name pulumi.StringPtrInput // The externally accessible port for the source database server. // Defaults to 3306. Port pulumi.IntPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The Region in which the created instance should reside. // If it is not provided, the provider region is used. Region pulumi.StringPtrInput }
The set of arguments for constructing a SourceRepresentationInstance resource.
func (SourceRepresentationInstanceArgs) ElementType ¶
func (SourceRepresentationInstanceArgs) ElementType() reflect.Type
type SourceRepresentationInstanceState ¶
type SourceRepresentationInstanceState struct { // The MySQL version running on your source database server. DatabaseVersion pulumi.StringPtrInput // The externally accessible IPv4 address for the source database server. Host pulumi.StringPtrInput // The name of the source representation instance. Use any valid Cloud SQL instance name. Name pulumi.StringPtrInput // The externally accessible port for the source database server. // Defaults to 3306. Port pulumi.IntPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The Region in which the created instance should reside. // If it is not provided, the provider region is used. Region pulumi.StringPtrInput }
func (SourceRepresentationInstanceState) ElementType ¶
func (SourceRepresentationInstanceState) ElementType() reflect.Type
type SslCert ¶
type SslCert struct { pulumi.CustomResourceState // The actual certificate data for this client certificate. Cert pulumi.StringOutput `pulumi:"cert"` // The serial number extracted from the certificate data. CertSerialNumber pulumi.StringOutput `pulumi:"certSerialNumber"` // The common name to be used in the certificate to identify the // client. Constrained to [a-zA-Z.-_ ]+. Changing this forces a new resource to be created. CommonName pulumi.StringOutput `pulumi:"commonName"` // The time when the certificate was created in RFC 3339 format, // for example 2012-11-15T16:19:00.094Z. CreateTime pulumi.StringOutput `pulumi:"createTime"` // The time when the certificate expires in RFC 3339 format, // for example 2012-11-15T16:19:00.094Z. ExpirationTime pulumi.StringOutput `pulumi:"expirationTime"` // The name of the Cloud SQL instance. Changing this // forces a new resource to be created. Instance pulumi.StringOutput `pulumi:"instance"` // The private key associated with the client certificate. PrivateKey pulumi.StringOutput `pulumi:"privateKey"` // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The CA cert of the server this client cert was generated from. ServerCaCert pulumi.StringOutput `pulumi:"serverCaCert"` // The SHA1 Fingerprint of the certificate. Sha1Fingerprint pulumi.StringOutput `pulumi:"sha1Fingerprint"` }
Creates a new Google SQL SSL Cert on a Google SQL Instance. For more information, see the [official documentation](https://cloud.google.com/sql/), or the [JSON API](https://cloud.google.com/sql/docs/mysql/admin-api/v1beta4/sslCerts).
func GetSslCert ¶
func GetSslCert(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SslCertState, opts ...pulumi.ResourceOption) (*SslCert, error)
GetSslCert gets an existing SslCert resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSslCert ¶
func NewSslCert(ctx *pulumi.Context, name string, args *SslCertArgs, opts ...pulumi.ResourceOption) (*SslCert, error)
NewSslCert registers a new resource with the given unique name, arguments, and options.
type SslCertArgs ¶
type SslCertArgs struct { // The common name to be used in the certificate to identify the // client. Constrained to [a-zA-Z.-_ ]+. Changing this forces a new resource to be created. CommonName pulumi.StringInput // The name of the Cloud SQL instance. Changing this // forces a new resource to be created. Instance pulumi.StringInput // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a SslCert resource.
func (SslCertArgs) ElementType ¶
func (SslCertArgs) ElementType() reflect.Type
type SslCertState ¶
type SslCertState struct { // The actual certificate data for this client certificate. Cert pulumi.StringPtrInput // The serial number extracted from the certificate data. CertSerialNumber pulumi.StringPtrInput // The common name to be used in the certificate to identify the // client. Constrained to [a-zA-Z.-_ ]+. Changing this forces a new resource to be created. CommonName pulumi.StringPtrInput // The time when the certificate was created in RFC 3339 format, // for example 2012-11-15T16:19:00.094Z. CreateTime pulumi.StringPtrInput // The time when the certificate expires in RFC 3339 format, // for example 2012-11-15T16:19:00.094Z. ExpirationTime pulumi.StringPtrInput // The name of the Cloud SQL instance. Changing this // forces a new resource to be created. Instance pulumi.StringPtrInput // The private key associated with the client certificate. PrivateKey pulumi.StringPtrInput // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput // The CA cert of the server this client cert was generated from. ServerCaCert pulumi.StringPtrInput // The SHA1 Fingerprint of the certificate. Sha1Fingerprint pulumi.StringPtrInput }
func (SslCertState) ElementType ¶
func (SslCertState) ElementType() reflect.Type
type User ¶
type User struct { pulumi.CustomResourceState // The host the user can connect from. This is only supported // for MySQL instances. Don't set this field for PostgreSQL instances. // Can be an IP address. Changing this forces a new resource to be created. Host pulumi.StringPtrOutput `pulumi:"host"` // The name of the Cloud SQL instance. Changing this // forces a new resource to be created. Instance pulumi.StringOutput `pulumi:"instance"` // The name of the user. Changing this forces a new resource // to be created. Name pulumi.StringOutput `pulumi:"name"` // The password for the user. Can be updated. For Postgres // instances this is a Required field. Password pulumi.StringPtrOutput `pulumi:"password"` // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` }
Creates a new Google SQL User on a Google SQL User Instance. For more information, see the [official documentation](https://cloud.google.com/sql/), or the [JSON API](https://cloud.google.com/sql/docs/admin-api/v1beta4/users).
func GetUser ¶
func GetUser(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)
GetUser gets an existing User resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type UserArgs ¶
type UserArgs struct { // The host the user can connect from. This is only supported // for MySQL instances. Don't set this field for PostgreSQL instances. // Can be an IP address. Changing this forces a new resource to be created. Host pulumi.StringPtrInput // The name of the Cloud SQL instance. Changing this // forces a new resource to be created. Instance pulumi.StringInput // The name of the user. Changing this forces a new resource // to be created. Name pulumi.StringPtrInput // The password for the user. Can be updated. For Postgres // instances this is a Required field. Password pulumi.StringPtrInput // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a User resource.
func (UserArgs) ElementType ¶
type UserState ¶
type UserState struct { // The host the user can connect from. This is only supported // for MySQL instances. Don't set this field for PostgreSQL instances. // Can be an IP address. Changing this forces a new resource to be created. Host pulumi.StringPtrInput // The name of the Cloud SQL instance. Changing this // forces a new resource to be created. Instance pulumi.StringPtrInput // The name of the user. Changing this forces a new resource // to be created. Name pulumi.StringPtrInput // The password for the user. Can be updated. For Postgres // instances this is a Required field. Password pulumi.StringPtrInput // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput }