ibm.CodeEngineAllowedOutboundDestination
Explore with Pulumi AI
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("codeEngineAllowedOutboundDestinationInstance", {
projectId: ibm_code_engine_project.code_engine_project_instance.project_id,
type: "cidr_block",
cidrBlock: "192.68.3.0/24",
});
import pulumi
import pulumi_ibm as ibm
code_engine_allowed_outbound_destination_instance = ibm.CodeEngineAllowedOutboundDestination("codeEngineAllowedOutboundDestinationInstance",
project_id=ibm_code_engine_project["code_engine_project_instance"]["project_id"],
type="cidr_block",
cidr_block="192.68.3.0/24")
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.NewCodeEngineAllowedOutboundDestination(ctx, "codeEngineAllowedOutboundDestinationInstance", &ibm.CodeEngineAllowedOutboundDestinationArgs{
ProjectId: pulumi.Any(ibm_code_engine_project.Code_engine_project_instance.Project_id),
Type: pulumi.String("cidr_block"),
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("codeEngineAllowedOutboundDestinationInstance", new()
{
ProjectId = ibm_code_engine_project.Code_engine_project_instance.Project_id,
Type = "cidr_block",
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(ibm_code_engine_project.code_engine_project_instance().project_id())
.type("cidr_block")
.cidrBlock("192.68.3.0/24")
.build());
}
}
resources:
codeEngineAllowedOutboundDestinationInstance:
type: ibm:CodeEngineAllowedOutboundDestination
properties:
projectId: ${ibm_code_engine_project.code_engine_project_instance.project_id}
type: cidr_block
cidrBlock: 192.68.3.0/24
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,
name: 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.
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",
Name = "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"),
Name: pulumi.String("string"),
})
var codeEngineAllowedOutboundDestinationResource = new CodeEngineAllowedOutboundDestination("codeEngineAllowedOutboundDestinationResource", CodeEngineAllowedOutboundDestinationArgs.builder()
.projectId("string")
.type("string")
.cidrBlock("string")
.codeEngineAllowedOutboundDestinationId("string")
.name("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",
name="string")
const codeEngineAllowedOutboundDestinationResource = new ibm.CodeEngineAllowedOutboundDestination("codeEngineAllowedOutboundDestinationResource", {
projectId: "string",
type: "string",
cidrBlock: "string",
codeEngineAllowedOutboundDestinationId: "string",
name: "string",
});
type: ibm:CodeEngineAllowedOutboundDestination
properties:
cidrBlock: string
codeEngineAllowedOutboundDestinationId: string
name: 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:
- Project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Type string
- Specify the type of the allowed outbound destination. Allowed types are: 'cidr_block'.
- Constraints: The default value is
cidr_block
. Allowable values are:cidr_block
. The value must match regular expression/^(cidr_block)$/
.
- Constraints: The default value is
- Cidr
Block string - The IPv4 address range.
- Constraints: The maximum length is
18
characters. The minimum length is0
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]))$/
.
- Constraints: The maximum length is
- Code
Engine stringAllowed Outbound Destination Id - The unique identifier of the code_engine_allowed_outbound_destination.
- Name string
- The name of the CIDR block.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^a-z?$/
.
- Constraints: The maximum length is
- Project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Type string
- Specify the type of the allowed outbound destination. Allowed types are: 'cidr_block'.
- Constraints: The default value is
cidr_block
. Allowable values are:cidr_block
. The value must match regular expression/^(cidr_block)$/
.
- Constraints: The default value is
- Cidr
Block string - The IPv4 address range.
- Constraints: The maximum length is
18
characters. The minimum length is0
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]))$/
.
- Constraints: The maximum length is
- Code
Engine stringAllowed Outbound Destination Id - The unique identifier of the code_engine_allowed_outbound_destination.
- Name string
- The name of the CIDR block.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^a-z?$/
.
- Constraints: The maximum length is
- project
Id String - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- type String
- Specify the type of the allowed outbound destination. Allowed types are: 'cidr_block'.
- Constraints: The default value is
cidr_block
. Allowable values are:cidr_block
. The value must match regular expression/^(cidr_block)$/
.
- Constraints: The default value is
- cidr
Block String - The IPv4 address range.
- Constraints: The maximum length is
18
characters. The minimum length is0
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]))$/
.
- Constraints: The maximum length is
- code
Engine StringAllowed Outbound Destination Id - The unique identifier of the code_engine_allowed_outbound_destination.
- name String
- The name of the CIDR block.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^a-z?$/
.
- Constraints: The maximum length is
- project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- type string
- Specify the type of the allowed outbound destination. Allowed types are: 'cidr_block'.
- Constraints: The default value is
cidr_block
. Allowable values are:cidr_block
. The value must match regular expression/^(cidr_block)$/
.
- Constraints: The default value is
- cidr
Block string - The IPv4 address range.
- Constraints: The maximum length is
18
characters. The minimum length is0
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]))$/
.
- Constraints: The maximum length is
- code
Engine stringAllowed Outbound Destination Id - The unique identifier of the code_engine_allowed_outbound_destination.
- name string
- The name of the CIDR block.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^a-z?$/
.
- Constraints: The maximum length is
- project_
id str - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- type str
- Specify the type of the allowed outbound destination. Allowed types are: 'cidr_block'.
- Constraints: The default value is
cidr_block
. Allowable values are:cidr_block
. The value must match regular expression/^(cidr_block)$/
.
- Constraints: The default value is
- cidr_
block str - The IPv4 address range.
- Constraints: The maximum length is
18
characters. The minimum length is0
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]))$/
.
- Constraints: The maximum length is
- code_
engine_ strallowed_ outbound_ destination_ id - The unique identifier of the code_engine_allowed_outbound_destination.
- name str
- The name of the CIDR block.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^a-z?$/
.
- Constraints: The maximum length is
- project
Id String - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- type String
- Specify the type of the allowed outbound destination. Allowed types are: 'cidr_block'.
- Constraints: The default value is
cidr_block
. Allowable values are:cidr_block
. The value must match regular expression/^(cidr_block)$/
.
- Constraints: The default value is
- cidr
Block String - The IPv4 address range.
- Constraints: The maximum length is
18
characters. The minimum length is0
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]))$/
.
- Constraints: The maximum length is
- code
Engine StringAllowed Outbound Destination Id - The unique identifier of the code_engine_allowed_outbound_destination.
- name String
- The name of the CIDR block.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^a-z?$/
.
- Constraints: The maximum length is
Outputs
All input properties are implicitly available as output properties. Additionally, the CodeEngineAllowedOutboundDestination resource produces the following output properties:
- 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 is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- Etag string
- ETag identifier for code_engine_allowed_outbound_destination.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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 is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- Etag string
- ETag identifier for code_engine_allowed_outbound_destination.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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 is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- etag String
- ETag identifier for code_engine_allowed_outbound_destination.
- id String
- The provider-assigned unique ID for this managed resource.
- 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 is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- etag string
- ETag identifier for code_engine_allowed_outbound_destination.
- id string
- The provider-assigned unique ID for this managed resource.
- 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 is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- etag str
- ETag identifier for code_engine_allowed_outbound_destination.
- id str
- The provider-assigned unique ID for this managed resource.
- 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 is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- etag String
- ETag identifier for code_engine_allowed_outbound_destination.
- id String
- The provider-assigned unique ID for this managed resource.
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,
name: Optional[str] = None,
project_id: Optional[str] = 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}
- 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.
- Cidr
Block string - The IPv4 address range.
- Constraints: The maximum length is
18
characters. The minimum length is0
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]))$/
.
- Constraints: The maximum length is
- Code
Engine stringAllowed Outbound Destination Id - The unique identifier of the code_engine_allowed_outbound_destination.
- 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 is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- Etag string
- ETag identifier for code_engine_allowed_outbound_destination.
- Name string
- The name of the CIDR block.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^a-z?$/
.
- Constraints: The maximum length is
- Project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Type string
- Specify the type of the allowed outbound destination. Allowed types are: 'cidr_block'.
- Constraints: The default value is
cidr_block
. Allowable values are:cidr_block
. The value must match regular expression/^(cidr_block)$/
.
- Constraints: The default value is
- Cidr
Block string - The IPv4 address range.
- Constraints: The maximum length is
18
characters. The minimum length is0
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]))$/
.
- Constraints: The maximum length is
- Code
Engine stringAllowed Outbound Destination Id - The unique identifier of the code_engine_allowed_outbound_destination.
- 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 is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- Etag string
- ETag identifier for code_engine_allowed_outbound_destination.
- Name string
- The name of the CIDR block.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^a-z?$/
.
- Constraints: The maximum length is
- Project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- Type string
- Specify the type of the allowed outbound destination. Allowed types are: 'cidr_block'.
- Constraints: The default value is
cidr_block
. Allowable values are:cidr_block
. The value must match regular expression/^(cidr_block)$/
.
- Constraints: The default value is
- cidr
Block String - The IPv4 address range.
- Constraints: The maximum length is
18
characters. The minimum length is0
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]))$/
.
- Constraints: The maximum length is
- code
Engine StringAllowed Outbound Destination Id - The unique identifier of the code_engine_allowed_outbound_destination.
- 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 is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- etag String
- ETag identifier for code_engine_allowed_outbound_destination.
- name String
- The name of the CIDR block.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^a-z?$/
.
- Constraints: The maximum length is
- project
Id String - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- type String
- Specify the type of the allowed outbound destination. Allowed types are: 'cidr_block'.
- Constraints: The default value is
cidr_block
. Allowable values are:cidr_block
. The value must match regular expression/^(cidr_block)$/
.
- Constraints: The default value is
- cidr
Block string - The IPv4 address range.
- Constraints: The maximum length is
18
characters. The minimum length is0
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]))$/
.
- Constraints: The maximum length is
- code
Engine stringAllowed Outbound Destination Id - The unique identifier of the code_engine_allowed_outbound_destination.
- 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 is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- etag string
- ETag identifier for code_engine_allowed_outbound_destination.
- name string
- The name of the CIDR block.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^a-z?$/
.
- Constraints: The maximum length is
- project
Id string - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- type string
- Specify the type of the allowed outbound destination. Allowed types are: 'cidr_block'.
- Constraints: The default value is
cidr_block
. Allowable values are:cidr_block
. The value must match regular expression/^(cidr_block)$/
.
- Constraints: The default value is
- cidr_
block str - The IPv4 address range.
- Constraints: The maximum length is
18
characters. The minimum length is0
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]))$/
.
- Constraints: The maximum length is
- code_
engine_ strallowed_ outbound_ destination_ id - The unique identifier of the code_engine_allowed_outbound_destination.
- 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 is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- etag str
- ETag identifier for code_engine_allowed_outbound_destination.
- name str
- The name of the CIDR block.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^a-z?$/
.
- Constraints: The maximum length is
- project_
id str - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- type str
- Specify the type of the allowed outbound destination. Allowed types are: 'cidr_block'.
- Constraints: The default value is
cidr_block
. Allowable values are:cidr_block
. The value must match regular expression/^(cidr_block)$/
.
- Constraints: The default value is
- cidr
Block String - The IPv4 address range.
- Constraints: The maximum length is
18
characters. The minimum length is0
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]))$/
.
- Constraints: The maximum length is
- code
Engine StringAllowed Outbound Destination Id - The unique identifier of the code_engine_allowed_outbound_destination.
- 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 is1
character. The value must match regular expression/^[\\*\\-a-z0-9]+$/
.
- Constraints: The maximum length is
- etag String
- ETag identifier for code_engine_allowed_outbound_destination.
- name String
- The name of the CIDR block.
- Constraints: The maximum length is
63
characters. The minimum length is1
character. The value must match regular expression/^a-z?$/
.
- Constraints: The maximum length is
- project
Id String - The ID of the project.
- Constraints: The maximum length is
36
characters. The minimum length is36
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}$/
.
- Constraints: The maximum length is
- type String
- Specify the type of the allowed outbound destination. Allowed types are: 'cidr_block'.
- Constraints: The default value is
cidr_block
. Allowable values are:cidr_block
. The value must match regular expression/^(cidr_block)$/
.
- Constraints: The default value is
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 format15314cc3-85b4-4338-903f-c28cdee6d005
. The ID of the project.name
: A string. The name of the CIDR block.
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.