Machine

class Machine : KotlinCustomResource

Describes a hybrid machine. API Version: 2020-08-02.

Example Usage

Create or Update a Machine

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var machine = new AzureNative.HybridCompute.Machine("machine", new()
{
ClientPublicKey = "string",
Identity = new AzureNative.HybridCompute.Inputs.MachineIdentityArgs
{
Type = "SystemAssigned",
},
Location = "eastus2euap",
LocationData = new AzureNative.HybridCompute.Inputs.LocationDataArgs
{
Name = "Redmond",
},
Name = "myMachine",
ResourceGroupName = "myResourceGroup",
VmId = "b7a098cc-b0b8-46e8-a205-62f301a62a8f",
});
});
package main
import (
hybridcompute "github.com/pulumi/pulumi-azure-native-sdk/hybridcompute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hybridcompute.NewMachine(ctx, "machine", &hybridcompute.MachineArgs{
ClientPublicKey: pulumi.String("string"),
Identity: &hybridcompute.MachineIdentityArgs{
Type: pulumi.String("SystemAssigned"),
},
Location: pulumi.String("eastus2euap"),
LocationData: &hybridcompute.LocationDataArgs{
Name: pulumi.String("Redmond"),
},
Name: pulumi.String("myMachine"),
ResourceGroupName: pulumi.String("myResourceGroup"),
VmId: pulumi.String("b7a098cc-b0b8-46e8-a205-62f301a62a8f"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.hybridcompute.Machine;
import com.pulumi.azurenative.hybridcompute.MachineArgs;
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 machine = new Machine("machine", MachineArgs.builder()
.clientPublicKey("string")
.identity(Map.of("type", "SystemAssigned"))
.location("eastus2euap")
.locationData(Map.of("name", "Redmond"))
.name("myMachine")
.resourceGroupName("myResourceGroup")
.vmId("b7a098cc-b0b8-46e8-a205-62f301a62a8f")
.build());
}
}

Import

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

$ pulumi import azure-native:hybridcompute:Machine myMachine /subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myMachine

Properties

Link copied to clipboard
val adFqdn: Output<String>

Specifies the AD fully qualified display name.

Link copied to clipboard
val agentVersion: Output<String>

The hybrid machine agent full version.

Link copied to clipboard
val clientPublicKey: Output<String>?

Public Key that the client provides to be used during initial resource onboarding

Link copied to clipboard
val displayName: Output<String>

Specifies the hybrid machine display name.

Link copied to clipboard
val dnsFqdn: Output<String>

Specifies the DNS fully qualified display name.

Link copied to clipboard
val domainName: Output<String>

Specifies the Windows domain name.

Link copied to clipboard

Details about the error state.

Link copied to clipboard

Machine Extensions information

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
Link copied to clipboard

The time of the last status change.

Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard

Metadata pertaining to the geographic location of the resource.

Link copied to clipboard
val machineFqdn: Output<String>

Specifies the hybrid machine FQDN.

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val osName: Output<String>

The Operating System running on the hybrid machine.

Link copied to clipboard

Specifies the operating system settings for the hybrid machine.

Link copied to clipboard
val osSku: Output<String>

Specifies the Operating System product SKU.

Link copied to clipboard
val osVersion: Output<String>

The version of Operating System running on the hybrid machine.

Link copied to clipboard

The provisioning state, which only appears in the response.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>

The status of the hybrid machine agent.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vmId: Output<String>?

Specifies the hybrid machine unique ID.

Link copied to clipboard
val vmUuid: Output<String>

Specifies the Arc Machine's unique SMBIOS ID