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

ibm.getPiNetworkSecurityGroups

Explore with Pulumi AI

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

    Retrieves information about network security groups.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const networkSecurityGroups = ibm.getPiNetworkSecurityGroups({
        piCloudInstanceId: "<value of the cloud_instance_id>",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    network_security_groups = ibm.get_pi_network_security_groups(pi_cloud_instance_id="<value of the cloud_instance_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.GetPiNetworkSecurityGroups(ctx, &ibm.GetPiNetworkSecurityGroupsArgs{
    			PiCloudInstanceId: "<value of the cloud_instance_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 networkSecurityGroups = Ibm.GetPiNetworkSecurityGroups.Invoke(new()
        {
            PiCloudInstanceId = "<value of the cloud_instance_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.GetPiNetworkSecurityGroupsArgs;
    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 networkSecurityGroups = IbmFunctions.getPiNetworkSecurityGroups(GetPiNetworkSecurityGroupsArgs.builder()
                .piCloudInstanceId("<value of the cloud_instance_id>")
                .build());
    
        }
    }
    
    variables:
      networkSecurityGroups:
        fn::invoke:
          function: ibm:getPiNetworkSecurityGroups
          arguments:
            piCloudInstanceId: <value of the cloud_instance_id>
    

    Notes

    • Please find supported Regions for endpoints.
    • If a Power cloud instance is provisioned at lon04, The provider level attributes should be as follows:
      • region - lon
      • zone - lon04

    Example usage:

    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
        }
    }
    
    {}
    

    Using getPiNetworkSecurityGroups

    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 getPiNetworkSecurityGroups(args: GetPiNetworkSecurityGroupsArgs, opts?: InvokeOptions): Promise<GetPiNetworkSecurityGroupsResult>
    function getPiNetworkSecurityGroupsOutput(args: GetPiNetworkSecurityGroupsOutputArgs, opts?: InvokeOptions): Output<GetPiNetworkSecurityGroupsResult>
    def get_pi_network_security_groups(id: Optional[str] = None,
                                       pi_cloud_instance_id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetPiNetworkSecurityGroupsResult
    def get_pi_network_security_groups_output(id: Optional[pulumi.Input[str]] = None,
                                       pi_cloud_instance_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetPiNetworkSecurityGroupsResult]
    func GetPiNetworkSecurityGroups(ctx *Context, args *GetPiNetworkSecurityGroupsArgs, opts ...InvokeOption) (*GetPiNetworkSecurityGroupsResult, error)
    func GetPiNetworkSecurityGroupsOutput(ctx *Context, args *GetPiNetworkSecurityGroupsOutputArgs, opts ...InvokeOption) GetPiNetworkSecurityGroupsResultOutput

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

    public static class GetPiNetworkSecurityGroups 
    {
        public static Task<GetPiNetworkSecurityGroupsResult> InvokeAsync(GetPiNetworkSecurityGroupsArgs args, InvokeOptions? opts = null)
        public static Output<GetPiNetworkSecurityGroupsResult> Invoke(GetPiNetworkSecurityGroupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPiNetworkSecurityGroupsResult> getPiNetworkSecurityGroups(GetPiNetworkSecurityGroupsArgs args, InvokeOptions options)
    public static Output<GetPiNetworkSecurityGroupsResult> getPiNetworkSecurityGroups(GetPiNetworkSecurityGroupsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getPiNetworkSecurityGroups:getPiNetworkSecurityGroups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    Id string
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    Id string
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    id String
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    piCloudInstanceId string
    The GUID of the service instance associated with an account.
    id string
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    pi_cloud_instance_id str
    The GUID of the service instance associated with an account.
    id str
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    id String
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.

    getPiNetworkSecurityGroups Result

    The following output properties are available:

    Id string
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    NetworkSecurityGroups List<GetPiNetworkSecurityGroupsNetworkSecurityGroup>
    (List) list of network security Groups.
    PiCloudInstanceId string
    Id string
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    NetworkSecurityGroups []GetPiNetworkSecurityGroupsNetworkSecurityGroup
    (List) list of network security Groups.
    PiCloudInstanceId string
    id String
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    networkSecurityGroups List<GetPiNetworkSecurityGroupsNetworkSecurityGroup>
    (List) list of network security Groups.
    piCloudInstanceId String
    id string
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    networkSecurityGroups GetPiNetworkSecurityGroupsNetworkSecurityGroup[]
    (List) list of network security Groups.
    piCloudInstanceId string
    id str
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    network_security_groups Sequence[GetPiNetworkSecurityGroupsNetworkSecurityGroup]
    (List) list of network security Groups.
    pi_cloud_instance_id str
    id String
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    networkSecurityGroups List<Property Map>
    (List) list of network security Groups.
    piCloudInstanceId String

    Supporting Types

    GetPiNetworkSecurityGroupsNetworkSecurityGroup

    Crn string
    (String) The network security group's crn.
    Default bool
    (Boolean) Indicates if the network security group is the default network security group in the workspace.
    Id string
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    Members List<GetPiNetworkSecurityGroupsNetworkSecurityGroupMember>
    (List) The list of IPv4 addresses and\or network Interfaces in the network security group.
    Name string
    (String) The name of the network security group.
    Rules List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRule>
    (List) The list of rules in the network security group.
    UserTags List<string>
    (List) List of user tags attached to the resource.
    Crn string
    (String) The network security group's crn.
    Default bool
    (Boolean) Indicates if the network security group is the default network security group in the workspace.
    Id string
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    Members []GetPiNetworkSecurityGroupsNetworkSecurityGroupMember
    (List) The list of IPv4 addresses and\or network Interfaces in the network security group.
    Name string
    (String) The name of the network security group.
    Rules []GetPiNetworkSecurityGroupsNetworkSecurityGroupRule
    (List) The list of rules in the network security group.
    UserTags []string
    (List) List of user tags attached to the resource.
    crn String
    (String) The network security group's crn.
    default_ Boolean
    (Boolean) Indicates if the network security group is the default network security group in the workspace.
    id String
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    members List<GetPiNetworkSecurityGroupsNetworkSecurityGroupMember>
    (List) The list of IPv4 addresses and\or network Interfaces in the network security group.
    name String
    (String) The name of the network security group.
    rules List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRule>
    (List) The list of rules in the network security group.
    userTags List<String>
    (List) List of user tags attached to the resource.
    crn string
    (String) The network security group's crn.
    default boolean
    (Boolean) Indicates if the network security group is the default network security group in the workspace.
    id string
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    members GetPiNetworkSecurityGroupsNetworkSecurityGroupMember[]
    (List) The list of IPv4 addresses and\or network Interfaces in the network security group.
    name string
    (String) The name of the network security group.
    rules GetPiNetworkSecurityGroupsNetworkSecurityGroupRule[]
    (List) The list of rules in the network security group.
    userTags string[]
    (List) List of user tags attached to the resource.
    crn str
    (String) The network security group's crn.
    default bool
    (Boolean) Indicates if the network security group is the default network security group in the workspace.
    id str
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    members Sequence[GetPiNetworkSecurityGroupsNetworkSecurityGroupMember]
    (List) The list of IPv4 addresses and\or network Interfaces in the network security group.
    name str
    (String) The name of the network security group.
    rules Sequence[GetPiNetworkSecurityGroupsNetworkSecurityGroupRule]
    (List) The list of rules in the network security group.
    user_tags Sequence[str]
    (List) List of user tags attached to the resource.
    crn String
    (String) The network security group's crn.
    default Boolean
    (Boolean) Indicates if the network security group is the default network security group in the workspace.
    id String
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    members List<Property Map>
    (List) The list of IPv4 addresses and\or network Interfaces in the network security group.
    name String
    (String) The name of the network security group.
    rules List<Property Map>
    (List) The list of rules in the network security group.
    userTags List<String>
    (List) List of user tags attached to the resource.

    GetPiNetworkSecurityGroupsNetworkSecurityGroupMember

    Id string
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    MacAddress string
    (String) The mac address of a network Interface included if the type is network-interface.
    NetworkInterfaceId string
    (String) The network ID of a network interface included if the type is network-interface.
    Target string
    (String) If ipv4-address type, then IPv4 address or if network-interface type, then network interface id.
    Type string
    (String) The type of remote group the rules apply to. Supported values are: network-security-group, network-address-group, default-network-address-group.
    Id string
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    MacAddress string
    (String) The mac address of a network Interface included if the type is network-interface.
    NetworkInterfaceId string
    (String) The network ID of a network interface included if the type is network-interface.
    Target string
    (String) If ipv4-address type, then IPv4 address or if network-interface type, then network interface id.
    Type string
    (String) The type of remote group the rules apply to. Supported values are: network-security-group, network-address-group, default-network-address-group.
    id String
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    macAddress String
    (String) The mac address of a network Interface included if the type is network-interface.
    networkInterfaceId String
    (String) The network ID of a network interface included if the type is network-interface.
    target String
    (String) If ipv4-address type, then IPv4 address or if network-interface type, then network interface id.
    type String
    (String) The type of remote group the rules apply to. Supported values are: network-security-group, network-address-group, default-network-address-group.
    id string
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    macAddress string
    (String) The mac address of a network Interface included if the type is network-interface.
    networkInterfaceId string
    (String) The network ID of a network interface included if the type is network-interface.
    target string
    (String) If ipv4-address type, then IPv4 address or if network-interface type, then network interface id.
    type string
    (String) The type of remote group the rules apply to. Supported values are: network-security-group, network-address-group, default-network-address-group.
    id str
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    mac_address str
    (String) The mac address of a network Interface included if the type is network-interface.
    network_interface_id str
    (String) The network ID of a network interface included if the type is network-interface.
    target str
    (String) If ipv4-address type, then IPv4 address or if network-interface type, then network interface id.
    type str
    (String) The type of remote group the rules apply to. Supported values are: network-security-group, network-address-group, default-network-address-group.
    id String
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    macAddress String
    (String) The mac address of a network Interface included if the type is network-interface.
    networkInterfaceId String
    (String) The network ID of a network interface included if the type is network-interface.
    target String
    (String) If ipv4-address type, then IPv4 address or if network-interface type, then network interface id.
    type String
    (String) The type of remote group the rules apply to. Supported values are: network-security-group, network-address-group, default-network-address-group.

    GetPiNetworkSecurityGroupsNetworkSecurityGroupRule

    Action string
    (String) The action to take if the rule matches network traffic. Supported values are: allow, deny.
    DestinationPorts List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleDestinationPort>
    (List) List of destination port.
    Id string
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    Protocols List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleProtocol>
    (List) List of protocol.
    Remotes List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleRemote>
    (List) List of remote.
    SourcePorts List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleSourcePort>
    (List) List of source port.
    Action string
    (String) The action to take if the rule matches network traffic. Supported values are: allow, deny.
    DestinationPorts []GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleDestinationPort
    (List) List of destination port.
    Id string
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    Protocols []GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleProtocol
    (List) List of protocol.
    Remotes []GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleRemote
    (List) List of remote.
    SourcePorts []GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleSourcePort
    (List) List of source port.
    action String
    (String) The action to take if the rule matches network traffic. Supported values are: allow, deny.
    destinationPorts List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleDestinationPort>
    (List) List of destination port.
    id String
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    protocols List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleProtocol>
    (List) List of protocol.
    remotes List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleRemote>
    (List) List of remote.
    sourcePorts List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleSourcePort>
    (List) List of source port.
    action string
    (String) The action to take if the rule matches network traffic. Supported values are: allow, deny.
    destinationPorts GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleDestinationPort[]
    (List) List of destination port.
    id string
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    protocols GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleProtocol[]
    (List) List of protocol.
    remotes GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleRemote[]
    (List) List of remote.
    sourcePorts GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleSourcePort[]
    (List) List of source port.
    action str
    (String) The action to take if the rule matches network traffic. Supported values are: allow, deny.
    destination_ports Sequence[GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleDestinationPort]
    (List) List of destination port.
    id str
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    protocols Sequence[GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleProtocol]
    (List) List of protocol.
    remotes Sequence[GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleRemote]
    (List) List of remote.
    source_ports Sequence[GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleSourcePort]
    (List) List of source port.
    action String
    (String) The action to take if the rule matches network traffic. Supported values are: allow, deny.
    destinationPorts List<Property Map>
    (List) List of destination port.
    id String
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    protocols List<Property Map>
    (List) List of protocol.
    remotes List<Property Map>
    (List) List of remote.
    sourcePorts List<Property Map>
    (List) List of source port.

    GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleDestinationPort

    Maximum double
    (Integer) The end of the port range, if applicable. If the value is not present then the default value of 65535 will be the maximum port number.
    Minimum double
    (Integer) The start of the port range, if applicable. If the value is not present then the default value of 1 will be the minimum port number.
    Maximum float64
    (Integer) The end of the port range, if applicable. If the value is not present then the default value of 65535 will be the maximum port number.
    Minimum float64
    (Integer) The start of the port range, if applicable. If the value is not present then the default value of 1 will be the minimum port number.
    maximum Double
    (Integer) The end of the port range, if applicable. If the value is not present then the default value of 65535 will be the maximum port number.
    minimum Double
    (Integer) The start of the port range, if applicable. If the value is not present then the default value of 1 will be the minimum port number.
    maximum number
    (Integer) The end of the port range, if applicable. If the value is not present then the default value of 65535 will be the maximum port number.
    minimum number
    (Integer) The start of the port range, if applicable. If the value is not present then the default value of 1 will be the minimum port number.
    maximum float
    (Integer) The end of the port range, if applicable. If the value is not present then the default value of 65535 will be the maximum port number.
    minimum float
    (Integer) The start of the port range, if applicable. If the value is not present then the default value of 1 will be the minimum port number.
    maximum Number
    (Integer) The end of the port range, if applicable. If the value is not present then the default value of 65535 will be the maximum port number.
    minimum Number
    (Integer) The start of the port range, if applicable. If the value is not present then the default value of 1 will be the minimum port number.

    GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleProtocol

    IcmpType string
    (String) If icmp type, a ICMP packet type affected by ICMP rules and if not present then all types are matched.
    TcpFlags List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleProtocolTcpFlag>
    (String) If tcp type, the list of TCP flags and if not present then all flags are matched. Supported values are: syn, ack, fin, rst.
    Type string
    (String) The type of remote group the rules apply to. Supported values are: network-security-group, network-address-group, default-network-address-group.
    IcmpType string
    (String) If icmp type, a ICMP packet type affected by ICMP rules and if not present then all types are matched.
    TcpFlags []GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleProtocolTcpFlag
    (String) If tcp type, the list of TCP flags and if not present then all flags are matched. Supported values are: syn, ack, fin, rst.
    Type string
    (String) The type of remote group the rules apply to. Supported values are: network-security-group, network-address-group, default-network-address-group.
    icmpType String
    (String) If icmp type, a ICMP packet type affected by ICMP rules and if not present then all types are matched.
    tcpFlags List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleProtocolTcpFlag>
    (String) If tcp type, the list of TCP flags and if not present then all flags are matched. Supported values are: syn, ack, fin, rst.
    type String
    (String) The type of remote group the rules apply to. Supported values are: network-security-group, network-address-group, default-network-address-group.
    icmpType string
    (String) If icmp type, a ICMP packet type affected by ICMP rules and if not present then all types are matched.
    tcpFlags GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleProtocolTcpFlag[]
    (String) If tcp type, the list of TCP flags and if not present then all flags are matched. Supported values are: syn, ack, fin, rst.
    type string
    (String) The type of remote group the rules apply to. Supported values are: network-security-group, network-address-group, default-network-address-group.
    icmp_type str
    (String) If icmp type, a ICMP packet type affected by ICMP rules and if not present then all types are matched.
    tcp_flags Sequence[GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleProtocolTcpFlag]
    (String) If tcp type, the list of TCP flags and if not present then all flags are matched. Supported values are: syn, ack, fin, rst.
    type str
    (String) The type of remote group the rules apply to. Supported values are: network-security-group, network-address-group, default-network-address-group.
    icmpType String
    (String) If icmp type, a ICMP packet type affected by ICMP rules and if not present then all types are matched.
    tcpFlags List<Property Map>
    (String) If tcp type, the list of TCP flags and if not present then all flags are matched. Supported values are: syn, ack, fin, rst.
    type String
    (String) The type of remote group the rules apply to. Supported values are: network-security-group, network-address-group, default-network-address-group.

    GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleProtocolTcpFlag

    Flag string
    Flag string
    flag String
    flag string
    flag str
    flag String

    GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleRemote

    Id string
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    Type string
    (String) The type of remote group the rules apply to. Supported values are: network-security-group, network-address-group, default-network-address-group.
    Id string
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    Type string
    (String) The type of remote group the rules apply to. Supported values are: network-security-group, network-address-group, default-network-address-group.
    id String
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    type String
    (String) The type of remote group the rules apply to. Supported values are: network-security-group, network-address-group, default-network-address-group.
    id string
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    type string
    (String) The type of remote group the rules apply to. Supported values are: network-security-group, network-address-group, default-network-address-group.
    id str
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    type str
    (String) The type of remote group the rules apply to. Supported values are: network-security-group, network-address-group, default-network-address-group.
    id String
    (String) The id of the remote network Address group or network security group the rules apply to. Not required for default-network-address-group.
    type String
    (String) The type of remote group the rules apply to. Supported values are: network-security-group, network-address-group, default-network-address-group.

    GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleSourcePort

    Maximum double
    (Integer) The end of the port range, if applicable. If the value is not present then the default value of 65535 will be the maximum port number.
    Minimum double
    (Integer) The start of the port range, if applicable. If the value is not present then the default value of 1 will be the minimum port number.
    Maximum float64
    (Integer) The end of the port range, if applicable. If the value is not present then the default value of 65535 will be the maximum port number.
    Minimum float64
    (Integer) The start of the port range, if applicable. If the value is not present then the default value of 1 will be the minimum port number.
    maximum Double
    (Integer) The end of the port range, if applicable. If the value is not present then the default value of 65535 will be the maximum port number.
    minimum Double
    (Integer) The start of the port range, if applicable. If the value is not present then the default value of 1 will be the minimum port number.
    maximum number
    (Integer) The end of the port range, if applicable. If the value is not present then the default value of 65535 will be the maximum port number.
    minimum number
    (Integer) The start of the port range, if applicable. If the value is not present then the default value of 1 will be the minimum port number.
    maximum float
    (Integer) The end of the port range, if applicable. If the value is not present then the default value of 65535 will be the maximum port number.
    minimum float
    (Integer) The start of the port range, if applicable. If the value is not present then the default value of 1 will be the minimum port number.
    maximum Number
    (Integer) The end of the port range, if applicable. If the value is not present then the default value of 65535 will be the maximum port number.
    minimum Number
    (Integer) The start of the port range, if applicable. If the value is not present then the default value of 1 will be the minimum port number.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud