1. Packages
  2. Ibm Provider
  3. API Docs
  4. getSatelliteCluster
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.getSatelliteCluster

Explore with Pulumi AI

Retrieve information about an existing Satellite cluster. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax. For more information, about Satellite cluster, see Setting up clusters to use with Satellite Config.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";

const cluster = ibm.getSatelliteCluster({
    name: _var.cluster,
});
Copy
import pulumi
import pulumi_ibm as ibm

cluster = ibm.get_satellite_cluster(name=var["cluster"])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ibm.LookupSatelliteCluster(ctx, &ibm.LookupSatelliteClusterArgs{
			Name: _var.Cluster,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var cluster = Ibm.GetSatelliteCluster.Invoke(new()
    {
        Name = @var.Cluster,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetSatelliteClusterArgs;
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 = IbmFunctions.getSatelliteCluster(GetSatelliteClusterArgs.builder()
            .name(var_.cluster())
            .build());

    }
}
Copy
variables:
  cluster:
    fn::invoke:
      function: ibm:getSatelliteCluster
      arguments:
        name: ${var.cluster}
Copy

Attributes reference

In addition to all argument references list, you can access the following attribute references after your resource is created.

  • id - (String) The unique identifier of the location.

  • location - (String) The name or ID of the location.

  • state - (String) The state of cluster.

  • status - (String) The status of cluster.

  • server_url - (String) The URL of the master.

  • health - (String) The health of cluster master.

  • crn - (String) The CRN for this satellite cluster.

  • kube_version - (String) The Kubernetes version, including at least the major.minor version. To see available versions, run ibmcloud ks versions.

  • worker_count - (String) The number of workers that are attached to the cluster.

  • workers - (String) The IDs of the workers that are attached to the cluster.

  • worker_pools- (List) The collection of worker nodes in a cluster.

  • infrastructure_topology - (String) The infrastructure topology status for this cluster.

    Nested scheme for worker_pools:

    • name- (String) The name of the worker pool.

    • flavor- (String) The flavor of the worker node.

    • worker_count- (String) The total number of workers.

    • isolation- (String) The isolation for the worker node.

    • id- (String) The ID of the cluster.

    • default_worker_pool_labels- (String) The labels on the default workerpool.

    • host_labels- (String) The host labels of the workers.

    • zones- (List) A nested block describing the zones of this worker_pool.

      Nested scheme for zones:

      • zone- (String) The name of the zone.
      • workercount- (String) The number of worker nodes in the current worker pool.
  • ingress_hostname - (String) The Ingress hostname.

  • ingress_secret - (String) The Ingress secret.

  • private_service_endpoint_url - (String) The private service endpoint URL.

  • public_service_endpoint_url - (String) The public service endpoint URL.

  • public_service_endpoint - (Bool) Is public service endpoint enabled to make the master publicly accessible.

  • private_service_endpoint - (Bool) Is private service endpoint enabled to make the master privately accessible.

  • resource_group_id - (String) The ID of the resource group.

  • resource_group_name - (String) The name of the resource group.

  • tags - (String) The tags associated with cluster.

Using getSatelliteCluster

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 getSatelliteCluster(args: GetSatelliteClusterArgs, opts?: InvokeOptions): Promise<GetSatelliteClusterResult>
function getSatelliteClusterOutput(args: GetSatelliteClusterOutputArgs, opts?: InvokeOptions): Output<GetSatelliteClusterResult>
Copy
def get_satellite_cluster(id: Optional[str] = None,
                          name: Optional[str] = None,
                          resource_group_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetSatelliteClusterResult
def get_satellite_cluster_output(id: Optional[pulumi.Input[str]] = None,
                          name: Optional[pulumi.Input[str]] = None,
                          resource_group_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetSatelliteClusterResult]
Copy
func LookupSatelliteCluster(ctx *Context, args *LookupSatelliteClusterArgs, opts ...InvokeOption) (*LookupSatelliteClusterResult, error)
func LookupSatelliteClusterOutput(ctx *Context, args *LookupSatelliteClusterOutputArgs, opts ...InvokeOption) LookupSatelliteClusterResultOutput
Copy

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

public static class GetSatelliteCluster 
{
    public static Task<GetSatelliteClusterResult> InvokeAsync(GetSatelliteClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetSatelliteClusterResult> Invoke(GetSatelliteClusterInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSatelliteClusterResult> getSatelliteCluster(GetSatelliteClusterArgs args, InvokeOptions options)
public static Output<GetSatelliteClusterResult> getSatelliteCluster(GetSatelliteClusterArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getSatelliteCluster:getSatelliteCluster
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name or ID of the Satellite cluster.
Id string
ResourceGroupId string
Name This property is required. string
The name or ID of the Satellite cluster.
Id string
ResourceGroupId string
name This property is required. String
The name or ID of the Satellite cluster.
id String
resourceGroupId String
name This property is required. string
The name or ID of the Satellite cluster.
id string
resourceGroupId string
name This property is required. str
The name or ID of the Satellite cluster.
id str
resource_group_id str
name This property is required. String
The name or ID of the Satellite cluster.
id String
resourceGroupId String

getSatelliteCluster Result

The following output properties are available:

Supporting Types

GetSatelliteClusterWorkerPool

DefaultWorkerPoolLabels This property is required. Dictionary<string, string>
Flavour This property is required. string
HostLabels This property is required. Dictionary<string, string>
Id This property is required. string
Isolation This property is required. string
Name This property is required. string
The name or ID of the Satellite cluster.
SizePerZone This property is required. double
State This property is required. string
Zones This property is required. List<GetSatelliteClusterWorkerPoolZone>
DefaultWorkerPoolLabels This property is required. map[string]string
Flavour This property is required. string
HostLabels This property is required. map[string]string
Id This property is required. string
Isolation This property is required. string
Name This property is required. string
The name or ID of the Satellite cluster.
SizePerZone This property is required. float64
State This property is required. string
Zones This property is required. []GetSatelliteClusterWorkerPoolZone
defaultWorkerPoolLabels This property is required. Map<String,String>
flavour This property is required. String
hostLabels This property is required. Map<String,String>
id This property is required. String
isolation This property is required. String
name This property is required. String
The name or ID of the Satellite cluster.
sizePerZone This property is required. Double
state This property is required. String
zones This property is required. List<GetSatelliteClusterWorkerPoolZone>
defaultWorkerPoolLabels This property is required. {[key: string]: string}
flavour This property is required. string
hostLabels This property is required. {[key: string]: string}
id This property is required. string
isolation This property is required. string
name This property is required. string
The name or ID of the Satellite cluster.
sizePerZone This property is required. number
state This property is required. string
zones This property is required. GetSatelliteClusterWorkerPoolZone[]
default_worker_pool_labels This property is required. Mapping[str, str]
flavour This property is required. str
host_labels This property is required. Mapping[str, str]
id This property is required. str
isolation This property is required. str
name This property is required. str
The name or ID of the Satellite cluster.
size_per_zone This property is required. float
state This property is required. str
zones This property is required. Sequence[GetSatelliteClusterWorkerPoolZone]
defaultWorkerPoolLabels This property is required. Map<String>
flavour This property is required. String
hostLabels This property is required. Map<String>
id This property is required. String
isolation This property is required. String
name This property is required. String
The name or ID of the Satellite cluster.
sizePerZone This property is required. Number
state This property is required. String
zones This property is required. List<Property Map>

GetSatelliteClusterWorkerPoolZone

WorkerCount This property is required. double
Zone This property is required. string
WorkerCount This property is required. float64
Zone This property is required. string
workerCount This property is required. Double
zone This property is required. String
workerCount This property is required. number
zone This property is required. string
worker_count This property is required. float
zone This property is required. str
workerCount This property is required. Number
zone This property is required. String

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.