Hyperv Cluster Controller Cluster
A cluster resource belonging to a site resource. Uses Azure REST API version 2023-10-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-06-06. Other available API versions: 2023-06-06, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native offazure [ApiVersion]
. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.
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 = "67b-v01-nC3--6tCUl",
Fqdn = "rpfphmlbzericn",
HostFqdnList = new[]
{
"ozzrrnscesqywisszgtrnqkxp",
},
ProvisioningState = AzureNative.OffAzure.ProvisioningState.Created,
ResourceGroupName = "rgmigrate",
RunAsAccountId = "qgqrfeczloubuaitiudd",
SiteName = "7-ZE7-O1HU2-s-EyMu6",
});
});
package main
import (
offazure "github.com/pulumi/pulumi-azure-native-sdk/offazure/v3"
"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("67b-v01-nC3--6tCUl"),
Fqdn: pulumi.String("rpfphmlbzericn"),
HostFqdnList: pulumi.StringArray{
pulumi.String("ozzrrnscesqywisszgtrnqkxp"),
},
ProvisioningState: pulumi.String(offazure.ProvisioningStateCreated),
ResourceGroupName: pulumi.String("rgmigrate"),
RunAsAccountId: pulumi.String("qgqrfeczloubuaitiudd"),
SiteName: pulumi.String("7-ZE7-O1HU2-s-EyMu6"),
})
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.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("67b-v01-nC3--6tCUl")
.fqdn("rpfphmlbzericn")
.hostFqdnList("ozzrrnscesqywisszgtrnqkxp")
.provisioningState("Created")
.resourceGroupName("rgmigrate")
.runAsAccountId("qgqrfeczloubuaitiudd")
.siteName("7-ZE7-O1HU2-s-EyMu6")
.build());
}
}
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:offazure:HypervClusterControllerCluster oqgtgmbujxagubndmm /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/hypervSites/{siteName}/clusters/{clusterName}
Properties
The Azure API version of the resource.
Gets the timestamp marking Hyper-V cluster creation.
Gets the errors.
Gets the functional level of the Hyper-V cluster.
Gets or sets list of hosts (FQDN) currently being tracked by the cluster.
The status of the last operation.
Gets or sets Run as account ID of the Hyper-V cluster.
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Gets the timestamp marking last updated on the Hyper-V cluster.