Share via


HostEndpointSettings Class

Specifies particular host endpoint settings.

Constructor

HostEndpointSettings(*, mode: str | _models.Modes | None = None, in_vm_access_control_profile_reference_id: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
mode
str or Modes

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. Known values are: "Audit", "Enforce", and "Disabled".

Default value: None
in_vm_access_control_profile_reference_id
str

Specifies the InVMAccessControlProfileVersion resource id in the format of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{profile}/versions/{version}. # pylint: disable=line-too-long

Default value: None

Variables

Name Description
mode
str or Modes

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. Known values are: "Audit", "Enforce", and "Disabled".

in_vm_access_control_profile_reference_id
str

Specifies the InVMAccessControlProfileVersion resource id in the format of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{profile}/versions/{version}. # pylint: disable=line-too-long