You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
705 B
24 lines
705 B
import dynamix_sdk.base as _base
|
|
import dynamix_sdk.api._nested as _nested
|
|
|
|
|
|
class CloudapiSecurityGroupCreateRuleResultInt(_base.BaseAPIResultInt):
|
|
pass
|
|
|
|
|
|
class CloudapiSecurityGroupCreateRuleProtocol(
|
|
_base.BasePostAPIFunctionProtocol,
|
|
):
|
|
def create_rule(
|
|
self,
|
|
*,
|
|
security_group_id: int,
|
|
traffic_direction: _nested.TrafficDirection,
|
|
ethertype: _nested.SGRuleEthertype = _nested.SGRuleEthertype.IPV4,
|
|
protocol: _nested.SGRuleProtocol | None = None,
|
|
port_range_max: int | None = None,
|
|
port_range_min: int | None = None,
|
|
remote_ip_prefix: str | None = None,
|
|
) -> CloudapiSecurityGroupCreateRuleResultInt:
|
|
...
|