Package version:

Interface DedicatedHostUpdate

Specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType may be updated.

interface DedicatedHostUpdate {
    autoReplaceOnFailure?: boolean;
    hostId?: string;
    instanceView?: DedicatedHostInstanceView;
    licenseType?: DedicatedHostLicenseTypes;
    platformFaultDomain?: number;
    provisioningState?: string;
    provisioningTime?: any;
    sku?: Sku;
    tags?: {
        [propertyName: string]: string;
    };
    timeCreated?: any;
    virtualMachines?: SubResourceReadOnly[];
}

Hierarchy (view full)

Properties

autoReplaceOnFailure?: boolean

Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.

hostId?: string

A unique id generated and assigned to the dedicated host by the platform. Does not change throughout the lifetime of the host. NOTE: This property will not be serialized. It can only be populated by the server.

The dedicated host instance view. NOTE: This property will not be serialized. It can only be populated by the server.

Specifies the software license type that will be applied to the VMs deployed on the dedicated host. Possible values are: None, Windows_Server_Hybrid, Windows_Server_Perpetual. The default value is: None.

platformFaultDomain?: number

Fault domain of the dedicated host within a dedicated host group.

provisioningState?: string

The provisioning state, which only appears in the response. NOTE: This property will not be serialized. It can only be populated by the server.

provisioningTime?: any

The date when the host was first provisioned. NOTE: This property will not be serialized. It can only be populated by the server.

sku?: Sku

[List all available dedicated host sizes for resizing] (https://docs.microsoft.com/rest/api/compute/dedicated-hosts/listavailablesizes). Resizing can be only used to scale up DedicatedHost. Only name is required to be set.

tags?: {
    [propertyName: string]: string;
}

Resource tags

timeCreated?: any

Specifies the time at which the Dedicated Host resource was created. Minimum api-version: 2021-11-01. NOTE: This property will not be serialized. It can only be populated by the server.

virtualMachines?: SubResourceReadOnly[]

A list of references to all virtual machines in the Dedicated Host. NOTE: This property will not be serialized. It can only be populated by the server.