1. Packages
  2. Awx Provider
  3. API Docs
  4. CredentialInputSource
awx 0.29.1 published on Monday, Apr 14, 2025 by denouche

awx.CredentialInputSource

Explore with Pulumi AI

awx logo
awx 0.29.1 published on Monday, Apr 14, 2025 by denouche

    TBD

    Create CredentialInputSource Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CredentialInputSource(name: string, args: CredentialInputSourceArgs, opts?: CustomResourceOptions);
    @overload
    def CredentialInputSource(resource_name: str,
                              args: CredentialInputSourceArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def CredentialInputSource(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              input_field_name: Optional[str] = None,
                              source: Optional[float] = None,
                              target: Optional[float] = None,
                              credential_input_source_id: Optional[str] = None,
                              description: Optional[str] = None,
                              metadata: Optional[Mapping[str, str]] = None)
    func NewCredentialInputSource(ctx *Context, name string, args CredentialInputSourceArgs, opts ...ResourceOption) (*CredentialInputSource, error)
    public CredentialInputSource(string name, CredentialInputSourceArgs args, CustomResourceOptions? opts = null)
    public CredentialInputSource(String name, CredentialInputSourceArgs args)
    public CredentialInputSource(String name, CredentialInputSourceArgs args, CustomResourceOptions options)
    
    type: awx:CredentialInputSource
    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 CredentialInputSourceArgs
    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 CredentialInputSourceArgs
    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 CredentialInputSourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CredentialInputSourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CredentialInputSourceArgs
    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 credentialInputSourceResource = new Awx.CredentialInputSource("credentialInputSourceResource", new()
    {
        InputFieldName = "string",
        Source = 0,
        Target = 0,
        CredentialInputSourceId = "string",
        Description = "string",
        Metadata = 
        {
            { "string", "string" },
        },
    });
    
    example, err := awx.NewCredentialInputSource(ctx, "credentialInputSourceResource", &awx.CredentialInputSourceArgs{
    	InputFieldName:          pulumi.String("string"),
    	Source:                  pulumi.Float64(0),
    	Target:                  pulumi.Float64(0),
    	CredentialInputSourceId: pulumi.String("string"),
    	Description:             pulumi.String("string"),
    	Metadata: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var credentialInputSourceResource = new CredentialInputSource("credentialInputSourceResource", CredentialInputSourceArgs.builder()
        .inputFieldName("string")
        .source(0)
        .target(0)
        .credentialInputSourceId("string")
        .description("string")
        .metadata(Map.of("string", "string"))
        .build());
    
    credential_input_source_resource = awx.CredentialInputSource("credentialInputSourceResource",
        input_field_name="string",
        source=0,
        target=0,
        credential_input_source_id="string",
        description="string",
        metadata={
            "string": "string",
        })
    
    const credentialInputSourceResource = new awx.CredentialInputSource("credentialInputSourceResource", {
        inputFieldName: "string",
        source: 0,
        target: 0,
        credentialInputSourceId: "string",
        description: "string",
        metadata: {
            string: "string",
        },
    });
    
    type: awx:CredentialInputSource
    properties:
        credentialInputSourceId: string
        description: string
        inputFieldName: string
        metadata:
            string: string
        source: 0
        target: 0
    

    CredentialInputSource 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 CredentialInputSource resource accepts the following input properties:

    InputFieldName string
    Source double
    Target double
    CredentialInputSourceId string
    Description string
    Metadata Dictionary<string, string>
    InputFieldName string
    Source float64
    Target float64
    CredentialInputSourceId string
    Description string
    Metadata map[string]string
    inputFieldName String
    source Double
    target Double
    credentialInputSourceId String
    description String
    metadata Map<String,String>
    inputFieldName string
    source number
    target number
    credentialInputSourceId string
    description string
    metadata {[key: string]: string}
    inputFieldName String
    source Number
    target Number
    credentialInputSourceId String
    description String
    metadata Map<String>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CredentialInputSource 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 CredentialInputSource Resource

    Get an existing CredentialInputSource 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?: CredentialInputSourceState, opts?: CustomResourceOptions): CredentialInputSource
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            credential_input_source_id: Optional[str] = None,
            description: Optional[str] = None,
            input_field_name: Optional[str] = None,
            metadata: Optional[Mapping[str, str]] = None,
            source: Optional[float] = None,
            target: Optional[float] = None) -> CredentialInputSource
    func GetCredentialInputSource(ctx *Context, name string, id IDInput, state *CredentialInputSourceState, opts ...ResourceOption) (*CredentialInputSource, error)
    public static CredentialInputSource Get(string name, Input<string> id, CredentialInputSourceState? state, CustomResourceOptions? opts = null)
    public static CredentialInputSource get(String name, Output<String> id, CredentialInputSourceState state, CustomResourceOptions options)
    resources:  _:    type: awx:CredentialInputSource    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.
    The following state arguments are supported:
    CredentialInputSourceId string
    Description string
    InputFieldName string
    Metadata Dictionary<string, string>
    Source double
    Target double
    CredentialInputSourceId string
    Description string
    InputFieldName string
    Metadata map[string]string
    Source float64
    Target float64
    credentialInputSourceId String
    description String
    inputFieldName String
    metadata Map<String,String>
    source Double
    target Double
    credentialInputSourceId string
    description string
    inputFieldName string
    metadata {[key: string]: string}
    source number
    target number
    credentialInputSourceId String
    description String
    inputFieldName String
    metadata Map<String>
    source Number
    target Number

    Package Details

    Repository
    awx denouche/terraform-provider-awx
    License
    Notes
    This Pulumi package is based on the awx Terraform Provider.
    awx logo
    awx 0.29.1 published on Monday, Apr 14, 2025 by denouche