Hyperv Cluster Controller Cluster
A cluster 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
HypervClusterController_CreateCluster_MaximumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var hypervClusterControllerCluster = new AzureNative.OffAzure.HypervClusterControllerCluster("hypervClusterControllerCluster", new()
{
ClusterName = "v5285",
Fqdn = "lyqquicmqfagukcwfquemrkrexic",
HostFqdnList = new[]
{
"frozqzatdahnwlccznpmw",
},
ProvisioningState = AzureNative.OffAzure.ProvisioningState.Created,
ResourceGroupName = "rgmigrate",
RunAsAccountId = "valugnnrofauhagzzxksfjbcwuqhue",
SiteName = "224qC-GNR",
});
});
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.NewHypervClusterControllerCluster(ctx, "hypervClusterControllerCluster", &offazure.HypervClusterControllerClusterArgs{
ClusterName: pulumi.String("v5285"),
Fqdn: pulumi.String("lyqquicmqfagukcwfquemrkrexic"),
HostFqdnList: pulumi.StringArray{
pulumi.String("frozqzatdahnwlccznpmw"),
},
ProvisioningState: pulumi.String(offazure.ProvisioningStateCreated),
ResourceGroupName: pulumi.String("rgmigrate"),
RunAsAccountId: pulumi.String("valugnnrofauhagzzxksfjbcwuqhue"),
SiteName: pulumi.String("224qC-GNR"),
})
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.HypervClusterControllerCluster;
import com.pulumi.azurenative.offazure.HypervClusterControllerClusterArgs;
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 hypervClusterControllerCluster = new HypervClusterControllerCluster("hypervClusterControllerCluster", HypervClusterControllerClusterArgs.builder()
.clusterName("v5285")
.fqdn("lyqquicmqfagukcwfquemrkrexic")
.hostFqdnList("frozqzatdahnwlccznpmw")
.provisioningState("Created")
.resourceGroupName("rgmigrate")
.runAsAccountId("valugnnrofauhagzzxksfjbcwuqhue")
.siteName("224qC-GNR")
.build());
}
}
Content copied to clipboard
HypervClusterController_CreateCluster_MinimumSet_Gen
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var hypervClusterControllerCluster = new AzureNative.OffAzure.HypervClusterControllerCluster("hypervClusterControllerCluster", new()
{
ClusterName = "-18--O4iS57-729MV9PCErt",
ResourceGroupName = "rgmigrate",
SiteName = "--xY37--V518",
});
});
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.NewHypervClusterControllerCluster(ctx, "hypervClusterControllerCluster", &offazure.HypervClusterControllerClusterArgs{
ClusterName: pulumi.String("-18--O4iS57-729MV9PCErt"),
ResourceGroupName: pulumi.String("rgmigrate"),
SiteName: pulumi.String("--xY37--V518"),
})
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.HypervClusterControllerCluster;
import com.pulumi.azurenative.offazure.HypervClusterControllerClusterArgs;
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 hypervClusterControllerCluster = new HypervClusterControllerCluster("hypervClusterControllerCluster", HypervClusterControllerClusterArgs.builder()
.clusterName("-18--O4iS57-729MV9PCErt")
.resourceGroupName("rgmigrate")
.siteName("--xY37--V518")
.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:HypervClusterControllerCluster jtuzcezhvbmfpe /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/clusters/{clusterName}
Content copied to clipboard
Properties
Link copied to clipboard
Gets the timestamp marking Hyper-V cluster creation.
Link copied to clipboard
Gets the errors.
Link copied to clipboard
Gets the functional level of the Hyper-V cluster.
Link copied to clipboard
Gets or sets list of hosts (FQDN) currently being tracked by the cluster.
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 Run as account ID of the Hyper-V cluster.
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 cluster.