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

ibm.getPiNetworkSecurityGroups

Explore with Pulumi AI

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>",
});
Copy
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>")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ibm.GetPiNetworkSecurityGroups(ctx, &ibm.GetPiNetworkSecurityGroupsArgs{
			PiCloudInstanceId: "<value of the cloud_instance_id>",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var networkSecurityGroups = Ibm.GetPiNetworkSecurityGroups.Invoke(new()
    {
        PiCloudInstanceId = "<value of the cloud_instance_id>",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.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());

    }
}
Copy
variables:
  networkSecurityGroups:
    fn::invoke:
      function: ibm:getPiNetworkSecurityGroups
      arguments:
        piCloudInstanceId: <value of the cloud_instance_id>
Copy

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

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

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

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

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
    }
}
Copy
{}
Copy

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>
Copy
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]
Copy
func GetPiNetworkSecurityGroups(ctx *Context, args *GetPiNetworkSecurityGroupsArgs, opts ...InvokeOption) (*GetPiNetworkSecurityGroupsResult, error)
func GetPiNetworkSecurityGroupsOutput(ctx *Context, args *GetPiNetworkSecurityGroupsOutputArgs, opts ...InvokeOption) GetPiNetworkSecurityGroupsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetPiNetworkSecurityGroupsResult> getPiNetworkSecurityGroups(GetPiNetworkSecurityGroupsArgs args, InvokeOptions options)
public static Output<GetPiNetworkSecurityGroupsResult> getPiNetworkSecurityGroups(GetPiNetworkSecurityGroupsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getPiNetworkSecurityGroups:getPiNetworkSecurityGroups
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

PiCloudInstanceId This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
(String) The network security group's crn.
Default This property is required. bool
(Boolean) Indicates if the network security group is the default network security group in the workspace.
Id This property is required. 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 This property is required. List<GetPiNetworkSecurityGroupsNetworkSecurityGroupMember>
(List) The list of IPv4 addresses and\or network Interfaces in the network security group.
Name This property is required. string
(String) The name of the network security group.
Rules This property is required. List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRule>
(List) The list of rules in the network security group.
UserTags This property is required. List<string>
(List) List of user tags attached to the resource.
Crn This property is required. string
(String) The network security group's crn.
Default This property is required. bool
(Boolean) Indicates if the network security group is the default network security group in the workspace.
Id This property is required. 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 This property is required. []GetPiNetworkSecurityGroupsNetworkSecurityGroupMember
(List) The list of IPv4 addresses and\or network Interfaces in the network security group.
Name This property is required. string
(String) The name of the network security group.
Rules This property is required. []GetPiNetworkSecurityGroupsNetworkSecurityGroupRule
(List) The list of rules in the network security group.
UserTags This property is required. []string
(List) List of user tags attached to the resource.
crn This property is required. String
(String) The network security group's crn.
default_ This property is required. Boolean
(Boolean) Indicates if the network security group is the default network security group in the workspace.
id This property is required. 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 This property is required. List<GetPiNetworkSecurityGroupsNetworkSecurityGroupMember>
(List) The list of IPv4 addresses and\or network Interfaces in the network security group.
name This property is required. String
(String) The name of the network security group.
rules This property is required. List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRule>
(List) The list of rules in the network security group.
userTags This property is required. List<String>
(List) List of user tags attached to the resource.
crn This property is required. string
(String) The network security group's crn.
default This property is required. boolean
(Boolean) Indicates if the network security group is the default network security group in the workspace.
id This property is required. 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 This property is required. GetPiNetworkSecurityGroupsNetworkSecurityGroupMember[]
(List) The list of IPv4 addresses and\or network Interfaces in the network security group.
name This property is required. string
(String) The name of the network security group.
rules This property is required. GetPiNetworkSecurityGroupsNetworkSecurityGroupRule[]
(List) The list of rules in the network security group.
userTags This property is required. string[]
(List) List of user tags attached to the resource.
crn This property is required. str
(String) The network security group's crn.
default This property is required. bool
(Boolean) Indicates if the network security group is the default network security group in the workspace.
id This property is required. 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 This property is required. Sequence[GetPiNetworkSecurityGroupsNetworkSecurityGroupMember]
(List) The list of IPv4 addresses and\or network Interfaces in the network security group.
name This property is required. str
(String) The name of the network security group.
rules This property is required. Sequence[GetPiNetworkSecurityGroupsNetworkSecurityGroupRule]
(List) The list of rules in the network security group.
user_tags This property is required. Sequence[str]
(List) List of user tags attached to the resource.
crn This property is required. String
(String) The network security group's crn.
default This property is required. Boolean
(Boolean) Indicates if the network security group is the default network security group in the workspace.
id This property is required. 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 This property is required. List<Property Map>
(List) The list of IPv4 addresses and\or network Interfaces in the network security group.
name This property is required. String
(String) The name of the network security group.
rules This property is required. List<Property Map>
(List) The list of rules in the network security group.
userTags This property is required. List<String>
(List) List of user tags attached to the resource.

GetPiNetworkSecurityGroupsNetworkSecurityGroupMember

Id This property is required. 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 This property is required. string
(String) The mac address of a network Interface included if the type is network-interface.
NetworkInterfaceId This property is required. string
(String) The network ID of a network interface included if the type is network-interface.
Target This property is required. string
(String) If ipv4-address type, then IPv4 address or if network-interface type, then network interface id.
Type This property is required. 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 This property is required. 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 This property is required. string
(String) The mac address of a network Interface included if the type is network-interface.
NetworkInterfaceId This property is required. string
(String) The network ID of a network interface included if the type is network-interface.
Target This property is required. string
(String) If ipv4-address type, then IPv4 address or if network-interface type, then network interface id.
Type This property is required. 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 This property is required. 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 This property is required. String
(String) The mac address of a network Interface included if the type is network-interface.
networkInterfaceId This property is required. String
(String) The network ID of a network interface included if the type is network-interface.
target This property is required. String
(String) If ipv4-address type, then IPv4 address or if network-interface type, then network interface id.
type This property is required. 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 This property is required. 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 This property is required. string
(String) The mac address of a network Interface included if the type is network-interface.
networkInterfaceId This property is required. string
(String) The network ID of a network interface included if the type is network-interface.
target This property is required. string
(String) If ipv4-address type, then IPv4 address or if network-interface type, then network interface id.
type This property is required. 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 This property is required. 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 This property is required. str
(String) The mac address of a network Interface included if the type is network-interface.
network_interface_id This property is required. str
(String) The network ID of a network interface included if the type is network-interface.
target This property is required. str
(String) If ipv4-address type, then IPv4 address or if network-interface type, then network interface id.
type This property is required. 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 This property is required. 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 This property is required. String
(String) The mac address of a network Interface included if the type is network-interface.
networkInterfaceId This property is required. String
(String) The network ID of a network interface included if the type is network-interface.
target This property is required. String
(String) If ipv4-address type, then IPv4 address or if network-interface type, then network interface id.
type This property is required. 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 This property is required. string
(String) The action to take if the rule matches network traffic. Supported values are: allow, deny.
DestinationPorts This property is required. List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleDestinationPort>
(List) List of destination port.
Id This property is required. 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 This property is required. List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleProtocol>
(List) List of protocol.
Remotes This property is required. List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleRemote>
(List) List of remote.
SourcePorts This property is required. List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleSourcePort>
(List) List of source port.
Action This property is required. string
(String) The action to take if the rule matches network traffic. Supported values are: allow, deny.
DestinationPorts This property is required. []GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleDestinationPort
(List) List of destination port.
Id This property is required. 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 This property is required. []GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleProtocol
(List) List of protocol.
Remotes This property is required. []GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleRemote
(List) List of remote.
SourcePorts This property is required. []GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleSourcePort
(List) List of source port.
action This property is required. String
(String) The action to take if the rule matches network traffic. Supported values are: allow, deny.
destinationPorts This property is required. List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleDestinationPort>
(List) List of destination port.
id This property is required. 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 This property is required. List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleProtocol>
(List) List of protocol.
remotes This property is required. List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleRemote>
(List) List of remote.
sourcePorts This property is required. List<GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleSourcePort>
(List) List of source port.
action This property is required. string
(String) The action to take if the rule matches network traffic. Supported values are: allow, deny.
destinationPorts This property is required. GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleDestinationPort[]
(List) List of destination port.
id This property is required. 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 This property is required. GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleProtocol[]
(List) List of protocol.
remotes This property is required. GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleRemote[]
(List) List of remote.
sourcePorts This property is required. GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleSourcePort[]
(List) List of source port.
action This property is required. str
(String) The action to take if the rule matches network traffic. Supported values are: allow, deny.
destination_ports This property is required. Sequence[GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleDestinationPort]
(List) List of destination port.
id This property is required. 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 This property is required. Sequence[GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleProtocol]
(List) List of protocol.
remotes This property is required. Sequence[GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleRemote]
(List) List of remote.
source_ports This property is required. Sequence[GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleSourcePort]
(List) List of source port.
action This property is required. String
(String) The action to take if the rule matches network traffic. Supported values are: allow, deny.
destinationPorts This property is required. List<Property Map>
(List) List of destination port.
id This property is required. 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 This property is required. List<Property Map>
(List) List of protocol.
remotes This property is required. List<Property Map>
(List) List of remote.
sourcePorts This property is required. List<Property Map>
(List) List of source port.

GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleDestinationPort

Maximum This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. string
(String) If icmp type, a ICMP packet type affected by ICMP rules and if not present then all types are matched.
TcpFlags This property is required. 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 This property is required. 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 This property is required. string
(String) If icmp type, a ICMP packet type affected by ICMP rules and if not present then all types are matched.
TcpFlags This property is required. []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 This property is required. 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 This property is required. String
(String) If icmp type, a ICMP packet type affected by ICMP rules and if not present then all types are matched.
tcpFlags This property is required. 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 This property is required. 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 This property is required. string
(String) If icmp type, a ICMP packet type affected by ICMP rules and if not present then all types are matched.
tcpFlags This property is required. 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 This property is required. 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 This property is required. str
(String) If icmp type, a ICMP packet type affected by ICMP rules and if not present then all types are matched.
tcp_flags This property is required. 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 This property is required. 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 This property is required. String
(String) If icmp type, a ICMP packet type affected by ICMP rules and if not present then all types are matched.
tcpFlags This property is required. 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 This property is required. 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 This property is required. string
Flag This property is required. string
flag This property is required. String
flag This property is required. string
flag This property is required. str
flag This property is required. String

GetPiNetworkSecurityGroupsNetworkSecurityGroupRuleRemote

Id This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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.