ibm.CisRangeApp
Explore with Pulumi AI
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:
- Cis
Id string - The ID of the IBM Cloud Internet Services instance.
- Dns string
- The name of DNS record for the range application.
- Dns
Type string - The DNS record type.
- Domain
Id 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
. - Cis
Range stringApp Id - (String) The ID of the range application in the format
<app_id>:<domain_id>:<cis_id>
. - Edge
Ips stringConnectivity - Specified IP version. Valid values are
ipv4
,ipv6
,all
. Default value isall
. - Edge
Ips stringType - The type of edge IP configuration. Valid value is
dynamic
. Default value isdynamic
. - Ip
Firewall bool - Enables the IP firewall for the application. Only available for TCP applications.
- Origin
Directs 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
andorigin_port
. This cannot be combined withorigin_dns
andorigin_port
. For example,tcp://192.0.2.1:22
. - Origin
Dns 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 withorigin_direct
. When specifying an individual IP address, useorigin_direct
. For example,origin.net
. - Origin
Port double - Port at the origin that listens to traffic from the range application. Requires
origin_dns
and cannot be combined withorigin_direct
. - Proxy
Protocol string - Allows for the true client IP to be passed to the service. Valid values are
off
,v1
,v2
,simple
. Default value isoff
. - Tls string
- Configure how TLS connections are terminated at the edge. Valid values are
off
,flexible
,full
,strict
. Default value isoff
. - Traffic
Type 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 isdirect
.
- Cis
Id string - The ID of the IBM Cloud Internet Services instance.
- Dns string
- The name of DNS record for the range application.
- Dns
Type string - The DNS record type.
- Domain
Id 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
. - Cis
Range stringApp Id - (String) The ID of the range application in the format
<app_id>:<domain_id>:<cis_id>
. - Edge
Ips stringConnectivity - Specified IP version. Valid values are
ipv4
,ipv6
,all
. Default value isall
. - Edge
Ips stringType - The type of edge IP configuration. Valid value is
dynamic
. Default value isdynamic
. - Ip
Firewall bool - Enables the IP firewall for the application. Only available for TCP applications.
- Origin
Directs []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
andorigin_port
. This cannot be combined withorigin_dns
andorigin_port
. For example,tcp://192.0.2.1:22
. - Origin
Dns 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 withorigin_direct
. When specifying an individual IP address, useorigin_direct
. For example,origin.net
. - Origin
Port float64 - Port at the origin that listens to traffic from the range application. Requires
origin_dns
and cannot be combined withorigin_direct
. - Proxy
Protocol string - Allows for the true client IP to be passed to the service. Valid values are
off
,v1
,v2
,simple
. Default value isoff
. - Tls string
- Configure how TLS connections are terminated at the edge. Valid values are
off
,flexible
,full
,strict
. Default value isoff
. - Traffic
Type 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 isdirect
.
- cis
Id String - The ID of the IBM Cloud Internet Services instance.
- dns String
- The name of DNS record for the range application.
- dns
Type String - The DNS record type.
- domain
Id 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
. - cis
Range StringApp Id - (String) The ID of the range application in the format
<app_id>:<domain_id>:<cis_id>
. - edge
Ips StringConnectivity - Specified IP version. Valid values are
ipv4
,ipv6
,all
. Default value isall
. - edge
Ips StringType - The type of edge IP configuration. Valid value is
dynamic
. Default value isdynamic
. - ip
Firewall Boolean - Enables the IP firewall for the application. Only available for TCP applications.
- origin
Directs 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
andorigin_port
. This cannot be combined withorigin_dns
andorigin_port
. For example,tcp://192.0.2.1:22
. - origin
Dns 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 withorigin_direct
. When specifying an individual IP address, useorigin_direct
. For example,origin.net
. - origin
Port Double - Port at the origin that listens to traffic from the range application. Requires
origin_dns
and cannot be combined withorigin_direct
. - proxy
Protocol String - Allows for the true client IP to be passed to the service. Valid values are
off
,v1
,v2
,simple
. Default value isoff
. - tls String
- Configure how TLS connections are terminated at the edge. Valid values are
off
,flexible
,full
,strict
. Default value isoff
. - traffic
Type 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 isdirect
.
- cis
Id string - The ID of the IBM Cloud Internet Services instance.
- dns string
- The name of DNS record for the range application.
- dns
Type string - The DNS record type.
- domain
Id 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
. - cis
Range stringApp Id - (String) The ID of the range application in the format
<app_id>:<domain_id>:<cis_id>
. - edge
Ips stringConnectivity - Specified IP version. Valid values are
ipv4
,ipv6
,all
. Default value isall
. - edge
Ips stringType - The type of edge IP configuration. Valid value is
dynamic
. Default value isdynamic
. - ip
Firewall boolean - Enables the IP firewall for the application. Only available for TCP applications.
- origin
Directs 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
andorigin_port
. This cannot be combined withorigin_dns
andorigin_port
. For example,tcp://192.0.2.1:22
. - origin
Dns 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 withorigin_direct
. When specifying an individual IP address, useorigin_direct
. For example,origin.net
. - origin
Port number - Port at the origin that listens to traffic from the range application. Requires
origin_dns
and cannot be combined withorigin_direct
. - proxy
Protocol string - Allows for the true client IP to be passed to the service. Valid values are
off
,v1
,v2
,simple
. Default value isoff
. - tls string
- Configure how TLS connections are terminated at the edge. Valid values are
off
,flexible
,full
,strict
. Default value isoff
. - traffic
Type 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 isdirect
.
- 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_ strapp_ id - (String) The ID of the range application in the format
<app_id>:<domain_id>:<cis_id>
. - edge_
ips_ strconnectivity - Specified IP version. Valid values are
ipv4
,ipv6
,all
. Default value isall
. - edge_
ips_ strtype - The type of edge IP configuration. Valid value is
dynamic
. Default value isdynamic
. - 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
andorigin_port
. This cannot be combined withorigin_dns
andorigin_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 withorigin_direct
. When specifying an individual IP address, useorigin_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 withorigin_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 isoff
. - tls str
- Configure how TLS connections are terminated at the edge. Valid values are
off
,flexible
,full
,strict
. Default value isoff
. - 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 isdirect
.
- cis
Id String - The ID of the IBM Cloud Internet Services instance.
- dns String
- The name of DNS record for the range application.
- dns
Type String - The DNS record type.
- domain
Id 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
. - cis
Range StringApp Id - (String) The ID of the range application in the format
<app_id>:<domain_id>:<cis_id>
. - edge
Ips StringConnectivity - Specified IP version. Valid values are
ipv4
,ipv6
,all
. Default value isall
. - edge
Ips StringType - The type of edge IP configuration. Valid value is
dynamic
. Default value isdynamic
. - ip
Firewall Boolean - Enables the IP firewall for the application. Only available for TCP applications.
- origin
Directs 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
andorigin_port
. This cannot be combined withorigin_dns
andorigin_port
. For example,tcp://192.0.2.1:22
. - origin
Dns 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 withorigin_direct
. When specifying an individual IP address, useorigin_direct
. For example,origin.net
. - origin
Port Number - Port at the origin that listens to traffic from the range application. Requires
origin_dns
and cannot be combined withorigin_direct
. - proxy
Protocol String - Allows for the true client IP to be passed to the service. Valid values are
off
,v1
,v2
,simple
. Default value isoff
. - tls String
- Configure how TLS connections are terminated at the edge. Valid values are
off
,flexible
,full
,strict
. Default value isoff
. - traffic
Type 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 isdirect
.
Outputs
All input properties are implicitly available as output properties. Additionally, the CisRangeApp resource produces the following output properties:
- App
Id string - (String) The range application ID.
- Created
On string - created on date
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
On string - modified on date
- App
Id string - (String) The range application ID.
- Created
On string - created on date
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
On string - modified on date
- app
Id String - (String) The range application ID.
- created
On String - created on date
- id String
- The provider-assigned unique ID for this managed resource.
- modified
On String - modified on date
- app
Id string - (String) The range application ID.
- created
On string - created on date
- id string
- The provider-assigned unique ID for this managed resource.
- modified
On 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
- app
Id String - (String) The range application ID.
- created
On String - created on date
- id String
- The provider-assigned unique ID for this managed resource.
- modified
On 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.
- App
Id string - (String) The range application ID.
- Cis
Id string - The ID of the IBM Cloud Internet Services instance.
- Cis
Range stringApp Id - (String) The ID of the range application in the format
<app_id>:<domain_id>:<cis_id>
. - Created
On string - created on date
- Dns string
- The name of DNS record for the range application.
- Dns
Type string - The DNS record type.
- Domain
Id string - The ID of the domain where you want to add the range app.
- Edge
Ips stringConnectivity - Specified IP version. Valid values are
ipv4
,ipv6
,all
. Default value isall
. - Edge
Ips stringType - The type of edge IP configuration. Valid value is
dynamic
. Default value isdynamic
. - Ip
Firewall bool - Enables the IP firewall for the application. Only available for TCP applications.
- Modified
On string - modified on date
- Origin
Directs 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
andorigin_port
. This cannot be combined withorigin_dns
andorigin_port
. For example,tcp://192.0.2.1:22
. - Origin
Dns 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 withorigin_direct
. When specifying an individual IP address, useorigin_direct
. For example,origin.net
. - Origin
Port double - Port at the origin that listens to traffic from the range application. Requires
origin_dns
and cannot be combined withorigin_direct
. - Protocol string
- The edge application protocol type. Valid values are
tcp
,udp
. This attribute specified along with port number. For example,tcp/22
. - Proxy
Protocol string - Allows for the true client IP to be passed to the service. Valid values are
off
,v1
,v2
,simple
. Default value isoff
. - Tls string
- Configure how TLS connections are terminated at the edge. Valid values are
off
,flexible
,full
,strict
. Default value isoff
. - Traffic
Type 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 isdirect
.
- App
Id string - (String) The range application ID.
- Cis
Id string - The ID of the IBM Cloud Internet Services instance.
- Cis
Range stringApp Id - (String) The ID of the range application in the format
<app_id>:<domain_id>:<cis_id>
. - Created
On string - created on date
- Dns string
- The name of DNS record for the range application.
- Dns
Type string - The DNS record type.
- Domain
Id string - The ID of the domain where you want to add the range app.
- Edge
Ips stringConnectivity - Specified IP version. Valid values are
ipv4
,ipv6
,all
. Default value isall
. - Edge
Ips stringType - The type of edge IP configuration. Valid value is
dynamic
. Default value isdynamic
. - Ip
Firewall bool - Enables the IP firewall for the application. Only available for TCP applications.
- Modified
On string - modified on date
- Origin
Directs []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
andorigin_port
. This cannot be combined withorigin_dns
andorigin_port
. For example,tcp://192.0.2.1:22
. - Origin
Dns 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 withorigin_direct
. When specifying an individual IP address, useorigin_direct
. For example,origin.net
. - Origin
Port float64 - Port at the origin that listens to traffic from the range application. Requires
origin_dns
and cannot be combined withorigin_direct
. - Protocol string
- The edge application protocol type. Valid values are
tcp
,udp
. This attribute specified along with port number. For example,tcp/22
. - Proxy
Protocol string - Allows for the true client IP to be passed to the service. Valid values are
off
,v1
,v2
,simple
. Default value isoff
. - Tls string
- Configure how TLS connections are terminated at the edge. Valid values are
off
,flexible
,full
,strict
. Default value isoff
. - Traffic
Type 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 isdirect
.
- app
Id String - (String) The range application ID.
- cis
Id String - The ID of the IBM Cloud Internet Services instance.
- cis
Range StringApp Id - (String) The ID of the range application in the format
<app_id>:<domain_id>:<cis_id>
. - created
On String - created on date
- dns String
- The name of DNS record for the range application.
- dns
Type String - The DNS record type.
- domain
Id String - The ID of the domain where you want to add the range app.
- edge
Ips StringConnectivity - Specified IP version. Valid values are
ipv4
,ipv6
,all
. Default value isall
. - edge
Ips StringType - The type of edge IP configuration. Valid value is
dynamic
. Default value isdynamic
. - ip
Firewall Boolean - Enables the IP firewall for the application. Only available for TCP applications.
- modified
On String - modified on date
- origin
Directs 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
andorigin_port
. This cannot be combined withorigin_dns
andorigin_port
. For example,tcp://192.0.2.1:22
. - origin
Dns 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 withorigin_direct
. When specifying an individual IP address, useorigin_direct
. For example,origin.net
. - origin
Port Double - Port at the origin that listens to traffic from the range application. Requires
origin_dns
and cannot be combined withorigin_direct
. - protocol String
- The edge application protocol type. Valid values are
tcp
,udp
. This attribute specified along with port number. For example,tcp/22
. - proxy
Protocol String - Allows for the true client IP to be passed to the service. Valid values are
off
,v1
,v2
,simple
. Default value isoff
. - tls String
- Configure how TLS connections are terminated at the edge. Valid values are
off
,flexible
,full
,strict
. Default value isoff
. - traffic
Type 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 isdirect
.
- app
Id string - (String) The range application ID.
- cis
Id string - The ID of the IBM Cloud Internet Services instance.
- cis
Range stringApp Id - (String) The ID of the range application in the format
<app_id>:<domain_id>:<cis_id>
. - created
On string - created on date
- dns string
- The name of DNS record for the range application.
- dns
Type string - The DNS record type.
- domain
Id string - The ID of the domain where you want to add the range app.
- edge
Ips stringConnectivity - Specified IP version. Valid values are
ipv4
,ipv6
,all
. Default value isall
. - edge
Ips stringType - The type of edge IP configuration. Valid value is
dynamic
. Default value isdynamic
. - ip
Firewall boolean - Enables the IP firewall for the application. Only available for TCP applications.
- modified
On string - modified on date
- origin
Directs 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
andorigin_port
. This cannot be combined withorigin_dns
andorigin_port
. For example,tcp://192.0.2.1:22
. - origin
Dns 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 withorigin_direct
. When specifying an individual IP address, useorigin_direct
. For example,origin.net
. - origin
Port number - Port at the origin that listens to traffic from the range application. Requires
origin_dns
and cannot be combined withorigin_direct
. - protocol string
- The edge application protocol type. Valid values are
tcp
,udp
. This attribute specified along with port number. For example,tcp/22
. - proxy
Protocol string - Allows for the true client IP to be passed to the service. Valid values are
off
,v1
,v2
,simple
. Default value isoff
. - tls string
- Configure how TLS connections are terminated at the edge. Valid values are
off
,flexible
,full
,strict
. Default value isoff
. - traffic
Type 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 isdirect
.
- app_
id str - (String) The range application ID.
- cis_
id str - The ID of the IBM Cloud Internet Services instance.
- cis_
range_ strapp_ id - (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_ strconnectivity - Specified IP version. Valid values are
ipv4
,ipv6
,all
. Default value isall
. - edge_
ips_ strtype - The type of edge IP configuration. Valid value is
dynamic
. Default value isdynamic
. - 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
andorigin_port
. This cannot be combined withorigin_dns
andorigin_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 withorigin_direct
. When specifying an individual IP address, useorigin_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 withorigin_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 isoff
. - tls str
- Configure how TLS connections are terminated at the edge. Valid values are
off
,flexible
,full
,strict
. Default value isoff
. - 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 isdirect
.
- app
Id String - (String) The range application ID.
- cis
Id String - The ID of the IBM Cloud Internet Services instance.
- cis
Range StringApp Id - (String) The ID of the range application in the format
<app_id>:<domain_id>:<cis_id>
. - created
On String - created on date
- dns String
- The name of DNS record for the range application.
- dns
Type String - The DNS record type.
- domain
Id String - The ID of the domain where you want to add the range app.
- edge
Ips StringConnectivity - Specified IP version. Valid values are
ipv4
,ipv6
,all
. Default value isall
. - edge
Ips StringType - The type of edge IP configuration. Valid value is
dynamic
. Default value isdynamic
. - ip
Firewall Boolean - Enables the IP firewall for the application. Only available for TCP applications.
- modified
On String - modified on date
- origin
Directs 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
andorigin_port
. This cannot be combined withorigin_dns
andorigin_port
. For example,tcp://192.0.2.1:22
. - origin
Dns 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 withorigin_direct
. When specifying an individual IP address, useorigin_direct
. For example,origin.net
. - origin
Port Number - Port at the origin that listens to traffic from the range application. Requires
origin_dns
and cannot be combined withorigin_direct
. - protocol String
- The edge application protocol type. Valid values are
tcp
,udp
. This attribute specified along with port number. For example,tcp/22
. - proxy
Protocol String - Allows for the true client IP to be passed to the service. Valid values are
off
,v1
,v2
,simple
. Default value isoff
. - tls String
- Configure how TLS connections are terminated at the edge. Valid values are
off
,flexible
,full
,strict
. Default value isoff
. - traffic
Type 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 isdirect
.
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.