Show / Hide Table of Contents

Class GetTrafficManager

Inheritance
System.Object
GetTrafficManager
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.Network
Assembly: Pulumi.Azure.dll
Syntax
public static class GetTrafficManager

Methods

View Source

InvokeAsync(GetTrafficManagerArgs, InvokeOptions)

Use this data source to access the ID of a specified Traffic Manager Geographical Location within the Geographical Hierarchy.

Example Usage (World)

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(Azure.Network.GetTrafficManager.InvokeAsync(new Azure.Network.GetTrafficManagerArgs
    {
        Name = "World",
    }));
    this.LocationCode = example.Apply(example => example.Id);
}

[Output("locationCode")]
public Output<string> LocationCode { get; set; }
}
Declaration
public static Task<GetTrafficManagerResult> InvokeAsync(GetTrafficManagerArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetTrafficManagerArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetTrafficManagerResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.