class SecurityRuleServiceClient(ClientWithOperations[
Constructor: SecurityRuleServiceClient(channel)
SecurityRuleService provides operations for managing security rules.
This class provides client methods for the nebius.vpc.v1.SecurityRuleService service.
| Class Method | get |
Return the protobuf service descriptor from the registry. |
| Method | create |
Creates a new security rule with the specified configuration. |
| Method | delete |
Deletes a security rule by its ID. |
| Method | get |
Retrieves a security rule by its ID. |
| Method | get |
Retrieves a security rule by its name within a specified security group. |
| Method | list |
Lists security rules in a specified security group. |
| Method | operation |
Return the client that manages long-running operations. |
| Method | update |
Updates an existing security rule with new configuration parameters. |
| Constant | __PB2 |
Alias for code that expects a protobuf service descriptor. |
| Class Variable | __api |
API gateway name for service routes. |
| Class Variable | __operation |
RPC method that supplies the operation route. |
| Class Variable | __operation |
Message type representing a long-running operation. |
| Class Variable | __service |
Fully qualified protobuf service name for RPC routes. |
| Instance Variable | __operation |
Undocumented |
Inherited from ClientWithOperations:
| Method | __init__ |
Initialize the client-with-operations. |
| Class Variable | __operation |
the client class used to manage operations. |
Inherited from Client (via ClientWithOperations):
| Method | request |
Construct a nebius.aio.request.Request for an RPC. |
| Method | stream |
Construct a native async request for a streaming RPC shape. |
| Class Variable | __registry__ |
Descriptor registry for request metadata. |
| Class Variable | __service |
Optional deprecation message. The client writes this message to the warning log when it starts. |
| Instance Variable | _channel |
Undocumented |
CreateSecurityRuleRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ CreateSecurityRuleRequest, nebius.aio.operation.Operation[ Operation]]:
(source)
¶
Creates a new security rule with the specified configuration.
The request object is returned without starting the RPC.
DeleteSecurityRuleRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ DeleteSecurityRuleRequest, nebius.aio.operation.Operation[ Operation]]:
(source)
¶
Deletes a security rule by its ID.
The request object is returned without starting the RPC.
GetSecurityRuleRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ GetSecurityRuleRequest, SecurityRule]:
(source)
¶
Retrieves a security rule by its ID.
The request object is returned without starting the RPC.
GetSecurityRuleByNameRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ GetSecurityRuleByNameRequest, SecurityRule]:
(source)
¶
Retrieves a security rule by its name within a specified security group.
The request object is returned without starting the RPC.
ListSecurityRulesRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ ListSecurityRulesRequest, ListSecurityRulesResponse]:
(source)
¶
Lists security rules in a specified security group.
The request object is returned without starting the RPC.
UpdateSecurityRuleRequest, **kwargs: Unpack[ RequestKwargs]) -> Request[ UpdateSecurityRuleRequest, nebius.aio.operation.Operation[ Operation]]:
(source)
¶
Updates an existing security rule with new configuration parameters.
The request object is returned without starting the RPC.
Alias for code that expects a protobuf service descriptor.
| Value |
|