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

ibm.IsClusterNetworkSubnet

Explore with Pulumi AI

Create, update, and delete ClusterNetworkSubnets with this resource. About cluster networks

Example Usage

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

const isClusterNetworkSubnetInstance = new ibm.IsClusterNetworkSubnet("isClusterNetworkSubnetInstance", {
    clusterNetworkId: "cluster_network_id",
    ipVersion: "ipv4",
    ipv4CidrBlock: "10.0.0.0/24",
});
Copy
import pulumi
import pulumi_ibm as ibm

is_cluster_network_subnet_instance = ibm.IsClusterNetworkSubnet("isClusterNetworkSubnetInstance",
    cluster_network_id="cluster_network_id",
    ip_version="ipv4",
    ipv4_cidr_block="10.0.0.0/24")
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.NewIsClusterNetworkSubnet(ctx, "isClusterNetworkSubnetInstance", &ibm.IsClusterNetworkSubnetArgs{
			ClusterNetworkId: pulumi.String("cluster_network_id"),
			IpVersion:        pulumi.String("ipv4"),
			Ipv4CidrBlock:    pulumi.String("10.0.0.0/24"),
		})
		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 isClusterNetworkSubnetInstance = new Ibm.IsClusterNetworkSubnet("isClusterNetworkSubnetInstance", new()
    {
        ClusterNetworkId = "cluster_network_id",
        IpVersion = "ipv4",
        Ipv4CidrBlock = "10.0.0.0/24",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsClusterNetworkSubnet;
import com.pulumi.ibm.IsClusterNetworkSubnetArgs;
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 isClusterNetworkSubnetInstance = new IsClusterNetworkSubnet("isClusterNetworkSubnetInstance", IsClusterNetworkSubnetArgs.builder()
            .clusterNetworkId("cluster_network_id")
            .ipVersion("ipv4")
            .ipv4CidrBlock("10.0.0.0/24")
            .build());

    }
}
Copy
resources:
  isClusterNetworkSubnetInstance:
    type: ibm:IsClusterNetworkSubnet
    properties:
      clusterNetworkId: cluster_network_id
      ipVersion: ipv4
      ipv4CidrBlock: 10.0.0.0/24
Copy

Create IsClusterNetworkSubnet Resource

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

Constructor syntax

new IsClusterNetworkSubnet(name: string, args: IsClusterNetworkSubnetArgs, opts?: CustomResourceOptions);
@overload
def IsClusterNetworkSubnet(resource_name: str,
                           args: IsClusterNetworkSubnetArgs,
                           opts: Optional[ResourceOptions] = None)

@overload
def IsClusterNetworkSubnet(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           cluster_network_id: Optional[str] = None,
                           ip_version: Optional[str] = None,
                           ipv4_cidr_block: Optional[str] = None,
                           is_cluster_network_subnet_id: Optional[str] = None,
                           name: Optional[str] = None,
                           total_ipv4_address_count: Optional[float] = None)
func NewIsClusterNetworkSubnet(ctx *Context, name string, args IsClusterNetworkSubnetArgs, opts ...ResourceOption) (*IsClusterNetworkSubnet, error)
public IsClusterNetworkSubnet(string name, IsClusterNetworkSubnetArgs args, CustomResourceOptions? opts = null)
public IsClusterNetworkSubnet(String name, IsClusterNetworkSubnetArgs args)
public IsClusterNetworkSubnet(String name, IsClusterNetworkSubnetArgs args, CustomResourceOptions options)
type: ibm:IsClusterNetworkSubnet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IsClusterNetworkSubnetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IsClusterNetworkSubnetArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IsClusterNetworkSubnetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IsClusterNetworkSubnetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IsClusterNetworkSubnetArgs
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 isClusterNetworkSubnetResource = new Ibm.IsClusterNetworkSubnet("isClusterNetworkSubnetResource", new()
{
    ClusterNetworkId = "string",
    IpVersion = "string",
    Ipv4CidrBlock = "string",
    IsClusterNetworkSubnetId = "string",
    Name = "string",
    TotalIpv4AddressCount = 0,
});
Copy
example, err := ibm.NewIsClusterNetworkSubnet(ctx, "isClusterNetworkSubnetResource", &ibm.IsClusterNetworkSubnetArgs{
	ClusterNetworkId:         pulumi.String("string"),
	IpVersion:                pulumi.String("string"),
	Ipv4CidrBlock:            pulumi.String("string"),
	IsClusterNetworkSubnetId: pulumi.String("string"),
	Name:                     pulumi.String("string"),
	TotalIpv4AddressCount:    pulumi.Float64(0),
})
Copy
var isClusterNetworkSubnetResource = new IsClusterNetworkSubnet("isClusterNetworkSubnetResource", IsClusterNetworkSubnetArgs.builder()
    .clusterNetworkId("string")
    .ipVersion("string")
    .ipv4CidrBlock("string")
    .isClusterNetworkSubnetId("string")
    .name("string")
    .totalIpv4AddressCount(0)
    .build());
Copy
is_cluster_network_subnet_resource = ibm.IsClusterNetworkSubnet("isClusterNetworkSubnetResource",
    cluster_network_id="string",
    ip_version="string",
    ipv4_cidr_block="string",
    is_cluster_network_subnet_id="string",
    name="string",
    total_ipv4_address_count=0)
Copy
const isClusterNetworkSubnetResource = new ibm.IsClusterNetworkSubnet("isClusterNetworkSubnetResource", {
    clusterNetworkId: "string",
    ipVersion: "string",
    ipv4CidrBlock: "string",
    isClusterNetworkSubnetId: "string",
    name: "string",
    totalIpv4AddressCount: 0,
});
Copy
type: ibm:IsClusterNetworkSubnet
properties:
    clusterNetworkId: string
    ipVersion: string
    ipv4CidrBlock: string
    isClusterNetworkSubnetId: string
    name: string
    totalIpv4AddressCount: 0
Copy

IsClusterNetworkSubnet 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 IsClusterNetworkSubnet resource accepts the following input properties:

ClusterNetworkId This property is required. string
The cluster network identifier.
IpVersion string
The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are: ipv4.
Ipv4CidrBlock string
The IPv4 range of this cluster network subnet, expressed in CIDR format.
IsClusterNetworkSubnetId string
The unique identifier of the ClusterNetworkSubnet.
Name string
The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
TotalIpv4AddressCount double
The total number of IPv4 addresses in this cluster network subnet.Note: This is calculated as 2(32 - prefix length). For example, the prefix length /24 gives: 2(32 - 24) = 28 = 256 addresses.
ClusterNetworkId This property is required. string
The cluster network identifier.
IpVersion string
The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are: ipv4.
Ipv4CidrBlock string
The IPv4 range of this cluster network subnet, expressed in CIDR format.
IsClusterNetworkSubnetId string
The unique identifier of the ClusterNetworkSubnet.
Name string
The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
TotalIpv4AddressCount float64
The total number of IPv4 addresses in this cluster network subnet.Note: This is calculated as 2(32 - prefix length). For example, the prefix length /24 gives: 2(32 - 24) = 28 = 256 addresses.
clusterNetworkId This property is required. String
The cluster network identifier.
ipVersion String
The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are: ipv4.
ipv4CidrBlock String
The IPv4 range of this cluster network subnet, expressed in CIDR format.
isClusterNetworkSubnetId String
The unique identifier of the ClusterNetworkSubnet.
name String
The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
totalIpv4AddressCount Double
The total number of IPv4 addresses in this cluster network subnet.Note: This is calculated as 2(32 - prefix length). For example, the prefix length /24 gives: 2(32 - 24) = 28 = 256 addresses.
clusterNetworkId This property is required. string
The cluster network identifier.
ipVersion string
The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are: ipv4.
ipv4CidrBlock string
The IPv4 range of this cluster network subnet, expressed in CIDR format.
isClusterNetworkSubnetId string
The unique identifier of the ClusterNetworkSubnet.
name string
The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
totalIpv4AddressCount number
The total number of IPv4 addresses in this cluster network subnet.Note: This is calculated as 2(32 - prefix length). For example, the prefix length /24 gives: 2(32 - 24) = 28 = 256 addresses.
cluster_network_id This property is required. str
The cluster network identifier.
ip_version str
The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are: ipv4.
ipv4_cidr_block str
The IPv4 range of this cluster network subnet, expressed in CIDR format.
is_cluster_network_subnet_id str
The unique identifier of the ClusterNetworkSubnet.
name str
The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
total_ipv4_address_count float
The total number of IPv4 addresses in this cluster network subnet.Note: This is calculated as 2(32 - prefix length). For example, the prefix length /24 gives: 2(32 - 24) = 28 = 256 addresses.
clusterNetworkId This property is required. String
The cluster network identifier.
ipVersion String
The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are: ipv4.
ipv4CidrBlock String
The IPv4 range of this cluster network subnet, expressed in CIDR format.
isClusterNetworkSubnetId String
The unique identifier of the ClusterNetworkSubnet.
name String
The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
totalIpv4AddressCount Number
The total number of IPv4 addresses in this cluster network subnet.Note: This is calculated as 2(32 - prefix length). For example, the prefix length /24 gives: 2(32 - 24) = 28 = 256 addresses.

Outputs

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

AvailableIpv4AddressCount double
(Integer) The number of IPv4 addresses in this cluster network subnet that are not in use, and have not been reserved by the user or the provider.
ClusterNetworkSubnetId string
(String) The unique identifier for this cluster network subnet.
CreatedAt string
(String) The date and time that the cluster network subnet was created.
Etag string
ETag identifier for ClusterNetworkSubnet.
Href string
(String) The URL for this cluster network subnet.
Id string
The provider-assigned unique ID for this managed resource.
LifecycleReasons List<IsClusterNetworkSubnetLifecycleReason>
(List) The reasons for the current lifecycle_state (if any).
LifecycleState string
(String) The lifecycle state of the cluster network subnet.

  • Constraints: Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
ResourceType string
(String) The resource type.

  • Constraints: Allowable values are: cluster_network_subnet.
AvailableIpv4AddressCount float64
(Integer) The number of IPv4 addresses in this cluster network subnet that are not in use, and have not been reserved by the user or the provider.
ClusterNetworkSubnetId string
(String) The unique identifier for this cluster network subnet.
CreatedAt string
(String) The date and time that the cluster network subnet was created.
Etag string
ETag identifier for ClusterNetworkSubnet.
Href string
(String) The URL for this cluster network subnet.
Id string
The provider-assigned unique ID for this managed resource.
LifecycleReasons []IsClusterNetworkSubnetLifecycleReason
(List) The reasons for the current lifecycle_state (if any).
LifecycleState string
(String) The lifecycle state of the cluster network subnet.

  • Constraints: Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
ResourceType string
(String) The resource type.

  • Constraints: Allowable values are: cluster_network_subnet.
availableIpv4AddressCount Double
(Integer) The number of IPv4 addresses in this cluster network subnet that are not in use, and have not been reserved by the user or the provider.
clusterNetworkSubnetId String
(String) The unique identifier for this cluster network subnet.
createdAt String
(String) The date and time that the cluster network subnet was created.
etag String
ETag identifier for ClusterNetworkSubnet.
href String
(String) The URL for this cluster network subnet.
id String
The provider-assigned unique ID for this managed resource.
lifecycleReasons List<IsClusterNetworkSubnetLifecycleReason>
(List) The reasons for the current lifecycle_state (if any).
lifecycleState String
(String) The lifecycle state of the cluster network subnet.

  • Constraints: Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
resourceType String
(String) The resource type.

  • Constraints: Allowable values are: cluster_network_subnet.
availableIpv4AddressCount number
(Integer) The number of IPv4 addresses in this cluster network subnet that are not in use, and have not been reserved by the user or the provider.
clusterNetworkSubnetId string
(String) The unique identifier for this cluster network subnet.
createdAt string
(String) The date and time that the cluster network subnet was created.
etag string
ETag identifier for ClusterNetworkSubnet.
href string
(String) The URL for this cluster network subnet.
id string
The provider-assigned unique ID for this managed resource.
lifecycleReasons IsClusterNetworkSubnetLifecycleReason[]
(List) The reasons for the current lifecycle_state (if any).
lifecycleState string
(String) The lifecycle state of the cluster network subnet.

  • Constraints: Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
resourceType string
(String) The resource type.

  • Constraints: Allowable values are: cluster_network_subnet.
available_ipv4_address_count float
(Integer) The number of IPv4 addresses in this cluster network subnet that are not in use, and have not been reserved by the user or the provider.
cluster_network_subnet_id str
(String) The unique identifier for this cluster network subnet.
created_at str
(String) The date and time that the cluster network subnet was created.
etag str
ETag identifier for ClusterNetworkSubnet.
href str
(String) The URL for this cluster network subnet.
id str
The provider-assigned unique ID for this managed resource.
lifecycle_reasons Sequence[IsClusterNetworkSubnetLifecycleReason]
(List) The reasons for the current lifecycle_state (if any).
lifecycle_state str
(String) The lifecycle state of the cluster network subnet.

  • Constraints: Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
resource_type str
(String) The resource type.

  • Constraints: Allowable values are: cluster_network_subnet.
availableIpv4AddressCount Number
(Integer) The number of IPv4 addresses in this cluster network subnet that are not in use, and have not been reserved by the user or the provider.
clusterNetworkSubnetId String
(String) The unique identifier for this cluster network subnet.
createdAt String
(String) The date and time that the cluster network subnet was created.
etag String
ETag identifier for ClusterNetworkSubnet.
href String
(String) The URL for this cluster network subnet.
id String
The provider-assigned unique ID for this managed resource.
lifecycleReasons List<Property Map>
(List) The reasons for the current lifecycle_state (if any).
lifecycleState String
(String) The lifecycle state of the cluster network subnet.

  • Constraints: Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
resourceType String
(String) The resource type.

  • Constraints: Allowable values are: cluster_network_subnet.

Look up Existing IsClusterNetworkSubnet Resource

Get an existing IsClusterNetworkSubnet 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?: IsClusterNetworkSubnetState, opts?: CustomResourceOptions): IsClusterNetworkSubnet
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        available_ipv4_address_count: Optional[float] = None,
        cluster_network_id: Optional[str] = None,
        cluster_network_subnet_id: Optional[str] = None,
        created_at: Optional[str] = None,
        etag: Optional[str] = None,
        href: Optional[str] = None,
        ip_version: Optional[str] = None,
        ipv4_cidr_block: Optional[str] = None,
        is_cluster_network_subnet_id: Optional[str] = None,
        lifecycle_reasons: Optional[Sequence[IsClusterNetworkSubnetLifecycleReasonArgs]] = None,
        lifecycle_state: Optional[str] = None,
        name: Optional[str] = None,
        resource_type: Optional[str] = None,
        total_ipv4_address_count: Optional[float] = None) -> IsClusterNetworkSubnet
func GetIsClusterNetworkSubnet(ctx *Context, name string, id IDInput, state *IsClusterNetworkSubnetState, opts ...ResourceOption) (*IsClusterNetworkSubnet, error)
public static IsClusterNetworkSubnet Get(string name, Input<string> id, IsClusterNetworkSubnetState? state, CustomResourceOptions? opts = null)
public static IsClusterNetworkSubnet get(String name, Output<String> id, IsClusterNetworkSubnetState state, CustomResourceOptions options)
resources:  _:    type: ibm:IsClusterNetworkSubnet    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AvailableIpv4AddressCount double
(Integer) The number of IPv4 addresses in this cluster network subnet that are not in use, and have not been reserved by the user or the provider.
ClusterNetworkId string
The cluster network identifier.
ClusterNetworkSubnetId string
(String) The unique identifier for this cluster network subnet.
CreatedAt string
(String) The date and time that the cluster network subnet was created.
Etag string
ETag identifier for ClusterNetworkSubnet.
Href string
(String) The URL for this cluster network subnet.
IpVersion string
The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are: ipv4.
Ipv4CidrBlock string
The IPv4 range of this cluster network subnet, expressed in CIDR format.
IsClusterNetworkSubnetId string
The unique identifier of the ClusterNetworkSubnet.
LifecycleReasons List<IsClusterNetworkSubnetLifecycleReason>
(List) The reasons for the current lifecycle_state (if any).
LifecycleState string
(String) The lifecycle state of the cluster network subnet.

  • Constraints: Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
Name string
The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
ResourceType string
(String) The resource type.

  • Constraints: Allowable values are: cluster_network_subnet.
TotalIpv4AddressCount double
The total number of IPv4 addresses in this cluster network subnet.Note: This is calculated as 2(32 - prefix length). For example, the prefix length /24 gives: 2(32 - 24) = 28 = 256 addresses.
AvailableIpv4AddressCount float64
(Integer) The number of IPv4 addresses in this cluster network subnet that are not in use, and have not been reserved by the user or the provider.
ClusterNetworkId string
The cluster network identifier.
ClusterNetworkSubnetId string
(String) The unique identifier for this cluster network subnet.
CreatedAt string
(String) The date and time that the cluster network subnet was created.
Etag string
ETag identifier for ClusterNetworkSubnet.
Href string
(String) The URL for this cluster network subnet.
IpVersion string
The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are: ipv4.
Ipv4CidrBlock string
The IPv4 range of this cluster network subnet, expressed in CIDR format.
IsClusterNetworkSubnetId string
The unique identifier of the ClusterNetworkSubnet.
LifecycleReasons []IsClusterNetworkSubnetLifecycleReasonArgs
(List) The reasons for the current lifecycle_state (if any).
LifecycleState string
(String) The lifecycle state of the cluster network subnet.

  • Constraints: Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
Name string
The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
ResourceType string
(String) The resource type.

  • Constraints: Allowable values are: cluster_network_subnet.
TotalIpv4AddressCount float64
The total number of IPv4 addresses in this cluster network subnet.Note: This is calculated as 2(32 - prefix length). For example, the prefix length /24 gives: 2(32 - 24) = 28 = 256 addresses.
availableIpv4AddressCount Double
(Integer) The number of IPv4 addresses in this cluster network subnet that are not in use, and have not been reserved by the user or the provider.
clusterNetworkId String
The cluster network identifier.
clusterNetworkSubnetId String
(String) The unique identifier for this cluster network subnet.
createdAt String
(String) The date and time that the cluster network subnet was created.
etag String
ETag identifier for ClusterNetworkSubnet.
href String
(String) The URL for this cluster network subnet.
ipVersion String
The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are: ipv4.
ipv4CidrBlock String
The IPv4 range of this cluster network subnet, expressed in CIDR format.
isClusterNetworkSubnetId String
The unique identifier of the ClusterNetworkSubnet.
lifecycleReasons List<IsClusterNetworkSubnetLifecycleReason>
(List) The reasons for the current lifecycle_state (if any).
lifecycleState String
(String) The lifecycle state of the cluster network subnet.

  • Constraints: Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
name String
The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
resourceType String
(String) The resource type.

  • Constraints: Allowable values are: cluster_network_subnet.
totalIpv4AddressCount Double
The total number of IPv4 addresses in this cluster network subnet.Note: This is calculated as 2(32 - prefix length). For example, the prefix length /24 gives: 2(32 - 24) = 28 = 256 addresses.
availableIpv4AddressCount number
(Integer) The number of IPv4 addresses in this cluster network subnet that are not in use, and have not been reserved by the user or the provider.
clusterNetworkId string
The cluster network identifier.
clusterNetworkSubnetId string
(String) The unique identifier for this cluster network subnet.
createdAt string
(String) The date and time that the cluster network subnet was created.
etag string
ETag identifier for ClusterNetworkSubnet.
href string
(String) The URL for this cluster network subnet.
ipVersion string
The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are: ipv4.
ipv4CidrBlock string
The IPv4 range of this cluster network subnet, expressed in CIDR format.
isClusterNetworkSubnetId string
The unique identifier of the ClusterNetworkSubnet.
lifecycleReasons IsClusterNetworkSubnetLifecycleReason[]
(List) The reasons for the current lifecycle_state (if any).
lifecycleState string
(String) The lifecycle state of the cluster network subnet.

  • Constraints: Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
name string
The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
resourceType string
(String) The resource type.

  • Constraints: Allowable values are: cluster_network_subnet.
totalIpv4AddressCount number
The total number of IPv4 addresses in this cluster network subnet.Note: This is calculated as 2(32 - prefix length). For example, the prefix length /24 gives: 2(32 - 24) = 28 = 256 addresses.
available_ipv4_address_count float
(Integer) The number of IPv4 addresses in this cluster network subnet that are not in use, and have not been reserved by the user or the provider.
cluster_network_id str
The cluster network identifier.
cluster_network_subnet_id str
(String) The unique identifier for this cluster network subnet.
created_at str
(String) The date and time that the cluster network subnet was created.
etag str
ETag identifier for ClusterNetworkSubnet.
href str
(String) The URL for this cluster network subnet.
ip_version str
The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are: ipv4.
ipv4_cidr_block str
The IPv4 range of this cluster network subnet, expressed in CIDR format.
is_cluster_network_subnet_id str
The unique identifier of the ClusterNetworkSubnet.
lifecycle_reasons Sequence[IsClusterNetworkSubnetLifecycleReasonArgs]
(List) The reasons for the current lifecycle_state (if any).
lifecycle_state str
(String) The lifecycle state of the cluster network subnet.

  • Constraints: Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
name str
The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
resource_type str
(String) The resource type.

  • Constraints: Allowable values are: cluster_network_subnet.
total_ipv4_address_count float
The total number of IPv4 addresses in this cluster network subnet.Note: This is calculated as 2(32 - prefix length). For example, the prefix length /24 gives: 2(32 - 24) = 28 = 256 addresses.
availableIpv4AddressCount Number
(Integer) The number of IPv4 addresses in this cluster network subnet that are not in use, and have not been reserved by the user or the provider.
clusterNetworkId String
The cluster network identifier.
clusterNetworkSubnetId String
(String) The unique identifier for this cluster network subnet.
createdAt String
(String) The date and time that the cluster network subnet was created.
etag String
ETag identifier for ClusterNetworkSubnet.
href String
(String) The URL for this cluster network subnet.
ipVersion String
The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are: ipv4.
ipv4CidrBlock String
The IPv4 range of this cluster network subnet, expressed in CIDR format.
isClusterNetworkSubnetId String
The unique identifier of the ClusterNetworkSubnet.
lifecycleReasons List<Property Map>
(List) The reasons for the current lifecycle_state (if any).
lifecycleState String
(String) The lifecycle state of the cluster network subnet.

  • Constraints: Allowable values are: deleting, failed, pending, stable, suspended, updating, waiting.
name String
The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
resourceType String
(String) The resource type.

  • Constraints: Allowable values are: cluster_network_subnet.
totalIpv4AddressCount Number
The total number of IPv4 addresses in this cluster network subnet.Note: This is calculated as 2(32 - prefix length). For example, the prefix length /24 gives: 2(32 - 24) = 28 = 256 addresses.

Supporting Types

IsClusterNetworkSubnetLifecycleReason
, IsClusterNetworkSubnetLifecycleReasonArgs

Code This property is required. string
(String) A reason code for this lifecycle state:- internal_error: internal error (contact IBM support)- resource_suspended_by_provider: The resource has been suspended (contact IBM support)The enumerated values for this property mayexpand in the future.

  • Constraints: Allowable values are: internal_error, resource_suspended_by_provider.
Message This property is required. string
(String) An explanation of the reason for this lifecycle state.
MoreInfo This property is required. string
(String) Link to documentation about the reason for this lifecycle state.

  • Constraints: The maximum length is 8000 characters. The minimum length is 10 characters. The value must match regular expression /^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/.
Code This property is required. string
(String) A reason code for this lifecycle state:- internal_error: internal error (contact IBM support)- resource_suspended_by_provider: The resource has been suspended (contact IBM support)The enumerated values for this property mayexpand in the future.

  • Constraints: Allowable values are: internal_error, resource_suspended_by_provider.
Message This property is required. string
(String) An explanation of the reason for this lifecycle state.
MoreInfo This property is required. string
(String) Link to documentation about the reason for this lifecycle state.

  • Constraints: The maximum length is 8000 characters. The minimum length is 10 characters. The value must match regular expression /^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/.
code This property is required. String
(String) A reason code for this lifecycle state:- internal_error: internal error (contact IBM support)- resource_suspended_by_provider: The resource has been suspended (contact IBM support)The enumerated values for this property mayexpand in the future.

  • Constraints: Allowable values are: internal_error, resource_suspended_by_provider.
message This property is required. String
(String) An explanation of the reason for this lifecycle state.
moreInfo This property is required. String
(String) Link to documentation about the reason for this lifecycle state.

  • Constraints: The maximum length is 8000 characters. The minimum length is 10 characters. The value must match regular expression /^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/.
code This property is required. string
(String) A reason code for this lifecycle state:- internal_error: internal error (contact IBM support)- resource_suspended_by_provider: The resource has been suspended (contact IBM support)The enumerated values for this property mayexpand in the future.

  • Constraints: Allowable values are: internal_error, resource_suspended_by_provider.
message This property is required. string
(String) An explanation of the reason for this lifecycle state.
moreInfo This property is required. string
(String) Link to documentation about the reason for this lifecycle state.

  • Constraints: The maximum length is 8000 characters. The minimum length is 10 characters. The value must match regular expression /^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/.
code This property is required. str
(String) A reason code for this lifecycle state:- internal_error: internal error (contact IBM support)- resource_suspended_by_provider: The resource has been suspended (contact IBM support)The enumerated values for this property mayexpand in the future.

  • Constraints: Allowable values are: internal_error, resource_suspended_by_provider.
message This property is required. str
(String) An explanation of the reason for this lifecycle state.
more_info This property is required. str
(String) Link to documentation about the reason for this lifecycle state.

  • Constraints: The maximum length is 8000 characters. The minimum length is 10 characters. The value must match regular expression /^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/.
code This property is required. String
(String) A reason code for this lifecycle state:- internal_error: internal error (contact IBM support)- resource_suspended_by_provider: The resource has been suspended (contact IBM support)The enumerated values for this property mayexpand in the future.

  • Constraints: Allowable values are: internal_error, resource_suspended_by_provider.
message This property is required. String
(String) An explanation of the reason for this lifecycle state.
moreInfo This property is required. String
(String) Link to documentation about the reason for this lifecycle state.

  • Constraints: The maximum length is 8000 characters. The minimum length is 10 characters. The value must match regular expression /^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/.

Import

You can import the ibm_is_cluster_network_subnet resource by using id.

The id property can be formed from cluster_network_id, and cluster_network_subnet_id in the following format:

<cluster_network_id>/<cluster_network_subnet_id>

  • cluster_network_id: A string. The cluster network identifier.

  • cluster_network_subnet_id: A string in the format 0717-7931845c-65c4-4b0a-80cd-7d9c1a6d7930. The unique identifier for this cluster network subnet.

Syntax

```sh
$ pulumi import ibm:index/isClusterNetworkSubnet:IsClusterNetworkSubnet is_cluster_network_subnet <cluster_network_id>/<cluster_network_subnet_id>
```

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.