1. Packages
  2. Azure Native v1
  3. API Docs
  4. hybridcompute
  5. getMachine
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

azure-native-v1 logo
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.
    ResourceGroupName string
    The name of the resource group.
    Expand string
    The expand expression to apply on the operation.
    Name string
    The name of the hybrid machine.
    ResourceGroupName string
    The name of the resource group.
    Expand string
    The expand expression to apply on the operation.
    name String
    The name of the hybrid machine.
    resourceGroupName String
    The name of the resource group.
    expand String
    The expand expression to apply on the operation.
    name string
    The name of the hybrid machine.
    resourceGroupName string
    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_name str
    The name of the resource group.
    expand str
    The expand expression to apply on the operation.
    name String
    The name of the hybrid machine.
    resourceGroupName String
    The name of the resource group.
    expand String
    The expand expression to apply on the operation.

    getMachine Result

    The following output properties are available:

    AdFqdn string
    Specifies the AD fully qualified display name.
    AgentVersion string
    The hybrid machine agent full version.
    DisplayName string
    Specifies the hybrid machine display name.
    DnsFqdn string
    Specifies the DNS fully qualified display name.
    DomainName string
    Specifies the Windows domain name.
    ErrorDetails List<Pulumi.AzureNative.HybridCompute.Outputs.ErrorDetailResponse>
    Details about the error state.
    Extensions List<Pulumi.AzureNative.HybridCompute.Outputs.MachineExtensionInstanceViewResponse>
    Machine Extensions information
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    LastStatusChange string
    The time of the last status change.
    Location string
    The geo-location where the resource lives
    MachineFqdn string
    Specifies the hybrid machine FQDN.
    Name string
    The name of the resource
    OsName string
    The Operating System running on the hybrid machine.
    OsSku string
    Specifies the Operating System product SKU.
    OsVersion string
    The version of Operating System running on the hybrid machine.
    ProvisioningState 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"
    VmUuid string
    Specifies the Arc Machine's unique SMBIOS ID
    ClientPublicKey string
    Public Key that the client provides to be used during initial resource onboarding
    Identity Pulumi.AzureNative.HybridCompute.Outputs.MachineResponseIdentity
    LocationData Pulumi.AzureNative.HybridCompute.Outputs.LocationDataResponse
    Metadata pertaining to the geographic location of the resource.
    OsProfile Pulumi.AzureNative.HybridCompute.Outputs.MachinePropertiesResponseOsProfile
    Specifies the operating system settings for the hybrid machine.
    Tags Dictionary<string, string>
    Resource tags.
    VmId string
    Specifies the hybrid machine unique ID.
    AdFqdn string
    Specifies the AD fully qualified display name.
    AgentVersion string
    The hybrid machine agent full version.
    DisplayName string
    Specifies the hybrid machine display name.
    DnsFqdn string
    Specifies the DNS fully qualified display name.
    DomainName string
    Specifies the Windows domain name.
    ErrorDetails []ErrorDetailResponse
    Details about the error state.
    Extensions []MachineExtensionInstanceViewResponse
    Machine Extensions information
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    LastStatusChange string
    The time of the last status change.
    Location string
    The geo-location where the resource lives
    MachineFqdn string
    Specifies the hybrid machine FQDN.
    Name string
    The name of the resource
    OsName string
    The Operating System running on the hybrid machine.
    OsSku string
    Specifies the Operating System product SKU.
    OsVersion string
    The version of Operating System running on the hybrid machine.
    ProvisioningState 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"
    VmUuid string
    Specifies the Arc Machine's unique SMBIOS ID
    ClientPublicKey string
    Public Key that the client provides to be used during initial resource onboarding
    Identity MachineResponseIdentity
    LocationData LocationDataResponse
    Metadata pertaining to the geographic location of the resource.
    OsProfile MachinePropertiesResponseOsProfile
    Specifies the operating system settings for the hybrid machine.
    Tags map[string]string
    Resource tags.
    VmId string
    Specifies the hybrid machine unique ID.
    adFqdn String
    Specifies the AD fully qualified display name.
    agentVersion String
    The hybrid machine agent full version.
    displayName String
    Specifies the hybrid machine display name.
    dnsFqdn String
    Specifies the DNS fully qualified display name.
    domainName String
    Specifies the Windows domain name.
    errorDetails List<ErrorDetailResponse>
    Details about the error state.
    extensions List<MachineExtensionInstanceViewResponse>
    Machine Extensions information
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    lastStatusChange String
    The time of the last status change.
    location String
    The geo-location where the resource lives
    machineFqdn String
    Specifies the hybrid machine FQDN.
    name String
    The name of the resource
    osName String
    The Operating System running on the hybrid machine.
    osSku String
    Specifies the Operating System product SKU.
    osVersion String
    The version of Operating System running on the hybrid machine.
    provisioningState 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"
    vmUuid String
    Specifies the Arc Machine's unique SMBIOS ID
    clientPublicKey String
    Public Key that the client provides to be used during initial resource onboarding
    identity MachineResponseIdentity
    locationData LocationDataResponse
    Metadata pertaining to the geographic location of the resource.
    osProfile MachinePropertiesResponseOsProfile
    Specifies the operating system settings for the hybrid machine.
    tags Map<String,String>
    Resource tags.
    vmId String
    Specifies the hybrid machine unique ID.
    adFqdn string
    Specifies the AD fully qualified display name.
    agentVersion string
    The hybrid machine agent full version.
    displayName string
    Specifies the hybrid machine display name.
    dnsFqdn string
    Specifies the DNS fully qualified display name.
    domainName string
    Specifies the Windows domain name.
    errorDetails ErrorDetailResponse[]
    Details about the error state.
    extensions MachineExtensionInstanceViewResponse[]
    Machine Extensions information
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    lastStatusChange string
    The time of the last status change.
    location string
    The geo-location where the resource lives
    machineFqdn string
    Specifies the hybrid machine FQDN.
    name string
    The name of the resource
    osName string
    The Operating System running on the hybrid machine.
    osSku string
    Specifies the Operating System product SKU.
    osVersion string
    The version of Operating System running on the hybrid machine.
    provisioningState 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"
    vmUuid string
    Specifies the Arc Machine's unique SMBIOS ID
    clientPublicKey string
    Public Key that the client provides to be used during initial resource onboarding
    identity MachineResponseIdentity
    locationData LocationDataResponse
    Metadata pertaining to the geographic location of the resource.
    osProfile MachinePropertiesResponseOsProfile
    Specifies the operating system settings for the hybrid machine.
    tags {[key: string]: string}
    Resource tags.
    vmId 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[ErrorDetailResponse]
    Details about the error state.
    extensions Sequence[MachineExtensionInstanceViewResponse]
    Machine Extensions information
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    last_status_change str
    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_key str
    Public Key that the client provides to be used during initial resource onboarding
    identity MachineResponseIdentity
    location_data LocationDataResponse
    Metadata pertaining to the geographic location of the resource.
    os_profile MachinePropertiesResponseOsProfile
    Specifies the operating system settings for the hybrid machine.
    tags Mapping[str, str]
    Resource tags.
    vm_id str
    Specifies the hybrid machine unique ID.
    adFqdn String
    Specifies the AD fully qualified display name.
    agentVersion String
    The hybrid machine agent full version.
    displayName String
    Specifies the hybrid machine display name.
    dnsFqdn String
    Specifies the DNS fully qualified display name.
    domainName String
    Specifies the Windows domain name.
    errorDetails 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}
    lastStatusChange String
    The time of the last status change.
    location String
    The geo-location where the resource lives
    machineFqdn String
    Specifies the hybrid machine FQDN.
    name String
    The name of the resource
    osName String
    The Operating System running on the hybrid machine.
    osSku String
    Specifies the Operating System product SKU.
    osVersion String
    The version of Operating System running on the hybrid machine.
    provisioningState 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"
    vmUuid String
    Specifies the Arc Machine's unique SMBIOS ID
    clientPublicKey String
    Public Key that the client provides to be used during initial resource onboarding
    identity Property Map
    locationData Property Map
    Metadata pertaining to the geographic location of the resource.
    osProfile Property Map
    Specifies the operating system settings for the hybrid machine.
    tags Map<String>
    Resource tags.
    vmId 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.AzureNative.HybridCompute.Inputs.ErrorDetailResponse>
    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 []ErrorDetailResponse
    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<ErrorDetailResponse>
    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 ErrorDetailResponse[]
    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[ErrorDetailResponse]
    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.
    CountryOrRegion string
    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.
    CountryOrRegion string
    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.
    countryOrRegion String
    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.
    countryOrRegion string
    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_region str
    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.
    countryOrRegion String
    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".
    TypeHandlerVersion string
    Specifies the version of the script handler.
    Status Pulumi.AzureNative.HybridCompute.Inputs.MachineExtensionInstanceViewResponseStatus
    Instance view status.
    Name string
    The machine extension name.
    Type string
    Specifies the type of the extension; an example is "CustomScriptExtension".
    TypeHandlerVersion string
    Specifies the version of the script handler.
    Status MachineExtensionInstanceViewResponseStatus
    Instance view status.
    name String
    The machine extension name.
    type String
    Specifies the type of the extension; an example is "CustomScriptExtension".
    typeHandlerVersion String
    Specifies the version of the script handler.
    status MachineExtensionInstanceViewResponseStatus
    Instance view status.
    name string
    The machine extension name.
    type string
    Specifies the type of the extension; an example is "CustomScriptExtension".
    typeHandlerVersion string
    Specifies the version of the script handler.
    status MachineExtensionInstanceViewResponseStatus
    Instance view status.
    name str
    The machine extension name.
    type str
    Specifies the type of the extension; an example is "CustomScriptExtension".
    type_handler_version str
    Specifies the version of the script handler.
    status MachineExtensionInstanceViewResponseStatus
    Instance view status.
    name String
    The machine extension name.
    type String
    Specifies the type of the extension; an example is "CustomScriptExtension".
    typeHandlerVersion String
    Specifies the version of the script handler.
    status Property Map
    Instance view status.

    MachineExtensionInstanceViewResponseStatus

    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.

    MachinePropertiesResponseOsProfile

    ComputerName string
    Specifies the host OS name of the hybrid machine.
    ComputerName string
    Specifies the host OS name of the hybrid machine.
    computerName String
    Specifies the host OS name of the hybrid machine.
    computerName string
    Specifies the host OS name of the hybrid machine.
    computer_name str
    Specifies the host OS name of the hybrid machine.
    computerName String
    Specifies the host OS name of the hybrid machine.

    MachineResponseIdentity

    PrincipalId string
    The identity's principal id.
    TenantId string
    The identity's tenant id.
    Type string
    The identity type.
    PrincipalId string
    The identity's principal id.
    TenantId string
    The identity's tenant id.
    Type string
    The identity type.
    principalId String
    The identity's principal id.
    tenantId String
    The identity's tenant id.
    type String
    The identity type.
    principalId string
    The identity's principal id.
    tenantId 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.
    principalId String
    The identity's principal id.
    tenantId 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
    azure-native-v1 logo
    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