Table of Contents

Struct ArmEnvironment

Namespace
Azure.ResourceManager
Assembly
Azure.ResourceManager.dll

ArmEnvrionment represents the information of an Azure Cloud environment.

public readonly struct ArmEnvironment : IEquatable<ArmEnvironment>
Implements
Inherited Members

Constructors

ArmEnvironment(Uri, string)

Construct an ArmEnvironment using the given value.

public ArmEnvironment(Uri endpoint, string audience)

Parameters

endpoint Uri

Management API endpoint base URI.

audience string

Authentication audience.

Fields

AzureChina

Azure China Cloud.

public static readonly ArmEnvironment AzureChina

Field Value

ArmEnvironment

AzureGermany

Azure German Cloud.

public static readonly ArmEnvironment AzureGermany

Field Value

ArmEnvironment

AzureGovernment

Azure US Government.

public static readonly ArmEnvironment AzureGovernment

Field Value

ArmEnvironment

AzurePublicCloud

Azure Public Cloud.

public static readonly ArmEnvironment AzurePublicCloud

Field Value

ArmEnvironment

Properties

Audience

Gets authentication audience.

public string Audience { get; }

Property Value

string

DefaultScope

Gets default authentication scope.

public string DefaultScope { get; }

Property Value

string

Endpoint

Gets base URI of the management API endpoint.

public Uri Endpoint { get; }

Property Value

Uri

Methods

Equals(ArmEnvironment)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ArmEnvironment other)

Parameters

other ArmEnvironment

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

Operators

operator ==(ArmEnvironment, ArmEnvironment)

Determines if two ArmEnvironment values are the same.

public static bool operator ==(ArmEnvironment left, ArmEnvironment right)

Parameters

left ArmEnvironment
right ArmEnvironment

Returns

bool

operator !=(ArmEnvironment, ArmEnvironment)

Determines if two ArmEnvironment values are not the same.

public static bool operator !=(ArmEnvironment left, ArmEnvironment right)

Parameters

left ArmEnvironment
right ArmEnvironment

Returns

bool