1. Packages
  2. Azure Native
  3. API Docs
  4. compute
  5. DedicatedHost
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.compute.DedicatedHost

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

Specifies information about the Dedicated host.

Uses Azure REST API version 2024-11-01. In version 2.x of the Azure Native provider, it used API version 2023-03-01.

Other available API versions: 2022-08-01, 2022-11-01, 2023-03-01, 2023-07-01, 2023-09-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native compute [ApiVersion]. See the version guide for details.

Example Usage

Create or update a dedicated host .

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var dedicatedHost = new AzureNative.Compute.DedicatedHost("dedicatedHost", new()
    {
        HostGroupName = "myDedicatedHostGroup",
        HostName = "myDedicatedHost",
        Location = "westus",
        PlatformFaultDomain = 1,
        ResourceGroupName = "myResourceGroup",
        Sku = new AzureNative.Compute.Inputs.SkuArgs
        {
            Name = "DSv3-Type1",
        },
        Tags = 
        {
            { "department", "HR" },
        },
    });

});
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewDedicatedHost(ctx, "dedicatedHost", &compute.DedicatedHostArgs{
			HostGroupName:       pulumi.String("myDedicatedHostGroup"),
			HostName:            pulumi.String("myDedicatedHost"),
			Location:            pulumi.String("westus"),
			PlatformFaultDomain: pulumi.Int(1),
			ResourceGroupName:   pulumi.String("myResourceGroup"),
			Sku: &compute.SkuArgs{
				Name: pulumi.String("DSv3-Type1"),
			},
			Tags: pulumi.StringMap{
				"department": pulumi.String("HR"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.compute.DedicatedHost;
import com.pulumi.azurenative.compute.DedicatedHostArgs;
import com.pulumi.azurenative.compute.inputs.SkuArgs;
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 dedicatedHost = new DedicatedHost("dedicatedHost", DedicatedHostArgs.builder()
            .hostGroupName("myDedicatedHostGroup")
            .hostName("myDedicatedHost")
            .location("westus")
            .platformFaultDomain(1)
            .resourceGroupName("myResourceGroup")
            .sku(SkuArgs.builder()
                .name("DSv3-Type1")
                .build())
            .tags(Map.of("department", "HR"))
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const dedicatedHost = new azure_native.compute.DedicatedHost("dedicatedHost", {
    hostGroupName: "myDedicatedHostGroup",
    hostName: "myDedicatedHost",
    location: "westus",
    platformFaultDomain: 1,
    resourceGroupName: "myResourceGroup",
    sku: {
        name: "DSv3-Type1",
    },
    tags: {
        department: "HR",
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

dedicated_host = azure_native.compute.DedicatedHost("dedicatedHost",
    host_group_name="myDedicatedHostGroup",
    host_name="myDedicatedHost",
    location="westus",
    platform_fault_domain=1,
    resource_group_name="myResourceGroup",
    sku={
        "name": "DSv3-Type1",
    },
    tags={
        "department": "HR",
    })
Copy
resources:
  dedicatedHost:
    type: azure-native:compute:DedicatedHost
    properties:
      hostGroupName: myDedicatedHostGroup
      hostName: myDedicatedHost
      location: westus
      platformFaultDomain: 1
      resourceGroupName: myResourceGroup
      sku:
        name: DSv3-Type1
      tags:
        department: HR
Copy

Create DedicatedHost Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DedicatedHost(name: string, args: DedicatedHostArgs, opts?: CustomResourceOptions);
@overload
def DedicatedHost(resource_name: str,
                  args: DedicatedHostArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def DedicatedHost(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  host_group_name: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  sku: Optional[SkuArgs] = None,
                  auto_replace_on_failure: Optional[bool] = None,
                  host_name: Optional[str] = None,
                  license_type: Optional[DedicatedHostLicenseTypes] = None,
                  location: Optional[str] = None,
                  platform_fault_domain: Optional[int] = None,
                  tags: Optional[Mapping[str, str]] = 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-native:compute:DedicatedHost
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DedicatedHostArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. DedicatedHostArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DedicatedHostArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DedicatedHostArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var dedicatedHostResource = new AzureNative.Compute.DedicatedHost("dedicatedHostResource", new()
{
    HostGroupName = "string",
    ResourceGroupName = "string",
    Sku = new AzureNative.Compute.Inputs.SkuArgs
    {
        Capacity = 0,
        Name = "string",
        Tier = "string",
    },
    AutoReplaceOnFailure = false,
    HostName = "string",
    LicenseType = AzureNative.Compute.DedicatedHostLicenseTypes.None,
    Location = "string",
    PlatformFaultDomain = 0,
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := compute.NewDedicatedHost(ctx, "dedicatedHostResource", &compute.DedicatedHostArgs{
	HostGroupName:     pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	Sku: &compute.SkuArgs{
		Capacity: pulumi.Float64(0),
		Name:     pulumi.String("string"),
		Tier:     pulumi.String("string"),
	},
	AutoReplaceOnFailure: pulumi.Bool(false),
	HostName:             pulumi.String("string"),
	LicenseType:          compute.DedicatedHostLicenseTypesNone,
	Location:             pulumi.String("string"),
	PlatformFaultDomain:  pulumi.Int(0),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var dedicatedHostResource = new DedicatedHost("dedicatedHostResource", DedicatedHostArgs.builder()
    .hostGroupName("string")
    .resourceGroupName("string")
    .sku(SkuArgs.builder()
        .capacity(0)
        .name("string")
        .tier("string")
        .build())
    .autoReplaceOnFailure(false)
    .hostName("string")
    .licenseType("None")
    .location("string")
    .platformFaultDomain(0)
    .tags(Map.of("string", "string"))
    .build());
Copy
dedicated_host_resource = azure_native.compute.DedicatedHost("dedicatedHostResource",
    host_group_name="string",
    resource_group_name="string",
    sku={
        "capacity": 0,
        "name": "string",
        "tier": "string",
    },
    auto_replace_on_failure=False,
    host_name="string",
    license_type=azure_native.compute.DedicatedHostLicenseTypes.NONE,
    location="string",
    platform_fault_domain=0,
    tags={
        "string": "string",
    })
Copy
const dedicatedHostResource = new azure_native.compute.DedicatedHost("dedicatedHostResource", {
    hostGroupName: "string",
    resourceGroupName: "string",
    sku: {
        capacity: 0,
        name: "string",
        tier: "string",
    },
    autoReplaceOnFailure: false,
    hostName: "string",
    licenseType: azure_native.compute.DedicatedHostLicenseTypes.None,
    location: "string",
    platformFaultDomain: 0,
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:compute:DedicatedHost
properties:
    autoReplaceOnFailure: false
    hostGroupName: string
    hostName: string
    licenseType: None
    location: string
    platformFaultDomain: 0
    resourceGroupName: string
    sku:
        capacity: 0
        name: string
        tier: string
    tags:
        string: string
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The DedicatedHost resource accepts the following input properties:

HostGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the dedicated host group.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
Sku This property is required. Pulumi.AzureNative.Compute.Inputs.Sku
SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.
AutoReplaceOnFailure bool
Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.
HostName Changes to this property will trigger replacement. string
The name of the dedicated host .
LicenseType Pulumi.AzureNative.Compute.DedicatedHostLicenseTypes
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.
Location string
Resource location
PlatformFaultDomain int
Fault domain of the dedicated host within a dedicated host group.
Tags Dictionary<string, string>
Resource tags
HostGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the dedicated host group.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
Sku This property is required. SkuArgs
SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.
AutoReplaceOnFailure bool
Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.
HostName Changes to this property will trigger replacement. string
The name of the dedicated host .
LicenseType DedicatedHostLicenseTypes
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.
Location string
Resource location
PlatformFaultDomain int
Fault domain of the dedicated host within a dedicated host group.
Tags map[string]string
Resource tags
hostGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the dedicated host group.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
sku This property is required. Sku
SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.
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.
hostName Changes to this property will trigger replacement. String
The name of the dedicated host .
licenseType DedicatedHostLicenseTypes
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.
location String
Resource location
platformFaultDomain Integer
Fault domain of the dedicated host within a dedicated host group.
tags Map<String,String>
Resource tags
hostGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the dedicated host group.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
sku This property is required. Sku
SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.
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.
hostName Changes to this property will trigger replacement. string
The name of the dedicated host .
licenseType DedicatedHostLicenseTypes
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.
location string
Resource location
platformFaultDomain number
Fault domain of the dedicated host within a dedicated host group.
tags {[key: string]: string}
Resource tags
host_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the dedicated host group.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
sku This property is required. SkuArgs
SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.
auto_replace_on_failure bool
Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.
host_name Changes to this property will trigger replacement. str
The name of the dedicated host .
license_type DedicatedHostLicenseTypes
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.
location str
Resource location
platform_fault_domain int
Fault domain of the dedicated host within a dedicated host group.
tags Mapping[str, str]
Resource tags
hostGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the dedicated host group.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
sku This property is required. Property Map
SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.
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.
hostName Changes to this property will trigger replacement. String
The name of the dedicated host .
licenseType "None" | "Windows_Server_Hybrid" | "Windows_Server_Perpetual"
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.
location String
Resource location
platformFaultDomain Number
Fault domain of the dedicated host within a dedicated host group.
tags Map<String>
Resource tags

Outputs

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

AzureApiVersion string
The Azure API version of the resource.
HostId string
A unique id generated and assigned to the dedicated host by the platform. Does not change throughout the lifetime of the host.
Id string
The provider-assigned unique ID for this managed resource.
InstanceView Pulumi.AzureNative.Compute.Outputs.DedicatedHostInstanceViewResponse
The dedicated host instance view.
Name string
Resource name
ProvisioningState string
The provisioning state, which only appears in the response.
ProvisioningTime string
The date when the host was first provisioned.
TimeCreated string
Specifies the time at which the Dedicated Host resource was created. Minimum api-version: 2021-11-01.
Type string
Resource type
VirtualMachines List<Pulumi.AzureNative.Compute.Outputs.SubResourceReadOnlyResponse>
A list of references to all virtual machines in the Dedicated Host.
AzureApiVersion string
The Azure API version of the resource.
HostId string
A unique id generated and assigned to the dedicated host by the platform. Does not change throughout the lifetime of the host.
Id string
The provider-assigned unique ID for this managed resource.
InstanceView DedicatedHostInstanceViewResponse
The dedicated host instance view.
Name string
Resource name
ProvisioningState string
The provisioning state, which only appears in the response.
ProvisioningTime string
The date when the host was first provisioned.
TimeCreated string
Specifies the time at which the Dedicated Host resource was created. Minimum api-version: 2021-11-01.
Type string
Resource type
VirtualMachines []SubResourceReadOnlyResponse
A list of references to all virtual machines in the Dedicated Host.
azureApiVersion String
The Azure API version of the resource.
hostId String
A unique id generated and assigned to the dedicated host by the platform. Does not change throughout the lifetime of the host.
id String
The provider-assigned unique ID for this managed resource.
instanceView DedicatedHostInstanceViewResponse
The dedicated host instance view.
name String
Resource name
provisioningState String
The provisioning state, which only appears in the response.
provisioningTime String
The date when the host was first provisioned.
timeCreated String
Specifies the time at which the Dedicated Host resource was created. Minimum api-version: 2021-11-01.
type String
Resource type
virtualMachines List<SubResourceReadOnlyResponse>
A list of references to all virtual machines in the Dedicated Host.
azureApiVersion string
The Azure API version of the resource.
hostId string
A unique id generated and assigned to the dedicated host by the platform. Does not change throughout the lifetime of the host.
id string
The provider-assigned unique ID for this managed resource.
instanceView DedicatedHostInstanceViewResponse
The dedicated host instance view.
name string
Resource name
provisioningState string
The provisioning state, which only appears in the response.
provisioningTime string
The date when the host was first provisioned.
timeCreated string
Specifies the time at which the Dedicated Host resource was created. Minimum api-version: 2021-11-01.
type string
Resource type
virtualMachines SubResourceReadOnlyResponse[]
A list of references to all virtual machines in the Dedicated Host.
azure_api_version str
The Azure API version of the resource.
host_id str
A unique id generated and assigned to the dedicated host by the platform. Does not change throughout the lifetime of the host.
id str
The provider-assigned unique ID for this managed resource.
instance_view DedicatedHostInstanceViewResponse
The dedicated host instance view.
name str
Resource name
provisioning_state str
The provisioning state, which only appears in the response.
provisioning_time str
The date when the host was first provisioned.
time_created str
Specifies the time at which the Dedicated Host resource was created. Minimum api-version: 2021-11-01.
type str
Resource type
virtual_machines Sequence[SubResourceReadOnlyResponse]
A list of references to all virtual machines in the Dedicated Host.
azureApiVersion String
The Azure API version of the resource.
hostId String
A unique id generated and assigned to the dedicated host by the platform. Does not change throughout the lifetime of the host.
id String
The provider-assigned unique ID for this managed resource.
instanceView Property Map
The dedicated host instance view.
name String
Resource name
provisioningState String
The provisioning state, which only appears in the response.
provisioningTime String
The date when the host was first provisioned.
timeCreated String
Specifies the time at which the Dedicated Host resource was created. Minimum api-version: 2021-11-01.
type String
Resource type
virtualMachines List<Property Map>
A list of references to all virtual machines in the Dedicated Host.

Supporting Types

DedicatedHostAllocatableVMResponse
, DedicatedHostAllocatableVMResponseArgs

Count double
Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.
VmSize string
VM size in terms of which the unutilized capacity is represented.
Count float64
Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.
VmSize string
VM size in terms of which the unutilized capacity is represented.
count Double
Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.
vmSize String
VM size in terms of which the unutilized capacity is represented.
count number
Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.
vmSize string
VM size in terms of which the unutilized capacity is represented.
count float
Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.
vm_size str
VM size in terms of which the unutilized capacity is represented.
count Number
Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.
vmSize String
VM size in terms of which the unutilized capacity is represented.

DedicatedHostAvailableCapacityResponse
, DedicatedHostAvailableCapacityResponseArgs

AllocatableVMs List<Pulumi.AzureNative.Compute.Inputs.DedicatedHostAllocatableVMResponse>
The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host.
AllocatableVMs []DedicatedHostAllocatableVMResponse
The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host.
allocatableVMs List<DedicatedHostAllocatableVMResponse>
The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host.
allocatableVMs DedicatedHostAllocatableVMResponse[]
The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host.
allocatable_vms Sequence[DedicatedHostAllocatableVMResponse]
The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host.
allocatableVMs List<Property Map>
The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host.

DedicatedHostInstanceViewResponse
, DedicatedHostInstanceViewResponseArgs

AssetId This property is required. string
Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
AvailableCapacity Pulumi.AzureNative.Compute.Inputs.DedicatedHostAvailableCapacityResponse
Unutilized capacity of the dedicated host.
Statuses List<Pulumi.AzureNative.Compute.Inputs.InstanceViewStatusResponse>
The resource status information.
AssetId This property is required. string
Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
AvailableCapacity DedicatedHostAvailableCapacityResponse
Unutilized capacity of the dedicated host.
Statuses []InstanceViewStatusResponse
The resource status information.
assetId This property is required. String
Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
availableCapacity DedicatedHostAvailableCapacityResponse
Unutilized capacity of the dedicated host.
statuses List<InstanceViewStatusResponse>
The resource status information.
assetId This property is required. string
Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
availableCapacity DedicatedHostAvailableCapacityResponse
Unutilized capacity of the dedicated host.
statuses InstanceViewStatusResponse[]
The resource status information.
asset_id This property is required. str
Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
available_capacity DedicatedHostAvailableCapacityResponse
Unutilized capacity of the dedicated host.
statuses Sequence[InstanceViewStatusResponse]
The resource status information.
assetId This property is required. String
Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
availableCapacity Property Map
Unutilized capacity of the dedicated host.
statuses List<Property Map>
The resource status information.

DedicatedHostLicenseTypes
, DedicatedHostLicenseTypesArgs

None
None
Windows_Server_Hybrid
Windows_Server_Hybrid
Windows_Server_Perpetual
Windows_Server_Perpetual
DedicatedHostLicenseTypesNone
None
DedicatedHostLicenseTypes_Windows_Server_Hybrid
Windows_Server_Hybrid
DedicatedHostLicenseTypes_Windows_Server_Perpetual
Windows_Server_Perpetual
None
None
Windows_Server_Hybrid
Windows_Server_Hybrid
Windows_Server_Perpetual
Windows_Server_Perpetual
None
None
Windows_Server_Hybrid
Windows_Server_Hybrid
Windows_Server_Perpetual
Windows_Server_Perpetual
NONE
None
WINDOWS_SERVER_HYBRID
Windows_Server_Hybrid
WINDOWS_SERVER_PERPETUAL
Windows_Server_Perpetual
"None"
None
"Windows_Server_Hybrid"
Windows_Server_Hybrid
"Windows_Server_Perpetual"
Windows_Server_Perpetual

InstanceViewStatusResponse
, InstanceViewStatusResponseArgs

Code string
The status code.
DisplayStatus string
The short localizable label for the status.
Level string
The level code.
Message string
The detailed status message, including for alerts and error messages.
Time string
The time of the status.
Code string
The status code.
DisplayStatus string
The short localizable label for the status.
Level string
The level code.
Message string
The detailed status message, including for alerts and error messages.
Time string
The time of the status.
code String
The status code.
displayStatus String
The short localizable label for the status.
level String
The level code.
message String
The detailed status message, including for alerts and error messages.
time String
The time of the status.
code string
The status code.
displayStatus string
The short localizable label for the status.
level string
The level code.
message string
The detailed status message, including for alerts and error messages.
time string
The time of the status.
code str
The status code.
display_status str
The short localizable label for the status.
level str
The level code.
message str
The detailed status message, including for alerts and error messages.
time str
The time of the status.
code String
The status code.
displayStatus String
The short localizable label for the status.
level String
The level code.
message String
The detailed status message, including for alerts and error messages.
time String
The time of the status.

Sku
, SkuArgs

Capacity double
Specifies the number of virtual machines in the scale set.
Name string
The sku name.
Tier string
Specifies the tier of virtual machines in a scale set. Possible Values: Standard Basic
Capacity float64
Specifies the number of virtual machines in the scale set.
Name string
The sku name.
Tier string
Specifies the tier of virtual machines in a scale set. Possible Values: Standard Basic
capacity Double
Specifies the number of virtual machines in the scale set.
name String
The sku name.
tier String
Specifies the tier of virtual machines in a scale set. Possible Values: Standard Basic
capacity number
Specifies the number of virtual machines in the scale set.
name string
The sku name.
tier string
Specifies the tier of virtual machines in a scale set. Possible Values: Standard Basic
capacity float
Specifies the number of virtual machines in the scale set.
name str
The sku name.
tier str
Specifies the tier of virtual machines in a scale set. Possible Values: Standard Basic
capacity Number
Specifies the number of virtual machines in the scale set.
name String
The sku name.
tier String
Specifies the tier of virtual machines in a scale set. Possible Values: Standard Basic

SkuResponse
, SkuResponseArgs

Capacity double
Specifies the number of virtual machines in the scale set.
Name string
The sku name.
Tier string
Specifies the tier of virtual machines in a scale set. Possible Values: Standard Basic
Capacity float64
Specifies the number of virtual machines in the scale set.
Name string
The sku name.
Tier string
Specifies the tier of virtual machines in a scale set. Possible Values: Standard Basic
capacity Double
Specifies the number of virtual machines in the scale set.
name String
The sku name.
tier String
Specifies the tier of virtual machines in a scale set. Possible Values: Standard Basic
capacity number
Specifies the number of virtual machines in the scale set.
name string
The sku name.
tier string
Specifies the tier of virtual machines in a scale set. Possible Values: Standard Basic
capacity float
Specifies the number of virtual machines in the scale set.
name str
The sku name.
tier str
Specifies the tier of virtual machines in a scale set. Possible Values: Standard Basic
capacity Number
Specifies the number of virtual machines in the scale set.
name String
The sku name.
tier String
Specifies the tier of virtual machines in a scale set. Possible Values: Standard Basic

SubResourceReadOnlyResponse
, SubResourceReadOnlyResponseArgs

Id This property is required. string
Resource Id
Id This property is required. string
Resource Id
id This property is required. String
Resource Id
id This property is required. string
Resource Id
id This property is required. str
Resource Id
id This property is required. String
Resource Id

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:compute:DedicatedHost myDedicatedHost /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi