Azure Classic

Pulumi Official
Package maintained by Pulumi
v5.15.0 published on Wednesday, Aug 17, 2022 by Pulumi

DedicatedHost

Manage a Dedicated Host within a Dedicated Host Group.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
    {
        Location = "West Europe",
    });

    var exampleDedicatedHostGroup = new Azure.Compute.DedicatedHostGroup("exampleDedicatedHostGroup", new()
    {
        ResourceGroupName = exampleResourceGroup.Name,
        Location = exampleResourceGroup.Location,
        PlatformFaultDomainCount = 2,
    });

    var exampleDedicatedHost = new Azure.Compute.DedicatedHost("exampleDedicatedHost", new()
    {
        Location = exampleResourceGroup.Location,
        DedicatedHostGroupId = exampleDedicatedHostGroup.Id,
        SkuName = "DSv3-Type1",
        PlatformFaultDomain = 1,
    });

});
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/compute"
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleDedicatedHostGroup, err := compute.NewDedicatedHostGroup(ctx, "exampleDedicatedHostGroup", &compute.DedicatedHostGroupArgs{
			ResourceGroupName:        exampleResourceGroup.Name,
			Location:                 exampleResourceGroup.Location,
			PlatformFaultDomainCount: pulumi.Int(2),
		})
		if err != nil {
			return err
		}
		_, err = compute.NewDedicatedHost(ctx, "exampleDedicatedHost", &compute.DedicatedHostArgs{
			Location:             exampleResourceGroup.Location,
			DedicatedHostGroupId: exampleDedicatedHostGroup.ID(),
			SkuName:              pulumi.String("DSv3-Type1"),
			PlatformFaultDomain:  pulumi.Int(1),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.compute.DedicatedHostGroup;
import com.pulumi.azure.compute.DedicatedHostGroupArgs;
import com.pulumi.azure.compute.DedicatedHost;
import com.pulumi.azure.compute.DedicatedHostArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
            .location("West Europe")
            .build());

        var exampleDedicatedHostGroup = new DedicatedHostGroup("exampleDedicatedHostGroup", DedicatedHostGroupArgs.builder()        
            .resourceGroupName(exampleResourceGroup.name())
            .location(exampleResourceGroup.location())
            .platformFaultDomainCount(2)
            .build());

        var exampleDedicatedHost = new DedicatedHost("exampleDedicatedHost", DedicatedHostArgs.builder()        
            .location(exampleResourceGroup.location())
            .dedicatedHostGroupId(exampleDedicatedHostGroup.id())
            .skuName("DSv3-Type1")
            .platformFaultDomain(1)
            .build());

    }
}
import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_dedicated_host_group = azure.compute.DedicatedHostGroup("exampleDedicatedHostGroup",
    resource_group_name=example_resource_group.name,
    location=example_resource_group.location,
    platform_fault_domain_count=2)
example_dedicated_host = azure.compute.DedicatedHost("exampleDedicatedHost",
    location=example_resource_group.location,
    dedicated_host_group_id=example_dedicated_host_group.id,
    sku_name="DSv3-Type1",
    platform_fault_domain=1)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleDedicatedHostGroup = new azure.compute.DedicatedHostGroup("exampleDedicatedHostGroup", {
    resourceGroupName: exampleResourceGroup.name,
    location: exampleResourceGroup.location,
    platformFaultDomainCount: 2,
});
const exampleDedicatedHost = new azure.compute.DedicatedHost("exampleDedicatedHost", {
    location: exampleResourceGroup.location,
    dedicatedHostGroupId: exampleDedicatedHostGroup.id,
    skuName: "DSv3-Type1",
    platformFaultDomain: 1,
});
resources:
  exampleResourceGroup:
    type: azure:core:ResourceGroup
    properties:
      location: West Europe
  exampleDedicatedHostGroup:
    type: azure:compute:DedicatedHostGroup
    properties:
      resourceGroupName: ${exampleResourceGroup.name}
      location: ${exampleResourceGroup.location}
      platformFaultDomainCount: 2
  exampleDedicatedHost:
    type: azure:compute:DedicatedHost
    properties:
      location: ${exampleResourceGroup.location}
      dedicatedHostGroupId: ${exampleDedicatedHostGroup.id}
      skuName: DSv3-Type1
      platformFaultDomain: 1

Create a DedicatedHost Resource

new DedicatedHost(name: string, args: DedicatedHostArgs, opts?: CustomResourceOptions);
@overload
def DedicatedHost(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  auto_replace_on_failure: Optional[bool] = None,
                  dedicated_host_group_id: Optional[str] = None,
                  license_type: Optional[str] = None,
                  location: Optional[str] = None,
                  name: Optional[str] = None,
                  platform_fault_domain: Optional[int] = None,
                  sku_name: Optional[str] = None,
                  tags: Optional[Mapping[str, str]] = None)
@overload
def DedicatedHost(resource_name: str,
                  args: DedicatedHostArgs,
                  opts: Optional[ResourceOptions] = None)
func NewDedicatedHost(ctx *Context, name string, args DedicatedHostArgs, opts ...ResourceOption) (*DedicatedHost, error)
public DedicatedHost(string name, DedicatedHostArgs args, CustomResourceOptions? opts = null)
public DedicatedHost(String name, DedicatedHostArgs args)
public DedicatedHost(String name, DedicatedHostArgs args, CustomResourceOptions options)
type: azure:compute:DedicatedHost
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DedicatedHostArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args DedicatedHostArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DedicatedHostArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DedicatedHostArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DedicatedHostArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DedicatedHost Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DedicatedHost resource accepts the following input properties:

DedicatedHostGroupId string

Specifies the ID of the Dedicated Host Group where the Dedicated Host should exist. Changing this forces a new resource to be created.

PlatformFaultDomain int

Specify the fault domain of the Dedicated Host Group in which to create the Dedicated Host. Changing this forces a new resource to be created.

SkuName string

Specify the SKU name of the Dedicated Host. Possible values are DSv3-Type1, DSv3-Type2, DSv4-Type1, ESv3-Type1, ESv3-Type2, FSv2-Type2, DASv4-Type1, DCSv2-Type1, DDSv4-Type1, DSv3-Type1, DSv3-Type2, DSv3-Type3, DSv3-Type4, DSv4-Type1, EASv4-Type1, EDSv4-Type1, ESv3-Type1, ESv3-Type2, ESv3-Type3, ESv3-Type4, ESv4-Type1, FSv2-Type2, FSv2-Type3, LSv2-Type1, MS-Type1, MSm-Type1, MSmv2-Type1, MSv2-Type1, NVASv4-Type1 and NVSv3-Type1. Changing this forces a new resource to be created.

AutoReplaceOnFailure bool

Should the Dedicated Host automatically be replaced in case of a Hardware Failure? Defaults to true.

LicenseType string

Specifies the software license type that will be applied to the VMs deployed on the Dedicated Host. Possible values are None, Windows_Server_Hybrid and Windows_Server_Perpetual. Defaults to None.

Location string

Specify the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of this Dedicated Host. Changing this forces a new resource to be created.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

DedicatedHostGroupId string

Specifies the ID of the Dedicated Host Group where the Dedicated Host should exist. Changing this forces a new resource to be created.

PlatformFaultDomain int

Specify the fault domain of the Dedicated Host Group in which to create the Dedicated Host. Changing this forces a new resource to be created.

SkuName string

Specify the SKU name of the Dedicated Host. Possible values are DSv3-Type1, DSv3-Type2, DSv4-Type1, ESv3-Type1, ESv3-Type2, FSv2-Type2, DASv4-Type1, DCSv2-Type1, DDSv4-Type1, DSv3-Type1, DSv3-Type2, DSv3-Type3, DSv3-Type4, DSv4-Type1, EASv4-Type1, EDSv4-Type1, ESv3-Type1, ESv3-Type2, ESv3-Type3, ESv3-Type4, ESv4-Type1, FSv2-Type2, FSv2-Type3, LSv2-Type1, MS-Type1, MSm-Type1, MSmv2-Type1, MSv2-Type1, NVASv4-Type1 and NVSv3-Type1. Changing this forces a new resource to be created.

AutoReplaceOnFailure bool

Should the Dedicated Host automatically be replaced in case of a Hardware Failure? Defaults to true.

LicenseType string

Specifies the software license type that will be applied to the VMs deployed on the Dedicated Host. Possible values are None, Windows_Server_Hybrid and Windows_Server_Perpetual. Defaults to None.

Location string

Specify the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of this Dedicated Host. Changing this forces a new resource to be created.

Tags map[string]string

A mapping of tags to assign to the resource.

dedicatedHostGroupId String

Specifies the ID of the Dedicated Host Group where the Dedicated Host should exist. Changing this forces a new resource to be created.

platformFaultDomain Integer

Specify the fault domain of the Dedicated Host Group in which to create the Dedicated Host. Changing this forces a new resource to be created.

skuName String

Specify the SKU name of the Dedicated Host. Possible values are DSv3-Type1, DSv3-Type2, DSv4-Type1, ESv3-Type1, ESv3-Type2, FSv2-Type2, DASv4-Type1, DCSv2-Type1, DDSv4-Type1, DSv3-Type1, DSv3-Type2, DSv3-Type3, DSv3-Type4, DSv4-Type1, EASv4-Type1, EDSv4-Type1, ESv3-Type1, ESv3-Type2, ESv3-Type3, ESv3-Type4, ESv4-Type1, FSv2-Type2, FSv2-Type3, LSv2-Type1, MS-Type1, MSm-Type1, MSmv2-Type1, MSv2-Type1, NVASv4-Type1 and NVSv3-Type1. Changing this forces a new resource to be created.

autoReplaceOnFailure Boolean

Should the Dedicated Host automatically be replaced in case of a Hardware Failure? Defaults to true.

licenseType String

Specifies the software license type that will be applied to the VMs deployed on the Dedicated Host. Possible values are None, Windows_Server_Hybrid and Windows_Server_Perpetual. Defaults to None.

location String

Specify the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name String

Specifies the name of this Dedicated Host. Changing this forces a new resource to be created.

tags Map<String,String>

A mapping of tags to assign to the resource.

dedicatedHostGroupId string

Specifies the ID of the Dedicated Host Group where the Dedicated Host should exist. Changing this forces a new resource to be created.

platformFaultDomain number

Specify the fault domain of the Dedicated Host Group in which to create the Dedicated Host. Changing this forces a new resource to be created.

skuName string

Specify the SKU name of the Dedicated Host. Possible values are DSv3-Type1, DSv3-Type2, DSv4-Type1, ESv3-Type1, ESv3-Type2, FSv2-Type2, DASv4-Type1, DCSv2-Type1, DDSv4-Type1, DSv3-Type1, DSv3-Type2, DSv3-Type3, DSv3-Type4, DSv4-Type1, EASv4-Type1, EDSv4-Type1, ESv3-Type1, ESv3-Type2, ESv3-Type3, ESv3-Type4, ESv4-Type1, FSv2-Type2, FSv2-Type3, LSv2-Type1, MS-Type1, MSm-Type1, MSmv2-Type1, MSv2-Type1, NVASv4-Type1 and NVSv3-Type1. Changing this forces a new resource to be created.

autoReplaceOnFailure boolean

Should the Dedicated Host automatically be replaced in case of a Hardware Failure? Defaults to true.

licenseType string

Specifies the software license type that will be applied to the VMs deployed on the Dedicated Host. Possible values are None, Windows_Server_Hybrid and Windows_Server_Perpetual. Defaults to None.

location string

Specify the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name string

Specifies the name of this Dedicated Host. Changing this forces a new resource to be created.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

dedicated_host_group_id str

Specifies the ID of the Dedicated Host Group where the Dedicated Host should exist. Changing this forces a new resource to be created.

platform_fault_domain int

Specify the fault domain of the Dedicated Host Group in which to create the Dedicated Host. Changing this forces a new resource to be created.

sku_name str

Specify the SKU name of the Dedicated Host. Possible values are DSv3-Type1, DSv3-Type2, DSv4-Type1, ESv3-Type1, ESv3-Type2, FSv2-Type2, DASv4-Type1, DCSv2-Type1, DDSv4-Type1, DSv3-Type1, DSv3-Type2, DSv3-Type3, DSv3-Type4, DSv4-Type1, EASv4-Type1, EDSv4-Type1, ESv3-Type1, ESv3-Type2, ESv3-Type3, ESv3-Type4, ESv4-Type1, FSv2-Type2, FSv2-Type3, LSv2-Type1, MS-Type1, MSm-Type1, MSmv2-Type1, MSv2-Type1, NVASv4-Type1 and NVSv3-Type1. Changing this forces a new resource to be created.

auto_replace_on_failure bool

Should the Dedicated Host automatically be replaced in case of a Hardware Failure? Defaults to true.

license_type str

Specifies the software license type that will be applied to the VMs deployed on the Dedicated Host. Possible values are None, Windows_Server_Hybrid and Windows_Server_Perpetual. Defaults to None.

location str

Specify the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name str

Specifies the name of this Dedicated Host. Changing this forces a new resource to be created.

tags Mapping[str, str]

A mapping of tags to assign to the resource.

dedicatedHostGroupId String

Specifies the ID of the Dedicated Host Group where the Dedicated Host should exist. Changing this forces a new resource to be created.

platformFaultDomain Number

Specify the fault domain of the Dedicated Host Group in which to create the Dedicated Host. Changing this forces a new resource to be created.

skuName String

Specify the SKU name of the Dedicated Host. Possible values are DSv3-Type1, DSv3-Type2, DSv4-Type1, ESv3-Type1, ESv3-Type2, FSv2-Type2, DASv4-Type1, DCSv2-Type1, DDSv4-Type1, DSv3-Type1, DSv3-Type2, DSv3-Type3, DSv3-Type4, DSv4-Type1, EASv4-Type1, EDSv4-Type1, ESv3-Type1, ESv3-Type2, ESv3-Type3, ESv3-Type4, ESv4-Type1, FSv2-Type2, FSv2-Type3, LSv2-Type1, MS-Type1, MSm-Type1, MSmv2-Type1, MSv2-Type1, NVASv4-Type1 and NVSv3-Type1. Changing this forces a new resource to be created.

autoReplaceOnFailure Boolean

Should the Dedicated Host automatically be replaced in case of a Hardware Failure? Defaults to true.

licenseType String

Specifies the software license type that will be applied to the VMs deployed on the Dedicated Host. Possible values are None, Windows_Server_Hybrid and Windows_Server_Perpetual. Defaults to None.

location String

Specify the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name String

Specifies the name of this Dedicated Host. Changing this forces a new resource to be created.

tags Map<String>

A mapping of tags to assign to the resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the DedicatedHost resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up an Existing DedicatedHost Resource

Get an existing DedicatedHost resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DedicatedHostState, opts?: CustomResourceOptions): DedicatedHost
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        auto_replace_on_failure: Optional[bool] = None,
        dedicated_host_group_id: Optional[str] = None,
        license_type: Optional[str] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        platform_fault_domain: Optional[int] = None,
        sku_name: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None) -> DedicatedHost
func GetDedicatedHost(ctx *Context, name string, id IDInput, state *DedicatedHostState, opts ...ResourceOption) (*DedicatedHost, error)
public static DedicatedHost Get(string name, Input<string> id, DedicatedHostState? state, CustomResourceOptions? opts = null)
public static DedicatedHost get(String name, Output<String> id, DedicatedHostState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AutoReplaceOnFailure bool

Should the Dedicated Host automatically be replaced in case of a Hardware Failure? Defaults to true.

DedicatedHostGroupId string

Specifies the ID of the Dedicated Host Group where the Dedicated Host should exist. Changing this forces a new resource to be created.

LicenseType string

Specifies the software license type that will be applied to the VMs deployed on the Dedicated Host. Possible values are None, Windows_Server_Hybrid and Windows_Server_Perpetual. Defaults to None.

Location string

Specify the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of this Dedicated Host. Changing this forces a new resource to be created.

PlatformFaultDomain int

Specify the fault domain of the Dedicated Host Group in which to create the Dedicated Host. Changing this forces a new resource to be created.

SkuName string

Specify the SKU name of the Dedicated Host. Possible values are DSv3-Type1, DSv3-Type2, DSv4-Type1, ESv3-Type1, ESv3-Type2, FSv2-Type2, DASv4-Type1, DCSv2-Type1, DDSv4-Type1, DSv3-Type1, DSv3-Type2, DSv3-Type3, DSv3-Type4, DSv4-Type1, EASv4-Type1, EDSv4-Type1, ESv3-Type1, ESv3-Type2, ESv3-Type3, ESv3-Type4, ESv4-Type1, FSv2-Type2, FSv2-Type3, LSv2-Type1, MS-Type1, MSm-Type1, MSmv2-Type1, MSv2-Type1, NVASv4-Type1 and NVSv3-Type1. Changing this forces a new resource to be created.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

AutoReplaceOnFailure bool

Should the Dedicated Host automatically be replaced in case of a Hardware Failure? Defaults to true.

DedicatedHostGroupId string

Specifies the ID of the Dedicated Host Group where the Dedicated Host should exist. Changing this forces a new resource to be created.

LicenseType string

Specifies the software license type that will be applied to the VMs deployed on the Dedicated Host. Possible values are None, Windows_Server_Hybrid and Windows_Server_Perpetual. Defaults to None.

Location string

Specify the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Name string

Specifies the name of this Dedicated Host. Changing this forces a new resource to be created.

PlatformFaultDomain int

Specify the fault domain of the Dedicated Host Group in which to create the Dedicated Host. Changing this forces a new resource to be created.

SkuName string

Specify the SKU name of the Dedicated Host. Possible values are DSv3-Type1, DSv3-Type2, DSv4-Type1, ESv3-Type1, ESv3-Type2, FSv2-Type2, DASv4-Type1, DCSv2-Type1, DDSv4-Type1, DSv3-Type1, DSv3-Type2, DSv3-Type3, DSv3-Type4, DSv4-Type1, EASv4-Type1, EDSv4-Type1, ESv3-Type1, ESv3-Type2, ESv3-Type3, ESv3-Type4, ESv4-Type1, FSv2-Type2, FSv2-Type3, LSv2-Type1, MS-Type1, MSm-Type1, MSmv2-Type1, MSv2-Type1, NVASv4-Type1 and NVSv3-Type1. Changing this forces a new resource to be created.

Tags map[string]string

A mapping of tags to assign to the resource.

autoReplaceOnFailure Boolean

Should the Dedicated Host automatically be replaced in case of a Hardware Failure? Defaults to true.

dedicatedHostGroupId String

Specifies the ID of the Dedicated Host Group where the Dedicated Host should exist. Changing this forces a new resource to be created.

licenseType String

Specifies the software license type that will be applied to the VMs deployed on the Dedicated Host. Possible values are None, Windows_Server_Hybrid and Windows_Server_Perpetual. Defaults to None.

location String

Specify the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name String

Specifies the name of this Dedicated Host. Changing this forces a new resource to be created.

platformFaultDomain Integer

Specify the fault domain of the Dedicated Host Group in which to create the Dedicated Host. Changing this forces a new resource to be created.

skuName String

Specify the SKU name of the Dedicated Host. Possible values are DSv3-Type1, DSv3-Type2, DSv4-Type1, ESv3-Type1, ESv3-Type2, FSv2-Type2, DASv4-Type1, DCSv2-Type1, DDSv4-Type1, DSv3-Type1, DSv3-Type2, DSv3-Type3, DSv3-Type4, DSv4-Type1, EASv4-Type1, EDSv4-Type1, ESv3-Type1, ESv3-Type2, ESv3-Type3, ESv3-Type4, ESv4-Type1, FSv2-Type2, FSv2-Type3, LSv2-Type1, MS-Type1, MSm-Type1, MSmv2-Type1, MSv2-Type1, NVASv4-Type1 and NVSv3-Type1. Changing this forces a new resource to be created.

tags Map<String,String>

A mapping of tags to assign to the resource.

autoReplaceOnFailure boolean

Should the Dedicated Host automatically be replaced in case of a Hardware Failure? Defaults to true.

dedicatedHostGroupId string

Specifies the ID of the Dedicated Host Group where the Dedicated Host should exist. Changing this forces a new resource to be created.

licenseType string

Specifies the software license type that will be applied to the VMs deployed on the Dedicated Host. Possible values are None, Windows_Server_Hybrid and Windows_Server_Perpetual. Defaults to None.

location string

Specify the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name string

Specifies the name of this Dedicated Host. Changing this forces a new resource to be created.

platformFaultDomain number

Specify the fault domain of the Dedicated Host Group in which to create the Dedicated Host. Changing this forces a new resource to be created.

skuName string

Specify the SKU name of the Dedicated Host. Possible values are DSv3-Type1, DSv3-Type2, DSv4-Type1, ESv3-Type1, ESv3-Type2, FSv2-Type2, DASv4-Type1, DCSv2-Type1, DDSv4-Type1, DSv3-Type1, DSv3-Type2, DSv3-Type3, DSv3-Type4, DSv4-Type1, EASv4-Type1, EDSv4-Type1, ESv3-Type1, ESv3-Type2, ESv3-Type3, ESv3-Type4, ESv4-Type1, FSv2-Type2, FSv2-Type3, LSv2-Type1, MS-Type1, MSm-Type1, MSmv2-Type1, MSv2-Type1, NVASv4-Type1 and NVSv3-Type1. Changing this forces a new resource to be created.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

auto_replace_on_failure bool

Should the Dedicated Host automatically be replaced in case of a Hardware Failure? Defaults to true.

dedicated_host_group_id str

Specifies the ID of the Dedicated Host Group where the Dedicated Host should exist. Changing this forces a new resource to be created.

license_type str

Specifies the software license type that will be applied to the VMs deployed on the Dedicated Host. Possible values are None, Windows_Server_Hybrid and Windows_Server_Perpetual. Defaults to None.

location str

Specify the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name str

Specifies the name of this Dedicated Host. Changing this forces a new resource to be created.

platform_fault_domain int

Specify the fault domain of the Dedicated Host Group in which to create the Dedicated Host. Changing this forces a new resource to be created.

sku_name str

Specify the SKU name of the Dedicated Host. Possible values are DSv3-Type1, DSv3-Type2, DSv4-Type1, ESv3-Type1, ESv3-Type2, FSv2-Type2, DASv4-Type1, DCSv2-Type1, DDSv4-Type1, DSv3-Type1, DSv3-Type2, DSv3-Type3, DSv3-Type4, DSv4-Type1, EASv4-Type1, EDSv4-Type1, ESv3-Type1, ESv3-Type2, ESv3-Type3, ESv3-Type4, ESv4-Type1, FSv2-Type2, FSv2-Type3, LSv2-Type1, MS-Type1, MSm-Type1, MSmv2-Type1, MSv2-Type1, NVASv4-Type1 and NVSv3-Type1. Changing this forces a new resource to be created.

tags Mapping[str, str]

A mapping of tags to assign to the resource.

autoReplaceOnFailure Boolean

Should the Dedicated Host automatically be replaced in case of a Hardware Failure? Defaults to true.

dedicatedHostGroupId String

Specifies the ID of the Dedicated Host Group where the Dedicated Host should exist. Changing this forces a new resource to be created.

licenseType String

Specifies the software license type that will be applied to the VMs deployed on the Dedicated Host. Possible values are None, Windows_Server_Hybrid and Windows_Server_Perpetual. Defaults to None.

location String

Specify the supported Azure location where the resource exists. Changing this forces a new resource to be created.

name String

Specifies the name of this Dedicated Host. Changing this forces a new resource to be created.

platformFaultDomain Number

Specify the fault domain of the Dedicated Host Group in which to create the Dedicated Host. Changing this forces a new resource to be created.

skuName String

Specify the SKU name of the Dedicated Host. Possible values are DSv3-Type1, DSv3-Type2, DSv4-Type1, ESv3-Type1, ESv3-Type2, FSv2-Type2, DASv4-Type1, DCSv2-Type1, DDSv4-Type1, DSv3-Type1, DSv3-Type2, DSv3-Type3, DSv3-Type4, DSv4-Type1, EASv4-Type1, EDSv4-Type1, ESv3-Type1, ESv3-Type2, ESv3-Type3, ESv3-Type4, ESv4-Type1, FSv2-Type2, FSv2-Type3, LSv2-Type1, MS-Type1, MSm-Type1, MSmv2-Type1, MSv2-Type1, NVASv4-Type1 and NVSv3-Type1. Changing this forces a new resource to be created.

tags Map<String>

A mapping of tags to assign to the resource.

Import

Dedicated Hosts can be imported using the resource id, e.g.

 $ pulumi import azure:compute/dedicatedHost:DedicatedHost example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Compute/hostGroups/group1/hosts/host1

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.