dbtcloud.TeradataCredential
Explore with Pulumi AI
Teradata credential resource
Create TeradataCredential Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TeradataCredential(name: string, args: TeradataCredentialArgs, opts?: CustomResourceOptions);
@overload
def TeradataCredential(resource_name: str,
args: TeradataCredentialArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TeradataCredential(resource_name: str,
opts: Optional[ResourceOptions] = None,
password: Optional[str] = None,
project_id: Optional[int] = None,
schema: Optional[str] = None,
user: Optional[str] = None,
threads: Optional[int] = None)
func NewTeradataCredential(ctx *Context, name string, args TeradataCredentialArgs, opts ...ResourceOption) (*TeradataCredential, error)
public TeradataCredential(string name, TeradataCredentialArgs args, CustomResourceOptions? opts = null)
public TeradataCredential(String name, TeradataCredentialArgs args)
public TeradataCredential(String name, TeradataCredentialArgs args, CustomResourceOptions options)
type: dbtcloud:TeradataCredential
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TeradataCredentialArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TeradataCredentialArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TeradataCredentialArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TeradataCredentialArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TeradataCredentialArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var teradataCredentialResource = new DbtCloud.TeradataCredential("teradataCredentialResource", new()
{
Password = "string",
ProjectId = 0,
Schema = "string",
User = "string",
Threads = 0,
});
example, err := dbtcloud.NewTeradataCredential(ctx, "teradataCredentialResource", &dbtcloud.TeradataCredentialArgs{
Password: pulumi.String("string"),
ProjectId: pulumi.Int(0),
Schema: pulumi.String("string"),
User: pulumi.String("string"),
Threads: pulumi.Int(0),
})
var teradataCredentialResource = new TeradataCredential("teradataCredentialResource", TeradataCredentialArgs.builder()
.password("string")
.projectId(0)
.schema("string")
.user("string")
.threads(0)
.build());
teradata_credential_resource = dbtcloud.TeradataCredential("teradataCredentialResource",
password="string",
project_id=0,
schema="string",
user="string",
threads=0)
const teradataCredentialResource = new dbtcloud.TeradataCredential("teradataCredentialResource", {
password: "string",
projectId: 0,
schema: "string",
user: "string",
threads: 0,
});
type: dbtcloud:TeradataCredential
properties:
password: string
projectId: 0
schema: string
threads: 0
user: string
TeradataCredential Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TeradataCredential resource accepts the following input properties:
- password str
- The password for the Teradata account
- project_
id int - Project ID to create the Teradata/Trino credential in
- schema str
- The schema where to create models
- user str
- The username for the Teradata account
- threads int
- The number of threads to use. Default is 1
Outputs
All input properties are implicitly available as output properties. Additionally, the TeradataCredential resource produces the following output properties:
- Credential
Id int - The internal credential ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Credential
Id int - The internal credential ID
- Id string
- The provider-assigned unique ID for this managed resource.
- credential
Id Integer - The internal credential ID
- id String
- The provider-assigned unique ID for this managed resource.
- credential
Id number - The internal credential ID
- id string
- The provider-assigned unique ID for this managed resource.
- credential_
id int - The internal credential ID
- id str
- The provider-assigned unique ID for this managed resource.
- credential
Id Number - The internal credential ID
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing TeradataCredential Resource
Get an existing TeradataCredential resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TeradataCredentialState, opts?: CustomResourceOptions): TeradataCredential
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
credential_id: Optional[int] = None,
password: Optional[str] = None,
project_id: Optional[int] = None,
schema: Optional[str] = None,
threads: Optional[int] = None,
user: Optional[str] = None) -> TeradataCredential
func GetTeradataCredential(ctx *Context, name string, id IDInput, state *TeradataCredentialState, opts ...ResourceOption) (*TeradataCredential, error)
public static TeradataCredential Get(string name, Input<string> id, TeradataCredentialState? state, CustomResourceOptions? opts = null)
public static TeradataCredential get(String name, Output<String> id, TeradataCredentialState state, CustomResourceOptions options)
resources: _: type: dbtcloud:TeradataCredential get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Credential
Id int - The internal credential ID
- Password string
- The password for the Teradata account
- Project
Id int - Project ID to create the Teradata/Trino credential in
- Schema string
- The schema where to create models
- Threads int
- The number of threads to use. Default is 1
- User string
- The username for the Teradata account
- Credential
Id int - The internal credential ID
- Password string
- The password for the Teradata account
- Project
Id int - Project ID to create the Teradata/Trino credential in
- Schema string
- The schema where to create models
- Threads int
- The number of threads to use. Default is 1
- User string
- The username for the Teradata account
- credential
Id Integer - The internal credential ID
- password String
- The password for the Teradata account
- project
Id Integer - Project ID to create the Teradata/Trino credential in
- schema String
- The schema where to create models
- threads Integer
- The number of threads to use. Default is 1
- user String
- The username for the Teradata account
- credential
Id number - The internal credential ID
- password string
- The password for the Teradata account
- project
Id number - Project ID to create the Teradata/Trino credential in
- schema string
- The schema where to create models
- threads number
- The number of threads to use. Default is 1
- user string
- The username for the Teradata account
- credential_
id int - The internal credential ID
- password str
- The password for the Teradata account
- project_
id int - Project ID to create the Teradata/Trino credential in
- schema str
- The schema where to create models
- threads int
- The number of threads to use. Default is 1
- user str
- The username for the Teradata account
- credential
Id Number - The internal credential ID
- password String
- The password for the Teradata account
- project
Id Number - Project ID to create the Teradata/Trino credential in
- schema String
- The schema where to create models
- threads Number
- The number of threads to use. Default is 1
- user String
- The username for the Teradata account
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dbtcloud
Terraform Provider.