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

ibm.ContainerWorkerPoolZoneAttachment

Explore with Pulumi AI

ibm logo
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

    Create, update, or delete a zone from a worker pool. For more information, about IBM container worker pool zone, see adding worker nodes and zones to clusters.

    Example Usage

    In the following example, you can create a zone:

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.ContainerWorkerPool;
    import com.pulumi.ibm.ContainerWorkerPoolArgs;
    import com.pulumi.ibm.ContainerWorkerPoolZoneAttachment;
    import com.pulumi.ibm.ContainerWorkerPoolZoneAttachmentArgs;
    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) {
            var testPool = new ContainerWorkerPool("testPool", ContainerWorkerPoolArgs.builder()
                .workerPoolName("my_pool")
                .machineType("u2c.2x4")
                .cluster("my_cluster")
                .sizePerZone(2)
                .hardware("shared")
                .diskEncryption("true")
                .labels(Map.ofEntries(
                    Map.entry("test", "test-pool"),
                    Map.entry("test1", "test-pool1")
                ))
                .build());
    
            var testZone = new ContainerWorkerPoolZoneAttachment("testZone", ContainerWorkerPoolZoneAttachmentArgs.builder()
                .cluster("my_cluster")
                .workerPool(testPool.containerWorkerPoolId().applyValue(containerWorkerPoolId -> containerWorkerPoolId.split("/"))[1])
                .zone("dal12")
                .privateVlanId("2320267")
                .publicVlanId("2320265")
                .timeouts(ContainerWorkerPoolZoneAttachmentTimeoutsArgs.builder()
                    .create("90m")
                    .update("3h")
                    .delete("30m")
                    .build())
                .build());
    
        }
    }
    
    resources:
      testPool:
        type: ibm:ContainerWorkerPool
        properties:
          workerPoolName: my_pool
          machineType: u2c.2x4
          cluster: my_cluster
          sizePerZone: 2
          hardware: shared
          diskEncryption: 'true'
          labels:
            test: test-pool
            test1: test-pool1
      testZone:
        type: ibm:ContainerWorkerPoolZoneAttachment
        properties:
          cluster: my_cluster
          workerPool:
            fn::select:
              - 1
              - fn::split:
                  - ${testPool.containerWorkerPoolId}
                  - /
          zone: dal12
          privateVlanId: '2320267'
          publicVlanId: '2320265'
          # User can increase timeouts
          timeouts:
            - create: 90m
              update: 3h
              delete: 30m
    

    Create ContainerWorkerPoolZoneAttachment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ContainerWorkerPoolZoneAttachment(name: string, args: ContainerWorkerPoolZoneAttachmentArgs, opts?: CustomResourceOptions);
    @overload
    def ContainerWorkerPoolZoneAttachment(resource_name: str,
                                          args: ContainerWorkerPoolZoneAttachmentArgs,
                                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def ContainerWorkerPoolZoneAttachment(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          cluster: Optional[str] = None,
                                          worker_pool: Optional[str] = None,
                                          zone: Optional[str] = None,
                                          container_worker_pool_zone_attachment_id: Optional[str] = None,
                                          private_vlan_id: Optional[str] = None,
                                          public_vlan_id: Optional[str] = None,
                                          region: Optional[str] = None,
                                          resource_group_id: Optional[str] = None,
                                          timeouts: Optional[ContainerWorkerPoolZoneAttachmentTimeoutsArgs] = None,
                                          wait_till_albs: Optional[bool] = None)
    func NewContainerWorkerPoolZoneAttachment(ctx *Context, name string, args ContainerWorkerPoolZoneAttachmentArgs, opts ...ResourceOption) (*ContainerWorkerPoolZoneAttachment, error)
    public ContainerWorkerPoolZoneAttachment(string name, ContainerWorkerPoolZoneAttachmentArgs args, CustomResourceOptions? opts = null)
    public ContainerWorkerPoolZoneAttachment(String name, ContainerWorkerPoolZoneAttachmentArgs args)
    public ContainerWorkerPoolZoneAttachment(String name, ContainerWorkerPoolZoneAttachmentArgs args, CustomResourceOptions options)
    
    type: ibm:ContainerWorkerPoolZoneAttachment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ContainerWorkerPoolZoneAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ContainerWorkerPoolZoneAttachmentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ContainerWorkerPoolZoneAttachmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ContainerWorkerPoolZoneAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ContainerWorkerPoolZoneAttachmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var containerWorkerPoolZoneAttachmentResource = new Ibm.ContainerWorkerPoolZoneAttachment("containerWorkerPoolZoneAttachmentResource", new()
    {
        Cluster = "string",
        WorkerPool = "string",
        Zone = "string",
        ContainerWorkerPoolZoneAttachmentId = "string",
        PrivateVlanId = "string",
        PublicVlanId = "string",
        ResourceGroupId = "string",
        Timeouts = new Ibm.Inputs.ContainerWorkerPoolZoneAttachmentTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        WaitTillAlbs = false,
    });
    
    example, err := ibm.NewContainerWorkerPoolZoneAttachment(ctx, "containerWorkerPoolZoneAttachmentResource", &ibm.ContainerWorkerPoolZoneAttachmentArgs{
    	Cluster:                             pulumi.String("string"),
    	WorkerPool:                          pulumi.String("string"),
    	Zone:                                pulumi.String("string"),
    	ContainerWorkerPoolZoneAttachmentId: pulumi.String("string"),
    	PrivateVlanId:                       pulumi.String("string"),
    	PublicVlanId:                        pulumi.String("string"),
    	ResourceGroupId:                     pulumi.String("string"),
    	Timeouts: &ibm.ContainerWorkerPoolZoneAttachmentTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	WaitTillAlbs: pulumi.Bool(false),
    })
    
    var containerWorkerPoolZoneAttachmentResource = new ContainerWorkerPoolZoneAttachment("containerWorkerPoolZoneAttachmentResource", ContainerWorkerPoolZoneAttachmentArgs.builder()
        .cluster("string")
        .workerPool("string")
        .zone("string")
        .containerWorkerPoolZoneAttachmentId("string")
        .privateVlanId("string")
        .publicVlanId("string")
        .resourceGroupId("string")
        .timeouts(ContainerWorkerPoolZoneAttachmentTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .waitTillAlbs(false)
        .build());
    
    container_worker_pool_zone_attachment_resource = ibm.ContainerWorkerPoolZoneAttachment("containerWorkerPoolZoneAttachmentResource",
        cluster="string",
        worker_pool="string",
        zone="string",
        container_worker_pool_zone_attachment_id="string",
        private_vlan_id="string",
        public_vlan_id="string",
        resource_group_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        wait_till_albs=False)
    
    const containerWorkerPoolZoneAttachmentResource = new ibm.ContainerWorkerPoolZoneAttachment("containerWorkerPoolZoneAttachmentResource", {
        cluster: "string",
        workerPool: "string",
        zone: "string",
        containerWorkerPoolZoneAttachmentId: "string",
        privateVlanId: "string",
        publicVlanId: "string",
        resourceGroupId: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        waitTillAlbs: false,
    });
    
    type: ibm:ContainerWorkerPoolZoneAttachment
    properties:
        cluster: string
        containerWorkerPoolZoneAttachmentId: string
        privateVlanId: string
        publicVlanId: string
        resourceGroupId: string
        timeouts:
            create: string
            delete: string
            update: string
        waitTillAlbs: false
        workerPool: string
        zone: string
    

    ContainerWorkerPoolZoneAttachment Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ContainerWorkerPoolZoneAttachment resource accepts the following input properties:

    Cluster string
    The name or ID of the cluster that the worker pool belongs to.
    WorkerPool string
    The name or ID of the worker pool to which you want to add a zone.
    Zone string

    The name of the zone that you want to attach to the worker pool. To list available zones, run ibmcloud ks zones.

    Deprecated reference

    ContainerWorkerPoolZoneAttachmentId string
    (String) The unique identifier of the worker pool zone attachment in the format <cluster_name_id>/< worker_pool_name_id>/<zone>-
    PrivateVlanId string
    The ID of the private VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a private VLAN for that zone, do not specify this option. A private VLAN is automatically created for you.
    PublicVlanId string
    The ID of the public VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a public VLAN for that zone, do not specify this option. A public VLAN is automatically created for you.
    Region string
    The region where the cluster is provisioned. If the region is not specified it defaults to provider region (IC_REGION/IBMCLOUD_REGION). To get the list of supported regions, see link and use the alias.

    Deprecated: Deprecated

    ResourceGroupId string
    The ID of the resource group where your cluster is provisioned into. To list resource groups, run ibmcloud resource groups or use the ibm.ResourceGroup data source.
    Timeouts ContainerWorkerPoolZoneAttachmentTimeouts
    WaitTillAlbs bool
    wait_till_albs can be configured to wait for albs during the worker pool zone attachment.
    Cluster string
    The name or ID of the cluster that the worker pool belongs to.
    WorkerPool string
    The name or ID of the worker pool to which you want to add a zone.
    Zone string

    The name of the zone that you want to attach to the worker pool. To list available zones, run ibmcloud ks zones.

    Deprecated reference

    ContainerWorkerPoolZoneAttachmentId string
    (String) The unique identifier of the worker pool zone attachment in the format <cluster_name_id>/< worker_pool_name_id>/<zone>-
    PrivateVlanId string
    The ID of the private VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a private VLAN for that zone, do not specify this option. A private VLAN is automatically created for you.
    PublicVlanId string
    The ID of the public VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a public VLAN for that zone, do not specify this option. A public VLAN is automatically created for you.
    Region string
    The region where the cluster is provisioned. If the region is not specified it defaults to provider region (IC_REGION/IBMCLOUD_REGION). To get the list of supported regions, see link and use the alias.

    Deprecated: Deprecated

    ResourceGroupId string
    The ID of the resource group where your cluster is provisioned into. To list resource groups, run ibmcloud resource groups or use the ibm.ResourceGroup data source.
    Timeouts ContainerWorkerPoolZoneAttachmentTimeoutsArgs
    WaitTillAlbs bool
    wait_till_albs can be configured to wait for albs during the worker pool zone attachment.
    cluster String
    The name or ID of the cluster that the worker pool belongs to.
    workerPool String
    The name or ID of the worker pool to which you want to add a zone.
    zone String

    The name of the zone that you want to attach to the worker pool. To list available zones, run ibmcloud ks zones.

    Deprecated reference

    containerWorkerPoolZoneAttachmentId String
    (String) The unique identifier of the worker pool zone attachment in the format <cluster_name_id>/< worker_pool_name_id>/<zone>-
    privateVlanId String
    The ID of the private VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a private VLAN for that zone, do not specify this option. A private VLAN is automatically created for you.
    publicVlanId String
    The ID of the public VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a public VLAN for that zone, do not specify this option. A public VLAN is automatically created for you.
    region String
    The region where the cluster is provisioned. If the region is not specified it defaults to provider region (IC_REGION/IBMCLOUD_REGION). To get the list of supported regions, see link and use the alias.

    Deprecated: Deprecated

    resourceGroupId String
    The ID of the resource group where your cluster is provisioned into. To list resource groups, run ibmcloud resource groups or use the ibm.ResourceGroup data source.
    timeouts ContainerWorkerPoolZoneAttachmentTimeouts
    waitTillAlbs Boolean
    wait_till_albs can be configured to wait for albs during the worker pool zone attachment.
    cluster string
    The name or ID of the cluster that the worker pool belongs to.
    workerPool string
    The name or ID of the worker pool to which you want to add a zone.
    zone string

    The name of the zone that you want to attach to the worker pool. To list available zones, run ibmcloud ks zones.

    Deprecated reference

    containerWorkerPoolZoneAttachmentId string
    (String) The unique identifier of the worker pool zone attachment in the format <cluster_name_id>/< worker_pool_name_id>/<zone>-
    privateVlanId string
    The ID of the private VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a private VLAN for that zone, do not specify this option. A private VLAN is automatically created for you.
    publicVlanId string
    The ID of the public VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a public VLAN for that zone, do not specify this option. A public VLAN is automatically created for you.
    region string
    The region where the cluster is provisioned. If the region is not specified it defaults to provider region (IC_REGION/IBMCLOUD_REGION). To get the list of supported regions, see link and use the alias.

    Deprecated: Deprecated

    resourceGroupId string
    The ID of the resource group where your cluster is provisioned into. To list resource groups, run ibmcloud resource groups or use the ibm.ResourceGroup data source.
    timeouts ContainerWorkerPoolZoneAttachmentTimeouts
    waitTillAlbs boolean
    wait_till_albs can be configured to wait for albs during the worker pool zone attachment.
    cluster str
    The name or ID of the cluster that the worker pool belongs to.
    worker_pool str
    The name or ID of the worker pool to which you want to add a zone.
    zone str

    The name of the zone that you want to attach to the worker pool. To list available zones, run ibmcloud ks zones.

    Deprecated reference

    container_worker_pool_zone_attachment_id str
    (String) The unique identifier of the worker pool zone attachment in the format <cluster_name_id>/< worker_pool_name_id>/<zone>-
    private_vlan_id str
    The ID of the private VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a private VLAN for that zone, do not specify this option. A private VLAN is automatically created for you.
    public_vlan_id str
    The ID of the public VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a public VLAN for that zone, do not specify this option. A public VLAN is automatically created for you.
    region str
    The region where the cluster is provisioned. If the region is not specified it defaults to provider region (IC_REGION/IBMCLOUD_REGION). To get the list of supported regions, see link and use the alias.

    Deprecated: Deprecated

    resource_group_id str
    The ID of the resource group where your cluster is provisioned into. To list resource groups, run ibmcloud resource groups or use the ibm.ResourceGroup data source.
    timeouts ContainerWorkerPoolZoneAttachmentTimeoutsArgs
    wait_till_albs bool
    wait_till_albs can be configured to wait for albs during the worker pool zone attachment.
    cluster String
    The name or ID of the cluster that the worker pool belongs to.
    workerPool String
    The name or ID of the worker pool to which you want to add a zone.
    zone String

    The name of the zone that you want to attach to the worker pool. To list available zones, run ibmcloud ks zones.

    Deprecated reference

    containerWorkerPoolZoneAttachmentId String
    (String) The unique identifier of the worker pool zone attachment in the format <cluster_name_id>/< worker_pool_name_id>/<zone>-
    privateVlanId String
    The ID of the private VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a private VLAN for that zone, do not specify this option. A private VLAN is automatically created for you.
    publicVlanId String
    The ID of the public VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a public VLAN for that zone, do not specify this option. A public VLAN is automatically created for you.
    region String
    The region where the cluster is provisioned. If the region is not specified it defaults to provider region (IC_REGION/IBMCLOUD_REGION). To get the list of supported regions, see link and use the alias.

    Deprecated: Deprecated

    resourceGroupId String
    The ID of the resource group where your cluster is provisioned into. To list resource groups, run ibmcloud resource groups or use the ibm.ResourceGroup data source.
    timeouts Property Map
    waitTillAlbs Boolean
    wait_till_albs can be configured to wait for albs during the worker pool zone attachment.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ContainerWorkerPoolZoneAttachment resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    WorkerCount double
    (Integer) The number of worker nodes that are attached to this zone.
    Id string
    The provider-assigned unique ID for this managed resource.
    WorkerCount float64
    (Integer) The number of worker nodes that are attached to this zone.
    id String
    The provider-assigned unique ID for this managed resource.
    workerCount Double
    (Integer) The number of worker nodes that are attached to this zone.
    id string
    The provider-assigned unique ID for this managed resource.
    workerCount number
    (Integer) The number of worker nodes that are attached to this zone.
    id str
    The provider-assigned unique ID for this managed resource.
    worker_count float
    (Integer) The number of worker nodes that are attached to this zone.
    id String
    The provider-assigned unique ID for this managed resource.
    workerCount Number
    (Integer) The number of worker nodes that are attached to this zone.

    Look up Existing ContainerWorkerPoolZoneAttachment Resource

    Get an existing ContainerWorkerPoolZoneAttachment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ContainerWorkerPoolZoneAttachmentState, opts?: CustomResourceOptions): ContainerWorkerPoolZoneAttachment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster: Optional[str] = None,
            container_worker_pool_zone_attachment_id: Optional[str] = None,
            private_vlan_id: Optional[str] = None,
            public_vlan_id: Optional[str] = None,
            region: Optional[str] = None,
            resource_group_id: Optional[str] = None,
            timeouts: Optional[ContainerWorkerPoolZoneAttachmentTimeoutsArgs] = None,
            wait_till_albs: Optional[bool] = None,
            worker_count: Optional[float] = None,
            worker_pool: Optional[str] = None,
            zone: Optional[str] = None) -> ContainerWorkerPoolZoneAttachment
    func GetContainerWorkerPoolZoneAttachment(ctx *Context, name string, id IDInput, state *ContainerWorkerPoolZoneAttachmentState, opts ...ResourceOption) (*ContainerWorkerPoolZoneAttachment, error)
    public static ContainerWorkerPoolZoneAttachment Get(string name, Input<string> id, ContainerWorkerPoolZoneAttachmentState? state, CustomResourceOptions? opts = null)
    public static ContainerWorkerPoolZoneAttachment get(String name, Output<String> id, ContainerWorkerPoolZoneAttachmentState state, CustomResourceOptions options)
    resources:  _:    type: ibm:ContainerWorkerPoolZoneAttachment    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Cluster string
    The name or ID of the cluster that the worker pool belongs to.
    ContainerWorkerPoolZoneAttachmentId string
    (String) The unique identifier of the worker pool zone attachment in the format <cluster_name_id>/< worker_pool_name_id>/<zone>-
    PrivateVlanId string
    The ID of the private VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a private VLAN for that zone, do not specify this option. A private VLAN is automatically created for you.
    PublicVlanId string
    The ID of the public VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a public VLAN for that zone, do not specify this option. A public VLAN is automatically created for you.
    Region string
    The region where the cluster is provisioned. If the region is not specified it defaults to provider region (IC_REGION/IBMCLOUD_REGION). To get the list of supported regions, see link and use the alias.

    Deprecated: Deprecated

    ResourceGroupId string
    The ID of the resource group where your cluster is provisioned into. To list resource groups, run ibmcloud resource groups or use the ibm.ResourceGroup data source.
    Timeouts ContainerWorkerPoolZoneAttachmentTimeouts
    WaitTillAlbs bool
    wait_till_albs can be configured to wait for albs during the worker pool zone attachment.
    WorkerCount double
    (Integer) The number of worker nodes that are attached to this zone.
    WorkerPool string
    The name or ID of the worker pool to which you want to add a zone.
    Zone string

    The name of the zone that you want to attach to the worker pool. To list available zones, run ibmcloud ks zones.

    Deprecated reference

    Cluster string
    The name or ID of the cluster that the worker pool belongs to.
    ContainerWorkerPoolZoneAttachmentId string
    (String) The unique identifier of the worker pool zone attachment in the format <cluster_name_id>/< worker_pool_name_id>/<zone>-
    PrivateVlanId string
    The ID of the private VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a private VLAN for that zone, do not specify this option. A private VLAN is automatically created for you.
    PublicVlanId string
    The ID of the public VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a public VLAN for that zone, do not specify this option. A public VLAN is automatically created for you.
    Region string
    The region where the cluster is provisioned. If the region is not specified it defaults to provider region (IC_REGION/IBMCLOUD_REGION). To get the list of supported regions, see link and use the alias.

    Deprecated: Deprecated

    ResourceGroupId string
    The ID of the resource group where your cluster is provisioned into. To list resource groups, run ibmcloud resource groups or use the ibm.ResourceGroup data source.
    Timeouts ContainerWorkerPoolZoneAttachmentTimeoutsArgs
    WaitTillAlbs bool
    wait_till_albs can be configured to wait for albs during the worker pool zone attachment.
    WorkerCount float64
    (Integer) The number of worker nodes that are attached to this zone.
    WorkerPool string
    The name or ID of the worker pool to which you want to add a zone.
    Zone string

    The name of the zone that you want to attach to the worker pool. To list available zones, run ibmcloud ks zones.

    Deprecated reference

    cluster String
    The name or ID of the cluster that the worker pool belongs to.
    containerWorkerPoolZoneAttachmentId String
    (String) The unique identifier of the worker pool zone attachment in the format <cluster_name_id>/< worker_pool_name_id>/<zone>-
    privateVlanId String
    The ID of the private VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a private VLAN for that zone, do not specify this option. A private VLAN is automatically created for you.
    publicVlanId String
    The ID of the public VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a public VLAN for that zone, do not specify this option. A public VLAN is automatically created for you.
    region String
    The region where the cluster is provisioned. If the region is not specified it defaults to provider region (IC_REGION/IBMCLOUD_REGION). To get the list of supported regions, see link and use the alias.

    Deprecated: Deprecated

    resourceGroupId String
    The ID of the resource group where your cluster is provisioned into. To list resource groups, run ibmcloud resource groups or use the ibm.ResourceGroup data source.
    timeouts ContainerWorkerPoolZoneAttachmentTimeouts
    waitTillAlbs Boolean
    wait_till_albs can be configured to wait for albs during the worker pool zone attachment.
    workerCount Double
    (Integer) The number of worker nodes that are attached to this zone.
    workerPool String
    The name or ID of the worker pool to which you want to add a zone.
    zone String

    The name of the zone that you want to attach to the worker pool. To list available zones, run ibmcloud ks zones.

    Deprecated reference

    cluster string
    The name or ID of the cluster that the worker pool belongs to.
    containerWorkerPoolZoneAttachmentId string
    (String) The unique identifier of the worker pool zone attachment in the format <cluster_name_id>/< worker_pool_name_id>/<zone>-
    privateVlanId string
    The ID of the private VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a private VLAN for that zone, do not specify this option. A private VLAN is automatically created for you.
    publicVlanId string
    The ID of the public VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a public VLAN for that zone, do not specify this option. A public VLAN is automatically created for you.
    region string
    The region where the cluster is provisioned. If the region is not specified it defaults to provider region (IC_REGION/IBMCLOUD_REGION). To get the list of supported regions, see link and use the alias.

    Deprecated: Deprecated

    resourceGroupId string
    The ID of the resource group where your cluster is provisioned into. To list resource groups, run ibmcloud resource groups or use the ibm.ResourceGroup data source.
    timeouts ContainerWorkerPoolZoneAttachmentTimeouts
    waitTillAlbs boolean
    wait_till_albs can be configured to wait for albs during the worker pool zone attachment.
    workerCount number
    (Integer) The number of worker nodes that are attached to this zone.
    workerPool string
    The name or ID of the worker pool to which you want to add a zone.
    zone string

    The name of the zone that you want to attach to the worker pool. To list available zones, run ibmcloud ks zones.

    Deprecated reference

    cluster str
    The name or ID of the cluster that the worker pool belongs to.
    container_worker_pool_zone_attachment_id str
    (String) The unique identifier of the worker pool zone attachment in the format <cluster_name_id>/< worker_pool_name_id>/<zone>-
    private_vlan_id str
    The ID of the private VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a private VLAN for that zone, do not specify this option. A private VLAN is automatically created for you.
    public_vlan_id str
    The ID of the public VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a public VLAN for that zone, do not specify this option. A public VLAN is automatically created for you.
    region str
    The region where the cluster is provisioned. If the region is not specified it defaults to provider region (IC_REGION/IBMCLOUD_REGION). To get the list of supported regions, see link and use the alias.

    Deprecated: Deprecated

    resource_group_id str
    The ID of the resource group where your cluster is provisioned into. To list resource groups, run ibmcloud resource groups or use the ibm.ResourceGroup data source.
    timeouts ContainerWorkerPoolZoneAttachmentTimeoutsArgs
    wait_till_albs bool
    wait_till_albs can be configured to wait for albs during the worker pool zone attachment.
    worker_count float
    (Integer) The number of worker nodes that are attached to this zone.
    worker_pool str
    The name or ID of the worker pool to which you want to add a zone.
    zone str

    The name of the zone that you want to attach to the worker pool. To list available zones, run ibmcloud ks zones.

    Deprecated reference

    cluster String
    The name or ID of the cluster that the worker pool belongs to.
    containerWorkerPoolZoneAttachmentId String
    (String) The unique identifier of the worker pool zone attachment in the format <cluster_name_id>/< worker_pool_name_id>/<zone>-
    privateVlanId String
    The ID of the private VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a private VLAN for that zone, do not specify this option. A private VLAN is automatically created for you.
    publicVlanId String
    The ID of the public VLAN that you want to use for the zone. To find available zones, run ibmcloud ks vlans --zone <zone>. If you do not have a public VLAN for that zone, do not specify this option. A public VLAN is automatically created for you.
    region String
    The region where the cluster is provisioned. If the region is not specified it defaults to provider region (IC_REGION/IBMCLOUD_REGION). To get the list of supported regions, see link and use the alias.

    Deprecated: Deprecated

    resourceGroupId String
    The ID of the resource group where your cluster is provisioned into. To list resource groups, run ibmcloud resource groups or use the ibm.ResourceGroup data source.
    timeouts Property Map
    waitTillAlbs Boolean
    wait_till_albs can be configured to wait for albs during the worker pool zone attachment.
    workerCount Number
    (Integer) The number of worker nodes that are attached to this zone.
    workerPool String
    The name or ID of the worker pool to which you want to add a zone.
    zone String

    The name of the zone that you want to attach to the worker pool. To list available zones, run ibmcloud ks zones.

    Deprecated reference

    Supporting Types

    ContainerWorkerPoolZoneAttachmentTimeouts, ContainerWorkerPoolZoneAttachmentTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    The ibm_container_worker_pool_zone_attachment can be imported by using cluster_name_id, worker_pool_name_id and zone.

    Example

    $ pulumi import ibm:index/containerWorkerPoolZoneAttachment:ContainerWorkerPoolZoneAttachment example mycluster/5c4f4d06e0dc402084922dea70850e3b-7cafe35/dal10
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud