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

ibm.getCisRangeApps

Explore with Pulumi AI

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

    Retrieve an information of an IBM Cloud Internet Services range applications. For more information, about CIS range application, see getting started with range.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const apps = ibm.getCisRangeApps({
        cisId: ibm_cis.instance.id,
        domainId: ibm_cis_domain.example.id,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    apps = ibm.get_cis_range_apps(cis_id=ibm_cis["instance"]["id"],
        domain_id=ibm_cis_domain["example"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.GetCisRangeApps(ctx, &ibm.GetCisRangeAppsArgs{
    			CisId:    ibm_cis.Instance.Id,
    			DomainId: ibm_cis_domain.Example.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var apps = Ibm.GetCisRangeApps.Invoke(new()
        {
            CisId = ibm_cis.Instance.Id,
            DomainId = ibm_cis_domain.Example.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetCisRangeAppsArgs;
    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 apps = IbmFunctions.getCisRangeApps(GetCisRangeAppsArgs.builder()
                .cisId(ibm_cis.instance().id())
                .domainId(ibm_cis_domain.example().id())
                .build());
    
        }
    }
    
    variables:
      apps:
        fn::invoke:
          function: ibm:getCisRangeApps
          arguments:
            cisId: ${ibm_cis.instance.id}
            domainId: ${ibm_cis_domain.example.id}
    

    Using getCisRangeApps

    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 getCisRangeApps(args: GetCisRangeAppsArgs, opts?: InvokeOptions): Promise<GetCisRangeAppsResult>
    function getCisRangeAppsOutput(args: GetCisRangeAppsOutputArgs, opts?: InvokeOptions): Output<GetCisRangeAppsResult>
    def get_cis_range_apps(cis_id: Optional[str] = None,
                           domain_id: Optional[str] = None,
                           id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetCisRangeAppsResult
    def get_cis_range_apps_output(cis_id: Optional[pulumi.Input[str]] = None,
                           domain_id: Optional[pulumi.Input[str]] = None,
                           id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetCisRangeAppsResult]
    func GetCisRangeApps(ctx *Context, args *GetCisRangeAppsArgs, opts ...InvokeOption) (*GetCisRangeAppsResult, error)
    func GetCisRangeAppsOutput(ctx *Context, args *GetCisRangeAppsOutputArgs, opts ...InvokeOption) GetCisRangeAppsResultOutput

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

    public static class GetCisRangeApps 
    {
        public static Task<GetCisRangeAppsResult> InvokeAsync(GetCisRangeAppsArgs args, InvokeOptions? opts = null)
        public static Output<GetCisRangeAppsResult> Invoke(GetCisRangeAppsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCisRangeAppsResult> getCisRangeApps(GetCisRangeAppsArgs args, InvokeOptions options)
    public static Output<GetCisRangeAppsResult> getCisRangeApps(GetCisRangeAppsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getCisRangeApps:getCisRangeApps
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CisId string
    The ID of the CIS service instance.
    DomainId string
    The ID of the domain to add the range application.
    Id string
    The range application ID. It is a combination of <app_id>,<domain_id>,<cis_id> attributes are concatenated with : character.
    CisId string
    The ID of the CIS service instance.
    DomainId string
    The ID of the domain to add the range application.
    Id string
    The range application ID. It is a combination of <app_id>,<domain_id>,<cis_id> attributes are concatenated with : character.
    cisId String
    The ID of the CIS service instance.
    domainId String
    The ID of the domain to add the range application.
    id String
    The range application ID. It is a combination of <app_id>,<domain_id>,<cis_id> attributes are concatenated with : character.
    cisId string
    The ID of the CIS service instance.
    domainId string
    The ID of the domain to add the range application.
    id string
    The range application ID. It is a combination of <app_id>,<domain_id>,<cis_id> attributes are concatenated with : character.
    cis_id str
    The ID of the CIS service instance.
    domain_id str
    The ID of the domain to add the range application.
    id str
    The range application ID. It is a combination of <app_id>,<domain_id>,<cis_id> attributes are concatenated with : character.
    cisId String
    The ID of the CIS service instance.
    domainId String
    The ID of the domain to add the range application.
    id String
    The range application ID. It is a combination of <app_id>,<domain_id>,<cis_id> attributes are concatenated with : character.

    getCisRangeApps Result

    The following output properties are available:

    Supporting Types

    GetCisRangeAppsRangeApp

    AppId string
    The Range application id.
    CreatedOn string
    Dns string
    The name of DNS record for the range application.
    DnsType string
    The DNS record type.
    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 and default value is dynamic.
    Id string
    The range application ID. It is a combination of <app_id>,<domain_id>,<cis_id> attributes are concatenated with : character.
    IpFirewall bool
    Enables the IP firewall for the application. Only available for TCP applications.
    ModifiedOn string
    OriginDirects List<string>
    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.
    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
    The Range application id.
    CreatedOn string
    Dns string
    The name of DNS record for the range application.
    DnsType string
    The DNS record type.
    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 and default value is dynamic.
    Id string
    The range application ID. It is a combination of <app_id>,<domain_id>,<cis_id> attributes are concatenated with : character.
    IpFirewall bool
    Enables the IP firewall for the application. Only available for TCP applications.
    ModifiedOn string
    OriginDirects []string
    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.
    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
    The Range application id.
    createdOn String
    dns String
    The name of DNS record for the range application.
    dnsType String
    The DNS record type.
    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 and default value is dynamic.
    id String
    The range application ID. It is a combination of <app_id>,<domain_id>,<cis_id> attributes are concatenated with : character.
    ipFirewall Boolean
    Enables the IP firewall for the application. Only available for TCP applications.
    modifiedOn String
    originDirects List<String>
    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.
    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
    The Range application id.
    createdOn string
    dns string
    The name of DNS record for the range application.
    dnsType string
    The DNS record type.
    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 and default value is dynamic.
    id string
    The range application ID. It is a combination of <app_id>,<domain_id>,<cis_id> attributes are concatenated with : character.
    ipFirewall boolean
    Enables the IP firewall for the application. Only available for TCP applications.
    modifiedOn string
    originDirects string[]
    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.
    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
    The Range application id.
    created_on str
    dns str
    The name of DNS record for the range application.
    dns_type str
    The DNS record type.
    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 and default value is dynamic.
    id str
    The range application ID. It is a combination of <app_id>,<domain_id>,<cis_id> attributes are concatenated with : character.
    ip_firewall bool
    Enables the IP firewall for the application. Only available for TCP applications.
    modified_on str
    origin_directs Sequence[str]
    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.
    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
    The Range application id.
    createdOn String
    dns String
    The name of DNS record for the range application.
    dnsType String
    The DNS record type.
    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 and default value is dynamic.
    id String
    The range application ID. It is a combination of <app_id>,<domain_id>,<cis_id> attributes are concatenated with : character.
    ipFirewall Boolean
    Enables the IP firewall for the application. Only available for TCP applications.
    modifiedOn String
    originDirects List<String>
    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.
    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.

    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