databasemigrationservice

package
v7.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionProfile

type ConnectionProfile struct {
	pulumi.CustomResourceState

	// Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster.
	// Structure is documented below.
	Alloydb ConnectionProfileAlloydbPtrOutput `pulumi:"alloydb"`
	// Specifies required connection parameters, and, optionally, the parameters required to create a Cloud SQL destination database instance.
	// Structure is documented below.
	Cloudsql ConnectionProfileCloudsqlPtrOutput `pulumi:"cloudsql"`
	// The ID of the connection profile.
	//
	// ***
	ConnectionProfileId pulumi.StringOutput `pulumi:"connectionProfileId"`
	// Output only. The timestamp when the resource was created. A timestamp in RFC3339 UTC 'Zulu' format, accurate to nanoseconds. Example: '2014-10-02T15:01:23.045123456Z'.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The database provider.
	Dbprovider pulumi.StringOutput `pulumi:"dbprovider"`
	// The connection profile display name.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// Output only. The error details in case of state FAILED.
	// Structure is documented below.
	Errors ConnectionProfileErrorArrayOutput `pulumi:"errors"`
	// The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The location where the connection profile should reside.
	Location pulumi.StringPtrOutput `pulumi:"location"`
	// Specifies connection parameters required specifically for MySQL databases.
	// Structure is documented below.
	Mysql ConnectionProfileMysqlPtrOutput `pulumi:"mysql"`
	// The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies connection parameters required specifically for Oracle databases.
	// Structure is documented below.
	Oracle ConnectionProfileOraclePtrOutput `pulumi:"oracle"`
	// Specifies connection parameters required specifically for PostgreSQL databases.
	// Structure is documented below.
	Postgresql ConnectionProfilePostgresqlPtrOutput `pulumi:"postgresql"`
	// 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 combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// The current connection profile state.
	State pulumi.StringOutput `pulumi:"state"`
}

A connection profile definition.

To get more information about ConnectionProfile, see:

* [API documentation](https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.connectionProfiles/create) * How-to Guides

## Example Usage

### Database Migration Service Connection Profile Cloudsql

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/databasemigrationservice"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/sql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		project, err := organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		cloudsqldb, err := sql.NewDatabaseInstance(ctx, "cloudsqldb", &sql.DatabaseInstanceArgs{
			Name:            pulumi.String("my-database"),
			DatabaseVersion: pulumi.String("MYSQL_5_7"),
			Settings: &sql.DatabaseInstanceSettingsArgs{
				Tier:                      pulumi.String("db-n1-standard-1"),
				DeletionProtectionEnabled: pulumi.Bool(false),
			},
			DeletionProtection: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		sqlClientCert, err := sql.NewSslCert(ctx, "sql_client_cert", &sql.SslCertArgs{
			CommonName: pulumi.String("my-cert"),
			Instance:   cloudsqldb.Name,
		})
		if err != nil {
			return err
		}
		sqldbUser, err := sql.NewUser(ctx, "sqldb_user", &sql.UserArgs{
			Name:     pulumi.String("my-username"),
			Instance: cloudsqldb.Name,
			Password: pulumi.String("my-password"),
		})
		if err != nil {
			return err
		}
		_, err = databasemigrationservice.NewConnectionProfile(ctx, "cloudsqlprofile", &databasemigrationservice.ConnectionProfileArgs{
			Location:            pulumi.String("us-central1"),
			ConnectionProfileId: pulumi.String("my-fromprofileid"),
			DisplayName:         pulumi.String("my-fromprofileid_display"),
			Labels: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
			Mysql: &databasemigrationservice.ConnectionProfileMysqlArgs{
				Host: cloudsqldb.IpAddresses.ApplyT(func(ipAddresses []sql.DatabaseInstanceIpAddress) (*string, error) {
					return &ipAddresses[0].IpAddress, nil
				}).(pulumi.StringPtrOutput),
				Port:     pulumi.Int(3306),
				Username: sqldbUser.Name,
				Password: sqldbUser.Password,
				Ssl: &databasemigrationservice.ConnectionProfileMysqlSslArgs{
					ClientKey:         sqlClientCert.PrivateKey,
					ClientCertificate: sqlClientCert.Cert,
					CaCertificate:     sqlClientCert.ServerCaCert,
				},
				CloudSqlId: pulumi.String("my-database"),
			},
		})
		if err != nil {
			return err
		}
		_, err = databasemigrationservice.NewConnectionProfile(ctx, "cloudsqlprofile_destination", &databasemigrationservice.ConnectionProfileArgs{
			Location:            pulumi.String("us-central1"),
			ConnectionProfileId: pulumi.String("my-toprofileid"),
			DisplayName:         pulumi.String("my-toprofileid_displayname"),
			Labels: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
			Cloudsql: &databasemigrationservice.ConnectionProfileCloudsqlArgs{
				Settings: &databasemigrationservice.ConnectionProfileCloudsqlSettingsArgs{
					DatabaseVersion: pulumi.String("MYSQL_5_7"),
					UserLabels: pulumi.StringMap{
						"cloudfoo": pulumi.String("cloudbar"),
					},
					Tier:                   pulumi.String("db-n1-standard-1"),
					Edition:                pulumi.String("ENTERPRISE"),
					StorageAutoResizeLimit: pulumi.String("0"),
					ActivationPolicy:       pulumi.String("ALWAYS"),
					IpConfig: &databasemigrationservice.ConnectionProfileCloudsqlSettingsIpConfigArgs{
						EnableIpv4: pulumi.Bool(true),
						RequireSsl: pulumi.Bool(true),
					},
					AutoStorageIncrease: pulumi.Bool(true),
					DataDiskType:        pulumi.String("PD_HDD"),
					DataDiskSizeGb:      pulumi.String("11"),
					Zone:                pulumi.String("us-central1-b"),
					SourceId:            pulumi.String(fmt.Sprintf("projects/%v/locations/us-central1/connectionProfiles/my-fromprofileid", project.ProjectId)),
					RootPassword:        pulumi.String("testpasscloudsql"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Database Migration Service Connection Profile Postgres

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/databasemigrationservice"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/sql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		postgresqldb, err := sql.NewDatabaseInstance(ctx, "postgresqldb", &sql.DatabaseInstanceArgs{
			Name:            pulumi.String("my-database"),
			DatabaseVersion: pulumi.String("POSTGRES_12"),
			Settings: &sql.DatabaseInstanceSettingsArgs{
				Tier: pulumi.String("db-custom-2-13312"),
			},
			DeletionProtection: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		sqlClientCert, err := sql.NewSslCert(ctx, "sql_client_cert", &sql.SslCertArgs{
			CommonName: pulumi.String("my-cert"),
			Instance:   postgresqldb.Name,
		})
		if err != nil {
			return err
		}
		sqldbUser, err := sql.NewUser(ctx, "sqldb_user", &sql.UserArgs{
			Name:     pulumi.String("my-username"),
			Instance: postgresqldb.Name,
			Password: pulumi.String("my-password"),
		})
		if err != nil {
			return err
		}
		_, err = databasemigrationservice.NewConnectionProfile(ctx, "postgresprofile", &databasemigrationservice.ConnectionProfileArgs{
			Location:            pulumi.String("us-central1"),
			ConnectionProfileId: pulumi.String("my-profileid"),
			DisplayName:         pulumi.String("my-profileid_display"),
			Labels: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
			Postgresql: &databasemigrationservice.ConnectionProfilePostgresqlArgs{
				Host: postgresqldb.IpAddresses.ApplyT(func(ipAddresses []sql.DatabaseInstanceIpAddress) (*string, error) {
					return &ipAddresses[0].IpAddress, nil
				}).(pulumi.StringPtrOutput),
				Port:     pulumi.Int(5432),
				Username: sqldbUser.Name,
				Password: sqldbUser.Password,
				Ssl: &databasemigrationservice.ConnectionProfilePostgresqlSslArgs{
					ClientKey:         sqlClientCert.PrivateKey,
					ClientCertificate: sqlClientCert.Cert,
					CaCertificate:     sqlClientCert.ServerCaCert,
				},
				CloudSqlId: pulumi.String("my-database"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Database Migration Service Connection Profile Oracle

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/databasemigrationservice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := databasemigrationservice.NewConnectionProfile(ctx, "oracleprofile", &databasemigrationservice.ConnectionProfileArgs{
			Location:            pulumi.String("us-central1"),
			ConnectionProfileId: pulumi.String("my-profileid"),
			DisplayName:         pulumi.String("my-profileid_display"),
			Labels: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
			Oracle: &databasemigrationservice.ConnectionProfileOracleArgs{
				Host:                        pulumi.String("host"),
				Port:                        pulumi.Int(1521),
				Username:                    pulumi.String("username"),
				Password:                    pulumi.String("password"),
				DatabaseService:             pulumi.String("dbprovider"),
				StaticServiceIpConnectivity: nil,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Database Migration Service Connection Profile Alloydb

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/databasemigrationservice"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/servicenetworking"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = compute.NewNetwork(ctx, "default", &compute.NetworkArgs{
			Name: pulumi.String("vpc-network"),
		})
		if err != nil {
			return err
		}
		privateIpAlloc, err := compute.NewGlobalAddress(ctx, "private_ip_alloc", &compute.GlobalAddressArgs{
			Name:         pulumi.String("private-ip-alloc"),
			AddressType:  pulumi.String("INTERNAL"),
			Purpose:      pulumi.String("VPC_PEERING"),
			PrefixLength: pulumi.Int(16),
			Network:      _default.ID(),
		})
		if err != nil {
			return err
		}
		_, err = servicenetworking.NewConnection(ctx, "vpc_connection", &servicenetworking.ConnectionArgs{
			Network: _default.ID(),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				privateIpAlloc.Name,
			},
		})
		if err != nil {
			return err
		}
		_, err = databasemigrationservice.NewConnectionProfile(ctx, "alloydbprofile", &databasemigrationservice.ConnectionProfileArgs{
			Location:            pulumi.String("us-central1"),
			ConnectionProfileId: pulumi.String("my-profileid"),
			DisplayName:         pulumi.String("my-profileid_display"),
			Labels: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
			Alloydb: &databasemigrationservice.ConnectionProfileAlloydbArgs{
				ClusterId: pulumi.String("tf-test-dbmsalloycluster_21197"),
				Settings: &databasemigrationservice.ConnectionProfileAlloydbSettingsArgs{
					InitialUser: &databasemigrationservice.ConnectionProfileAlloydbSettingsInitialUserArgs{
						User:     pulumi.String("alloyuser_52865"),
						Password: pulumi.String("alloypass_85840"),
					},
					VpcNetwork: _default.ID(),
					Labels: pulumi.StringMap{
						"alloyfoo": pulumi.String("alloybar"),
					},
					PrimaryInstanceSettings: &databasemigrationservice.ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsArgs{
						Id: pulumi.String("priminstid"),
						MachineConfig: &databasemigrationservice.ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigArgs{
							CpuCount: pulumi.Int(2),
						},
						DatabaseFlags: nil,
						Labels: pulumi.StringMap{
							"alloysinstfoo": pulumi.String("allowinstbar"),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ConnectionProfile can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/connectionProfiles/{{connection_profile_id}}`

* `{{project}}/{{location}}/{{connection_profile_id}}`

* `{{location}}/{{connection_profile_id}}`

When using the `pulumi import` command, ConnectionProfile can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:databasemigrationservice/connectionProfile:ConnectionProfile default projects/{{project}}/locations/{{location}}/connectionProfiles/{{connection_profile_id}} ```

```sh $ pulumi import gcp:databasemigrationservice/connectionProfile:ConnectionProfile default {{project}}/{{location}}/{{connection_profile_id}} ```

```sh $ pulumi import gcp:databasemigrationservice/connectionProfile:ConnectionProfile default {{location}}/{{connection_profile_id}} ```

func GetConnectionProfile

func GetConnectionProfile(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConnectionProfileState, opts ...pulumi.ResourceOption) (*ConnectionProfile, error)

GetConnectionProfile gets an existing ConnectionProfile 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 NewConnectionProfile

func NewConnectionProfile(ctx *pulumi.Context,
	name string, args *ConnectionProfileArgs, opts ...pulumi.ResourceOption) (*ConnectionProfile, error)

NewConnectionProfile registers a new resource with the given unique name, arguments, and options.

func (*ConnectionProfile) ElementType

func (*ConnectionProfile) ElementType() reflect.Type

func (*ConnectionProfile) ToConnectionProfileOutput

func (i *ConnectionProfile) ToConnectionProfileOutput() ConnectionProfileOutput

func (*ConnectionProfile) ToConnectionProfileOutputWithContext

func (i *ConnectionProfile) ToConnectionProfileOutputWithContext(ctx context.Context) ConnectionProfileOutput

type ConnectionProfileAlloydb

type ConnectionProfileAlloydb struct {
	// Required. The AlloyDB cluster ID that this connection profile is associated with.
	ClusterId string `pulumi:"clusterId"`
	// Immutable. Metadata used to create the destination AlloyDB cluster.
	// Structure is documented below.
	Settings *ConnectionProfileAlloydbSettings `pulumi:"settings"`
}

type ConnectionProfileAlloydbArgs

type ConnectionProfileAlloydbArgs struct {
	// Required. The AlloyDB cluster ID that this connection profile is associated with.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// Immutable. Metadata used to create the destination AlloyDB cluster.
	// Structure is documented below.
	Settings ConnectionProfileAlloydbSettingsPtrInput `pulumi:"settings"`
}

func (ConnectionProfileAlloydbArgs) ElementType

func (ConnectionProfileAlloydbArgs) ToConnectionProfileAlloydbOutput

func (i ConnectionProfileAlloydbArgs) ToConnectionProfileAlloydbOutput() ConnectionProfileAlloydbOutput

func (ConnectionProfileAlloydbArgs) ToConnectionProfileAlloydbOutputWithContext

func (i ConnectionProfileAlloydbArgs) ToConnectionProfileAlloydbOutputWithContext(ctx context.Context) ConnectionProfileAlloydbOutput

func (ConnectionProfileAlloydbArgs) ToConnectionProfileAlloydbPtrOutput

func (i ConnectionProfileAlloydbArgs) ToConnectionProfileAlloydbPtrOutput() ConnectionProfileAlloydbPtrOutput

func (ConnectionProfileAlloydbArgs) ToConnectionProfileAlloydbPtrOutputWithContext

func (i ConnectionProfileAlloydbArgs) ToConnectionProfileAlloydbPtrOutputWithContext(ctx context.Context) ConnectionProfileAlloydbPtrOutput

type ConnectionProfileAlloydbInput

type ConnectionProfileAlloydbInput interface {
	pulumi.Input

	ToConnectionProfileAlloydbOutput() ConnectionProfileAlloydbOutput
	ToConnectionProfileAlloydbOutputWithContext(context.Context) ConnectionProfileAlloydbOutput
}

ConnectionProfileAlloydbInput is an input type that accepts ConnectionProfileAlloydbArgs and ConnectionProfileAlloydbOutput values. You can construct a concrete instance of `ConnectionProfileAlloydbInput` via:

ConnectionProfileAlloydbArgs{...}

type ConnectionProfileAlloydbOutput

type ConnectionProfileAlloydbOutput struct{ *pulumi.OutputState }

func (ConnectionProfileAlloydbOutput) ClusterId

Required. The AlloyDB cluster ID that this connection profile is associated with.

func (ConnectionProfileAlloydbOutput) ElementType

func (ConnectionProfileAlloydbOutput) Settings

Immutable. Metadata used to create the destination AlloyDB cluster. Structure is documented below.

func (ConnectionProfileAlloydbOutput) ToConnectionProfileAlloydbOutput

func (o ConnectionProfileAlloydbOutput) ToConnectionProfileAlloydbOutput() ConnectionProfileAlloydbOutput

func (ConnectionProfileAlloydbOutput) ToConnectionProfileAlloydbOutputWithContext

func (o ConnectionProfileAlloydbOutput) ToConnectionProfileAlloydbOutputWithContext(ctx context.Context) ConnectionProfileAlloydbOutput

func (ConnectionProfileAlloydbOutput) ToConnectionProfileAlloydbPtrOutput

func (o ConnectionProfileAlloydbOutput) ToConnectionProfileAlloydbPtrOutput() ConnectionProfileAlloydbPtrOutput

func (ConnectionProfileAlloydbOutput) ToConnectionProfileAlloydbPtrOutputWithContext

func (o ConnectionProfileAlloydbOutput) ToConnectionProfileAlloydbPtrOutputWithContext(ctx context.Context) ConnectionProfileAlloydbPtrOutput

type ConnectionProfileAlloydbPtrInput

type ConnectionProfileAlloydbPtrInput interface {
	pulumi.Input

	ToConnectionProfileAlloydbPtrOutput() ConnectionProfileAlloydbPtrOutput
	ToConnectionProfileAlloydbPtrOutputWithContext(context.Context) ConnectionProfileAlloydbPtrOutput
}

ConnectionProfileAlloydbPtrInput is an input type that accepts ConnectionProfileAlloydbArgs, ConnectionProfileAlloydbPtr and ConnectionProfileAlloydbPtrOutput values. You can construct a concrete instance of `ConnectionProfileAlloydbPtrInput` via:

        ConnectionProfileAlloydbArgs{...}

or:

        nil

type ConnectionProfileAlloydbPtrOutput

type ConnectionProfileAlloydbPtrOutput struct{ *pulumi.OutputState }

func (ConnectionProfileAlloydbPtrOutput) ClusterId

Required. The AlloyDB cluster ID that this connection profile is associated with.

func (ConnectionProfileAlloydbPtrOutput) Elem

func (ConnectionProfileAlloydbPtrOutput) ElementType

func (ConnectionProfileAlloydbPtrOutput) Settings

Immutable. Metadata used to create the destination AlloyDB cluster. Structure is documented below.

func (ConnectionProfileAlloydbPtrOutput) ToConnectionProfileAlloydbPtrOutput

func (o ConnectionProfileAlloydbPtrOutput) ToConnectionProfileAlloydbPtrOutput() ConnectionProfileAlloydbPtrOutput

func (ConnectionProfileAlloydbPtrOutput) ToConnectionProfileAlloydbPtrOutputWithContext

func (o ConnectionProfileAlloydbPtrOutput) ToConnectionProfileAlloydbPtrOutputWithContext(ctx context.Context) ConnectionProfileAlloydbPtrOutput

type ConnectionProfileAlloydbSettings

type ConnectionProfileAlloydbSettings struct {
	// Required. Input only. Initial user to setup during cluster creation.
	// Structure is documented below.
	InitialUser ConnectionProfileAlloydbSettingsInitialUser `pulumi:"initialUser"`
	// Labels for the AlloyDB cluster created by DMS.
	Labels map[string]string `pulumi:"labels"`
	// Settings for the cluster's primary instance
	// Structure is documented below.
	PrimaryInstanceSettings *ConnectionProfileAlloydbSettingsPrimaryInstanceSettings `pulumi:"primaryInstanceSettings"`
	// Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster.
	// It is specified in the form: 'projects/{project_number}/global/networks/{network_id}'. This is required to create a cluster.
	VpcNetwork string `pulumi:"vpcNetwork"`
}

type ConnectionProfileAlloydbSettingsArgs

type ConnectionProfileAlloydbSettingsArgs struct {
	// Required. Input only. Initial user to setup during cluster creation.
	// Structure is documented below.
	InitialUser ConnectionProfileAlloydbSettingsInitialUserInput `pulumi:"initialUser"`
	// Labels for the AlloyDB cluster created by DMS.
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// Settings for the cluster's primary instance
	// Structure is documented below.
	PrimaryInstanceSettings ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrInput `pulumi:"primaryInstanceSettings"`
	// Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster.
	// It is specified in the form: 'projects/{project_number}/global/networks/{network_id}'. This is required to create a cluster.
	VpcNetwork pulumi.StringInput `pulumi:"vpcNetwork"`
}

func (ConnectionProfileAlloydbSettingsArgs) ElementType

func (ConnectionProfileAlloydbSettingsArgs) ToConnectionProfileAlloydbSettingsOutput

func (i ConnectionProfileAlloydbSettingsArgs) ToConnectionProfileAlloydbSettingsOutput() ConnectionProfileAlloydbSettingsOutput

func (ConnectionProfileAlloydbSettingsArgs) ToConnectionProfileAlloydbSettingsOutputWithContext

func (i ConnectionProfileAlloydbSettingsArgs) ToConnectionProfileAlloydbSettingsOutputWithContext(ctx context.Context) ConnectionProfileAlloydbSettingsOutput

func (ConnectionProfileAlloydbSettingsArgs) ToConnectionProfileAlloydbSettingsPtrOutput

func (i ConnectionProfileAlloydbSettingsArgs) ToConnectionProfileAlloydbSettingsPtrOutput() ConnectionProfileAlloydbSettingsPtrOutput

func (ConnectionProfileAlloydbSettingsArgs) ToConnectionProfileAlloydbSettingsPtrOutputWithContext

func (i ConnectionProfileAlloydbSettingsArgs) ToConnectionProfileAlloydbSettingsPtrOutputWithContext(ctx context.Context) ConnectionProfileAlloydbSettingsPtrOutput

type ConnectionProfileAlloydbSettingsInitialUser

type ConnectionProfileAlloydbSettingsInitialUser struct {
	// The initial password for the user.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Password string `pulumi:"password"`
	// (Output)
	// Output only. Indicates if the initialUser.password field has been set.
	PasswordSet *bool `pulumi:"passwordSet"`
	// The database username.
	User string `pulumi:"user"`
}

type ConnectionProfileAlloydbSettingsInitialUserArgs

type ConnectionProfileAlloydbSettingsInitialUserArgs struct {
	// The initial password for the user.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Password pulumi.StringInput `pulumi:"password"`
	// (Output)
	// Output only. Indicates if the initialUser.password field has been set.
	PasswordSet pulumi.BoolPtrInput `pulumi:"passwordSet"`
	// The database username.
	User pulumi.StringInput `pulumi:"user"`
}

func (ConnectionProfileAlloydbSettingsInitialUserArgs) ElementType

func (ConnectionProfileAlloydbSettingsInitialUserArgs) ToConnectionProfileAlloydbSettingsInitialUserOutput

func (i ConnectionProfileAlloydbSettingsInitialUserArgs) ToConnectionProfileAlloydbSettingsInitialUserOutput() ConnectionProfileAlloydbSettingsInitialUserOutput

func (ConnectionProfileAlloydbSettingsInitialUserArgs) ToConnectionProfileAlloydbSettingsInitialUserOutputWithContext

func (i ConnectionProfileAlloydbSettingsInitialUserArgs) ToConnectionProfileAlloydbSettingsInitialUserOutputWithContext(ctx context.Context) ConnectionProfileAlloydbSettingsInitialUserOutput

func (ConnectionProfileAlloydbSettingsInitialUserArgs) ToConnectionProfileAlloydbSettingsInitialUserPtrOutput

func (i ConnectionProfileAlloydbSettingsInitialUserArgs) ToConnectionProfileAlloydbSettingsInitialUserPtrOutput() ConnectionProfileAlloydbSettingsInitialUserPtrOutput

func (ConnectionProfileAlloydbSettingsInitialUserArgs) ToConnectionProfileAlloydbSettingsInitialUserPtrOutputWithContext

func (i ConnectionProfileAlloydbSettingsInitialUserArgs) ToConnectionProfileAlloydbSettingsInitialUserPtrOutputWithContext(ctx context.Context) ConnectionProfileAlloydbSettingsInitialUserPtrOutput

type ConnectionProfileAlloydbSettingsInitialUserInput

type ConnectionProfileAlloydbSettingsInitialUserInput interface {
	pulumi.Input

	ToConnectionProfileAlloydbSettingsInitialUserOutput() ConnectionProfileAlloydbSettingsInitialUserOutput
	ToConnectionProfileAlloydbSettingsInitialUserOutputWithContext(context.Context) ConnectionProfileAlloydbSettingsInitialUserOutput
}

ConnectionProfileAlloydbSettingsInitialUserInput is an input type that accepts ConnectionProfileAlloydbSettingsInitialUserArgs and ConnectionProfileAlloydbSettingsInitialUserOutput values. You can construct a concrete instance of `ConnectionProfileAlloydbSettingsInitialUserInput` via:

ConnectionProfileAlloydbSettingsInitialUserArgs{...}

type ConnectionProfileAlloydbSettingsInitialUserOutput

type ConnectionProfileAlloydbSettingsInitialUserOutput struct{ *pulumi.OutputState }

func (ConnectionProfileAlloydbSettingsInitialUserOutput) ElementType

func (ConnectionProfileAlloydbSettingsInitialUserOutput) Password

The initial password for the user. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileAlloydbSettingsInitialUserOutput) PasswordSet

(Output) Output only. Indicates if the initialUser.password field has been set.

func (ConnectionProfileAlloydbSettingsInitialUserOutput) ToConnectionProfileAlloydbSettingsInitialUserOutput

func (o ConnectionProfileAlloydbSettingsInitialUserOutput) ToConnectionProfileAlloydbSettingsInitialUserOutput() ConnectionProfileAlloydbSettingsInitialUserOutput

func (ConnectionProfileAlloydbSettingsInitialUserOutput) ToConnectionProfileAlloydbSettingsInitialUserOutputWithContext

func (o ConnectionProfileAlloydbSettingsInitialUserOutput) ToConnectionProfileAlloydbSettingsInitialUserOutputWithContext(ctx context.Context) ConnectionProfileAlloydbSettingsInitialUserOutput

func (ConnectionProfileAlloydbSettingsInitialUserOutput) ToConnectionProfileAlloydbSettingsInitialUserPtrOutput

func (o ConnectionProfileAlloydbSettingsInitialUserOutput) ToConnectionProfileAlloydbSettingsInitialUserPtrOutput() ConnectionProfileAlloydbSettingsInitialUserPtrOutput

func (ConnectionProfileAlloydbSettingsInitialUserOutput) ToConnectionProfileAlloydbSettingsInitialUserPtrOutputWithContext

func (o ConnectionProfileAlloydbSettingsInitialUserOutput) ToConnectionProfileAlloydbSettingsInitialUserPtrOutputWithContext(ctx context.Context) ConnectionProfileAlloydbSettingsInitialUserPtrOutput

func (ConnectionProfileAlloydbSettingsInitialUserOutput) User

The database username.

type ConnectionProfileAlloydbSettingsInitialUserPtrInput

type ConnectionProfileAlloydbSettingsInitialUserPtrInput interface {
	pulumi.Input

	ToConnectionProfileAlloydbSettingsInitialUserPtrOutput() ConnectionProfileAlloydbSettingsInitialUserPtrOutput
	ToConnectionProfileAlloydbSettingsInitialUserPtrOutputWithContext(context.Context) ConnectionProfileAlloydbSettingsInitialUserPtrOutput
}

ConnectionProfileAlloydbSettingsInitialUserPtrInput is an input type that accepts ConnectionProfileAlloydbSettingsInitialUserArgs, ConnectionProfileAlloydbSettingsInitialUserPtr and ConnectionProfileAlloydbSettingsInitialUserPtrOutput values. You can construct a concrete instance of `ConnectionProfileAlloydbSettingsInitialUserPtrInput` via:

        ConnectionProfileAlloydbSettingsInitialUserArgs{...}

or:

        nil

type ConnectionProfileAlloydbSettingsInitialUserPtrOutput

type ConnectionProfileAlloydbSettingsInitialUserPtrOutput struct{ *pulumi.OutputState }

func (ConnectionProfileAlloydbSettingsInitialUserPtrOutput) Elem

func (ConnectionProfileAlloydbSettingsInitialUserPtrOutput) ElementType

func (ConnectionProfileAlloydbSettingsInitialUserPtrOutput) Password

The initial password for the user. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileAlloydbSettingsInitialUserPtrOutput) PasswordSet

(Output) Output only. Indicates if the initialUser.password field has been set.

func (ConnectionProfileAlloydbSettingsInitialUserPtrOutput) ToConnectionProfileAlloydbSettingsInitialUserPtrOutput

func (ConnectionProfileAlloydbSettingsInitialUserPtrOutput) ToConnectionProfileAlloydbSettingsInitialUserPtrOutputWithContext

func (o ConnectionProfileAlloydbSettingsInitialUserPtrOutput) ToConnectionProfileAlloydbSettingsInitialUserPtrOutputWithContext(ctx context.Context) ConnectionProfileAlloydbSettingsInitialUserPtrOutput

func (ConnectionProfileAlloydbSettingsInitialUserPtrOutput) User

The database username.

type ConnectionProfileAlloydbSettingsInput

type ConnectionProfileAlloydbSettingsInput interface {
	pulumi.Input

	ToConnectionProfileAlloydbSettingsOutput() ConnectionProfileAlloydbSettingsOutput
	ToConnectionProfileAlloydbSettingsOutputWithContext(context.Context) ConnectionProfileAlloydbSettingsOutput
}

ConnectionProfileAlloydbSettingsInput is an input type that accepts ConnectionProfileAlloydbSettingsArgs and ConnectionProfileAlloydbSettingsOutput values. You can construct a concrete instance of `ConnectionProfileAlloydbSettingsInput` via:

ConnectionProfileAlloydbSettingsArgs{...}

type ConnectionProfileAlloydbSettingsOutput

type ConnectionProfileAlloydbSettingsOutput struct{ *pulumi.OutputState }

func (ConnectionProfileAlloydbSettingsOutput) ElementType

func (ConnectionProfileAlloydbSettingsOutput) InitialUser

Required. Input only. Initial user to setup during cluster creation. Structure is documented below.

func (ConnectionProfileAlloydbSettingsOutput) Labels

Labels for the AlloyDB cluster created by DMS.

func (ConnectionProfileAlloydbSettingsOutput) PrimaryInstanceSettings

Settings for the cluster's primary instance Structure is documented below.

func (ConnectionProfileAlloydbSettingsOutput) ToConnectionProfileAlloydbSettingsOutput

func (o ConnectionProfileAlloydbSettingsOutput) ToConnectionProfileAlloydbSettingsOutput() ConnectionProfileAlloydbSettingsOutput

func (ConnectionProfileAlloydbSettingsOutput) ToConnectionProfileAlloydbSettingsOutputWithContext

func (o ConnectionProfileAlloydbSettingsOutput) ToConnectionProfileAlloydbSettingsOutputWithContext(ctx context.Context) ConnectionProfileAlloydbSettingsOutput

func (ConnectionProfileAlloydbSettingsOutput) ToConnectionProfileAlloydbSettingsPtrOutput

func (o ConnectionProfileAlloydbSettingsOutput) ToConnectionProfileAlloydbSettingsPtrOutput() ConnectionProfileAlloydbSettingsPtrOutput

func (ConnectionProfileAlloydbSettingsOutput) ToConnectionProfileAlloydbSettingsPtrOutputWithContext

func (o ConnectionProfileAlloydbSettingsOutput) ToConnectionProfileAlloydbSettingsPtrOutputWithContext(ctx context.Context) ConnectionProfileAlloydbSettingsPtrOutput

func (ConnectionProfileAlloydbSettingsOutput) VpcNetwork

Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: 'projects/{project_number}/global/networks/{network_id}'. This is required to create a cluster.

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettings

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettings struct {
	// Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See the AlloyDB documentation for how these can be used.
	DatabaseFlags map[string]string `pulumi:"databaseFlags"`
	// The database username.
	Id string `pulumi:"id"`
	// Labels for the AlloyDB primary instance created by DMS.
	Labels map[string]string `pulumi:"labels"`
	// Configuration for the machines that host the underlying database engine.
	// Structure is documented below.
	MachineConfig ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfig `pulumi:"machineConfig"`
	// (Output)
	// Output only. The private IP address for the Instance. This is the connection endpoint for an end-user application.
	PrivateIp *string `pulumi:"privateIp"`
}

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsArgs

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsArgs struct {
	// Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See the AlloyDB documentation for how these can be used.
	DatabaseFlags pulumi.StringMapInput `pulumi:"databaseFlags"`
	// The database username.
	Id pulumi.StringInput `pulumi:"id"`
	// Labels for the AlloyDB primary instance created by DMS.
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// Configuration for the machines that host the underlying database engine.
	// Structure is documented below.
	MachineConfig ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigInput `pulumi:"machineConfig"`
	// (Output)
	// Output only. The private IP address for the Instance. This is the connection endpoint for an end-user application.
	PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"`
}

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsArgs) ElementType

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsArgs) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsArgs) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutputWithContext

func (i ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsArgs) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutputWithContext(ctx context.Context) ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsArgs) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsArgs) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutputWithContext

func (i ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsArgs) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutputWithContext(ctx context.Context) ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsInput

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsInput interface {
	pulumi.Input

	ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput() ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput
	ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutputWithContext(context.Context) ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput
}

ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsInput is an input type that accepts ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsArgs and ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput values. You can construct a concrete instance of `ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsInput` via:

ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsArgs{...}

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfig

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfig struct {
	// The number of CPU's in the VM instance.
	CpuCount int `pulumi:"cpuCount"`
}

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigArgs

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigArgs struct {
	// The number of CPU's in the VM instance.
	CpuCount pulumi.IntInput `pulumi:"cpuCount"`
}

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigArgs) ElementType

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigArgs) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutput

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigArgs) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutputWithContext

func (i ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigArgs) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutputWithContext(ctx context.Context) ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutput

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigArgs) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutput

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigArgs) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutputWithContext

func (i ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigArgs) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutputWithContext(ctx context.Context) ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutput

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigInput

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigInput interface {
	pulumi.Input

	ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutput() ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutput
	ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutputWithContext(context.Context) ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutput
}

ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigInput is an input type that accepts ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigArgs and ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutput values. You can construct a concrete instance of `ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigInput` via:

ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigArgs{...}

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutput

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutput struct{ *pulumi.OutputState }

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutput) CpuCount

The number of CPU's in the VM instance.

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutput) ElementType

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutput) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutput

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutput) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutputWithContext

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutput) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutput

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutput) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutputWithContext

func (o ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigOutput) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutputWithContext(ctx context.Context) ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutput

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrInput

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrInput interface {
	pulumi.Input

	ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutput() ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutput
	ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutputWithContext(context.Context) ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutput
}

ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrInput is an input type that accepts ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigArgs, ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtr and ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutput values. You can construct a concrete instance of `ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrInput` via:

        ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigArgs{...}

or:

        nil

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutput

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutput struct{ *pulumi.OutputState }

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutput) CpuCount

The number of CPU's in the VM instance.

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutput) Elem

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutput) ElementType

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutput) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutput

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutput) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsMachineConfigPtrOutputWithContext

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput struct{ *pulumi.OutputState }

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput) DatabaseFlags

Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See the AlloyDB documentation for how these can be used.

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput) ElementType

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput) Id

The database username.

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput) Labels

Labels for the AlloyDB primary instance created by DMS.

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput) MachineConfig

Configuration for the machines that host the underlying database engine. Structure is documented below.

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput) PrivateIp

(Output) Output only. The private IP address for the Instance. This is the connection endpoint for an end-user application.

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutputWithContext

func (o ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutputWithContext(ctx context.Context) ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutputWithContext

func (o ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsOutput) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutputWithContext(ctx context.Context) ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrInput

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrInput interface {
	pulumi.Input

	ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput() ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput
	ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutputWithContext(context.Context) ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput
}

ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrInput is an input type that accepts ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsArgs, ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtr and ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput values. You can construct a concrete instance of `ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrInput` via:

        ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsArgs{...}

or:

        nil

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput

type ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput struct{ *pulumi.OutputState }

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput) DatabaseFlags

Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See the AlloyDB documentation for how these can be used.

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput) Elem

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput) ElementType

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput) Id

The database username.

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput) Labels

Labels for the AlloyDB primary instance created by DMS.

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput) MachineConfig

Configuration for the machines that host the underlying database engine. Structure is documented below.

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput) PrivateIp

(Output) Output only. The private IP address for the Instance. This is the connection endpoint for an end-user application.

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput

func (ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutputWithContext

func (o ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput) ToConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutputWithContext(ctx context.Context) ConnectionProfileAlloydbSettingsPrimaryInstanceSettingsPtrOutput

type ConnectionProfileAlloydbSettingsPtrInput

type ConnectionProfileAlloydbSettingsPtrInput interface {
	pulumi.Input

	ToConnectionProfileAlloydbSettingsPtrOutput() ConnectionProfileAlloydbSettingsPtrOutput
	ToConnectionProfileAlloydbSettingsPtrOutputWithContext(context.Context) ConnectionProfileAlloydbSettingsPtrOutput
}

ConnectionProfileAlloydbSettingsPtrInput is an input type that accepts ConnectionProfileAlloydbSettingsArgs, ConnectionProfileAlloydbSettingsPtr and ConnectionProfileAlloydbSettingsPtrOutput values. You can construct a concrete instance of `ConnectionProfileAlloydbSettingsPtrInput` via:

        ConnectionProfileAlloydbSettingsArgs{...}

or:

        nil

type ConnectionProfileAlloydbSettingsPtrOutput

type ConnectionProfileAlloydbSettingsPtrOutput struct{ *pulumi.OutputState }

func (ConnectionProfileAlloydbSettingsPtrOutput) Elem

func (ConnectionProfileAlloydbSettingsPtrOutput) ElementType

func (ConnectionProfileAlloydbSettingsPtrOutput) InitialUser

Required. Input only. Initial user to setup during cluster creation. Structure is documented below.

func (ConnectionProfileAlloydbSettingsPtrOutput) Labels

Labels for the AlloyDB cluster created by DMS.

func (ConnectionProfileAlloydbSettingsPtrOutput) PrimaryInstanceSettings

Settings for the cluster's primary instance Structure is documented below.

func (ConnectionProfileAlloydbSettingsPtrOutput) ToConnectionProfileAlloydbSettingsPtrOutput

func (o ConnectionProfileAlloydbSettingsPtrOutput) ToConnectionProfileAlloydbSettingsPtrOutput() ConnectionProfileAlloydbSettingsPtrOutput

func (ConnectionProfileAlloydbSettingsPtrOutput) ToConnectionProfileAlloydbSettingsPtrOutputWithContext

func (o ConnectionProfileAlloydbSettingsPtrOutput) ToConnectionProfileAlloydbSettingsPtrOutputWithContext(ctx context.Context) ConnectionProfileAlloydbSettingsPtrOutput

func (ConnectionProfileAlloydbSettingsPtrOutput) VpcNetwork

Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: 'projects/{project_number}/global/networks/{network_id}'. This is required to create a cluster.

type ConnectionProfileArgs

type ConnectionProfileArgs struct {
	// Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster.
	// Structure is documented below.
	Alloydb ConnectionProfileAlloydbPtrInput
	// Specifies required connection parameters, and, optionally, the parameters required to create a Cloud SQL destination database instance.
	// Structure is documented below.
	Cloudsql ConnectionProfileCloudsqlPtrInput
	// The ID of the connection profile.
	//
	// ***
	ConnectionProfileId pulumi.StringInput
	// The connection profile display name.
	DisplayName pulumi.StringPtrInput
	// The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The location where the connection profile should reside.
	Location pulumi.StringPtrInput
	// Specifies connection parameters required specifically for MySQL databases.
	// Structure is documented below.
	Mysql ConnectionProfileMysqlPtrInput
	// Specifies connection parameters required specifically for Oracle databases.
	// Structure is documented below.
	Oracle ConnectionProfileOraclePtrInput
	// Specifies connection parameters required specifically for PostgreSQL databases.
	// Structure is documented below.
	Postgresql ConnectionProfilePostgresqlPtrInput
	// 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 ConnectionProfile resource.

func (ConnectionProfileArgs) ElementType

func (ConnectionProfileArgs) ElementType() reflect.Type

type ConnectionProfileArray

type ConnectionProfileArray []ConnectionProfileInput

func (ConnectionProfileArray) ElementType

func (ConnectionProfileArray) ElementType() reflect.Type

func (ConnectionProfileArray) ToConnectionProfileArrayOutput

func (i ConnectionProfileArray) ToConnectionProfileArrayOutput() ConnectionProfileArrayOutput

func (ConnectionProfileArray) ToConnectionProfileArrayOutputWithContext

func (i ConnectionProfileArray) ToConnectionProfileArrayOutputWithContext(ctx context.Context) ConnectionProfileArrayOutput

type ConnectionProfileArrayInput

type ConnectionProfileArrayInput interface {
	pulumi.Input

	ToConnectionProfileArrayOutput() ConnectionProfileArrayOutput
	ToConnectionProfileArrayOutputWithContext(context.Context) ConnectionProfileArrayOutput
}

ConnectionProfileArrayInput is an input type that accepts ConnectionProfileArray and ConnectionProfileArrayOutput values. You can construct a concrete instance of `ConnectionProfileArrayInput` via:

ConnectionProfileArray{ ConnectionProfileArgs{...} }

type ConnectionProfileArrayOutput

type ConnectionProfileArrayOutput struct{ *pulumi.OutputState }

func (ConnectionProfileArrayOutput) ElementType

func (ConnectionProfileArrayOutput) Index

func (ConnectionProfileArrayOutput) ToConnectionProfileArrayOutput

func (o ConnectionProfileArrayOutput) ToConnectionProfileArrayOutput() ConnectionProfileArrayOutput

func (ConnectionProfileArrayOutput) ToConnectionProfileArrayOutputWithContext

func (o ConnectionProfileArrayOutput) ToConnectionProfileArrayOutputWithContext(ctx context.Context) ConnectionProfileArrayOutput

type ConnectionProfileCloudsql

type ConnectionProfileCloudsql struct {
	// (Output)
	// Output only. The Cloud SQL instance ID that this connection profile is associated with.
	CloudSqlId *string `pulumi:"cloudSqlId"`
	// (Output)
	// Output only. The Cloud SQL database instance's private IP.
	PrivateIp *string `pulumi:"privateIp"`
	// (Output)
	// Output only. The Cloud SQL database instance's public IP.
	PublicIp *string `pulumi:"publicIp"`
	// Immutable. Metadata used to create the destination Cloud SQL database.
	// Structure is documented below.
	Settings *ConnectionProfileCloudsqlSettings `pulumi:"settings"`
}

type ConnectionProfileCloudsqlArgs

type ConnectionProfileCloudsqlArgs struct {
	// (Output)
	// Output only. The Cloud SQL instance ID that this connection profile is associated with.
	CloudSqlId pulumi.StringPtrInput `pulumi:"cloudSqlId"`
	// (Output)
	// Output only. The Cloud SQL database instance's private IP.
	PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"`
	// (Output)
	// Output only. The Cloud SQL database instance's public IP.
	PublicIp pulumi.StringPtrInput `pulumi:"publicIp"`
	// Immutable. Metadata used to create the destination Cloud SQL database.
	// Structure is documented below.
	Settings ConnectionProfileCloudsqlSettingsPtrInput `pulumi:"settings"`
}

func (ConnectionProfileCloudsqlArgs) ElementType

func (ConnectionProfileCloudsqlArgs) ToConnectionProfileCloudsqlOutput

func (i ConnectionProfileCloudsqlArgs) ToConnectionProfileCloudsqlOutput() ConnectionProfileCloudsqlOutput

func (ConnectionProfileCloudsqlArgs) ToConnectionProfileCloudsqlOutputWithContext

func (i ConnectionProfileCloudsqlArgs) ToConnectionProfileCloudsqlOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlOutput

func (ConnectionProfileCloudsqlArgs) ToConnectionProfileCloudsqlPtrOutput

func (i ConnectionProfileCloudsqlArgs) ToConnectionProfileCloudsqlPtrOutput() ConnectionProfileCloudsqlPtrOutput

func (ConnectionProfileCloudsqlArgs) ToConnectionProfileCloudsqlPtrOutputWithContext

func (i ConnectionProfileCloudsqlArgs) ToConnectionProfileCloudsqlPtrOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlPtrOutput

type ConnectionProfileCloudsqlInput

type ConnectionProfileCloudsqlInput interface {
	pulumi.Input

	ToConnectionProfileCloudsqlOutput() ConnectionProfileCloudsqlOutput
	ToConnectionProfileCloudsqlOutputWithContext(context.Context) ConnectionProfileCloudsqlOutput
}

ConnectionProfileCloudsqlInput is an input type that accepts ConnectionProfileCloudsqlArgs and ConnectionProfileCloudsqlOutput values. You can construct a concrete instance of `ConnectionProfileCloudsqlInput` via:

ConnectionProfileCloudsqlArgs{...}

type ConnectionProfileCloudsqlOutput

type ConnectionProfileCloudsqlOutput struct{ *pulumi.OutputState }

func (ConnectionProfileCloudsqlOutput) CloudSqlId

(Output) Output only. The Cloud SQL instance ID that this connection profile is associated with.

func (ConnectionProfileCloudsqlOutput) ElementType

func (ConnectionProfileCloudsqlOutput) PrivateIp

(Output) Output only. The Cloud SQL database instance's private IP.

func (ConnectionProfileCloudsqlOutput) PublicIp

(Output) Output only. The Cloud SQL database instance's public IP.

func (ConnectionProfileCloudsqlOutput) Settings

Immutable. Metadata used to create the destination Cloud SQL database. Structure is documented below.

func (ConnectionProfileCloudsqlOutput) ToConnectionProfileCloudsqlOutput

func (o ConnectionProfileCloudsqlOutput) ToConnectionProfileCloudsqlOutput() ConnectionProfileCloudsqlOutput

func (ConnectionProfileCloudsqlOutput) ToConnectionProfileCloudsqlOutputWithContext

func (o ConnectionProfileCloudsqlOutput) ToConnectionProfileCloudsqlOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlOutput

func (ConnectionProfileCloudsqlOutput) ToConnectionProfileCloudsqlPtrOutput

func (o ConnectionProfileCloudsqlOutput) ToConnectionProfileCloudsqlPtrOutput() ConnectionProfileCloudsqlPtrOutput

func (ConnectionProfileCloudsqlOutput) ToConnectionProfileCloudsqlPtrOutputWithContext

func (o ConnectionProfileCloudsqlOutput) ToConnectionProfileCloudsqlPtrOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlPtrOutput

type ConnectionProfileCloudsqlPtrInput

type ConnectionProfileCloudsqlPtrInput interface {
	pulumi.Input

	ToConnectionProfileCloudsqlPtrOutput() ConnectionProfileCloudsqlPtrOutput
	ToConnectionProfileCloudsqlPtrOutputWithContext(context.Context) ConnectionProfileCloudsqlPtrOutput
}

ConnectionProfileCloudsqlPtrInput is an input type that accepts ConnectionProfileCloudsqlArgs, ConnectionProfileCloudsqlPtr and ConnectionProfileCloudsqlPtrOutput values. You can construct a concrete instance of `ConnectionProfileCloudsqlPtrInput` via:

        ConnectionProfileCloudsqlArgs{...}

or:

        nil

type ConnectionProfileCloudsqlPtrOutput

type ConnectionProfileCloudsqlPtrOutput struct{ *pulumi.OutputState }

func (ConnectionProfileCloudsqlPtrOutput) CloudSqlId

(Output) Output only. The Cloud SQL instance ID that this connection profile is associated with.

func (ConnectionProfileCloudsqlPtrOutput) Elem

func (ConnectionProfileCloudsqlPtrOutput) ElementType

func (ConnectionProfileCloudsqlPtrOutput) PrivateIp

(Output) Output only. The Cloud SQL database instance's private IP.

func (ConnectionProfileCloudsqlPtrOutput) PublicIp

(Output) Output only. The Cloud SQL database instance's public IP.

func (ConnectionProfileCloudsqlPtrOutput) Settings

Immutable. Metadata used to create the destination Cloud SQL database. Structure is documented below.

func (ConnectionProfileCloudsqlPtrOutput) ToConnectionProfileCloudsqlPtrOutput

func (o ConnectionProfileCloudsqlPtrOutput) ToConnectionProfileCloudsqlPtrOutput() ConnectionProfileCloudsqlPtrOutput

func (ConnectionProfileCloudsqlPtrOutput) ToConnectionProfileCloudsqlPtrOutputWithContext

func (o ConnectionProfileCloudsqlPtrOutput) ToConnectionProfileCloudsqlPtrOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlPtrOutput

type ConnectionProfileCloudsqlSettings

type ConnectionProfileCloudsqlSettings struct {
	// The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'.
	// Possible values are: `ALWAYS`, `NEVER`.
	ActivationPolicy *string `pulumi:"activationPolicy"`
	// If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity.
	// If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
	AutoStorageIncrease *bool `pulumi:"autoStorageIncrease"`
	// The KMS key name used for the csql instance.
	CmekKeyName *string `pulumi:"cmekKeyName"`
	// The Cloud SQL default instance level collation.
	Collation *string `pulumi:"collation"`
	// The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
	DataDiskSizeGb *string `pulumi:"dataDiskSizeGb"`
	// The type of storage.
	// Possible values are: `PD_SSD`, `PD_HDD`.
	DataDiskType *string `pulumi:"dataDiskType"`
	// The database flags passed to the Cloud SQL instance at startup.
	DatabaseFlags map[string]string `pulumi:"databaseFlags"`
	// The database engine type and version.
	// Currently supported values located at https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.connectionProfiles#sqldatabaseversion
	DatabaseVersion *string `pulumi:"databaseVersion"`
	// The edition of the given Cloud SQL instance.
	// Possible values are: `ENTERPRISE`, `ENTERPRISE_PLUS`.
	Edition *string `pulumi:"edition"`
	// The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
	// Structure is documented below.
	IpConfig *ConnectionProfileCloudsqlSettingsIpConfig `pulumi:"ipConfig"`
	// Input only. Initial root password.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	RootPassword *string `pulumi:"rootPassword"`
	// (Output)
	// Output only. Indicates If this connection profile root password is stored.
	RootPasswordSet *bool `pulumi:"rootPasswordSet"`
	// The Database Migration Service source connection profile ID, in the format: projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID
	SourceId string `pulumi:"sourceId"`
	// The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
	StorageAutoResizeLimit *string `pulumi:"storageAutoResizeLimit"`
	// The tier (or machine type) for this instance, for example: db-n1-standard-1 (MySQL instances) or db-custom-1-3840 (PostgreSQL instances).
	// For more information, see https://cloud.google.com/sql/docs/mysql/instance-settings
	Tier *string `pulumi:"tier"`
	// The resource labels for a Cloud SQL instance to use to annotate any related underlying resources such as Compute Engine VMs.
	UserLabels map[string]string `pulumi:"userLabels"`
	// The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.
	Zone *string `pulumi:"zone"`
}

type ConnectionProfileCloudsqlSettingsArgs

type ConnectionProfileCloudsqlSettingsArgs struct {
	// The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'.
	// Possible values are: `ALWAYS`, `NEVER`.
	ActivationPolicy pulumi.StringPtrInput `pulumi:"activationPolicy"`
	// If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity.
	// If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
	AutoStorageIncrease pulumi.BoolPtrInput `pulumi:"autoStorageIncrease"`
	// The KMS key name used for the csql instance.
	CmekKeyName pulumi.StringPtrInput `pulumi:"cmekKeyName"`
	// The Cloud SQL default instance level collation.
	Collation pulumi.StringPtrInput `pulumi:"collation"`
	// The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
	DataDiskSizeGb pulumi.StringPtrInput `pulumi:"dataDiskSizeGb"`
	// The type of storage.
	// Possible values are: `PD_SSD`, `PD_HDD`.
	DataDiskType pulumi.StringPtrInput `pulumi:"dataDiskType"`
	// The database flags passed to the Cloud SQL instance at startup.
	DatabaseFlags pulumi.StringMapInput `pulumi:"databaseFlags"`
	// The database engine type and version.
	// Currently supported values located at https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.connectionProfiles#sqldatabaseversion
	DatabaseVersion pulumi.StringPtrInput `pulumi:"databaseVersion"`
	// The edition of the given Cloud SQL instance.
	// Possible values are: `ENTERPRISE`, `ENTERPRISE_PLUS`.
	Edition pulumi.StringPtrInput `pulumi:"edition"`
	// The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
	// Structure is documented below.
	IpConfig ConnectionProfileCloudsqlSettingsIpConfigPtrInput `pulumi:"ipConfig"`
	// Input only. Initial root password.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	RootPassword pulumi.StringPtrInput `pulumi:"rootPassword"`
	// (Output)
	// Output only. Indicates If this connection profile root password is stored.
	RootPasswordSet pulumi.BoolPtrInput `pulumi:"rootPasswordSet"`
	// The Database Migration Service source connection profile ID, in the format: projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID
	SourceId pulumi.StringInput `pulumi:"sourceId"`
	// The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
	StorageAutoResizeLimit pulumi.StringPtrInput `pulumi:"storageAutoResizeLimit"`
	// The tier (or machine type) for this instance, for example: db-n1-standard-1 (MySQL instances) or db-custom-1-3840 (PostgreSQL instances).
	// For more information, see https://cloud.google.com/sql/docs/mysql/instance-settings
	Tier pulumi.StringPtrInput `pulumi:"tier"`
	// The resource labels for a Cloud SQL instance to use to annotate any related underlying resources such as Compute Engine VMs.
	UserLabels pulumi.StringMapInput `pulumi:"userLabels"`
	// The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.
	Zone pulumi.StringPtrInput `pulumi:"zone"`
}

func (ConnectionProfileCloudsqlSettingsArgs) ElementType

func (ConnectionProfileCloudsqlSettingsArgs) ToConnectionProfileCloudsqlSettingsOutput

func (i ConnectionProfileCloudsqlSettingsArgs) ToConnectionProfileCloudsqlSettingsOutput() ConnectionProfileCloudsqlSettingsOutput

func (ConnectionProfileCloudsqlSettingsArgs) ToConnectionProfileCloudsqlSettingsOutputWithContext

func (i ConnectionProfileCloudsqlSettingsArgs) ToConnectionProfileCloudsqlSettingsOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlSettingsOutput

func (ConnectionProfileCloudsqlSettingsArgs) ToConnectionProfileCloudsqlSettingsPtrOutput

func (i ConnectionProfileCloudsqlSettingsArgs) ToConnectionProfileCloudsqlSettingsPtrOutput() ConnectionProfileCloudsqlSettingsPtrOutput

func (ConnectionProfileCloudsqlSettingsArgs) ToConnectionProfileCloudsqlSettingsPtrOutputWithContext

func (i ConnectionProfileCloudsqlSettingsArgs) ToConnectionProfileCloudsqlSettingsPtrOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlSettingsPtrOutput

type ConnectionProfileCloudsqlSettingsInput

type ConnectionProfileCloudsqlSettingsInput interface {
	pulumi.Input

	ToConnectionProfileCloudsqlSettingsOutput() ConnectionProfileCloudsqlSettingsOutput
	ToConnectionProfileCloudsqlSettingsOutputWithContext(context.Context) ConnectionProfileCloudsqlSettingsOutput
}

ConnectionProfileCloudsqlSettingsInput is an input type that accepts ConnectionProfileCloudsqlSettingsArgs and ConnectionProfileCloudsqlSettingsOutput values. You can construct a concrete instance of `ConnectionProfileCloudsqlSettingsInput` via:

ConnectionProfileCloudsqlSettingsArgs{...}

type ConnectionProfileCloudsqlSettingsIpConfig

type ConnectionProfileCloudsqlSettingsIpConfig struct {
	// The list of external networks that are allowed to connect to the instance using the IP.
	// Structure is documented below.
	AuthorizedNetworks []ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetwork `pulumi:"authorizedNetworks"`
	// Whether the instance should be assigned an IPv4 address or not.
	EnableIpv4 *bool `pulumi:"enableIpv4"`
	// The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default.
	// This setting can be updated, but it cannot be removed after it is set.
	PrivateNetwork *string `pulumi:"privateNetwork"`
	// Whether SSL connections over IP should be enforced or not.
	RequireSsl *bool `pulumi:"requireSsl"`
}

type ConnectionProfileCloudsqlSettingsIpConfigArgs

type ConnectionProfileCloudsqlSettingsIpConfigArgs struct {
	// The list of external networks that are allowed to connect to the instance using the IP.
	// Structure is documented below.
	AuthorizedNetworks ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayInput `pulumi:"authorizedNetworks"`
	// Whether the instance should be assigned an IPv4 address or not.
	EnableIpv4 pulumi.BoolPtrInput `pulumi:"enableIpv4"`
	// The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default.
	// This setting can be updated, but it cannot be removed after it is set.
	PrivateNetwork pulumi.StringPtrInput `pulumi:"privateNetwork"`
	// Whether SSL connections over IP should be enforced or not.
	RequireSsl pulumi.BoolPtrInput `pulumi:"requireSsl"`
}

func (ConnectionProfileCloudsqlSettingsIpConfigArgs) ElementType

func (ConnectionProfileCloudsqlSettingsIpConfigArgs) ToConnectionProfileCloudsqlSettingsIpConfigOutput

func (i ConnectionProfileCloudsqlSettingsIpConfigArgs) ToConnectionProfileCloudsqlSettingsIpConfigOutput() ConnectionProfileCloudsqlSettingsIpConfigOutput

func (ConnectionProfileCloudsqlSettingsIpConfigArgs) ToConnectionProfileCloudsqlSettingsIpConfigOutputWithContext

func (i ConnectionProfileCloudsqlSettingsIpConfigArgs) ToConnectionProfileCloudsqlSettingsIpConfigOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlSettingsIpConfigOutput

func (ConnectionProfileCloudsqlSettingsIpConfigArgs) ToConnectionProfileCloudsqlSettingsIpConfigPtrOutput

func (i ConnectionProfileCloudsqlSettingsIpConfigArgs) ToConnectionProfileCloudsqlSettingsIpConfigPtrOutput() ConnectionProfileCloudsqlSettingsIpConfigPtrOutput

func (ConnectionProfileCloudsqlSettingsIpConfigArgs) ToConnectionProfileCloudsqlSettingsIpConfigPtrOutputWithContext

func (i ConnectionProfileCloudsqlSettingsIpConfigArgs) ToConnectionProfileCloudsqlSettingsIpConfigPtrOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlSettingsIpConfigPtrOutput

type ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetwork

type ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetwork struct {
	// The time when this access control entry expires in RFC 3339 format.
	ExpireTime *string `pulumi:"expireTime"`
	// A label to identify this entry.
	Label *string `pulumi:"label"`
	// Input only. The time-to-leave of this access control entry.
	Ttl *string `pulumi:"ttl"`
	// The allowlisted value for the access control list.
	Value string `pulumi:"value"`
}

type ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArgs

type ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArgs struct {
	// The time when this access control entry expires in RFC 3339 format.
	ExpireTime pulumi.StringPtrInput `pulumi:"expireTime"`
	// A label to identify this entry.
	Label pulumi.StringPtrInput `pulumi:"label"`
	// Input only. The time-to-leave of this access control entry.
	Ttl pulumi.StringPtrInput `pulumi:"ttl"`
	// The allowlisted value for the access control list.
	Value pulumi.StringInput `pulumi:"value"`
}

func (ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArgs) ElementType

func (ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArgs) ToConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutput

func (ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArgs) ToConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutputWithContext

func (i ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArgs) ToConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutput

type ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArray

type ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArray []ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkInput

func (ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArray) ElementType

func (ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArray) ToConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutput

func (ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArray) ToConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutputWithContext

func (i ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArray) ToConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutput

type ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayInput

type ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayInput interface {
	pulumi.Input

	ToConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutput() ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutput
	ToConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutputWithContext(context.Context) ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutput
}

ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayInput is an input type that accepts ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArray and ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutput values. You can construct a concrete instance of `ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayInput` via:

ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArray{ ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArgs{...} }

type ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutput

type ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutput struct{ *pulumi.OutputState }

func (ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutput) ElementType

func (ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutput) ToConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutput

func (ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutput) ToConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutputWithContext

func (o ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutput) ToConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArrayOutput

type ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkInput

type ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkInput interface {
	pulumi.Input

	ToConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutput() ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutput
	ToConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutputWithContext(context.Context) ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutput
}

ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkInput is an input type that accepts ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArgs and ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutput values. You can construct a concrete instance of `ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkInput` via:

ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkArgs{...}

type ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutput

type ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutput struct{ *pulumi.OutputState }

func (ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutput) ElementType

func (ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutput) ExpireTime

The time when this access control entry expires in RFC 3339 format.

func (ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutput) Label

A label to identify this entry.

func (ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutput) ToConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutput

func (ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutput) ToConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutputWithContext

func (o ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutput) ToConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutput

func (ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutput) Ttl

Input only. The time-to-leave of this access control entry.

func (ConnectionProfileCloudsqlSettingsIpConfigAuthorizedNetworkOutput) Value

The allowlisted value for the access control list.

type ConnectionProfileCloudsqlSettingsIpConfigInput

type ConnectionProfileCloudsqlSettingsIpConfigInput interface {
	pulumi.Input

	ToConnectionProfileCloudsqlSettingsIpConfigOutput() ConnectionProfileCloudsqlSettingsIpConfigOutput
	ToConnectionProfileCloudsqlSettingsIpConfigOutputWithContext(context.Context) ConnectionProfileCloudsqlSettingsIpConfigOutput
}

ConnectionProfileCloudsqlSettingsIpConfigInput is an input type that accepts ConnectionProfileCloudsqlSettingsIpConfigArgs and ConnectionProfileCloudsqlSettingsIpConfigOutput values. You can construct a concrete instance of `ConnectionProfileCloudsqlSettingsIpConfigInput` via:

ConnectionProfileCloudsqlSettingsIpConfigArgs{...}

type ConnectionProfileCloudsqlSettingsIpConfigOutput

type ConnectionProfileCloudsqlSettingsIpConfigOutput struct{ *pulumi.OutputState }

func (ConnectionProfileCloudsqlSettingsIpConfigOutput) AuthorizedNetworks

The list of external networks that are allowed to connect to the instance using the IP. Structure is documented below.

func (ConnectionProfileCloudsqlSettingsIpConfigOutput) ElementType

func (ConnectionProfileCloudsqlSettingsIpConfigOutput) EnableIpv4

Whether the instance should be assigned an IPv4 address or not.

func (ConnectionProfileCloudsqlSettingsIpConfigOutput) PrivateNetwork

The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. This setting can be updated, but it cannot be removed after it is set.

func (ConnectionProfileCloudsqlSettingsIpConfigOutput) RequireSsl

Whether SSL connections over IP should be enforced or not.

func (ConnectionProfileCloudsqlSettingsIpConfigOutput) ToConnectionProfileCloudsqlSettingsIpConfigOutput

func (o ConnectionProfileCloudsqlSettingsIpConfigOutput) ToConnectionProfileCloudsqlSettingsIpConfigOutput() ConnectionProfileCloudsqlSettingsIpConfigOutput

func (ConnectionProfileCloudsqlSettingsIpConfigOutput) ToConnectionProfileCloudsqlSettingsIpConfigOutputWithContext

func (o ConnectionProfileCloudsqlSettingsIpConfigOutput) ToConnectionProfileCloudsqlSettingsIpConfigOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlSettingsIpConfigOutput

func (ConnectionProfileCloudsqlSettingsIpConfigOutput) ToConnectionProfileCloudsqlSettingsIpConfigPtrOutput

func (o ConnectionProfileCloudsqlSettingsIpConfigOutput) ToConnectionProfileCloudsqlSettingsIpConfigPtrOutput() ConnectionProfileCloudsqlSettingsIpConfigPtrOutput

func (ConnectionProfileCloudsqlSettingsIpConfigOutput) ToConnectionProfileCloudsqlSettingsIpConfigPtrOutputWithContext

func (o ConnectionProfileCloudsqlSettingsIpConfigOutput) ToConnectionProfileCloudsqlSettingsIpConfigPtrOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlSettingsIpConfigPtrOutput

type ConnectionProfileCloudsqlSettingsIpConfigPtrInput

type ConnectionProfileCloudsqlSettingsIpConfigPtrInput interface {
	pulumi.Input

	ToConnectionProfileCloudsqlSettingsIpConfigPtrOutput() ConnectionProfileCloudsqlSettingsIpConfigPtrOutput
	ToConnectionProfileCloudsqlSettingsIpConfigPtrOutputWithContext(context.Context) ConnectionProfileCloudsqlSettingsIpConfigPtrOutput
}

ConnectionProfileCloudsqlSettingsIpConfigPtrInput is an input type that accepts ConnectionProfileCloudsqlSettingsIpConfigArgs, ConnectionProfileCloudsqlSettingsIpConfigPtr and ConnectionProfileCloudsqlSettingsIpConfigPtrOutput values. You can construct a concrete instance of `ConnectionProfileCloudsqlSettingsIpConfigPtrInput` via:

        ConnectionProfileCloudsqlSettingsIpConfigArgs{...}

or:

        nil

type ConnectionProfileCloudsqlSettingsIpConfigPtrOutput

type ConnectionProfileCloudsqlSettingsIpConfigPtrOutput struct{ *pulumi.OutputState }

func (ConnectionProfileCloudsqlSettingsIpConfigPtrOutput) AuthorizedNetworks

The list of external networks that are allowed to connect to the instance using the IP. Structure is documented below.

func (ConnectionProfileCloudsqlSettingsIpConfigPtrOutput) Elem

func (ConnectionProfileCloudsqlSettingsIpConfigPtrOutput) ElementType

func (ConnectionProfileCloudsqlSettingsIpConfigPtrOutput) EnableIpv4

Whether the instance should be assigned an IPv4 address or not.

func (ConnectionProfileCloudsqlSettingsIpConfigPtrOutput) PrivateNetwork

The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. This setting can be updated, but it cannot be removed after it is set.

func (ConnectionProfileCloudsqlSettingsIpConfigPtrOutput) RequireSsl

Whether SSL connections over IP should be enforced or not.

func (ConnectionProfileCloudsqlSettingsIpConfigPtrOutput) ToConnectionProfileCloudsqlSettingsIpConfigPtrOutput

func (o ConnectionProfileCloudsqlSettingsIpConfigPtrOutput) ToConnectionProfileCloudsqlSettingsIpConfigPtrOutput() ConnectionProfileCloudsqlSettingsIpConfigPtrOutput

func (ConnectionProfileCloudsqlSettingsIpConfigPtrOutput) ToConnectionProfileCloudsqlSettingsIpConfigPtrOutputWithContext

func (o ConnectionProfileCloudsqlSettingsIpConfigPtrOutput) ToConnectionProfileCloudsqlSettingsIpConfigPtrOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlSettingsIpConfigPtrOutput

type ConnectionProfileCloudsqlSettingsOutput

type ConnectionProfileCloudsqlSettingsOutput struct{ *pulumi.OutputState }

func (ConnectionProfileCloudsqlSettingsOutput) ActivationPolicy

The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Possible values are: `ALWAYS`, `NEVER`.

func (ConnectionProfileCloudsqlSettingsOutput) AutoStorageIncrease

If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.

func (ConnectionProfileCloudsqlSettingsOutput) CmekKeyName

The KMS key name used for the csql instance.

func (ConnectionProfileCloudsqlSettingsOutput) Collation

The Cloud SQL default instance level collation.

func (ConnectionProfileCloudsqlSettingsOutput) DataDiskSizeGb

The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.

func (ConnectionProfileCloudsqlSettingsOutput) DataDiskType

The type of storage. Possible values are: `PD_SSD`, `PD_HDD`.

func (ConnectionProfileCloudsqlSettingsOutput) DatabaseFlags

The database flags passed to the Cloud SQL instance at startup.

func (ConnectionProfileCloudsqlSettingsOutput) DatabaseVersion

The database engine type and version. Currently supported values located at https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.connectionProfiles#sqldatabaseversion

func (ConnectionProfileCloudsqlSettingsOutput) Edition

The edition of the given Cloud SQL instance. Possible values are: `ENTERPRISE`, `ENTERPRISE_PLUS`.

func (ConnectionProfileCloudsqlSettingsOutput) ElementType

func (ConnectionProfileCloudsqlSettingsOutput) IpConfig

The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled. Structure is documented below.

func (ConnectionProfileCloudsqlSettingsOutput) RootPassword

Input only. Initial root password. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileCloudsqlSettingsOutput) RootPasswordSet

(Output) Output only. Indicates If this connection profile root password is stored.

func (ConnectionProfileCloudsqlSettingsOutput) SourceId

The Database Migration Service source connection profile ID, in the format: projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID

func (ConnectionProfileCloudsqlSettingsOutput) StorageAutoResizeLimit

The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.

func (ConnectionProfileCloudsqlSettingsOutput) Tier

The tier (or machine type) for this instance, for example: db-n1-standard-1 (MySQL instances) or db-custom-1-3840 (PostgreSQL instances). For more information, see https://cloud.google.com/sql/docs/mysql/instance-settings

func (ConnectionProfileCloudsqlSettingsOutput) ToConnectionProfileCloudsqlSettingsOutput

func (o ConnectionProfileCloudsqlSettingsOutput) ToConnectionProfileCloudsqlSettingsOutput() ConnectionProfileCloudsqlSettingsOutput

func (ConnectionProfileCloudsqlSettingsOutput) ToConnectionProfileCloudsqlSettingsOutputWithContext

func (o ConnectionProfileCloudsqlSettingsOutput) ToConnectionProfileCloudsqlSettingsOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlSettingsOutput

func (ConnectionProfileCloudsqlSettingsOutput) ToConnectionProfileCloudsqlSettingsPtrOutput

func (o ConnectionProfileCloudsqlSettingsOutput) ToConnectionProfileCloudsqlSettingsPtrOutput() ConnectionProfileCloudsqlSettingsPtrOutput

func (ConnectionProfileCloudsqlSettingsOutput) ToConnectionProfileCloudsqlSettingsPtrOutputWithContext

func (o ConnectionProfileCloudsqlSettingsOutput) ToConnectionProfileCloudsqlSettingsPtrOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlSettingsPtrOutput

func (ConnectionProfileCloudsqlSettingsOutput) UserLabels

The resource labels for a Cloud SQL instance to use to annotate any related underlying resources such as Compute Engine VMs.

func (ConnectionProfileCloudsqlSettingsOutput) Zone

The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.

type ConnectionProfileCloudsqlSettingsPtrInput

type ConnectionProfileCloudsqlSettingsPtrInput interface {
	pulumi.Input

	ToConnectionProfileCloudsqlSettingsPtrOutput() ConnectionProfileCloudsqlSettingsPtrOutput
	ToConnectionProfileCloudsqlSettingsPtrOutputWithContext(context.Context) ConnectionProfileCloudsqlSettingsPtrOutput
}

ConnectionProfileCloudsqlSettingsPtrInput is an input type that accepts ConnectionProfileCloudsqlSettingsArgs, ConnectionProfileCloudsqlSettingsPtr and ConnectionProfileCloudsqlSettingsPtrOutput values. You can construct a concrete instance of `ConnectionProfileCloudsqlSettingsPtrInput` via:

        ConnectionProfileCloudsqlSettingsArgs{...}

or:

        nil

type ConnectionProfileCloudsqlSettingsPtrOutput

type ConnectionProfileCloudsqlSettingsPtrOutput struct{ *pulumi.OutputState }

func (ConnectionProfileCloudsqlSettingsPtrOutput) ActivationPolicy

The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Possible values are: `ALWAYS`, `NEVER`.

func (ConnectionProfileCloudsqlSettingsPtrOutput) AutoStorageIncrease

If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.

func (ConnectionProfileCloudsqlSettingsPtrOutput) CmekKeyName

The KMS key name used for the csql instance.

func (ConnectionProfileCloudsqlSettingsPtrOutput) Collation

The Cloud SQL default instance level collation.

func (ConnectionProfileCloudsqlSettingsPtrOutput) DataDiskSizeGb

The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.

func (ConnectionProfileCloudsqlSettingsPtrOutput) DataDiskType

The type of storage. Possible values are: `PD_SSD`, `PD_HDD`.

func (ConnectionProfileCloudsqlSettingsPtrOutput) DatabaseFlags

The database flags passed to the Cloud SQL instance at startup.

func (ConnectionProfileCloudsqlSettingsPtrOutput) DatabaseVersion

The database engine type and version. Currently supported values located at https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.connectionProfiles#sqldatabaseversion

func (ConnectionProfileCloudsqlSettingsPtrOutput) Edition

The edition of the given Cloud SQL instance. Possible values are: `ENTERPRISE`, `ENTERPRISE_PLUS`.

func (ConnectionProfileCloudsqlSettingsPtrOutput) Elem

func (ConnectionProfileCloudsqlSettingsPtrOutput) ElementType

func (ConnectionProfileCloudsqlSettingsPtrOutput) IpConfig

The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled. Structure is documented below.

func (ConnectionProfileCloudsqlSettingsPtrOutput) RootPassword

Input only. Initial root password. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileCloudsqlSettingsPtrOutput) RootPasswordSet

(Output) Output only. Indicates If this connection profile root password is stored.

func (ConnectionProfileCloudsqlSettingsPtrOutput) SourceId

The Database Migration Service source connection profile ID, in the format: projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID

func (ConnectionProfileCloudsqlSettingsPtrOutput) StorageAutoResizeLimit

The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.

func (ConnectionProfileCloudsqlSettingsPtrOutput) Tier

The tier (or machine type) for this instance, for example: db-n1-standard-1 (MySQL instances) or db-custom-1-3840 (PostgreSQL instances). For more information, see https://cloud.google.com/sql/docs/mysql/instance-settings

func (ConnectionProfileCloudsqlSettingsPtrOutput) ToConnectionProfileCloudsqlSettingsPtrOutput

func (o ConnectionProfileCloudsqlSettingsPtrOutput) ToConnectionProfileCloudsqlSettingsPtrOutput() ConnectionProfileCloudsqlSettingsPtrOutput

func (ConnectionProfileCloudsqlSettingsPtrOutput) ToConnectionProfileCloudsqlSettingsPtrOutputWithContext

func (o ConnectionProfileCloudsqlSettingsPtrOutput) ToConnectionProfileCloudsqlSettingsPtrOutputWithContext(ctx context.Context) ConnectionProfileCloudsqlSettingsPtrOutput

func (ConnectionProfileCloudsqlSettingsPtrOutput) UserLabels

The resource labels for a Cloud SQL instance to use to annotate any related underlying resources such as Compute Engine VMs.

func (ConnectionProfileCloudsqlSettingsPtrOutput) Zone

The Google Cloud Platform zone where your Cloud SQL datdabse instance is located.

type ConnectionProfileError

type ConnectionProfileError struct {
	// (Output)
	// The status code, which should be an enum value of google.rpc.Code.
	Code *int `pulumi:"code"`
	// (Output)
	// A list of messages that carry the error details.
	Details []map[string]interface{} `pulumi:"details"`
	// (Output)
	// Human readable message indicating details about the current status.
	Message *string `pulumi:"message"`
}

type ConnectionProfileErrorArgs

type ConnectionProfileErrorArgs struct {
	// (Output)
	// The status code, which should be an enum value of google.rpc.Code.
	Code pulumi.IntPtrInput `pulumi:"code"`
	// (Output)
	// A list of messages that carry the error details.
	Details pulumi.MapArrayInput `pulumi:"details"`
	// (Output)
	// Human readable message indicating details about the current status.
	Message pulumi.StringPtrInput `pulumi:"message"`
}

func (ConnectionProfileErrorArgs) ElementType

func (ConnectionProfileErrorArgs) ElementType() reflect.Type

func (ConnectionProfileErrorArgs) ToConnectionProfileErrorOutput

func (i ConnectionProfileErrorArgs) ToConnectionProfileErrorOutput() ConnectionProfileErrorOutput

func (ConnectionProfileErrorArgs) ToConnectionProfileErrorOutputWithContext

func (i ConnectionProfileErrorArgs) ToConnectionProfileErrorOutputWithContext(ctx context.Context) ConnectionProfileErrorOutput

type ConnectionProfileErrorArray

type ConnectionProfileErrorArray []ConnectionProfileErrorInput

func (ConnectionProfileErrorArray) ElementType

func (ConnectionProfileErrorArray) ToConnectionProfileErrorArrayOutput

func (i ConnectionProfileErrorArray) ToConnectionProfileErrorArrayOutput() ConnectionProfileErrorArrayOutput

func (ConnectionProfileErrorArray) ToConnectionProfileErrorArrayOutputWithContext

func (i ConnectionProfileErrorArray) ToConnectionProfileErrorArrayOutputWithContext(ctx context.Context) ConnectionProfileErrorArrayOutput

type ConnectionProfileErrorArrayInput

type ConnectionProfileErrorArrayInput interface {
	pulumi.Input

	ToConnectionProfileErrorArrayOutput() ConnectionProfileErrorArrayOutput
	ToConnectionProfileErrorArrayOutputWithContext(context.Context) ConnectionProfileErrorArrayOutput
}

ConnectionProfileErrorArrayInput is an input type that accepts ConnectionProfileErrorArray and ConnectionProfileErrorArrayOutput values. You can construct a concrete instance of `ConnectionProfileErrorArrayInput` via:

ConnectionProfileErrorArray{ ConnectionProfileErrorArgs{...} }

type ConnectionProfileErrorArrayOutput

type ConnectionProfileErrorArrayOutput struct{ *pulumi.OutputState }

func (ConnectionProfileErrorArrayOutput) ElementType

func (ConnectionProfileErrorArrayOutput) Index

func (ConnectionProfileErrorArrayOutput) ToConnectionProfileErrorArrayOutput

func (o ConnectionProfileErrorArrayOutput) ToConnectionProfileErrorArrayOutput() ConnectionProfileErrorArrayOutput

func (ConnectionProfileErrorArrayOutput) ToConnectionProfileErrorArrayOutputWithContext

func (o ConnectionProfileErrorArrayOutput) ToConnectionProfileErrorArrayOutputWithContext(ctx context.Context) ConnectionProfileErrorArrayOutput

type ConnectionProfileErrorInput

type ConnectionProfileErrorInput interface {
	pulumi.Input

	ToConnectionProfileErrorOutput() ConnectionProfileErrorOutput
	ToConnectionProfileErrorOutputWithContext(context.Context) ConnectionProfileErrorOutput
}

ConnectionProfileErrorInput is an input type that accepts ConnectionProfileErrorArgs and ConnectionProfileErrorOutput values. You can construct a concrete instance of `ConnectionProfileErrorInput` via:

ConnectionProfileErrorArgs{...}

type ConnectionProfileErrorOutput

type ConnectionProfileErrorOutput struct{ *pulumi.OutputState }

func (ConnectionProfileErrorOutput) Code

(Output) The status code, which should be an enum value of google.rpc.Code.

func (ConnectionProfileErrorOutput) Details

(Output) A list of messages that carry the error details.

func (ConnectionProfileErrorOutput) ElementType

func (ConnectionProfileErrorOutput) Message

(Output) Human readable message indicating details about the current status.

func (ConnectionProfileErrorOutput) ToConnectionProfileErrorOutput

func (o ConnectionProfileErrorOutput) ToConnectionProfileErrorOutput() ConnectionProfileErrorOutput

func (ConnectionProfileErrorOutput) ToConnectionProfileErrorOutputWithContext

func (o ConnectionProfileErrorOutput) ToConnectionProfileErrorOutputWithContext(ctx context.Context) ConnectionProfileErrorOutput

type ConnectionProfileInput

type ConnectionProfileInput interface {
	pulumi.Input

	ToConnectionProfileOutput() ConnectionProfileOutput
	ToConnectionProfileOutputWithContext(ctx context.Context) ConnectionProfileOutput
}

type ConnectionProfileMap

type ConnectionProfileMap map[string]ConnectionProfileInput

func (ConnectionProfileMap) ElementType

func (ConnectionProfileMap) ElementType() reflect.Type

func (ConnectionProfileMap) ToConnectionProfileMapOutput

func (i ConnectionProfileMap) ToConnectionProfileMapOutput() ConnectionProfileMapOutput

func (ConnectionProfileMap) ToConnectionProfileMapOutputWithContext

func (i ConnectionProfileMap) ToConnectionProfileMapOutputWithContext(ctx context.Context) ConnectionProfileMapOutput

type ConnectionProfileMapInput

type ConnectionProfileMapInput interface {
	pulumi.Input

	ToConnectionProfileMapOutput() ConnectionProfileMapOutput
	ToConnectionProfileMapOutputWithContext(context.Context) ConnectionProfileMapOutput
}

ConnectionProfileMapInput is an input type that accepts ConnectionProfileMap and ConnectionProfileMapOutput values. You can construct a concrete instance of `ConnectionProfileMapInput` via:

ConnectionProfileMap{ "key": ConnectionProfileArgs{...} }

type ConnectionProfileMapOutput

type ConnectionProfileMapOutput struct{ *pulumi.OutputState }

func (ConnectionProfileMapOutput) ElementType

func (ConnectionProfileMapOutput) ElementType() reflect.Type

func (ConnectionProfileMapOutput) MapIndex

func (ConnectionProfileMapOutput) ToConnectionProfileMapOutput

func (o ConnectionProfileMapOutput) ToConnectionProfileMapOutput() ConnectionProfileMapOutput

func (ConnectionProfileMapOutput) ToConnectionProfileMapOutputWithContext

func (o ConnectionProfileMapOutput) ToConnectionProfileMapOutputWithContext(ctx context.Context) ConnectionProfileMapOutput

type ConnectionProfileMysql

type ConnectionProfileMysql struct {
	// If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
	CloudSqlId *string `pulumi:"cloudSqlId"`
	// Required. The IP or hostname of the source MySQL database.
	Host string `pulumi:"host"`
	// Required. Input only. The password for the user that Database Migration Service will be using to connect to the database.
	// This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Password string `pulumi:"password"`
	// (Output)
	// Output only. Indicates If this connection profile password is stored.
	PasswordSet *bool `pulumi:"passwordSet"`
	// Required. The network port of the source MySQL database.
	Port int `pulumi:"port"`
	// SSL configuration for the destination to connect to the source database.
	// Structure is documented below.
	Ssl *ConnectionProfileMysqlSsl `pulumi:"ssl"`
	// Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
	Username string `pulumi:"username"`
}

type ConnectionProfileMysqlArgs

type ConnectionProfileMysqlArgs struct {
	// If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
	CloudSqlId pulumi.StringPtrInput `pulumi:"cloudSqlId"`
	// Required. The IP or hostname of the source MySQL database.
	Host pulumi.StringInput `pulumi:"host"`
	// Required. Input only. The password for the user that Database Migration Service will be using to connect to the database.
	// This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Password pulumi.StringInput `pulumi:"password"`
	// (Output)
	// Output only. Indicates If this connection profile password is stored.
	PasswordSet pulumi.BoolPtrInput `pulumi:"passwordSet"`
	// Required. The network port of the source MySQL database.
	Port pulumi.IntInput `pulumi:"port"`
	// SSL configuration for the destination to connect to the source database.
	// Structure is documented below.
	Ssl ConnectionProfileMysqlSslPtrInput `pulumi:"ssl"`
	// Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
	Username pulumi.StringInput `pulumi:"username"`
}

func (ConnectionProfileMysqlArgs) ElementType

func (ConnectionProfileMysqlArgs) ElementType() reflect.Type

func (ConnectionProfileMysqlArgs) ToConnectionProfileMysqlOutput

func (i ConnectionProfileMysqlArgs) ToConnectionProfileMysqlOutput() ConnectionProfileMysqlOutput

func (ConnectionProfileMysqlArgs) ToConnectionProfileMysqlOutputWithContext

func (i ConnectionProfileMysqlArgs) ToConnectionProfileMysqlOutputWithContext(ctx context.Context) ConnectionProfileMysqlOutput

func (ConnectionProfileMysqlArgs) ToConnectionProfileMysqlPtrOutput

func (i ConnectionProfileMysqlArgs) ToConnectionProfileMysqlPtrOutput() ConnectionProfileMysqlPtrOutput

func (ConnectionProfileMysqlArgs) ToConnectionProfileMysqlPtrOutputWithContext

func (i ConnectionProfileMysqlArgs) ToConnectionProfileMysqlPtrOutputWithContext(ctx context.Context) ConnectionProfileMysqlPtrOutput

type ConnectionProfileMysqlInput

type ConnectionProfileMysqlInput interface {
	pulumi.Input

	ToConnectionProfileMysqlOutput() ConnectionProfileMysqlOutput
	ToConnectionProfileMysqlOutputWithContext(context.Context) ConnectionProfileMysqlOutput
}

ConnectionProfileMysqlInput is an input type that accepts ConnectionProfileMysqlArgs and ConnectionProfileMysqlOutput values. You can construct a concrete instance of `ConnectionProfileMysqlInput` via:

ConnectionProfileMysqlArgs{...}

type ConnectionProfileMysqlOutput

type ConnectionProfileMysqlOutput struct{ *pulumi.OutputState }

func (ConnectionProfileMysqlOutput) CloudSqlId

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

func (ConnectionProfileMysqlOutput) ElementType

func (ConnectionProfileMysqlOutput) Host

Required. The IP or hostname of the source MySQL database.

func (ConnectionProfileMysqlOutput) Password

Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileMysqlOutput) PasswordSet

(Output) Output only. Indicates If this connection profile password is stored.

func (ConnectionProfileMysqlOutput) Port

Required. The network port of the source MySQL database.

func (ConnectionProfileMysqlOutput) Ssl

SSL configuration for the destination to connect to the source database. Structure is documented below.

func (ConnectionProfileMysqlOutput) ToConnectionProfileMysqlOutput

func (o ConnectionProfileMysqlOutput) ToConnectionProfileMysqlOutput() ConnectionProfileMysqlOutput

func (ConnectionProfileMysqlOutput) ToConnectionProfileMysqlOutputWithContext

func (o ConnectionProfileMysqlOutput) ToConnectionProfileMysqlOutputWithContext(ctx context.Context) ConnectionProfileMysqlOutput

func (ConnectionProfileMysqlOutput) ToConnectionProfileMysqlPtrOutput

func (o ConnectionProfileMysqlOutput) ToConnectionProfileMysqlPtrOutput() ConnectionProfileMysqlPtrOutput

func (ConnectionProfileMysqlOutput) ToConnectionProfileMysqlPtrOutputWithContext

func (o ConnectionProfileMysqlOutput) ToConnectionProfileMysqlPtrOutputWithContext(ctx context.Context) ConnectionProfileMysqlPtrOutput

func (ConnectionProfileMysqlOutput) Username

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

type ConnectionProfileMysqlPtrInput

type ConnectionProfileMysqlPtrInput interface {
	pulumi.Input

	ToConnectionProfileMysqlPtrOutput() ConnectionProfileMysqlPtrOutput
	ToConnectionProfileMysqlPtrOutputWithContext(context.Context) ConnectionProfileMysqlPtrOutput
}

ConnectionProfileMysqlPtrInput is an input type that accepts ConnectionProfileMysqlArgs, ConnectionProfileMysqlPtr and ConnectionProfileMysqlPtrOutput values. You can construct a concrete instance of `ConnectionProfileMysqlPtrInput` via:

        ConnectionProfileMysqlArgs{...}

or:

        nil

type ConnectionProfileMysqlPtrOutput

type ConnectionProfileMysqlPtrOutput struct{ *pulumi.OutputState }

func (ConnectionProfileMysqlPtrOutput) CloudSqlId

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

func (ConnectionProfileMysqlPtrOutput) Elem

func (ConnectionProfileMysqlPtrOutput) ElementType

func (ConnectionProfileMysqlPtrOutput) Host

Required. The IP or hostname of the source MySQL database.

func (ConnectionProfileMysqlPtrOutput) Password

Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileMysqlPtrOutput) PasswordSet

(Output) Output only. Indicates If this connection profile password is stored.

func (ConnectionProfileMysqlPtrOutput) Port

Required. The network port of the source MySQL database.

func (ConnectionProfileMysqlPtrOutput) Ssl

SSL configuration for the destination to connect to the source database. Structure is documented below.

func (ConnectionProfileMysqlPtrOutput) ToConnectionProfileMysqlPtrOutput

func (o ConnectionProfileMysqlPtrOutput) ToConnectionProfileMysqlPtrOutput() ConnectionProfileMysqlPtrOutput

func (ConnectionProfileMysqlPtrOutput) ToConnectionProfileMysqlPtrOutputWithContext

func (o ConnectionProfileMysqlPtrOutput) ToConnectionProfileMysqlPtrOutputWithContext(ctx context.Context) ConnectionProfileMysqlPtrOutput

func (ConnectionProfileMysqlPtrOutput) Username

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

type ConnectionProfileMysqlSsl

type ConnectionProfileMysqlSsl struct {
	// Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate.
	// The replica will use this certificate to verify it's connecting to the right host.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	CaCertificate string `pulumi:"caCertificate"`
	// Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.
	// If this field is used then the 'clientKey' field is mandatory
	// **Note**: This property is sensitive and will not be displayed in the plan.
	ClientCertificate *string `pulumi:"clientCertificate"`
	// Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate.
	// If this field is used then the 'clientCertificate' field is mandatory.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	ClientKey *string `pulumi:"clientKey"`
	// (Output)
	// The current connection profile state.
	Type *string `pulumi:"type"`
}

type ConnectionProfileMysqlSslArgs

type ConnectionProfileMysqlSslArgs struct {
	// Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate.
	// The replica will use this certificate to verify it's connecting to the right host.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	CaCertificate pulumi.StringInput `pulumi:"caCertificate"`
	// Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.
	// If this field is used then the 'clientKey' field is mandatory
	// **Note**: This property is sensitive and will not be displayed in the plan.
	ClientCertificate pulumi.StringPtrInput `pulumi:"clientCertificate"`
	// Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate.
	// If this field is used then the 'clientCertificate' field is mandatory.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	ClientKey pulumi.StringPtrInput `pulumi:"clientKey"`
	// (Output)
	// The current connection profile state.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ConnectionProfileMysqlSslArgs) ElementType

func (ConnectionProfileMysqlSslArgs) ToConnectionProfileMysqlSslOutput

func (i ConnectionProfileMysqlSslArgs) ToConnectionProfileMysqlSslOutput() ConnectionProfileMysqlSslOutput

func (ConnectionProfileMysqlSslArgs) ToConnectionProfileMysqlSslOutputWithContext

func (i ConnectionProfileMysqlSslArgs) ToConnectionProfileMysqlSslOutputWithContext(ctx context.Context) ConnectionProfileMysqlSslOutput

func (ConnectionProfileMysqlSslArgs) ToConnectionProfileMysqlSslPtrOutput

func (i ConnectionProfileMysqlSslArgs) ToConnectionProfileMysqlSslPtrOutput() ConnectionProfileMysqlSslPtrOutput

func (ConnectionProfileMysqlSslArgs) ToConnectionProfileMysqlSslPtrOutputWithContext

func (i ConnectionProfileMysqlSslArgs) ToConnectionProfileMysqlSslPtrOutputWithContext(ctx context.Context) ConnectionProfileMysqlSslPtrOutput

type ConnectionProfileMysqlSslInput

type ConnectionProfileMysqlSslInput interface {
	pulumi.Input

	ToConnectionProfileMysqlSslOutput() ConnectionProfileMysqlSslOutput
	ToConnectionProfileMysqlSslOutputWithContext(context.Context) ConnectionProfileMysqlSslOutput
}

ConnectionProfileMysqlSslInput is an input type that accepts ConnectionProfileMysqlSslArgs and ConnectionProfileMysqlSslOutput values. You can construct a concrete instance of `ConnectionProfileMysqlSslInput` via:

ConnectionProfileMysqlSslArgs{...}

type ConnectionProfileMysqlSslOutput

type ConnectionProfileMysqlSslOutput struct{ *pulumi.OutputState }

func (ConnectionProfileMysqlSslOutput) CaCertificate

Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileMysqlSslOutput) ClientCertificate

Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'clientKey' field is mandatory **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileMysqlSslOutput) ClientKey

Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'clientCertificate' field is mandatory. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileMysqlSslOutput) ElementType

func (ConnectionProfileMysqlSslOutput) ToConnectionProfileMysqlSslOutput

func (o ConnectionProfileMysqlSslOutput) ToConnectionProfileMysqlSslOutput() ConnectionProfileMysqlSslOutput

func (ConnectionProfileMysqlSslOutput) ToConnectionProfileMysqlSslOutputWithContext

func (o ConnectionProfileMysqlSslOutput) ToConnectionProfileMysqlSslOutputWithContext(ctx context.Context) ConnectionProfileMysqlSslOutput

func (ConnectionProfileMysqlSslOutput) ToConnectionProfileMysqlSslPtrOutput

func (o ConnectionProfileMysqlSslOutput) ToConnectionProfileMysqlSslPtrOutput() ConnectionProfileMysqlSslPtrOutput

func (ConnectionProfileMysqlSslOutput) ToConnectionProfileMysqlSslPtrOutputWithContext

func (o ConnectionProfileMysqlSslOutput) ToConnectionProfileMysqlSslPtrOutputWithContext(ctx context.Context) ConnectionProfileMysqlSslPtrOutput

func (ConnectionProfileMysqlSslOutput) Type

(Output) The current connection profile state.

type ConnectionProfileMysqlSslPtrInput

type ConnectionProfileMysqlSslPtrInput interface {
	pulumi.Input

	ToConnectionProfileMysqlSslPtrOutput() ConnectionProfileMysqlSslPtrOutput
	ToConnectionProfileMysqlSslPtrOutputWithContext(context.Context) ConnectionProfileMysqlSslPtrOutput
}

ConnectionProfileMysqlSslPtrInput is an input type that accepts ConnectionProfileMysqlSslArgs, ConnectionProfileMysqlSslPtr and ConnectionProfileMysqlSslPtrOutput values. You can construct a concrete instance of `ConnectionProfileMysqlSslPtrInput` via:

        ConnectionProfileMysqlSslArgs{...}

or:

        nil

type ConnectionProfileMysqlSslPtrOutput

type ConnectionProfileMysqlSslPtrOutput struct{ *pulumi.OutputState }

func (ConnectionProfileMysqlSslPtrOutput) CaCertificate

Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileMysqlSslPtrOutput) ClientCertificate

Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'clientKey' field is mandatory **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileMysqlSslPtrOutput) ClientKey

Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'clientCertificate' field is mandatory. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileMysqlSslPtrOutput) Elem

func (ConnectionProfileMysqlSslPtrOutput) ElementType

func (ConnectionProfileMysqlSslPtrOutput) ToConnectionProfileMysqlSslPtrOutput

func (o ConnectionProfileMysqlSslPtrOutput) ToConnectionProfileMysqlSslPtrOutput() ConnectionProfileMysqlSslPtrOutput

func (ConnectionProfileMysqlSslPtrOutput) ToConnectionProfileMysqlSslPtrOutputWithContext

func (o ConnectionProfileMysqlSslPtrOutput) ToConnectionProfileMysqlSslPtrOutputWithContext(ctx context.Context) ConnectionProfileMysqlSslPtrOutput

func (ConnectionProfileMysqlSslPtrOutput) Type

(Output) The current connection profile state.

type ConnectionProfileOracle added in v7.1.0

type ConnectionProfileOracle struct {
	// Required. Database service for the Oracle connection.
	DatabaseService string `pulumi:"databaseService"`
	// SSL configuration for the destination to connect to the source database.
	// Structure is documented below.
	ForwardSshConnectivity *ConnectionProfileOracleForwardSshConnectivity `pulumi:"forwardSshConnectivity"`
	// Required. The IP or hostname of the source Oracle database.
	Host string `pulumi:"host"`
	// Required. Input only. The password for the user that Database Migration Service will be using to connect to the database.
	// This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Password string `pulumi:"password"`
	// (Output)
	// Output only. Indicates If this connection profile password is stored.
	PasswordSet *bool `pulumi:"passwordSet"`
	// Required. The network port of the source Oracle database.
	Port int `pulumi:"port"`
	// Configuration for using a private network to communicate with the source database
	// Structure is documented below.
	PrivateConnectivity *ConnectionProfileOraclePrivateConnectivity `pulumi:"privateConnectivity"`
	// SSL configuration for the destination to connect to the source database.
	// Structure is documented below.
	Ssl *ConnectionProfileOracleSsl `pulumi:"ssl"`
	// This object has no nested fields.
	// Static IP address connectivity configured on service project.
	StaticServiceIpConnectivity *ConnectionProfileOracleStaticServiceIpConnectivity `pulumi:"staticServiceIpConnectivity"`
	// Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
	Username string `pulumi:"username"`
}

type ConnectionProfileOracleArgs added in v7.1.0

type ConnectionProfileOracleArgs struct {
	// Required. Database service for the Oracle connection.
	DatabaseService pulumi.StringInput `pulumi:"databaseService"`
	// SSL configuration for the destination to connect to the source database.
	// Structure is documented below.
	ForwardSshConnectivity ConnectionProfileOracleForwardSshConnectivityPtrInput `pulumi:"forwardSshConnectivity"`
	// Required. The IP or hostname of the source Oracle database.
	Host pulumi.StringInput `pulumi:"host"`
	// Required. Input only. The password for the user that Database Migration Service will be using to connect to the database.
	// This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Password pulumi.StringInput `pulumi:"password"`
	// (Output)
	// Output only. Indicates If this connection profile password is stored.
	PasswordSet pulumi.BoolPtrInput `pulumi:"passwordSet"`
	// Required. The network port of the source Oracle database.
	Port pulumi.IntInput `pulumi:"port"`
	// Configuration for using a private network to communicate with the source database
	// Structure is documented below.
	PrivateConnectivity ConnectionProfileOraclePrivateConnectivityPtrInput `pulumi:"privateConnectivity"`
	// SSL configuration for the destination to connect to the source database.
	// Structure is documented below.
	Ssl ConnectionProfileOracleSslPtrInput `pulumi:"ssl"`
	// This object has no nested fields.
	// Static IP address connectivity configured on service project.
	StaticServiceIpConnectivity ConnectionProfileOracleStaticServiceIpConnectivityPtrInput `pulumi:"staticServiceIpConnectivity"`
	// Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
	Username pulumi.StringInput `pulumi:"username"`
}

func (ConnectionProfileOracleArgs) ElementType added in v7.1.0

func (ConnectionProfileOracleArgs) ToConnectionProfileOracleOutput added in v7.1.0

func (i ConnectionProfileOracleArgs) ToConnectionProfileOracleOutput() ConnectionProfileOracleOutput

func (ConnectionProfileOracleArgs) ToConnectionProfileOracleOutputWithContext added in v7.1.0

func (i ConnectionProfileOracleArgs) ToConnectionProfileOracleOutputWithContext(ctx context.Context) ConnectionProfileOracleOutput

func (ConnectionProfileOracleArgs) ToConnectionProfileOraclePtrOutput added in v7.1.0

func (i ConnectionProfileOracleArgs) ToConnectionProfileOraclePtrOutput() ConnectionProfileOraclePtrOutput

func (ConnectionProfileOracleArgs) ToConnectionProfileOraclePtrOutputWithContext added in v7.1.0

func (i ConnectionProfileOracleArgs) ToConnectionProfileOraclePtrOutputWithContext(ctx context.Context) ConnectionProfileOraclePtrOutput

type ConnectionProfileOracleForwardSshConnectivity added in v7.1.0

type ConnectionProfileOracleForwardSshConnectivity struct {
	// Required. Hostname for the SSH tunnel.
	Hostname string `pulumi:"hostname"`
	// Input only. SSH password. Only one of `password` and `privateKey` can be configured.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Password *string `pulumi:"password"`
	// Port for the SSH tunnel, default value is 22.
	Port int `pulumi:"port"`
	// Input only. SSH private key. Only one of `password` and `privateKey` can be configured.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	PrivateKey *string `pulumi:"privateKey"`
	// Required. Username for the SSH tunnel.
	Username string `pulumi:"username"`
}

type ConnectionProfileOracleForwardSshConnectivityArgs added in v7.1.0

type ConnectionProfileOracleForwardSshConnectivityArgs struct {
	// Required. Hostname for the SSH tunnel.
	Hostname pulumi.StringInput `pulumi:"hostname"`
	// Input only. SSH password. Only one of `password` and `privateKey` can be configured.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Password pulumi.StringPtrInput `pulumi:"password"`
	// Port for the SSH tunnel, default value is 22.
	Port pulumi.IntInput `pulumi:"port"`
	// Input only. SSH private key. Only one of `password` and `privateKey` can be configured.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"`
	// Required. Username for the SSH tunnel.
	Username pulumi.StringInput `pulumi:"username"`
}

func (ConnectionProfileOracleForwardSshConnectivityArgs) ElementType added in v7.1.0

func (ConnectionProfileOracleForwardSshConnectivityArgs) ToConnectionProfileOracleForwardSshConnectivityOutput added in v7.1.0

func (i ConnectionProfileOracleForwardSshConnectivityArgs) ToConnectionProfileOracleForwardSshConnectivityOutput() ConnectionProfileOracleForwardSshConnectivityOutput

func (ConnectionProfileOracleForwardSshConnectivityArgs) ToConnectionProfileOracleForwardSshConnectivityOutputWithContext added in v7.1.0

func (i ConnectionProfileOracleForwardSshConnectivityArgs) ToConnectionProfileOracleForwardSshConnectivityOutputWithContext(ctx context.Context) ConnectionProfileOracleForwardSshConnectivityOutput

func (ConnectionProfileOracleForwardSshConnectivityArgs) ToConnectionProfileOracleForwardSshConnectivityPtrOutput added in v7.1.0

func (i ConnectionProfileOracleForwardSshConnectivityArgs) ToConnectionProfileOracleForwardSshConnectivityPtrOutput() ConnectionProfileOracleForwardSshConnectivityPtrOutput

func (ConnectionProfileOracleForwardSshConnectivityArgs) ToConnectionProfileOracleForwardSshConnectivityPtrOutputWithContext added in v7.1.0

func (i ConnectionProfileOracleForwardSshConnectivityArgs) ToConnectionProfileOracleForwardSshConnectivityPtrOutputWithContext(ctx context.Context) ConnectionProfileOracleForwardSshConnectivityPtrOutput

type ConnectionProfileOracleForwardSshConnectivityInput added in v7.1.0

type ConnectionProfileOracleForwardSshConnectivityInput interface {
	pulumi.Input

	ToConnectionProfileOracleForwardSshConnectivityOutput() ConnectionProfileOracleForwardSshConnectivityOutput
	ToConnectionProfileOracleForwardSshConnectivityOutputWithContext(context.Context) ConnectionProfileOracleForwardSshConnectivityOutput
}

ConnectionProfileOracleForwardSshConnectivityInput is an input type that accepts ConnectionProfileOracleForwardSshConnectivityArgs and ConnectionProfileOracleForwardSshConnectivityOutput values. You can construct a concrete instance of `ConnectionProfileOracleForwardSshConnectivityInput` via:

ConnectionProfileOracleForwardSshConnectivityArgs{...}

type ConnectionProfileOracleForwardSshConnectivityOutput added in v7.1.0

type ConnectionProfileOracleForwardSshConnectivityOutput struct{ *pulumi.OutputState }

func (ConnectionProfileOracleForwardSshConnectivityOutput) ElementType added in v7.1.0

func (ConnectionProfileOracleForwardSshConnectivityOutput) Hostname added in v7.1.0

Required. Hostname for the SSH tunnel.

func (ConnectionProfileOracleForwardSshConnectivityOutput) Password added in v7.1.0

Input only. SSH password. Only one of `password` and `privateKey` can be configured. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileOracleForwardSshConnectivityOutput) Port added in v7.1.0

Port for the SSH tunnel, default value is 22.

func (ConnectionProfileOracleForwardSshConnectivityOutput) PrivateKey added in v7.1.0

Input only. SSH private key. Only one of `password` and `privateKey` can be configured. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileOracleForwardSshConnectivityOutput) ToConnectionProfileOracleForwardSshConnectivityOutput added in v7.1.0

func (o ConnectionProfileOracleForwardSshConnectivityOutput) ToConnectionProfileOracleForwardSshConnectivityOutput() ConnectionProfileOracleForwardSshConnectivityOutput

func (ConnectionProfileOracleForwardSshConnectivityOutput) ToConnectionProfileOracleForwardSshConnectivityOutputWithContext added in v7.1.0

func (o ConnectionProfileOracleForwardSshConnectivityOutput) ToConnectionProfileOracleForwardSshConnectivityOutputWithContext(ctx context.Context) ConnectionProfileOracleForwardSshConnectivityOutput

func (ConnectionProfileOracleForwardSshConnectivityOutput) ToConnectionProfileOracleForwardSshConnectivityPtrOutput added in v7.1.0

func (o ConnectionProfileOracleForwardSshConnectivityOutput) ToConnectionProfileOracleForwardSshConnectivityPtrOutput() ConnectionProfileOracleForwardSshConnectivityPtrOutput

func (ConnectionProfileOracleForwardSshConnectivityOutput) ToConnectionProfileOracleForwardSshConnectivityPtrOutputWithContext added in v7.1.0

func (o ConnectionProfileOracleForwardSshConnectivityOutput) ToConnectionProfileOracleForwardSshConnectivityPtrOutputWithContext(ctx context.Context) ConnectionProfileOracleForwardSshConnectivityPtrOutput

func (ConnectionProfileOracleForwardSshConnectivityOutput) Username added in v7.1.0

Required. Username for the SSH tunnel.

type ConnectionProfileOracleForwardSshConnectivityPtrInput added in v7.1.0

type ConnectionProfileOracleForwardSshConnectivityPtrInput interface {
	pulumi.Input

	ToConnectionProfileOracleForwardSshConnectivityPtrOutput() ConnectionProfileOracleForwardSshConnectivityPtrOutput
	ToConnectionProfileOracleForwardSshConnectivityPtrOutputWithContext(context.Context) ConnectionProfileOracleForwardSshConnectivityPtrOutput
}

ConnectionProfileOracleForwardSshConnectivityPtrInput is an input type that accepts ConnectionProfileOracleForwardSshConnectivityArgs, ConnectionProfileOracleForwardSshConnectivityPtr and ConnectionProfileOracleForwardSshConnectivityPtrOutput values. You can construct a concrete instance of `ConnectionProfileOracleForwardSshConnectivityPtrInput` via:

        ConnectionProfileOracleForwardSshConnectivityArgs{...}

or:

        nil

type ConnectionProfileOracleForwardSshConnectivityPtrOutput added in v7.1.0

type ConnectionProfileOracleForwardSshConnectivityPtrOutput struct{ *pulumi.OutputState }

func (ConnectionProfileOracleForwardSshConnectivityPtrOutput) Elem added in v7.1.0

func (ConnectionProfileOracleForwardSshConnectivityPtrOutput) ElementType added in v7.1.0

func (ConnectionProfileOracleForwardSshConnectivityPtrOutput) Hostname added in v7.1.0

Required. Hostname for the SSH tunnel.

func (ConnectionProfileOracleForwardSshConnectivityPtrOutput) Password added in v7.1.0

Input only. SSH password. Only one of `password` and `privateKey` can be configured. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileOracleForwardSshConnectivityPtrOutput) Port added in v7.1.0

Port for the SSH tunnel, default value is 22.

func (ConnectionProfileOracleForwardSshConnectivityPtrOutput) PrivateKey added in v7.1.0

Input only. SSH private key. Only one of `password` and `privateKey` can be configured. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileOracleForwardSshConnectivityPtrOutput) ToConnectionProfileOracleForwardSshConnectivityPtrOutput added in v7.1.0

func (ConnectionProfileOracleForwardSshConnectivityPtrOutput) ToConnectionProfileOracleForwardSshConnectivityPtrOutputWithContext added in v7.1.0

func (o ConnectionProfileOracleForwardSshConnectivityPtrOutput) ToConnectionProfileOracleForwardSshConnectivityPtrOutputWithContext(ctx context.Context) ConnectionProfileOracleForwardSshConnectivityPtrOutput

func (ConnectionProfileOracleForwardSshConnectivityPtrOutput) Username added in v7.1.0

Required. Username for the SSH tunnel.

type ConnectionProfileOracleInput added in v7.1.0

type ConnectionProfileOracleInput interface {
	pulumi.Input

	ToConnectionProfileOracleOutput() ConnectionProfileOracleOutput
	ToConnectionProfileOracleOutputWithContext(context.Context) ConnectionProfileOracleOutput
}

ConnectionProfileOracleInput is an input type that accepts ConnectionProfileOracleArgs and ConnectionProfileOracleOutput values. You can construct a concrete instance of `ConnectionProfileOracleInput` via:

ConnectionProfileOracleArgs{...}

type ConnectionProfileOracleOutput added in v7.1.0

type ConnectionProfileOracleOutput struct{ *pulumi.OutputState }

func (ConnectionProfileOracleOutput) DatabaseService added in v7.1.0

Required. Database service for the Oracle connection.

func (ConnectionProfileOracleOutput) ElementType added in v7.1.0

func (ConnectionProfileOracleOutput) ForwardSshConnectivity added in v7.1.0

SSL configuration for the destination to connect to the source database. Structure is documented below.

func (ConnectionProfileOracleOutput) Host added in v7.1.0

Required. The IP or hostname of the source Oracle database.

func (ConnectionProfileOracleOutput) Password added in v7.1.0

Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileOracleOutput) PasswordSet added in v7.1.0

(Output) Output only. Indicates If this connection profile password is stored.

func (ConnectionProfileOracleOutput) Port added in v7.1.0

Required. The network port of the source Oracle database.

func (ConnectionProfileOracleOutput) PrivateConnectivity added in v7.1.0

Configuration for using a private network to communicate with the source database Structure is documented below.

func (ConnectionProfileOracleOutput) Ssl added in v7.1.0

SSL configuration for the destination to connect to the source database. Structure is documented below.

func (ConnectionProfileOracleOutput) StaticServiceIpConnectivity added in v7.1.0

This object has no nested fields. Static IP address connectivity configured on service project.

func (ConnectionProfileOracleOutput) ToConnectionProfileOracleOutput added in v7.1.0

func (o ConnectionProfileOracleOutput) ToConnectionProfileOracleOutput() ConnectionProfileOracleOutput

func (ConnectionProfileOracleOutput) ToConnectionProfileOracleOutputWithContext added in v7.1.0

func (o ConnectionProfileOracleOutput) ToConnectionProfileOracleOutputWithContext(ctx context.Context) ConnectionProfileOracleOutput

func (ConnectionProfileOracleOutput) ToConnectionProfileOraclePtrOutput added in v7.1.0

func (o ConnectionProfileOracleOutput) ToConnectionProfileOraclePtrOutput() ConnectionProfileOraclePtrOutput

func (ConnectionProfileOracleOutput) ToConnectionProfileOraclePtrOutputWithContext added in v7.1.0

func (o ConnectionProfileOracleOutput) ToConnectionProfileOraclePtrOutputWithContext(ctx context.Context) ConnectionProfileOraclePtrOutput

func (ConnectionProfileOracleOutput) Username added in v7.1.0

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

type ConnectionProfileOraclePrivateConnectivity added in v7.1.0

type ConnectionProfileOraclePrivateConnectivity struct {
	// Required. The resource name (URI) of the private connection.
	PrivateConnection string `pulumi:"privateConnection"`
}

type ConnectionProfileOraclePrivateConnectivityArgs added in v7.1.0

type ConnectionProfileOraclePrivateConnectivityArgs struct {
	// Required. The resource name (URI) of the private connection.
	PrivateConnection pulumi.StringInput `pulumi:"privateConnection"`
}

func (ConnectionProfileOraclePrivateConnectivityArgs) ElementType added in v7.1.0

func (ConnectionProfileOraclePrivateConnectivityArgs) ToConnectionProfileOraclePrivateConnectivityOutput added in v7.1.0

func (i ConnectionProfileOraclePrivateConnectivityArgs) ToConnectionProfileOraclePrivateConnectivityOutput() ConnectionProfileOraclePrivateConnectivityOutput

func (ConnectionProfileOraclePrivateConnectivityArgs) ToConnectionProfileOraclePrivateConnectivityOutputWithContext added in v7.1.0

func (i ConnectionProfileOraclePrivateConnectivityArgs) ToConnectionProfileOraclePrivateConnectivityOutputWithContext(ctx context.Context) ConnectionProfileOraclePrivateConnectivityOutput

func (ConnectionProfileOraclePrivateConnectivityArgs) ToConnectionProfileOraclePrivateConnectivityPtrOutput added in v7.1.0

func (i ConnectionProfileOraclePrivateConnectivityArgs) ToConnectionProfileOraclePrivateConnectivityPtrOutput() ConnectionProfileOraclePrivateConnectivityPtrOutput

func (ConnectionProfileOraclePrivateConnectivityArgs) ToConnectionProfileOraclePrivateConnectivityPtrOutputWithContext added in v7.1.0

func (i ConnectionProfileOraclePrivateConnectivityArgs) ToConnectionProfileOraclePrivateConnectivityPtrOutputWithContext(ctx context.Context) ConnectionProfileOraclePrivateConnectivityPtrOutput

type ConnectionProfileOraclePrivateConnectivityInput added in v7.1.0

type ConnectionProfileOraclePrivateConnectivityInput interface {
	pulumi.Input

	ToConnectionProfileOraclePrivateConnectivityOutput() ConnectionProfileOraclePrivateConnectivityOutput
	ToConnectionProfileOraclePrivateConnectivityOutputWithContext(context.Context) ConnectionProfileOraclePrivateConnectivityOutput
}

ConnectionProfileOraclePrivateConnectivityInput is an input type that accepts ConnectionProfileOraclePrivateConnectivityArgs and ConnectionProfileOraclePrivateConnectivityOutput values. You can construct a concrete instance of `ConnectionProfileOraclePrivateConnectivityInput` via:

ConnectionProfileOraclePrivateConnectivityArgs{...}

type ConnectionProfileOraclePrivateConnectivityOutput added in v7.1.0

type ConnectionProfileOraclePrivateConnectivityOutput struct{ *pulumi.OutputState }

func (ConnectionProfileOraclePrivateConnectivityOutput) ElementType added in v7.1.0

func (ConnectionProfileOraclePrivateConnectivityOutput) PrivateConnection added in v7.1.0

Required. The resource name (URI) of the private connection.

func (ConnectionProfileOraclePrivateConnectivityOutput) ToConnectionProfileOraclePrivateConnectivityOutput added in v7.1.0

func (o ConnectionProfileOraclePrivateConnectivityOutput) ToConnectionProfileOraclePrivateConnectivityOutput() ConnectionProfileOraclePrivateConnectivityOutput

func (ConnectionProfileOraclePrivateConnectivityOutput) ToConnectionProfileOraclePrivateConnectivityOutputWithContext added in v7.1.0

func (o ConnectionProfileOraclePrivateConnectivityOutput) ToConnectionProfileOraclePrivateConnectivityOutputWithContext(ctx context.Context) ConnectionProfileOraclePrivateConnectivityOutput

func (ConnectionProfileOraclePrivateConnectivityOutput) ToConnectionProfileOraclePrivateConnectivityPtrOutput added in v7.1.0

func (o ConnectionProfileOraclePrivateConnectivityOutput) ToConnectionProfileOraclePrivateConnectivityPtrOutput() ConnectionProfileOraclePrivateConnectivityPtrOutput

func (ConnectionProfileOraclePrivateConnectivityOutput) ToConnectionProfileOraclePrivateConnectivityPtrOutputWithContext added in v7.1.0

func (o ConnectionProfileOraclePrivateConnectivityOutput) ToConnectionProfileOraclePrivateConnectivityPtrOutputWithContext(ctx context.Context) ConnectionProfileOraclePrivateConnectivityPtrOutput

type ConnectionProfileOraclePrivateConnectivityPtrInput added in v7.1.0

type ConnectionProfileOraclePrivateConnectivityPtrInput interface {
	pulumi.Input

	ToConnectionProfileOraclePrivateConnectivityPtrOutput() ConnectionProfileOraclePrivateConnectivityPtrOutput
	ToConnectionProfileOraclePrivateConnectivityPtrOutputWithContext(context.Context) ConnectionProfileOraclePrivateConnectivityPtrOutput
}

ConnectionProfileOraclePrivateConnectivityPtrInput is an input type that accepts ConnectionProfileOraclePrivateConnectivityArgs, ConnectionProfileOraclePrivateConnectivityPtr and ConnectionProfileOraclePrivateConnectivityPtrOutput values. You can construct a concrete instance of `ConnectionProfileOraclePrivateConnectivityPtrInput` via:

        ConnectionProfileOraclePrivateConnectivityArgs{...}

or:

        nil

type ConnectionProfileOraclePrivateConnectivityPtrOutput added in v7.1.0

type ConnectionProfileOraclePrivateConnectivityPtrOutput struct{ *pulumi.OutputState }

func (ConnectionProfileOraclePrivateConnectivityPtrOutput) Elem added in v7.1.0

func (ConnectionProfileOraclePrivateConnectivityPtrOutput) ElementType added in v7.1.0

func (ConnectionProfileOraclePrivateConnectivityPtrOutput) PrivateConnection added in v7.1.0

Required. The resource name (URI) of the private connection.

func (ConnectionProfileOraclePrivateConnectivityPtrOutput) ToConnectionProfileOraclePrivateConnectivityPtrOutput added in v7.1.0

func (o ConnectionProfileOraclePrivateConnectivityPtrOutput) ToConnectionProfileOraclePrivateConnectivityPtrOutput() ConnectionProfileOraclePrivateConnectivityPtrOutput

func (ConnectionProfileOraclePrivateConnectivityPtrOutput) ToConnectionProfileOraclePrivateConnectivityPtrOutputWithContext added in v7.1.0

func (o ConnectionProfileOraclePrivateConnectivityPtrOutput) ToConnectionProfileOraclePrivateConnectivityPtrOutputWithContext(ctx context.Context) ConnectionProfileOraclePrivateConnectivityPtrOutput

type ConnectionProfileOraclePtrInput added in v7.1.0

type ConnectionProfileOraclePtrInput interface {
	pulumi.Input

	ToConnectionProfileOraclePtrOutput() ConnectionProfileOraclePtrOutput
	ToConnectionProfileOraclePtrOutputWithContext(context.Context) ConnectionProfileOraclePtrOutput
}

ConnectionProfileOraclePtrInput is an input type that accepts ConnectionProfileOracleArgs, ConnectionProfileOraclePtr and ConnectionProfileOraclePtrOutput values. You can construct a concrete instance of `ConnectionProfileOraclePtrInput` via:

        ConnectionProfileOracleArgs{...}

or:

        nil

func ConnectionProfileOraclePtr added in v7.1.0

func ConnectionProfileOraclePtr(v *ConnectionProfileOracleArgs) ConnectionProfileOraclePtrInput

type ConnectionProfileOraclePtrOutput added in v7.1.0

type ConnectionProfileOraclePtrOutput struct{ *pulumi.OutputState }

func (ConnectionProfileOraclePtrOutput) DatabaseService added in v7.1.0

Required. Database service for the Oracle connection.

func (ConnectionProfileOraclePtrOutput) Elem added in v7.1.0

func (ConnectionProfileOraclePtrOutput) ElementType added in v7.1.0

func (ConnectionProfileOraclePtrOutput) ForwardSshConnectivity added in v7.1.0

SSL configuration for the destination to connect to the source database. Structure is documented below.

func (ConnectionProfileOraclePtrOutput) Host added in v7.1.0

Required. The IP or hostname of the source Oracle database.

func (ConnectionProfileOraclePtrOutput) Password added in v7.1.0

Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileOraclePtrOutput) PasswordSet added in v7.1.0

(Output) Output only. Indicates If this connection profile password is stored.

func (ConnectionProfileOraclePtrOutput) Port added in v7.1.0

Required. The network port of the source Oracle database.

func (ConnectionProfileOraclePtrOutput) PrivateConnectivity added in v7.1.0

Configuration for using a private network to communicate with the source database Structure is documented below.

func (ConnectionProfileOraclePtrOutput) Ssl added in v7.1.0

SSL configuration for the destination to connect to the source database. Structure is documented below.

func (ConnectionProfileOraclePtrOutput) StaticServiceIpConnectivity added in v7.1.0

This object has no nested fields. Static IP address connectivity configured on service project.

func (ConnectionProfileOraclePtrOutput) ToConnectionProfileOraclePtrOutput added in v7.1.0

func (o ConnectionProfileOraclePtrOutput) ToConnectionProfileOraclePtrOutput() ConnectionProfileOraclePtrOutput

func (ConnectionProfileOraclePtrOutput) ToConnectionProfileOraclePtrOutputWithContext added in v7.1.0

func (o ConnectionProfileOraclePtrOutput) ToConnectionProfileOraclePtrOutputWithContext(ctx context.Context) ConnectionProfileOraclePtrOutput

func (ConnectionProfileOraclePtrOutput) Username added in v7.1.0

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

type ConnectionProfileOracleSsl added in v7.1.0

type ConnectionProfileOracleSsl struct {
	// Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate.
	// The replica will use this certificate to verify it's connecting to the right host.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	CaCertificate string `pulumi:"caCertificate"`
	// Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.
	// If this field is used then the 'clientKey' field is mandatory
	// **Note**: This property is sensitive and will not be displayed in the plan.
	ClientCertificate *string `pulumi:"clientCertificate"`
	// Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate.
	// If this field is used then the 'clientCertificate' field is mandatory.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	ClientKey *string `pulumi:"clientKey"`
	// (Output)
	// The current connection profile state.
	Type *string `pulumi:"type"`
}

type ConnectionProfileOracleSslArgs added in v7.1.0

type ConnectionProfileOracleSslArgs struct {
	// Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate.
	// The replica will use this certificate to verify it's connecting to the right host.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	CaCertificate pulumi.StringInput `pulumi:"caCertificate"`
	// Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.
	// If this field is used then the 'clientKey' field is mandatory
	// **Note**: This property is sensitive and will not be displayed in the plan.
	ClientCertificate pulumi.StringPtrInput `pulumi:"clientCertificate"`
	// Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate.
	// If this field is used then the 'clientCertificate' field is mandatory.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	ClientKey pulumi.StringPtrInput `pulumi:"clientKey"`
	// (Output)
	// The current connection profile state.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ConnectionProfileOracleSslArgs) ElementType added in v7.1.0

func (ConnectionProfileOracleSslArgs) ToConnectionProfileOracleSslOutput added in v7.1.0

func (i ConnectionProfileOracleSslArgs) ToConnectionProfileOracleSslOutput() ConnectionProfileOracleSslOutput

func (ConnectionProfileOracleSslArgs) ToConnectionProfileOracleSslOutputWithContext added in v7.1.0

func (i ConnectionProfileOracleSslArgs) ToConnectionProfileOracleSslOutputWithContext(ctx context.Context) ConnectionProfileOracleSslOutput

func (ConnectionProfileOracleSslArgs) ToConnectionProfileOracleSslPtrOutput added in v7.1.0

func (i ConnectionProfileOracleSslArgs) ToConnectionProfileOracleSslPtrOutput() ConnectionProfileOracleSslPtrOutput

func (ConnectionProfileOracleSslArgs) ToConnectionProfileOracleSslPtrOutputWithContext added in v7.1.0

func (i ConnectionProfileOracleSslArgs) ToConnectionProfileOracleSslPtrOutputWithContext(ctx context.Context) ConnectionProfileOracleSslPtrOutput

type ConnectionProfileOracleSslInput added in v7.1.0

type ConnectionProfileOracleSslInput interface {
	pulumi.Input

	ToConnectionProfileOracleSslOutput() ConnectionProfileOracleSslOutput
	ToConnectionProfileOracleSslOutputWithContext(context.Context) ConnectionProfileOracleSslOutput
}

ConnectionProfileOracleSslInput is an input type that accepts ConnectionProfileOracleSslArgs and ConnectionProfileOracleSslOutput values. You can construct a concrete instance of `ConnectionProfileOracleSslInput` via:

ConnectionProfileOracleSslArgs{...}

type ConnectionProfileOracleSslOutput added in v7.1.0

type ConnectionProfileOracleSslOutput struct{ *pulumi.OutputState }

func (ConnectionProfileOracleSslOutput) CaCertificate added in v7.1.0

Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileOracleSslOutput) ClientCertificate added in v7.1.0

Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'clientKey' field is mandatory **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileOracleSslOutput) ClientKey added in v7.1.0

Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'clientCertificate' field is mandatory. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileOracleSslOutput) ElementType added in v7.1.0

func (ConnectionProfileOracleSslOutput) ToConnectionProfileOracleSslOutput added in v7.1.0

func (o ConnectionProfileOracleSslOutput) ToConnectionProfileOracleSslOutput() ConnectionProfileOracleSslOutput

func (ConnectionProfileOracleSslOutput) ToConnectionProfileOracleSslOutputWithContext added in v7.1.0

func (o ConnectionProfileOracleSslOutput) ToConnectionProfileOracleSslOutputWithContext(ctx context.Context) ConnectionProfileOracleSslOutput

func (ConnectionProfileOracleSslOutput) ToConnectionProfileOracleSslPtrOutput added in v7.1.0

func (o ConnectionProfileOracleSslOutput) ToConnectionProfileOracleSslPtrOutput() ConnectionProfileOracleSslPtrOutput

func (ConnectionProfileOracleSslOutput) ToConnectionProfileOracleSslPtrOutputWithContext added in v7.1.0

func (o ConnectionProfileOracleSslOutput) ToConnectionProfileOracleSslPtrOutputWithContext(ctx context.Context) ConnectionProfileOracleSslPtrOutput

func (ConnectionProfileOracleSslOutput) Type added in v7.1.0

(Output) The current connection profile state.

type ConnectionProfileOracleSslPtrInput added in v7.1.0

type ConnectionProfileOracleSslPtrInput interface {
	pulumi.Input

	ToConnectionProfileOracleSslPtrOutput() ConnectionProfileOracleSslPtrOutput
	ToConnectionProfileOracleSslPtrOutputWithContext(context.Context) ConnectionProfileOracleSslPtrOutput
}

ConnectionProfileOracleSslPtrInput is an input type that accepts ConnectionProfileOracleSslArgs, ConnectionProfileOracleSslPtr and ConnectionProfileOracleSslPtrOutput values. You can construct a concrete instance of `ConnectionProfileOracleSslPtrInput` via:

        ConnectionProfileOracleSslArgs{...}

or:

        nil

func ConnectionProfileOracleSslPtr added in v7.1.0

type ConnectionProfileOracleSslPtrOutput added in v7.1.0

type ConnectionProfileOracleSslPtrOutput struct{ *pulumi.OutputState }

func (ConnectionProfileOracleSslPtrOutput) CaCertificate added in v7.1.0

Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileOracleSslPtrOutput) ClientCertificate added in v7.1.0

Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'clientKey' field is mandatory **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileOracleSslPtrOutput) ClientKey added in v7.1.0

Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'clientCertificate' field is mandatory. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfileOracleSslPtrOutput) Elem added in v7.1.0

func (ConnectionProfileOracleSslPtrOutput) ElementType added in v7.1.0

func (ConnectionProfileOracleSslPtrOutput) ToConnectionProfileOracleSslPtrOutput added in v7.1.0

func (o ConnectionProfileOracleSslPtrOutput) ToConnectionProfileOracleSslPtrOutput() ConnectionProfileOracleSslPtrOutput

func (ConnectionProfileOracleSslPtrOutput) ToConnectionProfileOracleSslPtrOutputWithContext added in v7.1.0

func (o ConnectionProfileOracleSslPtrOutput) ToConnectionProfileOracleSslPtrOutputWithContext(ctx context.Context) ConnectionProfileOracleSslPtrOutput

func (ConnectionProfileOracleSslPtrOutput) Type added in v7.1.0

(Output) The current connection profile state.

type ConnectionProfileOracleStaticServiceIpConnectivity added in v7.1.0

type ConnectionProfileOracleStaticServiceIpConnectivity struct {
}

type ConnectionProfileOracleStaticServiceIpConnectivityArgs added in v7.1.0

type ConnectionProfileOracleStaticServiceIpConnectivityArgs struct {
}

func (ConnectionProfileOracleStaticServiceIpConnectivityArgs) ElementType added in v7.1.0

func (ConnectionProfileOracleStaticServiceIpConnectivityArgs) ToConnectionProfileOracleStaticServiceIpConnectivityOutput added in v7.1.0

func (ConnectionProfileOracleStaticServiceIpConnectivityArgs) ToConnectionProfileOracleStaticServiceIpConnectivityOutputWithContext added in v7.1.0

func (i ConnectionProfileOracleStaticServiceIpConnectivityArgs) ToConnectionProfileOracleStaticServiceIpConnectivityOutputWithContext(ctx context.Context) ConnectionProfileOracleStaticServiceIpConnectivityOutput

func (ConnectionProfileOracleStaticServiceIpConnectivityArgs) ToConnectionProfileOracleStaticServiceIpConnectivityPtrOutput added in v7.1.0

func (i ConnectionProfileOracleStaticServiceIpConnectivityArgs) ToConnectionProfileOracleStaticServiceIpConnectivityPtrOutput() ConnectionProfileOracleStaticServiceIpConnectivityPtrOutput

func (ConnectionProfileOracleStaticServiceIpConnectivityArgs) ToConnectionProfileOracleStaticServiceIpConnectivityPtrOutputWithContext added in v7.1.0

func (i ConnectionProfileOracleStaticServiceIpConnectivityArgs) ToConnectionProfileOracleStaticServiceIpConnectivityPtrOutputWithContext(ctx context.Context) ConnectionProfileOracleStaticServiceIpConnectivityPtrOutput

type ConnectionProfileOracleStaticServiceIpConnectivityInput added in v7.1.0

type ConnectionProfileOracleStaticServiceIpConnectivityInput interface {
	pulumi.Input

	ToConnectionProfileOracleStaticServiceIpConnectivityOutput() ConnectionProfileOracleStaticServiceIpConnectivityOutput
	ToConnectionProfileOracleStaticServiceIpConnectivityOutputWithContext(context.Context) ConnectionProfileOracleStaticServiceIpConnectivityOutput
}

ConnectionProfileOracleStaticServiceIpConnectivityInput is an input type that accepts ConnectionProfileOracleStaticServiceIpConnectivityArgs and ConnectionProfileOracleStaticServiceIpConnectivityOutput values. You can construct a concrete instance of `ConnectionProfileOracleStaticServiceIpConnectivityInput` via:

ConnectionProfileOracleStaticServiceIpConnectivityArgs{...}

type ConnectionProfileOracleStaticServiceIpConnectivityOutput added in v7.1.0

type ConnectionProfileOracleStaticServiceIpConnectivityOutput struct{ *pulumi.OutputState }

func (ConnectionProfileOracleStaticServiceIpConnectivityOutput) ElementType added in v7.1.0

func (ConnectionProfileOracleStaticServiceIpConnectivityOutput) ToConnectionProfileOracleStaticServiceIpConnectivityOutput added in v7.1.0

func (ConnectionProfileOracleStaticServiceIpConnectivityOutput) ToConnectionProfileOracleStaticServiceIpConnectivityOutputWithContext added in v7.1.0

func (o ConnectionProfileOracleStaticServiceIpConnectivityOutput) ToConnectionProfileOracleStaticServiceIpConnectivityOutputWithContext(ctx context.Context) ConnectionProfileOracleStaticServiceIpConnectivityOutput

func (ConnectionProfileOracleStaticServiceIpConnectivityOutput) ToConnectionProfileOracleStaticServiceIpConnectivityPtrOutput added in v7.1.0

func (ConnectionProfileOracleStaticServiceIpConnectivityOutput) ToConnectionProfileOracleStaticServiceIpConnectivityPtrOutputWithContext added in v7.1.0

func (o ConnectionProfileOracleStaticServiceIpConnectivityOutput) ToConnectionProfileOracleStaticServiceIpConnectivityPtrOutputWithContext(ctx context.Context) ConnectionProfileOracleStaticServiceIpConnectivityPtrOutput

type ConnectionProfileOracleStaticServiceIpConnectivityPtrInput added in v7.1.0

type ConnectionProfileOracleStaticServiceIpConnectivityPtrInput interface {
	pulumi.Input

	ToConnectionProfileOracleStaticServiceIpConnectivityPtrOutput() ConnectionProfileOracleStaticServiceIpConnectivityPtrOutput
	ToConnectionProfileOracleStaticServiceIpConnectivityPtrOutputWithContext(context.Context) ConnectionProfileOracleStaticServiceIpConnectivityPtrOutput
}

ConnectionProfileOracleStaticServiceIpConnectivityPtrInput is an input type that accepts ConnectionProfileOracleStaticServiceIpConnectivityArgs, ConnectionProfileOracleStaticServiceIpConnectivityPtr and ConnectionProfileOracleStaticServiceIpConnectivityPtrOutput values. You can construct a concrete instance of `ConnectionProfileOracleStaticServiceIpConnectivityPtrInput` via:

        ConnectionProfileOracleStaticServiceIpConnectivityArgs{...}

or:

        nil

type ConnectionProfileOracleStaticServiceIpConnectivityPtrOutput added in v7.1.0

type ConnectionProfileOracleStaticServiceIpConnectivityPtrOutput struct{ *pulumi.OutputState }

func (ConnectionProfileOracleStaticServiceIpConnectivityPtrOutput) Elem added in v7.1.0

func (ConnectionProfileOracleStaticServiceIpConnectivityPtrOutput) ElementType added in v7.1.0

func (ConnectionProfileOracleStaticServiceIpConnectivityPtrOutput) ToConnectionProfileOracleStaticServiceIpConnectivityPtrOutput added in v7.1.0

func (ConnectionProfileOracleStaticServiceIpConnectivityPtrOutput) ToConnectionProfileOracleStaticServiceIpConnectivityPtrOutputWithContext added in v7.1.0

func (o ConnectionProfileOracleStaticServiceIpConnectivityPtrOutput) ToConnectionProfileOracleStaticServiceIpConnectivityPtrOutputWithContext(ctx context.Context) ConnectionProfileOracleStaticServiceIpConnectivityPtrOutput

type ConnectionProfileOutput

type ConnectionProfileOutput struct{ *pulumi.OutputState }

func (ConnectionProfileOutput) Alloydb

Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster. Structure is documented below.

func (ConnectionProfileOutput) Cloudsql

Specifies required connection parameters, and, optionally, the parameters required to create a Cloud SQL destination database instance. Structure is documented below.

func (ConnectionProfileOutput) ConnectionProfileId

func (o ConnectionProfileOutput) ConnectionProfileId() pulumi.StringOutput

The ID of the connection profile.

***

func (ConnectionProfileOutput) CreateTime

Output only. The timestamp when the resource was created. A timestamp in RFC3339 UTC 'Zulu' format, accurate to nanoseconds. Example: '2014-10-02T15:01:23.045123456Z'.

func (ConnectionProfileOutput) Dbprovider

The database provider.

func (ConnectionProfileOutput) DisplayName

The connection profile display name.

func (ConnectionProfileOutput) EffectiveLabels

func (o ConnectionProfileOutput) EffectiveLabels() pulumi.StringMapOutput

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (ConnectionProfileOutput) ElementType

func (ConnectionProfileOutput) ElementType() reflect.Type

func (ConnectionProfileOutput) Errors

Output only. The error details in case of state FAILED. Structure is documented below.

func (ConnectionProfileOutput) Labels

The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.

**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.

func (ConnectionProfileOutput) Location

The location where the connection profile should reside.

func (ConnectionProfileOutput) Mysql

Specifies connection parameters required specifically for MySQL databases. Structure is documented below.

func (ConnectionProfileOutput) Name

The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.

func (ConnectionProfileOutput) Oracle added in v7.1.0

Specifies connection parameters required specifically for Oracle databases. Structure is documented below.

func (ConnectionProfileOutput) Postgresql

Specifies connection parameters required specifically for PostgreSQL databases. Structure is documented below.

func (ConnectionProfileOutput) Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (ConnectionProfileOutput) PulumiLabels

The combination of labels configured directly on the resource and default labels configured on the provider.

func (ConnectionProfileOutput) State

The current connection profile state.

func (ConnectionProfileOutput) ToConnectionProfileOutput

func (o ConnectionProfileOutput) ToConnectionProfileOutput() ConnectionProfileOutput

func (ConnectionProfileOutput) ToConnectionProfileOutputWithContext

func (o ConnectionProfileOutput) ToConnectionProfileOutputWithContext(ctx context.Context) ConnectionProfileOutput

type ConnectionProfilePostgresql

type ConnectionProfilePostgresql struct {
	// If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
	CloudSqlId *string `pulumi:"cloudSqlId"`
	// Required. The IP or hostname of the source MySQL database.
	Host string `pulumi:"host"`
	// (Output)
	// Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.
	NetworkArchitecture *string `pulumi:"networkArchitecture"`
	// Required. Input only. The password for the user that Database Migration Service will be using to connect to the database.
	// This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Password string `pulumi:"password"`
	// (Output)
	// Output only. Indicates If this connection profile password is stored.
	PasswordSet *bool `pulumi:"passwordSet"`
	// Required. The network port of the source MySQL database.
	Port int `pulumi:"port"`
	// SSL configuration for the destination to connect to the source database.
	// Structure is documented below.
	Ssl *ConnectionProfilePostgresqlSsl `pulumi:"ssl"`
	// Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
	Username string `pulumi:"username"`
}

type ConnectionProfilePostgresqlArgs

type ConnectionProfilePostgresqlArgs struct {
	// If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.
	CloudSqlId pulumi.StringPtrInput `pulumi:"cloudSqlId"`
	// Required. The IP or hostname of the source MySQL database.
	Host pulumi.StringInput `pulumi:"host"`
	// (Output)
	// Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.
	NetworkArchitecture pulumi.StringPtrInput `pulumi:"networkArchitecture"`
	// Required. Input only. The password for the user that Database Migration Service will be using to connect to the database.
	// This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Password pulumi.StringInput `pulumi:"password"`
	// (Output)
	// Output only. Indicates If this connection profile password is stored.
	PasswordSet pulumi.BoolPtrInput `pulumi:"passwordSet"`
	// Required. The network port of the source MySQL database.
	Port pulumi.IntInput `pulumi:"port"`
	// SSL configuration for the destination to connect to the source database.
	// Structure is documented below.
	Ssl ConnectionProfilePostgresqlSslPtrInput `pulumi:"ssl"`
	// Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
	Username pulumi.StringInput `pulumi:"username"`
}

func (ConnectionProfilePostgresqlArgs) ElementType

func (ConnectionProfilePostgresqlArgs) ToConnectionProfilePostgresqlOutput

func (i ConnectionProfilePostgresqlArgs) ToConnectionProfilePostgresqlOutput() ConnectionProfilePostgresqlOutput

func (ConnectionProfilePostgresqlArgs) ToConnectionProfilePostgresqlOutputWithContext

func (i ConnectionProfilePostgresqlArgs) ToConnectionProfilePostgresqlOutputWithContext(ctx context.Context) ConnectionProfilePostgresqlOutput

func (ConnectionProfilePostgresqlArgs) ToConnectionProfilePostgresqlPtrOutput

func (i ConnectionProfilePostgresqlArgs) ToConnectionProfilePostgresqlPtrOutput() ConnectionProfilePostgresqlPtrOutput

func (ConnectionProfilePostgresqlArgs) ToConnectionProfilePostgresqlPtrOutputWithContext

func (i ConnectionProfilePostgresqlArgs) ToConnectionProfilePostgresqlPtrOutputWithContext(ctx context.Context) ConnectionProfilePostgresqlPtrOutput

type ConnectionProfilePostgresqlInput

type ConnectionProfilePostgresqlInput interface {
	pulumi.Input

	ToConnectionProfilePostgresqlOutput() ConnectionProfilePostgresqlOutput
	ToConnectionProfilePostgresqlOutputWithContext(context.Context) ConnectionProfilePostgresqlOutput
}

ConnectionProfilePostgresqlInput is an input type that accepts ConnectionProfilePostgresqlArgs and ConnectionProfilePostgresqlOutput values. You can construct a concrete instance of `ConnectionProfilePostgresqlInput` via:

ConnectionProfilePostgresqlArgs{...}

type ConnectionProfilePostgresqlOutput

type ConnectionProfilePostgresqlOutput struct{ *pulumi.OutputState }

func (ConnectionProfilePostgresqlOutput) CloudSqlId

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

func (ConnectionProfilePostgresqlOutput) ElementType

func (ConnectionProfilePostgresqlOutput) Host

Required. The IP or hostname of the source MySQL database.

func (ConnectionProfilePostgresqlOutput) NetworkArchitecture

(Output) Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.

func (ConnectionProfilePostgresqlOutput) Password

Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfilePostgresqlOutput) PasswordSet

(Output) Output only. Indicates If this connection profile password is stored.

func (ConnectionProfilePostgresqlOutput) Port

Required. The network port of the source MySQL database.

func (ConnectionProfilePostgresqlOutput) Ssl

SSL configuration for the destination to connect to the source database. Structure is documented below.

func (ConnectionProfilePostgresqlOutput) ToConnectionProfilePostgresqlOutput

func (o ConnectionProfilePostgresqlOutput) ToConnectionProfilePostgresqlOutput() ConnectionProfilePostgresqlOutput

func (ConnectionProfilePostgresqlOutput) ToConnectionProfilePostgresqlOutputWithContext

func (o ConnectionProfilePostgresqlOutput) ToConnectionProfilePostgresqlOutputWithContext(ctx context.Context) ConnectionProfilePostgresqlOutput

func (ConnectionProfilePostgresqlOutput) ToConnectionProfilePostgresqlPtrOutput

func (o ConnectionProfilePostgresqlOutput) ToConnectionProfilePostgresqlPtrOutput() ConnectionProfilePostgresqlPtrOutput

func (ConnectionProfilePostgresqlOutput) ToConnectionProfilePostgresqlPtrOutputWithContext

func (o ConnectionProfilePostgresqlOutput) ToConnectionProfilePostgresqlPtrOutputWithContext(ctx context.Context) ConnectionProfilePostgresqlPtrOutput

func (ConnectionProfilePostgresqlOutput) Username

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

type ConnectionProfilePostgresqlPtrInput

type ConnectionProfilePostgresqlPtrInput interface {
	pulumi.Input

	ToConnectionProfilePostgresqlPtrOutput() ConnectionProfilePostgresqlPtrOutput
	ToConnectionProfilePostgresqlPtrOutputWithContext(context.Context) ConnectionProfilePostgresqlPtrOutput
}

ConnectionProfilePostgresqlPtrInput is an input type that accepts ConnectionProfilePostgresqlArgs, ConnectionProfilePostgresqlPtr and ConnectionProfilePostgresqlPtrOutput values. You can construct a concrete instance of `ConnectionProfilePostgresqlPtrInput` via:

        ConnectionProfilePostgresqlArgs{...}

or:

        nil

type ConnectionProfilePostgresqlPtrOutput

type ConnectionProfilePostgresqlPtrOutput struct{ *pulumi.OutputState }

func (ConnectionProfilePostgresqlPtrOutput) CloudSqlId

If the source is a Cloud SQL database, use this field to provide the Cloud SQL instance ID of the source.

func (ConnectionProfilePostgresqlPtrOutput) Elem

func (ConnectionProfilePostgresqlPtrOutput) ElementType

func (ConnectionProfilePostgresqlPtrOutput) Host

Required. The IP or hostname of the source MySQL database.

func (ConnectionProfilePostgresqlPtrOutput) NetworkArchitecture

(Output) Output only. If the source is a Cloud SQL database, this field indicates the network architecture it's associated with.

func (ConnectionProfilePostgresqlPtrOutput) Password

Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfilePostgresqlPtrOutput) PasswordSet

(Output) Output only. Indicates If this connection profile password is stored.

func (ConnectionProfilePostgresqlPtrOutput) Port

Required. The network port of the source MySQL database.

func (ConnectionProfilePostgresqlPtrOutput) Ssl

SSL configuration for the destination to connect to the source database. Structure is documented below.

func (ConnectionProfilePostgresqlPtrOutput) ToConnectionProfilePostgresqlPtrOutput

func (o ConnectionProfilePostgresqlPtrOutput) ToConnectionProfilePostgresqlPtrOutput() ConnectionProfilePostgresqlPtrOutput

func (ConnectionProfilePostgresqlPtrOutput) ToConnectionProfilePostgresqlPtrOutputWithContext

func (o ConnectionProfilePostgresqlPtrOutput) ToConnectionProfilePostgresqlPtrOutputWithContext(ctx context.Context) ConnectionProfilePostgresqlPtrOutput

func (ConnectionProfilePostgresqlPtrOutput) Username

Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.

type ConnectionProfilePostgresqlSsl

type ConnectionProfilePostgresqlSsl struct {
	// Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate.
	// The replica will use this certificate to verify it's connecting to the right host.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	CaCertificate string `pulumi:"caCertificate"`
	// Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.
	// If this field is used then the 'clientKey' field is mandatory
	// **Note**: This property is sensitive and will not be displayed in the plan.
	ClientCertificate *string `pulumi:"clientCertificate"`
	// Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate.
	// If this field is used then the 'clientCertificate' field is mandatory.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	ClientKey *string `pulumi:"clientKey"`
	// (Output)
	// The current connection profile state.
	Type *string `pulumi:"type"`
}

type ConnectionProfilePostgresqlSslArgs

type ConnectionProfilePostgresqlSslArgs struct {
	// Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate.
	// The replica will use this certificate to verify it's connecting to the right host.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	CaCertificate pulumi.StringInput `pulumi:"caCertificate"`
	// Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.
	// If this field is used then the 'clientKey' field is mandatory
	// **Note**: This property is sensitive and will not be displayed in the plan.
	ClientCertificate pulumi.StringPtrInput `pulumi:"clientCertificate"`
	// Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate.
	// If this field is used then the 'clientCertificate' field is mandatory.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	ClientKey pulumi.StringPtrInput `pulumi:"clientKey"`
	// (Output)
	// The current connection profile state.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ConnectionProfilePostgresqlSslArgs) ElementType

func (ConnectionProfilePostgresqlSslArgs) ToConnectionProfilePostgresqlSslOutput

func (i ConnectionProfilePostgresqlSslArgs) ToConnectionProfilePostgresqlSslOutput() ConnectionProfilePostgresqlSslOutput

func (ConnectionProfilePostgresqlSslArgs) ToConnectionProfilePostgresqlSslOutputWithContext

func (i ConnectionProfilePostgresqlSslArgs) ToConnectionProfilePostgresqlSslOutputWithContext(ctx context.Context) ConnectionProfilePostgresqlSslOutput

func (ConnectionProfilePostgresqlSslArgs) ToConnectionProfilePostgresqlSslPtrOutput

func (i ConnectionProfilePostgresqlSslArgs) ToConnectionProfilePostgresqlSslPtrOutput() ConnectionProfilePostgresqlSslPtrOutput

func (ConnectionProfilePostgresqlSslArgs) ToConnectionProfilePostgresqlSslPtrOutputWithContext

func (i ConnectionProfilePostgresqlSslArgs) ToConnectionProfilePostgresqlSslPtrOutputWithContext(ctx context.Context) ConnectionProfilePostgresqlSslPtrOutput

type ConnectionProfilePostgresqlSslInput

type ConnectionProfilePostgresqlSslInput interface {
	pulumi.Input

	ToConnectionProfilePostgresqlSslOutput() ConnectionProfilePostgresqlSslOutput
	ToConnectionProfilePostgresqlSslOutputWithContext(context.Context) ConnectionProfilePostgresqlSslOutput
}

ConnectionProfilePostgresqlSslInput is an input type that accepts ConnectionProfilePostgresqlSslArgs and ConnectionProfilePostgresqlSslOutput values. You can construct a concrete instance of `ConnectionProfilePostgresqlSslInput` via:

ConnectionProfilePostgresqlSslArgs{...}

type ConnectionProfilePostgresqlSslOutput

type ConnectionProfilePostgresqlSslOutput struct{ *pulumi.OutputState }

func (ConnectionProfilePostgresqlSslOutput) CaCertificate

Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfilePostgresqlSslOutput) ClientCertificate

Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'clientKey' field is mandatory **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfilePostgresqlSslOutput) ClientKey

Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'clientCertificate' field is mandatory. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfilePostgresqlSslOutput) ElementType

func (ConnectionProfilePostgresqlSslOutput) ToConnectionProfilePostgresqlSslOutput

func (o ConnectionProfilePostgresqlSslOutput) ToConnectionProfilePostgresqlSslOutput() ConnectionProfilePostgresqlSslOutput

func (ConnectionProfilePostgresqlSslOutput) ToConnectionProfilePostgresqlSslOutputWithContext

func (o ConnectionProfilePostgresqlSslOutput) ToConnectionProfilePostgresqlSslOutputWithContext(ctx context.Context) ConnectionProfilePostgresqlSslOutput

func (ConnectionProfilePostgresqlSslOutput) ToConnectionProfilePostgresqlSslPtrOutput

func (o ConnectionProfilePostgresqlSslOutput) ToConnectionProfilePostgresqlSslPtrOutput() ConnectionProfilePostgresqlSslPtrOutput

func (ConnectionProfilePostgresqlSslOutput) ToConnectionProfilePostgresqlSslPtrOutputWithContext

func (o ConnectionProfilePostgresqlSslOutput) ToConnectionProfilePostgresqlSslPtrOutputWithContext(ctx context.Context) ConnectionProfilePostgresqlSslPtrOutput

func (ConnectionProfilePostgresqlSslOutput) Type

(Output) The current connection profile state.

type ConnectionProfilePostgresqlSslPtrInput

type ConnectionProfilePostgresqlSslPtrInput interface {
	pulumi.Input

	ToConnectionProfilePostgresqlSslPtrOutput() ConnectionProfilePostgresqlSslPtrOutput
	ToConnectionProfilePostgresqlSslPtrOutputWithContext(context.Context) ConnectionProfilePostgresqlSslPtrOutput
}

ConnectionProfilePostgresqlSslPtrInput is an input type that accepts ConnectionProfilePostgresqlSslArgs, ConnectionProfilePostgresqlSslPtr and ConnectionProfilePostgresqlSslPtrOutput values. You can construct a concrete instance of `ConnectionProfilePostgresqlSslPtrInput` via:

        ConnectionProfilePostgresqlSslArgs{...}

or:

        nil

type ConnectionProfilePostgresqlSslPtrOutput

type ConnectionProfilePostgresqlSslPtrOutput struct{ *pulumi.OutputState }

func (ConnectionProfilePostgresqlSslPtrOutput) CaCertificate

Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfilePostgresqlSslPtrOutput) ClientCertificate

Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'clientKey' field is mandatory **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfilePostgresqlSslPtrOutput) ClientKey

Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'clientCertificate' field is mandatory. **Note**: This property is sensitive and will not be displayed in the plan.

func (ConnectionProfilePostgresqlSslPtrOutput) Elem

func (ConnectionProfilePostgresqlSslPtrOutput) ElementType

func (ConnectionProfilePostgresqlSslPtrOutput) ToConnectionProfilePostgresqlSslPtrOutput

func (o ConnectionProfilePostgresqlSslPtrOutput) ToConnectionProfilePostgresqlSslPtrOutput() ConnectionProfilePostgresqlSslPtrOutput

func (ConnectionProfilePostgresqlSslPtrOutput) ToConnectionProfilePostgresqlSslPtrOutputWithContext

func (o ConnectionProfilePostgresqlSslPtrOutput) ToConnectionProfilePostgresqlSslPtrOutputWithContext(ctx context.Context) ConnectionProfilePostgresqlSslPtrOutput

func (ConnectionProfilePostgresqlSslPtrOutput) Type

(Output) The current connection profile state.

type ConnectionProfileState

type ConnectionProfileState struct {
	// Specifies required connection parameters, and the parameters required to create an AlloyDB destination cluster.
	// Structure is documented below.
	Alloydb ConnectionProfileAlloydbPtrInput
	// Specifies required connection parameters, and, optionally, the parameters required to create a Cloud SQL destination database instance.
	// Structure is documented below.
	Cloudsql ConnectionProfileCloudsqlPtrInput
	// The ID of the connection profile.
	//
	// ***
	ConnectionProfileId pulumi.StringPtrInput
	// Output only. The timestamp when the resource was created. A timestamp in RFC3339 UTC 'Zulu' format, accurate to nanoseconds. Example: '2014-10-02T15:01:23.045123456Z'.
	CreateTime pulumi.StringPtrInput
	// The database provider.
	Dbprovider pulumi.StringPtrInput
	// The connection profile display name.
	DisplayName pulumi.StringPtrInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// Output only. The error details in case of state FAILED.
	// Structure is documented below.
	Errors ConnectionProfileErrorArrayInput
	// The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The location where the connection profile should reside.
	Location pulumi.StringPtrInput
	// Specifies connection parameters required specifically for MySQL databases.
	// Structure is documented below.
	Mysql ConnectionProfileMysqlPtrInput
	// The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}.
	Name pulumi.StringPtrInput
	// Specifies connection parameters required specifically for Oracle databases.
	// Structure is documented below.
	Oracle ConnectionProfileOraclePtrInput
	// Specifies connection parameters required specifically for PostgreSQL databases.
	// Structure is documented below.
	Postgresql ConnectionProfilePostgresqlPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// The current connection profile state.
	State pulumi.StringPtrInput
}

func (ConnectionProfileState) ElementType

func (ConnectionProfileState) ElementType() reflect.Type

type PrivateConnection added in v7.1.0

type PrivateConnection struct {
	pulumi.CustomResourceState

	// Display name.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// The PrivateConnection error in case of failure.
	// Structure is documented below.
	Errors PrivateConnectionErrorArrayOutput `pulumi:"errors"`
	// Labels. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please
	// refer to the field 'effective_labels' for all of the labels present on the resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The name of the location this private connection is located in.
	Location pulumi.StringOutput `pulumi:"location"`
	// The resource's name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The private connectivity identifier.
	PrivateConnectionId pulumi.StringOutput `pulumi:"privateConnectionId"`
	Project             pulumi.StringOutput `pulumi:"project"`
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// State of the PrivateConnection.
	State pulumi.StringOutput `pulumi:"state"`
	// The VPC Peering configuration is used to create VPC peering
	// between databasemigrationservice and the consumer's VPC.
	// Structure is documented below.
	VpcPeeringConfig PrivateConnectionVpcPeeringConfigOutput `pulumi:"vpcPeeringConfig"`
}

The PrivateConnection resource is used to establish private connectivity between Database Migration Service and a customer's network.

To get more information about PrivateConnection, see:

* [API documentation](https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.privateConnections) * How-to Guides

## Example Usage

### Database Migration Service Private Connection

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/databasemigrationservice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := compute.LookupNetwork(ctx, &compute.LookupNetworkArgs{
			Name: "my-network",
		}, nil)
		if err != nil {
			return err
		}
		_, err = databasemigrationservice.NewPrivateConnection(ctx, "default", &databasemigrationservice.PrivateConnectionArgs{
			DisplayName:         pulumi.String("dbms_pc"),
			Location:            pulumi.String("us-central1"),
			PrivateConnectionId: pulumi.String("my-connection"),
			Labels: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
			VpcPeeringConfig: &databasemigrationservice.PrivateConnectionVpcPeeringConfigArgs{
				VpcName: pulumi.String(_default.Id),
				Subnet:  pulumi.String("10.0.0.0/29"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

PrivateConnection can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/privateConnections/{{private_connection_id}}`

* `{{project}}/{{location}}/{{private_connection_id}}`

* `{{location}}/{{private_connection_id}}`

When using the `pulumi import` command, PrivateConnection can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:databasemigrationservice/privateConnection:PrivateConnection default projects/{{project}}/locations/{{location}}/privateConnections/{{private_connection_id}} ```

```sh $ pulumi import gcp:databasemigrationservice/privateConnection:PrivateConnection default {{project}}/{{location}}/{{private_connection_id}} ```

```sh $ pulumi import gcp:databasemigrationservice/privateConnection:PrivateConnection default {{location}}/{{private_connection_id}} ```

func GetPrivateConnection added in v7.1.0

func GetPrivateConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PrivateConnectionState, opts ...pulumi.ResourceOption) (*PrivateConnection, error)

GetPrivateConnection gets an existing PrivateConnection 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 NewPrivateConnection added in v7.1.0

func NewPrivateConnection(ctx *pulumi.Context,
	name string, args *PrivateConnectionArgs, opts ...pulumi.ResourceOption) (*PrivateConnection, error)

NewPrivateConnection registers a new resource with the given unique name, arguments, and options.

func (*PrivateConnection) ElementType added in v7.1.0

func (*PrivateConnection) ElementType() reflect.Type

func (*PrivateConnection) ToPrivateConnectionOutput added in v7.1.0

func (i *PrivateConnection) ToPrivateConnectionOutput() PrivateConnectionOutput

func (*PrivateConnection) ToPrivateConnectionOutputWithContext added in v7.1.0

func (i *PrivateConnection) ToPrivateConnectionOutputWithContext(ctx context.Context) PrivateConnectionOutput

type PrivateConnectionArgs added in v7.1.0

type PrivateConnectionArgs struct {
	// Display name.
	DisplayName pulumi.StringPtrInput
	// Labels. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please
	// refer to the field 'effective_labels' for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The name of the location this private connection is located in.
	Location pulumi.StringInput
	// The private connectivity identifier.
	PrivateConnectionId pulumi.StringInput
	Project             pulumi.StringPtrInput
	// The VPC Peering configuration is used to create VPC peering
	// between databasemigrationservice and the consumer's VPC.
	// Structure is documented below.
	VpcPeeringConfig PrivateConnectionVpcPeeringConfigInput
}

The set of arguments for constructing a PrivateConnection resource.

func (PrivateConnectionArgs) ElementType added in v7.1.0

func (PrivateConnectionArgs) ElementType() reflect.Type

type PrivateConnectionArray added in v7.1.0

type PrivateConnectionArray []PrivateConnectionInput

func (PrivateConnectionArray) ElementType added in v7.1.0

func (PrivateConnectionArray) ElementType() reflect.Type

func (PrivateConnectionArray) ToPrivateConnectionArrayOutput added in v7.1.0

func (i PrivateConnectionArray) ToPrivateConnectionArrayOutput() PrivateConnectionArrayOutput

func (PrivateConnectionArray) ToPrivateConnectionArrayOutputWithContext added in v7.1.0

func (i PrivateConnectionArray) ToPrivateConnectionArrayOutputWithContext(ctx context.Context) PrivateConnectionArrayOutput

type PrivateConnectionArrayInput added in v7.1.0

type PrivateConnectionArrayInput interface {
	pulumi.Input

	ToPrivateConnectionArrayOutput() PrivateConnectionArrayOutput
	ToPrivateConnectionArrayOutputWithContext(context.Context) PrivateConnectionArrayOutput
}

PrivateConnectionArrayInput is an input type that accepts PrivateConnectionArray and PrivateConnectionArrayOutput values. You can construct a concrete instance of `PrivateConnectionArrayInput` via:

PrivateConnectionArray{ PrivateConnectionArgs{...} }

type PrivateConnectionArrayOutput added in v7.1.0

type PrivateConnectionArrayOutput struct{ *pulumi.OutputState }

func (PrivateConnectionArrayOutput) ElementType added in v7.1.0

func (PrivateConnectionArrayOutput) Index added in v7.1.0

func (PrivateConnectionArrayOutput) ToPrivateConnectionArrayOutput added in v7.1.0

func (o PrivateConnectionArrayOutput) ToPrivateConnectionArrayOutput() PrivateConnectionArrayOutput

func (PrivateConnectionArrayOutput) ToPrivateConnectionArrayOutputWithContext added in v7.1.0

func (o PrivateConnectionArrayOutput) ToPrivateConnectionArrayOutputWithContext(ctx context.Context) PrivateConnectionArrayOutput

type PrivateConnectionError added in v7.1.0

type PrivateConnectionError struct {
	// A list of messages that carry the error details.
	Details map[string]string `pulumi:"details"`
	// A message containing more information about the error that occurred.
	Message *string `pulumi:"message"`
}

type PrivateConnectionErrorArgs added in v7.1.0

type PrivateConnectionErrorArgs struct {
	// A list of messages that carry the error details.
	Details pulumi.StringMapInput `pulumi:"details"`
	// A message containing more information about the error that occurred.
	Message pulumi.StringPtrInput `pulumi:"message"`
}

func (PrivateConnectionErrorArgs) ElementType added in v7.1.0

func (PrivateConnectionErrorArgs) ElementType() reflect.Type

func (PrivateConnectionErrorArgs) ToPrivateConnectionErrorOutput added in v7.1.0

func (i PrivateConnectionErrorArgs) ToPrivateConnectionErrorOutput() PrivateConnectionErrorOutput

func (PrivateConnectionErrorArgs) ToPrivateConnectionErrorOutputWithContext added in v7.1.0

func (i PrivateConnectionErrorArgs) ToPrivateConnectionErrorOutputWithContext(ctx context.Context) PrivateConnectionErrorOutput

type PrivateConnectionErrorArray added in v7.1.0

type PrivateConnectionErrorArray []PrivateConnectionErrorInput

func (PrivateConnectionErrorArray) ElementType added in v7.1.0

func (PrivateConnectionErrorArray) ToPrivateConnectionErrorArrayOutput added in v7.1.0

func (i PrivateConnectionErrorArray) ToPrivateConnectionErrorArrayOutput() PrivateConnectionErrorArrayOutput

func (PrivateConnectionErrorArray) ToPrivateConnectionErrorArrayOutputWithContext added in v7.1.0

func (i PrivateConnectionErrorArray) ToPrivateConnectionErrorArrayOutputWithContext(ctx context.Context) PrivateConnectionErrorArrayOutput

type PrivateConnectionErrorArrayInput added in v7.1.0

type PrivateConnectionErrorArrayInput interface {
	pulumi.Input

	ToPrivateConnectionErrorArrayOutput() PrivateConnectionErrorArrayOutput
	ToPrivateConnectionErrorArrayOutputWithContext(context.Context) PrivateConnectionErrorArrayOutput
}

PrivateConnectionErrorArrayInput is an input type that accepts PrivateConnectionErrorArray and PrivateConnectionErrorArrayOutput values. You can construct a concrete instance of `PrivateConnectionErrorArrayInput` via:

PrivateConnectionErrorArray{ PrivateConnectionErrorArgs{...} }

type PrivateConnectionErrorArrayOutput added in v7.1.0

type PrivateConnectionErrorArrayOutput struct{ *pulumi.OutputState }

func (PrivateConnectionErrorArrayOutput) ElementType added in v7.1.0

func (PrivateConnectionErrorArrayOutput) Index added in v7.1.0

func (PrivateConnectionErrorArrayOutput) ToPrivateConnectionErrorArrayOutput added in v7.1.0

func (o PrivateConnectionErrorArrayOutput) ToPrivateConnectionErrorArrayOutput() PrivateConnectionErrorArrayOutput

func (PrivateConnectionErrorArrayOutput) ToPrivateConnectionErrorArrayOutputWithContext added in v7.1.0

func (o PrivateConnectionErrorArrayOutput) ToPrivateConnectionErrorArrayOutputWithContext(ctx context.Context) PrivateConnectionErrorArrayOutput

type PrivateConnectionErrorInput added in v7.1.0

type PrivateConnectionErrorInput interface {
	pulumi.Input

	ToPrivateConnectionErrorOutput() PrivateConnectionErrorOutput
	ToPrivateConnectionErrorOutputWithContext(context.Context) PrivateConnectionErrorOutput
}

PrivateConnectionErrorInput is an input type that accepts PrivateConnectionErrorArgs and PrivateConnectionErrorOutput values. You can construct a concrete instance of `PrivateConnectionErrorInput` via:

PrivateConnectionErrorArgs{...}

type PrivateConnectionErrorOutput added in v7.1.0

type PrivateConnectionErrorOutput struct{ *pulumi.OutputState }

func (PrivateConnectionErrorOutput) Details added in v7.1.0

A list of messages that carry the error details.

func (PrivateConnectionErrorOutput) ElementType added in v7.1.0

func (PrivateConnectionErrorOutput) Message added in v7.1.0

A message containing more information about the error that occurred.

func (PrivateConnectionErrorOutput) ToPrivateConnectionErrorOutput added in v7.1.0

func (o PrivateConnectionErrorOutput) ToPrivateConnectionErrorOutput() PrivateConnectionErrorOutput

func (PrivateConnectionErrorOutput) ToPrivateConnectionErrorOutputWithContext added in v7.1.0

func (o PrivateConnectionErrorOutput) ToPrivateConnectionErrorOutputWithContext(ctx context.Context) PrivateConnectionErrorOutput

type PrivateConnectionInput added in v7.1.0

type PrivateConnectionInput interface {
	pulumi.Input

	ToPrivateConnectionOutput() PrivateConnectionOutput
	ToPrivateConnectionOutputWithContext(ctx context.Context) PrivateConnectionOutput
}

type PrivateConnectionMap added in v7.1.0

type PrivateConnectionMap map[string]PrivateConnectionInput

func (PrivateConnectionMap) ElementType added in v7.1.0

func (PrivateConnectionMap) ElementType() reflect.Type

func (PrivateConnectionMap) ToPrivateConnectionMapOutput added in v7.1.0

func (i PrivateConnectionMap) ToPrivateConnectionMapOutput() PrivateConnectionMapOutput

func (PrivateConnectionMap) ToPrivateConnectionMapOutputWithContext added in v7.1.0

func (i PrivateConnectionMap) ToPrivateConnectionMapOutputWithContext(ctx context.Context) PrivateConnectionMapOutput

type PrivateConnectionMapInput added in v7.1.0

type PrivateConnectionMapInput interface {
	pulumi.Input

	ToPrivateConnectionMapOutput() PrivateConnectionMapOutput
	ToPrivateConnectionMapOutputWithContext(context.Context) PrivateConnectionMapOutput
}

PrivateConnectionMapInput is an input type that accepts PrivateConnectionMap and PrivateConnectionMapOutput values. You can construct a concrete instance of `PrivateConnectionMapInput` via:

PrivateConnectionMap{ "key": PrivateConnectionArgs{...} }

type PrivateConnectionMapOutput added in v7.1.0

type PrivateConnectionMapOutput struct{ *pulumi.OutputState }

func (PrivateConnectionMapOutput) ElementType added in v7.1.0

func (PrivateConnectionMapOutput) ElementType() reflect.Type

func (PrivateConnectionMapOutput) MapIndex added in v7.1.0

func (PrivateConnectionMapOutput) ToPrivateConnectionMapOutput added in v7.1.0

func (o PrivateConnectionMapOutput) ToPrivateConnectionMapOutput() PrivateConnectionMapOutput

func (PrivateConnectionMapOutput) ToPrivateConnectionMapOutputWithContext added in v7.1.0

func (o PrivateConnectionMapOutput) ToPrivateConnectionMapOutputWithContext(ctx context.Context) PrivateConnectionMapOutput

type PrivateConnectionOutput added in v7.1.0

type PrivateConnectionOutput struct{ *pulumi.OutputState }

func (PrivateConnectionOutput) DisplayName added in v7.1.0

Display name.

func (PrivateConnectionOutput) EffectiveLabels added in v7.1.0

func (o PrivateConnectionOutput) EffectiveLabels() pulumi.StringMapOutput

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (PrivateConnectionOutput) ElementType added in v7.1.0

func (PrivateConnectionOutput) ElementType() reflect.Type

func (PrivateConnectionOutput) Errors added in v7.1.0

The PrivateConnection error in case of failure. Structure is documented below.

func (PrivateConnectionOutput) Labels added in v7.1.0

Labels. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.

func (PrivateConnectionOutput) Location added in v7.1.0

The name of the location this private connection is located in.

func (PrivateConnectionOutput) Name added in v7.1.0

The resource's name.

func (PrivateConnectionOutput) PrivateConnectionId added in v7.1.0

func (o PrivateConnectionOutput) PrivateConnectionId() pulumi.StringOutput

The private connectivity identifier.

func (PrivateConnectionOutput) Project added in v7.1.0

func (PrivateConnectionOutput) PulumiLabels added in v7.1.0

The combination of labels configured directly on the resource and default labels configured on the provider.

func (PrivateConnectionOutput) State added in v7.1.0

State of the PrivateConnection.

func (PrivateConnectionOutput) ToPrivateConnectionOutput added in v7.1.0

func (o PrivateConnectionOutput) ToPrivateConnectionOutput() PrivateConnectionOutput

func (PrivateConnectionOutput) ToPrivateConnectionOutputWithContext added in v7.1.0

func (o PrivateConnectionOutput) ToPrivateConnectionOutputWithContext(ctx context.Context) PrivateConnectionOutput

func (PrivateConnectionOutput) VpcPeeringConfig added in v7.1.0

The VPC Peering configuration is used to create VPC peering between databasemigrationservice and the consumer's VPC. Structure is documented below.

type PrivateConnectionState added in v7.1.0

type PrivateConnectionState struct {
	// Display name.
	DisplayName pulumi.StringPtrInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// The PrivateConnection error in case of failure.
	// Structure is documented below.
	Errors PrivateConnectionErrorArrayInput
	// Labels. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please
	// refer to the field 'effective_labels' for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The name of the location this private connection is located in.
	Location pulumi.StringPtrInput
	// The resource's name.
	Name pulumi.StringPtrInput
	// The private connectivity identifier.
	PrivateConnectionId pulumi.StringPtrInput
	Project             pulumi.StringPtrInput
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// State of the PrivateConnection.
	State pulumi.StringPtrInput
	// The VPC Peering configuration is used to create VPC peering
	// between databasemigrationservice and the consumer's VPC.
	// Structure is documented below.
	VpcPeeringConfig PrivateConnectionVpcPeeringConfigPtrInput
}

func (PrivateConnectionState) ElementType added in v7.1.0

func (PrivateConnectionState) ElementType() reflect.Type

type PrivateConnectionVpcPeeringConfig added in v7.1.0

type PrivateConnectionVpcPeeringConfig struct {
	// A free subnet for peering. (CIDR of /29)
	//
	// ***
	Subnet string `pulumi:"subnet"`
	// Fully qualified name of the VPC that Database Migration Service will peer to.
	// Format: projects/{project}/global/{networks}/{name}
	VpcName string `pulumi:"vpcName"`
}

type PrivateConnectionVpcPeeringConfigArgs added in v7.1.0

type PrivateConnectionVpcPeeringConfigArgs struct {
	// A free subnet for peering. (CIDR of /29)
	//
	// ***
	Subnet pulumi.StringInput `pulumi:"subnet"`
	// Fully qualified name of the VPC that Database Migration Service will peer to.
	// Format: projects/{project}/global/{networks}/{name}
	VpcName pulumi.StringInput `pulumi:"vpcName"`
}

func (PrivateConnectionVpcPeeringConfigArgs) ElementType added in v7.1.0

func (PrivateConnectionVpcPeeringConfigArgs) ToPrivateConnectionVpcPeeringConfigOutput added in v7.1.0

func (i PrivateConnectionVpcPeeringConfigArgs) ToPrivateConnectionVpcPeeringConfigOutput() PrivateConnectionVpcPeeringConfigOutput

func (PrivateConnectionVpcPeeringConfigArgs) ToPrivateConnectionVpcPeeringConfigOutputWithContext added in v7.1.0

func (i PrivateConnectionVpcPeeringConfigArgs) ToPrivateConnectionVpcPeeringConfigOutputWithContext(ctx context.Context) PrivateConnectionVpcPeeringConfigOutput

func (PrivateConnectionVpcPeeringConfigArgs) ToPrivateConnectionVpcPeeringConfigPtrOutput added in v7.1.0

func (i PrivateConnectionVpcPeeringConfigArgs) ToPrivateConnectionVpcPeeringConfigPtrOutput() PrivateConnectionVpcPeeringConfigPtrOutput

func (PrivateConnectionVpcPeeringConfigArgs) ToPrivateConnectionVpcPeeringConfigPtrOutputWithContext added in v7.1.0

func (i PrivateConnectionVpcPeeringConfigArgs) ToPrivateConnectionVpcPeeringConfigPtrOutputWithContext(ctx context.Context) PrivateConnectionVpcPeeringConfigPtrOutput

type PrivateConnectionVpcPeeringConfigInput added in v7.1.0

type PrivateConnectionVpcPeeringConfigInput interface {
	pulumi.Input

	ToPrivateConnectionVpcPeeringConfigOutput() PrivateConnectionVpcPeeringConfigOutput
	ToPrivateConnectionVpcPeeringConfigOutputWithContext(context.Context) PrivateConnectionVpcPeeringConfigOutput
}

PrivateConnectionVpcPeeringConfigInput is an input type that accepts PrivateConnectionVpcPeeringConfigArgs and PrivateConnectionVpcPeeringConfigOutput values. You can construct a concrete instance of `PrivateConnectionVpcPeeringConfigInput` via:

PrivateConnectionVpcPeeringConfigArgs{...}

type PrivateConnectionVpcPeeringConfigOutput added in v7.1.0

type PrivateConnectionVpcPeeringConfigOutput struct{ *pulumi.OutputState }

func (PrivateConnectionVpcPeeringConfigOutput) ElementType added in v7.1.0

func (PrivateConnectionVpcPeeringConfigOutput) Subnet added in v7.1.0

A free subnet for peering. (CIDR of /29)

***

func (PrivateConnectionVpcPeeringConfigOutput) ToPrivateConnectionVpcPeeringConfigOutput added in v7.1.0

func (o PrivateConnectionVpcPeeringConfigOutput) ToPrivateConnectionVpcPeeringConfigOutput() PrivateConnectionVpcPeeringConfigOutput

func (PrivateConnectionVpcPeeringConfigOutput) ToPrivateConnectionVpcPeeringConfigOutputWithContext added in v7.1.0

func (o PrivateConnectionVpcPeeringConfigOutput) ToPrivateConnectionVpcPeeringConfigOutputWithContext(ctx context.Context) PrivateConnectionVpcPeeringConfigOutput

func (PrivateConnectionVpcPeeringConfigOutput) ToPrivateConnectionVpcPeeringConfigPtrOutput added in v7.1.0

func (o PrivateConnectionVpcPeeringConfigOutput) ToPrivateConnectionVpcPeeringConfigPtrOutput() PrivateConnectionVpcPeeringConfigPtrOutput

func (PrivateConnectionVpcPeeringConfigOutput) ToPrivateConnectionVpcPeeringConfigPtrOutputWithContext added in v7.1.0

func (o PrivateConnectionVpcPeeringConfigOutput) ToPrivateConnectionVpcPeeringConfigPtrOutputWithContext(ctx context.Context) PrivateConnectionVpcPeeringConfigPtrOutput

func (PrivateConnectionVpcPeeringConfigOutput) VpcName added in v7.1.0

Fully qualified name of the VPC that Database Migration Service will peer to. Format: projects/{project}/global/{networks}/{name}

type PrivateConnectionVpcPeeringConfigPtrInput added in v7.1.0

type PrivateConnectionVpcPeeringConfigPtrInput interface {
	pulumi.Input

	ToPrivateConnectionVpcPeeringConfigPtrOutput() PrivateConnectionVpcPeeringConfigPtrOutput
	ToPrivateConnectionVpcPeeringConfigPtrOutputWithContext(context.Context) PrivateConnectionVpcPeeringConfigPtrOutput
}

PrivateConnectionVpcPeeringConfigPtrInput is an input type that accepts PrivateConnectionVpcPeeringConfigArgs, PrivateConnectionVpcPeeringConfigPtr and PrivateConnectionVpcPeeringConfigPtrOutput values. You can construct a concrete instance of `PrivateConnectionVpcPeeringConfigPtrInput` via:

        PrivateConnectionVpcPeeringConfigArgs{...}

or:

        nil

type PrivateConnectionVpcPeeringConfigPtrOutput added in v7.1.0

type PrivateConnectionVpcPeeringConfigPtrOutput struct{ *pulumi.OutputState }

func (PrivateConnectionVpcPeeringConfigPtrOutput) Elem added in v7.1.0

func (PrivateConnectionVpcPeeringConfigPtrOutput) ElementType added in v7.1.0

func (PrivateConnectionVpcPeeringConfigPtrOutput) Subnet added in v7.1.0

A free subnet for peering. (CIDR of /29)

***

func (PrivateConnectionVpcPeeringConfigPtrOutput) ToPrivateConnectionVpcPeeringConfigPtrOutput added in v7.1.0

func (o PrivateConnectionVpcPeeringConfigPtrOutput) ToPrivateConnectionVpcPeeringConfigPtrOutput() PrivateConnectionVpcPeeringConfigPtrOutput

func (PrivateConnectionVpcPeeringConfigPtrOutput) ToPrivateConnectionVpcPeeringConfigPtrOutputWithContext added in v7.1.0

func (o PrivateConnectionVpcPeeringConfigPtrOutput) ToPrivateConnectionVpcPeeringConfigPtrOutputWithContext(ctx context.Context) PrivateConnectionVpcPeeringConfigPtrOutput

func (PrivateConnectionVpcPeeringConfigPtrOutput) VpcName added in v7.1.0

Fully qualified name of the VPC that Database Migration Service will peer to. Format: projects/{project}/global/{networks}/{name}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL