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

ibm.getIsVpc

Explore with Pulumi AI

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

Retrieve information of an existing IBM Virtual Private cloud. For more information, about VPC, see getting started with Virtual Private Cloud (VPC).

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";
Copy
import pulumi
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => 
{
});
Copy
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) {
    }
}
Copy
{}
Copy

Example Usage

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

const example = ibm.getIsVpc({
    name: "example-vpc",
});
Copy
import pulumi
import pulumi_ibm as ibm

example = ibm.get_is_vpc(name="example-vpc")
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.LookupIsVpc(ctx, &ibm.LookupIsVpcArgs{
			Name: pulumi.StringRef("example-vpc"),
		}, nil)
		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 example = Ibm.GetIsVpc.Invoke(new()
    {
        Name = "example-vpc",
    });

});
Copy
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.GetIsVpcArgs;
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 example = IbmFunctions.getIsVpc(GetIsVpcArgs.builder()
            .name("example-vpc")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ibm:getIsVpc
      arguments:
        name: example-vpc
Copy

Using getIsVpc

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 getIsVpc(args: GetIsVpcArgs, opts?: InvokeOptions): Promise<GetIsVpcResult>
function getIsVpcOutput(args: GetIsVpcOutputArgs, opts?: InvokeOptions): Output<GetIsVpcResult>
Copy
def get_is_vpc(id: Optional[str] = None,
               identifier: Optional[str] = None,
               name: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetIsVpcResult
def get_is_vpc_output(id: Optional[pulumi.Input[str]] = None,
               identifier: Optional[pulumi.Input[str]] = None,
               name: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetIsVpcResult]
Copy
func LookupIsVpc(ctx *Context, args *LookupIsVpcArgs, opts ...InvokeOption) (*LookupIsVpcResult, error)
func LookupIsVpcOutput(ctx *Context, args *LookupIsVpcOutputArgs, opts ...InvokeOption) LookupIsVpcResultOutput
Copy

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

public static class GetIsVpc 
{
    public static Task<GetIsVpcResult> InvokeAsync(GetIsVpcArgs args, InvokeOptions? opts = null)
    public static Output<GetIsVpcResult> Invoke(GetIsVpcInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetIsVpcResult> getIsVpc(GetIsVpcArgs args, InvokeOptions options)
public static Output<GetIsVpcResult> getIsVpc(GetIsVpcArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getIsVpc:getIsVpc
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
(String) The ID of the subnet.
Identifier string
The id of the VPC.
Name string
The name of the VPC.
Id string
(String) The ID of the subnet.
Identifier string
The id of the VPC.
Name string
The name of the VPC.
id String
(String) The ID of the subnet.
identifier String
The id of the VPC.
name String
The name of the VPC.
id string
(String) The ID of the subnet.
identifier string
The id of the VPC.
name string
The name of the VPC.
id str
(String) The ID of the subnet.
identifier str
The id of the VPC.
name str
The name of the VPC.
id String
(String) The ID of the subnet.
identifier String
The id of the VPC.
name String
The name of the VPC.

getIsVpc Result

The following output properties are available:

AccessTags List<string>
(List) Access management tags associated for the volume.
ClassicAccess bool
(Bool) Indicates whether this VPC is connected to Classic Infrastructure.

Deprecated: Deprecated

Crn string
(String) The CRN of the VPC.
CseSourceAddresses List<GetIsVpcCseSourceAddress>
List of Cloud Service Endpoints-A list of the cloud service endpoints that are associated with your VPC, including their source IP address and zone.
DefaultAddressPrefixes Dictionary<string, string>
(Map) A map of default address prefixes for each zone in the VPC. The keys are the zone names, and the values are the corresponding address prefixes. Example:

import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => { });

package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
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) {
    }
}
{}
title=""> <span id="defaultnetworkacl_csharp">

DefaultNetworkAcl string

(String) The ID of the default network ACL.
DefaultNetworkAclCrn string
(String) The CRN of the default network ACL.
DefaultNetworkAclName string
(String) The name of the default network ACL.
DefaultRoutingTable string
(String) The unique identifier of the VPC default routing table.
DefaultRoutingTableName string
(String) The name of the default routing table.
DefaultSecurityGroup string
(String) The unique identifier of the VPC default security group.
DefaultSecurityGroupCrn string
(String) The CRN of the default security group.
DefaultSecurityGroupName string
(String) The name of the default security group.
Dns List<GetIsVpcDn>
(List) The DNS configuration for this VPC.
HealthReasons List<GetIsVpcHealthReason>
(List) The reasons for the current health_state (if any).The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered. Nested schema for health_reasons:
HealthState string
(String) The health of this resource.- ok: No abnormal behavior detected- degraded: Experiencing compromised performance, capacity, or connectivity- faulted: Completely unreachable, inoperative, or otherwise entirely incapacitated- inapplicable: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of failed or deleting will have a health state of inapplicable. A pending resource may also have this state.[degraded, faulted, inapplicable, ok]
Id string
(String) The ID of the subnet.
ResourceControllerUrl string
ResourceCrn string
ResourceGroup string
(String) The resource group ID where the VPC created.
ResourceGroupName string
ResourceName string
ResourceStatus string
SecurityGroups List<GetIsVpcSecurityGroup>
(String) A list of security groups attached to VPC. The nested security group block has the following structure:
Status string
(String) The status of the subnet.
Subnets List<GetIsVpcSubnet>
(List) A list of subnets that are attached to a VPC.
Tags List<string>
(String) Tags associated with the instance.
Identifier string
Name string
(String) The name of the subnet.

AccessTags []string
(List) Access management tags associated for the volume.
ClassicAccess bool
(Bool) Indicates whether this VPC is connected to Classic Infrastructure.

Deprecated: Deprecated

Crn string
(String) The CRN of the VPC.
CseSourceAddresses []GetIsVpcCseSourceAddress
List of Cloud Service Endpoints-A list of the cloud service endpoints that are associated with your VPC, including their source IP address and zone.
DefaultAddressPrefixes map[string]string
(Map) A map of default address prefixes for each zone in the VPC. The keys are the zone names, and the values are the corresponding address prefixes. Example:

import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => { });

package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
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) {
    }
}
{}
title=""> <span id="defaultnetworkacl_go">

DefaultNetworkAcl string

(String) The ID of the default network ACL.
DefaultNetworkAclCrn string
(String) The CRN of the default network ACL.
DefaultNetworkAclName string
(String) The name of the default network ACL.
DefaultRoutingTable string
(String) The unique identifier of the VPC default routing table.
DefaultRoutingTableName string
(String) The name of the default routing table.
DefaultSecurityGroup string
(String) The unique identifier of the VPC default security group.
DefaultSecurityGroupCrn string
(String) The CRN of the default security group.
DefaultSecurityGroupName string
(String) The name of the default security group.
Dns []GetIsVpcDn
(List) The DNS configuration for this VPC.
HealthReasons []GetIsVpcHealthReason
(List) The reasons for the current health_state (if any).The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered. Nested schema for health_reasons:
HealthState string
(String) The health of this resource.- ok: No abnormal behavior detected- degraded: Experiencing compromised performance, capacity, or connectivity- faulted: Completely unreachable, inoperative, or otherwise entirely incapacitated- inapplicable: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of failed or deleting will have a health state of inapplicable. A pending resource may also have this state.[degraded, faulted, inapplicable, ok]
Id string
(String) The ID of the subnet.
ResourceControllerUrl string
ResourceCrn string
ResourceGroup string
(String) The resource group ID where the VPC created.
ResourceGroupName string
ResourceName string
ResourceStatus string
SecurityGroups []GetIsVpcSecurityGroup
(String) A list of security groups attached to VPC. The nested security group block has the following structure:
Status string
(String) The status of the subnet.
Subnets []GetIsVpcSubnet
(List) A list of subnets that are attached to a VPC.
Tags []string
(String) Tags associated with the instance.
Identifier string
Name string
(String) The name of the subnet.

accessTags List<String>
(List) Access management tags associated for the volume.
classicAccess Boolean
(Bool) Indicates whether this VPC is connected to Classic Infrastructure.

Deprecated: Deprecated

crn String
(String) The CRN of the VPC.
cseSourceAddresses List<GetIsVpcCseSourceAddress>
List of Cloud Service Endpoints-A list of the cloud service endpoints that are associated with your VPC, including their source IP address and zone.
defaultAddressPrefixes Map<String,String>
(Map) A map of default address prefixes for each zone in the VPC. The keys are the zone names, and the values are the corresponding address prefixes. Example:

import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => { });

package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
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) {
    }
}
{}
title=""> <span id="defaultnetworkacl_java">

defaultNetworkAcl String

(String) The ID of the default network ACL.
defaultNetworkAclCrn String
(String) The CRN of the default network ACL.
defaultNetworkAclName String
(String) The name of the default network ACL.
defaultRoutingTable String
(String) The unique identifier of the VPC default routing table.
defaultRoutingTableName String
(String) The name of the default routing table.
defaultSecurityGroup String
(String) The unique identifier of the VPC default security group.
defaultSecurityGroupCrn String
(String) The CRN of the default security group.
defaultSecurityGroupName String
(String) The name of the default security group.
dns List<GetIsVpcDn>
(List) The DNS configuration for this VPC.
healthReasons List<GetIsVpcHealthReason>
(List) The reasons for the current health_state (if any).The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered. Nested schema for health_reasons:
healthState String
(String) The health of this resource.- ok: No abnormal behavior detected- degraded: Experiencing compromised performance, capacity, or connectivity- faulted: Completely unreachable, inoperative, or otherwise entirely incapacitated- inapplicable: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of failed or deleting will have a health state of inapplicable. A pending resource may also have this state.[degraded, faulted, inapplicable, ok]
id String
(String) The ID of the subnet.
resourceControllerUrl String
resourceCrn String
resourceGroup String
(String) The resource group ID where the VPC created.
resourceGroupName String
resourceName String
resourceStatus String
securityGroups List<GetIsVpcSecurityGroup>
(String) A list of security groups attached to VPC. The nested security group block has the following structure:
status String
(String) The status of the subnet.
subnets List<GetIsVpcSubnet>
(List) A list of subnets that are attached to a VPC.
tags List<String>
(String) Tags associated with the instance.
identifier String
name String
(String) The name of the subnet.

accessTags string[]
(List) Access management tags associated for the volume.
classicAccess boolean
(Bool) Indicates whether this VPC is connected to Classic Infrastructure.

Deprecated: Deprecated

crn string
(String) The CRN of the VPC.
cseSourceAddresses GetIsVpcCseSourceAddress[]
List of Cloud Service Endpoints-A list of the cloud service endpoints that are associated with your VPC, including their source IP address and zone.
defaultAddressPrefixes {[key: string]: string}
(Map) A map of default address prefixes for each zone in the VPC. The keys are the zone names, and the values are the corresponding address prefixes. Example:

import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => { });

package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
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) {
    }
}
{}
title=""> <span id="defaultnetworkacl_nodejs">

defaultNetworkAcl string

(String) The ID of the default network ACL.
defaultNetworkAclCrn string
(String) The CRN of the default network ACL.
defaultNetworkAclName string
(String) The name of the default network ACL.
defaultRoutingTable string
(String) The unique identifier of the VPC default routing table.
defaultRoutingTableName string
(String) The name of the default routing table.
defaultSecurityGroup string
(String) The unique identifier of the VPC default security group.
defaultSecurityGroupCrn string
(String) The CRN of the default security group.
defaultSecurityGroupName string
(String) The name of the default security group.
dns GetIsVpcDn[]
(List) The DNS configuration for this VPC.
healthReasons GetIsVpcHealthReason[]
(List) The reasons for the current health_state (if any).The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered. Nested schema for health_reasons:
healthState string
(String) The health of this resource.- ok: No abnormal behavior detected- degraded: Experiencing compromised performance, capacity, or connectivity- faulted: Completely unreachable, inoperative, or otherwise entirely incapacitated- inapplicable: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of failed or deleting will have a health state of inapplicable. A pending resource may also have this state.[degraded, faulted, inapplicable, ok]
id string
(String) The ID of the subnet.
resourceControllerUrl string
resourceCrn string
resourceGroup string
(String) The resource group ID where the VPC created.
resourceGroupName string
resourceName string
resourceStatus string
securityGroups GetIsVpcSecurityGroup[]
(String) A list of security groups attached to VPC. The nested security group block has the following structure:
status string
(String) The status of the subnet.
subnets GetIsVpcSubnet[]
(List) A list of subnets that are attached to a VPC.
tags string[]
(String) Tags associated with the instance.
identifier string
name string
(String) The name of the subnet.

access_tags Sequence[str]
(List) Access management tags associated for the volume.
classic_access bool
(Bool) Indicates whether this VPC is connected to Classic Infrastructure.

Deprecated: Deprecated

crn str
(String) The CRN of the VPC.
cse_source_addresses Sequence[GetIsVpcCseSourceAddress]
List of Cloud Service Endpoints-A list of the cloud service endpoints that are associated with your VPC, including their source IP address and zone.
default_address_prefixes Mapping[str, str]
(Map) A map of default address prefixes for each zone in the VPC. The keys are the zone names, and the values are the corresponding address prefixes. Example:

import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => { });

package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
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) {
    }
}
{}
title=""> <span id="default_network_acl_python">

default_network_acl str

(String) The ID of the default network ACL.
default_network_acl_crn str
(String) The CRN of the default network ACL.
default_network_acl_name str
(String) The name of the default network ACL.
default_routing_table str
(String) The unique identifier of the VPC default routing table.
default_routing_table_name str
(String) The name of the default routing table.
default_security_group str
(String) The unique identifier of the VPC default security group.
default_security_group_crn str
(String) The CRN of the default security group.
default_security_group_name str
(String) The name of the default security group.
dns Sequence[GetIsVpcDn]
(List) The DNS configuration for this VPC.
health_reasons Sequence[GetIsVpcHealthReason]
(List) The reasons for the current health_state (if any).The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered. Nested schema for health_reasons:
health_state str
(String) The health of this resource.- ok: No abnormal behavior detected- degraded: Experiencing compromised performance, capacity, or connectivity- faulted: Completely unreachable, inoperative, or otherwise entirely incapacitated- inapplicable: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of failed or deleting will have a health state of inapplicable. A pending resource may also have this state.[degraded, faulted, inapplicable, ok]
id str
(String) The ID of the subnet.
resource_controller_url str
resource_crn str
resource_group str
(String) The resource group ID where the VPC created.
resource_group_name str
resource_name str
resource_status str
security_groups Sequence[GetIsVpcSecurityGroup]
(String) A list of security groups attached to VPC. The nested security group block has the following structure:
status str
(String) The status of the subnet.
subnets Sequence[GetIsVpcSubnet]
(List) A list of subnets that are attached to a VPC.
tags Sequence[str]
(String) Tags associated with the instance.
identifier str
name str
(String) The name of the subnet.

accessTags List<String>
(List) Access management tags associated for the volume.
classicAccess Boolean
(Bool) Indicates whether this VPC is connected to Classic Infrastructure.

Deprecated: Deprecated

crn String
(String) The CRN of the VPC.
cseSourceAddresses List<Property Map>
List of Cloud Service Endpoints-A list of the cloud service endpoints that are associated with your VPC, including their source IP address and zone.
defaultAddressPrefixes Map<String>
(Map) A map of default address prefixes for each zone in the VPC. The keys are the zone names, and the values are the corresponding address prefixes. Example:

import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => { });

package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
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) {
    }
}
{}
title=""> <span id="defaultnetworkacl_yaml">

defaultNetworkAcl String

(String) The ID of the default network ACL.
defaultNetworkAclCrn String
(String) The CRN of the default network ACL.
defaultNetworkAclName String
(String) The name of the default network ACL.
defaultRoutingTable String
(String) The unique identifier of the VPC default routing table.
defaultRoutingTableName String
(String) The name of the default routing table.
defaultSecurityGroup String
(String) The unique identifier of the VPC default security group.
defaultSecurityGroupCrn String
(String) The CRN of the default security group.
defaultSecurityGroupName String
(String) The name of the default security group.
dns List<Property Map>
(List) The DNS configuration for this VPC.
healthReasons List<Property Map>
(List) The reasons for the current health_state (if any).The enumerated reason code values for this property will expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the resource on which the unexpected reason code was encountered. Nested schema for health_reasons:
healthState String
(String) The health of this resource.- ok: No abnormal behavior detected- degraded: Experiencing compromised performance, capacity, or connectivity- faulted: Completely unreachable, inoperative, or otherwise entirely incapacitated- inapplicable: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of failed or deleting will have a health state of inapplicable. A pending resource may also have this state.[degraded, faulted, inapplicable, ok]
id String
(String) The ID of the subnet.
resourceControllerUrl String
resourceCrn String
resourceGroup String
(String) The resource group ID where the VPC created.
resourceGroupName String
resourceName String
resourceStatus String
securityGroups List<Property Map>
(String) A list of security groups attached to VPC. The nested security group block has the following structure:
status String
(String) The status of the subnet.
subnets List<Property Map>
(List) A list of subnets that are attached to a VPC.
tags List<String>
(String) Tags associated with the instance.
identifier String
name String
(String) The name of the subnet.

Supporting Types

GetIsVpcCseSourceAddress

Address This property is required. string
(String) The IP address of the cloud service endpoint.
ZoneName This property is required. string
(String) The zone where the cloud service endpoint is located.
Address This property is required. string
(String) The IP address of the cloud service endpoint.
ZoneName This property is required. string
(String) The zone where the cloud service endpoint is located.
address This property is required. String
(String) The IP address of the cloud service endpoint.
zoneName This property is required. String
(String) The zone where the cloud service endpoint is located.
address This property is required. string
(String) The IP address of the cloud service endpoint.
zoneName This property is required. string
(String) The zone where the cloud service endpoint is located.
address This property is required. str
(String) The IP address of the cloud service endpoint.
zone_name This property is required. str
(String) The zone where the cloud service endpoint is located.
address This property is required. String
(String) The IP address of the cloud service endpoint.
zoneName This property is required. String
(String) The zone where the cloud service endpoint is located.

GetIsVpcDn

EnableHub This property is required. bool
(Boolean) Indicates whether this VPC is enabled as a DNS name resolution hub.
ResolutionBindingCount This property is required. double
Resolvers This property is required. List<GetIsVpcDnResolver>
(List) The zone list this backup policy plan will create snapshot clones in.
EnableHub This property is required. bool
(Boolean) Indicates whether this VPC is enabled as a DNS name resolution hub.
ResolutionBindingCount This property is required. float64
Resolvers This property is required. []GetIsVpcDnResolver
(List) The zone list this backup policy plan will create snapshot clones in.
enableHub This property is required. Boolean
(Boolean) Indicates whether this VPC is enabled as a DNS name resolution hub.
resolutionBindingCount This property is required. Double
resolvers This property is required. List<GetIsVpcDnResolver>
(List) The zone list this backup policy plan will create snapshot clones in.
enableHub This property is required. boolean
(Boolean) Indicates whether this VPC is enabled as a DNS name resolution hub.
resolutionBindingCount This property is required. number
resolvers This property is required. GetIsVpcDnResolver[]
(List) The zone list this backup policy plan will create snapshot clones in.
enable_hub This property is required. bool
(Boolean) Indicates whether this VPC is enabled as a DNS name resolution hub.
resolution_binding_count This property is required. float
resolvers This property is required. Sequence[GetIsVpcDnResolver]
(List) The zone list this backup policy plan will create snapshot clones in.
enableHub This property is required. Boolean
(Boolean) Indicates whether this VPC is enabled as a DNS name resolution hub.
resolutionBindingCount This property is required. Number
resolvers This property is required. List<Property Map>
(List) The zone list this backup policy plan will create snapshot clones in.

GetIsVpcDnResolver

Configuration This property is required. string
ManualServers This property is required. List<GetIsVpcDnResolverManualServer>
(Integer) The DNS servers to use for this VPC, replacing any existing servers. All the DNS servers must either: have a unique zone_affinity, or not have a zone_affinity.
Servers This property is required. List<GetIsVpcDnResolverServer>
Type This property is required. string
(String) The ICMP traffic type to allow.
Vpcs This property is required. List<GetIsVpcDnResolverVpc>
(String) The VPC to provide DNS server addresses for this VPC. The specified VPC must be configured with a DNS Services custom resolver and must be in one of this VPC's DNS resolution bindings.
Configuration This property is required. string
ManualServers This property is required. []GetIsVpcDnResolverManualServer
(Integer) The DNS servers to use for this VPC, replacing any existing servers. All the DNS servers must either: have a unique zone_affinity, or not have a zone_affinity.
Servers This property is required. []GetIsVpcDnResolverServer
Type This property is required. string
(String) The ICMP traffic type to allow.
Vpcs This property is required. []GetIsVpcDnResolverVpc
(String) The VPC to provide DNS server addresses for this VPC. The specified VPC must be configured with a DNS Services custom resolver and must be in one of this VPC's DNS resolution bindings.
configuration This property is required. String
manualServers This property is required. List<GetIsVpcDnResolverManualServer>
(Integer) The DNS servers to use for this VPC, replacing any existing servers. All the DNS servers must either: have a unique zone_affinity, or not have a zone_affinity.
servers This property is required. List<GetIsVpcDnResolverServer>
type This property is required. String
(String) The ICMP traffic type to allow.
vpcs This property is required. List<GetIsVpcDnResolverVpc>
(String) The VPC to provide DNS server addresses for this VPC. The specified VPC must be configured with a DNS Services custom resolver and must be in one of this VPC's DNS resolution bindings.
configuration This property is required. string
manualServers This property is required. GetIsVpcDnResolverManualServer[]
(Integer) The DNS servers to use for this VPC, replacing any existing servers. All the DNS servers must either: have a unique zone_affinity, or not have a zone_affinity.
servers This property is required. GetIsVpcDnResolverServer[]
type This property is required. string
(String) The ICMP traffic type to allow.
vpcs This property is required. GetIsVpcDnResolverVpc[]
(String) The VPC to provide DNS server addresses for this VPC. The specified VPC must be configured with a DNS Services custom resolver and must be in one of this VPC's DNS resolution bindings.
configuration This property is required. str
manual_servers This property is required. Sequence[GetIsVpcDnResolverManualServer]
(Integer) The DNS servers to use for this VPC, replacing any existing servers. All the DNS servers must either: have a unique zone_affinity, or not have a zone_affinity.
servers This property is required. Sequence[GetIsVpcDnResolverServer]
type This property is required. str
(String) The ICMP traffic type to allow.
vpcs This property is required. Sequence[GetIsVpcDnResolverVpc]
(String) The VPC to provide DNS server addresses for this VPC. The specified VPC must be configured with a DNS Services custom resolver and must be in one of this VPC's DNS resolution bindings.
configuration This property is required. String
manualServers This property is required. List<Property Map>
(Integer) The DNS servers to use for this VPC, replacing any existing servers. All the DNS servers must either: have a unique zone_affinity, or not have a zone_affinity.
servers This property is required. List<Property Map>
type This property is required. String
(String) The ICMP traffic type to allow.
vpcs This property is required. List<Property Map>
(String) The VPC to provide DNS server addresses for this VPC. The specified VPC must be configured with a DNS Services custom resolver and must be in one of this VPC's DNS resolution bindings.

GetIsVpcDnResolverManualServer

Address This property is required. string
(String) The IP address of the cloud service endpoint.
ZoneAffinity This property is required. string
Address This property is required. string
(String) The IP address of the cloud service endpoint.
ZoneAffinity This property is required. string
address This property is required. String
(String) The IP address of the cloud service endpoint.
zoneAffinity This property is required. String
address This property is required. string
(String) The IP address of the cloud service endpoint.
zoneAffinity This property is required. string
address This property is required. str
(String) The IP address of the cloud service endpoint.
zone_affinity This property is required. str
address This property is required. String
(String) The IP address of the cloud service endpoint.
zoneAffinity This property is required. String

GetIsVpcDnResolverServer

Address This property is required. string
(String) The IP address of the cloud service endpoint.
ZoneAffinity This property is required. string
Address This property is required. string
(String) The IP address of the cloud service endpoint.
ZoneAffinity This property is required. string
address This property is required. String
(String) The IP address of the cloud service endpoint.
zoneAffinity This property is required. String
address This property is required. string
(String) The IP address of the cloud service endpoint.
zoneAffinity This property is required. string
address This property is required. str
(String) The IP address of the cloud service endpoint.
zone_affinity This property is required. str
address This property is required. String
(String) The IP address of the cloud service endpoint.
zoneAffinity This property is required. String

GetIsVpcDnResolverVpc

Crn This property is required. string
(String) The CRN of the VPC.
Deleteds This property is required. List<GetIsVpcDnResolverVpcDeleted>
Href This property is required. string
Id This property is required. string
(String) The ID of the subnet.
Name This property is required. string
The name of the VPC.
Remotes This property is required. List<GetIsVpcDnResolverVpcRemote>
(String) The security group ID, an IP address, a CIDR block, or a single security group identifier.
ResourceType This property is required. string
Crn This property is required. string
(String) The CRN of the VPC.
Deleteds This property is required. []GetIsVpcDnResolverVpcDeleted
Href This property is required. string
Id This property is required. string
(String) The ID of the subnet.
Name This property is required. string
The name of the VPC.
Remotes This property is required. []GetIsVpcDnResolverVpcRemote
(String) The security group ID, an IP address, a CIDR block, or a single security group identifier.
ResourceType This property is required. string
crn This property is required. String
(String) The CRN of the VPC.
deleteds This property is required. List<GetIsVpcDnResolverVpcDeleted>
href This property is required. String
id This property is required. String
(String) The ID of the subnet.
name This property is required. String
The name of the VPC.
remotes This property is required. List<GetIsVpcDnResolverVpcRemote>
(String) The security group ID, an IP address, a CIDR block, or a single security group identifier.
resourceType This property is required. String
crn This property is required. string
(String) The CRN of the VPC.
deleteds This property is required. GetIsVpcDnResolverVpcDeleted[]
href This property is required. string
id This property is required. string
(String) The ID of the subnet.
name This property is required. string
The name of the VPC.
remotes This property is required. GetIsVpcDnResolverVpcRemote[]
(String) The security group ID, an IP address, a CIDR block, or a single security group identifier.
resourceType This property is required. string
crn This property is required. str
(String) The CRN of the VPC.
deleteds This property is required. Sequence[GetIsVpcDnResolverVpcDeleted]
href This property is required. str
id This property is required. str
(String) The ID of the subnet.
name This property is required. str
The name of the VPC.
remotes This property is required. Sequence[GetIsVpcDnResolverVpcRemote]
(String) The security group ID, an IP address, a CIDR block, or a single security group identifier.
resource_type This property is required. str
crn This property is required. String
(String) The CRN of the VPC.
deleteds This property is required. List<Property Map>
href This property is required. String
id This property is required. String
(String) The ID of the subnet.
name This property is required. String
The name of the VPC.
remotes This property is required. List<Property Map>
(String) The security group ID, an IP address, a CIDR block, or a single security group identifier.
resourceType This property is required. String

GetIsVpcDnResolverVpcDeleted

MoreInfo This property is required. string
(String) Link to documentation about the reason for this health state.
MoreInfo This property is required. string
(String) Link to documentation about the reason for this health state.
moreInfo This property is required. String
(String) Link to documentation about the reason for this health state.
moreInfo This property is required. string
(String) Link to documentation about the reason for this health state.
more_info This property is required. str
(String) Link to documentation about the reason for this health state.
moreInfo This property is required. String
(String) Link to documentation about the reason for this health state.

GetIsVpcDnResolverVpcRemote

Accounts This property is required. List<GetIsVpcDnResolverVpcRemoteAccount>
Region This property is required. string
Accounts This property is required. []GetIsVpcDnResolverVpcRemoteAccount
Region This property is required. string
accounts This property is required. List<GetIsVpcDnResolverVpcRemoteAccount>
region This property is required. String
accounts This property is required. GetIsVpcDnResolverVpcRemoteAccount[]
region This property is required. string
accounts This property is required. Sequence[GetIsVpcDnResolverVpcRemoteAccount]
region This property is required. str
accounts This property is required. List<Property Map>
region This property is required. String

GetIsVpcDnResolverVpcRemoteAccount

Id This property is required. string
(String) The ID of the subnet.
ResourceType This property is required. string
Id This property is required. string
(String) The ID of the subnet.
ResourceType This property is required. string
id This property is required. String
(String) The ID of the subnet.
resourceType This property is required. String
id This property is required. string
(String) The ID of the subnet.
resourceType This property is required. string
id This property is required. str
(String) The ID of the subnet.
resource_type This property is required. str
id This property is required. String
(String) The ID of the subnet.
resourceType This property is required. String

GetIsVpcHealthReason

Code This property is required. string
(String) The ICMP traffic code to allow.
Message This property is required. string
(String) An explanation of the reason for this health state.
MoreInfo This property is required. string
(String) Link to documentation about the reason for this health state.
Code This property is required. string
(String) The ICMP traffic code to allow.
Message This property is required. string
(String) An explanation of the reason for this health state.
MoreInfo This property is required. string
(String) Link to documentation about the reason for this health state.
code This property is required. String
(String) The ICMP traffic code to allow.
message This property is required. String
(String) An explanation of the reason for this health state.
moreInfo This property is required. String
(String) Link to documentation about the reason for this health state.
code This property is required. string
(String) The ICMP traffic code to allow.
message This property is required. string
(String) An explanation of the reason for this health state.
moreInfo This property is required. string
(String) Link to documentation about the reason for this health state.
code This property is required. str
(String) The ICMP traffic code to allow.
message This property is required. str
(String) An explanation of the reason for this health state.
more_info This property is required. str
(String) Link to documentation about the reason for this health state.
code This property is required. String
(String) The ICMP traffic code to allow.
message This property is required. String
(String) An explanation of the reason for this health state.
moreInfo This property is required. String
(String) Link to documentation about the reason for this health state.

GetIsVpcSecurityGroup

GroupId This property is required. string
(String) Security group ID.
GroupName This property is required. string
(String) Name of the security group.
Rules This property is required. List<GetIsVpcSecurityGroupRule>
(String) Set of rules attached to a security group.
GroupId This property is required. string
(String) Security group ID.
GroupName This property is required. string
(String) Name of the security group.
Rules This property is required. []GetIsVpcSecurityGroupRule
(String) Set of rules attached to a security group.
groupId This property is required. String
(String) Security group ID.
groupName This property is required. String
(String) Name of the security group.
rules This property is required. List<GetIsVpcSecurityGroupRule>
(String) Set of rules attached to a security group.
groupId This property is required. string
(String) Security group ID.
groupName This property is required. string
(String) Name of the security group.
rules This property is required. GetIsVpcSecurityGroupRule[]
(String) Set of rules attached to a security group.
group_id This property is required. str
(String) Security group ID.
group_name This property is required. str
(String) Name of the security group.
rules This property is required. Sequence[GetIsVpcSecurityGroupRule]
(String) Set of rules attached to a security group.
groupId This property is required. String
(String) Security group ID.
groupName This property is required. String
(String) Name of the security group.
rules This property is required. List<Property Map>
(String) Set of rules attached to a security group.

GetIsVpcSecurityGroupRule

Code This property is required. double
(String) The ICMP traffic code to allow.
Direction This property is required. string
(String) Direction of the traffic either inbound or outbound.
IpVersion This property is required. string
(String) The IP version ipv4
PortMax This property is required. double
(String) The inclusive upper bound of TCP port range.
PortMin This property is required. double
(String) The inclusive lower bound of TCP port range.
Protocol This property is required. string
Remote This property is required. string
(String) The security group ID, an IP address, a CIDR block, or a single security group identifier.
RuleId This property is required. string
(String) ID of the rule.
Type This property is required. double
(String) The ICMP traffic type to allow.
Code This property is required. float64
(String) The ICMP traffic code to allow.
Direction This property is required. string
(String) Direction of the traffic either inbound or outbound.
IpVersion This property is required. string
(String) The IP version ipv4
PortMax This property is required. float64
(String) The inclusive upper bound of TCP port range.
PortMin This property is required. float64
(String) The inclusive lower bound of TCP port range.
Protocol This property is required. string
Remote This property is required. string
(String) The security group ID, an IP address, a CIDR block, or a single security group identifier.
RuleId This property is required. string
(String) ID of the rule.
Type This property is required. float64
(String) The ICMP traffic type to allow.
code This property is required. Double
(String) The ICMP traffic code to allow.
direction This property is required. String
(String) Direction of the traffic either inbound or outbound.
ipVersion This property is required. String
(String) The IP version ipv4
portMax This property is required. Double
(String) The inclusive upper bound of TCP port range.
portMin This property is required. Double
(String) The inclusive lower bound of TCP port range.
protocol This property is required. String
remote This property is required. String
(String) The security group ID, an IP address, a CIDR block, or a single security group identifier.
ruleId This property is required. String
(String) ID of the rule.
type This property is required. Double
(String) The ICMP traffic type to allow.
code This property is required. number
(String) The ICMP traffic code to allow.
direction This property is required. string
(String) Direction of the traffic either inbound or outbound.
ipVersion This property is required. string
(String) The IP version ipv4
portMax This property is required. number
(String) The inclusive upper bound of TCP port range.
portMin This property is required. number
(String) The inclusive lower bound of TCP port range.
protocol This property is required. string
remote This property is required. string
(String) The security group ID, an IP address, a CIDR block, or a single security group identifier.
ruleId This property is required. string
(String) ID of the rule.
type This property is required. number
(String) The ICMP traffic type to allow.
code This property is required. float
(String) The ICMP traffic code to allow.
direction This property is required. str
(String) Direction of the traffic either inbound or outbound.
ip_version This property is required. str
(String) The IP version ipv4
port_max This property is required. float
(String) The inclusive upper bound of TCP port range.
port_min This property is required. float
(String) The inclusive lower bound of TCP port range.
protocol This property is required. str
remote This property is required. str
(String) The security group ID, an IP address, a CIDR block, or a single security group identifier.
rule_id This property is required. str
(String) ID of the rule.
type This property is required. float
(String) The ICMP traffic type to allow.
code This property is required. Number
(String) The ICMP traffic code to allow.
direction This property is required. String
(String) Direction of the traffic either inbound or outbound.
ipVersion This property is required. String
(String) The IP version ipv4
portMax This property is required. Number
(String) The inclusive upper bound of TCP port range.
portMin This property is required. Number
(String) The inclusive lower bound of TCP port range.
protocol This property is required. String
remote This property is required. String
(String) The security group ID, an IP address, a CIDR block, or a single security group identifier.
ruleId This property is required. String
(String) ID of the rule.
type This property is required. Number
(String) The ICMP traffic type to allow.

GetIsVpcSubnet

AvailableIpv4AddressCount This property is required. double
(Integer) The number of IPv4 addresses in the subnet that are available for you to be used.
Id This property is required. string
(String) The ID of the subnet.
Name This property is required. string
The name of the VPC.
Status This property is required. string
(String) The status of the subnet.
TotalIpv4AddressCount This property is required. double
(Integer) The total number of IPv4 addresses in the subnet.
Zone This property is required. string
(String) The zone that the subnet belongs to.
AvailableIpv4AddressCount This property is required. float64
(Integer) The number of IPv4 addresses in the subnet that are available for you to be used.
Id This property is required. string
(String) The ID of the subnet.
Name This property is required. string
The name of the VPC.
Status This property is required. string
(String) The status of the subnet.
TotalIpv4AddressCount This property is required. float64
(Integer) The total number of IPv4 addresses in the subnet.
Zone This property is required. string
(String) The zone that the subnet belongs to.
availableIpv4AddressCount This property is required. Double
(Integer) The number of IPv4 addresses in the subnet that are available for you to be used.
id This property is required. String
(String) The ID of the subnet.
name This property is required. String
The name of the VPC.
status This property is required. String
(String) The status of the subnet.
totalIpv4AddressCount This property is required. Double
(Integer) The total number of IPv4 addresses in the subnet.
zone This property is required. String
(String) The zone that the subnet belongs to.
availableIpv4AddressCount This property is required. number
(Integer) The number of IPv4 addresses in the subnet that are available for you to be used.
id This property is required. string
(String) The ID of the subnet.
name This property is required. string
The name of the VPC.
status This property is required. string
(String) The status of the subnet.
totalIpv4AddressCount This property is required. number
(Integer) The total number of IPv4 addresses in the subnet.
zone This property is required. string
(String) The zone that the subnet belongs to.
available_ipv4_address_count This property is required. float
(Integer) The number of IPv4 addresses in the subnet that are available for you to be used.
id This property is required. str
(String) The ID of the subnet.
name This property is required. str
The name of the VPC.
status This property is required. str
(String) The status of the subnet.
total_ipv4_address_count This property is required. float
(Integer) The total number of IPv4 addresses in the subnet.
zone This property is required. str
(String) The zone that the subnet belongs to.
availableIpv4AddressCount This property is required. Number
(Integer) The number of IPv4 addresses in the subnet that are available for you to be used.
id This property is required. String
(String) The ID of the subnet.
name This property is required. String
The name of the VPC.
status This property is required. String
(String) The status of the subnet.
totalIpv4AddressCount This property is required. Number
(Integer) The total number of IPv4 addresses in the subnet.
zone This property is required. String
(String) The zone that the subnet belongs to.

Package Details

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