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.bigqueryconnection/v1beta1.getConnection
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
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)
public static Output<GetConnectionResult> getConnection(GetConnectionArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:bigqueryconnection/v1beta1:getConnection
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ConnectionId string
- Location string
- Project string
- ConnectionId string
- Location string
- Project string
- connectionId String
- location String
- project String
- connectionId string
- location string
- project string
- connection_id str
- location str
- project str
- connectionId String
- location String
- project String
getConnection Result
The following output properties are available:
- CloudSql Pulumi.Google Native. Big Query Connection. V1Beta1. Outputs. Cloud Sql Properties Response 
- Cloud SQL properties.
- CreationTime string
- The creation timestamp of the connection.
- Description string
- User provided description.
- FriendlyName string
- User provided display name for the connection.
- HasCredential bool
- True, if credential is configured for this connection.
- LastModified 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}
- CloudSql CloudSql Properties Response 
- Cloud SQL properties.
- CreationTime string
- The creation timestamp of the connection.
- Description string
- User provided description.
- FriendlyName string
- User provided display name for the connection.
- HasCredential bool
- True, if credential is configured for this connection.
- LastModified 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}
- cloudSql CloudSql Properties Response 
- Cloud SQL properties.
- creationTime String
- The creation timestamp of the connection.
- description String
- User provided description.
- friendlyName String
- User provided display name for the connection.
- hasCredential Boolean
- True, if credential is configured for this connection.
- lastModified 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}
- cloudSql CloudSql Properties Response 
- Cloud SQL properties.
- creationTime string
- The creation timestamp of the connection.
- description string
- User provided description.
- friendlyName string
- User provided display name for the connection.
- hasCredential boolean
- True, if credential is configured for this connection.
- lastModified 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}
- cloudSql Property Map
- Cloud SQL properties.
- creationTime String
- The creation timestamp of the connection.
- description String
- User provided description.
- friendlyName String
- User provided display name for the connection.
- hasCredential Boolean
- True, if credential is configured for this connection.
- lastModified 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.
- InstanceId string
- Cloud SQL instance ID in the form project:location:instance.
- ServiceAccount 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
CloudSql Credential Response 
- Input only. Cloud SQL credential.
- Database string
- Database name.
- InstanceId string
- Cloud SQL instance ID in the form project:location:instance.
- ServiceAccount 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
CloudSql Credential Response 
- Input only. Cloud SQL credential.
- database String
- Database name.
- instanceId String
- Cloud SQL instance ID in the form project:location:instance.
- serviceAccount 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
CloudSql Credential Response 
- Input only. Cloud SQL credential.
- database string
- Database name.
- instanceId string
- Cloud SQL instance ID in the form project:location:instance.
- serviceAccount 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
CloudSql 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.
- instanceId String
- Cloud SQL instance ID in the form project:location:instance.
- serviceAccount 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
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