Table of Contents

Struct ManagedServiceIdentityType

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

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

[JsonConverter(typeof(ManagedServiceIdentityType.ManagedServiceIdentityTypeConverter))]
public readonly struct ManagedServiceIdentityType : IEquatable<ManagedServiceIdentityType>
Implements
Inherited Members

Constructors

ManagedServiceIdentityType(string)

Initializes a new instance of ManagedServiceIdentityType.

public ManagedServiceIdentityType(string value)

Parameters

value string

Exceptions

ArgumentNullException

value is null.

Properties

None

None.

public static ManagedServiceIdentityType None { get; }

Property Value

ManagedServiceIdentityType

SystemAssigned

SystemAssigned.

public static ManagedServiceIdentityType SystemAssigned { get; }

Property Value

ManagedServiceIdentityType

SystemAssignedUserAssigned

SystemAssigned, UserAssigned.

public static ManagedServiceIdentityType SystemAssignedUserAssigned { get; }

Property Value

ManagedServiceIdentityType

UserAssigned

UserAssigned.

public static ManagedServiceIdentityType UserAssigned { get; }

Property Value

ManagedServiceIdentityType

Methods

Equals(ManagedServiceIdentityType)

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

public bool Equals(ManagedServiceIdentityType other)

Parameters

other ManagedServiceIdentityType

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

Determines if two ManagedServiceIdentityType values are the same.

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

Parameters

left ManagedServiceIdentityType
right ManagedServiceIdentityType

Returns

bool

implicit operator ManagedServiceIdentityType(string)

Converts a string to a ManagedServiceIdentityType.

public static implicit operator ManagedServiceIdentityType(string value)

Parameters

value string

Returns

ManagedServiceIdentityType

operator !=(ManagedServiceIdentityType, ManagedServiceIdentityType)

Determines if two ManagedServiceIdentityType values are not the same.

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

Parameters

left ManagedServiceIdentityType
right ManagedServiceIdentityType

Returns

bool