Język

NeuroShieldProtectedResourceIdentity Class

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 class NeuroShieldProtectedResourceIdentity : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.NetworkSecurity.Models.NeuroShieldProtectedResourceIdentity>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.NetworkSecurity.Models.NeuroShieldProtectedResourceIdentity>
type NeuroShieldProtectedResourceIdentity = class
    interface IJsonModel<NeuroShieldProtectedResourceIdentity>
    interface IPersistableModel<NeuroShieldProtectedResourceIdentity>
Public Class NeuroShieldProtectedResourceIdentity
Implements IJsonModel(Of NeuroShieldProtectedResourceIdentity), IPersistableModel(Of NeuroShieldProtectedResourceIdentity)
Inheritance
NeuroShieldProtectedResourceIdentity
Implements

Constructors

Name Description
NeuroShieldProtectedResourceIdentity(ManagedServiceIdentityType)

Initializes a new instance of NeuroShieldProtectedResourceIdentity.

Properties

Name Description
PrincipalId

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

TenantId

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

Type

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

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.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<NeuroShieldProtectedResourceIdentity>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<NeuroShieldProtectedResourceIdentity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<NeuroShieldProtectedResourceIdentity>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<NeuroShieldProtectedResourceIdentity>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<NeuroShieldProtectedResourceIdentity>.Write(ModelReaderWriterOptions)

Applies to