1. Packages
  2. Netbox Provider
  3. API Docs
  4. getClusterType
netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger

netbox.getClusterType

Explore with Pulumi AI

netbox logo
netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger

    Using getClusterType

    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 getClusterType(args: GetClusterTypeArgs, opts?: InvokeOptions): Promise<GetClusterTypeResult>
    function getClusterTypeOutput(args: GetClusterTypeOutputArgs, opts?: InvokeOptions): Output<GetClusterTypeResult>
    def get_cluster_type(id: Optional[str] = None,
                         name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetClusterTypeResult
    def get_cluster_type_output(id: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetClusterTypeResult]
    func LookupClusterType(ctx *Context, args *LookupClusterTypeArgs, opts ...InvokeOption) (*LookupClusterTypeResult, error)
    func LookupClusterTypeOutput(ctx *Context, args *LookupClusterTypeOutputArgs, opts ...InvokeOption) LookupClusterTypeResultOutput

    > Note: This function is named LookupClusterType in the Go SDK.

    public static class GetClusterType 
    {
        public static Task<GetClusterTypeResult> InvokeAsync(GetClusterTypeArgs args, InvokeOptions? opts = null)
        public static Output<GetClusterTypeResult> Invoke(GetClusterTypeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetClusterTypeResult> getClusterType(GetClusterTypeArgs args, InvokeOptions options)
    public static Output<GetClusterTypeResult> getClusterType(GetClusterTypeArgs args, InvokeOptions options)
    
    fn::invoke:
      function: netbox:index/getClusterType:getClusterType
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Id string
    The ID of this resource.
    Name string
    Id string
    The ID of this resource.
    name String
    id String
    The ID of this resource.
    name string
    id string
    The ID of this resource.
    name str
    id str
    The ID of this resource.
    name String
    id String
    The ID of this resource.

    getClusterType Result

    The following output properties are available:

    ClusterTypeId double
    Id string
    The ID of this resource.
    Name string
    ClusterTypeId float64
    Id string
    The ID of this resource.
    Name string
    clusterTypeId Double
    id String
    The ID of this resource.
    name String
    clusterTypeId number
    id string
    The ID of this resource.
    name string
    cluster_type_id float
    id str
    The ID of this resource.
    name str
    clusterTypeId Number
    id String
    The ID of this resource.
    name String

    Package Details

    Repository
    netbox e-breuninger/terraform-provider-netbox
    License
    Notes
    This Pulumi package is based on the netbox Terraform Provider.
    netbox logo
    netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger