Share via


SystemAssignedIdentity Constructors

Definition

Overloads

SystemAssignedIdentity()

Initializes a new instance of the SystemAssignedIdentity class.

SystemAssignedIdentity(String, String, String, String, IDictionary<String,String>, Nullable<Guid>, Nullable<Guid>, Nullable<Guid>, String)

Initializes a new instance of the SystemAssignedIdentity class.

SystemAssignedIdentity()

Initializes a new instance of the SystemAssignedIdentity class.

public SystemAssignedIdentity ();
Public Sub New ()

Applies to

SystemAssignedIdentity(String, String, String, String, IDictionary<String,String>, Nullable<Guid>, Nullable<Guid>, Nullable<Guid>, String)

Initializes a new instance of the SystemAssignedIdentity class.

public SystemAssignedIdentity (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Guid? tenantId = default, Guid? principalId = default, Guid? clientId = default, string clientSecretUrl = default);
new Microsoft.Azure.Management.ManagedServiceIdentity.Models.SystemAssignedIdentity : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<Guid> * Nullable<Guid> * Nullable<Guid> * string -> Microsoft.Azure.Management.ManagedServiceIdentity.Models.SystemAssignedIdentity
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional principalId As Nullable(Of Guid) = Nothing, Optional clientId As Nullable(Of Guid) = Nothing, Optional clientSecretUrl As String = Nothing)

Parameters

location
String

The geo-location where the resource lives

id
String

Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

tags
IDictionary<String,String>

Resource tags

tenantId
Nullable<Guid>

The id of the tenant which the identity belongs to.

principalId
Nullable<Guid>

The id of the service principal object associated with the created identity.

clientId
Nullable<Guid>

The id of the app associated with the identity. This is a random generated UUID by MSI.

clientSecretUrl
String

The ManagedServiceIdentity DataPlane URL that can be queried to obtain the identity credentials.

Applies to