nsxt 3.8.1 published on Wednesday, Apr 30, 2025 by vmware
nsxt.getManagementCluster
Explore with Pulumi AI
This data source provides information about the NSX-T management cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nsxt from "@pulumi/nsxt";
const cluster = nsxt.getManagementCluster({});
import pulumi
import pulumi_nsxt as nsxt
cluster = nsxt.get_management_cluster()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/nsxt/v3/nsxt"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := nsxt.GetManagementCluster(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nsxt = Pulumi.Nsxt;
return await Deployment.RunAsync(() =>
{
var cluster = Nsxt.GetManagementCluster.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nsxt.NsxtFunctions;
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) {
final var cluster = NsxtFunctions.getManagementCluster();
}
}
variables:
cluster:
fn::invoke:
function: nsxt:getManagementCluster
arguments: {}
Using getManagementCluster
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 getManagementCluster(opts?: InvokeOptions): Promise<GetManagementClusterResult>
function getManagementClusterOutput(opts?: InvokeOptions): Output<GetManagementClusterResult>
def get_management_cluster(opts: Optional[InvokeOptions] = None) -> GetManagementClusterResult
def get_management_cluster_output(opts: Optional[InvokeOptions] = None) -> Output[GetManagementClusterResult]
func GetManagementCluster(ctx *Context, opts ...InvokeOption) (*GetManagementClusterResult, error)
func GetManagementClusterOutput(ctx *Context, opts ...InvokeOption) GetManagementClusterResultOutput
> Note: This function is named GetManagementCluster
in the Go SDK.
public static class GetManagementCluster
{
public static Task<GetManagementClusterResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetManagementClusterResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagementClusterResult> getManagementCluster(InvokeOptions options)
public static Output<GetManagementClusterResult> getManagementCluster(InvokeOptions options)
fn::invoke:
function: nsxt:index/getManagementCluster:getManagementCluster
arguments:
# arguments dictionary
getManagementCluster Result
The following output properties are available:
- Id string
- Unique identifier of this cluster.
- Node
Sha256Thumbprint string - SHA256 of certificate thumbprint of this manager node.
- Id string
- Unique identifier of this cluster.
- Node
Sha256Thumbprint string - SHA256 of certificate thumbprint of this manager node.
- id String
- Unique identifier of this cluster.
- node
Sha256Thumbprint String - SHA256 of certificate thumbprint of this manager node.
- id string
- Unique identifier of this cluster.
- node
Sha256Thumbprint string - SHA256 of certificate thumbprint of this manager node.
- id str
- Unique identifier of this cluster.
- node_
sha256_ strthumbprint - SHA256 of certificate thumbprint of this manager node.
- id String
- Unique identifier of this cluster.
- node
Sha256Thumbprint String - SHA256 of certificate thumbprint of this manager node.
Package Details
- Repository
- nsxt vmware/terraform-provider-nsxt
- License
- Notes
- This Pulumi package is based on the
nsxt
Terraform Provider.