Hyperv Host Controller
A host resource belonging to a site resource. Uses Azure REST API version 2023-06-06. Other available API versions: 2023-10-01-preview, 2024-05-01-preview.
Example Usage
HypervHostController_Create_MaximumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var hypervHostController = new AzureNative.OffAzure.HypervHostController("hypervHostController", new()
{
Fqdn = "okkwk",
HostName = "XQ-753h-765DG2",
ProvisioningState = AzureNative.OffAzure.ProvisioningState.Created,
ResourceGroupName = "rgmigrate",
RunAsAccountId = "pjgyebznvfxnjzjqt",
SiteName = "---7ed-q11Nx46-98",
});
});
Content copied to clipboard
package main
import (
offazure "github.com/pulumi/pulumi-azure-native-sdk/offazure/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := offazure.NewHypervHostController(ctx, "hypervHostController", &offazure.HypervHostControllerArgs{
Fqdn: pulumi.String("okkwk"),
HostName: pulumi.String("XQ-753h-765DG2"),
ProvisioningState: pulumi.String(offazure.ProvisioningStateCreated),
ResourceGroupName: pulumi.String("rgmigrate"),
RunAsAccountId: pulumi.String("pjgyebznvfxnjzjqt"),
SiteName: pulumi.String("---7ed-q11Nx46-98"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.offazure.HypervHostController;
import com.pulumi.azurenative.offazure.HypervHostControllerArgs;
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 hypervHostController = new HypervHostController("hypervHostController", HypervHostControllerArgs.builder()
.fqdn("okkwk")
.hostName("XQ-753h-765DG2")
.provisioningState("Created")
.resourceGroupName("rgmigrate")
.runAsAccountId("pjgyebznvfxnjzjqt")
.siteName("---7ed-q11Nx46-98")
.build());
}
}
Content copied to clipboard
HypervHostController_Create_MinimumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var hypervHostController = new AzureNative.OffAzure.HypervHostController("hypervHostController", new()
{
HostName = "IIfm6suXoKL",
ResourceGroupName = "rgmigrate",
SiteName = "-25mH3",
});
});
Content copied to clipboard
package main
import (
offazure "github.com/pulumi/pulumi-azure-native-sdk/offazure/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := offazure.NewHypervHostController(ctx, "hypervHostController", &offazure.HypervHostControllerArgs{
HostName: pulumi.String("IIfm6suXoKL"),
ResourceGroupName: pulumi.String("rgmigrate"),
SiteName: pulumi.String("-25mH3"),
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.offazure.HypervHostController;
import com.pulumi.azurenative.offazure.HypervHostControllerArgs;
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 hypervHostController = new HypervHostController("hypervHostController", HypervHostControllerArgs.builder()
.hostName("IIfm6suXoKL")
.resourceGroupName("rgmigrate")
.siteName("-25mH3")
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:offazure:HypervHostController kgosttkbfbrsge /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/hosts/{hostName}
Content copied to clipboard
Properties
Link copied to clipboard
Gets the timestamp marking Hyper-V host creation.
Link copied to clipboard
Gets the errors.
Link copied to clipboard
The status of the last operation.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Gets or sets the run as account ID of the Hyper-V host.
Link copied to clipboard
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Link copied to clipboard
Gets the timestamp marking last updated on the Hyper-V host.