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
NotRequired
NotRequired.
public static ProviderAuthorizationConsentState NotRequired { get; }
Property Value
NotSpecified
NotSpecified.
public static ProviderAuthorizationConsentState NotSpecified { get; }
Property Value
Required
Required.
public static ProviderAuthorizationConsentState Required { get; }
Property Value
Methods
Equals(ProviderAuthorizationConsentState)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ProviderAuthorizationConsentState other)
Parameters
other
ProviderAuthorizationConsentStateAn 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 ==(ProviderAuthorizationConsentState, ProviderAuthorizationConsentState)
Determines if two ProviderAuthorizationConsentState values are the same.
public static bool operator ==(ProviderAuthorizationConsentState left, ProviderAuthorizationConsentState right)
Parameters
Returns
implicit operator ProviderAuthorizationConsentState(string)
Converts a string to a ProviderAuthorizationConsentState.
public static implicit operator ProviderAuthorizationConsentState(string value)
Parameters
value
string
Returns
operator !=(ProviderAuthorizationConsentState, ProviderAuthorizationConsentState)
Determines if two ProviderAuthorizationConsentState values are not the same.
public static bool operator !=(ProviderAuthorizationConsentState left, ProviderAuthorizationConsentState right)