These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.hybridcompute.getMachine
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Retrieves information about the model view or the instance view of a hybrid machine. API Version: 2020-08-02.
Using getMachine
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 getMachine(args: GetMachineArgs, opts?: InvokeOptions): Promise<GetMachineResult>
function getMachineOutput(args: GetMachineOutputArgs, opts?: InvokeOptions): Output<GetMachineResult>
def get_machine(expand: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMachineResult
def get_machine_output(expand: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMachineResult]
func LookupMachine(ctx *Context, args *LookupMachineArgs, opts ...InvokeOption) (*LookupMachineResult, error)
func LookupMachineOutput(ctx *Context, args *LookupMachineOutputArgs, opts ...InvokeOption) LookupMachineResultOutput
> Note: This function is named LookupMachine
in the Go SDK.
public static class GetMachine
{
public static Task<GetMachineResult> InvokeAsync(GetMachineArgs args, InvokeOptions? opts = null)
public static Output<GetMachineResult> Invoke(GetMachineInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMachineResult> getMachine(GetMachineArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:hybridcompute:getMachine
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the hybrid machine.
- Resource
Group stringName - The name of the resource group.
- Expand string
- The expand expression to apply on the operation.
- Name string
- The name of the hybrid machine.
- Resource
Group stringName - The name of the resource group.
- Expand string
- The expand expression to apply on the operation.
- name String
- The name of the hybrid machine.
- resource
Group StringName - The name of the resource group.
- expand String
- The expand expression to apply on the operation.
- name string
- The name of the hybrid machine.
- resource
Group stringName - The name of the resource group.
- expand string
- The expand expression to apply on the operation.
- name str
- The name of the hybrid machine.
- resource_
group_ strname - The name of the resource group.
- expand str
- The expand expression to apply on the operation.
- name String
- The name of the hybrid machine.
- resource
Group StringName - The name of the resource group.
- expand String
- The expand expression to apply on the operation.
getMachine Result
The following output properties are available:
- Ad
Fqdn string - Specifies the AD fully qualified display name.
- Agent
Version string - The hybrid machine agent full version.
- Display
Name string - Specifies the hybrid machine display name.
- Dns
Fqdn string - Specifies the DNS fully qualified display name.
- Domain
Name string - Specifies the Windows domain name.
- Error
Details List<Pulumi.Azure Native. Hybrid Compute. Outputs. Error Detail Response> - Details about the error state.
- Extensions
List<Pulumi.
Azure Native. Hybrid Compute. Outputs. Machine Extension Instance View Response> - Machine Extensions information
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Last
Status stringChange - The time of the last status change.
- Location string
- The geo-location where the resource lives
- Machine
Fqdn string - Specifies the hybrid machine FQDN.
- Name string
- The name of the resource
- Os
Name string - The Operating System running on the hybrid machine.
- Os
Sku string - Specifies the Operating System product SKU.
- Os
Version string - The version of Operating System running on the hybrid machine.
- Provisioning
State string - The provisioning state, which only appears in the response.
- Status string
- The status of the hybrid machine agent.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Vm
Uuid string - Specifies the Arc Machine's unique SMBIOS ID
- Client
Public stringKey - Public Key that the client provides to be used during initial resource onboarding
- Identity
Pulumi.
Azure Native. Hybrid Compute. Outputs. Machine Response Identity - Location
Data Pulumi.Azure Native. Hybrid Compute. Outputs. Location Data Response - Metadata pertaining to the geographic location of the resource.
- Os
Profile Pulumi.Azure Native. Hybrid Compute. Outputs. Machine Properties Response Os Profile - Specifies the operating system settings for the hybrid machine.
- Dictionary<string, string>
- Resource tags.
- Vm
Id string - Specifies the hybrid machine unique ID.
- Ad
Fqdn string - Specifies the AD fully qualified display name.
- Agent
Version string - The hybrid machine agent full version.
- Display
Name string - Specifies the hybrid machine display name.
- Dns
Fqdn string - Specifies the DNS fully qualified display name.
- Domain
Name string - Specifies the Windows domain name.
- Error
Details []ErrorDetail Response - Details about the error state.
- Extensions
[]Machine
Extension Instance View Response - Machine Extensions information
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Last
Status stringChange - The time of the last status change.
- Location string
- The geo-location where the resource lives
- Machine
Fqdn string - Specifies the hybrid machine FQDN.
- Name string
- The name of the resource
- Os
Name string - The Operating System running on the hybrid machine.
- Os
Sku string - Specifies the Operating System product SKU.
- Os
Version string - The version of Operating System running on the hybrid machine.
- Provisioning
State string - The provisioning state, which only appears in the response.
- Status string
- The status of the hybrid machine agent.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Vm
Uuid string - Specifies the Arc Machine's unique SMBIOS ID
- Client
Public stringKey - Public Key that the client provides to be used during initial resource onboarding
- Identity
Machine
Response Identity - Location
Data LocationData Response - Metadata pertaining to the geographic location of the resource.
- Os
Profile MachineProperties Response Os Profile - Specifies the operating system settings for the hybrid machine.
- map[string]string
- Resource tags.
- Vm
Id string - Specifies the hybrid machine unique ID.
- ad
Fqdn String - Specifies the AD fully qualified display name.
- agent
Version String - The hybrid machine agent full version.
- display
Name String - Specifies the hybrid machine display name.
- dns
Fqdn String - Specifies the DNS fully qualified display name.
- domain
Name String - Specifies the Windows domain name.
- error
Details List<ErrorDetail Response> - Details about the error state.
- extensions
List<Machine
Extension Instance View Response> - Machine Extensions information
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Status StringChange - The time of the last status change.
- location String
- The geo-location where the resource lives
- machine
Fqdn String - Specifies the hybrid machine FQDN.
- name String
- The name of the resource
- os
Name String - The Operating System running on the hybrid machine.
- os
Sku String - Specifies the Operating System product SKU.
- os
Version String - The version of Operating System running on the hybrid machine.
- provisioning
State String - The provisioning state, which only appears in the response.
- status String
- The status of the hybrid machine agent.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- vm
Uuid String - Specifies the Arc Machine's unique SMBIOS ID
- client
Public StringKey - Public Key that the client provides to be used during initial resource onboarding
- identity
Machine
Response Identity - location
Data LocationData Response - Metadata pertaining to the geographic location of the resource.
- os
Profile MachineProperties Response Os Profile - Specifies the operating system settings for the hybrid machine.
- Map<String,String>
- Resource tags.
- vm
Id String - Specifies the hybrid machine unique ID.
- ad
Fqdn string - Specifies the AD fully qualified display name.
- agent
Version string - The hybrid machine agent full version.
- display
Name string - Specifies the hybrid machine display name.
- dns
Fqdn string - Specifies the DNS fully qualified display name.
- domain
Name string - Specifies the Windows domain name.
- error
Details ErrorDetail Response[] - Details about the error state.
- extensions
Machine
Extension Instance View Response[] - Machine Extensions information
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Status stringChange - The time of the last status change.
- location string
- The geo-location where the resource lives
- machine
Fqdn string - Specifies the hybrid machine FQDN.
- name string
- The name of the resource
- os
Name string - The Operating System running on the hybrid machine.
- os
Sku string - Specifies the Operating System product SKU.
- os
Version string - The version of Operating System running on the hybrid machine.
- provisioning
State string - The provisioning state, which only appears in the response.
- status string
- The status of the hybrid machine agent.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- vm
Uuid string - Specifies the Arc Machine's unique SMBIOS ID
- client
Public stringKey - Public Key that the client provides to be used during initial resource onboarding
- identity
Machine
Response Identity - location
Data LocationData Response - Metadata pertaining to the geographic location of the resource.
- os
Profile MachineProperties Response Os Profile - Specifies the operating system settings for the hybrid machine.
- {[key: string]: string}
- Resource tags.
- vm
Id string - Specifies the hybrid machine unique ID.
- ad_
fqdn str - Specifies the AD fully qualified display name.
- agent_
version str - The hybrid machine agent full version.
- display_
name str - Specifies the hybrid machine display name.
- dns_
fqdn str - Specifies the DNS fully qualified display name.
- domain_
name str - Specifies the Windows domain name.
- error_
details Sequence[ErrorDetail Response] - Details about the error state.
- extensions
Sequence[Machine
Extension Instance View Response] - Machine Extensions information
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last_
status_ strchange - The time of the last status change.
- location str
- The geo-location where the resource lives
- machine_
fqdn str - Specifies the hybrid machine FQDN.
- name str
- The name of the resource
- os_
name str - The Operating System running on the hybrid machine.
- os_
sku str - Specifies the Operating System product SKU.
- os_
version str - The version of Operating System running on the hybrid machine.
- provisioning_
state str - The provisioning state, which only appears in the response.
- status str
- The status of the hybrid machine agent.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- vm_
uuid str - Specifies the Arc Machine's unique SMBIOS ID
- client_
public_ strkey - Public Key that the client provides to be used during initial resource onboarding
- identity
Machine
Response Identity - location_
data LocationData Response - Metadata pertaining to the geographic location of the resource.
- os_
profile MachineProperties Response Os Profile - Specifies the operating system settings for the hybrid machine.
- Mapping[str, str]
- Resource tags.
- vm_
id str - Specifies the hybrid machine unique ID.
- ad
Fqdn String - Specifies the AD fully qualified display name.
- agent
Version String - The hybrid machine agent full version.
- display
Name String - Specifies the hybrid machine display name.
- dns
Fqdn String - Specifies the DNS fully qualified display name.
- domain
Name String - Specifies the Windows domain name.
- error
Details List<Property Map> - Details about the error state.
- extensions List<Property Map>
- Machine Extensions information
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Status StringChange - The time of the last status change.
- location String
- The geo-location where the resource lives
- machine
Fqdn String - Specifies the hybrid machine FQDN.
- name String
- The name of the resource
- os
Name String - The Operating System running on the hybrid machine.
- os
Sku String - Specifies the Operating System product SKU.
- os
Version String - The version of Operating System running on the hybrid machine.
- provisioning
State String - The provisioning state, which only appears in the response.
- status String
- The status of the hybrid machine agent.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- vm
Uuid String - Specifies the Arc Machine's unique SMBIOS ID
- client
Public StringKey - Public Key that the client provides to be used during initial resource onboarding
- identity Property Map
- location
Data Property Map - Metadata pertaining to the geographic location of the resource.
- os
Profile Property Map - Specifies the operating system settings for the hybrid machine.
- Map<String>
- Resource tags.
- vm
Id String - Specifies the hybrid machine unique ID.
Supporting Types
ErrorDetailResponse
- Code string
- The error's code.
- Message string
- A human readable error message.
- Details
List<Pulumi.
Azure Native. Hybrid Compute. Inputs. Error Detail Response> - Additional error details.
- Target string
- Indicates which property in the request is responsible for the error.
- Code string
- The error's code.
- Message string
- A human readable error message.
- Details
[]Error
Detail Response - Additional error details.
- Target string
- Indicates which property in the request is responsible for the error.
- code String
- The error's code.
- message String
- A human readable error message.
- details
List<Error
Detail Response> - Additional error details.
- target String
- Indicates which property in the request is responsible for the error.
- code string
- The error's code.
- message string
- A human readable error message.
- details
Error
Detail Response[] - Additional error details.
- target string
- Indicates which property in the request is responsible for the error.
- code str
- The error's code.
- message str
- A human readable error message.
- details
Sequence[Error
Detail Response] - Additional error details.
- target str
- Indicates which property in the request is responsible for the error.
- code String
- The error's code.
- message String
- A human readable error message.
- details List<Property Map>
- Additional error details.
- target String
- Indicates which property in the request is responsible for the error.
LocationDataResponse
- Name string
- A canonical name for the geographic or physical location.
- City string
- The city or locality where the resource is located.
- Country
Or stringRegion - The country or region where the resource is located
- District string
- The district, state, or province where the resource is located.
- Name string
- A canonical name for the geographic or physical location.
- City string
- The city or locality where the resource is located.
- Country
Or stringRegion - The country or region where the resource is located
- District string
- The district, state, or province where the resource is located.
- name String
- A canonical name for the geographic or physical location.
- city String
- The city or locality where the resource is located.
- country
Or StringRegion - The country or region where the resource is located
- district String
- The district, state, or province where the resource is located.
- name string
- A canonical name for the geographic or physical location.
- city string
- The city or locality where the resource is located.
- country
Or stringRegion - The country or region where the resource is located
- district string
- The district, state, or province where the resource is located.
- name str
- A canonical name for the geographic or physical location.
- city str
- The city or locality where the resource is located.
- country_
or_ strregion - The country or region where the resource is located
- district str
- The district, state, or province where the resource is located.
- name String
- A canonical name for the geographic or physical location.
- city String
- The city or locality where the resource is located.
- country
Or StringRegion - The country or region where the resource is located
- district String
- The district, state, or province where the resource is located.
MachineExtensionInstanceViewResponse
- Name string
- The machine extension name.
- Type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- Type
Handler stringVersion - Specifies the version of the script handler.
- Status
Pulumi.
Azure Native. Hybrid Compute. Inputs. Machine Extension Instance View Response Status - Instance view status.
- Name string
- The machine extension name.
- Type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- Type
Handler stringVersion - Specifies the version of the script handler.
- Status
Machine
Extension Instance View Response Status - Instance view status.
- name String
- The machine extension name.
- type String
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type
Handler StringVersion - Specifies the version of the script handler.
- status
Machine
Extension Instance View Response Status - Instance view status.
- name string
- The machine extension name.
- type string
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type
Handler stringVersion - Specifies the version of the script handler.
- status
Machine
Extension Instance View Response Status - Instance view status.
- name str
- The machine extension name.
- type str
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type_
handler_ strversion - Specifies the version of the script handler.
- status
Machine
Extension Instance View Response Status - Instance view status.
- name String
- The machine extension name.
- type String
- Specifies the type of the extension; an example is "CustomScriptExtension".
- type
Handler StringVersion - Specifies the version of the script handler.
- status Property Map
- Instance view status.
MachineExtensionInstanceViewResponseStatus
- 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.
MachinePropertiesResponseOsProfile
- Computer
Name string - Specifies the host OS name of the hybrid machine.
- Computer
Name string - Specifies the host OS name of the hybrid machine.
- computer
Name String - Specifies the host OS name of the hybrid machine.
- computer
Name string - Specifies the host OS name of the hybrid machine.
- computer_
name str - Specifies the host OS name of the hybrid machine.
- computer
Name String - Specifies the host OS name of the hybrid machine.
MachineResponseIdentity
- Principal
Id string - The identity's principal id.
- Tenant
Id string - The identity's tenant id.
- Type string
- The identity type.
- Principal
Id string - The identity's principal id.
- Tenant
Id string - The identity's tenant id.
- Type string
- The identity type.
- principal
Id String - The identity's principal id.
- tenant
Id String - The identity's tenant id.
- type String
- The identity type.
- principal
Id string - The identity's principal id.
- tenant
Id string - The identity's tenant id.
- type string
- The identity type.
- principal_
id str - The identity's principal id.
- tenant_
id str - The identity's tenant id.
- type str
- The identity type.
- principal
Id String - The identity's principal id.
- tenant
Id String - The identity's tenant id.
- type String
- The identity type.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi