ComputeBatchModelFactory.BatchUserAssignedIdentity Method
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.
Initializes a new instance of BatchUserAssignedIdentity.
public static Azure.Compute.Batch.BatchUserAssignedIdentity BatchUserAssignedIdentity(Azure.Core.ResourceIdentifier resourceId = default, string clientId = default, string principalId = default);
static member BatchUserAssignedIdentity : Azure.Core.ResourceIdentifier * string * string -> Azure.Compute.Batch.BatchUserAssignedIdentity
Public Shared Function BatchUserAssignedIdentity (Optional resourceId As ResourceIdentifier = Nothing, Optional clientId As String = Nothing, Optional principalId As String = Nothing) As BatchUserAssignedIdentity
Parameters
- resourceId
- ResourceIdentifier
The ARM resource id of the user assigned identity.
- clientId
- String
The client id of the user assigned identity.
- principalId
- String
The principal id of the user assigned identity.
Returns
A new BatchUserAssignedIdentity instance for mocking.