CreateSecurityGroupRuleRequest: {
    action: SecurityGroupRuleAction;
    destPortFrom?: number;
    destPortTo?: number;
    direction: SecurityGroupRuleDirection;
    editable: boolean;
    ipRange: string;
    position: number;
    protocol: SecurityGroupRuleProtocol;
    securityGroupId: string;
    zone?: Zone;
}

Type declaration

  • action: SecurityGroupRuleAction
  • OptionaldestPortFrom?: number

    Beginning of the range of ports to apply this rule to (inclusive).

  • OptionaldestPortTo?: number

    End of the range of ports to apply this rule to (inclusive).

  • direction: SecurityGroupRuleDirection
  • editable: boolean

    Indicates if this rule is editable (will be ignored).

  • ipRange: string
  • position: number

    Position of this rule in the security group rules list.

  • protocol: SecurityGroupRuleProtocol
  • securityGroupId: string

    UUID of the security group.

  • Optionalzone?: Zone

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