awx.CredentialType
Explore with Pulumi AI
TBD
Create CredentialType Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CredentialType(name: string, args: CredentialTypeArgs, opts?: CustomResourceOptions);
@overload
def CredentialType(resource_name: str,
args: CredentialTypeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CredentialType(resource_name: str,
opts: Optional[ResourceOptions] = None,
injectors: Optional[str] = None,
inputs: Optional[str] = None,
credential_type_id: Optional[str] = None,
description: Optional[str] = None,
kind: Optional[str] = None,
name: Optional[str] = None)
func NewCredentialType(ctx *Context, name string, args CredentialTypeArgs, opts ...ResourceOption) (*CredentialType, error)
public CredentialType(string name, CredentialTypeArgs args, CustomResourceOptions? opts = null)
public CredentialType(String name, CredentialTypeArgs args)
public CredentialType(String name, CredentialTypeArgs args, CustomResourceOptions options)
type: awx:CredentialType
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 CredentialTypeArgs
- 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 CredentialTypeArgs
- 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 CredentialTypeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CredentialTypeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CredentialTypeArgs
- 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 credentialTypeResource = new Awx.CredentialType("credentialTypeResource", new()
{
Injectors = "string",
Inputs = "string",
CredentialTypeId = "string",
Description = "string",
Kind = "string",
Name = "string",
});
example, err := awx.NewCredentialType(ctx, "credentialTypeResource", &awx.CredentialTypeArgs{
Injectors: pulumi.String("string"),
Inputs: pulumi.String("string"),
CredentialTypeId: pulumi.String("string"),
Description: pulumi.String("string"),
Kind: pulumi.String("string"),
Name: pulumi.String("string"),
})
var credentialTypeResource = new CredentialType("credentialTypeResource", CredentialTypeArgs.builder()
.injectors("string")
.inputs("string")
.credentialTypeId("string")
.description("string")
.kind("string")
.name("string")
.build());
credential_type_resource = awx.CredentialType("credentialTypeResource",
injectors="string",
inputs="string",
credential_type_id="string",
description="string",
kind="string",
name="string")
const credentialTypeResource = new awx.CredentialType("credentialTypeResource", {
injectors: "string",
inputs: "string",
credentialTypeId: "string",
description: "string",
kind: "string",
name: "string",
});
type: awx:CredentialType
properties:
credentialTypeId: string
description: string
injectors: string
inputs: string
kind: string
name: string
CredentialType 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 CredentialType resource accepts the following input properties:
- Injectors string
- Inputs string
- Credential
Type stringId - Description string
- Optional description of this credential type.
- Kind string
- Choices cloud or net
- Name string
- Name of this credential type.
- Injectors string
- Inputs string
- Credential
Type stringId - Description string
- Optional description of this credential type.
- Kind string
- Choices cloud or net
- Name string
- Name of this credential type.
- injectors String
- inputs String
- credential
Type StringId - description String
- Optional description of this credential type.
- kind String
- Choices cloud or net
- name String
- Name of this credential type.
- injectors string
- inputs string
- credential
Type stringId - description string
- Optional description of this credential type.
- kind string
- Choices cloud or net
- name string
- Name of this credential type.
- injectors str
- inputs str
- credential_
type_ strid - description str
- Optional description of this credential type.
- kind str
- Choices cloud or net
- name str
- Name of this credential type.
- injectors String
- inputs String
- credential
Type StringId - description String
- Optional description of this credential type.
- kind String
- Choices cloud or net
- name String
- Name of this credential type.
Outputs
All input properties are implicitly available as output properties. Additionally, the CredentialType resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CredentialType Resource
Get an existing CredentialType 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?: CredentialTypeState, opts?: CustomResourceOptions): CredentialType
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
credential_type_id: Optional[str] = None,
description: Optional[str] = None,
injectors: Optional[str] = None,
inputs: Optional[str] = None,
kind: Optional[str] = None,
name: Optional[str] = None) -> CredentialType
func GetCredentialType(ctx *Context, name string, id IDInput, state *CredentialTypeState, opts ...ResourceOption) (*CredentialType, error)
public static CredentialType Get(string name, Input<string> id, CredentialTypeState? state, CustomResourceOptions? opts = null)
public static CredentialType get(String name, Output<String> id, CredentialTypeState state, CustomResourceOptions options)
resources: _: type: awx:CredentialType 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
Type stringId - Description string
- Optional description of this credential type.
- Injectors string
- Inputs string
- Kind string
- Choices cloud or net
- Name string
- Name of this credential type.
- Credential
Type stringId - Description string
- Optional description of this credential type.
- Injectors string
- Inputs string
- Kind string
- Choices cloud or net
- Name string
- Name of this credential type.
- credential
Type StringId - description String
- Optional description of this credential type.
- injectors String
- inputs String
- kind String
- Choices cloud or net
- name String
- Name of this credential type.
- credential
Type stringId - description string
- Optional description of this credential type.
- injectors string
- inputs string
- kind string
- Choices cloud or net
- name string
- Name of this credential type.
- credential_
type_ strid - description str
- Optional description of this credential type.
- injectors str
- inputs str
- kind str
- Choices cloud or net
- name str
- Name of this credential type.
- credential
Type StringId - description String
- Optional description of this credential type.
- injectors String
- inputs String
- kind String
- Choices cloud or net
- name String
- Name of this credential type.
Package Details
- Repository
- awx denouche/terraform-provider-awx
- License
- Notes
- This Pulumi package is based on the
awx
Terraform Provider.