Share via


ArmIdentity Constructors

Definition

Overloads

ArmIdentity()

Initializes a new instance of the ArmIdentity class.

ArmIdentity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,ArmUserIdentity>)

Initializes a new instance of the ArmIdentity class.

ArmIdentity()

Initializes a new instance of the ArmIdentity class.

public ArmIdentity ();
Public Sub New ()

Applies to

ArmIdentity(String, String, Nullable<ResourceIdentityType>, IDictionary<String,ArmUserIdentity>)

Initializes a new instance of the ArmIdentity class.

public ArmIdentity (string principalId = default, string tenantId = default, Microsoft.Azure.Management.IotHub.Models.ResourceIdentityType? type = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.IotHub.Models.ArmUserIdentity> userAssignedIdentities = default);
new Microsoft.Azure.Management.IotHub.Models.ArmIdentity : string * string * Nullable<Microsoft.Azure.Management.IotHub.Models.ResourceIdentityType> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.IotHub.Models.ArmUserIdentity> -> Microsoft.Azure.Management.IotHub.Models.ArmIdentity
Public Sub New (Optional principalId As String = Nothing, Optional tenantId As String = Nothing, Optional type As Nullable(Of ResourceIdentityType) = Nothing, Optional userAssignedIdentities As IDictionary(Of String, ArmUserIdentity) = Nothing)

Parameters

principalId
String

Principal Id

tenantId
String

Tenant Id

type
Nullable<ResourceIdentityType>

The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. Possible values include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, UserAssigned', 'None'

userAssignedIdentities
IDictionary<String,ArmUserIdentity>

Applies to