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

ibm.CisRangeApp

Explore with Pulumi AI

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

    Create, update, or delete range application an IBM Cloud Internet Services domain. For more information, about range, see protecting TCP traffic.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const app = new ibm.CisRangeApp("app", {
        cisId: data.ibm_cis.cis.id,
        domainId: data.ibm_cis_domain.cis_domain.id,
        protocol: "tcp/22",
        dnsType: "CNAME",
        dns: "ssh.example.com",
        originDirects: ["tcp://12.1.1.1:22"],
        ipFirewall: true,
        proxyProtocol: "v1",
        trafficType: "direct",
        tls: "off",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    app = ibm.CisRangeApp("app",
        cis_id=data["ibm_cis"]["cis"]["id"],
        domain_id=data["ibm_cis_domain"]["cis_domain"]["id"],
        protocol="tcp/22",
        dns_type="CNAME",
        dns="ssh.example.com",
        origin_directs=["tcp://12.1.1.1:22"],
        ip_firewall=True,
        proxy_protocol="v1",
        traffic_type="direct",
        tls="off")
    
    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.NewCisRangeApp(ctx, "app", &ibm.CisRangeAppArgs{
    			CisId:    pulumi.Any(data.Ibm_cis.Cis.Id),
    			DomainId: pulumi.Any(data.Ibm_cis_domain.Cis_domain.Id),
    			Protocol: pulumi.String("tcp/22"),
    			DnsType:  pulumi.String("CNAME"),
    			Dns:      pulumi.String("ssh.example.com"),
    			OriginDirects: pulumi.StringArray{
    				pulumi.String("tcp://12.1.1.1:22"),
    			},
    			IpFirewall:    pulumi.Bool(true),
    			ProxyProtocol: pulumi.String("v1"),
    			TrafficType:   pulumi.String("direct"),
    			Tls:           pulumi.String("off"),
    		})
    		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 app = new Ibm.CisRangeApp("app", new()
        {
            CisId = data.Ibm_cis.Cis.Id,
            DomainId = data.Ibm_cis_domain.Cis_domain.Id,
            Protocol = "tcp/22",
            DnsType = "CNAME",
            Dns = "ssh.example.com",
            OriginDirects = new[]
            {
                "tcp://12.1.1.1:22",
            },
            IpFirewall = true,
            ProxyProtocol = "v1",
            TrafficType = "direct",
            Tls = "off",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.CisRangeApp;
    import com.pulumi.ibm.CisRangeAppArgs;
    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) {
            var app = new CisRangeApp("app", CisRangeAppArgs.builder()
                .cisId(data.ibm_cis().cis().id())
                .domainId(data.ibm_cis_domain().cis_domain().id())
                .protocol("tcp/22")
                .dnsType("CNAME")
                .dns("ssh.example.com")
                .originDirects("tcp://12.1.1.1:22")
                .ipFirewall(true)
                .proxyProtocol("v1")
                .trafficType("direct")
                .tls("off")
                .build());
    
        }
    }
    
    resources:
      app:
        type: ibm:CisRangeApp
        properties:
          cisId: ${data.ibm_cis.cis.id}
          domainId: ${data.ibm_cis_domain.cis_domain.id}
          protocol: tcp/22
          dnsType: CNAME
          dns: ssh.example.com
          originDirects:
            - tcp://12.1.1.1:22
          ipFirewall: true
          proxyProtocol: v1
          trafficType: direct
          tls: off
    

    Create CisRangeApp Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CisRangeApp(name: string, args: CisRangeAppArgs, opts?: CustomResourceOptions);
    @overload
    def CisRangeApp(resource_name: str,
                    args: CisRangeAppArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def CisRangeApp(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    cis_id: Optional[str] = None,
                    protocol: Optional[str] = None,
                    dns: Optional[str] = None,
                    dns_type: Optional[str] = None,
                    domain_id: Optional[str] = None,
                    edge_ips_type: Optional[str] = None,
                    edge_ips_connectivity: Optional[str] = None,
                    ip_firewall: Optional[bool] = None,
                    origin_directs: Optional[Sequence[str]] = None,
                    origin_dns: Optional[str] = None,
                    origin_port: Optional[float] = None,
                    cis_range_app_id: Optional[str] = None,
                    proxy_protocol: Optional[str] = None,
                    tls: Optional[str] = None,
                    traffic_type: Optional[str] = None)
    func NewCisRangeApp(ctx *Context, name string, args CisRangeAppArgs, opts ...ResourceOption) (*CisRangeApp, error)
    public CisRangeApp(string name, CisRangeAppArgs args, CustomResourceOptions? opts = null)
    public CisRangeApp(String name, CisRangeAppArgs args)
    public CisRangeApp(String name, CisRangeAppArgs args, CustomResourceOptions options)
    
    type: ibm:CisRangeApp
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CisRangeAppArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CisRangeAppArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CisRangeAppArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CisRangeAppArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CisRangeAppArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cisRangeAppResource = new Ibm.CisRangeApp("cisRangeAppResource", new()
    {
        CisId = "string",
        Protocol = "string",
        Dns = "string",
        DnsType = "string",
        DomainId = "string",
        EdgeIpsType = "string",
        EdgeIpsConnectivity = "string",
        IpFirewall = false,
        OriginDirects = new[]
        {
            "string",
        },
        OriginDns = "string",
        OriginPort = 0,
        CisRangeAppId = "string",
        ProxyProtocol = "string",
        Tls = "string",
        TrafficType = "string",
    });
    
    example, err := ibm.NewCisRangeApp(ctx, "cisRangeAppResource", &ibm.CisRangeAppArgs{
    	CisId:               pulumi.String("string"),
    	Protocol:            pulumi.String("string"),
    	Dns:                 pulumi.String("string"),
    	DnsType:             pulumi.String("string"),
    	DomainId:            pulumi.String("string"),
    	EdgeIpsType:         pulumi.String("string"),
    	EdgeIpsConnectivity: pulumi.String("string"),
    	IpFirewall:          pulumi.Bool(false),
    	OriginDirects: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	OriginDns:     pulumi.String("string"),
    	OriginPort:    pulumi.Float64(0),
    	CisRangeAppId: pulumi.String("string"),
    	ProxyProtocol: pulumi.String("string"),
    	Tls:           pulumi.String("string"),
    	TrafficType:   pulumi.String("string"),
    })
    
    var cisRangeAppResource = new CisRangeApp("cisRangeAppResource", CisRangeAppArgs.builder()
        .cisId("string")
        .protocol("string")
        .dns("string")
        .dnsType("string")
        .domainId("string")
        .edgeIpsType("string")
        .edgeIpsConnectivity("string")
        .ipFirewall(false)
        .originDirects("string")
        .originDns("string")
        .originPort(0)
        .cisRangeAppId("string")
        .proxyProtocol("string")
        .tls("string")
        .trafficType("string")
        .build());
    
    cis_range_app_resource = ibm.CisRangeApp("cisRangeAppResource",
        cis_id="string",
        protocol="string",
        dns="string",
        dns_type="string",
        domain_id="string",
        edge_ips_type="string",
        edge_ips_connectivity="string",
        ip_firewall=False,
        origin_directs=["string"],
        origin_dns="string",
        origin_port=0,
        cis_range_app_id="string",
        proxy_protocol="string",
        tls="string",
        traffic_type="string")
    
    const cisRangeAppResource = new ibm.CisRangeApp("cisRangeAppResource", {
        cisId: "string",
        protocol: "string",
        dns: "string",
        dnsType: "string",
        domainId: "string",
        edgeIpsType: "string",
        edgeIpsConnectivity: "string",
        ipFirewall: false,
        originDirects: ["string"],
        originDns: "string",
        originPort: 0,
        cisRangeAppId: "string",
        proxyProtocol: "string",
        tls: "string",
        trafficType: "string",
    });
    
    type: ibm:CisRangeApp
    properties:
        cisId: string
        cisRangeAppId: string
        dns: string
        dnsType: string
        domainId: string
        edgeIpsConnectivity: string
        edgeIpsType: string
        ipFirewall: false
        originDirects:
            - string
        originDns: string
        originPort: 0
        protocol: string
        proxyProtocol: string
        tls: string
        trafficType: string
    

    CisRangeApp Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CisRangeApp resource accepts the following input properties:

    CisId string
    The ID of the IBM Cloud Internet Services instance.
    Dns string
    The name of DNS record for the range application.
    DnsType string
    The DNS record type.
    DomainId string
    The ID of the domain where you want to add the range app.
    Protocol string
    The edge application protocol type. Valid values are tcp, udp. This attribute specified along with port number. For example, tcp/22.
    CisRangeAppId string
    (String) The ID of the range application in the format <app_id>:<domain_id>:<cis_id>.
    EdgeIpsConnectivity string
    Specified IP version. Valid values are ipv4, ipv6, all. Default value is all.
    EdgeIpsType string
    The type of edge IP configuration. Valid value is dynamic. Default value is dynamic.
    IpFirewall bool
    Enables the IP firewall for the application. Only available for TCP applications.
    OriginDirects List<string>
    List of string-Optional-A list of destination addresses to the origin. IP address and port of the origin for range application. If configuring a Load Balancer, use origin_dns and origin_port. This cannot be combined with origin_dns and origin_port. For example, tcp://192.0.2.1:22.
    OriginDns string
    DNS record pointing to the origin for the range application. This is used for configuring a Load Balancer. This requires origin_port and cannot be combined with origin_direct. When specifying an individual IP address, use origin_direct. For example, origin.net.
    OriginPort double
    Port at the origin that listens to traffic from the range application. Requires origin_dns and cannot be combined with origin_direct.
    ProxyProtocol string
    Allows for the true client IP to be passed to the service. Valid values are off, v1, v2, simple. Default value is off.
    Tls string
    Configure how TLS connections are terminated at the edge. Valid values are off, flexible, full, strict. Default value is off.
    TrafficType string
    Configure how traffic is handled at the edge. If set to direct traffic is passed through to the service. In the case of HTTP or HTTPS, HTTPS features at the edge are applied to this traffic. Valid values are direct, http, https. Default value is direct.
    CisId string
    The ID of the IBM Cloud Internet Services instance.
    Dns string
    The name of DNS record for the range application.
    DnsType string
    The DNS record type.
    DomainId string
    The ID of the domain where you want to add the range app.
    Protocol string
    The edge application protocol type. Valid values are tcp, udp. This attribute specified along with port number. For example, tcp/22.
    CisRangeAppId string
    (String) The ID of the range application in the format <app_id>:<domain_id>:<cis_id>.
    EdgeIpsConnectivity string
    Specified IP version. Valid values are ipv4, ipv6, all. Default value is all.
    EdgeIpsType string
    The type of edge IP configuration. Valid value is dynamic. Default value is dynamic.
    IpFirewall bool
    Enables the IP firewall for the application. Only available for TCP applications.
    OriginDirects []string
    List of string-Optional-A list of destination addresses to the origin. IP address and port of the origin for range application. If configuring a Load Balancer, use origin_dns and origin_port. This cannot be combined with origin_dns and origin_port. For example, tcp://192.0.2.1:22.
    OriginDns string
    DNS record pointing to the origin for the range application. This is used for configuring a Load Balancer. This requires origin_port and cannot be combined with origin_direct. When specifying an individual IP address, use origin_direct. For example, origin.net.
    OriginPort float64
    Port at the origin that listens to traffic from the range application. Requires origin_dns and cannot be combined with origin_direct.
    ProxyProtocol string
    Allows for the true client IP to be passed to the service. Valid values are off, v1, v2, simple. Default value is off.
    Tls string
    Configure how TLS connections are terminated at the edge. Valid values are off, flexible, full, strict. Default value is off.
    TrafficType string
    Configure how traffic is handled at the edge. If set to direct traffic is passed through to the service. In the case of HTTP or HTTPS, HTTPS features at the edge are applied to this traffic. Valid values are direct, http, https. Default value is direct.
    cisId String
    The ID of the IBM Cloud Internet Services instance.
    dns String
    The name of DNS record for the range application.
    dnsType String
    The DNS record type.
    domainId String
    The ID of the domain where you want to add the range app.
    protocol String
    The edge application protocol type. Valid values are tcp, udp. This attribute specified along with port number. For example, tcp/22.
    cisRangeAppId String
    (String) The ID of the range application in the format <app_id>:<domain_id>:<cis_id>.
    edgeIpsConnectivity String
    Specified IP version. Valid values are ipv4, ipv6, all. Default value is all.
    edgeIpsType String
    The type of edge IP configuration. Valid value is dynamic. Default value is dynamic.
    ipFirewall Boolean
    Enables the IP firewall for the application. Only available for TCP applications.
    originDirects List<String>
    List of string-Optional-A list of destination addresses to the origin. IP address and port of the origin for range application. If configuring a Load Balancer, use origin_dns and origin_port. This cannot be combined with origin_dns and origin_port. For example, tcp://192.0.2.1:22.
    originDns String
    DNS record pointing to the origin for the range application. This is used for configuring a Load Balancer. This requires origin_port and cannot be combined with origin_direct. When specifying an individual IP address, use origin_direct. For example, origin.net.
    originPort Double
    Port at the origin that listens to traffic from the range application. Requires origin_dns and cannot be combined with origin_direct.
    proxyProtocol String
    Allows for the true client IP to be passed to the service. Valid values are off, v1, v2, simple. Default value is off.
    tls String
    Configure how TLS connections are terminated at the edge. Valid values are off, flexible, full, strict. Default value is off.
    trafficType String
    Configure how traffic is handled at the edge. If set to direct traffic is passed through to the service. In the case of HTTP or HTTPS, HTTPS features at the edge are applied to this traffic. Valid values are direct, http, https. Default value is direct.
    cisId string
    The ID of the IBM Cloud Internet Services instance.
    dns string
    The name of DNS record for the range application.
    dnsType string
    The DNS record type.
    domainId string
    The ID of the domain where you want to add the range app.
    protocol string
    The edge application protocol type. Valid values are tcp, udp. This attribute specified along with port number. For example, tcp/22.
    cisRangeAppId string
    (String) The ID of the range application in the format <app_id>:<domain_id>:<cis_id>.
    edgeIpsConnectivity string
    Specified IP version. Valid values are ipv4, ipv6, all. Default value is all.
    edgeIpsType string
    The type of edge IP configuration. Valid value is dynamic. Default value is dynamic.
    ipFirewall boolean
    Enables the IP firewall for the application. Only available for TCP applications.
    originDirects string[]
    List of string-Optional-A list of destination addresses to the origin. IP address and port of the origin for range application. If configuring a Load Balancer, use origin_dns and origin_port. This cannot be combined with origin_dns and origin_port. For example, tcp://192.0.2.1:22.
    originDns string
    DNS record pointing to the origin for the range application. This is used for configuring a Load Balancer. This requires origin_port and cannot be combined with origin_direct. When specifying an individual IP address, use origin_direct. For example, origin.net.
    originPort number
    Port at the origin that listens to traffic from the range application. Requires origin_dns and cannot be combined with origin_direct.
    proxyProtocol string
    Allows for the true client IP to be passed to the service. Valid values are off, v1, v2, simple. Default value is off.
    tls string
    Configure how TLS connections are terminated at the edge. Valid values are off, flexible, full, strict. Default value is off.
    trafficType string
    Configure how traffic is handled at the edge. If set to direct traffic is passed through to the service. In the case of HTTP or HTTPS, HTTPS features at the edge are applied to this traffic. Valid values are direct, http, https. Default value is direct.
    cis_id str
    The ID of the IBM Cloud Internet Services instance.
    dns str
    The name of DNS record for the range application.
    dns_type str
    The DNS record type.
    domain_id str
    The ID of the domain where you want to add the range app.
    protocol str
    The edge application protocol type. Valid values are tcp, udp. This attribute specified along with port number. For example, tcp/22.
    cis_range_app_id str
    (String) The ID of the range application in the format <app_id>:<domain_id>:<cis_id>.
    edge_ips_connectivity str
    Specified IP version. Valid values are ipv4, ipv6, all. Default value is all.
    edge_ips_type str
    The type of edge IP configuration. Valid value is dynamic. Default value is dynamic.
    ip_firewall bool
    Enables the IP firewall for the application. Only available for TCP applications.
    origin_directs Sequence[str]
    List of string-Optional-A list of destination addresses to the origin. IP address and port of the origin for range application. If configuring a Load Balancer, use origin_dns and origin_port. This cannot be combined with origin_dns and origin_port. For example, tcp://192.0.2.1:22.
    origin_dns str
    DNS record pointing to the origin for the range application. This is used for configuring a Load Balancer. This requires origin_port and cannot be combined with origin_direct. When specifying an individual IP address, use origin_direct. For example, origin.net.
    origin_port float
    Port at the origin that listens to traffic from the range application. Requires origin_dns and cannot be combined with origin_direct.
    proxy_protocol str
    Allows for the true client IP to be passed to the service. Valid values are off, v1, v2, simple. Default value is off.
    tls str
    Configure how TLS connections are terminated at the edge. Valid values are off, flexible, full, strict. Default value is off.
    traffic_type str
    Configure how traffic is handled at the edge. If set to direct traffic is passed through to the service. In the case of HTTP or HTTPS, HTTPS features at the edge are applied to this traffic. Valid values are direct, http, https. Default value is direct.
    cisId String
    The ID of the IBM Cloud Internet Services instance.
    dns String
    The name of DNS record for the range application.
    dnsType String
    The DNS record type.
    domainId String
    The ID of the domain where you want to add the range app.
    protocol String
    The edge application protocol type. Valid values are tcp, udp. This attribute specified along with port number. For example, tcp/22.
    cisRangeAppId String
    (String) The ID of the range application in the format <app_id>:<domain_id>:<cis_id>.
    edgeIpsConnectivity String
    Specified IP version. Valid values are ipv4, ipv6, all. Default value is all.
    edgeIpsType String
    The type of edge IP configuration. Valid value is dynamic. Default value is dynamic.
    ipFirewall Boolean
    Enables the IP firewall for the application. Only available for TCP applications.
    originDirects List<String>
    List of string-Optional-A list of destination addresses to the origin. IP address and port of the origin for range application. If configuring a Load Balancer, use origin_dns and origin_port. This cannot be combined with origin_dns and origin_port. For example, tcp://192.0.2.1:22.
    originDns String
    DNS record pointing to the origin for the range application. This is used for configuring a Load Balancer. This requires origin_port and cannot be combined with origin_direct. When specifying an individual IP address, use origin_direct. For example, origin.net.
    originPort Number
    Port at the origin that listens to traffic from the range application. Requires origin_dns and cannot be combined with origin_direct.
    proxyProtocol String
    Allows for the true client IP to be passed to the service. Valid values are off, v1, v2, simple. Default value is off.
    tls String
    Configure how TLS connections are terminated at the edge. Valid values are off, flexible, full, strict. Default value is off.
    trafficType String
    Configure how traffic is handled at the edge. If set to direct traffic is passed through to the service. In the case of HTTP or HTTPS, HTTPS features at the edge are applied to this traffic. Valid values are direct, http, https. Default value is direct.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CisRangeApp resource produces the following output properties:

    AppId string
    (String) The range application ID.
    CreatedOn string
    created on date
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedOn string
    modified on date
    AppId string
    (String) The range application ID.
    CreatedOn string
    created on date
    Id string
    The provider-assigned unique ID for this managed resource.
    ModifiedOn string
    modified on date
    appId String
    (String) The range application ID.
    createdOn String
    created on date
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedOn String
    modified on date
    appId string
    (String) The range application ID.
    createdOn string
    created on date
    id string
    The provider-assigned unique ID for this managed resource.
    modifiedOn string
    modified on date
    app_id str
    (String) The range application ID.
    created_on str
    created on date
    id str
    The provider-assigned unique ID for this managed resource.
    modified_on str
    modified on date
    appId String
    (String) The range application ID.
    createdOn String
    created on date
    id String
    The provider-assigned unique ID for this managed resource.
    modifiedOn String
    modified on date

    Look up Existing CisRangeApp Resource

    Get an existing CisRangeApp resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CisRangeAppState, opts?: CustomResourceOptions): CisRangeApp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            app_id: Optional[str] = None,
            cis_id: Optional[str] = None,
            cis_range_app_id: Optional[str] = None,
            created_on: Optional[str] = None,
            dns: Optional[str] = None,
            dns_type: Optional[str] = None,
            domain_id: Optional[str] = None,
            edge_ips_connectivity: Optional[str] = None,
            edge_ips_type: Optional[str] = None,
            ip_firewall: Optional[bool] = None,
            modified_on: Optional[str] = None,
            origin_directs: Optional[Sequence[str]] = None,
            origin_dns: Optional[str] = None,
            origin_port: Optional[float] = None,
            protocol: Optional[str] = None,
            proxy_protocol: Optional[str] = None,
            tls: Optional[str] = None,
            traffic_type: Optional[str] = None) -> CisRangeApp
    func GetCisRangeApp(ctx *Context, name string, id IDInput, state *CisRangeAppState, opts ...ResourceOption) (*CisRangeApp, error)
    public static CisRangeApp Get(string name, Input<string> id, CisRangeAppState? state, CustomResourceOptions? opts = null)
    public static CisRangeApp get(String name, Output<String> id, CisRangeAppState state, CustomResourceOptions options)
    resources:  _:    type: ibm:CisRangeApp    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AppId string
    (String) The range application ID.
    CisId string
    The ID of the IBM Cloud Internet Services instance.
    CisRangeAppId string
    (String) The ID of the range application in the format <app_id>:<domain_id>:<cis_id>.
    CreatedOn string
    created on date
    Dns string
    The name of DNS record for the range application.
    DnsType string
    The DNS record type.
    DomainId string
    The ID of the domain where you want to add the range app.
    EdgeIpsConnectivity string
    Specified IP version. Valid values are ipv4, ipv6, all. Default value is all.
    EdgeIpsType string
    The type of edge IP configuration. Valid value is dynamic. Default value is dynamic.
    IpFirewall bool
    Enables the IP firewall for the application. Only available for TCP applications.
    ModifiedOn string
    modified on date
    OriginDirects List<string>
    List of string-Optional-A list of destination addresses to the origin. IP address and port of the origin for range application. If configuring a Load Balancer, use origin_dns and origin_port. This cannot be combined with origin_dns and origin_port. For example, tcp://192.0.2.1:22.
    OriginDns string
    DNS record pointing to the origin for the range application. This is used for configuring a Load Balancer. This requires origin_port and cannot be combined with origin_direct. When specifying an individual IP address, use origin_direct. For example, origin.net.
    OriginPort double
    Port at the origin that listens to traffic from the range application. Requires origin_dns and cannot be combined with origin_direct.
    Protocol string
    The edge application protocol type. Valid values are tcp, udp. This attribute specified along with port number. For example, tcp/22.
    ProxyProtocol string
    Allows for the true client IP to be passed to the service. Valid values are off, v1, v2, simple. Default value is off.
    Tls string
    Configure how TLS connections are terminated at the edge. Valid values are off, flexible, full, strict. Default value is off.
    TrafficType string
    Configure how traffic is handled at the edge. If set to direct traffic is passed through to the service. In the case of HTTP or HTTPS, HTTPS features at the edge are applied to this traffic. Valid values are direct, http, https. Default value is direct.
    AppId string
    (String) The range application ID.
    CisId string
    The ID of the IBM Cloud Internet Services instance.
    CisRangeAppId string
    (String) The ID of the range application in the format <app_id>:<domain_id>:<cis_id>.
    CreatedOn string
    created on date
    Dns string
    The name of DNS record for the range application.
    DnsType string
    The DNS record type.
    DomainId string
    The ID of the domain where you want to add the range app.
    EdgeIpsConnectivity string
    Specified IP version. Valid values are ipv4, ipv6, all. Default value is all.
    EdgeIpsType string
    The type of edge IP configuration. Valid value is dynamic. Default value is dynamic.
    IpFirewall bool
    Enables the IP firewall for the application. Only available for TCP applications.
    ModifiedOn string
    modified on date
    OriginDirects []string
    List of string-Optional-A list of destination addresses to the origin. IP address and port of the origin for range application. If configuring a Load Balancer, use origin_dns and origin_port. This cannot be combined with origin_dns and origin_port. For example, tcp://192.0.2.1:22.
    OriginDns string
    DNS record pointing to the origin for the range application. This is used for configuring a Load Balancer. This requires origin_port and cannot be combined with origin_direct. When specifying an individual IP address, use origin_direct. For example, origin.net.
    OriginPort float64
    Port at the origin that listens to traffic from the range application. Requires origin_dns and cannot be combined with origin_direct.
    Protocol string
    The edge application protocol type. Valid values are tcp, udp. This attribute specified along with port number. For example, tcp/22.
    ProxyProtocol string
    Allows for the true client IP to be passed to the service. Valid values are off, v1, v2, simple. Default value is off.
    Tls string
    Configure how TLS connections are terminated at the edge. Valid values are off, flexible, full, strict. Default value is off.
    TrafficType string
    Configure how traffic is handled at the edge. If set to direct traffic is passed through to the service. In the case of HTTP or HTTPS, HTTPS features at the edge are applied to this traffic. Valid values are direct, http, https. Default value is direct.
    appId String
    (String) The range application ID.
    cisId String
    The ID of the IBM Cloud Internet Services instance.
    cisRangeAppId String
    (String) The ID of the range application in the format <app_id>:<domain_id>:<cis_id>.
    createdOn String
    created on date
    dns String
    The name of DNS record for the range application.
    dnsType String
    The DNS record type.
    domainId String
    The ID of the domain where you want to add the range app.
    edgeIpsConnectivity String
    Specified IP version. Valid values are ipv4, ipv6, all. Default value is all.
    edgeIpsType String
    The type of edge IP configuration. Valid value is dynamic. Default value is dynamic.
    ipFirewall Boolean
    Enables the IP firewall for the application. Only available for TCP applications.
    modifiedOn String
    modified on date
    originDirects List<String>
    List of string-Optional-A list of destination addresses to the origin. IP address and port of the origin for range application. If configuring a Load Balancer, use origin_dns and origin_port. This cannot be combined with origin_dns and origin_port. For example, tcp://192.0.2.1:22.
    originDns String
    DNS record pointing to the origin for the range application. This is used for configuring a Load Balancer. This requires origin_port and cannot be combined with origin_direct. When specifying an individual IP address, use origin_direct. For example, origin.net.
    originPort Double
    Port at the origin that listens to traffic from the range application. Requires origin_dns and cannot be combined with origin_direct.
    protocol String
    The edge application protocol type. Valid values are tcp, udp. This attribute specified along with port number. For example, tcp/22.
    proxyProtocol String
    Allows for the true client IP to be passed to the service. Valid values are off, v1, v2, simple. Default value is off.
    tls String
    Configure how TLS connections are terminated at the edge. Valid values are off, flexible, full, strict. Default value is off.
    trafficType String
    Configure how traffic is handled at the edge. If set to direct traffic is passed through to the service. In the case of HTTP or HTTPS, HTTPS features at the edge are applied to this traffic. Valid values are direct, http, https. Default value is direct.
    appId string
    (String) The range application ID.
    cisId string
    The ID of the IBM Cloud Internet Services instance.
    cisRangeAppId string
    (String) The ID of the range application in the format <app_id>:<domain_id>:<cis_id>.
    createdOn string
    created on date
    dns string
    The name of DNS record for the range application.
    dnsType string
    The DNS record type.
    domainId string
    The ID of the domain where you want to add the range app.
    edgeIpsConnectivity string
    Specified IP version. Valid values are ipv4, ipv6, all. Default value is all.
    edgeIpsType string
    The type of edge IP configuration. Valid value is dynamic. Default value is dynamic.
    ipFirewall boolean
    Enables the IP firewall for the application. Only available for TCP applications.
    modifiedOn string
    modified on date
    originDirects string[]
    List of string-Optional-A list of destination addresses to the origin. IP address and port of the origin for range application. If configuring a Load Balancer, use origin_dns and origin_port. This cannot be combined with origin_dns and origin_port. For example, tcp://192.0.2.1:22.
    originDns string
    DNS record pointing to the origin for the range application. This is used for configuring a Load Balancer. This requires origin_port and cannot be combined with origin_direct. When specifying an individual IP address, use origin_direct. For example, origin.net.
    originPort number
    Port at the origin that listens to traffic from the range application. Requires origin_dns and cannot be combined with origin_direct.
    protocol string
    The edge application protocol type. Valid values are tcp, udp. This attribute specified along with port number. For example, tcp/22.
    proxyProtocol string
    Allows for the true client IP to be passed to the service. Valid values are off, v1, v2, simple. Default value is off.
    tls string
    Configure how TLS connections are terminated at the edge. Valid values are off, flexible, full, strict. Default value is off.
    trafficType string
    Configure how traffic is handled at the edge. If set to direct traffic is passed through to the service. In the case of HTTP or HTTPS, HTTPS features at the edge are applied to this traffic. Valid values are direct, http, https. Default value is direct.
    app_id str
    (String) The range application ID.
    cis_id str
    The ID of the IBM Cloud Internet Services instance.
    cis_range_app_id str
    (String) The ID of the range application in the format <app_id>:<domain_id>:<cis_id>.
    created_on str
    created on date
    dns str
    The name of DNS record for the range application.
    dns_type str
    The DNS record type.
    domain_id str
    The ID of the domain where you want to add the range app.
    edge_ips_connectivity str
    Specified IP version. Valid values are ipv4, ipv6, all. Default value is all.
    edge_ips_type str
    The type of edge IP configuration. Valid value is dynamic. Default value is dynamic.
    ip_firewall bool
    Enables the IP firewall for the application. Only available for TCP applications.
    modified_on str
    modified on date
    origin_directs Sequence[str]
    List of string-Optional-A list of destination addresses to the origin. IP address and port of the origin for range application. If configuring a Load Balancer, use origin_dns and origin_port. This cannot be combined with origin_dns and origin_port. For example, tcp://192.0.2.1:22.
    origin_dns str
    DNS record pointing to the origin for the range application. This is used for configuring a Load Balancer. This requires origin_port and cannot be combined with origin_direct. When specifying an individual IP address, use origin_direct. For example, origin.net.
    origin_port float
    Port at the origin that listens to traffic from the range application. Requires origin_dns and cannot be combined with origin_direct.
    protocol str
    The edge application protocol type. Valid values are tcp, udp. This attribute specified along with port number. For example, tcp/22.
    proxy_protocol str
    Allows for the true client IP to be passed to the service. Valid values are off, v1, v2, simple. Default value is off.
    tls str
    Configure how TLS connections are terminated at the edge. Valid values are off, flexible, full, strict. Default value is off.
    traffic_type str
    Configure how traffic is handled at the edge. If set to direct traffic is passed through to the service. In the case of HTTP or HTTPS, HTTPS features at the edge are applied to this traffic. Valid values are direct, http, https. Default value is direct.
    appId String
    (String) The range application ID.
    cisId String
    The ID of the IBM Cloud Internet Services instance.
    cisRangeAppId String
    (String) The ID of the range application in the format <app_id>:<domain_id>:<cis_id>.
    createdOn String
    created on date
    dns String
    The name of DNS record for the range application.
    dnsType String
    The DNS record type.
    domainId String
    The ID of the domain where you want to add the range app.
    edgeIpsConnectivity String
    Specified IP version. Valid values are ipv4, ipv6, all. Default value is all.
    edgeIpsType String
    The type of edge IP configuration. Valid value is dynamic. Default value is dynamic.
    ipFirewall Boolean
    Enables the IP firewall for the application. Only available for TCP applications.
    modifiedOn String
    modified on date
    originDirects List<String>
    List of string-Optional-A list of destination addresses to the origin. IP address and port of the origin for range application. If configuring a Load Balancer, use origin_dns and origin_port. This cannot be combined with origin_dns and origin_port. For example, tcp://192.0.2.1:22.
    originDns String
    DNS record pointing to the origin for the range application. This is used for configuring a Load Balancer. This requires origin_port and cannot be combined with origin_direct. When specifying an individual IP address, use origin_direct. For example, origin.net.
    originPort Number
    Port at the origin that listens to traffic from the range application. Requires origin_dns and cannot be combined with origin_direct.
    protocol String
    The edge application protocol type. Valid values are tcp, udp. This attribute specified along with port number. For example, tcp/22.
    proxyProtocol String
    Allows for the true client IP to be passed to the service. Valid values are off, v1, v2, simple. Default value is off.
    tls String
    Configure how TLS connections are terminated at the edge. Valid values are off, flexible, full, strict. Default value is off.
    trafficType String
    Configure how traffic is handled at the edge. If set to direct traffic is passed through to the service. In the case of HTTP or HTTPS, HTTPS features at the edge are applied to this traffic. Valid values are direct, http, https. Default value is direct.

    Import

    The ibm_cis_range_app resource can be imported using the ID. The ID is formed from the application ID, the Domain ID of the domain and the Cloud Resource Name (CRN) concatenated by using a : character.

    The Domain ID and CRN will be located on the overview page of the Internet Services instance from the Domain heading of the console, or by using the ibm cis command line commands.

    • Domain ID is a 32 digit character string of the form: 9caf68812ae9b3f0377fdf986751a78f

    • CRN is a 120 digit character string of the form: crn:v1:bluemix:public:internet-svcs:global:a/4ea1882a2d3401ed1e459979941966ea:31fa970d-51d0-4b05-893e-251cba75a7b3::

    • App ID is a 32 digit character string of the form: 489d96f0da6ed76251b475971b097205c.

    Syntax

    $ pulumi import ibm:index/cisRangeApp:CisRangeApp myorg <app_id>:<domain-id>:<crn>
    

    Example

    $ pulumi import ibm:index/cisRangeApp:CisRangeApp myorg 48996f0da6ed76251b475971b097205c:9caf68812ae9b3f0377fdf986751a78f:crn:v1:bluemix:public:internet-svcs:global:a/4ea1882a2d3401ed1e459979941966ea:31fa970d-51d0-4b05-893e-251cba75a7b3::
    

    To learn more about importing existing cloud resources, see Importing resources.

    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