共用方式為


ResourceIdentity Constructors

Definition

Overloads

ResourceIdentity()

Initializes a new instance of the ResourceIdentity class.

ResourceIdentity(Boolean, String)

Initializes a new instance of the ResourceIdentity class.

ResourceIdentity()

Initializes a new instance of the ResourceIdentity class.

public ResourceIdentity ();
Public Sub New ()

Applies to

ResourceIdentity(Boolean, String)

Initializes a new instance of the ResourceIdentity class.

public ResourceIdentity (bool useSystemAssignedIdentity, string userAssignedIdentity = default);
new Microsoft.Azure.Management.Media.Models.ResourceIdentity : bool * string -> Microsoft.Azure.Management.Media.Models.ResourceIdentity
Public Sub New (useSystemAssignedIdentity As Boolean, Optional userAssignedIdentity As String = Nothing)

Parameters

useSystemAssignedIdentity
Boolean

Indicates whether to use System Assigned Managed Identity. Mutual exclusive with User Assigned Managed Identity.

userAssignedIdentity
String

The user assigned managed identity's ARM ID to use when accessing a resource.

Applies to