Lingua

ArmNetworkSecurityModelFactory.NeuroShieldProtectedResourceIdentity Method

Definition

Caller-supplied identity of the target VM or VMSS, retained on the protected resource. These identifiers are not independently resolved or verified by this API contract.

public static Azure.ResourceManager.NetworkSecurity.Models.NeuroShieldProtectedResourceIdentity NeuroShieldProtectedResourceIdentity(Guid? principalId = default, Guid? tenantId = default, Azure.ResourceManager.Models.ManagedServiceIdentityType type = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.NetworkSecurity.Models.NeuroShieldProtectedResourceUserAssignedIdentity> userAssignedIdentities = default);
static member NeuroShieldProtectedResourceIdentity : Nullable<Guid> * Nullable<Guid> * Azure.ResourceManager.Models.ManagedServiceIdentityType * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.NetworkSecurity.Models.NeuroShieldProtectedResourceUserAssignedIdentity> -> Azure.ResourceManager.NetworkSecurity.Models.NeuroShieldProtectedResourceIdentity
Public Shared Function NeuroShieldProtectedResourceIdentity (Optional principalId As Nullable(Of Guid) = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional type As ManagedServiceIdentityType = Nothing, Optional userAssignedIdentities As IDictionary(Of String, NeuroShieldProtectedResourceUserAssignedIdentity) = Nothing) As NeuroShieldProtectedResourceIdentity

Parameters

principalId
Nullable<Guid>

Microsoft Entra service principal ID of the target's system-assigned identity. A nonzero value is required for SystemAssigned; omit for UserAssigned.

tenantId
Nullable<Guid>

Microsoft Entra tenant ID of the target's system-assigned identity. A nonzero value is required for SystemAssigned; omit for UserAssigned.

type
ManagedServiceIdentityType

Type of the target identity. None, SystemAssigned, and UserAssigned are supported. The declared combined system/user-assigned value is rejected by the operation. There is no default when an identity object is supplied.

userAssignedIdentities
IDictionary<String,NeuroShieldProtectedResourceUserAssignedIdentity>

User-assigned identities keyed by Azure Resource Manager resource ID. For UserAssigned, supply exactly one non-null entry with a nonblank key and nonzero principalId and clientId. Other identity kinds reject a nonempty map.

Returns

A new NeuroShieldProtectedResourceIdentity instance for mocking.

Applies to