1. Packages
  2. Edgecenter Provider
  3. API Docs
  4. InstancePortSecurity
edgecenter 0.7.34 published on Monday, Apr 14, 2025 by edge-center

edgecenter.InstancePortSecurity

Explore with Pulumi AI

Represent instance_port_security resource

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as edgecenter from "@pulumi/edgecenter";

const portSecurity = new edgecenter.InstancePortSecurity("portSecurity", {
    instanceId: "4f81e8f8-d7b8-45a4-93fd-609ad2n670f0",
    portId: "073947f8-8589-4104-bdff-2cedbe56239f",
    portSecurityDisabled: false,
    projectId: 1,
    regionId: 1,
    securityGroups: {
        overwriteExisting: true,
        securityGroupIds: [
            "cd114905-1bc7-45d7-9def-463f16379563",
            "4c2fb2a4-8535-474e-aa7f-ac35804de389",
        ],
    },
});
Copy
import pulumi
import pulumi_edgecenter as edgecenter

port_security = edgecenter.InstancePortSecurity("portSecurity",
    instance_id="4f81e8f8-d7b8-45a4-93fd-609ad2n670f0",
    port_id="073947f8-8589-4104-bdff-2cedbe56239f",
    port_security_disabled=False,
    project_id=1,
    region_id=1,
    security_groups={
        "overwrite_existing": True,
        "security_group_ids": [
            "cd114905-1bc7-45d7-9def-463f16379563",
            "4c2fb2a4-8535-474e-aa7f-ac35804de389",
        ],
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/edgecenter/edgecenter"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := edgecenter.NewInstancePortSecurity(ctx, "portSecurity", &edgecenter.InstancePortSecurityArgs{
			InstanceId:           pulumi.String("4f81e8f8-d7b8-45a4-93fd-609ad2n670f0"),
			PortId:               pulumi.String("073947f8-8589-4104-bdff-2cedbe56239f"),
			PortSecurityDisabled: pulumi.Bool(false),
			ProjectId:            pulumi.Float64(1),
			RegionId:             pulumi.Float64(1),
			SecurityGroups: &edgecenter.InstancePortSecuritySecurityGroupsArgs{
				OverwriteExisting: pulumi.Bool(true),
				SecurityGroupIds: pulumi.StringArray{
					pulumi.String("cd114905-1bc7-45d7-9def-463f16379563"),
					pulumi.String("4c2fb2a4-8535-474e-aa7f-ac35804de389"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Edgecenter = Pulumi.Edgecenter;

return await Deployment.RunAsync(() => 
{
    var portSecurity = new Edgecenter.InstancePortSecurity("portSecurity", new()
    {
        InstanceId = "4f81e8f8-d7b8-45a4-93fd-609ad2n670f0",
        PortId = "073947f8-8589-4104-bdff-2cedbe56239f",
        PortSecurityDisabled = false,
        ProjectId = 1,
        RegionId = 1,
        SecurityGroups = new Edgecenter.Inputs.InstancePortSecuritySecurityGroupsArgs
        {
            OverwriteExisting = true,
            SecurityGroupIds = new[]
            {
                "cd114905-1bc7-45d7-9def-463f16379563",
                "4c2fb2a4-8535-474e-aa7f-ac35804de389",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.edgecenter.InstancePortSecurity;
import com.pulumi.edgecenter.InstancePortSecurityArgs;
import com.pulumi.edgecenter.inputs.InstancePortSecuritySecurityGroupsArgs;
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 portSecurity = new InstancePortSecurity("portSecurity", InstancePortSecurityArgs.builder()
            .instanceId("4f81e8f8-d7b8-45a4-93fd-609ad2n670f0")
            .portId("073947f8-8589-4104-bdff-2cedbe56239f")
            .portSecurityDisabled(false)
            .projectId(1)
            .regionId(1)
            .securityGroups(InstancePortSecuritySecurityGroupsArgs.builder()
                .overwriteExisting(true)
                .securityGroupIds(                
                    "cd114905-1bc7-45d7-9def-463f16379563",
                    "4c2fb2a4-8535-474e-aa7f-ac35804de389")
                .build())
            .build());

    }
}
Copy
resources:
  portSecurity:
    type: edgecenter:InstancePortSecurity
    properties:
      instanceId: 4f81e8f8-d7b8-45a4-93fd-609ad2n670f0
      portId: 073947f8-8589-4104-bdff-2cedbe56239f
      portSecurityDisabled: false
      projectId: 1
      regionId: 1
      securityGroups:
        overwriteExisting: true
        securityGroupIds:
          - cd114905-1bc7-45d7-9def-463f16379563
          - 4c2fb2a4-8535-474e-aa7f-ac35804de389
Copy

Create InstancePortSecurity Resource

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

Constructor syntax

new InstancePortSecurity(name: string, args: InstancePortSecurityArgs, opts?: CustomResourceOptions);
@overload
def InstancePortSecurity(resource_name: str,
                         args: InstancePortSecurityArgs,
                         opts: Optional[ResourceOptions] = None)

@overload
def InstancePortSecurity(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         instance_id: Optional[str] = None,
                         port_id: Optional[str] = None,
                         instance_port_security_id: Optional[str] = None,
                         port_security_disabled: Optional[bool] = None,
                         project_id: Optional[float] = None,
                         project_name: Optional[str] = None,
                         region_id: Optional[float] = None,
                         region_name: Optional[str] = None,
                         security_groups: Optional[InstancePortSecuritySecurityGroupsArgs] = None,
                         timeouts: Optional[InstancePortSecurityTimeoutsArgs] = None)
func NewInstancePortSecurity(ctx *Context, name string, args InstancePortSecurityArgs, opts ...ResourceOption) (*InstancePortSecurity, error)
public InstancePortSecurity(string name, InstancePortSecurityArgs args, CustomResourceOptions? opts = null)
public InstancePortSecurity(String name, InstancePortSecurityArgs args)
public InstancePortSecurity(String name, InstancePortSecurityArgs args, CustomResourceOptions options)
type: edgecenter:InstancePortSecurity
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. InstancePortSecurityArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. InstancePortSecurityArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. InstancePortSecurityArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. InstancePortSecurityArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. InstancePortSecurityArgs
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 instancePortSecurityResource = new Edgecenter.InstancePortSecurity("instancePortSecurityResource", new()
{
    InstanceId = "string",
    PortId = "string",
    InstancePortSecurityId = "string",
    PortSecurityDisabled = false,
    ProjectId = 0,
    ProjectName = "string",
    RegionId = 0,
    RegionName = "string",
    SecurityGroups = new Edgecenter.Inputs.InstancePortSecuritySecurityGroupsArgs
    {
        AllSecurityGroupIds = new[]
        {
            "string",
        },
        OverwriteExisting = false,
        SecurityGroupIds = new[]
        {
            "string",
        },
    },
    Timeouts = new Edgecenter.Inputs.InstancePortSecurityTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Read = "string",
        Update = "string",
    },
});
Copy
example, err := edgecenter.NewInstancePortSecurity(ctx, "instancePortSecurityResource", &edgecenter.InstancePortSecurityArgs{
InstanceId: pulumi.String("string"),
PortId: pulumi.String("string"),
InstancePortSecurityId: pulumi.String("string"),
PortSecurityDisabled: pulumi.Bool(false),
ProjectId: pulumi.Float64(0),
ProjectName: pulumi.String("string"),
RegionId: pulumi.Float64(0),
RegionName: pulumi.String("string"),
SecurityGroups: &.InstancePortSecuritySecurityGroupsArgs{
AllSecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
OverwriteExisting: pulumi.Bool(false),
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
},
Timeouts: &.InstancePortSecurityTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
Copy
var instancePortSecurityResource = new InstancePortSecurity("instancePortSecurityResource", InstancePortSecurityArgs.builder()
    .instanceId("string")
    .portId("string")
    .instancePortSecurityId("string")
    .portSecurityDisabled(false)
    .projectId(0)
    .projectName("string")
    .regionId(0)
    .regionName("string")
    .securityGroups(InstancePortSecuritySecurityGroupsArgs.builder()
        .allSecurityGroupIds("string")
        .overwriteExisting(false)
        .securityGroupIds("string")
        .build())
    .timeouts(InstancePortSecurityTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .read("string")
        .update("string")
        .build())
    .build());
Copy
instance_port_security_resource = edgecenter.InstancePortSecurity("instancePortSecurityResource",
    instance_id="string",
    port_id="string",
    instance_port_security_id="string",
    port_security_disabled=False,
    project_id=0,
    project_name="string",
    region_id=0,
    region_name="string",
    security_groups={
        "all_security_group_ids": ["string"],
        "overwrite_existing": False,
        "security_group_ids": ["string"],
    },
    timeouts={
        "create": "string",
        "delete": "string",
        "read": "string",
        "update": "string",
    })
Copy
const instancePortSecurityResource = new edgecenter.InstancePortSecurity("instancePortSecurityResource", {
    instanceId: "string",
    portId: "string",
    instancePortSecurityId: "string",
    portSecurityDisabled: false,
    projectId: 0,
    projectName: "string",
    regionId: 0,
    regionName: "string",
    securityGroups: {
        allSecurityGroupIds: ["string"],
        overwriteExisting: false,
        securityGroupIds: ["string"],
    },
    timeouts: {
        create: "string",
        "delete": "string",
        read: "string",
        update: "string",
    },
});
Copy
type: edgecenter:InstancePortSecurity
properties:
    instanceId: string
    instancePortSecurityId: string
    portId: string
    portSecurityDisabled: false
    projectId: 0
    projectName: string
    regionId: 0
    regionName: string
    securityGroups:
        allSecurityGroupIds:
            - string
        overwriteExisting: false
        securityGroupIds:
            - string
    timeouts:
        create: string
        delete: string
        read: string
        update: string
Copy

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

InstanceId This property is required. string
ID of the instance to which the port is connected.
PortId This property is required. string
ID of the instance network port.
InstancePortSecurityId string
The ID of this resource.
PortSecurityDisabled bool
Is the portsecurity feature disabled. If this field has value "true", you can't use "securitygroups" field. You can't change port security of a public network port. When this field has value "true" all security groups will be deleted. When this field switched back to value "false" or deleted, default security group will be attached.
ProjectId double
The uuid of the project. Either 'projectid' or 'projectname' must be specified.
ProjectName string
The name of the project. Either 'projectid' or 'projectname' must be specified.
RegionId double
The uuid of the region. Either 'regionid' or 'regionname' must be specified.
RegionName string
The name of the region. Either 'regionid' or 'regionname' must be specified.
SecurityGroups InstancePortSecuritySecurityGroups
Security groups.
Timeouts InstancePortSecurityTimeouts
InstanceId This property is required. string
ID of the instance to which the port is connected.
PortId This property is required. string
ID of the instance network port.
InstancePortSecurityId string
The ID of this resource.
PortSecurityDisabled bool
Is the portsecurity feature disabled. If this field has value "true", you can't use "securitygroups" field. You can't change port security of a public network port. When this field has value "true" all security groups will be deleted. When this field switched back to value "false" or deleted, default security group will be attached.
ProjectId float64
The uuid of the project. Either 'projectid' or 'projectname' must be specified.
ProjectName string
The name of the project. Either 'projectid' or 'projectname' must be specified.
RegionId float64
The uuid of the region. Either 'regionid' or 'regionname' must be specified.
RegionName string
The name of the region. Either 'regionid' or 'regionname' must be specified.
SecurityGroups InstancePortSecuritySecurityGroupsArgs
Security groups.
Timeouts InstancePortSecurityTimeoutsArgs
instanceId This property is required. String
ID of the instance to which the port is connected.
portId This property is required. String
ID of the instance network port.
instancePortSecurityId String
The ID of this resource.
portSecurityDisabled Boolean
Is the portsecurity feature disabled. If this field has value "true", you can't use "securitygroups" field. You can't change port security of a public network port. When this field has value "true" all security groups will be deleted. When this field switched back to value "false" or deleted, default security group will be attached.
projectId Double
The uuid of the project. Either 'projectid' or 'projectname' must be specified.
projectName String
The name of the project. Either 'projectid' or 'projectname' must be specified.
regionId Double
The uuid of the region. Either 'regionid' or 'regionname' must be specified.
regionName String
The name of the region. Either 'regionid' or 'regionname' must be specified.
securityGroups InstancePortSecuritySecurityGroups
Security groups.
timeouts InstancePortSecurityTimeouts
instanceId This property is required. string
ID of the instance to which the port is connected.
portId This property is required. string
ID of the instance network port.
instancePortSecurityId string
The ID of this resource.
portSecurityDisabled boolean
Is the portsecurity feature disabled. If this field has value "true", you can't use "securitygroups" field. You can't change port security of a public network port. When this field has value "true" all security groups will be deleted. When this field switched back to value "false" or deleted, default security group will be attached.
projectId number
The uuid of the project. Either 'projectid' or 'projectname' must be specified.
projectName string
The name of the project. Either 'projectid' or 'projectname' must be specified.
regionId number
The uuid of the region. Either 'regionid' or 'regionname' must be specified.
regionName string
The name of the region. Either 'regionid' or 'regionname' must be specified.
securityGroups InstancePortSecuritySecurityGroups
Security groups.
timeouts InstancePortSecurityTimeouts
instance_id This property is required. str
ID of the instance to which the port is connected.
port_id This property is required. str
ID of the instance network port.
instance_port_security_id str
The ID of this resource.
port_security_disabled bool
Is the portsecurity feature disabled. If this field has value "true", you can't use "securitygroups" field. You can't change port security of a public network port. When this field has value "true" all security groups will be deleted. When this field switched back to value "false" or deleted, default security group will be attached.
project_id float
The uuid of the project. Either 'projectid' or 'projectname' must be specified.
project_name str
The name of the project. Either 'projectid' or 'projectname' must be specified.
region_id float
The uuid of the region. Either 'regionid' or 'regionname' must be specified.
region_name str
The name of the region. Either 'regionid' or 'regionname' must be specified.
security_groups InstancePortSecuritySecurityGroupsArgs
Security groups.
timeouts InstancePortSecurityTimeoutsArgs
instanceId This property is required. String
ID of the instance to which the port is connected.
portId This property is required. String
ID of the instance network port.
instancePortSecurityId String
The ID of this resource.
portSecurityDisabled Boolean
Is the portsecurity feature disabled. If this field has value "true", you can't use "securitygroups" field. You can't change port security of a public network port. When this field has value "true" all security groups will be deleted. When this field switched back to value "false" or deleted, default security group will be attached.
projectId Number
The uuid of the project. Either 'projectid' or 'projectname' must be specified.
projectName String
The name of the project. Either 'projectid' or 'projectname' must be specified.
regionId Number
The uuid of the region. Either 'regionid' or 'regionname' must be specified.
regionName String
The name of the region. Either 'regionid' or 'regionname' must be specified.
securityGroups Property Map
Security groups.
timeouts Property Map

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing InstancePortSecurity Resource

Get an existing InstancePortSecurity 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?: InstancePortSecurityState, opts?: CustomResourceOptions): InstancePortSecurity
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        instance_id: Optional[str] = None,
        instance_port_security_id: Optional[str] = None,
        port_id: Optional[str] = None,
        port_security_disabled: Optional[bool] = None,
        project_id: Optional[float] = None,
        project_name: Optional[str] = None,
        region_id: Optional[float] = None,
        region_name: Optional[str] = None,
        security_groups: Optional[InstancePortSecuritySecurityGroupsArgs] = None,
        timeouts: Optional[InstancePortSecurityTimeoutsArgs] = None) -> InstancePortSecurity
func GetInstancePortSecurity(ctx *Context, name string, id IDInput, state *InstancePortSecurityState, opts ...ResourceOption) (*InstancePortSecurity, error)
public static InstancePortSecurity Get(string name, Input<string> id, InstancePortSecurityState? state, CustomResourceOptions? opts = null)
public static InstancePortSecurity get(String name, Output<String> id, InstancePortSecurityState state, CustomResourceOptions options)
resources:  _:    type: edgecenter:InstancePortSecurity    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
InstanceId string
ID of the instance to which the port is connected.
InstancePortSecurityId string
The ID of this resource.
PortId string
ID of the instance network port.
PortSecurityDisabled bool
Is the portsecurity feature disabled. If this field has value "true", you can't use "securitygroups" field. You can't change port security of a public network port. When this field has value "true" all security groups will be deleted. When this field switched back to value "false" or deleted, default security group will be attached.
ProjectId double
The uuid of the project. Either 'projectid' or 'projectname' must be specified.
ProjectName string
The name of the project. Either 'projectid' or 'projectname' must be specified.
RegionId double
The uuid of the region. Either 'regionid' or 'regionname' must be specified.
RegionName string
The name of the region. Either 'regionid' or 'regionname' must be specified.
SecurityGroups InstancePortSecuritySecurityGroups
Security groups.
Timeouts InstancePortSecurityTimeouts
InstanceId string
ID of the instance to which the port is connected.
InstancePortSecurityId string
The ID of this resource.
PortId string
ID of the instance network port.
PortSecurityDisabled bool
Is the portsecurity feature disabled. If this field has value "true", you can't use "securitygroups" field. You can't change port security of a public network port. When this field has value "true" all security groups will be deleted. When this field switched back to value "false" or deleted, default security group will be attached.
ProjectId float64
The uuid of the project. Either 'projectid' or 'projectname' must be specified.
ProjectName string
The name of the project. Either 'projectid' or 'projectname' must be specified.
RegionId float64
The uuid of the region. Either 'regionid' or 'regionname' must be specified.
RegionName string
The name of the region. Either 'regionid' or 'regionname' must be specified.
SecurityGroups InstancePortSecuritySecurityGroupsArgs
Security groups.
Timeouts InstancePortSecurityTimeoutsArgs
instanceId String
ID of the instance to which the port is connected.
instancePortSecurityId String
The ID of this resource.
portId String
ID of the instance network port.
portSecurityDisabled Boolean
Is the portsecurity feature disabled. If this field has value "true", you can't use "securitygroups" field. You can't change port security of a public network port. When this field has value "true" all security groups will be deleted. When this field switched back to value "false" or deleted, default security group will be attached.
projectId Double
The uuid of the project. Either 'projectid' or 'projectname' must be specified.
projectName String
The name of the project. Either 'projectid' or 'projectname' must be specified.
regionId Double
The uuid of the region. Either 'regionid' or 'regionname' must be specified.
regionName String
The name of the region. Either 'regionid' or 'regionname' must be specified.
securityGroups InstancePortSecuritySecurityGroups
Security groups.
timeouts InstancePortSecurityTimeouts
instanceId string
ID of the instance to which the port is connected.
instancePortSecurityId string
The ID of this resource.
portId string
ID of the instance network port.
portSecurityDisabled boolean
Is the portsecurity feature disabled. If this field has value "true", you can't use "securitygroups" field. You can't change port security of a public network port. When this field has value "true" all security groups will be deleted. When this field switched back to value "false" or deleted, default security group will be attached.
projectId number
The uuid of the project. Either 'projectid' or 'projectname' must be specified.
projectName string
The name of the project. Either 'projectid' or 'projectname' must be specified.
regionId number
The uuid of the region. Either 'regionid' or 'regionname' must be specified.
regionName string
The name of the region. Either 'regionid' or 'regionname' must be specified.
securityGroups InstancePortSecuritySecurityGroups
Security groups.
timeouts InstancePortSecurityTimeouts
instance_id str
ID of the instance to which the port is connected.
instance_port_security_id str
The ID of this resource.
port_id str
ID of the instance network port.
port_security_disabled bool
Is the portsecurity feature disabled. If this field has value "true", you can't use "securitygroups" field. You can't change port security of a public network port. When this field has value "true" all security groups will be deleted. When this field switched back to value "false" or deleted, default security group will be attached.
project_id float
The uuid of the project. Either 'projectid' or 'projectname' must be specified.
project_name str
The name of the project. Either 'projectid' or 'projectname' must be specified.
region_id float
The uuid of the region. Either 'regionid' or 'regionname' must be specified.
region_name str
The name of the region. Either 'regionid' or 'regionname' must be specified.
security_groups InstancePortSecuritySecurityGroupsArgs
Security groups.
timeouts InstancePortSecurityTimeoutsArgs
instanceId String
ID of the instance to which the port is connected.
instancePortSecurityId String
The ID of this resource.
portId String
ID of the instance network port.
portSecurityDisabled Boolean
Is the portsecurity feature disabled. If this field has value "true", you can't use "securitygroups" field. You can't change port security of a public network port. When this field has value "true" all security groups will be deleted. When this field switched back to value "false" or deleted, default security group will be attached.
projectId Number
The uuid of the project. Either 'projectid' or 'projectname' must be specified.
projectName String
The name of the project. Either 'projectid' or 'projectname' must be specified.
regionId Number
The uuid of the region. Either 'regionid' or 'regionname' must be specified.
regionName String
The name of the region. Either 'regionid' or 'regionname' must be specified.
securityGroups Property Map
Security groups.
timeouts Property Map

Supporting Types

InstancePortSecuritySecurityGroups
, InstancePortSecuritySecurityGroupsArgs

AllSecurityGroupIds List<string>
Set of all security groups IDs. This field has all security groups, including those that were created outside of this resource (the default security group and security groups created through the UI or API)
OverwriteExisting bool
Whether to overwrite all security groups. If this field has value "true", security groups that were created outside of this resource (the default security group and security groups created through UI or API will be deleted and attached security groups specified in the attribute "securitygroupids" only)
SecurityGroupIds List<string>
A set of security groups IDs that need to be attached.
AllSecurityGroupIds []string
Set of all security groups IDs. This field has all security groups, including those that were created outside of this resource (the default security group and security groups created through the UI or API)
OverwriteExisting bool
Whether to overwrite all security groups. If this field has value "true", security groups that were created outside of this resource (the default security group and security groups created through UI or API will be deleted and attached security groups specified in the attribute "securitygroupids" only)
SecurityGroupIds []string
A set of security groups IDs that need to be attached.
allSecurityGroupIds List<String>
Set of all security groups IDs. This field has all security groups, including those that were created outside of this resource (the default security group and security groups created through the UI or API)
overwriteExisting Boolean
Whether to overwrite all security groups. If this field has value "true", security groups that were created outside of this resource (the default security group and security groups created through UI or API will be deleted and attached security groups specified in the attribute "securitygroupids" only)
securityGroupIds List<String>
A set of security groups IDs that need to be attached.
allSecurityGroupIds string[]
Set of all security groups IDs. This field has all security groups, including those that were created outside of this resource (the default security group and security groups created through the UI or API)
overwriteExisting boolean
Whether to overwrite all security groups. If this field has value "true", security groups that were created outside of this resource (the default security group and security groups created through UI or API will be deleted and attached security groups specified in the attribute "securitygroupids" only)
securityGroupIds string[]
A set of security groups IDs that need to be attached.
all_security_group_ids Sequence[str]
Set of all security groups IDs. This field has all security groups, including those that were created outside of this resource (the default security group and security groups created through the UI or API)
overwrite_existing bool
Whether to overwrite all security groups. If this field has value "true", security groups that were created outside of this resource (the default security group and security groups created through UI or API will be deleted and attached security groups specified in the attribute "securitygroupids" only)
security_group_ids Sequence[str]
A set of security groups IDs that need to be attached.
allSecurityGroupIds List<String>
Set of all security groups IDs. This field has all security groups, including those that were created outside of this resource (the default security group and security groups created through the UI or API)
overwriteExisting Boolean
Whether to overwrite all security groups. If this field has value "true", security groups that were created outside of this resource (the default security group and security groups created through UI or API will be deleted and attached security groups specified in the attribute "securitygroupids" only)
securityGroupIds List<String>
A set of security groups IDs that need to be attached.

InstancePortSecurityTimeouts
, InstancePortSecurityTimeoutsArgs

Create string
Delete string
Read string
Update string
Create string
Delete string
Read string
Update string
create String
delete String
read String
update String
create string
delete string
read string
update string
create str
delete str
read str
update str
create String
delete String
read String
update String

Package Details

Repository
edgecenter edge-center/terraform-provider-edgecenter
License
Notes
This Pulumi package is based on the edgecenter Terraform Provider.