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
- List<string>
- (List) Access management tags associated for the security group.
- Created
At string - (String) The date and time that this security group was created.
- Crn string
- (String) The CRN for this VPC.
- Href string
- (String) The URL for this VPC.
- Id string
- (String) The unique identifier for this VPC.
- Name string
- (String) The unique user-defined name for this VPC.
- Resource
Groups List<GetIs Security Groups Security Group Resource Group> - (List) The resource group object, for this security group.
- Rules
List<Get
Is Security Groups Security Group Rule> - (List) The rules for this security group. If no rules exist, all traffic will be denied.
- Targets
List<Get
Is Security Groups Security Group Target> - (List) The targets for this security group.
Nested scheme for
targets
: - Vpcs
List<Get
Is Security Groups Security Group Vpc> - (List) The VPC this security group is a part of.
Nested scheme for
vpc
:
- []string
- (List) Access management tags associated for the security group.
- Created
At string - (String) The date and time that this security group was created.
- Crn string
- (String) The CRN for this VPC.
- Href string
- (String) The URL for this VPC.
- Id string
- (String) The unique identifier for this VPC.
- Name string
- (String) The unique user-defined name for this VPC.
- Resource
Groups []GetIs Security Groups Security Group Resource Group - (List) The resource group object, for this security group.
- Rules
[]Get
Is Security Groups Security Group Rule - (List) The rules for this security group. If no rules exist, all traffic will be denied.
- Targets
[]Get
Is Security Groups Security Group Target - (List) The targets for this security group.
Nested scheme for
targets
: - Vpcs
[]Get
Is Security Groups Security Group Vpc - (List) The VPC this security group is a part of.
Nested scheme for
vpc
:
- List<String>
- (List) Access management tags associated for the security group.
- created
At String - (String) The date and time that this security group was created.
- crn String
- (String) The CRN for this VPC.
- href String
- (String) The URL for this VPC.
- id String
- (String) The unique identifier for this VPC.
- name String
- (String) The unique user-defined name for this VPC.
- resource
Groups List<GetIs Security Groups Security Group Resource Group> - (List) The resource group object, for this security group.
- rules
List<Get
Is Security Groups Security Group Rule> - (List) The rules for this security group. If no rules exist, all traffic will be denied.
- targets
List<Get
Is Security Groups Security Group Target> - (List) The targets for this security group.
Nested scheme for
targets
: - vpcs
List<Get
Is Security Groups Security Group Vpc> - (List) The VPC this security group is a part of.
Nested scheme for
vpc
:
- string[]
- (List) Access management tags associated for the security group.
- created
At string - (String) The date and time that this security group was created.
- crn string
- (String) The CRN for this VPC.
- href string
- (String) The URL for this VPC.
- id string
- (String) The unique identifier for this VPC.
- name string
- (String) The unique user-defined name for this VPC.
- resource
Groups GetIs Security Groups Security Group Resource Group[] - (List) The resource group object, for this security group.
- rules
Get
Is Security Groups Security Group Rule[] - (List) The rules for this security group. If no rules exist, all traffic will be denied.
- targets
Get
Is Security Groups Security Group Target[] - (List) The targets for this security group.
Nested scheme for
targets
: - vpcs
Get
Is Security Groups Security Group Vpc[] - (List) The VPC this security group is a part of.
Nested scheme for
vpc
:
- Sequence[str]
- (List) Access management tags associated for the security group.
- created_
at str - (String) The date and time that this security group was created.
- crn str
- (String) The CRN for this VPC.
- href str
- (String) The URL for this VPC.
- id str
- (String) The unique identifier for this VPC.
- name str
- (String) The unique user-defined name for this VPC.
- resource_
groups Sequence[GetIs Security Groups Security Group Resource Group] - (List) The resource group object, for this security group.
- rules
Sequence[Get
Is Security Groups Security Group Rule] - (List) The rules for this security group. If no rules exist, all traffic will be denied.
- targets
Sequence[Get
Is Security Groups Security Group Target] - (List) The targets for this security group.
Nested scheme for
targets
: - vpcs
Sequence[Get
Is Security Groups Security Group Vpc] - (List) The VPC this security group is a part of.
Nested scheme for
vpc
:
- List<String>
- (List) Access management tags associated for the security group.
- created
At String - (String) The date and time that this security group was created.
- crn String
- (String) The CRN for this VPC.
- href String
- (String) The URL for this VPC.
- id String
- (String) The unique identifier for this VPC.
- name String
- (String) The unique user-defined name for this VPC.
- resource
Groups List<Property Map> - (List) The resource group object, for this security group.
- rules List<Property Map>
- (List) The rules for this security group. If no rules exist, all traffic will be denied.
- targets List<Property Map>
- (List) The targets for this security group.
Nested scheme for
targets
: - vpcs List<Property Map>
- (List) The VPC this security group is a part of.
Nested scheme for
vpc
:
GetIsSecurityGroupsSecurityGroupResourceGroup
GetIsSecurityGroupsSecurityGroupRule
- Code double
- (Integer) The ICMP traffic code to allow.
- Direction string
- (String) The direction of traffic to enforce, either
inbound
oroutbound
. - Href string
- (String) The URL for this VPC.
- Id string
- (String) The unique identifier for this VPC.
- Ip
Version 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
List<Get
Is 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 double - (Integer) The inclusive upper bound of TCP/UDP port range.
- Port
Min double - (Integer) The inclusive lower bound of TCP/UDP port range.
- Protocol string
- (String) The protocol to enforce.
- Remotes
List<Get
Is 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 double
- (Integer) The ICMP traffic type to allow.
- Code float64
- (Integer) The ICMP traffic code to allow.
- Direction string
- (String) The direction of traffic to enforce, either
inbound
oroutbound
. - Href string
- (String) The URL for this VPC.
- Id string
- (String) The unique identifier for this VPC.
- Ip
Version 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
[]Get
Is 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 float64 - (Integer) The inclusive upper bound of TCP/UDP port range.
- Port
Min float64 - (Integer) The inclusive lower bound of TCP/UDP port range.
- Protocol string
- (String) The protocol to enforce.
- Remotes
[]Get
Is 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 float64
- (Integer) The ICMP traffic type to allow.
- code Double
- (Integer) The ICMP traffic code to allow.
- direction String
- (String) The direction of traffic to enforce, either
inbound
oroutbound
. - href String
- (String) The URL for this VPC.
- id String
- (String) The unique identifier for this VPC.
- ip
Version 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
List<Get
Is 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 Double - (Integer) The inclusive upper bound of TCP/UDP port range.
- port
Min Double - (Integer) The inclusive lower bound of TCP/UDP port range.
- protocol String
- (String) The protocol to enforce.
- remotes
List<Get
Is 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 Double
- (Integer) The ICMP traffic type to allow.
- code number
- (Integer) The ICMP traffic code to allow.
- direction string
- (String) The direction of traffic to enforce, either
inbound
oroutbound
. - href string
- (String) The URL for this VPC.
- id string
- (String) The unique identifier for this VPC.
- ip
Version 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
Get
Is 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 number - (Integer) The inclusive upper bound of TCP/UDP port range.
- port
Min number - (Integer) The inclusive lower bound of TCP/UDP port range.
- protocol string
- (String) The protocol to enforce.
- remotes
Get
Is 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 number
- (Integer) The ICMP traffic type to allow.
- code float
- (Integer) The ICMP traffic code to allow.
- direction str
- (String) The direction of traffic to enforce, either
inbound
oroutbound
. - href str
- (String) The URL for this VPC.
- id str
- (String) The unique identifier for this VPC.
- ip_
version 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
Sequence[Get
Is 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 float - (Integer) The inclusive upper bound of TCP/UDP port range.
- port_
min float - (Integer) The inclusive lower bound of TCP/UDP port range.
- protocol str
- (String) The protocol to enforce.
- remotes
Sequence[Get
Is 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 float
- (Integer) The ICMP traffic type to allow.
- code Number
- (Integer) The ICMP traffic code to allow.
- direction String
- (String) The direction of traffic to enforce, either
inbound
oroutbound
. - href String
- (String) The URL for this VPC.
- id String
- (String) The unique identifier for this VPC.
- ip
Version 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 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 Number - (Integer) The inclusive upper bound of TCP/UDP port range.
- port
Min Number - (Integer) The inclusive lower bound of TCP/UDP port range.
- protocol String
- (String) The protocol to enforce.
- remotes 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 Number
- (Integer) The ICMP traffic type to allow.
GetIsSecurityGroupsSecurityGroupRuleLocal
- Address 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 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 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 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 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 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 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 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 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 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 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 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 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 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 string
- (String) The CRN for this VPC.
- Deleteds
List<Get
Is 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 string
- (String) The URL for this VPC.
- Id string
- (String) The unique identifier for this VPC.
- Name string
- (String) The unique user-defined name for this VPC.
- Address 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 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 string
- (String) The CRN for this VPC.
- Deleteds
[]Get
Is 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 string
- (String) The URL for this VPC.
- Id string
- (String) The unique identifier for this VPC.
- Name string
- (String) The unique user-defined name for this VPC.
- address 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 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 String
- (String) The CRN for this VPC.
- deleteds
List<Get
Is 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 String
- (String) The URL for this VPC.
- id String
- (String) The unique identifier for this VPC.
- name String
- (String) The unique user-defined name for this VPC.
- address 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 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 string
- (String) The CRN for this VPC.
- deleteds
Get
Is 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 string
- (String) The URL for this VPC.
- id string
- (String) The unique identifier for this VPC.
- name string
- (String) The unique user-defined name for this VPC.
- address 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 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 str
- (String) The CRN for this VPC.
- deleteds
Sequence[Get
Is 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 str
- (String) The URL for this VPC.
- id str
- (String) The unique identifier for this VPC.
- name str
- (String) The unique user-defined name for this VPC.
- address 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 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 String
- (String) The CRN for this VPC.
- deleteds List<Property Map>
- (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
Nested scheme for
deleted
: - href String
- (String) The URL for this VPC.
- id String
- (String) The unique identifier for this VPC.
- name String
- (String) The unique user-defined name for this VPC.
GetIsSecurityGroupsSecurityGroupRuleRemoteDeleted
- More
Info string - (String) Link to documentation about deleted resources.
- More
Info string - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
- more
Info string - (String) Link to documentation about deleted resources.
- more_
info str - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
GetIsSecurityGroupsSecurityGroupTarget
- Crn string
- (String) The CRN for this VPC.
- Deleteds
List<Get
Is 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 string
- (String) The URL for this VPC.
- Id string
- (String) The unique identifier for this VPC.
- Name string
- (String) The unique user-defined name for this VPC.
- Resource
Type string - (String) The resource type.
- Crn string
- (String) The CRN for this VPC.
- Deleteds
[]Get
Is 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 string
- (String) The URL for this VPC.
- Id string
- (String) The unique identifier for this VPC.
- Name string
- (String) The unique user-defined name for this VPC.
- Resource
Type string - (String) The resource type.
- crn String
- (String) The CRN for this VPC.
- deleteds
List<Get
Is 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 String
- (String) The URL for this VPC.
- id String
- (String) The unique identifier for this VPC.
- name String
- (String) The unique user-defined name for this VPC.
- resource
Type String - (String) The resource type.
- crn string
- (String) The CRN for this VPC.
- deleteds
Get
Is 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 string
- (String) The URL for this VPC.
- id string
- (String) The unique identifier for this VPC.
- name string
- (String) The unique user-defined name for this VPC.
- resource
Type string - (String) The resource type.
- crn str
- (String) The CRN for this VPC.
- deleteds
Sequence[Get
Is 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 str
- (String) The URL for this VPC.
- id str
- (String) The unique identifier for this VPC.
- name str
- (String) The unique user-defined name for this VPC.
- resource_
type str - (String) The resource type.
- crn String
- (String) The CRN for this VPC.
- deleteds List<Property Map>
- (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
Nested scheme for
deleted
: - href String
- (String) The URL for this VPC.
- id String
- (String) The unique identifier for this VPC.
- name String
- (String) The unique user-defined name for this VPC.
- resource
Type String - (String) The resource type.
GetIsSecurityGroupsSecurityGroupTargetDeleted
- More
Info string - (String) Link to documentation about deleted resources.
- More
Info string - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
- more
Info string - (String) Link to documentation about deleted resources.
- more_
info str - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
GetIsSecurityGroupsSecurityGroupVpc
- Crn string
- (String) The CRN for this VPC.
- Deleteds
List<Get
Is 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 string
- (String) The URL for this VPC.
- Id string
- (String) The unique identifier for this VPC.
- Name string
- (String) The unique user-defined name for this VPC.
- Crn string
- (String) The CRN for this VPC.
- Deleteds
[]Get
Is 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 string
- (String) The URL for this VPC.
- Id string
- (String) The unique identifier for this VPC.
- Name string
- (String) The unique user-defined name for this VPC.
- crn String
- (String) The CRN for this VPC.
- deleteds
List<Get
Is 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 String
- (String) The URL for this VPC.
- id String
- (String) The unique identifier for this VPC.
- name String
- (String) The unique user-defined name for this VPC.
- crn string
- (String) The CRN for this VPC.
- deleteds
Get
Is 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 string
- (String) The URL for this VPC.
- id string
- (String) The unique identifier for this VPC.
- name string
- (String) The unique user-defined name for this VPC.
- crn str
- (String) The CRN for this VPC.
- deleteds
Sequence[Get
Is 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 str
- (String) The URL for this VPC.
- id str
- (String) The unique identifier for this VPC.
- name str
- (String) The unique user-defined name for this VPC.
- crn String
- (String) The CRN for this VPC.
- deleteds List<Property Map>
- (List) If present, this property indicates the referenced resource has been deleted and providessome supplementary information.
Nested scheme for
deleted
: - href String
- (String) The URL for this VPC.
- id String
- (String) The unique identifier for this VPC.
- name String
- (String) The unique user-defined name for this VPC.
GetIsSecurityGroupsSecurityGroupVpcDeleted
- More
Info string - (String) Link to documentation about deleted resources.
- More
Info string - (String) Link to documentation about deleted resources.
- more
Info String - (String) Link to documentation about deleted resources.
- more
Info string - (String) Link to documentation about deleted resources.
- more_
info str - (String) Link to documentation about deleted resources.
- more
Info 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.