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

ibm.getIsSecurityGroups

Explore with Pulumi AI

Provides a read-only data source for SecurityGroupCollection. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax. For more information, about security group, see API Docs(https://cloud.ibm.com/docs/vpc?topic=vpc-using-security-groups).

Example Usage

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

const example = ibm.getIsSecurityGroups({});
Copy
import pulumi
import pulumi_ibm as ibm

example = ibm.get_is_security_groups()
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.GetIsSecurityGroups(ctx, &ibm.GetIsSecurityGroupsArgs{}, 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.GetIsSecurityGroups.Invoke();

});
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.GetIsSecurityGroupsArgs;
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.getIsSecurityGroups();

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ibm:getIsSecurityGroups
      arguments: {}
Copy

OR with Filters:

Filter with VPC name

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

const example = ibm.getIsSecurityGroups({
    vpcName: ibm_is_vpc.example.name,
});
Copy
import pulumi
import pulumi_ibm as ibm

example = ibm.get_is_security_groups(vpc_name=ibm_is_vpc["example"]["name"])
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.GetIsSecurityGroups(ctx, &ibm.GetIsSecurityGroupsArgs{
			VpcName: pulumi.StringRef(ibm_is_vpc.Example.Name),
		}, 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.GetIsSecurityGroups.Invoke(new()
    {
        VpcName = ibm_is_vpc.Example.Name,
    });

});
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.GetIsSecurityGroupsArgs;
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.getIsSecurityGroups(GetIsSecurityGroupsArgs.builder()
            .vpcName(ibm_is_vpc.example().name())
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ibm:getIsSecurityGroups
      arguments:
        vpcName: ${ibm_is_vpc.example.name}
Copy

Filter with VPC ID

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

const example = ibm.getIsSecurityGroups({
    vpcId: ibm_is_vpc.example.id,
});
Copy
import pulumi
import pulumi_ibm as ibm

example = ibm.get_is_security_groups(vpc_id=ibm_is_vpc["example"]["id"])
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.GetIsSecurityGroups(ctx, &ibm.GetIsSecurityGroupsArgs{
			VpcId: pulumi.StringRef(ibm_is_vpc.Example.Id),
		}, 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.GetIsSecurityGroups.Invoke(new()
    {
        VpcId = ibm_is_vpc.Example.Id,
    });

});
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.GetIsSecurityGroupsArgs;
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.getIsSecurityGroups(GetIsSecurityGroupsArgs.builder()
            .vpcId(ibm_is_vpc.example().id())
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ibm:getIsSecurityGroups
      arguments:
        vpcId: ${ibm_is_vpc.example.id}
Copy

Filter with VPC CRN

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

const example = ibm.getIsSecurityGroups({
    vpcCrn: ibm_is_vpc.example.crn,
});
Copy
import pulumi
import pulumi_ibm as ibm

example = ibm.get_is_security_groups(vpc_crn=ibm_is_vpc["example"]["crn"])
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.GetIsSecurityGroups(ctx, &ibm.GetIsSecurityGroupsArgs{
			VpcCrn: pulumi.StringRef(ibm_is_vpc.Example.Crn),
		}, 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.GetIsSecurityGroups.Invoke(new()
    {
        VpcCrn = ibm_is_vpc.Example.Crn,
    });

});
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.GetIsSecurityGroupsArgs;
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.getIsSecurityGroups(GetIsSecurityGroupsArgs.builder()
            .vpcCrn(ibm_is_vpc.example().crn())
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ibm:getIsSecurityGroups
      arguments:
        vpcCrn: ${ibm_is_vpc.example.crn}
Copy

Filter with Resource Group ID

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

const example = ibm.getIsSecurityGroups({
    resourceGroup: data.ibm_resource_group["default"].id,
});
Copy
import pulumi
import pulumi_ibm as ibm

example = ibm.get_is_security_groups(resource_group=data["ibm_resource_group"]["default"]["id"])
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.GetIsSecurityGroups(ctx, &ibm.GetIsSecurityGroupsArgs{
			ResourceGroup: pulumi.StringRef(data.Ibm_resource_group.Default.Id),
		}, 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.GetIsSecurityGroups.Invoke(new()
    {
        ResourceGroup = data.Ibm_resource_group.Default.Id,
    });

});
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.GetIsSecurityGroupsArgs;
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.getIsSecurityGroups(GetIsSecurityGroupsArgs.builder()
            .resourceGroup(data.ibm_resource_group().default().id())
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ibm:getIsSecurityGroups
      arguments:
        resourceGroup: ${data.ibm_resource_group.default.id}
Copy

Using getIsSecurityGroups

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 getIsSecurityGroups(args: GetIsSecurityGroupsArgs, opts?: InvokeOptions): Promise<GetIsSecurityGroupsResult>
function getIsSecurityGroupsOutput(args: GetIsSecurityGroupsOutputArgs, opts?: InvokeOptions): Output<GetIsSecurityGroupsResult>
Copy
def get_is_security_groups(id: Optional[str] = None,
                           resource_group: Optional[str] = None,
                           vpc_crn: Optional[str] = None,
                           vpc_id: Optional[str] = None,
                           vpc_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetIsSecurityGroupsResult
def get_is_security_groups_output(id: Optional[pulumi.Input[str]] = None,
                           resource_group: Optional[pulumi.Input[str]] = None,
                           vpc_crn: Optional[pulumi.Input[str]] = None,
                           vpc_id: Optional[pulumi.Input[str]] = None,
                           vpc_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetIsSecurityGroupsResult]
Copy
func GetIsSecurityGroups(ctx *Context, args *GetIsSecurityGroupsArgs, opts ...InvokeOption) (*GetIsSecurityGroupsResult, error)
func GetIsSecurityGroupsOutput(ctx *Context, args *GetIsSecurityGroupsOutputArgs, opts ...InvokeOption) GetIsSecurityGroupsResultOutput
Copy

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

public static class GetIsSecurityGroups 
{
    public static Task<GetIsSecurityGroupsResult> InvokeAsync(GetIsSecurityGroupsArgs args, InvokeOptions? opts = null)
    public static Output<GetIsSecurityGroupsResult> Invoke(GetIsSecurityGroupsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetIsSecurityGroupsResult> getIsSecurityGroups(GetIsSecurityGroupsArgs args, InvokeOptions options)
public static Output<GetIsSecurityGroupsResult> getIsSecurityGroups(GetIsSecurityGroupsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getIsSecurityGroups:getIsSecurityGroups
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
(String) The unique identifier for this VPC.
ResourceGroup string
(List) The resource group object, for this security group.
VpcCrn string
Filters the collection to resources in the VPC with the specified CRN
VpcId string
Filters the collection to resources in the VPC with the specified identifier
VpcName string
Filters the collection to resources in the VPC with the exact specified name
Id string
(String) The unique identifier for this VPC.
ResourceGroup string
(List) The resource group object, for this security group.
VpcCrn string
Filters the collection to resources in the VPC with the specified CRN
VpcId string
Filters the collection to resources in the VPC with the specified identifier
VpcName string
Filters the collection to resources in the VPC with the exact specified name
id String
(String) The unique identifier for this VPC.
resourceGroup String
(List) The resource group object, for this security group.
vpcCrn String
Filters the collection to resources in the VPC with the specified CRN
vpcId String
Filters the collection to resources in the VPC with the specified identifier
vpcName String
Filters the collection to resources in the VPC with the exact specified name
id string
(String) The unique identifier for this VPC.
resourceGroup string
(List) The resource group object, for this security group.
vpcCrn string
Filters the collection to resources in the VPC with the specified CRN
vpcId string
Filters the collection to resources in the VPC with the specified identifier
vpcName string
Filters the collection to resources in the VPC with the exact specified name
id str
(String) The unique identifier for this VPC.
resource_group str
(List) The resource group object, for this security group.
vpc_crn str
Filters the collection to resources in the VPC with the specified CRN
vpc_id str
Filters the collection to resources in the VPC with the specified identifier
vpc_name str
Filters the collection to resources in the VPC with the exact specified name
id String
(String) The unique identifier for this VPC.
resourceGroup String
(List) The resource group object, for this security group.
vpcCrn String
Filters the collection to resources in the VPC with the specified CRN
vpcId String
Filters the collection to resources in the VPC with the specified identifier
vpcName String
Filters the collection to resources in the VPC with the exact specified name

getIsSecurityGroups Result

The following output properties are available:

Id string
(String) The unique identifier for this VPC.
SecurityGroups List<GetIsSecurityGroupsSecurityGroup>
(List) Collection of security groups.
ResourceGroup string
(List) The resource group object, for this security group.
VpcCrn string
Filters the collection to resources in the VPC with the specified CRN
VpcId string
Filters the collection to resources in the VPC with the specified identifier
VpcName string
Filters the collection to resources in the VPC with the exact specified name
Id string
(String) The unique identifier for this VPC.
SecurityGroups []GetIsSecurityGroupsSecurityGroup
(List) Collection of security groups.
ResourceGroup string
(List) The resource group object, for this security group.
VpcCrn string
Filters the collection to resources in the VPC with the specified CRN
VpcId string
Filters the collection to resources in the VPC with the specified identifier
VpcName string
Filters the collection to resources in the VPC with the exact specified name
id String
(String) The unique identifier for this VPC.
securityGroups List<GetIsSecurityGroupsSecurityGroup>
(List) Collection of security groups.
resourceGroup String
(List) The resource group object, for this security group.
vpcCrn String
Filters the collection to resources in the VPC with the specified CRN
vpcId String
Filters the collection to resources in the VPC with the specified identifier
vpcName String
Filters the collection to resources in the VPC with the exact specified name
id string
(String) The unique identifier for this VPC.
securityGroups GetIsSecurityGroupsSecurityGroup[]
(List) Collection of security groups.
resourceGroup string
(List) The resource group object, for this security group.
vpcCrn string
Filters the collection to resources in the VPC with the specified CRN
vpcId string
Filters the collection to resources in the VPC with the specified identifier
vpcName string
Filters the collection to resources in the VPC with the exact specified name
id str
(String) The unique identifier for this VPC.
security_groups Sequence[GetIsSecurityGroupsSecurityGroup]
(List) Collection of security groups.
resource_group str
(List) The resource group object, for this security group.
vpc_crn str
Filters the collection to resources in the VPC with the specified CRN
vpc_id str
Filters the collection to resources in the VPC with the specified identifier
vpc_name str
Filters the collection to resources in the VPC with the exact specified name
id String
(String) The unique identifier for this VPC.
securityGroups List<Property Map>
(List) Collection of security groups.
resourceGroup String
(List) The resource group object, for this security group.
vpcCrn String
Filters the collection to resources in the VPC with the specified CRN
vpcId String
Filters the collection to resources in the VPC with the specified identifier
vpcName String
Filters the collection to resources in the VPC with the exact specified name

Supporting Types

GetIsSecurityGroupsSecurityGroup

AccessTags This property is required. List<string>
(List) Access management tags associated for the security group.
CreatedAt This property is required. string
(String) The date and time that this security group was created.
Crn This property is required. string
(String) The CRN for this VPC.
Href This property is required. string
(String) The URL for this VPC.
Id This property is required. string
(String) The unique identifier for this VPC.
Name This property is required. string
(String) The unique user-defined name for this VPC.
ResourceGroups This property is required. List<GetIsSecurityGroupsSecurityGroupResourceGroup>
(List) The resource group object, for this security group.
Rules This property is required. List<GetIsSecurityGroupsSecurityGroupRule>
(List) The rules for this security group. If no rules exist, all traffic will be denied.
Targets This property is required. List<GetIsSecurityGroupsSecurityGroupTarget>
(List) The targets for this security group. Nested scheme for targets:
Vpcs This property is required. List<GetIsSecurityGroupsSecurityGroupVpc>
(List) The VPC this security group is a part of. Nested scheme for vpc:
AccessTags This property is required. []string
(List) Access management tags associated for the security group.
CreatedAt This property is required. string
(String) The date and time that this security group was created.
Crn This property is required. string
(String) The CRN for this VPC.
Href This property is required. string
(String) The URL for this VPC.
Id This property is required. string
(String) The unique identifier for this VPC.
Name This property is required. string
(String) The unique user-defined name for this VPC.
ResourceGroups This property is required. []GetIsSecurityGroupsSecurityGroupResourceGroup
(List) The resource group object, for this security group.
Rules This property is required. []GetIsSecurityGroupsSecurityGroupRule
(List) The rules for this security group. If no rules exist, all traffic will be denied.
Targets This property is required. []GetIsSecurityGroupsSecurityGroupTarget
(List) The targets for this security group. Nested scheme for targets:
Vpcs This property is required. []GetIsSecurityGroupsSecurityGroupVpc
(List) The VPC this security group is a part of. Nested scheme for vpc:
accessTags This property is required. List<String>
(List) Access management tags associated for the security group.
createdAt This property is required. String
(String) The date and time that this security group was created.
crn This property is required. String
(String) The CRN for this VPC.
href This property is required. String
(String) The URL for this VPC.
id This property is required. String
(String) The unique identifier for this VPC.
name This property is required. String
(String) The unique user-defined name for this VPC.
resourceGroups This property is required. List<GetIsSecurityGroupsSecurityGroupResourceGroup>
(List) The resource group object, for this security group.
rules This property is required. List<GetIsSecurityGroupsSecurityGroupRule>
(List) The rules for this security group. If no rules exist, all traffic will be denied.
targets This property is required. List<GetIsSecurityGroupsSecurityGroupTarget>
(List) The targets for this security group. Nested scheme for targets:
vpcs This property is required. List<GetIsSecurityGroupsSecurityGroupVpc>
(List) The VPC this security group is a part of. Nested scheme for vpc:
accessTags This property is required. string[]
(List) Access management tags associated for the security group.
createdAt This property is required. string
(String) The date and time that this security group was created.
crn This property is required. string
(String) The CRN for this VPC.
href This property is required. string
(String) The URL for this VPC.
id This property is required. string
(String) The unique identifier for this VPC.
name This property is required. string
(String) The unique user-defined name for this VPC.
resourceGroups This property is required. GetIsSecurityGroupsSecurityGroupResourceGroup[]
(List) The resource group object, for this security group.
rules This property is required. GetIsSecurityGroupsSecurityGroupRule[]
(List) The rules for this security group. If no rules exist, all traffic will be denied.
targets This property is required. GetIsSecurityGroupsSecurityGroupTarget[]
(List) The targets for this security group. Nested scheme for targets:
vpcs This property is required. GetIsSecurityGroupsSecurityGroupVpc[]
(List) The VPC this security group is a part of. Nested scheme for vpc:
access_tags This property is required. Sequence[str]
(List) Access management tags associated for the security group.
created_at This property is required. str
(String) The date and time that this security group was created.
crn This property is required. str
(String) The CRN for this VPC.
href This property is required. str
(String) The URL for this VPC.
id This property is required. str
(String) The unique identifier for this VPC.
name This property is required. str
(String) The unique user-defined name for this VPC.
resource_groups This property is required. Sequence[GetIsSecurityGroupsSecurityGroupResourceGroup]
(List) The resource group object, for this security group.
rules This property is required. Sequence[GetIsSecurityGroupsSecurityGroupRule]
(List) The rules for this security group. If no rules exist, all traffic will be denied.
targets This property is required. Sequence[GetIsSecurityGroupsSecurityGroupTarget]
(List) The targets for this security group. Nested scheme for targets:
vpcs This property is required. Sequence[GetIsSecurityGroupsSecurityGroupVpc]
(List) The VPC this security group is a part of. Nested scheme for vpc:
accessTags This property is required. List<String>
(List) Access management tags associated for the security group.
createdAt This property is required. String
(String) The date and time that this security group was created.
crn This property is required. String
(String) The CRN for this VPC.
href This property is required. String
(String) The URL for this VPC.
id This property is required. String
(String) The unique identifier for this VPC.
name This property is required. String
(String) The unique user-defined name for this VPC.
resourceGroups This property is required. List<Property Map>
(List) The resource group object, for this security group.
rules This property is required. List<Property Map>
(List) The rules for this security group. If no rules exist, all traffic will be denied.
targets This property is required. List<Property Map>
(List) The targets for this security group. Nested scheme for targets:
vpcs This property is required. List<Property Map>
(List) The VPC this security group is a part of. Nested scheme for vpc:

GetIsSecurityGroupsSecurityGroupResourceGroup

Href This property is required. string
(String) The URL for this VPC.
Id This property is required. string
(String) The unique identifier for this VPC.
Name This property is required. string
(String) The unique user-defined name for this VPC.
Href This property is required. string
(String) The URL for this VPC.
Id This property is required. string
(String) The unique identifier for this VPC.
Name This property is required. string
(String) The unique user-defined name for this VPC.
href This property is required. String
(String) The URL for this VPC.
id This property is required. String
(String) The unique identifier for this VPC.
name This property is required. String
(String) The unique user-defined name for this VPC.
href This property is required. string
(String) The URL for this VPC.
id This property is required. string
(String) The unique identifier for this VPC.
name This property is required. string
(String) The unique user-defined name for this VPC.
href This property is required. str
(String) The URL for this VPC.
id This property is required. str
(String) The unique identifier for this VPC.
name This property is required. str
(String) The unique user-defined name for this VPC.
href This property is required. String
(String) The URL for this VPC.
id This property is required. String
(String) The unique identifier for this VPC.
name This property is required. String
(String) The unique user-defined name for this VPC.

GetIsSecurityGroupsSecurityGroupRule

Code This property is required. double
(Integer) The ICMP traffic code to allow.
Direction This property is required. string
(String) The direction of traffic to enforce, either inbound or outbound.
Href This property is required. string
(String) The URL for this VPC.
Id This property is required. string
(String) The unique identifier for this VPC.
IpVersion This property is required. string
(String) The IP version to enforce. The format of remote.address or remote.cidr_block must match this property, if they are used. Alternatively, if remote references a security group, then this rule only applies to IP addresses (network interfaces) in that group matching this IP version.
Locals This property is required. List<GetIsSecurityGroupsSecurityGroupRuleLocal>
(List) The local IP address or range of local IP addresses to which this rule will allow inbound traffic (or from which, for outbound traffic). A CIDR block of 0.0.0.0/0 allows traffic to all local IP addresses (or from all local IP addresses, for outbound rules).
PortMax This property is required. double
(Integer) The inclusive upper bound of TCP/UDP port range.
PortMin This property is required. double
(Integer) The inclusive lower bound of TCP/UDP port range.
Protocol This property is required. string
(String) The protocol to enforce.
Remotes This property is required. List<GetIsSecurityGroupsSecurityGroupRuleRemote>
(List) The IP addresses or security groups from which this rule allows traffic (or to which,for outbound rules). Can be specified as an IP address, a CIDR block, or a securitygroup. A CIDR block of 0.0.0.0/0 allows traffic from any source (or to any source,for outbound rules).
Type This property is required. double
(Integer) The ICMP traffic type to allow.
Code This property is required. float64
(Integer) The ICMP traffic code to allow.
Direction This property is required. string
(String) The direction of traffic to enforce, either inbound or outbound.
Href This property is required. string
(String) The URL for this VPC.
Id This property is required. string
(String) The unique identifier for this VPC.
IpVersion This property is required. string
(String) The IP version to enforce. The format of remote.address or remote.cidr_block must match this property, if they are used. Alternatively, if remote references a security group, then this rule only applies to IP addresses (network interfaces) in that group matching this IP version.
Locals This property is required. []GetIsSecurityGroupsSecurityGroupRuleLocal
(List) The local IP address or range of local IP addresses to which this rule will allow inbound traffic (or from which, for outbound traffic). A CIDR block of 0.0.0.0/0 allows traffic to all local IP addresses (or from all local IP addresses, for outbound rules).
PortMax This property is required. float64
(Integer) The inclusive upper bound of TCP/UDP port range.
PortMin This property is required. float64
(Integer) The inclusive lower bound of TCP/UDP port range.
Protocol This property is required. string
(String) The protocol to enforce.
Remotes This property is required. []GetIsSecurityGroupsSecurityGroupRuleRemote
(List) The IP addresses or security groups from which this rule allows traffic (or to which,for outbound rules). Can be specified as an IP address, a CIDR block, or a securitygroup. A CIDR block of 0.0.0.0/0 allows traffic from any source (or to any source,for outbound rules).
Type This property is required. float64
(Integer) The ICMP traffic type to allow.
code This property is required. Double
(Integer) The ICMP traffic code to allow.
direction This property is required. String
(String) The direction of traffic to enforce, either inbound or outbound.
href This property is required. String
(String) The URL for this VPC.
id This property is required. String
(String) The unique identifier for this VPC.
ipVersion This property is required. String
(String) The IP version to enforce. The format of remote.address or remote.cidr_block must match this property, if they are used. Alternatively, if remote references a security group, then this rule only applies to IP addresses (network interfaces) in that group matching this IP version.
locals This property is required. List<GetIsSecurityGroupsSecurityGroupRuleLocal>
(List) The local IP address or range of local IP addresses to which this rule will allow inbound traffic (or from which, for outbound traffic). A CIDR block of 0.0.0.0/0 allows traffic to all local IP addresses (or from all local IP addresses, for outbound rules).
portMax This property is required. Double
(Integer) The inclusive upper bound of TCP/UDP port range.
portMin This property is required. Double
(Integer) The inclusive lower bound of TCP/UDP port range.
protocol This property is required. String
(String) The protocol to enforce.
remotes This property is required. List<GetIsSecurityGroupsSecurityGroupRuleRemote>
(List) The IP addresses or security groups from which this rule allows traffic (or to which,for outbound rules). Can be specified as an IP address, a CIDR block, or a securitygroup. A CIDR block of 0.0.0.0/0 allows traffic from any source (or to any source,for outbound rules).
type This property is required. Double
(Integer) The ICMP traffic type to allow.
code This property is required. number
(Integer) The ICMP traffic code to allow.
direction This property is required. string
(String) The direction of traffic to enforce, either inbound or outbound.
href This property is required. string
(String) The URL for this VPC.
id This property is required. string
(String) The unique identifier for this VPC.
ipVersion This property is required. string
(String) The IP version to enforce. The format of remote.address or remote.cidr_block must match this property, if they are used. Alternatively, if remote references a security group, then this rule only applies to IP addresses (network interfaces) in that group matching this IP version.
locals This property is required. GetIsSecurityGroupsSecurityGroupRuleLocal[]
(List) The local IP address or range of local IP addresses to which this rule will allow inbound traffic (or from which, for outbound traffic). A CIDR block of 0.0.0.0/0 allows traffic to all local IP addresses (or from all local IP addresses, for outbound rules).
portMax This property is required. number
(Integer) The inclusive upper bound of TCP/UDP port range.
portMin This property is required. number
(Integer) The inclusive lower bound of TCP/UDP port range.
protocol This property is required. string
(String) The protocol to enforce.
remotes This property is required. GetIsSecurityGroupsSecurityGroupRuleRemote[]
(List) The IP addresses or security groups from which this rule allows traffic (or to which,for outbound rules). Can be specified as an IP address, a CIDR block, or a securitygroup. A CIDR block of 0.0.0.0/0 allows traffic from any source (or to any source,for outbound rules).
type This property is required. number
(Integer) The ICMP traffic type to allow.
code This property is required. float
(Integer) The ICMP traffic code to allow.
direction This property is required. str
(String) The direction of traffic to enforce, either inbound or outbound.
href This property is required. str
(String) The URL for this VPC.
id This property is required. str
(String) The unique identifier for this VPC.
ip_version This property is required. str
(String) The IP version to enforce. The format of remote.address or remote.cidr_block must match this property, if they are used. Alternatively, if remote references a security group, then this rule only applies to IP addresses (network interfaces) in that group matching this IP version.
locals This property is required. Sequence[GetIsSecurityGroupsSecurityGroupRuleLocal]
(List) The local IP address or range of local IP addresses to which this rule will allow inbound traffic (or from which, for outbound traffic). A CIDR block of 0.0.0.0/0 allows traffic to all local IP addresses (or from all local IP addresses, for outbound rules).
port_max This property is required. float
(Integer) The inclusive upper bound of TCP/UDP port range.
port_min This property is required. float
(Integer) The inclusive lower bound of TCP/UDP port range.
protocol This property is required. str
(String) The protocol to enforce.
remotes This property is required. Sequence[GetIsSecurityGroupsSecurityGroupRuleRemote]
(List) The IP addresses or security groups from which this rule allows traffic (or to which,for outbound rules). Can be specified as an IP address, a CIDR block, or a securitygroup. A CIDR block of 0.0.0.0/0 allows traffic from any source (or to any source,for outbound rules).
type This property is required. float
(Integer) The ICMP traffic type to allow.
code This property is required. Number
(Integer) The ICMP traffic code to allow.
direction This property is required. String
(String) The direction of traffic to enforce, either inbound or outbound.
href This property is required. String
(String) The URL for this VPC.
id This property is required. String
(String) The unique identifier for this VPC.
ipVersion This property is required. String
(String) The IP version to enforce. The format of remote.address or remote.cidr_block must match this property, if they are used. Alternatively, if remote references a security group, then this rule only applies to IP addresses (network interfaces) in that group matching this IP version.
locals This property is required. List<Property Map>
(List) The local IP address or range of local IP addresses to which this rule will allow inbound traffic (or from which, for outbound traffic). A CIDR block of 0.0.0.0/0 allows traffic to all local IP addresses (or from all local IP addresses, for outbound rules).
portMax This property is required. Number
(Integer) The inclusive upper bound of TCP/UDP port range.
portMin This property is required. Number
(Integer) The inclusive lower bound of TCP/UDP port range.
protocol This property is required. String
(String) The protocol to enforce.
remotes This property is required. List<Property Map>
(List) The IP addresses or security groups from which this rule allows traffic (or to which,for outbound rules). Can be specified as an IP address, a CIDR block, or a securitygroup. A CIDR block of 0.0.0.0/0 allows traffic from any source (or to any source,for outbound rules).
type This property is required. Number
(Integer) The ICMP traffic type to allow.

GetIsSecurityGroupsSecurityGroupRuleLocal

Address This property is required. string
(String) The IP address.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
CidrBlock This property is required. string
(String) The CIDR block. This property may add support for IPv6 CIDR blocks in the future. When processing a value in this property, verify that the CIDR block is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected CIDR block format was encountered.
Address This property is required. string
(String) The IP address.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
CidrBlock This property is required. string
(String) The CIDR block. This property may add support for IPv6 CIDR blocks in the future. When processing a value in this property, verify that the CIDR block is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected CIDR block format was encountered.
address This property is required. String
(String) The IP address.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
cidrBlock This property is required. String
(String) The CIDR block. This property may add support for IPv6 CIDR blocks in the future. When processing a value in this property, verify that the CIDR block is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected CIDR block format was encountered.
address This property is required. string
(String) The IP address.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
cidrBlock This property is required. string
(String) The CIDR block. This property may add support for IPv6 CIDR blocks in the future. When processing a value in this property, verify that the CIDR block is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected CIDR block format was encountered.
address This property is required. str
(String) The IP address.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
cidr_block This property is required. str
(String) The CIDR block. This property may add support for IPv6 CIDR blocks in the future. When processing a value in this property, verify that the CIDR block is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected CIDR block format was encountered.
address This property is required. String
(String) The IP address.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
cidrBlock This property is required. String
(String) The CIDR block. This property may add support for IPv6 CIDR blocks in the future. When processing a value in this property, verify that the CIDR block is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected CIDR block format was encountered.

GetIsSecurityGroupsSecurityGroupRuleRemote

Address This property is required. string
(String) The IP address.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
CidrBlock This property is required. string
(String) The CIDR block. This property may add support for IPv6 CIDR blocks in the future. When processing a value in this property, verify that the CIDR block is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected CIDR block format was encountered.
Crn This property is required. string
(String) The CRN for this VPC.
Deleteds This property is required. List<GetIsSecurityGroupsSecurityGroupRuleRemoteDeleted>
(List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested scheme for deleted:
Href This property is required. string
(String) The URL for this VPC.
Id This property is required. string
(String) The unique identifier for this VPC.
Name This property is required. string
(String) The unique user-defined name for this VPC.
Address This property is required. string
(String) The IP address.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
CidrBlock This property is required. string
(String) The CIDR block. This property may add support for IPv6 CIDR blocks in the future. When processing a value in this property, verify that the CIDR block is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected CIDR block format was encountered.
Crn This property is required. string
(String) The CRN for this VPC.
Deleteds This property is required. []GetIsSecurityGroupsSecurityGroupRuleRemoteDeleted
(List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested scheme for deleted:
Href This property is required. string
(String) The URL for this VPC.
Id This property is required. string
(String) The unique identifier for this VPC.
Name This property is required. string
(String) The unique user-defined name for this VPC.
address This property is required. String
(String) The IP address.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
cidrBlock This property is required. String
(String) The CIDR block. This property may add support for IPv6 CIDR blocks in the future. When processing a value in this property, verify that the CIDR block is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected CIDR block format was encountered.
crn This property is required. String
(String) The CRN for this VPC.
deleteds This property is required. List<GetIsSecurityGroupsSecurityGroupRuleRemoteDeleted>
(List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested scheme for deleted:
href This property is required. String
(String) The URL for this VPC.
id This property is required. String
(String) The unique identifier for this VPC.
name This property is required. String
(String) The unique user-defined name for this VPC.
address This property is required. string
(String) The IP address.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
cidrBlock This property is required. string
(String) The CIDR block. This property may add support for IPv6 CIDR blocks in the future. When processing a value in this property, verify that the CIDR block is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected CIDR block format was encountered.
crn This property is required. string
(String) The CRN for this VPC.
deleteds This property is required. GetIsSecurityGroupsSecurityGroupRuleRemoteDeleted[]
(List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested scheme for deleted:
href This property is required. string
(String) The URL for this VPC.
id This property is required. string
(String) The unique identifier for this VPC.
name This property is required. string
(String) The unique user-defined name for this VPC.
address This property is required. str
(String) The IP address.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
cidr_block This property is required. str
(String) The CIDR block. This property may add support for IPv6 CIDR blocks in the future. When processing a value in this property, verify that the CIDR block is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected CIDR block format was encountered.
crn This property is required. str
(String) The CRN for this VPC.
deleteds This property is required. Sequence[GetIsSecurityGroupsSecurityGroupRuleRemoteDeleted]
(List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested scheme for deleted:
href This property is required. str
(String) The URL for this VPC.
id This property is required. str
(String) The unique identifier for this VPC.
name This property is required. str
(String) The unique user-defined name for this VPC.
address This property is required. String
(String) The IP address.This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
cidrBlock This property is required. String
(String) The CIDR block. This property may add support for IPv6 CIDR blocks in the future. When processing a value in this property, verify that the CIDR block is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected CIDR block format was encountered.
crn This property is required. String
(String) The CRN for this VPC.
deleteds This property is required. List<Property Map>
(List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested scheme for deleted:
href This property is required. String
(String) The URL for this VPC.
id This property is required. String
(String) The unique identifier for this VPC.
name This property is required. String
(String) The unique user-defined name for this VPC.

GetIsSecurityGroupsSecurityGroupRuleRemoteDeleted

MoreInfo This property is required. string
(String) Link to documentation about deleted resources.
MoreInfo This property is required. string
(String) Link to documentation about deleted resources.
moreInfo This property is required. String
(String) Link to documentation about deleted resources.
moreInfo This property is required. string
(String) Link to documentation about deleted resources.
more_info This property is required. str
(String) Link to documentation about deleted resources.
moreInfo This property is required. String
(String) Link to documentation about deleted resources.

GetIsSecurityGroupsSecurityGroupTarget

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

GetIsSecurityGroupsSecurityGroupTargetDeleted

MoreInfo This property is required. string
(String) Link to documentation about deleted resources.
MoreInfo This property is required. string
(String) Link to documentation about deleted resources.
moreInfo This property is required. String
(String) Link to documentation about deleted resources.
moreInfo This property is required. string
(String) Link to documentation about deleted resources.
more_info This property is required. str
(String) Link to documentation about deleted resources.
moreInfo This property is required. String
(String) Link to documentation about deleted resources.

GetIsSecurityGroupsSecurityGroupVpc

Crn This property is required. string
(String) The CRN for this VPC.
Deleteds This property is required. List<GetIsSecurityGroupsSecurityGroupVpcDeleted>
(List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested scheme for deleted:
Href This property is required. string
(String) The URL for this VPC.
Id This property is required. string
(String) The unique identifier for this VPC.
Name This property is required. string
(String) The unique user-defined name for this VPC.
Crn This property is required. string
(String) The CRN for this VPC.
Deleteds This property is required. []GetIsSecurityGroupsSecurityGroupVpcDeleted
(List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested scheme for deleted:
Href This property is required. string
(String) The URL for this VPC.
Id This property is required. string
(String) The unique identifier for this VPC.
Name This property is required. string
(String) The unique user-defined name for this VPC.
crn This property is required. String
(String) The CRN for this VPC.
deleteds This property is required. List<GetIsSecurityGroupsSecurityGroupVpcDeleted>
(List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested scheme for deleted:
href This property is required. String
(String) The URL for this VPC.
id This property is required. String
(String) The unique identifier for this VPC.
name This property is required. String
(String) The unique user-defined name for this VPC.
crn This property is required. string
(String) The CRN for this VPC.
deleteds This property is required. GetIsSecurityGroupsSecurityGroupVpcDeleted[]
(List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested scheme for deleted:
href This property is required. string
(String) The URL for this VPC.
id This property is required. string
(String) The unique identifier for this VPC.
name This property is required. string
(String) The unique user-defined name for this VPC.
crn This property is required. str
(String) The CRN for this VPC.
deleteds This property is required. Sequence[GetIsSecurityGroupsSecurityGroupVpcDeleted]
(List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested scheme for deleted:
href This property is required. str
(String) The URL for this VPC.
id This property is required. str
(String) The unique identifier for this VPC.
name This property is required. str
(String) The unique user-defined name for this VPC.
crn This property is required. String
(String) The CRN for this VPC.
deleteds This property is required. List<Property Map>
(List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information. Nested scheme for deleted:
href This property is required. String
(String) The URL for this VPC.
id This property is required. String
(String) The unique identifier for this VPC.
name This property is required. String
(String) The unique user-defined name for this VPC.

GetIsSecurityGroupsSecurityGroupVpcDeleted

MoreInfo This property is required. string
(String) Link to documentation about deleted resources.
MoreInfo This property is required. string
(String) Link to documentation about deleted resources.
moreInfo This property is required. String
(String) Link to documentation about deleted resources.
moreInfo This property is required. string
(String) Link to documentation about deleted resources.
more_info This property is required. str
(String) Link to documentation about deleted resources.
moreInfo This property is required. 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.