dbt Cloud v0.1.25 published on Friday, Nov 8, 2024 by Pulumi
dbtcloud.getPostgresCredential
Explore with Pulumi AI
Using getPostgresCredential
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 getPostgresCredential(args: GetPostgresCredentialArgs, opts?: InvokeOptions): Promise<GetPostgresCredentialResult>
function getPostgresCredentialOutput(args: GetPostgresCredentialOutputArgs, opts?: InvokeOptions): Output<GetPostgresCredentialResult>
def get_postgres_credential(credential_id: Optional[int] = None,
project_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetPostgresCredentialResult
def get_postgres_credential_output(credential_id: Optional[pulumi.Input[int]] = None,
project_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPostgresCredentialResult]
func LookupPostgresCredential(ctx *Context, args *LookupPostgresCredentialArgs, opts ...InvokeOption) (*LookupPostgresCredentialResult, error)
func LookupPostgresCredentialOutput(ctx *Context, args *LookupPostgresCredentialOutputArgs, opts ...InvokeOption) LookupPostgresCredentialResultOutput
> Note: This function is named LookupPostgresCredential
in the Go SDK.
public static class GetPostgresCredential
{
public static Task<GetPostgresCredentialResult> InvokeAsync(GetPostgresCredentialArgs args, InvokeOptions? opts = null)
public static Output<GetPostgresCredentialResult> Invoke(GetPostgresCredentialInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPostgresCredentialResult> getPostgresCredential(GetPostgresCredentialArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: dbtcloud:index/getPostgresCredential:getPostgresCredential
arguments:
# arguments dictionary
The following arguments are supported:
- Credential
Id int - Credential ID
- Project
Id int - Project ID
- Credential
Id int - Credential ID
- Project
Id int - Project ID
- credential
Id Integer - Credential ID
- project
Id Integer - Project ID
- credential
Id number - Credential ID
- project
Id number - Project ID
- credential_
id int - Credential ID
- project_
id int - Project ID
- credential
Id Number - Credential ID
- project
Id Number - Project ID
getPostgresCredential Result
The following output properties are available:
- Credential
Id int - Credential ID
- Default
Schema string - Default schema name
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Active bool - Whether the Postgres credential is active
- Num
Threads int - Number of threads to use
- Project
Id int - Project ID
- Username string
- Username for Postgres
- Credential
Id int - Credential ID
- Default
Schema string - Default schema name
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Active bool - Whether the Postgres credential is active
- Num
Threads int - Number of threads to use
- Project
Id int - Project ID
- Username string
- Username for Postgres
- credential
Id Integer - Credential ID
- default
Schema String - Default schema name
- id String
- The provider-assigned unique ID for this managed resource.
- is
Active Boolean - Whether the Postgres credential is active
- num
Threads Integer - Number of threads to use
- project
Id Integer - Project ID
- username String
- Username for Postgres
- credential
Id number - Credential ID
- default
Schema string - Default schema name
- id string
- The provider-assigned unique ID for this managed resource.
- is
Active boolean - Whether the Postgres credential is active
- num
Threads number - Number of threads to use
- project
Id number - Project ID
- username string
- Username for Postgres
- credential_
id int - Credential ID
- default_
schema str - Default schema name
- id str
- The provider-assigned unique ID for this managed resource.
- is_
active bool - Whether the Postgres credential is active
- num_
threads int - Number of threads to use
- project_
id int - Project ID
- username str
- Username for Postgres
- credential
Id Number - Credential ID
- default
Schema String - Default schema name
- id String
- The provider-assigned unique ID for this managed resource.
- is
Active Boolean - Whether the Postgres credential is active
- num
Threads Number - Number of threads to use
- project
Id Number - Project ID
- username String
- Username for Postgres
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dbtcloud
Terraform Provider.