Table of Contents

Struct ProviderAuthorizationConsentState

Namespace
Azure.ResourceManager.Resources.Models
Assembly
Azure.ResourceManager.dll

The provider authorization consent state.

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

Constructors

ProviderAuthorizationConsentState(string)

Initializes a new instance of ProviderAuthorizationConsentState.

public ProviderAuthorizationConsentState(string value)

Parameters

value string

Exceptions

ArgumentNullException

value is null.

Properties

Consented

Consented.

public static ProviderAuthorizationConsentState Consented { get; }

Property Value

ProviderAuthorizationConsentState

NotRequired

NotRequired.

public static ProviderAuthorizationConsentState NotRequired { get; }

Property Value

ProviderAuthorizationConsentState

NotSpecified

NotSpecified.

public static ProviderAuthorizationConsentState NotSpecified { get; }

Property Value

ProviderAuthorizationConsentState

Required

Required.

public static ProviderAuthorizationConsentState Required { get; }

Property Value

ProviderAuthorizationConsentState

Methods

Equals(ProviderAuthorizationConsentState)

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

public bool Equals(ProviderAuthorizationConsentState other)

Parameters

other ProviderAuthorizationConsentState

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 ==(ProviderAuthorizationConsentState, ProviderAuthorizationConsentState)

Determines if two ProviderAuthorizationConsentState values are the same.

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

Parameters

left ProviderAuthorizationConsentState
right ProviderAuthorizationConsentState

Returns

bool

implicit operator ProviderAuthorizationConsentState(string)

Converts a string to a ProviderAuthorizationConsentState.

public static implicit operator ProviderAuthorizationConsentState(string value)

Parameters

value string

Returns

ProviderAuthorizationConsentState

operator !=(ProviderAuthorizationConsentState, ProviderAuthorizationConsentState)

Determines if two ProviderAuthorizationConsentState values are not the same.

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

Parameters

left ProviderAuthorizationConsentState
right ProviderAuthorizationConsentState

Returns

bool