ResourceIdentity Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.