Azure Native v1.102.0, May 2 23
Azure Native v1.102.0, May 2 23
azure-native.compute.getDedicatedHost
Explore with Pulumi AI
Retrieves information about a dedicated host. API Version: 2020-12-01.
Using getDedicatedHost
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDedicatedHost(args: GetDedicatedHostArgs, opts?: InvokeOptions): Promise<GetDedicatedHostResult>
function getDedicatedHostOutput(args: GetDedicatedHostOutputArgs, opts?: InvokeOptions): Output<GetDedicatedHostResult>
def get_dedicated_host(expand: Optional[str] = None,
host_group_name: Optional[str] = None,
host_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDedicatedHostResult
def get_dedicated_host_output(expand: Optional[pulumi.Input[str]] = None,
host_group_name: Optional[pulumi.Input[str]] = None,
host_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDedicatedHostResult]
func LookupDedicatedHost(ctx *Context, args *LookupDedicatedHostArgs, opts ...InvokeOption) (*LookupDedicatedHostResult, error)
func LookupDedicatedHostOutput(ctx *Context, args *LookupDedicatedHostOutputArgs, opts ...InvokeOption) LookupDedicatedHostResultOutput
> Note: This function is named LookupDedicatedHost
in the Go SDK.
public static class GetDedicatedHost
{
public static Task<GetDedicatedHostResult> InvokeAsync(GetDedicatedHostArgs args, InvokeOptions? opts = null)
public static Output<GetDedicatedHostResult> Invoke(GetDedicatedHostInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDedicatedHostResult> getDedicatedHost(GetDedicatedHostArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:compute:getDedicatedHost
arguments:
# arguments dictionary
The following arguments are supported:
- Host
Group stringName The name of the dedicated host group.
- Host
Name string The name of the dedicated host.
- Resource
Group stringName The name of the resource group.
- Expand string
The expand expression to apply on the operation.
- Host
Group stringName The name of the dedicated host group.
- Host
Name string The name of the dedicated host.
- Resource
Group stringName The name of the resource group.
- Expand string
The expand expression to apply on the operation.
- host
Group StringName The name of the dedicated host group.
- host
Name String The name of the dedicated host.
- resource
Group StringName The name of the resource group.
- expand String
The expand expression to apply on the operation.
- host
Group stringName The name of the dedicated host group.
- host
Name string The name of the dedicated host.
- resource
Group stringName The name of the resource group.
- expand string
The expand expression to apply on the operation.
- host_
group_ strname The name of the dedicated host group.
- host_
name str The name of the dedicated host.
- resource_
group_ strname The name of the resource group.
- expand str
The expand expression to apply on the operation.
- host
Group StringName The name of the dedicated host group.
- host
Name String The name of the dedicated host.
- resource
Group StringName The name of the resource group.
- expand String
The expand expression to apply on the operation.
getDedicatedHost Result
The following output properties are available:
- Host
Id 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
Resource Id
- Instance
View Pulumi.Azure Native. Compute. Outputs. Dedicated Host Instance View Response The dedicated host instance view.
- Location string
Resource location
- Name string
Resource name
- Provisioning
State string The provisioning state, which only appears in the response.
- Provisioning
Time string The date when the host was first provisioned.
- Sku
Pulumi.
Azure Native. Compute. Outputs. Sku Response 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.
- Type string
Resource type
- Virtual
Machines List<Pulumi.Azure Native. Compute. Outputs. Sub Resource Read Only Response> A list of references to all virtual machines in the Dedicated Host.
- Auto
Replace boolOn Failure Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.
- License
Type 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 Windows_Server_Perpetual Default: None
- Platform
Fault intDomain Fault domain of the dedicated host within a dedicated host group.
- Dictionary<string, string>
Resource tags
- Host
Id 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
Resource Id
- Instance
View DedicatedHost Instance View Response The dedicated host instance view.
- Location string
Resource location
- Name string
Resource name
- Provisioning
State string The provisioning state, which only appears in the response.
- Provisioning
Time string The date when the host was first provisioned.
- Sku
Sku
Response 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.
- Type string
Resource type
- Virtual
Machines []SubResource Read Only Response A list of references to all virtual machines in the Dedicated Host.
- Auto
Replace boolOn Failure Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.
- License
Type 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 Windows_Server_Perpetual Default: None
- Platform
Fault intDomain Fault domain of the dedicated host within a dedicated host group.
- map[string]string
Resource tags
- host
Id 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
Resource Id
- instance
View DedicatedHost Instance View Response The dedicated host instance view.
- location String
Resource location
- name String
Resource name
- provisioning
State String The provisioning state, which only appears in the response.
- provisioning
Time String The date when the host was first provisioned.
- sku
Sku
Response 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.
- type String
Resource type
- virtual
Machines List<SubResource Read Only Response> A list of references to all virtual machines in the Dedicated Host.
- auto
Replace BooleanOn Failure Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.
- license
Type 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 Windows_Server_Perpetual Default: None
- platform
Fault IntegerDomain Fault domain of the dedicated host within a dedicated host group.
- Map<String,String>
Resource tags
- host
Id 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
Resource Id
- instance
View DedicatedHost Instance View Response The dedicated host instance view.
- location string
Resource location
- name string
Resource name
- provisioning
State string The provisioning state, which only appears in the response.
- provisioning
Time string The date when the host was first provisioned.
- sku
Sku
Response 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.
- type string
Resource type
- virtual
Machines SubResource Read Only Response[] A list of references to all virtual machines in the Dedicated Host.
- auto
Replace booleanOn Failure Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.
- license
Type 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 Windows_Server_Perpetual Default: None
- platform
Fault numberDomain Fault domain of the dedicated host within a dedicated host group.
- {[key: string]: string}
Resource tags
- 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
Resource Id
- instance_
view DedicatedHost Instance View Response The dedicated host instance view.
- location str
Resource location
- 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.
- sku
Sku
Response 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.
- type str
Resource type
- virtual_
machines Sequence[SubResource Read Only Response] A list of references to all virtual machines in the Dedicated Host.
- auto_
replace_ boolon_ failure Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.
- 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 Windows_Server_Perpetual Default: None
- platform_
fault_ intdomain Fault domain of the dedicated host within a dedicated host group.
- Mapping[str, str]
Resource tags
- host
Id 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
Resource Id
- instance
View Property Map The dedicated host instance view.
- location String
Resource location
- name String
Resource name
- provisioning
State String The provisioning state, which only appears in the response.
- provisioning
Time String The date when the host was first provisioned.
- sku 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.
- type String
Resource type
- virtual
Machines List<Property Map> A list of references to all virtual machines in the Dedicated Host.
- auto
Replace BooleanOn Failure Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.
- license
Type 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 Windows_Server_Perpetual Default: None
- platform
Fault NumberDomain Fault domain of the dedicated host within a dedicated host group.
- Map<String>
Resource tags
Supporting Types
DedicatedHostAllocatableVMResponse
DedicatedHostAvailableCapacityResponse
- Allocatable
VMs List<Pulumi.Azure Native. Compute. Inputs. Dedicated Host Allocatable VMResponse> 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 []DedicatedHost Allocatable VMResponse 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 List<DedicatedHost Allocatable VMResponse> 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 DedicatedHost Allocatable VMResponse[] 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[DedicatedHost Allocatable VMResponse] 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 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
- Asset
Id string Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
- Available
Capacity Pulumi.Azure Native. Compute. Inputs. Dedicated Host Available Capacity Response Unutilized capacity of the dedicated host.
- Statuses
List<Pulumi.
Azure Native. Compute. Inputs. Instance View Status Response> The resource status information.
- Asset
Id string Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
- Available
Capacity DedicatedHost Available Capacity Response Unutilized capacity of the dedicated host.
- Statuses
[]Instance
View Status Response The resource status information.
- asset
Id String Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
- available
Capacity DedicatedHost Available Capacity Response Unutilized capacity of the dedicated host.
- statuses
List<Instance
View Status Response> The resource status information.
- asset
Id string Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
- available
Capacity DedicatedHost Available Capacity Response Unutilized capacity of the dedicated host.
- statuses
Instance
View Status Response[] The resource status information.
- asset_
id str Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
- available_
capacity DedicatedHost Available Capacity Response Unutilized capacity of the dedicated host.
- statuses
Sequence[Instance
View Status Response] The resource status information.
- asset
Id String Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
- available
Capacity Property Map Unutilized capacity of the dedicated host.
- statuses List<Property Map>
The resource status information.
InstanceViewStatusResponse
- Code string
The status code.
- Display
Status 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.
- Display
Status 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.
- display
Status 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.
- display
Status 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.
- display
Status 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.
SkuResponse
SubResourceReadOnlyResponse
- Id string
Resource Id
- Id string
Resource Id
- id String
Resource Id
- id string
Resource Id
- id str
Resource Id
- id String
Resource Id
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0