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

Type declaration

  • Optionalaction?: SecurityGroupRuleAction

    Action to apply when the rule matches a packet.

  • OptionaldestPortFrom?: number

    Beginning of the range of ports this rule applies to (inclusive). If 0 is provided, unset the parameter.

  • OptionaldestPortTo?: number

    End of the range of ports this rule applies to (inclusive). If 0 is provided, unset the parameter.

  • Optionaldirection?: SecurityGroupRuleDirection

    Direction the rule applies to.

  • OptionalipRange?: string

    Range of IP addresses these rules apply to.

  • Optionalposition?: number

    Position of this rule in the security group rules list.

  • Optionalprotocol?: SecurityGroupRuleProtocol

    Protocol family this rule applies to.

  • securityGroupId: string

    UUID of the security group.

  • securityGroupRuleId: string

    UUID of the rule.

  • Optionalzone?: Zone

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