Google Cloud Native v0.30.0, Apr 14 23
Google Cloud Native v0.30.0, Apr 14 23
google-native.bigqueryconnection/v1beta1.getConnection
Explore with Pulumi AI
Returns specified connection.
Using getConnection
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 getConnection(args: GetConnectionArgs, opts?: InvokeOptions): Promise<GetConnectionResult>
function getConnectionOutput(args: GetConnectionOutputArgs, opts?: InvokeOptions): Output<GetConnectionResult>
def get_connection(connection_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConnectionResult
def get_connection_output(connection_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConnectionResult]
func LookupConnection(ctx *Context, args *LookupConnectionArgs, opts ...InvokeOption) (*LookupConnectionResult, error)
func LookupConnectionOutput(ctx *Context, args *LookupConnectionOutputArgs, opts ...InvokeOption) LookupConnectionResultOutput
> Note: This function is named LookupConnection
in the Go SDK.
public static class GetConnection
{
public static Task<GetConnectionResult> InvokeAsync(GetConnectionArgs args, InvokeOptions? opts = null)
public static Output<GetConnectionResult> Invoke(GetConnectionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetConnectionResult> getConnection(GetConnectionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:bigqueryconnection/v1beta1:getConnection
arguments:
# arguments dictionary
The following arguments are supported:
- Connection
Id string - Location string
- Project string
- Connection
Id string - Location string
- Project string
- connection
Id String - location String
- project String
- connection
Id string - location string
- project string
- connection_
id str - location str
- project str
- connection
Id String - location String
- project String
getConnection Result
The following output properties are available:
- Cloud
Sql Pulumi.Google Native. Big Query Connection. V1Beta1. Outputs. Cloud Sql Properties Response Cloud SQL properties.
- Creation
Time string The creation timestamp of the connection.
- Description string
User provided description.
- Friendly
Name string User provided display name for the connection.
- Has
Credential bool True, if credential is configured for this connection.
- Last
Modified stringTime The last update timestamp of the connection.
- Name string
The resource name of the connection in the form of:
projects/{project_id}/locations/{location_id}/connections/{connection_id}
- Cloud
Sql CloudSql Properties Response Cloud SQL properties.
- Creation
Time string The creation timestamp of the connection.
- Description string
User provided description.
- Friendly
Name string User provided display name for the connection.
- Has
Credential bool True, if credential is configured for this connection.
- Last
Modified stringTime The last update timestamp of the connection.
- Name string
The resource name of the connection in the form of:
projects/{project_id}/locations/{location_id}/connections/{connection_id}
- cloud
Sql CloudSql Properties Response Cloud SQL properties.
- creation
Time String The creation timestamp of the connection.
- description String
User provided description.
- friendly
Name String User provided display name for the connection.
- has
Credential Boolean True, if credential is configured for this connection.
- last
Modified StringTime The last update timestamp of the connection.
- name String
The resource name of the connection in the form of:
projects/{project_id}/locations/{location_id}/connections/{connection_id}
- cloud
Sql CloudSql Properties Response Cloud SQL properties.
- creation
Time string The creation timestamp of the connection.
- description string
User provided description.
- friendly
Name string User provided display name for the connection.
- has
Credential boolean True, if credential is configured for this connection.
- last
Modified stringTime The last update timestamp of the connection.
- name string
The resource name of the connection in the form of:
projects/{project_id}/locations/{location_id}/connections/{connection_id}
- cloud_
sql CloudSql Properties Response Cloud SQL properties.
- creation_
time str The creation timestamp of the connection.
- description str
User provided description.
- friendly_
name str User provided display name for the connection.
- has_
credential bool True, if credential is configured for this connection.
- last_
modified_ strtime The last update timestamp of the connection.
- name str
The resource name of the connection in the form of:
projects/{project_id}/locations/{location_id}/connections/{connection_id}
- cloud
Sql Property Map Cloud SQL properties.
- creation
Time String The creation timestamp of the connection.
- description String
User provided description.
- friendly
Name String User provided display name for the connection.
- has
Credential Boolean True, if credential is configured for this connection.
- last
Modified StringTime The last update timestamp of the connection.
- name String
The resource name of the connection in the form of:
projects/{project_id}/locations/{location_id}/connections/{connection_id}
Supporting Types
CloudSqlCredentialResponse
CloudSqlPropertiesResponse
- Credential
Pulumi.
Google Native. Big Query Connection. V1Beta1. Inputs. Cloud Sql Credential Response Input only. Cloud SQL credential.
- Database string
Database name.
- Instance
Id string Cloud SQL instance ID in the form
project:location:instance
.- Service
Account stringId The account ID of the service used for the purpose of this connection. When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.
- Type string
Type of the Cloud SQL database.
- Credential
Cloud
Sql Credential Response Input only. Cloud SQL credential.
- Database string
Database name.
- Instance
Id string Cloud SQL instance ID in the form
project:location:instance
.- Service
Account stringId The account ID of the service used for the purpose of this connection. When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.
- Type string
Type of the Cloud SQL database.
- credential
Cloud
Sql Credential Response Input only. Cloud SQL credential.
- database String
Database name.
- instance
Id String Cloud SQL instance ID in the form
project:location:instance
.- service
Account StringId The account ID of the service used for the purpose of this connection. When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.
- type String
Type of the Cloud SQL database.
- credential
Cloud
Sql Credential Response Input only. Cloud SQL credential.
- database string
Database name.
- instance
Id string Cloud SQL instance ID in the form
project:location:instance
.- service
Account stringId The account ID of the service used for the purpose of this connection. When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.
- type string
Type of the Cloud SQL database.
- credential
Cloud
Sql Credential Response Input only. Cloud SQL credential.
- database str
Database name.
- instance_
id str Cloud SQL instance ID in the form
project:location:instance
.- service_
account_ strid The account ID of the service used for the purpose of this connection. When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.
- type str
Type of the Cloud SQL database.
- credential Property Map
Input only. Cloud SQL credential.
- database String
Database name.
- instance
Id String Cloud SQL instance ID in the form
project:location:instance
.- service
Account StringId The account ID of the service used for the purpose of this connection. When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.
- type String
Type of the Cloud SQL database.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0