Share via


ComputeFleetVmProfile Class

Definition

Describes the base virtual machine profile for fleet.

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

Constructors

ComputeFleetVmProfile()

Initializes a new instance of ComputeFleetVmProfile.

Properties

BootDiagnostics

Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. NOTE: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.

CapacityReservationGroupId

Gets or sets Id.

CreatedOn

Specifies the time in which this VM profile for the Virtual Machine Scale Set was created. Minimum API version for this property is 2023-09-01. This value will be added to VMSS Flex VM tags when creating/updating the VMSS VM Profile with minimum api-version 2023-09-01. Examples: "2024-07-01T00:00:01.1234567+00:00"

ExtensionProfile

Specifies a collection of settings for extensions installed on virtual machines in the scale set.

GalleryApplications

Specifies the gallery applications that should be made available to the VM/VMSS.

HardwareVmSizeProperties

Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in VM Customization for more details.

LicenseType

Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see Azure Hybrid Use Benefit for Windows Server <br><br> Azure Hybrid Use Benefit for Linux Server <br><br> Minimum api-version: 2015-06-15

NetworkProfile

Specifies properties of the network interfaces of the virtual machines in the scale set.

OSProfile

Specifies the operating system settings for the virtual machines in the scale set.

ScheduledEventsProfile

Specifies Scheduled Event related configurations.

SecurityPostureReference

Specifies the security posture to be used for all virtual machines in the scale set. Minimum api-version: 2023-03-01

SecurityProfile

Specifies the Security related profile settings for the virtual machines in the scale set.

ServiceArtifactReferenceId

Gets or sets Id.

StorageProfile

Specifies the storage settings for the virtual machine disks.

UserData

UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum api-version: 2021-03-01.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ComputeFleetVmProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ComputeFleetVmProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeFleetVmProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputeFleetVmProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ComputeFleetVmProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to