SecurityGroupSpecification

SecurityGroupSpecification
SecurityGroupSpecification

Specification for a cloud security group

JSON Example
{
    "name": "string",
    "projectId": "e058",
    "deploymentId": "123e4567-e89b-12d3-a456-426655440000",
    "customProperties": {
        "customProperties": "string"
    },
    "description": "string",
    "rules": [
        {
            "name": "5756f7e2",
            "protocol": "ANY, TCP, UDP",
            "service": "HTTPS, SSH",
            "ipRangeCidr": "66.170.99.2/32",
            "ports": "443, 1-655535",
            "access": "Allow",
            "direction": "Outbound"
        }
    ],
    "tags": [
        {
            "key": "group",
            "value": "ssh"
        }
    ]
}
string
name
Required

A human-friendly name used as an identifier in APIs that support this option.

string
projectId
Required

The id of the project the current user belongs to.

string
deploymentId
Optional

The id of the deployment that is associated with this resource

object
customProperties
Optional

Additional custom properties that may be used to extend this resource.

string
description
Optional

A human-friendly description.

array of Rule
rules
Optional

List of security rules.

array of Tag
tags
Optional

A set of tag keys and optional values that should be set on any resource that is produced from this specification.