Share via


HostEndpointSettings Class

Definition

Specifies particular host endpoint settings.

public class HostEndpointSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.HostEndpointSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.HostEndpointSettings>
type HostEndpointSettings = class
    interface IJsonModel<HostEndpointSettings>
    interface IPersistableModel<HostEndpointSettings>
Public Class HostEndpointSettings
Implements IJsonModel(Of HostEndpointSettings), IPersistableModel(Of HostEndpointSettings)
Inheritance
HostEndpointSettings
Implements

Constructors

HostEndpointSettings()

Initializes a new instance of HostEndpointSettings.

Properties

InVmAccessControlProfileReferenceId

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

Mode

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<HostEndpointSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<HostEndpointSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HostEndpointSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HostEndpointSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<HostEndpointSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to