你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

HciVmInstanceOSProfileLinuxConfiguration Class

Definition

LinuxConfiguration - linux specific configuration values for the virtual machine instance.

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

Constructors

Name Description
HciVmInstanceOSProfileLinuxConfiguration()

Initializes a new instance of HciVmInstanceOSProfileLinuxConfiguration.

Properties

Name Description
DisablePasswordAuthentication

DisablePasswordAuthentication - whether password authentication should be disabled.

ProvisionVmAgent

Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.

ProvisionVmConfigAgent

Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.

SshPublicKeys

The list of SSH public keys used to authenticate with linux based VMs.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<HciVmInstanceOSProfileLinuxConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HciVmInstanceOSProfileLinuxConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HciVmInstanceOSProfileLinuxConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HciVmInstanceOSProfileLinuxConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HciVmInstanceOSProfileLinuxConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to