ibm 1.78.0 published on Wednesday, Apr 30, 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>
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]
func LookupContainerVpcClusterWorkerPool(ctx *Context, args *LookupContainerVpcClusterWorkerPoolArgs, opts ...InvokeOption) (*LookupContainerVpcClusterWorkerPoolResult, error)
func LookupContainerVpcClusterWorkerPoolOutput(ctx *Context, args *LookupContainerVpcClusterWorkerPoolOutputArgs, opts ...InvokeOption) LookupContainerVpcClusterWorkerPoolResultOutput
> 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)
}
public static CompletableFuture<GetContainerVpcClusterWorkerPoolResult> getContainerVpcClusterWorkerPool(GetContainerVpcClusterWorkerPoolArgs args, InvokeOptions options)
public static Output<GetContainerVpcClusterWorkerPoolResult> getContainerVpcClusterWorkerPool(GetContainerVpcClusterWorkerPoolArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getContainerVpcClusterWorkerPool:getContainerVpcClusterWorkerPool
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster string
- The name or ID of the cluster.
- Worker
Pool stringName - 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 string
- The name or ID of the cluster.
- Worker
Pool stringName - 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 String
- The name or ID of the cluster.
- worker
Pool StringName - 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 string
- The name or ID of the cluster.
- worker
Pool stringName - 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 str
- The name or ID of the cluster.
- worker_
pool_ strname - 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 String
- The name or ID of the cluster.
- worker
Pool StringName - 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:
- Autoscale
Enabled bool - (Bool) Autoscaling is enabled on the workerpool
- Cluster string
- Crk string
- Flavor string
- (String) The flavour of the worker node.
- Host
Pool stringId - (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.
- Kms
Account stringId - Kms
Instance stringId - Labels Dictionary<string, string>
- (String) Labels on all the workers in the worker pool.
- Operating
System string - (String) The operating system of the workers in the worker pool.
- Resource
Group stringId - (String) The ID of the resource group.
- Secondary
Storages List<GetContainer Vpc Cluster Worker Pool Secondary Storage> - List of objects - The optional secondary storage configuration of the workers in the worker pool.
- Vpc
Id string - (String) The ID of the VPC.
- Worker
Count double - (String) The number of worker nodes per zone in the worker pool.
- Worker
Pool stringName - Zones
List<Get
Container Vpc Cluster Worker Pool Zone> - (String) A nested block describes the zones of the worker_pool. Nested zones blocks has
subnet-id
andname
.
- Autoscale
Enabled bool - (Bool) Autoscaling is enabled on the workerpool
- Cluster string
- Crk string
- Flavor string
- (String) The flavour of the worker node.
- Host
Pool stringId - (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.
- Kms
Account stringId - Kms
Instance stringId - Labels map[string]string
- (String) Labels on all the workers in the worker pool.
- Operating
System string - (String) The operating system of the workers in the worker pool.
- Resource
Group stringId - (String) The ID of the resource group.
- Secondary
Storages []GetContainer Vpc Cluster Worker Pool Secondary Storage - List of objects - The optional secondary storage configuration of the workers in the worker pool.
- Vpc
Id string - (String) The ID of the VPC.
- Worker
Count float64 - (String) The number of worker nodes per zone in the worker pool.
- Worker
Pool stringName - Zones
[]Get
Container Vpc Cluster Worker Pool Zone - (String) A nested block describes the zones of the worker_pool. Nested zones blocks has
subnet-id
andname
.
- autoscale
Enabled Boolean - (Bool) Autoscaling is enabled on the workerpool
- cluster String
- crk String
- flavor String
- (String) The flavour of the worker node.
- host
Pool StringId - (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.
- kms
Account StringId - kms
Instance StringId - labels Map<String,String>
- (String) Labels on all the workers in the worker pool.
- operating
System String - (String) The operating system of the workers in the worker pool.
- resource
Group StringId - (String) The ID of the resource group.
- secondary
Storages List<GetContainer Vpc Cluster Worker Pool Secondary Storage> - List of objects - The optional secondary storage configuration of the workers in the worker pool.
- vpc
Id String - (String) The ID of the VPC.
- worker
Count Double - (String) The number of worker nodes per zone in the worker pool.
- worker
Pool StringName - zones
List<Get
Container Vpc Cluster Worker Pool Zone> - (String) A nested block describes the zones of the worker_pool. Nested zones blocks has
subnet-id
andname
.
- autoscale
Enabled boolean - (Bool) Autoscaling is enabled on the workerpool
- cluster string
- crk string
- flavor string
- (String) The flavour of the worker node.
- host
Pool stringId - (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.
- kms
Account stringId - kms
Instance stringId - labels {[key: string]: string}
- (String) Labels on all the workers in the worker pool.
- operating
System string - (String) The operating system of the workers in the worker pool.
- resource
Group stringId - (String) The ID of the resource group.
- secondary
Storages GetContainer Vpc Cluster Worker Pool Secondary Storage[] - List of objects - The optional secondary storage configuration of the workers in the worker pool.
- vpc
Id string - (String) The ID of the VPC.
- worker
Count number - (String) The number of worker nodes per zone in the worker pool.
- worker
Pool stringName - zones
Get
Container Vpc Cluster Worker Pool Zone[] - (String) A nested block describes the zones of the worker_pool. Nested zones blocks has
subnet-id
andname
.
- 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_ strid - (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_ strid - kms_
instance_ strid - 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_ strid - (String) The ID of the resource group.
- secondary_
storages Sequence[GetContainer Vpc Cluster Worker Pool Secondary Storage] - 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_ strname - zones
Sequence[Get
Container Vpc Cluster Worker Pool Zone] - (String) A nested block describes the zones of the worker_pool. Nested zones blocks has
subnet-id
andname
.
- autoscale
Enabled Boolean - (Bool) Autoscaling is enabled on the workerpool
- cluster String
- crk String
- flavor String
- (String) The flavour of the worker node.
- host
Pool StringId - (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.
- kms
Account StringId - kms
Instance StringId - labels Map<String>
- (String) Labels on all the workers in the worker pool.
- operating
System String - (String) The operating system of the workers in the worker pool.
- resource
Group StringId - (String) The ID of the resource group.
- secondary
Storages List<Property Map> - List of objects - The optional secondary storage configuration of the workers in the worker pool.
- vpc
Id String - (String) The ID of the VPC.
- worker
Count Number - (String) The number of worker nodes per zone in the worker pool.
- worker
Pool StringName - zones List<Property Map>
- (String) A nested block describes the zones of the worker_pool. Nested zones blocks has
subnet-id
andname
.
Supporting Types
GetContainerVpcClusterWorkerPoolSecondaryStorage
- Count double
- (Integer) The device count of the secondary storage.
- Device
Type string - (String) The device type of the secondary storage.
- Name string
- (String) The name of the secondary storage.
- Profile string
- (String) The profile of the secondary storage.
- Raid
Configuration string - (String) The raid configuration of the secondary storage.
- Size double
- (Integer) The size of the secondary storage.
- Count float64
- (Integer) The device count of the secondary storage.
- Device
Type string - (String) The device type of the secondary storage.
- Name string
- (String) The name of the secondary storage.
- Profile string
- (String) The profile of the secondary storage.
- Raid
Configuration string - (String) The raid configuration of the secondary storage.
- Size float64
- (Integer) The size of the secondary storage.
- count Double
- (Integer) The device count of the secondary storage.
- device
Type String - (String) The device type of the secondary storage.
- name String
- (String) The name of the secondary storage.
- profile String
- (String) The profile of the secondary storage.
- raid
Configuration String - (String) The raid configuration of the secondary storage.
- size Double
- (Integer) The size of the secondary storage.
- count number
- (Integer) The device count of the secondary storage.
- device
Type string - (String) The device type of the secondary storage.
- name string
- (String) The name of the secondary storage.
- profile string
- (String) The profile of the secondary storage.
- raid
Configuration string - (String) The raid configuration of the secondary storage.
- size number
- (Integer) The size of the secondary storage.
- count float
- (Integer) The device count of the secondary storage.
- device_
type str - (String) The device type of the secondary storage.
- name str
- (String) The name of the secondary storage.
- profile str
- (String) The profile of the secondary storage.
- raid_
configuration str - (String) The raid configuration of the secondary storage.
- size float
- (Integer) The size of the secondary storage.
- count Number
- (Integer) The device count of the secondary storage.
- device
Type String - (String) The device type of the secondary storage.
- name String
- (String) The name of the secondary storage.
- profile String
- (String) The profile of the secondary storage.
- raid
Configuration String - (String) The raid configuration of the secondary storage.
- size Number
- (Integer) The size of the secondary storage.
GetContainerVpcClusterWorkerPoolZone
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.