ConnectionProfileArgs

data class ConnectionProfileArgs(val alloydb: Output<AlloyDbConnectionProfileArgs>? = null, val cloudsql: Output<CloudSqlConnectionProfileArgs>? = null, val connectionProfileId: Output<String>? = null, val displayName: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val mysql: Output<MySqlConnectionProfileArgs>? = null, val name: Output<String>? = null, val oracle: Output<OracleConnectionProfileArgs>? = null, val postgresql: Output<PostgreSqlConnectionProfileArgs>? = null, val project: Output<String>? = null, val provider: Output<ConnectionProfileProvider>? = null, val requestId: Output<String>? = null, val skipValidation: Output<Boolean>? = null, val state: Output<ConnectionProfileState>? = null) : ConvertibleToJava<ConnectionProfileArgs>

Creates a new connection profile in a given project and location.

Constructors

Link copied to clipboard
fun ConnectionProfileArgs(alloydb: Output<AlloyDbConnectionProfileArgs>? = null, cloudsql: Output<CloudSqlConnectionProfileArgs>? = null, connectionProfileId: Output<String>? = null, displayName: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, mysql: Output<MySqlConnectionProfileArgs>? = null, name: Output<String>? = null, oracle: Output<OracleConnectionProfileArgs>? = null, postgresql: Output<PostgreSqlConnectionProfileArgs>? = null, project: Output<String>? = null, provider: Output<ConnectionProfileProvider>? = null, requestId: Output<String>? = null, skipValidation: Output<Boolean>? = null, state: Output<ConnectionProfileState>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ConnectionProfileArgs

Properties

Link copied to clipboard

An AlloyDB cluster connection profile.

Link copied to clipboard

A CloudSQL database connection profile.

Link copied to clipboard
val connectionProfileId: Output<String>? = null

Required. The connection profile identifier.

Link copied to clipboard
val displayName: Output<String>? = null

The connection profile display name.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

The resource labels for connection profile to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val mysql: Output<MySqlConnectionProfileArgs>? = null

A MySQL database connection profile.

Link copied to clipboard
val name: Output<String>? = null

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

Link copied to clipboard
val oracle: Output<OracleConnectionProfileArgs>? = null

An Oracle database connection profile.

Link copied to clipboard

A PostgreSQL database connection profile.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val provider: Output<ConnectionProfileProvider>? = null

The database provider.

Link copied to clipboard
val requestId: Output<String>? = null

Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Link copied to clipboard
val skipValidation: Output<Boolean>? = null

Optional. Create the connection profile without validating it. The default is false. Only supported for Oracle connection profiles.

Link copied to clipboard
val state: Output<ConnectionProfileState>? = null

The current connection profile state (e.g. DRAFT, READY, or FAILED).