Język

ArmNetworkSecurityModelFactory.NeuroShieldProtectedResourceProperties Method

Definition

public static Azure.ResourceManager.NetworkSecurity.Models.NeuroShieldProtectedResourceProperties NeuroShieldProtectedResourceProperties(Azure.ResourceManager.NetworkSecurity.Models.ProvisioningStateNeuroShield? provisioningState = default, Azure.Core.ResourceIdentifier targetResourceId = default, Azure.ResourceManager.NetworkSecurity.Models.NeuroShieldProtectedResourceIdentity targetIdentity = default, DateTimeOffset? agentHealthLastSeenOn = default, Azure.ResourceManager.NetworkSecurity.Models.NeuroShieldInventoryUploadRequestMetadata inventoryUploadRequest = default);
static member NeuroShieldProtectedResourceProperties : Nullable<Azure.ResourceManager.NetworkSecurity.Models.ProvisioningStateNeuroShield> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.NetworkSecurity.Models.NeuroShieldProtectedResourceIdentity * Nullable<DateTimeOffset> * Azure.ResourceManager.NetworkSecurity.Models.NeuroShieldInventoryUploadRequestMetadata -> Azure.ResourceManager.NetworkSecurity.Models.NeuroShieldProtectedResourceProperties
Public Shared Function NeuroShieldProtectedResourceProperties (Optional provisioningState As Nullable(Of ProvisioningStateNeuroShield) = Nothing, Optional targetResourceId As ResourceIdentifier = Nothing, Optional targetIdentity As NeuroShieldProtectedResourceIdentity = Nothing, Optional agentHealthLastSeenOn As Nullable(Of DateTimeOffset) = Nothing, Optional inventoryUploadRequest As NeuroShieldInventoryUploadRequestMetadata = Nothing) As NeuroShieldProtectedResourceProperties

Parameters

provisioningState
Nullable<ProvisioningStateNeuroShield>

Provisioning state of the protected resource.

targetResourceId
ResourceIdentifier

Azure Resource Manager resource ID of the target virtual machine or virtual machine scale set.

targetIdentity
NeuroShieldProtectedResourceIdentity

The optional customer VM or VMSS identity used by the Neuron agent. Omission and explicit None are accepted on create. SystemAssigned requires nonzero principalId and tenantId; UserAssigned requires exactly one non-null dictionary entry with nonzero principalId and clientId and no top-level IDs. The declared combined identity kind is rejected. Caller-supplied identifiers are returned on read; service-side verification of their association with the target remains required. Omission on update preserves the stored identity; a supplied identity must be unchanged. Explicit None cannot clear an existing identity. Changing identity requires deleting and recreating the protected resource.

agentHealthLastSeenOn
Nullable<DateTimeOffset>

The most recent time a liveness signal was observed. The value is absent until the first signal is received.

inventoryUploadRequest
NeuroShieldInventoryUploadRequestMetadata

The current on-demand inventory upload request, when one is active.

Returns

A new NeuroShieldProtectedResourceProperties instance for mocking.

Applies to