1. Packages
  2. Azure Classic
  3. API Docs
  4. automation
  5. getVariableObject

We recommend using Azure Native.

Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi

azure.automation.getVariableObject

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi

    Use this data source to access information about an existing Automation Object Variable.

    Using getVariableObject

    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 getVariableObject(args: GetVariableObjectArgs, opts?: InvokeOptions): Promise<GetVariableObjectResult>
    function getVariableObjectOutput(args: GetVariableObjectOutputArgs, opts?: InvokeOptions): Output<GetVariableObjectResult>
    def get_variable_object(automation_account_name: Optional[str] = None,
                            name: Optional[str] = None,
                            resource_group_name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetVariableObjectResult
    def get_variable_object_output(automation_account_name: Optional[pulumi.Input[str]] = None,
                            name: Optional[pulumi.Input[str]] = None,
                            resource_group_name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetVariableObjectResult]
    func LookupVariableObject(ctx *Context, args *LookupVariableObjectArgs, opts ...InvokeOption) (*LookupVariableObjectResult, error)
    func LookupVariableObjectOutput(ctx *Context, args *LookupVariableObjectOutputArgs, opts ...InvokeOption) LookupVariableObjectResultOutput

    > Note: This function is named LookupVariableObject in the Go SDK.

    public static class GetVariableObject 
    {
        public static Task<GetVariableObjectResult> InvokeAsync(GetVariableObjectArgs args, InvokeOptions? opts = null)
        public static Output<GetVariableObjectResult> Invoke(GetVariableObjectInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVariableObjectResult> getVariableObject(GetVariableObjectArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure:automation/getVariableObject:getVariableObject
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AutomationAccountName string
    The name of the automation account in which the Automation Variable exists.
    Name string
    The name of the Automation Variable.
    ResourceGroupName string
    The Name of the Resource Group where the automation account exists.
    AutomationAccountName string
    The name of the automation account in which the Automation Variable exists.
    Name string
    The name of the Automation Variable.
    ResourceGroupName string
    The Name of the Resource Group where the automation account exists.
    automationAccountName String
    The name of the automation account in which the Automation Variable exists.
    name String
    The name of the Automation Variable.
    resourceGroupName String
    The Name of the Resource Group where the automation account exists.
    automationAccountName string
    The name of the automation account in which the Automation Variable exists.
    name string
    The name of the Automation Variable.
    resourceGroupName string
    The Name of the Resource Group where the automation account exists.
    automation_account_name str
    The name of the automation account in which the Automation Variable exists.
    name str
    The name of the Automation Variable.
    resource_group_name str
    The Name of the Resource Group where the automation account exists.
    automationAccountName String
    The name of the automation account in which the Automation Variable exists.
    name String
    The name of the Automation Variable.
    resourceGroupName String
    The Name of the Resource Group where the automation account exists.

    getVariableObject Result

    The following output properties are available:

    AutomationAccountName string
    Description string
    The description of the Automation Variable.
    Encrypted bool
    Specifies if the Automation Variable is encrypted. Defaults to false.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    ResourceGroupName string
    Value string
    The value of the Automation Variable as a json encoded string.
    AutomationAccountName string
    Description string
    The description of the Automation Variable.
    Encrypted bool
    Specifies if the Automation Variable is encrypted. Defaults to false.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    ResourceGroupName string
    Value string
    The value of the Automation Variable as a json encoded string.
    automationAccountName String
    description String
    The description of the Automation Variable.
    encrypted Boolean
    Specifies if the Automation Variable is encrypted. Defaults to false.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    resourceGroupName String
    value String
    The value of the Automation Variable as a json encoded string.
    automationAccountName string
    description string
    The description of the Automation Variable.
    encrypted boolean
    Specifies if the Automation Variable is encrypted. Defaults to false.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    resourceGroupName string
    value string
    The value of the Automation Variable as a json encoded string.
    automation_account_name str
    description str
    The description of the Automation Variable.
    encrypted bool
    Specifies if the Automation Variable is encrypted. Defaults to false.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    resource_group_name str
    value str
    The value of the Automation Variable as a json encoded string.
    automationAccountName String
    description String
    The description of the Automation Variable.
    encrypted Boolean
    Specifies if the Automation Variable is encrypted. Defaults to false.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    resourceGroupName String
    value String
    The value of the Automation Variable as a json encoded string.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi