1. Packages
  2. Packages
  3. Ibm Provider
  4. API Docs
  5. CodeEngineAllowedOutboundDestination
Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud
Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud

    Create, update, and delete code_engine_allowed_outbound_destinations with this resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const codeEngineAllowedOutboundDestinationInstance = new ibm.CodeEngineAllowedOutboundDestination("code_engine_allowed_outbound_destination_instance", {
        projectId: codeEngineProjectInstance.projectId,
        type: "cidr_block",
        name: "my-cidr-block-1",
        cidrBlock: "192.68.3.0/24",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    code_engine_allowed_outbound_destination_instance = ibm.CodeEngineAllowedOutboundDestination("code_engine_allowed_outbound_destination_instance",
        project_id=code_engine_project_instance["projectId"],
        type="cidr_block",
        name="my-cidr-block-1",
        cidr_block="192.68.3.0/24")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewCodeEngineAllowedOutboundDestination(ctx, "code_engine_allowed_outbound_destination_instance", &ibm.CodeEngineAllowedOutboundDestinationArgs{
    			ProjectId: pulumi.Any(codeEngineProjectInstance.ProjectId),
    			Type:      pulumi.String("cidr_block"),
    			Name:      pulumi.String("my-cidr-block-1"),
    			CidrBlock: pulumi.String("192.68.3.0/24"),
    		})
    		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 codeEngineAllowedOutboundDestinationInstance = new Ibm.CodeEngineAllowedOutboundDestination("code_engine_allowed_outbound_destination_instance", new()
        {
            ProjectId = codeEngineProjectInstance.ProjectId,
            Type = "cidr_block",
            Name = "my-cidr-block-1",
            CidrBlock = "192.68.3.0/24",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.CodeEngineAllowedOutboundDestination;
    import com.pulumi.ibm.CodeEngineAllowedOutboundDestinationArgs;
    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 codeEngineAllowedOutboundDestinationInstance = new CodeEngineAllowedOutboundDestination("codeEngineAllowedOutboundDestinationInstance", CodeEngineAllowedOutboundDestinationArgs.builder()
                .projectId(codeEngineProjectInstance.projectId())
                .type("cidr_block")
                .name("my-cidr-block-1")
                .cidrBlock("192.68.3.0/24")
                .build());
    
        }
    }
    
    resources:
      codeEngineAllowedOutboundDestinationInstance:
        type: ibm:CodeEngineAllowedOutboundDestination
        name: code_engine_allowed_outbound_destination_instance
        properties:
          projectId: ${codeEngineProjectInstance.projectId}
          type: cidr_block
          name: my-cidr-block-1
          cidrBlock: 192.68.3.0/24
    
    Example coming soon!
    
    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const codeEngineAllowedOutboundDestinationInstance = new ibm.CodeEngineAllowedOutboundDestination("code_engine_allowed_outbound_destination_instance", {
        projectId: codeEngineProjectInstance.projectId,
        type: "private_path_service_gateway",
        name: "my-private-path-service-gateway",
        privatePathServiceGatewayCrn: "crn:v1:bluemix:public:is:eu-de:a/4329073d16d2f3663f74bfa955259139::private-path-service-gateway:r010-a78455bd-ff11-4d10-8a4f-b664b15079a4",
        isolationPolicy: "dedicated",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    code_engine_allowed_outbound_destination_instance = ibm.CodeEngineAllowedOutboundDestination("code_engine_allowed_outbound_destination_instance",
        project_id=code_engine_project_instance["projectId"],
        type="private_path_service_gateway",
        name="my-private-path-service-gateway",
        private_path_service_gateway_crn="crn:v1:bluemix:public:is:eu-de:a/4329073d16d2f3663f74bfa955259139::private-path-service-gateway:r010-a78455bd-ff11-4d10-8a4f-b664b15079a4",
        isolation_policy="dedicated")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.NewCodeEngineAllowedOutboundDestination(ctx, "code_engine_allowed_outbound_destination_instance", &ibm.CodeEngineAllowedOutboundDestinationArgs{
    			ProjectId:                    pulumi.Any(codeEngineProjectInstance.ProjectId),
    			Type:                         pulumi.String("private_path_service_gateway"),
    			Name:                         pulumi.String("my-private-path-service-gateway"),
    			PrivatePathServiceGatewayCrn: pulumi.String("crn:v1:bluemix:public:is:eu-de:a/4329073d16d2f3663f74bfa955259139::private-path-service-gateway:r010-a78455bd-ff11-4d10-8a4f-b664b15079a4"),
    			IsolationPolicy:              pulumi.String("dedicated"),
    		})
    		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 codeEngineAllowedOutboundDestinationInstance = new Ibm.CodeEngineAllowedOutboundDestination("code_engine_allowed_outbound_destination_instance", new()
        {
            ProjectId = codeEngineProjectInstance.ProjectId,
            Type = "private_path_service_gateway",
            Name = "my-private-path-service-gateway",
            PrivatePathServiceGatewayCrn = "crn:v1:bluemix:public:is:eu-de:a/4329073d16d2f3663f74bfa955259139::private-path-service-gateway:r010-a78455bd-ff11-4d10-8a4f-b664b15079a4",
            IsolationPolicy = "dedicated",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.CodeEngineAllowedOutboundDestination;
    import com.pulumi.ibm.CodeEngineAllowedOutboundDestinationArgs;
    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 codeEngineAllowedOutboundDestinationInstance = new CodeEngineAllowedOutboundDestination("codeEngineAllowedOutboundDestinationInstance", CodeEngineAllowedOutboundDestinationArgs.builder()
                .projectId(codeEngineProjectInstance.projectId())
                .type("private_path_service_gateway")
                .name("my-private-path-service-gateway")
                .privatePathServiceGatewayCrn("crn:v1:bluemix:public:is:eu-de:a/4329073d16d2f3663f74bfa955259139::private-path-service-gateway:r010-a78455bd-ff11-4d10-8a4f-b664b15079a4")
                .isolationPolicy("dedicated")
                .build());
    
        }
    }
    
    resources:
      codeEngineAllowedOutboundDestinationInstance:
        type: ibm:CodeEngineAllowedOutboundDestination
        name: code_engine_allowed_outbound_destination_instance
        properties:
          projectId: ${codeEngineProjectInstance.projectId}
          type: private_path_service_gateway
          name: my-private-path-service-gateway
          privatePathServiceGatewayCrn: crn:v1:bluemix:public:is:eu-de:a/4329073d16d2f3663f74bfa955259139::private-path-service-gateway:r010-a78455bd-ff11-4d10-8a4f-b664b15079a4
          isolationPolicy: dedicated
    
    Example coming soon!
    

    Create CodeEngineAllowedOutboundDestination Resource

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

    Constructor syntax

    new CodeEngineAllowedOutboundDestination(name: string, args: CodeEngineAllowedOutboundDestinationArgs, opts?: CustomResourceOptions);
    @overload
    def CodeEngineAllowedOutboundDestination(resource_name: str,
                                             args: CodeEngineAllowedOutboundDestinationArgs,
                                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def CodeEngineAllowedOutboundDestination(resource_name: str,
                                             opts: Optional[ResourceOptions] = None,
                                             project_id: Optional[str] = None,
                                             type: Optional[str] = None,
                                             cidr_block: Optional[str] = None,
                                             code_engine_allowed_outbound_destination_id: Optional[str] = None,
                                             isolation_policy: Optional[str] = None,
                                             name: Optional[str] = None,
                                             private_path_service_gateway_crn: Optional[str] = None)
    func NewCodeEngineAllowedOutboundDestination(ctx *Context, name string, args CodeEngineAllowedOutboundDestinationArgs, opts ...ResourceOption) (*CodeEngineAllowedOutboundDestination, error)
    public CodeEngineAllowedOutboundDestination(string name, CodeEngineAllowedOutboundDestinationArgs args, CustomResourceOptions? opts = null)
    public CodeEngineAllowedOutboundDestination(String name, CodeEngineAllowedOutboundDestinationArgs args)
    public CodeEngineAllowedOutboundDestination(String name, CodeEngineAllowedOutboundDestinationArgs args, CustomResourceOptions options)
    
    type: ibm:CodeEngineAllowedOutboundDestination
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "ibm_codeengineallowedoutbounddestination" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args CodeEngineAllowedOutboundDestinationArgs
    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 CodeEngineAllowedOutboundDestinationArgs
    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 CodeEngineAllowedOutboundDestinationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CodeEngineAllowedOutboundDestinationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CodeEngineAllowedOutboundDestinationArgs
    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 codeEngineAllowedOutboundDestinationResource = new Ibm.CodeEngineAllowedOutboundDestination("codeEngineAllowedOutboundDestinationResource", new()
    {
        ProjectId = "string",
        Type = "string",
        CidrBlock = "string",
        CodeEngineAllowedOutboundDestinationId = "string",
        IsolationPolicy = "string",
        Name = "string",
        PrivatePathServiceGatewayCrn = "string",
    });
    
    example, err := ibm.NewCodeEngineAllowedOutboundDestination(ctx, "codeEngineAllowedOutboundDestinationResource", &ibm.CodeEngineAllowedOutboundDestinationArgs{
    	ProjectId:                              pulumi.String("string"),
    	Type:                                   pulumi.String("string"),
    	CidrBlock:                              pulumi.String("string"),
    	CodeEngineAllowedOutboundDestinationId: pulumi.String("string"),
    	IsolationPolicy:                        pulumi.String("string"),
    	Name:                                   pulumi.String("string"),
    	PrivatePathServiceGatewayCrn:           pulumi.String("string"),
    })
    
    resource "ibm_codeengineallowedoutbounddestination" "codeEngineAllowedOutboundDestinationResource" {
      project_id                                  = "string"
      type                                        = "string"
      cidr_block                                  = "string"
      code_engine_allowed_outbound_destination_id = "string"
      isolation_policy                            = "string"
      name                                        = "string"
      private_path_service_gateway_crn            = "string"
    }
    
    var codeEngineAllowedOutboundDestinationResource = new CodeEngineAllowedOutboundDestination("codeEngineAllowedOutboundDestinationResource", CodeEngineAllowedOutboundDestinationArgs.builder()
        .projectId("string")
        .type("string")
        .cidrBlock("string")
        .codeEngineAllowedOutboundDestinationId("string")
        .isolationPolicy("string")
        .name("string")
        .privatePathServiceGatewayCrn("string")
        .build());
    
    code_engine_allowed_outbound_destination_resource = ibm.CodeEngineAllowedOutboundDestination("codeEngineAllowedOutboundDestinationResource",
        project_id="string",
        type="string",
        cidr_block="string",
        code_engine_allowed_outbound_destination_id="string",
        isolation_policy="string",
        name="string",
        private_path_service_gateway_crn="string")
    
    const codeEngineAllowedOutboundDestinationResource = new ibm.CodeEngineAllowedOutboundDestination("codeEngineAllowedOutboundDestinationResource", {
        projectId: "string",
        type: "string",
        cidrBlock: "string",
        codeEngineAllowedOutboundDestinationId: "string",
        isolationPolicy: "string",
        name: "string",
        privatePathServiceGatewayCrn: "string",
    });
    
    type: ibm:CodeEngineAllowedOutboundDestination
    properties:
        cidrBlock: string
        codeEngineAllowedOutboundDestinationId: string
        isolationPolicy: string
        name: string
        privatePathServiceGatewayCrn: string
        projectId: string
        type: string
    

    CodeEngineAllowedOutboundDestination 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 CodeEngineAllowedOutboundDestination resource accepts the following input properties:

    ProjectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Type string
    Specify the type of the allowed outbound destination. Allowed types are: cidr_block and private_path_service_gateway.

    • Constraints: The default value is cidr_block. Allowable values are: cidr_block, private_path_service_gateway. The value must match regular expression /^(cidr_block|private_path_service_gateway)$/.
    CidrBlock string
    The IPv4 address range.

    • Constraints: The maximum length is 18 characters. The minimum length is 9 characters. The value must match regular expression /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/(3[0-2]|[1-2][0-9]|[0-9]))$/.
    CodeEngineAllowedOutboundDestinationId string
    (String) The private path service gateway identifier.
    IsolationPolicy string
    Optional property to specify the isolation policy of the private path service gateway. If set to shared, other projects within the same account or enterprise account family can connect to Private Path service, too. If set to dedicated the gateway can only be used by a single Code Engine project. If not specified the isolation policy will be set to shared.

    • Constraints: The default value is shared. Allowable values are: shared, dedicated.
    Name string
    The name of the allowed outbound destination.
    PrivatePathServiceGatewayCrn string
    The CRN of the Private Path service.

    • Constraints: The maximum length is 253 characters. The minimum length is 20 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:is\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:\\:private-path-service-gateway\\:[\\-a-zA-Z0-9\/.]*$/.
    ProjectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Type string
    Specify the type of the allowed outbound destination. Allowed types are: cidr_block and private_path_service_gateway.

    • Constraints: The default value is cidr_block. Allowable values are: cidr_block, private_path_service_gateway. The value must match regular expression /^(cidr_block|private_path_service_gateway)$/.
    CidrBlock string
    The IPv4 address range.

    • Constraints: The maximum length is 18 characters. The minimum length is 9 characters. The value must match regular expression /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/(3[0-2]|[1-2][0-9]|[0-9]))$/.
    CodeEngineAllowedOutboundDestinationId string
    (String) The private path service gateway identifier.
    IsolationPolicy string
    Optional property to specify the isolation policy of the private path service gateway. If set to shared, other projects within the same account or enterprise account family can connect to Private Path service, too. If set to dedicated the gateway can only be used by a single Code Engine project. If not specified the isolation policy will be set to shared.

    • Constraints: The default value is shared. Allowable values are: shared, dedicated.
    Name string
    The name of the allowed outbound destination.
    PrivatePathServiceGatewayCrn string
    The CRN of the Private Path service.

    • Constraints: The maximum length is 253 characters. The minimum length is 20 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:is\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:\\:private-path-service-gateway\\:[\\-a-zA-Z0-9\/.]*$/.
    project_id string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    type string
    Specify the type of the allowed outbound destination. Allowed types are: cidr_block and private_path_service_gateway.

    • Constraints: The default value is cidr_block. Allowable values are: cidr_block, private_path_service_gateway. The value must match regular expression /^(cidr_block|private_path_service_gateway)$/.
    cidr_block string
    The IPv4 address range.

    • Constraints: The maximum length is 18 characters. The minimum length is 9 characters. The value must match regular expression /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/(3[0-2]|[1-2][0-9]|[0-9]))$/.
    code_engine_allowed_outbound_destination_id string
    (String) The private path service gateway identifier.
    isolation_policy string
    Optional property to specify the isolation policy of the private path service gateway. If set to shared, other projects within the same account or enterprise account family can connect to Private Path service, too. If set to dedicated the gateway can only be used by a single Code Engine project. If not specified the isolation policy will be set to shared.

    • Constraints: The default value is shared. Allowable values are: shared, dedicated.
    name string
    The name of the allowed outbound destination.
    private_path_service_gateway_crn string
    The CRN of the Private Path service.

    • Constraints: The maximum length is 253 characters. The minimum length is 20 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:is\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:\\:private-path-service-gateway\\:[\\-a-zA-Z0-9\/.]*$/.
    projectId String
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    type String
    Specify the type of the allowed outbound destination. Allowed types are: cidr_block and private_path_service_gateway.

    • Constraints: The default value is cidr_block. Allowable values are: cidr_block, private_path_service_gateway. The value must match regular expression /^(cidr_block|private_path_service_gateway)$/.
    cidrBlock String
    The IPv4 address range.

    • Constraints: The maximum length is 18 characters. The minimum length is 9 characters. The value must match regular expression /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/(3[0-2]|[1-2][0-9]|[0-9]))$/.
    codeEngineAllowedOutboundDestinationId String
    (String) The private path service gateway identifier.
    isolationPolicy String
    Optional property to specify the isolation policy of the private path service gateway. If set to shared, other projects within the same account or enterprise account family can connect to Private Path service, too. If set to dedicated the gateway can only be used by a single Code Engine project. If not specified the isolation policy will be set to shared.

    • Constraints: The default value is shared. Allowable values are: shared, dedicated.
    name String
    The name of the allowed outbound destination.
    privatePathServiceGatewayCrn String
    The CRN of the Private Path service.

    • Constraints: The maximum length is 253 characters. The minimum length is 20 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:is\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:\\:private-path-service-gateway\\:[\\-a-zA-Z0-9\/.]*$/.
    projectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    type string
    Specify the type of the allowed outbound destination. Allowed types are: cidr_block and private_path_service_gateway.

    • Constraints: The default value is cidr_block. Allowable values are: cidr_block, private_path_service_gateway. The value must match regular expression /^(cidr_block|private_path_service_gateway)$/.
    cidrBlock string
    The IPv4 address range.

    • Constraints: The maximum length is 18 characters. The minimum length is 9 characters. The value must match regular expression /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/(3[0-2]|[1-2][0-9]|[0-9]))$/.
    codeEngineAllowedOutboundDestinationId string
    (String) The private path service gateway identifier.
    isolationPolicy string
    Optional property to specify the isolation policy of the private path service gateway. If set to shared, other projects within the same account or enterprise account family can connect to Private Path service, too. If set to dedicated the gateway can only be used by a single Code Engine project. If not specified the isolation policy will be set to shared.

    • Constraints: The default value is shared. Allowable values are: shared, dedicated.
    name string
    The name of the allowed outbound destination.
    privatePathServiceGatewayCrn string
    The CRN of the Private Path service.

    • Constraints: The maximum length is 253 characters. The minimum length is 20 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:is\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:\\:private-path-service-gateway\\:[\\-a-zA-Z0-9\/.]*$/.
    project_id str
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    type str
    Specify the type of the allowed outbound destination. Allowed types are: cidr_block and private_path_service_gateway.

    • Constraints: The default value is cidr_block. Allowable values are: cidr_block, private_path_service_gateway. The value must match regular expression /^(cidr_block|private_path_service_gateway)$/.
    cidr_block str
    The IPv4 address range.

    • Constraints: The maximum length is 18 characters. The minimum length is 9 characters. The value must match regular expression /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/(3[0-2]|[1-2][0-9]|[0-9]))$/.
    code_engine_allowed_outbound_destination_id str
    (String) The private path service gateway identifier.
    isolation_policy str
    Optional property to specify the isolation policy of the private path service gateway. If set to shared, other projects within the same account or enterprise account family can connect to Private Path service, too. If set to dedicated the gateway can only be used by a single Code Engine project. If not specified the isolation policy will be set to shared.

    • Constraints: The default value is shared. Allowable values are: shared, dedicated.
    name str
    The name of the allowed outbound destination.
    private_path_service_gateway_crn str
    The CRN of the Private Path service.

    • Constraints: The maximum length is 253 characters. The minimum length is 20 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:is\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:\\:private-path-service-gateway\\:[\\-a-zA-Z0-9\/.]*$/.
    projectId String
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    type String
    Specify the type of the allowed outbound destination. Allowed types are: cidr_block and private_path_service_gateway.

    • Constraints: The default value is cidr_block. Allowable values are: cidr_block, private_path_service_gateway. The value must match regular expression /^(cidr_block|private_path_service_gateway)$/.
    cidrBlock String
    The IPv4 address range.

    • Constraints: The maximum length is 18 characters. The minimum length is 9 characters. The value must match regular expression /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/(3[0-2]|[1-2][0-9]|[0-9]))$/.
    codeEngineAllowedOutboundDestinationId String
    (String) The private path service gateway identifier.
    isolationPolicy String
    Optional property to specify the isolation policy of the private path service gateway. If set to shared, other projects within the same account or enterprise account family can connect to Private Path service, too. If set to dedicated the gateway can only be used by a single Code Engine project. If not specified the isolation policy will be set to shared.

    • Constraints: The default value is shared. Allowable values are: shared, dedicated.
    name String
    The name of the allowed outbound destination.
    privatePathServiceGatewayCrn String
    The CRN of the Private Path service.

    • Constraints: The maximum length is 253 characters. The minimum length is 20 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:is\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:\\:private-path-service-gateway\\:[\\-a-zA-Z0-9\/.]*$/.

    Outputs

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

    EntityTag string
    (String) The version of the allowed outbound destination, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    Etag string
    ETag identifier for code_engine_allowed_outbound_destination.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    (String) The current status of the outbound destination.

    • Constraints: Allowable values are: ready, failed, deploying.
    StatusDetails List<CodeEngineAllowedOutboundDestinationStatusDetail>
    (List) Nested schema for status_details:
    EntityTag string
    (String) The version of the allowed outbound destination, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    Etag string
    ETag identifier for code_engine_allowed_outbound_destination.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    (String) The current status of the outbound destination.

    • Constraints: Allowable values are: ready, failed, deploying.
    StatusDetails []CodeEngineAllowedOutboundDestinationStatusDetail
    (List) Nested schema for status_details:
    entity_tag string
    (String) The version of the allowed outbound destination, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag string
    ETag identifier for code_engine_allowed_outbound_destination.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    (String) The current status of the outbound destination.

    • Constraints: Allowable values are: ready, failed, deploying.
    status_details list(object)
    (List) Nested schema for status_details:
    entityTag String
    (String) The version of the allowed outbound destination, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag String
    ETag identifier for code_engine_allowed_outbound_destination.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    (String) The current status of the outbound destination.

    • Constraints: Allowable values are: ready, failed, deploying.
    statusDetails List<CodeEngineAllowedOutboundDestinationStatusDetail>
    (List) Nested schema for status_details:
    entityTag string
    (String) The version of the allowed outbound destination, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag string
    ETag identifier for code_engine_allowed_outbound_destination.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    (String) The current status of the outbound destination.

    • Constraints: Allowable values are: ready, failed, deploying.
    statusDetails CodeEngineAllowedOutboundDestinationStatusDetail[]
    (List) Nested schema for status_details:
    entity_tag str
    (String) The version of the allowed outbound destination, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag str
    ETag identifier for code_engine_allowed_outbound_destination.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    (String) The current status of the outbound destination.

    • Constraints: Allowable values are: ready, failed, deploying.
    status_details Sequence[CodeEngineAllowedOutboundDestinationStatusDetail]
    (List) Nested schema for status_details:
    entityTag String
    (String) The version of the allowed outbound destination, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag String
    ETag identifier for code_engine_allowed_outbound_destination.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    (String) The current status of the outbound destination.

    • Constraints: Allowable values are: ready, failed, deploying.
    statusDetails List<Property Map>
    (List) Nested schema for status_details:

    Look up Existing CodeEngineAllowedOutboundDestination Resource

    Get an existing CodeEngineAllowedOutboundDestination 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?: CodeEngineAllowedOutboundDestinationState, opts?: CustomResourceOptions): CodeEngineAllowedOutboundDestination
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cidr_block: Optional[str] = None,
            code_engine_allowed_outbound_destination_id: Optional[str] = None,
            entity_tag: Optional[str] = None,
            etag: Optional[str] = None,
            isolation_policy: Optional[str] = None,
            name: Optional[str] = None,
            private_path_service_gateway_crn: Optional[str] = None,
            project_id: Optional[str] = None,
            status: Optional[str] = None,
            status_details: Optional[Sequence[CodeEngineAllowedOutboundDestinationStatusDetailArgs]] = None,
            type: Optional[str] = None) -> CodeEngineAllowedOutboundDestination
    func GetCodeEngineAllowedOutboundDestination(ctx *Context, name string, id IDInput, state *CodeEngineAllowedOutboundDestinationState, opts ...ResourceOption) (*CodeEngineAllowedOutboundDestination, error)
    public static CodeEngineAllowedOutboundDestination Get(string name, Input<string> id, CodeEngineAllowedOutboundDestinationState? state, CustomResourceOptions? opts = null)
    public static CodeEngineAllowedOutboundDestination get(String name, Output<String> id, CodeEngineAllowedOutboundDestinationState state, CustomResourceOptions options)
    resources:  _:    type: ibm:CodeEngineAllowedOutboundDestination    get:      id: ${id}
    import {
      to = ibm_codeengineallowedoutbounddestination.example
      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:
    CidrBlock string
    The IPv4 address range.

    • Constraints: The maximum length is 18 characters. The minimum length is 9 characters. The value must match regular expression /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/(3[0-2]|[1-2][0-9]|[0-9]))$/.
    CodeEngineAllowedOutboundDestinationId string
    (String) The private path service gateway identifier.
    EntityTag string
    (String) The version of the allowed outbound destination, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    Etag string
    ETag identifier for code_engine_allowed_outbound_destination.
    IsolationPolicy string
    Optional property to specify the isolation policy of the private path service gateway. If set to shared, other projects within the same account or enterprise account family can connect to Private Path service, too. If set to dedicated the gateway can only be used by a single Code Engine project. If not specified the isolation policy will be set to shared.

    • Constraints: The default value is shared. Allowable values are: shared, dedicated.
    Name string
    The name of the allowed outbound destination.
    PrivatePathServiceGatewayCrn string
    The CRN of the Private Path service.

    • Constraints: The maximum length is 253 characters. The minimum length is 20 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:is\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:\\:private-path-service-gateway\\:[\\-a-zA-Z0-9\/.]*$/.
    ProjectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Status string
    (String) The current status of the outbound destination.

    • Constraints: Allowable values are: ready, failed, deploying.
    StatusDetails List<CodeEngineAllowedOutboundDestinationStatusDetail>
    (List) Nested schema for status_details:
    Type string
    Specify the type of the allowed outbound destination. Allowed types are: cidr_block and private_path_service_gateway.

    • Constraints: The default value is cidr_block. Allowable values are: cidr_block, private_path_service_gateway. The value must match regular expression /^(cidr_block|private_path_service_gateway)$/.
    CidrBlock string
    The IPv4 address range.

    • Constraints: The maximum length is 18 characters. The minimum length is 9 characters. The value must match regular expression /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/(3[0-2]|[1-2][0-9]|[0-9]))$/.
    CodeEngineAllowedOutboundDestinationId string
    (String) The private path service gateway identifier.
    EntityTag string
    (String) The version of the allowed outbound destination, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    Etag string
    ETag identifier for code_engine_allowed_outbound_destination.
    IsolationPolicy string
    Optional property to specify the isolation policy of the private path service gateway. If set to shared, other projects within the same account or enterprise account family can connect to Private Path service, too. If set to dedicated the gateway can only be used by a single Code Engine project. If not specified the isolation policy will be set to shared.

    • Constraints: The default value is shared. Allowable values are: shared, dedicated.
    Name string
    The name of the allowed outbound destination.
    PrivatePathServiceGatewayCrn string
    The CRN of the Private Path service.

    • Constraints: The maximum length is 253 characters. The minimum length is 20 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:is\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:\\:private-path-service-gateway\\:[\\-a-zA-Z0-9\/.]*$/.
    ProjectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    Status string
    (String) The current status of the outbound destination.

    • Constraints: Allowable values are: ready, failed, deploying.
    StatusDetails []CodeEngineAllowedOutboundDestinationStatusDetailArgs
    (List) Nested schema for status_details:
    Type string
    Specify the type of the allowed outbound destination. Allowed types are: cidr_block and private_path_service_gateway.

    • Constraints: The default value is cidr_block. Allowable values are: cidr_block, private_path_service_gateway. The value must match regular expression /^(cidr_block|private_path_service_gateway)$/.
    cidr_block string
    The IPv4 address range.

    • Constraints: The maximum length is 18 characters. The minimum length is 9 characters. The value must match regular expression /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/(3[0-2]|[1-2][0-9]|[0-9]))$/.
    code_engine_allowed_outbound_destination_id string
    (String) The private path service gateway identifier.
    entity_tag string
    (String) The version of the allowed outbound destination, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag string
    ETag identifier for code_engine_allowed_outbound_destination.
    isolation_policy string
    Optional property to specify the isolation policy of the private path service gateway. If set to shared, other projects within the same account or enterprise account family can connect to Private Path service, too. If set to dedicated the gateway can only be used by a single Code Engine project. If not specified the isolation policy will be set to shared.

    • Constraints: The default value is shared. Allowable values are: shared, dedicated.
    name string
    The name of the allowed outbound destination.
    private_path_service_gateway_crn string
    The CRN of the Private Path service.

    • Constraints: The maximum length is 253 characters. The minimum length is 20 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:is\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:\\:private-path-service-gateway\\:[\\-a-zA-Z0-9\/.]*$/.
    project_id string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    status string
    (String) The current status of the outbound destination.

    • Constraints: Allowable values are: ready, failed, deploying.
    status_details list(object)
    (List) Nested schema for status_details:
    type string
    Specify the type of the allowed outbound destination. Allowed types are: cidr_block and private_path_service_gateway.

    • Constraints: The default value is cidr_block. Allowable values are: cidr_block, private_path_service_gateway. The value must match regular expression /^(cidr_block|private_path_service_gateway)$/.
    cidrBlock String
    The IPv4 address range.

    • Constraints: The maximum length is 18 characters. The minimum length is 9 characters. The value must match regular expression /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/(3[0-2]|[1-2][0-9]|[0-9]))$/.
    codeEngineAllowedOutboundDestinationId String
    (String) The private path service gateway identifier.
    entityTag String
    (String) The version of the allowed outbound destination, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag String
    ETag identifier for code_engine_allowed_outbound_destination.
    isolationPolicy String
    Optional property to specify the isolation policy of the private path service gateway. If set to shared, other projects within the same account or enterprise account family can connect to Private Path service, too. If set to dedicated the gateway can only be used by a single Code Engine project. If not specified the isolation policy will be set to shared.

    • Constraints: The default value is shared. Allowable values are: shared, dedicated.
    name String
    The name of the allowed outbound destination.
    privatePathServiceGatewayCrn String
    The CRN of the Private Path service.

    • Constraints: The maximum length is 253 characters. The minimum length is 20 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:is\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:\\:private-path-service-gateway\\:[\\-a-zA-Z0-9\/.]*$/.
    projectId String
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    status String
    (String) The current status of the outbound destination.

    • Constraints: Allowable values are: ready, failed, deploying.
    statusDetails List<CodeEngineAllowedOutboundDestinationStatusDetail>
    (List) Nested schema for status_details:
    type String
    Specify the type of the allowed outbound destination. Allowed types are: cidr_block and private_path_service_gateway.

    • Constraints: The default value is cidr_block. Allowable values are: cidr_block, private_path_service_gateway. The value must match regular expression /^(cidr_block|private_path_service_gateway)$/.
    cidrBlock string
    The IPv4 address range.

    • Constraints: The maximum length is 18 characters. The minimum length is 9 characters. The value must match regular expression /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/(3[0-2]|[1-2][0-9]|[0-9]))$/.
    codeEngineAllowedOutboundDestinationId string
    (String) The private path service gateway identifier.
    entityTag string
    (String) The version of the allowed outbound destination, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag string
    ETag identifier for code_engine_allowed_outbound_destination.
    isolationPolicy string
    Optional property to specify the isolation policy of the private path service gateway. If set to shared, other projects within the same account or enterprise account family can connect to Private Path service, too. If set to dedicated the gateway can only be used by a single Code Engine project. If not specified the isolation policy will be set to shared.

    • Constraints: The default value is shared. Allowable values are: shared, dedicated.
    name string
    The name of the allowed outbound destination.
    privatePathServiceGatewayCrn string
    The CRN of the Private Path service.

    • Constraints: The maximum length is 253 characters. The minimum length is 20 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:is\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:\\:private-path-service-gateway\\:[\\-a-zA-Z0-9\/.]*$/.
    projectId string
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    status string
    (String) The current status of the outbound destination.

    • Constraints: Allowable values are: ready, failed, deploying.
    statusDetails CodeEngineAllowedOutboundDestinationStatusDetail[]
    (List) Nested schema for status_details:
    type string
    Specify the type of the allowed outbound destination. Allowed types are: cidr_block and private_path_service_gateway.

    • Constraints: The default value is cidr_block. Allowable values are: cidr_block, private_path_service_gateway. The value must match regular expression /^(cidr_block|private_path_service_gateway)$/.
    cidr_block str
    The IPv4 address range.

    • Constraints: The maximum length is 18 characters. The minimum length is 9 characters. The value must match regular expression /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/(3[0-2]|[1-2][0-9]|[0-9]))$/.
    code_engine_allowed_outbound_destination_id str
    (String) The private path service gateway identifier.
    entity_tag str
    (String) The version of the allowed outbound destination, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag str
    ETag identifier for code_engine_allowed_outbound_destination.
    isolation_policy str
    Optional property to specify the isolation policy of the private path service gateway. If set to shared, other projects within the same account or enterprise account family can connect to Private Path service, too. If set to dedicated the gateway can only be used by a single Code Engine project. If not specified the isolation policy will be set to shared.

    • Constraints: The default value is shared. Allowable values are: shared, dedicated.
    name str
    The name of the allowed outbound destination.
    private_path_service_gateway_crn str
    The CRN of the Private Path service.

    • Constraints: The maximum length is 253 characters. The minimum length is 20 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:is\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:\\:private-path-service-gateway\\:[\\-a-zA-Z0-9\/.]*$/.
    project_id str
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    status str
    (String) The current status of the outbound destination.

    • Constraints: Allowable values are: ready, failed, deploying.
    status_details Sequence[CodeEngineAllowedOutboundDestinationStatusDetailArgs]
    (List) Nested schema for status_details:
    type str
    Specify the type of the allowed outbound destination. Allowed types are: cidr_block and private_path_service_gateway.

    • Constraints: The default value is cidr_block. Allowable values are: cidr_block, private_path_service_gateway. The value must match regular expression /^(cidr_block|private_path_service_gateway)$/.
    cidrBlock String
    The IPv4 address range.

    • Constraints: The maximum length is 18 characters. The minimum length is 9 characters. The value must match regular expression /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/(3[0-2]|[1-2][0-9]|[0-9]))$/.
    codeEngineAllowedOutboundDestinationId String
    (String) The private path service gateway identifier.
    entityTag String
    (String) The version of the allowed outbound destination, which is used to achieve optimistic locking.

    • Constraints: The maximum length is 63 characters. The minimum length is 1 character. The value must match regular expression /^[\\*\\-a-z0-9]+$/.
    etag String
    ETag identifier for code_engine_allowed_outbound_destination.
    isolationPolicy String
    Optional property to specify the isolation policy of the private path service gateway. If set to shared, other projects within the same account or enterprise account family can connect to Private Path service, too. If set to dedicated the gateway can only be used by a single Code Engine project. If not specified the isolation policy will be set to shared.

    • Constraints: The default value is shared. Allowable values are: shared, dedicated.
    name String
    The name of the allowed outbound destination.
    privatePathServiceGatewayCrn String
    The CRN of the Private Path service.

    • Constraints: The maximum length is 253 characters. The minimum length is 20 characters. The value must match regular expression /^crn\\:v1\\:[a-zA-Z0-9]*\\:(public|dedicated|local)\\:is\\:([a-z][\\-a-z0-9_]*[a-z0-9])?\\:((a|o|s)\/[\\-a-z0-9]+)?\\:\\:private-path-service-gateway\\:[\\-a-zA-Z0-9\/.]*$/.
    projectId String
    The ID of the project.

    • Constraints: The maximum length is 36 characters. The minimum length is 36 characters. The value must match regular expression /^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$/.
    status String
    (String) The current status of the outbound destination.

    • Constraints: Allowable values are: ready, failed, deploying.
    statusDetails List<Property Map>
    (List) Nested schema for status_details:
    type String
    Specify the type of the allowed outbound destination. Allowed types are: cidr_block and private_path_service_gateway.

    • Constraints: The default value is cidr_block. Allowable values are: cidr_block, private_path_service_gateway. The value must match regular expression /^(cidr_block|private_path_service_gateway)$/.

    Supporting Types

    CodeEngineAllowedOutboundDestinationStatusDetail, CodeEngineAllowedOutboundDestinationStatusDetailArgs

    EndpointGateways List<CodeEngineAllowedOutboundDestinationStatusDetailEndpointGateway>
    (List) Optional information about the endpoint gateway located in the Code Engine VPC that connects to the private path service gateway. Nested schema for endpoint_gateway:
    PrivatePathServiceGateways List<CodeEngineAllowedOutboundDestinationStatusDetailPrivatePathServiceGateway>
    (List) Optional information about the private path service gateway that this allowed outbound destination points to. Nested schema for private_path_service_gateway:
    Reason string
    (String) Optional information to provide more context in case of a 'failed' or 'deploying' status.

    • Constraints: Allowable values are: ready, private_path_crn_invalid, private_path_not_in_same_region, private_path_not_in_same_account_family, private_path_not_found, private_path_not_published, private_path_connection_already_exists, private_path_connection_approval_denied, private_path_connection_approval_pending, deploying, failed.
    EndpointGateways []CodeEngineAllowedOutboundDestinationStatusDetailEndpointGateway
    (List) Optional information about the endpoint gateway located in the Code Engine VPC that connects to the private path service gateway. Nested schema for endpoint_gateway:
    PrivatePathServiceGateways []CodeEngineAllowedOutboundDestinationStatusDetailPrivatePathServiceGateway
    (List) Optional information about the private path service gateway that this allowed outbound destination points to. Nested schema for private_path_service_gateway:
    Reason string
    (String) Optional information to provide more context in case of a 'failed' or 'deploying' status.

    • Constraints: Allowable values are: ready, private_path_crn_invalid, private_path_not_in_same_region, private_path_not_in_same_account_family, private_path_not_found, private_path_not_published, private_path_connection_already_exists, private_path_connection_approval_denied, private_path_connection_approval_pending, deploying, failed.
    endpoint_gateways list(object)
    (List) Optional information about the endpoint gateway located in the Code Engine VPC that connects to the private path service gateway. Nested schema for endpoint_gateway:
    private_path_service_gateways list(object)
    (List) Optional information about the private path service gateway that this allowed outbound destination points to. Nested schema for private_path_service_gateway:
    reason string
    (String) Optional information to provide more context in case of a 'failed' or 'deploying' status.

    • Constraints: Allowable values are: ready, private_path_crn_invalid, private_path_not_in_same_region, private_path_not_in_same_account_family, private_path_not_found, private_path_not_published, private_path_connection_already_exists, private_path_connection_approval_denied, private_path_connection_approval_pending, deploying, failed.
    endpointGateways List<CodeEngineAllowedOutboundDestinationStatusDetailEndpointGateway>
    (List) Optional information about the endpoint gateway located in the Code Engine VPC that connects to the private path service gateway. Nested schema for endpoint_gateway:
    privatePathServiceGateways List<CodeEngineAllowedOutboundDestinationStatusDetailPrivatePathServiceGateway>
    (List) Optional information about the private path service gateway that this allowed outbound destination points to. Nested schema for private_path_service_gateway:
    reason String
    (String) Optional information to provide more context in case of a 'failed' or 'deploying' status.

    • Constraints: Allowable values are: ready, private_path_crn_invalid, private_path_not_in_same_region, private_path_not_in_same_account_family, private_path_not_found, private_path_not_published, private_path_connection_already_exists, private_path_connection_approval_denied, private_path_connection_approval_pending, deploying, failed.
    endpointGateways CodeEngineAllowedOutboundDestinationStatusDetailEndpointGateway[]
    (List) Optional information about the endpoint gateway located in the Code Engine VPC that connects to the private path service gateway. Nested schema for endpoint_gateway:
    privatePathServiceGateways CodeEngineAllowedOutboundDestinationStatusDetailPrivatePathServiceGateway[]
    (List) Optional information about the private path service gateway that this allowed outbound destination points to. Nested schema for private_path_service_gateway:
    reason string
    (String) Optional information to provide more context in case of a 'failed' or 'deploying' status.

    • Constraints: Allowable values are: ready, private_path_crn_invalid, private_path_not_in_same_region, private_path_not_in_same_account_family, private_path_not_found, private_path_not_published, private_path_connection_already_exists, private_path_connection_approval_denied, private_path_connection_approval_pending, deploying, failed.
    endpoint_gateways Sequence[CodeEngineAllowedOutboundDestinationStatusDetailEndpointGateway]
    (List) Optional information about the endpoint gateway located in the Code Engine VPC that connects to the private path service gateway. Nested schema for endpoint_gateway:
    private_path_service_gateways Sequence[CodeEngineAllowedOutboundDestinationStatusDetailPrivatePathServiceGateway]
    (List) Optional information about the private path service gateway that this allowed outbound destination points to. Nested schema for private_path_service_gateway:
    reason str
    (String) Optional information to provide more context in case of a 'failed' or 'deploying' status.

    • Constraints: Allowable values are: ready, private_path_crn_invalid, private_path_not_in_same_region, private_path_not_in_same_account_family, private_path_not_found, private_path_not_published, private_path_connection_already_exists, private_path_connection_approval_denied, private_path_connection_approval_pending, deploying, failed.
    endpointGateways List<Property Map>
    (List) Optional information about the endpoint gateway located in the Code Engine VPC that connects to the private path service gateway. Nested schema for endpoint_gateway:
    privatePathServiceGateways List<Property Map>
    (List) Optional information about the private path service gateway that this allowed outbound destination points to. Nested schema for private_path_service_gateway:
    reason String
    (String) Optional information to provide more context in case of a 'failed' or 'deploying' status.

    • Constraints: Allowable values are: ready, private_path_crn_invalid, private_path_not_in_same_region, private_path_not_in_same_account_family, private_path_not_found, private_path_not_published, private_path_connection_already_exists, private_path_connection_approval_denied, private_path_connection_approval_pending, deploying, failed.

    CodeEngineAllowedOutboundDestinationStatusDetailEndpointGateway, CodeEngineAllowedOutboundDestinationStatusDetailEndpointGatewayArgs

    AccountId string
    (String) The account that created the endpoint gateway.
    CreatedAt string
    (String) The timestamp when the endpoint gateway was created.
    Ips List<string>
    (List) The reserved IPs bound to this endpoint gateway.
    Name string
    The name of the allowed outbound destination.
    AccountId string
    (String) The account that created the endpoint gateway.
    CreatedAt string
    (String) The timestamp when the endpoint gateway was created.
    Ips []string
    (List) The reserved IPs bound to this endpoint gateway.
    Name string
    The name of the allowed outbound destination.
    account_id string
    (String) The account that created the endpoint gateway.
    created_at string
    (String) The timestamp when the endpoint gateway was created.
    ips list(string)
    (List) The reserved IPs bound to this endpoint gateway.
    name string
    The name of the allowed outbound destination.
    accountId String
    (String) The account that created the endpoint gateway.
    createdAt String
    (String) The timestamp when the endpoint gateway was created.
    ips List<String>
    (List) The reserved IPs bound to this endpoint gateway.
    name String
    The name of the allowed outbound destination.
    accountId string
    (String) The account that created the endpoint gateway.
    createdAt string
    (String) The timestamp when the endpoint gateway was created.
    ips string[]
    (List) The reserved IPs bound to this endpoint gateway.
    name string
    The name of the allowed outbound destination.
    account_id str
    (String) The account that created the endpoint gateway.
    created_at str
    (String) The timestamp when the endpoint gateway was created.
    ips Sequence[str]
    (List) The reserved IPs bound to this endpoint gateway.
    name str
    The name of the allowed outbound destination.
    accountId String
    (String) The account that created the endpoint gateway.
    createdAt String
    (String) The timestamp when the endpoint gateway was created.
    ips List<String>
    (List) The reserved IPs bound to this endpoint gateway.
    name String
    The name of the allowed outbound destination.

    CodeEngineAllowedOutboundDestinationStatusDetailPrivatePathServiceGateway, CodeEngineAllowedOutboundDestinationStatusDetailPrivatePathServiceGatewayArgs

    Id string
    (String) The private path service gateway identifier.
    Name string
    The name of the allowed outbound destination.
    ServiceEndpoints List<string>
    (List) The fully qualified domain names for this private path service gateway. The domains are used for endpoint gateways to connect to the service and are configured in the VPC for each endpoint gateway.
    Id string
    (String) The private path service gateway identifier.
    Name string
    The name of the allowed outbound destination.
    ServiceEndpoints []string
    (List) The fully qualified domain names for this private path service gateway. The domains are used for endpoint gateways to connect to the service and are configured in the VPC for each endpoint gateway.
    id string
    (String) The private path service gateway identifier.
    name string
    The name of the allowed outbound destination.
    service_endpoints list(string)
    (List) The fully qualified domain names for this private path service gateway. The domains are used for endpoint gateways to connect to the service and are configured in the VPC for each endpoint gateway.
    id String
    (String) The private path service gateway identifier.
    name String
    The name of the allowed outbound destination.
    serviceEndpoints List<String>
    (List) The fully qualified domain names for this private path service gateway. The domains are used for endpoint gateways to connect to the service and are configured in the VPC for each endpoint gateway.
    id string
    (String) The private path service gateway identifier.
    name string
    The name of the allowed outbound destination.
    serviceEndpoints string[]
    (List) The fully qualified domain names for this private path service gateway. The domains are used for endpoint gateways to connect to the service and are configured in the VPC for each endpoint gateway.
    id str
    (String) The private path service gateway identifier.
    name str
    The name of the allowed outbound destination.
    service_endpoints Sequence[str]
    (List) The fully qualified domain names for this private path service gateway. The domains are used for endpoint gateways to connect to the service and are configured in the VPC for each endpoint gateway.
    id String
    (String) The private path service gateway identifier.
    name String
    The name of the allowed outbound destination.
    serviceEndpoints List<String>
    (List) The fully qualified domain names for this private path service gateway. The domains are used for endpoint gateways to connect to the service and are configured in the VPC for each endpoint gateway.

    Import

    You can import the ibm_code_engine_allowed_outbound_destination resource by using name.

    The name property can be formed from project_id, and name in the following format:

    
    <project_id>/<name>
    
    
    • project_id: A string in the format 15314cc3-85b4-4338-903f-c28cdee6d005. The ID of the project.

    • name: A string in the format allow-all. The name of the allowed outbound destination.

    Syntax

    
    ```sh
    $ pulumi import ibm:index/codeEngineAllowedOutboundDestination:CodeEngineAllowedOutboundDestination code_engine_allowed_outbound_destination <project_id>/<name>
    ```
    
    

    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.
    Viewing docs for ibm 2.1.0
    published on Tuesday, May 5, 2026 by ibm-cloud
      Try Pulumi Cloud free. Your team will thank you.