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/v1alpha1.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)
public static Output<GetConnectionProfileResult> getConnectionProfile(GetConnectionProfileArgs args, InvokeOptions options)
fn::invoke:
function: google-native:datastream/v1alpha1:getConnectionProfile
arguments:
# arguments dictionary
The following arguments are supported:
- Connection
Profile Id This property is required. string - Location
This property is required. string - Project string
- Connection
Profile Id This property is required. string - Location
This property is required. string - Project string
- connection
Profile Id This property is required. String - location
This property is required. String - project String
- connection
Profile Id This property is required. string - location
This property is required. string - project string
- connection_
profile_ id This property is required. str - location
This property is required. str - project str
- connection
Profile Id This property is required. String - location
This property is required. String - project String
getConnectionProfile Result
The following output properties are available:
- Create
Time string - The create time of the resource.
- Display
Name string - Display name.
- Forward
Ssh Pulumi.Connectivity Google Native. Datastream. V1Alpha1. Outputs. Forward Ssh Tunnel Connectivity Response - Forward SSH tunnel connectivity.
- Gcs
Profile Pulumi.Google Native. Datastream. V1Alpha1. Outputs. Gcs Profile Response - Cloud Storage ConnectionProfile configuration.
- Labels Dictionary<string, string>
- Labels.
- Mysql
Profile Pulumi.Google Native. Datastream. V1Alpha1. Outputs. Mysql Profile Response - MySQL ConnectionProfile configuration.
- Name string
- The resource's name.
- No
Connectivity Pulumi.Google Native. Datastream. V1Alpha1. Outputs. No Connectivity Settings Response - No connectivity option chosen.
- Oracle
Profile Pulumi.Google Native. Datastream. V1Alpha1. Outputs. Oracle Profile Response - Oracle ConnectionProfile configuration.
- Private
Connectivity Pulumi.Google Native. Datastream. V1Alpha1. Outputs. Private Connectivity Response - Private connectivity.
- Static
Service Pulumi.Ip Connectivity Google Native. Datastream. V1Alpha1. Outputs. Static Service Ip Connectivity Response - Static Service IP connectivity.
- Update
Time string - The update time of the resource.
- 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.
- No
Connectivity NoConnectivity Settings Response - No connectivity option chosen.
- Oracle
Profile OracleProfile Response - Oracle ConnectionProfile 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.
- 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.
- no
Connectivity NoConnectivity Settings Response - No connectivity option chosen.
- oracle
Profile OracleProfile Response - Oracle ConnectionProfile 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.
- 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.
- no
Connectivity NoConnectivity Settings Response - No connectivity option chosen.
- oracle
Profile OracleProfile Response - Oracle ConnectionProfile 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.
- 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.
- no_
connectivity NoConnectivity Settings Response - No connectivity option chosen.
- oracle_
profile OracleProfile Response - Oracle ConnectionProfile 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.
- 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.
- no
Connectivity Property Map - No connectivity option chosen.
- oracle
Profile Property Map - Oracle ConnectionProfile 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
This property is required. string - Hostname for the SSH tunnel.
- Password
This property is required. string - Input only. SSH password.
- Port
This property is required. int - Port for the SSH tunnel, default value is 22.
- Private
Key This property is required. string - Input only. SSH private key.
- Username
This property is required. string - Username for the SSH tunnel.
- Hostname
This property is required. string - Hostname for the SSH tunnel.
- Password
This property is required. string - Input only. SSH password.
- Port
This property is required. int - Port for the SSH tunnel, default value is 22.
- Private
Key This property is required. string - Input only. SSH private key.
- Username
This property is required. string - Username for the SSH tunnel.
- hostname
This property is required. String - Hostname for the SSH tunnel.
- password
This property is required. String - Input only. SSH password.
- port
This property is required. Integer - Port for the SSH tunnel, default value is 22.
- private
Key This property is required. String - Input only. SSH private key.
- username
This property is required. String - Username for the SSH tunnel.
- hostname
This property is required. string - Hostname for the SSH tunnel.
- password
This property is required. string - Input only. SSH password.
- port
This property is required. number - Port for the SSH tunnel, default value is 22.
- private
Key This property is required. string - Input only. SSH private key.
- username
This property is required. string - Username for the SSH tunnel.
- hostname
This property is required. str - Hostname for the SSH tunnel.
- password
This property is required. str - Input only. SSH password.
- port
This property is required. int - Port for the SSH tunnel, default value is 22.
- private_
key This property is required. str - Input only. SSH private key.
- username
This property is required. str - Username for the SSH tunnel.
- hostname
This property is required. String - Hostname for the SSH tunnel.
- password
This property is required. String - Input only. SSH password.
- port
This property is required. Number - Port for the SSH tunnel, default value is 22.
- private
Key This property is required. String - Input only. SSH private key.
- username
This property is required. String - Username for the SSH tunnel.
GcsProfileResponse
- Bucket
Name This property is required. string - The full project and resource path for Cloud Storage bucket including the name.
- Root
Path This property is required. string - The root path inside the Cloud Storage bucket.
- Bucket
Name This property is required. string - The full project and resource path for Cloud Storage bucket including the name.
- Root
Path This property is required. string - The root path inside the Cloud Storage bucket.
- bucket
Name This property is required. String - The full project and resource path for Cloud Storage bucket including the name.
- root
Path This property is required. String - The root path inside the Cloud Storage bucket.
- bucket
Name This property is required. string - The full project and resource path for Cloud Storage bucket including the name.
- root
Path This property is required. string - The root path inside the Cloud Storage bucket.
- bucket_
name This property is required. str - The full project and resource path for Cloud Storage bucket including the name.
- root_
path This property is required. str - The root path inside the Cloud Storage bucket.
- bucket
Name This property is required. String - The full project and resource path for Cloud Storage bucket including the name.
- root
Path This property is required. String - The root path inside the Cloud Storage bucket.
MysqlProfileResponse
- Hostname
This property is required. string - Hostname for the MySQL connection.
- Password
This property is required. string - Input only. Password for the MySQL connection.
- Port
This property is required. int - Port for the MySQL connection, default value is 3306.
- Ssl
Config This property is required. Pulumi.Google Native. Datastream. V1Alpha1. Inputs. Mysql Ssl Config Response - SSL configuration for the MySQL connection.
- Username
This property is required. string - Username for the MySQL connection.
- Hostname
This property is required. string - Hostname for the MySQL connection.
- Password
This property is required. string - Input only. Password for the MySQL connection.
- Port
This property is required. int - Port for the MySQL connection, default value is 3306.
- Ssl
Config This property is required. MysqlSsl Config Response - SSL configuration for the MySQL connection.
- Username
This property is required. string - Username for the MySQL connection.
- hostname
This property is required. String - Hostname for the MySQL connection.
- password
This property is required. String - Input only. Password for the MySQL connection.
- port
This property is required. Integer - Port for the MySQL connection, default value is 3306.
- ssl
Config This property is required. MysqlSsl Config Response - SSL configuration for the MySQL connection.
- username
This property is required. String - Username for the MySQL connection.
- hostname
This property is required. string - Hostname for the MySQL connection.
- password
This property is required. string - Input only. Password for the MySQL connection.
- port
This property is required. number - Port for the MySQL connection, default value is 3306.
- ssl
Config This property is required. MysqlSsl Config Response - SSL configuration for the MySQL connection.
- username
This property is required. string - Username for the MySQL connection.
- hostname
This property is required. str - Hostname for the MySQL connection.
- password
This property is required. str - Input only. Password for the MySQL connection.
- port
This property is required. int - Port for the MySQL connection, default value is 3306.
- ssl_
config This property is required. MysqlSsl Config Response - SSL configuration for the MySQL connection.
- username
This property is required. str - Username for the MySQL connection.
- hostname
This property is required. String - Hostname for the MySQL connection.
- password
This property is required. String - Input only. Password for the MySQL connection.
- port
This property is required. Number - Port for the MySQL connection, default value is 3306.
- ssl
Config This property is required. Property Map - SSL configuration for the MySQL connection.
- username
This property is required. String - Username for the MySQL connection.
MysqlSslConfigResponse
- Ca
Certificate This property is required. string - Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
- Ca
Certificate Set This property is required. bool - Indicates whether the ca_certificate field is set.
- Client
Certificate This property is required. 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 Set This property is required. bool - Indicates whether the client_certificate field is set.
- Client
Key This property is required. 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 Set This property is required. bool - Indicates whether the client_key field is set.
- Ca
Certificate This property is required. string - Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
- Ca
Certificate Set This property is required. bool - Indicates whether the ca_certificate field is set.
- Client
Certificate This property is required. 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 Set This property is required. bool - Indicates whether the client_certificate field is set.
- Client
Key This property is required. 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 Set This property is required. bool - Indicates whether the client_key field is set.
- ca
Certificate This property is required. String - Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
- ca
Certificate Set This property is required. Boolean - Indicates whether the ca_certificate field is set.
- client
Certificate This property is required. 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 Set This property is required. Boolean - Indicates whether the client_certificate field is set.
- client
Key This property is required. 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 Set This property is required. Boolean - Indicates whether the client_key field is set.
- ca
Certificate This property is required. string - Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
- ca
Certificate Set This property is required. boolean - Indicates whether the ca_certificate field is set.
- client
Certificate This property is required. 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 Set This property is required. boolean - Indicates whether the client_certificate field is set.
- client
Key This property is required. 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 Set This property is required. boolean - Indicates whether the client_key field is set.
- ca_
certificate This property is required. str - Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
- ca_
certificate_ set This property is required. bool - Indicates whether the ca_certificate field is set.
- client_
certificate This property is required. 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_ set This property is required. bool - Indicates whether the client_certificate field is set.
- client_
key This property is required. 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_ set This property is required. bool - Indicates whether the client_key field is set.
- ca
Certificate This property is required. String - Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
- ca
Certificate Set This property is required. Boolean - Indicates whether the ca_certificate field is set.
- client
Certificate This property is required. 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 Set This property is required. Boolean - Indicates whether the client_certificate field is set.
- client
Key This property is required. 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 Set This property is required. Boolean - Indicates whether the client_key field is set.
OracleProfileResponse
- Connection
Attributes This property is required. Dictionary<string, string> - Connection string attributes
- Database
Service This property is required. string - Database for the Oracle connection.
- Hostname
This property is required. string - Hostname for the Oracle connection.
- Password
This property is required. string - Password for the Oracle connection.
- Port
This property is required. int - Port for the Oracle connection, default value is 1521.
- Username
This property is required. string - Username for the Oracle connection.
- Connection
Attributes This property is required. map[string]string - Connection string attributes
- Database
Service This property is required. string - Database for the Oracle connection.
- Hostname
This property is required. string - Hostname for the Oracle connection.
- Password
This property is required. string - Password for the Oracle connection.
- Port
This property is required. int - Port for the Oracle connection, default value is 1521.
- Username
This property is required. string - Username for the Oracle connection.
- connection
Attributes This property is required. Map<String,String> - Connection string attributes
- database
Service This property is required. String - Database for the Oracle connection.
- hostname
This property is required. String - Hostname for the Oracle connection.
- password
This property is required. String - Password for the Oracle connection.
- port
This property is required. Integer - Port for the Oracle connection, default value is 1521.
- username
This property is required. String - Username for the Oracle connection.
- connection
Attributes This property is required. {[key: string]: string} - Connection string attributes
- database
Service This property is required. string - Database for the Oracle connection.
- hostname
This property is required. string - Hostname for the Oracle connection.
- password
This property is required. string - Password for the Oracle connection.
- port
This property is required. number - Port for the Oracle connection, default value is 1521.
- username
This property is required. string - Username for the Oracle connection.
- connection_
attributes This property is required. Mapping[str, str] - Connection string attributes
- database_
service This property is required. str - Database for the Oracle connection.
- hostname
This property is required. str - Hostname for the Oracle connection.
- password
This property is required. str - Password for the Oracle connection.
- port
This property is required. int - Port for the Oracle connection, default value is 1521.
- username
This property is required. str - Username for the Oracle connection.
- connection
Attributes This property is required. Map<String> - Connection string attributes
- database
Service This property is required. String - Database for the Oracle connection.
- hostname
This property is required. String - Hostname for the Oracle connection.
- password
This property is required. String - Password for the Oracle connection.
- port
This property is required. Number - Port for the Oracle connection, default value is 1521.
- username
This property is required. String - Username for the Oracle connection.
PrivateConnectivityResponse
- Private
Connection Name This property is required. string
- Private
Connection Name This property is required. string
- private
Connection Name This property is required. String
- private
Connection Name This property is required. string
- private_
connection_ name This property is required. str
- private
Connection Name This property is required. String
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