Lingua

ArmComputeModelFactory.HostEndpointSettings Method

Definition

Specifies particular host endpoint settings.

public static Azure.ResourceManager.Compute.Models.HostEndpointSettings HostEndpointSettings(Azure.ResourceManager.Compute.Models.HostEndpointSettingsMode? mode, string inVmAccessControlProfileReferenceId, bool? useLocalFileRules);
static member HostEndpointSettings : Nullable<Azure.ResourceManager.Compute.Models.HostEndpointSettingsMode> * string * Nullable<bool> -> Azure.ResourceManager.Compute.Models.HostEndpointSettings
Public Shared Function HostEndpointSettings (mode As Nullable(Of HostEndpointSettingsMode), inVmAccessControlProfileReferenceId As String, useLocalFileRules As Nullable(Of Boolean)) As HostEndpointSettings

Parameters

mode
Nullable<HostEndpointSettingsMode>

Specifies the execution mode. In Audit mode, the system acts as if it is enforcing the access control policy, including emitting access denial entries in the logs but it does not actually deny any requests to host endpoints. In Enforce mode, the system will enforce the access control and it is the recommended mode of operation.

inVmAccessControlProfileReferenceId
String

Specifies the InVMAccessControlProfileVersion resource id in the format of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{profile}/versions/{version}.

useLocalFileRules
Nullable<Boolean>

When set to true, instructs the GuestProxyAgent inside the VM to load additional access control rules defined in a local file on the VM.

Returns

A new HostEndpointSettings instance for mocking.

Applies to