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
UriManagement API endpoint base URI.
audience
stringAuthentication audience.
Fields
AzureChina
Azure China Cloud.
public static readonly ArmEnvironment AzureChina
Field Value
AzureGermany
Azure German Cloud.
public static readonly ArmEnvironment AzureGermany
Field Value
AzureGovernment
Azure US Government.
public static readonly ArmEnvironment AzureGovernment
Field Value
AzurePublicCloud
Azure Public Cloud.
public static readonly ArmEnvironment AzurePublicCloud
Field Value
Properties
Audience
Gets authentication audience.
public string Audience { get; }
Property Value
DefaultScope
Gets default authentication scope.
public string DefaultScope { get; }
Property Value
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
ArmEnvironmentAn object to compare with this object.
Returns
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
ArmEnvironmentright
ArmEnvironment
Returns
operator !=(ArmEnvironment, ArmEnvironment)
Determines if two ArmEnvironment values are not the same.
public static bool operator !=(ArmEnvironment left, ArmEnvironment right)
Parameters
left
ArmEnvironmentright
ArmEnvironment