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({});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_security_groups()
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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var example = Ibm.GetIsSecurityGroups.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.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();
}
}
variables:
example:
fn::invoke:
function: ibm:getIsSecurityGroups
arguments: {}
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,
});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_security_groups(vpc_name=ibm_is_vpc["example"]["name"])
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
})
}
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,
});
});
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());
}
}
variables:
example:
fn::invoke:
function: ibm:getIsSecurityGroups
arguments:
vpcName: ${ibm_is_vpc.example.name}
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,
});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_security_groups(vpc_id=ibm_is_vpc["example"]["id"])
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
})
}
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,
});
});
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());
}
}
variables:
example:
fn::invoke:
function: ibm:getIsSecurityGroups
arguments:
vpcId: ${ibm_is_vpc.example.id}
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,
});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_security_groups(vpc_crn=ibm_is_vpc["example"]["crn"])
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
})
}
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,
});
});
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());
}
}
variables:
example:
fn::invoke:
function: ibm:getIsSecurityGroups
arguments:
vpcCrn: ${ibm_is_vpc.example.crn}
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,
});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_security_groups(resource_group=data["ibm_resource_group"]["default"]["id"])
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
})
}
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,
});
});
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());
}
}
variables:
example:
fn::invoke:
function: ibm:getIsSecurityGroups
arguments:
resourceGroup: ${data.ibm_resource_group.default.id}
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>
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]
func GetIsSecurityGroups(ctx *Context, args *GetIsSecurityGroupsArgs, opts ...InvokeOption) (*GetIsSecurityGroupsResult, error)
func GetIsSecurityGroupsOutput(ctx *Context, args *GetIsSecurityGroupsOutputArgs, opts ...InvokeOption) GetIsSecurityGroupsResultOutput
> 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)
}
public static CompletableFuture<GetIsSecurityGroupsResult> getIsSecurityGroups(GetIsSecurityGroupsArgs args, InvokeOptions options)
public static Output<GetIsSecurityGroupsResult> getIsSecurityGroups(GetIsSecurityGroupsArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsSecurityGroups:getIsSecurityGroups
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- (String) The unique identifier for this VPC.
- Resource
Group string - (List) The resource group object, for this security group.
- Vpc
Crn string - Filters the collection to resources in the VPC with the specified CRN
- Vpc
Id string - Filters the collection to resources in the VPC with the specified identifier
- Vpc
Name string - Filters the collection to resources in the VPC with the exact specified name
- Id string
- (String) The unique identifier for this VPC.
- Resource
Group string - (List) The resource group object, for this security group.
- Vpc
Crn string - Filters the collection to resources in the VPC with the specified CRN
- Vpc
Id string - Filters the collection to resources in the VPC with the specified identifier
- Vpc
Name string - Filters the collection to resources in the VPC with the exact specified name
- id String
- (String) The unique identifier for this VPC.
- resource
Group String - (List) The resource group object, for this security group.
- vpc
Crn String - Filters the collection to resources in the VPC with the specified CRN
- vpc
Id String - Filters the collection to resources in the VPC with the specified identifier
- vpc
Name String - Filters the collection to resources in the VPC with the exact specified name
- id string
- (String) The unique identifier for this VPC.
- resource
Group string - (List) The resource group object, for this security group.
- vpc
Crn string - Filters the collection to resources in the VPC with the specified CRN
- vpc
Id string - Filters the collection to resources in the VPC with the specified identifier
- vpc
Name 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.
- resource
Group String - (List) The resource group object, for this security group.
- vpc
Crn String - Filters the collection to resources in the VPC with the specified CRN
- vpc
Id String - Filters the collection to resources in the VPC with the specified identifier
- vpc
Name 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.
- Security
Groups List<GetIs Security Groups Security Group> - (List) Collection of security groups.
- Resource
Group string - (List) The resource group object, for this security group.
- Vpc
Crn string - Filters the collection to resources in the VPC with the specified CRN
- Vpc
Id string - Filters the collection to resources in the VPC with the specified identifier
- Vpc
Name string - Filters the collection to resources in the VPC with the exact specified name
- Id string
- (String) The unique identifier for this VPC.
- Security
Groups []GetIs Security Groups Security Group - (List) Collection of security groups.
- Resource
Group string - (List) The resource group object, for this security group.
- Vpc
Crn string - Filters the collection to resources in the VPC with the specified CRN
- Vpc
Id string - Filters the collection to resources in the VPC with the specified identifier
- Vpc
Name string - Filters the collection to resources in the VPC with the exact specified name
- id String
- (String) The unique identifier for this VPC.
- security
Groups List<GetIs Security Groups Security Group> - (List) Collection of security groups.
- resource
Group String - (List) The resource group object, for this security group.
- vpc
Crn String - Filters the collection to resources in the VPC with the specified CRN
- vpc
Id String - Filters the collection to resources in the VPC with the specified identifier
- vpc
Name String - Filters the collection to resources in the VPC with the exact specified name
- id string
- (String) The unique identifier for this VPC.
- security
Groups GetIs Security Groups Security Group[] - (List) Collection of security groups.
- resource
Group string - (List) The resource group object, for this security group.
- vpc
Crn string - Filters the collection to resources in the VPC with the specified CRN
- vpc
Id string - Filters the collection to resources in the VPC with the specified identifier
- vpc
Name 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[GetIs Security Groups Security Group] - (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.
- security
Groups List<Property Map> - (List) Collection of security groups.
- resource
Group String - (List) The resource group object, for this security group.
- vpc
Crn String - Filters the collection to resources in the VPC with the specified CRN
- vpc
Id String - Filters the collection to resources in the VPC with the specified identifier
- vpc
Name String - Filters the collection to resources in the VPC with the exact specified name
Supporting Types
GetIsSecurityGroupsSecurityGroup
This property is required. List<string>- (List) Access management tags associated for the security group.
- Created
At 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.
- Resource
Groups This property is required. List<GetIs Security Groups Security Group Resource Group> - (List) The resource group object, for this security group.
- Rules
This property is required. List<GetIs Security Groups Security Group Rule> - (List) The rules for this security group. If no rules exist, all traffic will be denied.
- Targets
This property is required. List<GetIs Security Groups Security Group Target> - (List) The targets for this security group.
Nested scheme for
targets
: - Vpcs
This property is required. List<GetIs Security Groups Security Group Vpc> - (List) The VPC this security group is a part of.
Nested scheme for
vpc
:
This property is required. []string- (List) Access management tags associated for the security group.
- Created
At 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.
- Resource
Groups This property is required. []GetIs Security Groups Security Group Resource Group - (List) The resource group object, for this security group.
- Rules
This property is required. []GetIs Security Groups Security Group Rule - (List) The rules for this security group. If no rules exist, all traffic will be denied.
- Targets
This property is required. []GetIs Security Groups Security Group Target - (List) The targets for this security group.
Nested scheme for
targets
: - Vpcs
This property is required. []GetIs Security Groups Security Group Vpc - (List) The VPC this security group is a part of.
Nested scheme for
vpc
:
This property is required. List<String>- (List) Access management tags associated for the security group.
- created
At 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.
- resource
Groups This property is required. List<GetIs Security Groups Security Group Resource Group> - (List) The resource group object, for this security group.
- rules
This property is required. List<GetIs Security Groups Security Group Rule> - (List) The rules for this security group. If no rules exist, all traffic will be denied.
- targets
This property is required. List<GetIs Security Groups Security Group Target> - (List) The targets for this security group.
Nested scheme for
targets
: - vpcs
This property is required. List<GetIs Security Groups Security Group Vpc> - (List) The VPC this security group is a part of.
Nested scheme for
vpc
:
This property is required. string[]- (List) Access management tags associated for the security group.
- created
At 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.
- resource
Groups This property is required. GetIs Security Groups Security Group Resource Group[] - (List) The resource group object, for this security group.
- rules
This property is required. GetIs Security Groups Security Group Rule[] - (List) The rules for this security group. If no rules exist, all traffic will be denied.
- targets
This property is required. GetIs Security Groups Security Group Target[] - (List) The targets for this security group.
Nested scheme for
targets
: - vpcs
This property is required. GetIs Security Groups Security Group Vpc[] - (List) The VPC this security group is a part of.
Nested scheme for
vpc
:
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[GetIs Security Groups Security Group Resource Group] - (List) The resource group object, for this security group.
- rules
This property is required. Sequence[GetIs Security Groups Security Group Rule] - (List) The rules for this security group. If no rules exist, all traffic will be denied.
- targets
This property is required. Sequence[GetIs Security Groups Security Group Target] - (List) The targets for this security group.
Nested scheme for
targets
: - vpcs
This property is required. Sequence[GetIs Security Groups Security Group Vpc] - (List) The VPC this security group is a part of.
Nested scheme for
vpc
:
This property is required. List<String>- (List) Access management tags associated for the security group.
- created
At 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.
- resource
Groups 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
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
oroutbound
. - 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.
- Ip
Version This property is required. string - (String) The IP version to enforce. The format of
remote.address
orremote.cidr_block
must match this property, if they are used. Alternatively, ifremote
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<GetIs Security Groups Security Group Rule Local> - (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. double - (Integer) The inclusive upper bound of TCP/UDP port range.
- Port
Min 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<GetIs Security Groups Security Group Rule Remote> - (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
oroutbound
. - 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.
- Ip
Version This property is required. string - (String) The IP version to enforce. The format of
remote.address
orremote.cidr_block
must match this property, if they are used. Alternatively, ifremote
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. []GetIs Security Groups Security Group Rule Local - (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. float64 - (Integer) The inclusive upper bound of TCP/UDP port range.
- Port
Min 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. []GetIs Security Groups Security Group Rule Remote - (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
oroutbound
. - 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.
- ip
Version This property is required. String - (String) The IP version to enforce. The format of
remote.address
orremote.cidr_block
must match this property, if they are used. Alternatively, ifremote
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<GetIs Security Groups Security Group Rule Local> - (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. Double - (Integer) The inclusive upper bound of TCP/UDP port range.
- port
Min 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<GetIs Security Groups Security Group Rule Remote> - (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
oroutbound
. - 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.
- ip
Version This property is required. string - (String) The IP version to enforce. The format of
remote.address
orremote.cidr_block
must match this property, if they are used. Alternatively, ifremote
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. GetIs Security Groups Security Group Rule Local[] - (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. number - (Integer) The inclusive upper bound of TCP/UDP port range.
- port
Min 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. GetIs Security Groups Security Group Rule Remote[] - (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
oroutbound
. - 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
orremote.cidr_block
must match this property, if they are used. Alternatively, ifremote
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[GetIs Security Groups Security Group Rule Local] - (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[GetIs Security Groups Security Group Rule Remote] - (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
oroutbound
. - 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.
- ip
Version This property is required. String - (String) The IP version to enforce. The format of
remote.address
orremote.cidr_block
must match this property, if they are used. Alternatively, ifremote
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).
- port
Max This property is required. Number - (Integer) The inclusive upper bound of TCP/UDP port range.
- port
Min 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.
- Cidr
Block 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.
- Cidr
Block 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.
- cidr
Block 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.
- cidr
Block 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.
- cidr
Block 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.
- Cidr
Block 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<GetIs Security Groups Security Group Rule Remote Deleted> - (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.
- Cidr
Block 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. []GetIs Security Groups Security Group Rule Remote Deleted - (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.
- cidr
Block 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<GetIs Security Groups Security Group Rule Remote Deleted> - (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.
- cidr
Block 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. GetIs Security Groups Security Group Rule Remote Deleted[] - (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[GetIs Security Groups Security Group Rule Remote Deleted] - (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.
- cidr
Block 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
- More
Info This property is required. string - (String) Link to documentation about deleted resources.
- More
Info This property is required. string - (String) Link to documentation about deleted resources.
- more
Info This property is required. String - (String) Link to documentation about deleted resources.
- more
Info 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.
- more
Info 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<GetIs Security Groups Security Group Target Deleted> - (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.
- Resource
Type 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. []GetIs Security Groups Security Group Target Deleted - (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.
- Resource
Type 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<GetIs Security Groups Security Group Target Deleted> - (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.
- resource
Type 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. GetIs Security Groups Security Group Target Deleted[] - (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.
- resource
Type 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[GetIs Security Groups Security Group Target Deleted] - (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.
- resource
Type This property is required. String - (String) The resource type.
GetIsSecurityGroupsSecurityGroupTargetDeleted
- More
Info This property is required. string - (String) Link to documentation about deleted resources.
- More
Info This property is required. string - (String) Link to documentation about deleted resources.
- more
Info This property is required. String - (String) Link to documentation about deleted resources.
- more
Info 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.
- more
Info 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<GetIs Security Groups Security Group Vpc Deleted> - (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. []GetIs Security Groups Security Group Vpc Deleted - (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<GetIs Security Groups Security Group Vpc Deleted> - (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. GetIs Security Groups Security Group Vpc Deleted[] - (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[GetIs Security Groups Security Group Vpc Deleted] - (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
- More
Info This property is required. string - (String) Link to documentation about deleted resources.
- More
Info This property is required. string - (String) Link to documentation about deleted resources.
- more
Info This property is required. String - (String) Link to documentation about deleted resources.
- more
Info 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.
- more
Info 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.