CreateSecurityGroupRequest: {
    description: string;
    enableDefaultSecurity?: boolean;
    inboundDefaultPolicy?: SecurityGroupPolicy;
    name?: string;
    organization?: string;
    organizationDefault?: boolean;
    outboundDefaultPolicy?: SecurityGroupPolicy;
    project?: string;
    projectDefault?: boolean;
    stateful: boolean;
    tags?: string[];
    zone?: Zone;
}

Type declaration

  • description: string

    Description of the security group.

  • OptionalenableDefaultSecurity?: boolean

    True to block SMTP on IPv4 and IPv6. This feature is read only, please open a support ticket if you need to make it configurable.

  • OptionalinboundDefaultPolicy?: SecurityGroupPolicy

    Default policy for inbound rules.

  • Optionalname?: string

    Name of the security group.

  • Optionalorganization?: string

    Organization ID the security group belongs to.

    One-of ('projectIdentifier'): at most one of 'project', 'organization' could be set.

  • OptionalorganizationDefault?: boolean

    Defines whether this security group becomes the default security group for new Instances.

    One-of ('defaultIdentifier'): at most one of 'organizationDefault', 'projectDefault' could be set.

  • OptionaloutboundDefaultPolicy?: SecurityGroupPolicy

    Default policy for outbound rules.

  • Optionalproject?: string

    Project ID the security group belong to.

    One-of ('projectIdentifier'): at most one of 'project', 'organization' could be set.

  • OptionalprojectDefault?: boolean

    Whether this security group becomes the default security group for new Instances.

    One-of ('defaultIdentifier'): at most one of 'organizationDefault', 'projectDefault' could be set.

  • stateful: boolean

    Whether the security group is stateful or not.

  • Optionaltags?: string[]

    Tags of the security group.

  • Optionalzone?: Zone

    Zone to target. If none is passed will use default zone from the config.