Language

BulkCreateCustomVmSizeProfile Class

Definition

A VM size profile entry that may additionally carry an optional per-VM-size profile override. Every VM that the service assigns to this size inherits the override, layered on top of the operation-level base profile and beneath any per-VM override. Present only on the bulkCreateCustom endpoint; the uniform endpoint rejects a non-null override.

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

Constructors

Name Description
BulkCreateCustomVmSizeProfile(String, Int32)

Initializes a new instance of BulkCreateCustomVmSizeProfile.

Properties

Name Description
Name

The name of the VM size, eg Standard_D2ads_v5.

Override

Optional per-VM-size profile override applied to every VM the service assigns to this size. A size maps to many VMs, so virtualMachineName is not part of this shape. virtualMachineProfile is layered beneath any per-VM override; tags, identity, and plan are merged with the per-VM override, with the per-VM value winning.

Rank

The rank of this VM size in the priority order.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<BulkCreateCustomVmSizeProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<BulkCreateCustomVmSizeProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<BulkCreateCustomVmSizeProfile>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<BulkCreateCustomVmSizeProfile>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<BulkCreateCustomVmSizeProfile>.Write(ModelReaderWriterOptions)

Applies to