共用方式為


DedicatedHostGroupPatch Class

Definition

Specifies information about the dedicated host group that the dedicated host should be assigned to. Only tags may be updated.

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

Constructors

DedicatedHostGroupPatch()

Initializes a new instance of DedicatedHostGroupPatch.

Properties

Hosts

A list of references to all dedicated hosts in the dedicated host group.

InstanceViewHosts

List of instance view of the dedicated hosts under the dedicated host group.

PlatformFaultDomainCount

Number of fault domains that the host group can span.

SupportAutomaticPlacement

Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. Minimum api-version: 2020-06-01.

Tags

Resource tags.

(Inherited from ComputeResourcePatch)
UltraSsdEnabled

The flag that enables or disables a capability to have UltraSSD Enabled Virtual Machines on Dedicated Hosts of the Dedicated Host Group. For the Virtual Machines to be UltraSSD Enabled, UltraSSDEnabled flag for the resource needs to be set true as well. The value is defaulted to 'false' when not provided. Please refer to https://docs.microsoft.com/en-us/azure/virtual-machines/disks-enable-ultra-ssd for more details on Ultra SSD feature. Note: The ultraSSDEnabled setting can only be enabled for Host Groups that are created as zonal. Minimum api-version: 2022-03-01.

Zones

Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ComputeResourcePatch)

Explicit Interface Implementations

IJsonModel<ComputeResourcePatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from ComputeResourcePatch)
IJsonModel<ComputeResourcePatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ComputeResourcePatch)
IJsonModel<DedicatedHostGroupPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DedicatedHostGroupPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeResourcePatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ComputeResourcePatch)
IPersistableModel<ComputeResourcePatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from ComputeResourcePatch)
IPersistableModel<ComputeResourcePatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ComputeResourcePatch)
IPersistableModel<DedicatedHostGroupPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DedicatedHostGroupPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DedicatedHostGroupPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to