Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.datastream/v1.getConnectionProfile
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Use this method to get details about a connection profile.
Using getConnectionProfile
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getConnectionProfile(args: GetConnectionProfileArgs, opts?: InvokeOptions): Promise<GetConnectionProfileResult>
function getConnectionProfileOutput(args: GetConnectionProfileOutputArgs, opts?: InvokeOptions): Output<GetConnectionProfileResult>
def get_connection_profile(connection_profile_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConnectionProfileResult
def get_connection_profile_output(connection_profile_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConnectionProfileResult]
func LookupConnectionProfile(ctx *Context, args *LookupConnectionProfileArgs, opts ...InvokeOption) (*LookupConnectionProfileResult, error)
func LookupConnectionProfileOutput(ctx *Context, args *LookupConnectionProfileOutputArgs, opts ...InvokeOption) LookupConnectionProfileResultOutput
> Note: This function is named LookupConnectionProfile
in the Go SDK.
public static class GetConnectionProfile
{
public static Task<GetConnectionProfileResult> InvokeAsync(GetConnectionProfileArgs args, InvokeOptions? opts = null)
public static Output<GetConnectionProfileResult> Invoke(GetConnectionProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConnectionProfileResult> getConnectionProfile(GetConnectionProfileArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:datastream/v1:getConnectionProfile
arguments:
# arguments dictionary
The following arguments are supported:
- Connection
Profile stringId - Location string
- Project string
- Connection
Profile stringId - Location string
- Project string
- connection
Profile StringId - location String
- project String
- connection
Profile stringId - location string
- project string
- connection_
profile_ strid - location str
- project str
- connection
Profile StringId - location String
- project String
getConnectionProfile Result
The following output properties are available:
- Bigquery
Profile Pulumi.Google Native. Datastream. V1. Outputs. Big Query Profile Response - BigQuery Connection Profile configuration.
- Create
Time string - The create time of the resource.
- Display
Name string - Display name.
- Forward
Ssh Pulumi.Connectivity Google Native. Datastream. V1. Outputs. Forward Ssh Tunnel Connectivity Response - Forward SSH tunnel connectivity.
- Gcs
Profile Pulumi.Google Native. Datastream. V1. Outputs. Gcs Profile Response - Cloud Storage ConnectionProfile configuration.
- Labels Dictionary<string, string>
- Labels.
- Mysql
Profile Pulumi.Google Native. Datastream. V1. Outputs. Mysql Profile Response - MySQL ConnectionProfile configuration.
- Name string
- The resource's name.
- Oracle
Profile Pulumi.Google Native. Datastream. V1. Outputs. Oracle Profile Response - Oracle ConnectionProfile configuration.
- Postgresql
Profile Pulumi.Google Native. Datastream. V1. Outputs. Postgresql Profile Response - PostgreSQL Connection Profile configuration.
- Private
Connectivity Pulumi.Google Native. Datastream. V1. Outputs. Private Connectivity Response - Private connectivity.
- Static
Service Pulumi.Ip Connectivity Google Native. Datastream. V1. Outputs. Static Service Ip Connectivity Response - Static Service IP connectivity.
- Update
Time string - The update time of the resource.
- Bigquery
Profile BigQuery Profile Response - BigQuery Connection Profile configuration.
- Create
Time string - The create time of the resource.
- Display
Name string - Display name.
- Forward
Ssh ForwardConnectivity Ssh Tunnel Connectivity Response - Forward SSH tunnel connectivity.
- Gcs
Profile GcsProfile Response - Cloud Storage ConnectionProfile configuration.
- Labels map[string]string
- Labels.
- Mysql
Profile MysqlProfile Response - MySQL ConnectionProfile configuration.
- Name string
- The resource's name.
- Oracle
Profile OracleProfile Response - Oracle ConnectionProfile configuration.
- Postgresql
Profile PostgresqlProfile Response - PostgreSQL Connection Profile configuration.
- Private
Connectivity PrivateConnectivity Response - Private connectivity.
- Static
Service StaticIp Connectivity Service Ip Connectivity Response - Static Service IP connectivity.
- Update
Time string - The update time of the resource.
- bigquery
Profile BigQuery Profile Response - BigQuery Connection Profile configuration.
- create
Time String - The create time of the resource.
- display
Name String - Display name.
- forward
Ssh ForwardConnectivity Ssh Tunnel Connectivity Response - Forward SSH tunnel connectivity.
- gcs
Profile GcsProfile Response - Cloud Storage ConnectionProfile configuration.
- labels Map<String,String>
- Labels.
- mysql
Profile MysqlProfile Response - MySQL ConnectionProfile configuration.
- name String
- The resource's name.
- oracle
Profile OracleProfile Response - Oracle ConnectionProfile configuration.
- postgresql
Profile PostgresqlProfile Response - PostgreSQL Connection Profile configuration.
- private
Connectivity PrivateConnectivity Response - Private connectivity.
- static
Service StaticIp Connectivity Service Ip Connectivity Response - Static Service IP connectivity.
- update
Time String - The update time of the resource.
- bigquery
Profile BigQuery Profile Response - BigQuery Connection Profile configuration.
- create
Time string - The create time of the resource.
- display
Name string - Display name.
- forward
Ssh ForwardConnectivity Ssh Tunnel Connectivity Response - Forward SSH tunnel connectivity.
- gcs
Profile GcsProfile Response - Cloud Storage ConnectionProfile configuration.
- labels {[key: string]: string}
- Labels.
- mysql
Profile MysqlProfile Response - MySQL ConnectionProfile configuration.
- name string
- The resource's name.
- oracle
Profile OracleProfile Response - Oracle ConnectionProfile configuration.
- postgresql
Profile PostgresqlProfile Response - PostgreSQL Connection Profile configuration.
- private
Connectivity PrivateConnectivity Response - Private connectivity.
- static
Service StaticIp Connectivity Service Ip Connectivity Response - Static Service IP connectivity.
- update
Time string - The update time of the resource.
- bigquery_
profile BigQuery Profile Response - BigQuery Connection Profile configuration.
- create_
time str - The create time of the resource.
- display_
name str - Display name.
- forward_
ssh_ Forwardconnectivity Ssh Tunnel Connectivity Response - Forward SSH tunnel connectivity.
- gcs_
profile GcsProfile Response - Cloud Storage ConnectionProfile configuration.
- labels Mapping[str, str]
- Labels.
- mysql_
profile MysqlProfile Response - MySQL ConnectionProfile configuration.
- name str
- The resource's name.
- oracle_
profile OracleProfile Response - Oracle ConnectionProfile configuration.
- postgresql_
profile PostgresqlProfile Response - PostgreSQL Connection Profile configuration.
- private_
connectivity PrivateConnectivity Response - Private connectivity.
- static_
service_ Staticip_ connectivity Service Ip Connectivity Response - Static Service IP connectivity.
- update_
time str - The update time of the resource.
- bigquery
Profile Property Map - BigQuery Connection Profile configuration.
- create
Time String - The create time of the resource.
- display
Name String - Display name.
- forward
Ssh Property MapConnectivity - Forward SSH tunnel connectivity.
- gcs
Profile Property Map - Cloud Storage ConnectionProfile configuration.
- labels Map<String>
- Labels.
- mysql
Profile Property Map - MySQL ConnectionProfile configuration.
- name String
- The resource's name.
- oracle
Profile Property Map - Oracle ConnectionProfile configuration.
- postgresql
Profile Property Map - PostgreSQL Connection Profile configuration.
- private
Connectivity Property Map - Private connectivity.
- static
Service Property MapIp Connectivity - Static Service IP connectivity.
- update
Time String - The update time of the resource.
Supporting Types
ForwardSshTunnelConnectivityResponse
- Hostname string
- Hostname for the SSH tunnel.
- Password string
- Input only. SSH password.
- Port int
- Port for the SSH tunnel, default value is 22.
- Private
Key string - Input only. SSH private key.
- Username string
- Username for the SSH tunnel.
- Hostname string
- Hostname for the SSH tunnel.
- Password string
- Input only. SSH password.
- Port int
- Port for the SSH tunnel, default value is 22.
- Private
Key string - Input only. SSH private key.
- Username string
- Username for the SSH tunnel.
- hostname String
- Hostname for the SSH tunnel.
- password String
- Input only. SSH password.
- port Integer
- Port for the SSH tunnel, default value is 22.
- private
Key String - Input only. SSH private key.
- username String
- Username for the SSH tunnel.
- hostname string
- Hostname for the SSH tunnel.
- password string
- Input only. SSH password.
- port number
- Port for the SSH tunnel, default value is 22.
- private
Key string - Input only. SSH private key.
- username string
- Username for the SSH tunnel.
- hostname str
- Hostname for the SSH tunnel.
- password str
- Input only. SSH password.
- port int
- Port for the SSH tunnel, default value is 22.
- private_
key str - Input only. SSH private key.
- username str
- Username for the SSH tunnel.
- hostname String
- Hostname for the SSH tunnel.
- password String
- Input only. SSH password.
- port Number
- Port for the SSH tunnel, default value is 22.
- private
Key String - Input only. SSH private key.
- username String
- Username for the SSH tunnel.
GcsProfileResponse
MysqlProfileResponse
- Hostname string
- Hostname for the MySQL connection.
- Password string
- Input only. Password for the MySQL connection.
- Port int
- Port for the MySQL connection, default value is 3306.
- Ssl
Config Pulumi.Google Native. Datastream. V1. Inputs. Mysql Ssl Config Response - SSL configuration for the MySQL connection.
- Username string
- Username for the MySQL connection.
- hostname str
- Hostname for the MySQL connection.
- password str
- Input only. Password for the MySQL connection.
- port int
- Port for the MySQL connection, default value is 3306.
- ssl_
config MysqlSsl Config Response - SSL configuration for the MySQL connection.
- username str
- Username for the MySQL connection.
MysqlSslConfigResponse
- Ca
Certificate string - Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
- Ca
Certificate boolSet - Indicates whether the ca_certificate field is set.
- Client
Certificate string - Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'client_key' and the 'ca_certificate' fields are mandatory.
- Client
Certificate boolSet - Indicates whether the client_certificate field is set.
- Client
Key string - Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.
- Client
Key boolSet - Indicates whether the client_key field is set.
- Ca
Certificate string - Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
- Ca
Certificate boolSet - Indicates whether the ca_certificate field is set.
- Client
Certificate string - Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'client_key' and the 'ca_certificate' fields are mandatory.
- Client
Certificate boolSet - Indicates whether the client_certificate field is set.
- Client
Key string - Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.
- Client
Key boolSet - Indicates whether the client_key field is set.
- ca
Certificate String - Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
- ca
Certificate BooleanSet - Indicates whether the ca_certificate field is set.
- client
Certificate String - Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'client_key' and the 'ca_certificate' fields are mandatory.
- client
Certificate BooleanSet - Indicates whether the client_certificate field is set.
- client
Key String - Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.
- client
Key BooleanSet - Indicates whether the client_key field is set.
- ca
Certificate string - Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
- ca
Certificate booleanSet - Indicates whether the ca_certificate field is set.
- client
Certificate string - Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'client_key' and the 'ca_certificate' fields are mandatory.
- client
Certificate booleanSet - Indicates whether the client_certificate field is set.
- client
Key string - Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.
- client
Key booleanSet - Indicates whether the client_key field is set.
- ca_
certificate str - Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
- ca_
certificate_ boolset - Indicates whether the ca_certificate field is set.
- client_
certificate str - Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'client_key' and the 'ca_certificate' fields are mandatory.
- client_
certificate_ boolset - Indicates whether the client_certificate field is set.
- client_
key str - Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.
- client_
key_ boolset - Indicates whether the client_key field is set.
- ca
Certificate String - Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
- ca
Certificate BooleanSet - Indicates whether the ca_certificate field is set.
- client
Certificate String - Input only. PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'client_key' and the 'ca_certificate' fields are mandatory.
- client
Certificate BooleanSet - Indicates whether the client_certificate field is set.
- client
Key String - Input only. PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' and the 'ca_certificate' fields are mandatory.
- client
Key BooleanSet - Indicates whether the client_key field is set.
OracleProfileResponse
- Connection
Attributes Dictionary<string, string> - Connection string attributes
- Database
Service string - Database for the Oracle connection.
- Hostname string
- Hostname for the Oracle connection.
- Oracle
Ssl Pulumi.Config Google Native. Datastream. V1. Inputs. Oracle Ssl Config Response - Optional. SSL configuration for the Oracle connection.
- Password string
- Password for the Oracle connection.
- Port int
- Port for the Oracle connection, default value is 1521.
- Username string
- Username for the Oracle connection.
- Connection
Attributes map[string]string - Connection string attributes
- Database
Service string - Database for the Oracle connection.
- Hostname string
- Hostname for the Oracle connection.
- Oracle
Ssl OracleConfig Ssl Config Response - Optional. SSL configuration for the Oracle connection.
- Password string
- Password for the Oracle connection.
- Port int
- Port for the Oracle connection, default value is 1521.
- Username string
- Username for the Oracle connection.
- connection
Attributes Map<String,String> - Connection string attributes
- database
Service String - Database for the Oracle connection.
- hostname String
- Hostname for the Oracle connection.
- oracle
Ssl OracleConfig Ssl Config Response - Optional. SSL configuration for the Oracle connection.
- password String
- Password for the Oracle connection.
- port Integer
- Port for the Oracle connection, default value is 1521.
- username String
- Username for the Oracle connection.
- connection
Attributes {[key: string]: string} - Connection string attributes
- database
Service string - Database for the Oracle connection.
- hostname string
- Hostname for the Oracle connection.
- oracle
Ssl OracleConfig Ssl Config Response - Optional. SSL configuration for the Oracle connection.
- password string
- Password for the Oracle connection.
- port number
- Port for the Oracle connection, default value is 1521.
- username string
- Username for the Oracle connection.
- connection_
attributes Mapping[str, str] - Connection string attributes
- database_
service str - Database for the Oracle connection.
- hostname str
- Hostname for the Oracle connection.
- oracle_
ssl_ Oracleconfig Ssl Config Response - Optional. SSL configuration for the Oracle connection.
- password str
- Password for the Oracle connection.
- port int
- Port for the Oracle connection, default value is 1521.
- username str
- Username for the Oracle connection.
- connection
Attributes Map<String> - Connection string attributes
- database
Service String - Database for the Oracle connection.
- hostname String
- Hostname for the Oracle connection.
- oracle
Ssl Property MapConfig - Optional. SSL configuration for the Oracle connection.
- password String
- Password for the Oracle connection.
- port Number
- Port for the Oracle connection, default value is 1521.
- username String
- Username for the Oracle connection.
OracleSslConfigResponse
- Ca
Certificate string - Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
- Ca
Certificate boolSet - Indicates whether the ca_certificate field has been set for this Connection-Profile.
- Ca
Certificate string - Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
- Ca
Certificate boolSet - Indicates whether the ca_certificate field has been set for this Connection-Profile.
- ca
Certificate String - Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
- ca
Certificate BooleanSet - Indicates whether the ca_certificate field has been set for this Connection-Profile.
- ca
Certificate string - Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
- ca
Certificate booleanSet - Indicates whether the ca_certificate field has been set for this Connection-Profile.
- ca_
certificate str - Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
- ca_
certificate_ boolset - Indicates whether the ca_certificate field has been set for this Connection-Profile.
- ca
Certificate String - Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
- ca
Certificate BooleanSet - Indicates whether the ca_certificate field has been set for this Connection-Profile.
PostgresqlProfileResponse
PrivateConnectivityResponse
- Private
Connection string - A reference to a private connection resource. Format:
projects/{project}/locations/{location}/privateConnections/{name}
- Private
Connection string - A reference to a private connection resource. Format:
projects/{project}/locations/{location}/privateConnections/{name}
- private
Connection String - A reference to a private connection resource. Format:
projects/{project}/locations/{location}/privateConnections/{name}
- private
Connection string - A reference to a private connection resource. Format:
projects/{project}/locations/{location}/privateConnections/{name}
- private_
connection str - A reference to a private connection resource. Format:
projects/{project}/locations/{location}/privateConnections/{name}
- private
Connection String - A reference to a private connection resource. Format:
projects/{project}/locations/{location}/privateConnections/{name}
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi