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

ibm.getContainerVpcClusterWorkerPool

Explore with Pulumi AI

Retrieve information about a Kubernetes cluster worker pool on IBM Cloud as a read-only data source. For more information, about VPC cluster, see creating clusters.

Using getContainerVpcClusterWorkerPool

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 getContainerVpcClusterWorkerPool(args: GetContainerVpcClusterWorkerPoolArgs, opts?: InvokeOptions): Promise<GetContainerVpcClusterWorkerPoolResult>
function getContainerVpcClusterWorkerPoolOutput(args: GetContainerVpcClusterWorkerPoolOutputArgs, opts?: InvokeOptions): Output<GetContainerVpcClusterWorkerPoolResult>
Copy
def get_container_vpc_cluster_worker_pool(cluster: Optional[str] = None,
                                          id: Optional[str] = None,
                                          worker_pool_name: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetContainerVpcClusterWorkerPoolResult
def get_container_vpc_cluster_worker_pool_output(cluster: Optional[pulumi.Input[str]] = None,
                                          id: Optional[pulumi.Input[str]] = None,
                                          worker_pool_name: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetContainerVpcClusterWorkerPoolResult]
Copy
func LookupContainerVpcClusterWorkerPool(ctx *Context, args *LookupContainerVpcClusterWorkerPoolArgs, opts ...InvokeOption) (*LookupContainerVpcClusterWorkerPoolResult, error)
func LookupContainerVpcClusterWorkerPoolOutput(ctx *Context, args *LookupContainerVpcClusterWorkerPoolOutputArgs, opts ...InvokeOption) LookupContainerVpcClusterWorkerPoolResultOutput
Copy

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

public static class GetContainerVpcClusterWorkerPool 
{
    public static Task<GetContainerVpcClusterWorkerPoolResult> InvokeAsync(GetContainerVpcClusterWorkerPoolArgs args, InvokeOptions? opts = null)
    public static Output<GetContainerVpcClusterWorkerPoolResult> Invoke(GetContainerVpcClusterWorkerPoolInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetContainerVpcClusterWorkerPoolResult> getContainerVpcClusterWorkerPool(GetContainerVpcClusterWorkerPoolArgs args, InvokeOptions options)
public static Output<GetContainerVpcClusterWorkerPoolResult> getContainerVpcClusterWorkerPool(GetContainerVpcClusterWorkerPoolArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getContainerVpcClusterWorkerPool:getContainerVpcClusterWorkerPool
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Cluster This property is required. string
The name or ID of the cluster.
WorkerPoolName This property is required. string
The name of the worker pool.
Id string
(String) The unique identifier of the worker pool resource, as <cluster_name_id>/<worker_pool_id>.
Cluster This property is required. string
The name or ID of the cluster.
WorkerPoolName This property is required. string
The name of the worker pool.
Id string
(String) The unique identifier of the worker pool resource, as <cluster_name_id>/<worker_pool_id>.
cluster This property is required. String
The name or ID of the cluster.
workerPoolName This property is required. String
The name of the worker pool.
id String
(String) The unique identifier of the worker pool resource, as <cluster_name_id>/<worker_pool_id>.
cluster This property is required. string
The name or ID of the cluster.
workerPoolName This property is required. string
The name of the worker pool.
id string
(String) The unique identifier of the worker pool resource, as <cluster_name_id>/<worker_pool_id>.
cluster This property is required. str
The name or ID of the cluster.
worker_pool_name This property is required. str
The name of the worker pool.
id str
(String) The unique identifier of the worker pool resource, as <cluster_name_id>/<worker_pool_id>.
cluster This property is required. String
The name or ID of the cluster.
workerPoolName This property is required. String
The name of the worker pool.
id String
(String) The unique identifier of the worker pool resource, as <cluster_name_id>/<worker_pool_id>.

getContainerVpcClusterWorkerPool Result

The following output properties are available:

AutoscaleEnabled bool
(Bool) Autoscaling is enabled on the workerpool
Cluster string
Crk string
Flavor string
(String) The flavour of the worker node.
HostPoolId string
(String) The ID of the dedicated host pool the worker pool is associated with.
Id string
(String) The unique identifier of the worker pool resource, as <cluster_name_id>/<worker_pool_id>.
Isolation string
(String) Isolation for the worker node.
KmsAccountId string
KmsInstanceId string
Labels Dictionary<string, string>
(String) Labels on all the workers in the worker pool.
OperatingSystem string
(String) The operating system of the workers in the worker pool.
ResourceGroupId string
(String) The ID of the resource group.
SecondaryStorages List<GetContainerVpcClusterWorkerPoolSecondaryStorage>
List of objects - The optional secondary storage configuration of the workers in the worker pool.
VpcId string
(String) The ID of the VPC.
WorkerCount double
(String) The number of worker nodes per zone in the worker pool.
WorkerPoolName string
Zones List<GetContainerVpcClusterWorkerPoolZone>
(String) A nested block describes the zones of the worker_pool. Nested zones blocks has subnet-id and name.
AutoscaleEnabled bool
(Bool) Autoscaling is enabled on the workerpool
Cluster string
Crk string
Flavor string
(String) The flavour of the worker node.
HostPoolId string
(String) The ID of the dedicated host pool the worker pool is associated with.
Id string
(String) The unique identifier of the worker pool resource, as <cluster_name_id>/<worker_pool_id>.
Isolation string
(String) Isolation for the worker node.
KmsAccountId string
KmsInstanceId string
Labels map[string]string
(String) Labels on all the workers in the worker pool.
OperatingSystem string
(String) The operating system of the workers in the worker pool.
ResourceGroupId string
(String) The ID of the resource group.
SecondaryStorages []GetContainerVpcClusterWorkerPoolSecondaryStorage
List of objects - The optional secondary storage configuration of the workers in the worker pool.
VpcId string
(String) The ID of the VPC.
WorkerCount float64
(String) The number of worker nodes per zone in the worker pool.
WorkerPoolName string
Zones []GetContainerVpcClusterWorkerPoolZone
(String) A nested block describes the zones of the worker_pool. Nested zones blocks has subnet-id and name.
autoscaleEnabled Boolean
(Bool) Autoscaling is enabled on the workerpool
cluster String
crk String
flavor String
(String) The flavour of the worker node.
hostPoolId String
(String) The ID of the dedicated host pool the worker pool is associated with.
id String
(String) The unique identifier of the worker pool resource, as <cluster_name_id>/<worker_pool_id>.
isolation String
(String) Isolation for the worker node.
kmsAccountId String
kmsInstanceId String
labels Map<String,String>
(String) Labels on all the workers in the worker pool.
operatingSystem String
(String) The operating system of the workers in the worker pool.
resourceGroupId String
(String) The ID of the resource group.
secondaryStorages List<GetContainerVpcClusterWorkerPoolSecondaryStorage>
List of objects - The optional secondary storage configuration of the workers in the worker pool.
vpcId String
(String) The ID of the VPC.
workerCount Double
(String) The number of worker nodes per zone in the worker pool.
workerPoolName String
zones List<GetContainerVpcClusterWorkerPoolZone>
(String) A nested block describes the zones of the worker_pool. Nested zones blocks has subnet-id and name.
autoscaleEnabled boolean
(Bool) Autoscaling is enabled on the workerpool
cluster string
crk string
flavor string
(String) The flavour of the worker node.
hostPoolId string
(String) The ID of the dedicated host pool the worker pool is associated with.
id string
(String) The unique identifier of the worker pool resource, as <cluster_name_id>/<worker_pool_id>.
isolation string
(String) Isolation for the worker node.
kmsAccountId string
kmsInstanceId string
labels {[key: string]: string}
(String) Labels on all the workers in the worker pool.
operatingSystem string
(String) The operating system of the workers in the worker pool.
resourceGroupId string
(String) The ID of the resource group.
secondaryStorages GetContainerVpcClusterWorkerPoolSecondaryStorage[]
List of objects - The optional secondary storage configuration of the workers in the worker pool.
vpcId string
(String) The ID of the VPC.
workerCount number
(String) The number of worker nodes per zone in the worker pool.
workerPoolName string
zones GetContainerVpcClusterWorkerPoolZone[]
(String) A nested block describes the zones of the worker_pool. Nested zones blocks has subnet-id and name.
autoscale_enabled bool
(Bool) Autoscaling is enabled on the workerpool
cluster str
crk str
flavor str
(String) The flavour of the worker node.
host_pool_id str
(String) The ID of the dedicated host pool the worker pool is associated with.
id str
(String) The unique identifier of the worker pool resource, as <cluster_name_id>/<worker_pool_id>.
isolation str
(String) Isolation for the worker node.
kms_account_id str
kms_instance_id str
labels Mapping[str, str]
(String) Labels on all the workers in the worker pool.
operating_system str
(String) The operating system of the workers in the worker pool.
resource_group_id str
(String) The ID of the resource group.
secondary_storages Sequence[GetContainerVpcClusterWorkerPoolSecondaryStorage]
List of objects - The optional secondary storage configuration of the workers in the worker pool.
vpc_id str
(String) The ID of the VPC.
worker_count float
(String) The number of worker nodes per zone in the worker pool.
worker_pool_name str
zones Sequence[GetContainerVpcClusterWorkerPoolZone]
(String) A nested block describes the zones of the worker_pool. Nested zones blocks has subnet-id and name.
autoscaleEnabled Boolean
(Bool) Autoscaling is enabled on the workerpool
cluster String
crk String
flavor String
(String) The flavour of the worker node.
hostPoolId String
(String) The ID of the dedicated host pool the worker pool is associated with.
id String
(String) The unique identifier of the worker pool resource, as <cluster_name_id>/<worker_pool_id>.
isolation String
(String) Isolation for the worker node.
kmsAccountId String
kmsInstanceId String
labels Map<String>
(String) Labels on all the workers in the worker pool.
operatingSystem String
(String) The operating system of the workers in the worker pool.
resourceGroupId String
(String) The ID of the resource group.
secondaryStorages List<Property Map>
List of objects - The optional secondary storage configuration of the workers in the worker pool.
vpcId String
(String) The ID of the VPC.
workerCount Number
(String) The number of worker nodes per zone in the worker pool.
workerPoolName String
zones List<Property Map>
(String) A nested block describes the zones of the worker_pool. Nested zones blocks has subnet-id and name.

Supporting Types

GetContainerVpcClusterWorkerPoolSecondaryStorage

Count This property is required. double
(Integer) The device count of the secondary storage.
DeviceType This property is required. string
(String) The device type of the secondary storage.
Name This property is required. string
(String) The name of the secondary storage.
Profile This property is required. string
(String) The profile of the secondary storage.
RaidConfiguration This property is required. string
(String) The raid configuration of the secondary storage.
Size This property is required. double
(Integer) The size of the secondary storage.
Count This property is required. float64
(Integer) The device count of the secondary storage.
DeviceType This property is required. string
(String) The device type of the secondary storage.
Name This property is required. string
(String) The name of the secondary storage.
Profile This property is required. string
(String) The profile of the secondary storage.
RaidConfiguration This property is required. string
(String) The raid configuration of the secondary storage.
Size This property is required. float64
(Integer) The size of the secondary storage.
count This property is required. Double
(Integer) The device count of the secondary storage.
deviceType This property is required. String
(String) The device type of the secondary storage.
name This property is required. String
(String) The name of the secondary storage.
profile This property is required. String
(String) The profile of the secondary storage.
raidConfiguration This property is required. String
(String) The raid configuration of the secondary storage.
size This property is required. Double
(Integer) The size of the secondary storage.
count This property is required. number
(Integer) The device count of the secondary storage.
deviceType This property is required. string
(String) The device type of the secondary storage.
name This property is required. string
(String) The name of the secondary storage.
profile This property is required. string
(String) The profile of the secondary storage.
raidConfiguration This property is required. string
(String) The raid configuration of the secondary storage.
size This property is required. number
(Integer) The size of the secondary storage.
count This property is required. float
(Integer) The device count of the secondary storage.
device_type This property is required. str
(String) The device type of the secondary storage.
name This property is required. str
(String) The name of the secondary storage.
profile This property is required. str
(String) The profile of the secondary storage.
raid_configuration This property is required. str
(String) The raid configuration of the secondary storage.
size This property is required. float
(Integer) The size of the secondary storage.
count This property is required. Number
(Integer) The device count of the secondary storage.
deviceType This property is required. String
(String) The device type of the secondary storage.
name This property is required. String
(String) The name of the secondary storage.
profile This property is required. String
(String) The profile of the secondary storage.
raidConfiguration This property is required. String
(String) The raid configuration of the secondary storage.
size This property is required. Number
(Integer) The size of the secondary storage.

GetContainerVpcClusterWorkerPoolZone

Name This property is required. string
(String) The name of the secondary storage.
SubnetId This property is required. string
Name This property is required. string
(String) The name of the secondary storage.
SubnetId This property is required. string
name This property is required. String
(String) The name of the secondary storage.
subnetId This property is required. String
name This property is required. string
(String) The name of the secondary storage.
subnetId This property is required. string
name This property is required. str
(String) The name of the secondary storage.
subnet_id This property is required. str
name This property is required. String
(String) The name of the secondary storage.
subnetId 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.