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",
});
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")
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
})
}
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",
});
});
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());
}
}
resources:
isClusterNetworkSubnetInstance:
type: ibm:IsClusterNetworkSubnet
properties:
clusterNetworkId: cluster_network_id
ipVersion: ipv4
ipv4CidrBlock: 10.0.0.0/24
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 string
- The unique name of the resource.
- args IsClusterNetworkSubnetArgs
- 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 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 string
- The unique name of the resource.
- args IsClusterNetworkSubnetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsClusterNetworkSubnetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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,
});
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),
})
var isClusterNetworkSubnetResource = new IsClusterNetworkSubnet("isClusterNetworkSubnetResource", IsClusterNetworkSubnetArgs.builder()
.clusterNetworkId("string")
.ipVersion("string")
.ipv4CidrBlock("string")
.isClusterNetworkSubnetId("string")
.name("string")
.totalIpv4AddressCount(0)
.build());
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)
const isClusterNetworkSubnetResource = new ibm.IsClusterNetworkSubnet("isClusterNetworkSubnetResource", {
clusterNetworkId: "string",
ipVersion: "string",
ipv4CidrBlock: "string",
isClusterNetworkSubnetId: "string",
name: "string",
totalIpv4AddressCount: 0,
});
type: ibm:IsClusterNetworkSubnet
properties:
clusterNetworkId: string
ipVersion: string
ipv4CidrBlock: string
isClusterNetworkSubnetId: string
name: string
totalIpv4AddressCount: 0
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:
- Cluster
Network stringId - The cluster network identifier.
- Ip
Version string - The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are:
ipv4
. - Ipv4Cidr
Block string - The IPv4 range of this cluster network subnet, expressed in CIDR format.
- Is
Cluster stringNetwork Subnet Id - 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.
- Total
Ipv4Address doubleCount - 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 stringId - The cluster network identifier.
- Ip
Version string - The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are:
ipv4
. - Ipv4Cidr
Block string - The IPv4 range of this cluster network subnet, expressed in CIDR format.
- Is
Cluster stringNetwork Subnet Id - 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.
- Total
Ipv4Address float64Count - 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 StringId - The cluster network identifier.
- ip
Version String - The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are:
ipv4
. - ipv4Cidr
Block String - The IPv4 range of this cluster network subnet, expressed in CIDR format.
- is
Cluster StringNetwork Subnet Id - 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.
- total
Ipv4Address DoubleCount - 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 stringId - The cluster network identifier.
- ip
Version string - The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are:
ipv4
. - ipv4Cidr
Block string - The IPv4 range of this cluster network subnet, expressed in CIDR format.
- is
Cluster stringNetwork Subnet Id - 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.
- total
Ipv4Address numberCount - 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_ strid - 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_ strblock - The IPv4 range of this cluster network subnet, expressed in CIDR format.
- is_
cluster_ strnetwork_ subnet_ id - 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_ floataddress_ count - 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 StringId - The cluster network identifier.
- ip
Version String - The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are:
ipv4
. - ipv4Cidr
Block String - The IPv4 range of this cluster network subnet, expressed in CIDR format.
- is
Cluster StringNetwork Subnet Id - 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.
- total
Ipv4Address NumberCount - 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:
- Available
Ipv4Address doubleCount - (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 stringSubnet Id - (String) The unique identifier for this cluster network subnet.
- Created
At 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.
- Lifecycle
Reasons List<IsCluster Network Subnet Lifecycle Reason> - (List) The reasons for the current
lifecycle_state
(if any). - Lifecycle
State string - (String) The lifecycle state of the cluster network subnet.
- Constraints: Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
.
- Constraints: Allowable values are:
- Resource
Type string - (String) The resource type.
- Constraints: Allowable values are:
cluster_network_subnet
.
- Constraints: Allowable values are:
- Available
Ipv4Address float64Count - (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 stringSubnet Id - (String) The unique identifier for this cluster network subnet.
- Created
At 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.
- Lifecycle
Reasons []IsCluster Network Subnet Lifecycle Reason - (List) The reasons for the current
lifecycle_state
(if any). - Lifecycle
State string - (String) The lifecycle state of the cluster network subnet.
- Constraints: Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
.
- Constraints: Allowable values are:
- Resource
Type string - (String) The resource type.
- Constraints: Allowable values are:
cluster_network_subnet
.
- Constraints: Allowable values are:
- available
Ipv4Address DoubleCount - (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 StringSubnet Id - (String) The unique identifier for this cluster network subnet.
- created
At 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.
- lifecycle
Reasons List<IsCluster Network Subnet Lifecycle Reason> - (List) The reasons for the current
lifecycle_state
(if any). - lifecycle
State String - (String) The lifecycle state of the cluster network subnet.
- Constraints: Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
.
- Constraints: Allowable values are:
- resource
Type String - (String) The resource type.
- Constraints: Allowable values are:
cluster_network_subnet
.
- Constraints: Allowable values are:
- available
Ipv4Address numberCount - (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 stringSubnet Id - (String) The unique identifier for this cluster network subnet.
- created
At 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.
- lifecycle
Reasons IsCluster Network Subnet Lifecycle Reason[] - (List) The reasons for the current
lifecycle_state
(if any). - lifecycle
State string - (String) The lifecycle state of the cluster network subnet.
- Constraints: Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
.
- Constraints: Allowable values are:
- resource
Type string - (String) The resource type.
- Constraints: Allowable values are:
cluster_network_subnet
.
- Constraints: Allowable values are:
- available_
ipv4_ floataddress_ count - (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_ strsubnet_ id - (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[IsCluster Network Subnet Lifecycle Reason] - (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
.
- Constraints: Allowable values are:
- resource_
type str - (String) The resource type.
- Constraints: Allowable values are:
cluster_network_subnet
.
- Constraints: Allowable values are:
- available
Ipv4Address NumberCount - (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 StringSubnet Id - (String) The unique identifier for this cluster network subnet.
- created
At 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.
- lifecycle
Reasons List<Property Map> - (List) The reasons for the current
lifecycle_state
(if any). - lifecycle
State String - (String) The lifecycle state of the cluster network subnet.
- Constraints: Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
.
- Constraints: Allowable values are:
- resource
Type String - (String) The resource type.
- Constraints: Allowable values are:
cluster_network_subnet
.
- Constraints: Allowable values are:
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
- 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.
- Available
Ipv4Address doubleCount - (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 stringId - The cluster network identifier.
- Cluster
Network stringSubnet Id - (String) The unique identifier for this cluster network subnet.
- Created
At 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.
- Ip
Version string - The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are:
ipv4
. - Ipv4Cidr
Block string - The IPv4 range of this cluster network subnet, expressed in CIDR format.
- Is
Cluster stringNetwork Subnet Id - The unique identifier of the ClusterNetworkSubnet.
- Lifecycle
Reasons List<IsCluster Network Subnet Lifecycle Reason> - (List) The reasons for the current
lifecycle_state
(if any). - Lifecycle
State string - (String) The lifecycle state of the cluster network subnet.
- Constraints: Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
.
- Constraints: Allowable values are:
- Name string
- The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
- Resource
Type string - (String) The resource type.
- Constraints: Allowable values are:
cluster_network_subnet
.
- Constraints: Allowable values are:
- Total
Ipv4Address doubleCount - 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
Ipv4Address float64Count - (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 stringId - The cluster network identifier.
- Cluster
Network stringSubnet Id - (String) The unique identifier for this cluster network subnet.
- Created
At 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.
- Ip
Version string - The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are:
ipv4
. - Ipv4Cidr
Block string - The IPv4 range of this cluster network subnet, expressed in CIDR format.
- Is
Cluster stringNetwork Subnet Id - The unique identifier of the ClusterNetworkSubnet.
- Lifecycle
Reasons []IsCluster Network Subnet Lifecycle Reason Args - (List) The reasons for the current
lifecycle_state
(if any). - Lifecycle
State string - (String) The lifecycle state of the cluster network subnet.
- Constraints: Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
.
- Constraints: Allowable values are:
- Name string
- The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
- Resource
Type string - (String) The resource type.
- Constraints: Allowable values are:
cluster_network_subnet
.
- Constraints: Allowable values are:
- Total
Ipv4Address float64Count - 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
Ipv4Address DoubleCount - (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 StringId - The cluster network identifier.
- cluster
Network StringSubnet Id - (String) The unique identifier for this cluster network subnet.
- created
At 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.
- ip
Version String - The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are:
ipv4
. - ipv4Cidr
Block String - The IPv4 range of this cluster network subnet, expressed in CIDR format.
- is
Cluster StringNetwork Subnet Id - The unique identifier of the ClusterNetworkSubnet.
- lifecycle
Reasons List<IsCluster Network Subnet Lifecycle Reason> - (List) The reasons for the current
lifecycle_state
(if any). - lifecycle
State String - (String) The lifecycle state of the cluster network subnet.
- Constraints: Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
.
- Constraints: Allowable values are:
- name String
- The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
- resource
Type String - (String) The resource type.
- Constraints: Allowable values are:
cluster_network_subnet
.
- Constraints: Allowable values are:
- total
Ipv4Address DoubleCount - 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
Ipv4Address numberCount - (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 stringId - The cluster network identifier.
- cluster
Network stringSubnet Id - (String) The unique identifier for this cluster network subnet.
- created
At 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.
- ip
Version string - The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are:
ipv4
. - ipv4Cidr
Block string - The IPv4 range of this cluster network subnet, expressed in CIDR format.
- is
Cluster stringNetwork Subnet Id - The unique identifier of the ClusterNetworkSubnet.
- lifecycle
Reasons IsCluster Network Subnet Lifecycle Reason[] - (List) The reasons for the current
lifecycle_state
(if any). - lifecycle
State string - (String) The lifecycle state of the cluster network subnet.
- Constraints: Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
.
- Constraints: Allowable values are:
- name string
- The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
- resource
Type string - (String) The resource type.
- Constraints: Allowable values are:
cluster_network_subnet
.
- Constraints: Allowable values are:
- total
Ipv4Address numberCount - 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_ floataddress_ count - (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_ strid - The cluster network identifier.
- cluster_
network_ strsubnet_ id - (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_ strblock - The IPv4 range of this cluster network subnet, expressed in CIDR format.
- is_
cluster_ strnetwork_ subnet_ id - The unique identifier of the ClusterNetworkSubnet.
- lifecycle_
reasons Sequence[IsCluster Network Subnet Lifecycle Reason Args] - (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
.
- Constraints: Allowable values are:
- 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
.
- Constraints: Allowable values are:
- total_
ipv4_ floataddress_ count - 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
Ipv4Address NumberCount - (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 StringId - The cluster network identifier.
- cluster
Network StringSubnet Id - (String) The unique identifier for this cluster network subnet.
- created
At 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.
- ip
Version String - The IP version for this cluster network subnet.The enumerated values for this property mayexpand in the future. Allowable values are:
ipv4
. - ipv4Cidr
Block String - The IPv4 range of this cluster network subnet, expressed in CIDR format.
- is
Cluster StringNetwork Subnet Id - The unique identifier of the ClusterNetworkSubnet.
- lifecycle
Reasons List<Property Map> - (List) The reasons for the current
lifecycle_state
(if any). - lifecycle
State String - (String) The lifecycle state of the cluster network subnet.
- Constraints: Allowable values are:
deleting
,failed
,pending
,stable
,suspended
,updating
,waiting
.
- Constraints: Allowable values are:
- name String
- The name for this cluster network subnet. The name is unique across all cluster network subnets in the cluster network.
- resource
Type String - (String) The resource type.
- Constraints: Allowable values are:
cluster_network_subnet
.
- Constraints: Allowable values are:
- total
Ipv4Address NumberCount - 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 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
.
- Constraints: Allowable values are:
- Message string
- (String) An explanation of the reason for this lifecycle state.
- More
Info string - (String) Link to documentation about the reason for this lifecycle state.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- Code 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
.
- Constraints: Allowable values are:
- Message string
- (String) An explanation of the reason for this lifecycle state.
- More
Info string - (String) Link to documentation about the reason for this lifecycle state.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- code 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
.
- Constraints: Allowable values are:
- message String
- (String) An explanation of the reason for this lifecycle state.
- more
Info String - (String) Link to documentation about the reason for this lifecycle state.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- code 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
.
- Constraints: Allowable values are:
- message string
- (String) An explanation of the reason for this lifecycle state.
- more
Info string - (String) Link to documentation about the reason for this lifecycle state.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- code 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
.
- Constraints: Allowable values are:
- message str
- (String) An explanation of the reason for this lifecycle state.
- more_
info str - (String) Link to documentation about the reason for this lifecycle state.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
- code 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
.
- Constraints: Allowable values are:
- message String
- (String) An explanation of the reason for this lifecycle state.
- more
Info String - (String) Link to documentation about the reason for this lifecycle state.
- Constraints: The maximum length is
8000
characters. The minimum length is10
characters. The value must match regular expression/^http(s)?:\/\/([^\/?#]*)([^?#]*)(\\?([^#]*))?(#(.*))?$/
.
- Constraints: The maximum length is
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 format0717-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.