Show / Hide Table of Contents

Class GetIntVariable

Inheritance
System.Object
GetIntVariable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Automation
Assembly: Pulumi.Azure.dll
Syntax
public static class GetIntVariable

Methods

View Source

InvokeAsync(GetIntVariableArgs, InvokeOptions)

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

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(Azure.Automation.GetIntVariable.InvokeAsync(new Azure.Automation.GetIntVariableArgs
    {
        Name = "tfex-example-var",
        ResourceGroupName = "tfex-example-rg",
        AutomationAccountName = "tfex-example-account",
    }));
    this.VariableId = example.Apply(example => example.Id);
}

[Output("variableId")]
public Output<string> VariableId { get; set; }
}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetIntVariableResult> InvokeAsync(GetIntVariableArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetIntVariableArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetIntVariableResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.