class documentation

class ZoneServiceClient(client.Client): (source)

Constructor: ZoneServiceClient(channel)

View In Hierarchy

Service for managing DNS zones (Zone resources)

This class provides the client methods for the .nebius.dns.v1.ZoneService service.

Each method constructs a nebius.aio.request.Request object that represents the in-flight RPC. The request can be awaited (async) or waited synchronously using its .wait() helpers.

The request methods accept various parameters to configure metadata, timeouts, authorization, and retries. See individual method docstrings for details.

Method get Gets the DNS zone with the specified ID
Method get_by_name Gets the DNS zone by its parent IAM container (metadata.parent_id) and metadata.name
Method list Lists DNS zones in the specified parent IAM container
Constant __PB2_DESCRIPTOR__ The protobuf service descriptor extraction function.
Class Variable __service_name__ The full protobuf service name.

Inherited from Client:

Method __init__ Create a client bound to a channel.
Method request Construct a nebius.aio.request.Request for an RPC.
Class Variable __service_deprecation_details__ optional deprecation message emitted as a runtime warning when the client is constructed.
Instance Variable _channel Undocumented
def get(self, request: GetZoneRequest, **kwargs: typing_extensions.Unpack[request_kwargs.RequestKwargs]) -> request.Request[GetZoneRequest, Zone]: (source)

Gets the DNS zone with the specified ID

Other parameters can be provided as keyword arguments in the **kwargs dictionary, including metadata, timeouts, and retries. See nebius.aio.request_kwargs.RequestKwargs for details.

Parameters
request:nebius.api.nebius.dns.v1.GetZoneRequestThe request object to send.
**kwargs:typing_extensions.Unpack[request_kwargs.RequestKwargs]Undocumented
Returns
nebius.aio.request.Request of nebius.api.nebius.dns.v1.Zone.A nebius.aio.request.Request object representing the in-flight RPC. It can be awaited (async) or waited synchronously using its .wait() helpers.
def get_by_name(self, request: v1_1.GetByNameRequest, **kwargs: typing_extensions.Unpack[request_kwargs.RequestKwargs]) -> request.Request[v1_1.GetByNameRequest, Zone]: (source)

Gets the DNS zone by its parent IAM container (metadata.parent_id) and metadata.name

Other parameters can be provided as keyword arguments in the **kwargs dictionary, including metadata, timeouts, and retries. See nebius.aio.request_kwargs.RequestKwargs for details.

Parameters
request:nebius.api.nebius.common.v1.GetByNameRequestThe request object to send.
**kwargs:typing_extensions.Unpack[request_kwargs.RequestKwargs]Undocumented
Returns
nebius.aio.request.Request of nebius.api.nebius.dns.v1.Zone.A nebius.aio.request.Request object representing the in-flight RPC. It can be awaited (async) or waited synchronously using its .wait() helpers.
def list(self, request: ListZonesRequest, **kwargs: typing_extensions.Unpack[request_kwargs.RequestKwargs]) -> request.Request[ListZonesRequest, ListZonesResponse]: (source)

Lists DNS zones in the specified parent IAM container

Other parameters can be provided as keyword arguments in the **kwargs dictionary, including metadata, timeouts, and retries. See nebius.aio.request_kwargs.RequestKwargs for details.

Parameters
request:nebius.api.nebius.dns.v1.ListZonesRequestThe request object to send.
**kwargs:typing_extensions.Unpack[request_kwargs.RequestKwargs]Undocumented
Returns
nebius.aio.request.Request of nebius.api.nebius.dns.v1.ListZonesResponse.A nebius.aio.request.Request object representing the in-flight RPC. It can be awaited (async) or waited synchronously using its .wait() helpers.
__PB2_DESCRIPTOR__ = (source)

The protobuf service descriptor extraction function.

Value
descriptor.DescriptorWrap[descriptor_1.ServiceDescriptor]('.nebius.dns.v1.ZoneSe
rvice',
                                                          zone_service_pb2.DESCRIPTOR
,
                                                          descriptor_1.ServiceDescriptor
)
__service_name__: str = (source)

The full protobuf service name.