Cloud.SecurityGroup

Cloud.SecurityGroup
Cloud.SecurityGroup

Request schema for provisioning Security Group.

JSON Example
{
    "constraints": [
        {
            "tag": "string"
        }
    ],
    "count": 0,
    "description": "string",
    "name": "string",
    "providerId": "string",
    "rules": [
        {
            "access": "string",
            "destination": "string",
            "direction": "string",
            "name": "string",
            "ports": "string",
            "protocol": "string",
            "service": "string",
            "source": "string"
        }
    ],
    "securityGroupType": "string",
    "tags": [
        {
            "key": "string",
            "value": "string"
        }
    ]
}
array of object
constraints
Optional

Applies to securityGroupType 'existing'. To allocate the correct security group, blueprint constraints are matched against infrastructure capability tags set by the administrator on security groups. Constraints must include the key name. Options include value, negative [!], and hard or soft requirement.

integer
count
Optional

The number of resource instances to be created.

string
description
Optional

Free form description of the security group.

string
name
Optional

Security group name.

string
providerId
Optional

A unique identifier of the resource in the context of the provider.

array of object
rules
Optional

Security group rules.

string
securityGroupType
Required

Type of security group: 'existing' or 'new'.

Possible values are : existing, new,
array of object
tags
Optional

Applies to securityGroupType 'new'. Enter resources categories by using case-sensitive key names or key-value pair syntax.