共用方式為


ArmResourcesModelFactory.ArmDeploymentScriptManagedIdentity Method

Definition

Initializes a new instance of ArmDeploymentScriptManagedIdentity.

public static Azure.ResourceManager.Resources.Models.ArmDeploymentScriptManagedIdentity ArmDeploymentScriptManagedIdentity (Azure.ResourceManager.Resources.Models.ArmDeploymentScriptManagedIdentityType? identityType = default, Guid? tenantId = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.Models.UserAssignedIdentity> userAssignedIdentities = default);
static member ArmDeploymentScriptManagedIdentity : Nullable<Azure.ResourceManager.Resources.Models.ArmDeploymentScriptManagedIdentityType> * Nullable<Guid> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.Models.UserAssignedIdentity> -> Azure.ResourceManager.Resources.Models.ArmDeploymentScriptManagedIdentity
Public Shared Function ArmDeploymentScriptManagedIdentity (Optional identityType As Nullable(Of ArmDeploymentScriptManagedIdentityType) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional userAssignedIdentities As IDictionary(Of String, UserAssignedIdentity) = Nothing) As ArmDeploymentScriptManagedIdentity

Parameters

identityType
Nullable<ArmDeploymentScriptManagedIdentityType>

Type of the managed identity.

tenantId
Nullable<Guid>

ID of the Azure Active Directory.

userAssignedIdentities
IDictionary<String,UserAssignedIdentity>

The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity.

Returns

A new ArmDeploymentScriptManagedIdentity instance for mocking.

Applies to