1. Packages
  2. Ibm Provider
  3. API Docs
  4. getIsSubnets
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getIsSubnets

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Retrieve information about of an existing VPC subnets in an IBM Cloud account as a read only data source. For more information, about infrastructure subnets, see attaching subnets to a routing table.

    Note: VPC infrastructure services are a regional specific based endpoint, by default targets to us-south. Please make sure to target right region in the provider block as shown in the provider.tf file, if VPC service is created in region other than us-south.

    provider.tf

    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    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) {
        }
    }
    
    {}
    

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const exampleResourceGroup = ibm.getResourceGroup({
        name: "Default",
    });
    const exampleIsVpc = new ibm.IsVpc("exampleIsVpc", {});
    const exampleIsVpcRoutingTable = new ibm.IsVpcRoutingTable("exampleIsVpcRoutingTable", {vpc: exampleIsVpc.isVpcId});
    const exampleIsSubnet = new ibm.IsSubnet("exampleIsSubnet", {
        vpc: exampleIsVpc.isVpcId,
        zone: "us-south-1",
        ipv4CidrBlock: "10.240.0.0/24",
        routingTable: exampleIsVpcRoutingTable.routingTable,
        resourceGroup: exampleResourceGroup.then(exampleResourceGroup => exampleResourceGroup.id),
    });
    const example1 = exampleResourceGroup.then(exampleResourceGroup => ibm.getIsSubnets({
        resourceGroup: exampleResourceGroup.id,
    }));
    const example2 = ibm.getIsSubnetsOutput({
        routingTableName: exampleIsVpcRoutingTable.name,
    });
    const example3 = ibm.getIsSubnetsOutput({
        routingTable: exampleIsVpcRoutingTable.isVpcRoutingTableId,
    });
    const example4 = ibm.getIsSubnets({});
    
    import pulumi
    import pulumi_ibm as ibm
    
    example_resource_group = ibm.get_resource_group(name="Default")
    example_is_vpc = ibm.IsVpc("exampleIsVpc")
    example_is_vpc_routing_table = ibm.IsVpcRoutingTable("exampleIsVpcRoutingTable", vpc=example_is_vpc.is_vpc_id)
    example_is_subnet = ibm.IsSubnet("exampleIsSubnet",
        vpc=example_is_vpc.is_vpc_id,
        zone="us-south-1",
        ipv4_cidr_block="10.240.0.0/24",
        routing_table=example_is_vpc_routing_table.routing_table,
        resource_group=example_resource_group.id)
    example1 = ibm.get_is_subnets(resource_group=example_resource_group.id)
    example2 = ibm.get_is_subnets_output(routing_table_name=example_is_vpc_routing_table.name)
    example3 = ibm.get_is_subnets_output(routing_table=example_is_vpc_routing_table.is_vpc_routing_table_id)
    example4 = ibm.get_is_subnets()
    
    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 {
    		exampleResourceGroup, err := ibm.LookupResourceGroup(ctx, &ibm.LookupResourceGroupArgs{
    			Name: pulumi.StringRef("Default"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		exampleIsVpc, err := ibm.NewIsVpc(ctx, "exampleIsVpc", nil)
    		if err != nil {
    			return err
    		}
    		exampleIsVpcRoutingTable, err := ibm.NewIsVpcRoutingTable(ctx, "exampleIsVpcRoutingTable", &ibm.IsVpcRoutingTableArgs{
    			Vpc: exampleIsVpc.IsVpcId,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ibm.NewIsSubnet(ctx, "exampleIsSubnet", &ibm.IsSubnetArgs{
    			Vpc:           exampleIsVpc.IsVpcId,
    			Zone:          pulumi.String("us-south-1"),
    			Ipv4CidrBlock: pulumi.String("10.240.0.0/24"),
    			RoutingTable:  exampleIsVpcRoutingTable.RoutingTable,
    			ResourceGroup: pulumi.String(exampleResourceGroup.Id),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ibm.GetIsSubnets(ctx, &ibm.GetIsSubnetsArgs{
    			ResourceGroup: pulumi.StringRef(exampleResourceGroup.Id),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_ = ibm.GetIsSubnetsOutput(ctx, ibm.GetIsSubnetsOutputArgs{
    			RoutingTableName: exampleIsVpcRoutingTable.Name,
    		}, nil)
    		_ = ibm.GetIsSubnetsOutput(ctx, ibm.GetIsSubnetsOutputArgs{
    			RoutingTable: exampleIsVpcRoutingTable.IsVpcRoutingTableId,
    		}, nil)
    		_, err = ibm.GetIsSubnets(ctx, &ibm.GetIsSubnetsArgs{}, nil)
    		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 exampleResourceGroup = Ibm.GetResourceGroup.Invoke(new()
        {
            Name = "Default",
        });
    
        var exampleIsVpc = new Ibm.IsVpc("exampleIsVpc");
    
        var exampleIsVpcRoutingTable = new Ibm.IsVpcRoutingTable("exampleIsVpcRoutingTable", new()
        {
            Vpc = exampleIsVpc.IsVpcId,
        });
    
        var exampleIsSubnet = new Ibm.IsSubnet("exampleIsSubnet", new()
        {
            Vpc = exampleIsVpc.IsVpcId,
            Zone = "us-south-1",
            Ipv4CidrBlock = "10.240.0.0/24",
            RoutingTable = exampleIsVpcRoutingTable.RoutingTable,
            ResourceGroup = exampleResourceGroup.Apply(getResourceGroupResult => getResourceGroupResult.Id),
        });
    
        var example1 = Ibm.GetIsSubnets.Invoke(new()
        {
            ResourceGroup = exampleResourceGroup.Apply(getResourceGroupResult => getResourceGroupResult.Id),
        });
    
        var example2 = Ibm.GetIsSubnets.Invoke(new()
        {
            RoutingTableName = exampleIsVpcRoutingTable.Name,
        });
    
        var example3 = Ibm.GetIsSubnets.Invoke(new()
        {
            RoutingTable = exampleIsVpcRoutingTable.IsVpcRoutingTableId,
        });
    
        var example4 = Ibm.GetIsSubnets.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetResourceGroupArgs;
    import com.pulumi.ibm.IsVpc;
    import com.pulumi.ibm.IsVpcRoutingTable;
    import com.pulumi.ibm.IsVpcRoutingTableArgs;
    import com.pulumi.ibm.IsSubnet;
    import com.pulumi.ibm.IsSubnetArgs;
    import com.pulumi.ibm.inputs.GetIsSubnetsArgs;
    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) {
            final var exampleResourceGroup = IbmFunctions.getResourceGroup(GetResourceGroupArgs.builder()
                .name("Default")
                .build());
    
            var exampleIsVpc = new IsVpc("exampleIsVpc");
    
            var exampleIsVpcRoutingTable = new IsVpcRoutingTable("exampleIsVpcRoutingTable", IsVpcRoutingTableArgs.builder()
                .vpc(exampleIsVpc.isVpcId())
                .build());
    
            var exampleIsSubnet = new IsSubnet("exampleIsSubnet", IsSubnetArgs.builder()
                .vpc(exampleIsVpc.isVpcId())
                .zone("us-south-1")
                .ipv4CidrBlock("10.240.0.0/24")
                .routingTable(exampleIsVpcRoutingTable.routingTable())
                .resourceGroup(exampleResourceGroup.applyValue(getResourceGroupResult -> getResourceGroupResult.id()))
                .build());
    
            final var example1 = IbmFunctions.getIsSubnets(GetIsSubnetsArgs.builder()
                .resourceGroup(exampleResourceGroup.applyValue(getResourceGroupResult -> getResourceGroupResult.id()))
                .build());
    
            final var example2 = IbmFunctions.getIsSubnets(GetIsSubnetsArgs.builder()
                .routingTableName(exampleIsVpcRoutingTable.name())
                .build());
    
            final var example3 = IbmFunctions.getIsSubnets(GetIsSubnetsArgs.builder()
                .routingTable(exampleIsVpcRoutingTable.isVpcRoutingTableId())
                .build());
    
            final var example4 = IbmFunctions.getIsSubnets();
    
        }
    }
    
    resources:
      exampleIsVpc:
        type: ibm:IsVpc
      exampleIsVpcRoutingTable:
        type: ibm:IsVpcRoutingTable
        properties:
          vpc: ${exampleIsVpc.isVpcId}
      exampleIsSubnet:
        type: ibm:IsSubnet
        properties:
          vpc: ${exampleIsVpc.isVpcId}
          zone: us-south-1
          ipv4CidrBlock: 10.240.0.0/24
          routingTable: ${exampleIsVpcRoutingTable.routingTable}
          resourceGroup: ${exampleResourceGroup.id}
    variables:
      exampleResourceGroup:
        fn::invoke:
          function: ibm:getResourceGroup
          arguments:
            name: Default
      example1:
        fn::invoke:
          function: ibm:getIsSubnets
          arguments:
            resourceGroup: ${exampleResourceGroup.id}
      example2:
        fn::invoke:
          function: ibm:getIsSubnets
          arguments:
            routingTableName: ${exampleIsVpcRoutingTable.name}
      example3:
        fn::invoke:
          function: ibm:getIsSubnets
          arguments:
            routingTable: ${exampleIsVpcRoutingTable.isVpcRoutingTableId}
      example4:
        fn::invoke:
          function: ibm:getIsSubnets
          arguments: {}
    

    Using getIsSubnets

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getIsSubnets(args: GetIsSubnetsArgs, opts?: InvokeOptions): Promise<GetIsSubnetsResult>
    function getIsSubnetsOutput(args: GetIsSubnetsOutputArgs, opts?: InvokeOptions): Output<GetIsSubnetsResult>
    def get_is_subnets(id: Optional[str] = None,
                       resource_group: Optional[str] = None,
                       routing_table: Optional[str] = None,
                       routing_table_name: Optional[str] = None,
                       vpc: Optional[str] = None,
                       vpc_crn: Optional[str] = None,
                       vpc_name: Optional[str] = None,
                       zone: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetIsSubnetsResult
    def get_is_subnets_output(id: Optional[pulumi.Input[str]] = None,
                       resource_group: Optional[pulumi.Input[str]] = None,
                       routing_table: Optional[pulumi.Input[str]] = None,
                       routing_table_name: Optional[pulumi.Input[str]] = None,
                       vpc: Optional[pulumi.Input[str]] = None,
                       vpc_crn: Optional[pulumi.Input[str]] = None,
                       vpc_name: Optional[pulumi.Input[str]] = None,
                       zone: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetIsSubnetsResult]
    func GetIsSubnets(ctx *Context, args *GetIsSubnetsArgs, opts ...InvokeOption) (*GetIsSubnetsResult, error)
    func GetIsSubnetsOutput(ctx *Context, args *GetIsSubnetsOutputArgs, opts ...InvokeOption) GetIsSubnetsResultOutput

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

    public static class GetIsSubnets 
    {
        public static Task<GetIsSubnetsResult> InvokeAsync(GetIsSubnetsArgs args, InvokeOptions? opts = null)
        public static Output<GetIsSubnetsResult> Invoke(GetIsSubnetsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIsSubnetsResult> getIsSubnets(GetIsSubnetsArgs args, InvokeOptions options)
    public static Output<GetIsSubnetsResult> getIsSubnets(GetIsSubnetsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getIsSubnets:getIsSubnets
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    (String) The unique identifier for this routing table.
    ResourceGroup string
    The id of the resource group.
    RoutingTable string
    The id of the routing table.
    RoutingTableName string
    The name of the routing table.
    Vpc string
    The id of the vpc.
    VpcCrn string
    The crn of the vpc.
    VpcName string
    The name of vpc.
    Zone string
    The name of the zone.
    Id string
    (String) The unique identifier for this routing table.
    ResourceGroup string
    The id of the resource group.
    RoutingTable string
    The id of the routing table.
    RoutingTableName string
    The name of the routing table.
    Vpc string
    The id of the vpc.
    VpcCrn string
    The crn of the vpc.
    VpcName string
    The name of vpc.
    Zone string
    The name of the zone.
    id String
    (String) The unique identifier for this routing table.
    resourceGroup String
    The id of the resource group.
    routingTable String
    The id of the routing table.
    routingTableName String
    The name of the routing table.
    vpc String
    The id of the vpc.
    vpcCrn String
    The crn of the vpc.
    vpcName String
    The name of vpc.
    zone String
    The name of the zone.
    id string
    (String) The unique identifier for this routing table.
    resourceGroup string
    The id of the resource group.
    routingTable string
    The id of the routing table.
    routingTableName string
    The name of the routing table.
    vpc string
    The id of the vpc.
    vpcCrn string
    The crn of the vpc.
    vpcName string
    The name of vpc.
    zone string
    The name of the zone.
    id str
    (String) The unique identifier for this routing table.
    resource_group str
    The id of the resource group.
    routing_table str
    The id of the routing table.
    routing_table_name str
    The name of the routing table.
    vpc str
    The id of the vpc.
    vpc_crn str
    The crn of the vpc.
    vpc_name str
    The name of vpc.
    zone str
    The name of the zone.
    id String
    (String) The unique identifier for this routing table.
    resourceGroup String
    The id of the resource group.
    routingTable String
    The id of the routing table.
    routingTableName String
    The name of the routing table.
    vpc String
    The id of the vpc.
    vpcCrn String
    The crn of the vpc.
    vpcName String
    The name of vpc.
    zone String
    The name of the zone.

    getIsSubnets Result

    The following output properties are available:

    Id string
    (String) The unique identifier for this routing table.
    Subnets List<GetIsSubnetsSubnet>
    (List) A list of subnets in the IBM Cloud infrastructure.
    ResourceGroup string
    (String) The resource group id, that the subnet belongs to.
    RoutingTable string
    (List) The routing table for this subnet. Nested scheme for routing_table:
    RoutingTableName string
    Vpc string
    (String) The ID of the VPC that this subnet belongs to.
    VpcCrn string
    VpcName string
    Zone string
    (String) The zone where the subnet was created.
    Id string
    (String) The unique identifier for this routing table.
    Subnets []GetIsSubnetsSubnet
    (List) A list of subnets in the IBM Cloud infrastructure.
    ResourceGroup string
    (String) The resource group id, that the subnet belongs to.
    RoutingTable string
    (List) The routing table for this subnet. Nested scheme for routing_table:
    RoutingTableName string
    Vpc string
    (String) The ID of the VPC that this subnet belongs to.
    VpcCrn string
    VpcName string
    Zone string
    (String) The zone where the subnet was created.
    id String
    (String) The unique identifier for this routing table.
    subnets List<GetIsSubnetsSubnet>
    (List) A list of subnets in the IBM Cloud infrastructure.
    resourceGroup String
    (String) The resource group id, that the subnet belongs to.
    routingTable String
    (List) The routing table for this subnet. Nested scheme for routing_table:
    routingTableName String
    vpc String
    (String) The ID of the VPC that this subnet belongs to.
    vpcCrn String
    vpcName String
    zone String
    (String) The zone where the subnet was created.
    id string
    (String) The unique identifier for this routing table.
    subnets GetIsSubnetsSubnet[]
    (List) A list of subnets in the IBM Cloud infrastructure.
    resourceGroup string
    (String) The resource group id, that the subnet belongs to.
    routingTable string
    (List) The routing table for this subnet. Nested scheme for routing_table:
    routingTableName string
    vpc string
    (String) The ID of the VPC that this subnet belongs to.
    vpcCrn string
    vpcName string
    zone string
    (String) The zone where the subnet was created.
    id str
    (String) The unique identifier for this routing table.
    subnets Sequence[GetIsSubnetsSubnet]
    (List) A list of subnets in the IBM Cloud infrastructure.
    resource_group str
    (String) The resource group id, that the subnet belongs to.
    routing_table str
    (List) The routing table for this subnet. Nested scheme for routing_table:
    routing_table_name str
    vpc str
    (String) The ID of the VPC that this subnet belongs to.
    vpc_crn str
    vpc_name str
    zone str
    (String) The zone where the subnet was created.
    id String
    (String) The unique identifier for this routing table.
    subnets List<Property Map>
    (List) A list of subnets in the IBM Cloud infrastructure.
    resourceGroup String
    (String) The resource group id, that the subnet belongs to.
    routingTable String
    (List) The routing table for this subnet. Nested scheme for routing_table:
    routingTableName String
    vpc String
    (String) The ID of the VPC that this subnet belongs to.
    vpcCrn String
    vpcName String
    zone String
    (String) The zone where the subnet was created.

    Supporting Types

    GetIsSubnetsSubnet

    AvailableIpv4AddressCount string
    (Integer) The number of IPv4 addresses that are available in the subnet.
    Crn string
    (String) The crn for this routing table.
    Id string
    (String) The unique identifier for this routing table.
    Ipv4CidrBlock string
    (String) The IPv4 CIDR block of this subnet.
    Name string
    (String) The user-defined name for this routing table.
    NetworkAcl string
    (String) The access control list (ACL) that is attached to the subnet.
    PublicGateway string
    (Bool) If set to true, a public gateway is attached to the subnet. If set to false, no public gateway for this subnet exists.
    ResourceGroup string
    The id of the resource group.
    RoutingTables List<GetIsSubnetsSubnetRoutingTable>
    The id of the routing table.
    Status string
    (String) The status of the subnet.
    TotalIpv4AddressCount string
    (Integer) The total number of IPv4 addresses in the subnet.
    Vpc string
    The id of the vpc.
    Zone string
    The name of the zone.
    AvailableIpv4AddressCount string
    (Integer) The number of IPv4 addresses that are available in the subnet.
    Crn string
    (String) The crn for this routing table.
    Id string
    (String) The unique identifier for this routing table.
    Ipv4CidrBlock string
    (String) The IPv4 CIDR block of this subnet.
    Name string
    (String) The user-defined name for this routing table.
    NetworkAcl string
    (String) The access control list (ACL) that is attached to the subnet.
    PublicGateway string
    (Bool) If set to true, a public gateway is attached to the subnet. If set to false, no public gateway for this subnet exists.
    ResourceGroup string
    The id of the resource group.
    RoutingTables []GetIsSubnetsSubnetRoutingTable
    The id of the routing table.
    Status string
    (String) The status of the subnet.
    TotalIpv4AddressCount string
    (Integer) The total number of IPv4 addresses in the subnet.
    Vpc string
    The id of the vpc.
    Zone string
    The name of the zone.
    availableIpv4AddressCount String
    (Integer) The number of IPv4 addresses that are available in the subnet.
    crn String
    (String) The crn for this routing table.
    id String
    (String) The unique identifier for this routing table.
    ipv4CidrBlock String
    (String) The IPv4 CIDR block of this subnet.
    name String
    (String) The user-defined name for this routing table.
    networkAcl String
    (String) The access control list (ACL) that is attached to the subnet.
    publicGateway String
    (Bool) If set to true, a public gateway is attached to the subnet. If set to false, no public gateway for this subnet exists.
    resourceGroup String
    The id of the resource group.
    routingTables List<GetIsSubnetsSubnetRoutingTable>
    The id of the routing table.
    status String
    (String) The status of the subnet.
    totalIpv4AddressCount String
    (Integer) The total number of IPv4 addresses in the subnet.
    vpc String
    The id of the vpc.
    zone String
    The name of the zone.
    availableIpv4AddressCount string
    (Integer) The number of IPv4 addresses that are available in the subnet.
    crn string
    (String) The crn for this routing table.
    id string
    (String) The unique identifier for this routing table.
    ipv4CidrBlock string
    (String) The IPv4 CIDR block of this subnet.
    name string
    (String) The user-defined name for this routing table.
    networkAcl string
    (String) The access control list (ACL) that is attached to the subnet.
    publicGateway string
    (Bool) If set to true, a public gateway is attached to the subnet. If set to false, no public gateway for this subnet exists.
    resourceGroup string
    The id of the resource group.
    routingTables GetIsSubnetsSubnetRoutingTable[]
    The id of the routing table.
    status string
    (String) The status of the subnet.
    totalIpv4AddressCount string
    (Integer) The total number of IPv4 addresses in the subnet.
    vpc string
    The id of the vpc.
    zone string
    The name of the zone.
    available_ipv4_address_count str
    (Integer) The number of IPv4 addresses that are available in the subnet.
    crn str
    (String) The crn for this routing table.
    id str
    (String) The unique identifier for this routing table.
    ipv4_cidr_block str
    (String) The IPv4 CIDR block of this subnet.
    name str
    (String) The user-defined name for this routing table.
    network_acl str
    (String) The access control list (ACL) that is attached to the subnet.
    public_gateway str
    (Bool) If set to true, a public gateway is attached to the subnet. If set to false, no public gateway for this subnet exists.
    resource_group str
    The id of the resource group.
    routing_tables Sequence[GetIsSubnetsSubnetRoutingTable]
    The id of the routing table.
    status str
    (String) The status of the subnet.
    total_ipv4_address_count str
    (Integer) The total number of IPv4 addresses in the subnet.
    vpc str
    The id of the vpc.
    zone str
    The name of the zone.
    availableIpv4AddressCount String
    (Integer) The number of IPv4 addresses that are available in the subnet.
    crn String
    (String) The crn for this routing table.
    id String
    (String) The unique identifier for this routing table.
    ipv4CidrBlock String
    (String) The IPv4 CIDR block of this subnet.
    name String
    (String) The user-defined name for this routing table.
    networkAcl String
    (String) The access control list (ACL) that is attached to the subnet.
    publicGateway String
    (Bool) If set to true, a public gateway is attached to the subnet. If set to false, no public gateway for this subnet exists.
    resourceGroup String
    The id of the resource group.
    routingTables List<Property Map>
    The id of the routing table.
    status String
    (String) The status of the subnet.
    totalIpv4AddressCount String
    (Integer) The total number of IPv4 addresses in the subnet.
    vpc String
    The id of the vpc.
    zone String
    The name of the zone.

    GetIsSubnetsSubnetRoutingTable

    Crn string
    (String) The crn for this routing table.
    Deleteds List<GetIsSubnetsSubnetRoutingTableDeleted>
    (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
    Href string
    (String) The URL for this routing table.
    Id string
    (String) The unique identifier for this routing table.
    Name string
    (String) The user-defined name for this routing table.
    ResourceType string
    (String) The type of resource referenced.
    Crn string
    (String) The crn for this routing table.
    Deleteds []GetIsSubnetsSubnetRoutingTableDeleted
    (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
    Href string
    (String) The URL for this routing table.
    Id string
    (String) The unique identifier for this routing table.
    Name string
    (String) The user-defined name for this routing table.
    ResourceType string
    (String) The type of resource referenced.
    crn String
    (String) The crn for this routing table.
    deleteds List<GetIsSubnetsSubnetRoutingTableDeleted>
    (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
    href String
    (String) The URL for this routing table.
    id String
    (String) The unique identifier for this routing table.
    name String
    (String) The user-defined name for this routing table.
    resourceType String
    (String) The type of resource referenced.
    crn string
    (String) The crn for this routing table.
    deleteds GetIsSubnetsSubnetRoutingTableDeleted[]
    (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
    href string
    (String) The URL for this routing table.
    id string
    (String) The unique identifier for this routing table.
    name string
    (String) The user-defined name for this routing table.
    resourceType string
    (String) The type of resource referenced.
    crn str
    (String) The crn for this routing table.
    deleteds Sequence[GetIsSubnetsSubnetRoutingTableDeleted]
    (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
    href str
    (String) The URL for this routing table.
    id str
    (String) The unique identifier for this routing table.
    name str
    (String) The user-defined name for this routing table.
    resource_type str
    (String) The type of resource referenced.
    crn String
    (String) The crn for this routing table.
    deleteds List<Property Map>
    (List) If present, this property indicates the referenced resource has been deleted and provides some supplementary information. Nested scheme for deleted:
    href String
    (String) The URL for this routing table.
    id String
    (String) The unique identifier for this routing table.
    name String
    (String) The user-defined name for this routing table.
    resourceType String
    (String) The type of resource referenced.

    GetIsSubnetsSubnetRoutingTableDeleted

    MoreInfo string
    (String) Link to documentation about deleted resources.
    MoreInfo string
    (String) Link to documentation about deleted resources.
    moreInfo String
    (String) Link to documentation about deleted resources.
    moreInfo string
    (String) Link to documentation about deleted resources.
    more_info str
    (String) Link to documentation about deleted resources.
    moreInfo String
    (String) Link to documentation about deleted 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.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud