import { Long, unknownFieldsSymbol } from "../../../../runtime/protos/index.js"; import type { MessageDescriptor, MessageFns, EnumInstance, EnumClass } from "../../../../runtime/protos/index.js"; import { customJson } from "../../../../runtime/util/logging.js"; import { ChannelCredentials, Client, ClientUnaryCall, ClientOptions, CallOptions, Metadata, ServiceError as GrpcServiceError, handleUnaryCall, UntypedServiceImplementation } from "@grpc/grpc-js"; import type { SDKInterface } from "../../../../sdk.js"; import { Request as SDKRequestClass, type RetryOptions } from "../../../../runtime/request.js"; import { Operation as OperationWrapper } from "../../../../runtime/operation.js"; import { GetByNameRequest, GetOperationRequest, Operation, OperationService, ResourceMetadata } from "../../common/v1/index.js"; /** * Defines the gRPC methods for the `nebius.dns.v1.RecordService` service. */ export type RecordServiceServiceDescription = typeof RecordServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.dns.v1.RecordService` service. */ export declare const RecordServiceServiceDescription: { readonly get: { readonly path: "/nebius.dns.v1.RecordService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetRecordRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetRecordRequest; readonly responseSerialize: (value: Record) => Buffer; readonly responseDeserialize: (value: Buffer) => Record; }; readonly getByName: { readonly path: "/nebius.dns.v1.RecordService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetByNameRequest; readonly responseSerialize: (value: Record) => Buffer; readonly responseDeserialize: (value: Buffer) => Record; }; readonly list: { readonly path: "/nebius.dns.v1.RecordService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListRecordsRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListRecordsRequest; readonly responseSerialize: (value: ListRecordsResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListRecordsResponse; }; readonly create: { readonly path: "/nebius.dns.v1.RecordService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateRecordRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateRecordRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly update: { readonly path: "/nebius.dns.v1.RecordService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateRecordRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateRecordRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.dns.v1.RecordService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteRecordRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteRecordRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.dns.v1.RecordService` service. */ export interface RecordServiceServer extends UntypedServiceImplementation { /** * Gets the DNS record with the specified ID * */ get: handleUnaryCall; /** * Gets the DNS record by its parent DNS zone (`metadata.parent_id`) and `metadata.name` * */ getByName: handleUnaryCall; /** * Lists DNS records in the specified DNS zone * */ list: handleUnaryCall; /** * Creates a DNS record * */ create: handleUnaryCall; /** * Updates the DNS record with the specified ID * */ update: handleUnaryCall; /** * Deletes the DNS record with the specified ID * */ delete: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.dns.v1.RecordService` service. */ export interface RecordServiceBaseClient extends Client { /** * Gets the DNS record with the specified ID * */ get(request: GetRecordRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Record) => void): ClientUnaryCall; /** * Gets the DNS record by its parent DNS zone (`metadata.parent_id`) and `metadata.name` * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Record) => void): ClientUnaryCall; /** * Lists DNS records in the specified DNS zone * */ list(request: ListRecordsRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListRecordsResponse) => void): ClientUnaryCall; /** * Creates a DNS record * */ create(request: CreateRecordRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Updates the DNS record with the specified ID * */ update(request: UpdateRecordRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Deletes the DNS record with the specified ID * */ delete(request: DeleteRecordRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.dns.v1.RecordService` service. */ export declare const RecordServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): RecordServiceBaseClient; /** Contains the gRPC service description. */ service: typeof RecordServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Service for managing DNS records (`Record` resources) * */ export interface RecordService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.dns.v1.RecordService"; /** * Gets the DNS record with the specified ID * */ get(request: GetRecordRequest): SDKRequestClass; /** * Gets the DNS record with the specified ID * */ get(request: GetRecordRequest, metadata: Metadata): SDKRequestClass; /** * Gets the DNS record with the specified ID * */ get(request: GetRecordRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Gets the DNS record by its parent DNS zone (`metadata.parent_id`) and `metadata.name` * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Gets the DNS record by its parent DNS zone (`metadata.parent_id`) and `metadata.name` * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Gets the DNS record by its parent DNS zone (`metadata.parent_id`) and `metadata.name` * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists DNS records in the specified DNS zone * */ list(request: ListRecordsRequest): SDKRequestClass; /** * Lists DNS records in the specified DNS zone * */ list(request: ListRecordsRequest, metadata: Metadata): SDKRequestClass; /** * Lists DNS records in the specified DNS zone * */ list(request: ListRecordsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates a DNS record * */ create(request: CreateRecordRequest): SDKRequestClass>; /** * Creates a DNS record * */ create(request: CreateRecordRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a DNS record * */ create(request: CreateRecordRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Updates the DNS record with the specified ID * */ update(request: UpdateRecordRequest): SDKRequestClass>; /** * Updates the DNS record with the specified ID * */ update(request: UpdateRecordRequest, metadata: Metadata): SDKRequestClass>; /** * Updates the DNS record with the specified ID * */ update(request: UpdateRecordRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes the DNS record with the specified ID * */ delete(request: DeleteRecordRequest): SDKRequestClass>; /** * Deletes the DNS record with the specified ID * */ delete(request: DeleteRecordRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes the DNS record with the specified ID * */ delete(request: DeleteRecordRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.dns.v1.RecordService` service through the Nebius SDK. */ export declare class RecordService implements RecordService { private sdk; $type: "nebius.dns.v1.RecordService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Gets the DNS record with the specified ID * */ get(request: GetRecordRequest): SDKRequestClass; /** * Gets the DNS record with the specified ID * */ get(request: GetRecordRequest, metadata: Metadata): SDKRequestClass; /** * Gets the DNS record with the specified ID * */ get(request: GetRecordRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Gets the DNS record by its parent DNS zone (`metadata.parent_id`) and `metadata.name` * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Gets the DNS record by its parent DNS zone (`metadata.parent_id`) and `metadata.name` * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Gets the DNS record by its parent DNS zone (`metadata.parent_id`) and `metadata.name` * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists DNS records in the specified DNS zone * */ list(request: ListRecordsRequest): SDKRequestClass; /** * Lists DNS records in the specified DNS zone * */ list(request: ListRecordsRequest, metadata: Metadata): SDKRequestClass; /** * Lists DNS records in the specified DNS zone * */ list(request: ListRecordsRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates a DNS record * */ create(request: CreateRecordRequest): SDKRequestClass>; /** * Creates a DNS record * */ create(request: CreateRecordRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a DNS record * */ create(request: CreateRecordRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Updates the DNS record with the specified ID * */ update(request: UpdateRecordRequest): SDKRequestClass>; /** * Updates the DNS record with the specified ID * */ update(request: UpdateRecordRequest, metadata: Metadata): SDKRequestClass>; /** * Updates the DNS record with the specified ID * */ update(request: UpdateRecordRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes the DNS record with the specified ID * */ delete(request: DeleteRecordRequest): SDKRequestClass>; /** * Deletes the DNS record with the specified ID * */ delete(request: DeleteRecordRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes the DNS record with the specified ID * */ delete(request: DeleteRecordRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * DNS Record type * */ export type RecordSpec_RecordType = EnumInstance<"UNRECOGNIZED" | "RECORD_TYPE_UNSPECIFIED" | "A" | "AAAA" | "PTR" | "CNAME" | "MX" | "TXT" | "SRV" | "NS" | "SOA" | "CAA" | "SVCB" | "HTTPS">; /** Defines the static values of {@link RecordSpec_RecordType}. */ export interface RecordSpec_RecordTypeValueMembers { /** * Record type is not specified * */ readonly RECORD_TYPE_UNSPECIFIED: EnumInstance<"UNRECOGNIZED" | "RECORD_TYPE_UNSPECIFIED" | "A" | "AAAA" | "PTR" | "CNAME" | "MX" | "TXT" | "SRV" | "NS" | "SOA" | "CAA" | "SVCB" | "HTTPS">; /** * `A` record: IPv4 address * */ readonly A: EnumInstance<"UNRECOGNIZED" | "RECORD_TYPE_UNSPECIFIED" | "A" | "AAAA" | "PTR" | "CNAME" | "MX" | "TXT" | "SRV" | "NS" | "SOA" | "CAA" | "SVCB" | "HTTPS">; /** * `AAAA` record: IPv6 address * */ readonly AAAA: EnumInstance<"UNRECOGNIZED" | "RECORD_TYPE_UNSPECIFIED" | "A" | "AAAA" | "PTR" | "CNAME" | "MX" | "TXT" | "SRV" | "NS" | "SOA" | "CAA" | "SVCB" | "HTTPS">; /** * `PTR` record: mapping from IP address to a domain name * */ readonly PTR: EnumInstance<"UNRECOGNIZED" | "RECORD_TYPE_UNSPECIFIED" | "A" | "AAAA" | "PTR" | "CNAME" | "MX" | "TXT" | "SRV" | "NS" | "SOA" | "CAA" | "SVCB" | "HTTPS">; /** * `CNAME` record: an alias for a *canonical domain name* * */ readonly CNAME: EnumInstance<"UNRECOGNIZED" | "RECORD_TYPE_UNSPECIFIED" | "A" | "AAAA" | "PTR" | "CNAME" | "MX" | "TXT" | "SRV" | "NS" | "SOA" | "CAA" | "SVCB" | "HTTPS">; /** * `MX` record: mail server information (domain name, priority) * */ readonly MX: EnumInstance<"UNRECOGNIZED" | "RECORD_TYPE_UNSPECIFIED" | "A" | "AAAA" | "PTR" | "CNAME" | "MX" | "TXT" | "SRV" | "NS" | "SOA" | "CAA" | "SVCB" | "HTTPS">; /** * `TXT` record: text data, typically used to verify e-mail addresses, websites and TLS certificates * */ readonly TXT: EnumInstance<"UNRECOGNIZED" | "RECORD_TYPE_UNSPECIFIED" | "A" | "AAAA" | "PTR" | "CNAME" | "MX" | "TXT" | "SRV" | "NS" | "SOA" | "CAA" | "SVCB" | "HTTPS">; /** * `SRV` record: information about a network service (domain name, port, weight) * */ readonly SRV: EnumInstance<"UNRECOGNIZED" | "RECORD_TYPE_UNSPECIFIED" | "A" | "AAAA" | "PTR" | "CNAME" | "MX" | "TXT" | "SRV" | "NS" | "SOA" | "CAA" | "SVCB" | "HTTPS">; /** * `NS` record: domain name of an authoritative nameserver for this DNS zone, or one of its subzones * */ readonly NS: EnumInstance<"UNRECOGNIZED" | "RECORD_TYPE_UNSPECIFIED" | "A" | "AAAA" | "PTR" | "CNAME" | "MX" | "TXT" | "SRV" | "NS" | "SOA" | "CAA" | "SVCB" | "HTTPS">; /** * `SOA` record: administrative information about this DNS zone * */ readonly SOA: EnumInstance<"UNRECOGNIZED" | "RECORD_TYPE_UNSPECIFIED" | "A" | "AAAA" | "PTR" | "CNAME" | "MX" | "TXT" | "SRV" | "NS" | "SOA" | "CAA" | "SVCB" | "HTTPS">; /** * `CAA` record: certificate issuance settings for this DNS zone and its subzones * */ readonly CAA: EnumInstance<"UNRECOGNIZED" | "RECORD_TYPE_UNSPECIFIED" | "A" | "AAAA" | "PTR" | "CNAME" | "MX" | "TXT" | "SRV" | "NS" | "SOA" | "CAA" | "SVCB" | "HTTPS">; /** * `SVCB` record: service binding. See [RFC 9460, section 2.3](https://www.rfc-editor.org/rfc/rfc9460.html#section-2.3) * */ readonly SVCB: EnumInstance<"UNRECOGNIZED" | "RECORD_TYPE_UNSPECIFIED" | "A" | "AAAA" | "PTR" | "CNAME" | "MX" | "TXT" | "SRV" | "NS" | "SOA" | "CAA" | "SVCB" | "HTTPS">; /** * `HTTPS` record: service binding with HTTPS protocol configuration. * See [RFC 9460, section 9.1](https://www.rfc-editor.org/rfc/rfc9460.html#section-9.1) * */ readonly HTTPS: EnumInstance<"UNRECOGNIZED" | "RECORD_TYPE_UNSPECIFIED" | "A" | "AAAA" | "PTR" | "CNAME" | "MX" | "TXT" | "SRV" | "NS" | "SOA" | "CAA" | "SVCB" | "HTTPS">; } /** Defines the runtime API for {@link RecordSpec_RecordType}. */ export type RecordSpec_RecordTypeClass = EnumClass<"UNRECOGNIZED" | "RECORD_TYPE_UNSPECIFIED" | "A" | "AAAA" | "PTR" | "CNAME" | "MX" | "TXT" | "SRV" | "NS" | "SOA" | "CAA" | "SVCB" | "HTTPS"> & RecordSpec_RecordTypeValueMembers; /** Converts and creates {@link RecordSpec_RecordType} values. */ export declare const RecordSpec_RecordType: RecordSpec_RecordTypeClass; /** * API Resource: DNS *Resource Record* (RR), an information entry about a specific domain * * Each record is contained within a DNS zone, which is a container for DNS data of a specific domain, and, possibly, its subdomains * DNS zones are represented in this API by the `Zone` API Resource which is managed by the `ZoneService` * */ export interface Record { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.Record"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * DNS record metadata * `metadata.parent_id` must be a DNS zone ID * */ metadata?: ResourceMetadata | undefined; /** * DNS record specification, including its relative name, type, data and TTL * */ spec?: RecordSpec | undefined; /** * DNS record status, including e.g. its effective FQDN (fully-qualified domain name) * */ status?: RecordStatus | undefined; } /** Encodes, decodes, converts, and creates {@link Record} messages. */ export declare const Record: MessageFns; /** * DNS record specification * */ export interface RecordSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.RecordSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Zone-relative name of this record (e.g., `www` for `www.`) * Use `@` for records in zone apex (that is, records that have the same domain name as the zone itself) * To see the resolved absolute domain name, see `Record.status.effective_fqdn` * */ relativeName: string; /** * Record type * */ type: RecordSpec_RecordType; /** * Record TTL. If absent or negative, will be assumed to be the default value (`600`) * */ ttl: Long; /** * Record data in text format * * This should be the RDATA part of this Resource Record's * [presentation (zonefile) format](https://datatracker.ietf.org/doc/html/rfc9499#name-resource-records). * E.g., `10 xyz.tuv` for a `@ 600 IN MX 10 xyz.tuv.` resource record in a zonefile * */ data: string; /** * Mark this record as delete-protected * Delete-protected records can *only* be deleted by explicitly calling `RecordService/Delete` API with `force` flag set to `true` * */ deletionProtection: boolean; } /** Encodes, decodes, converts, and creates {@link RecordSpec} messages. */ export declare const RecordSpec: MessageFns; /** * DNS record status * */ export interface RecordStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.RecordStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Domain name of this record's parent zone including `.` at the end, e.g. `example.com.` * */ zoneDomainName: string; /** * Fully-qualified domain name of this record including `.` at the end, e.g. `www.example.com.` * */ effectiveFqdn: string; /** * Indicates whether there is a running Operation for this Record * */ reconciling: boolean; } /** Encodes, decodes, converts, and creates {@link RecordStatus} messages. */ export declare const RecordStatus: MessageFns; /** * Request to get the DNS record by its ID and, optionally, its resource version * */ export interface GetRecordRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.GetRecordRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Record ID * */ id: string; /** * Optional: expected record version (`metadata.resource_version`) * - If specified, the requested version will be returned if possible * (if the version has changed, you will get a `FAILED_PRECONDITION` error) * - If not specified or set to `0`, the latest version will be returned * */ resourceVersion: Long; } /** Encodes, decodes, converts, and creates {@link GetRecordRequest} messages. */ export declare const GetRecordRequest: MessageFns; /** * Request to list DNS records in the specified parent DNS zone * */ export interface ListRecordsRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.ListRecordsRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Parent DNS zone ID * */ parentId: string; /** * Page size * If not specified or set to `0`, a default page size of `100` will be used * */ pageSize: Long; /** * An opaque listing continuation token * - If not specified or empty, the first page of results will be returned * - If specified, the next page of results (as identified by the token) will be returned * */ pageToken: string; } /** Encodes, decodes, converts, and creates {@link ListRecordsRequest} messages. */ export declare const ListRecordsRequest: MessageFns; /** * Response with a single page of DNS record listing results * */ export interface ListRecordsResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.ListRecordsResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * This page's items * */ items: Record[]; /** * An opaque listing continuation token that can be used to return the next page of listing results * If `next_page_token` is empty, this is the last result page * */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListRecordsResponse} messages. */ export declare const ListRecordsResponse: MessageFns; /** * Request to create a DNS record * */ export interface CreateRecordRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.CreateRecordRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Metadata for the DNS record to create * The only required field is `metadata.parent_id`, which must be set to the ID of this record's parent DNS zone * */ metadata?: ResourceMetadata | undefined; /** * Specification for the DNS record to create * */ spec?: RecordSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateRecordRequest} messages. */ export declare const CreateRecordRequest: MessageFns; /** * Request to update the DNS record by its ID * */ export interface UpdateRecordRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.UpdateRecordRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Metadata for the DNS record being updated * - The only required field is `metadata.id`, which must be set to the ID of the DNS record being updated * - You may also set the expected DNS record version (`metadata.resource_version`), which ensures that only the requested version is * updated (and a `FAILED_PRECONDITION` error is returned on version mismatch) * */ metadata?: ResourceMetadata | undefined; /** * New specification for the DNS record * */ spec?: RecordSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateRecordRequest} messages. */ export declare const UpdateRecordRequest: MessageFns; /** * Request to delete the DNS record by its ID * */ export interface DeleteRecordRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.DeleteRecordRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * ID of the DNS record to delete * */ id: string; /** * Optional: expected DNS record version (`metadata.resource_version`) * - If specified, ensures that only the requested version is deleted (and a `FAILED_PRECONDITION` error is returned on version mismatch) * - If not specified or set to `0`, the latest version will be deleted * */ resourceVersion: Long; /** * Indicates that deletion-protected records should be also deleted * Attempt to delete a protected record without this flag set to `true` will cause a `FAILED_PRECONDITION` error * */ force: boolean; } /** Encodes, decodes, converts, and creates {@link DeleteRecordRequest} messages. */ export declare const DeleteRecordRequest: MessageFns; /** * Request to list DNS zones in the specified virtual network * */ export interface ListZonesByNetworkRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.ListZonesByNetworkRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Network ID * */ networkId: string; /** * Page size * If not specified or set to `0`, a default page size of `100` will be used * */ pageSize: Long; /** * An opaque listing continuation token * - If not specified or empty, the first page of results will be returned * - If specified, the next page of results (as identified by the token) will be returned * */ pageToken: string; } /** Encodes, decodes, converts, and creates {@link ListZonesByNetworkRequest} messages. */ export declare const ListZonesByNetworkRequest: MessageFns; /** * Defines the gRPC methods for the `nebius.dns.v1.ZoneService` service. */ export type ZoneServiceServiceDescription = typeof ZoneServiceServiceDescription; /** * Describes the gRPC methods for the `nebius.dns.v1.ZoneService` service. */ export declare const ZoneServiceServiceDescription: { readonly get: { readonly path: "/nebius.dns.v1.ZoneService/Get"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetZoneRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetZoneRequest; readonly responseSerialize: (value: Zone) => Buffer; readonly responseDeserialize: (value: Buffer) => Zone; }; readonly getByName: { readonly path: "/nebius.dns.v1.ZoneService/GetByName"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: GetByNameRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => GetByNameRequest; readonly responseSerialize: (value: Zone) => Buffer; readonly responseDeserialize: (value: Buffer) => Zone; }; readonly list: { readonly path: "/nebius.dns.v1.ZoneService/List"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListZonesRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListZonesRequest; readonly responseSerialize: (value: ListZonesResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListZonesResponse; }; readonly listByNetwork: { readonly path: "/nebius.dns.v1.ZoneService/ListByNetwork"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: ListZonesByNetworkRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => ListZonesByNetworkRequest; readonly responseSerialize: (value: ListZonesResponse) => Buffer; readonly responseDeserialize: (value: Buffer) => ListZonesResponse; }; readonly create: { readonly path: "/nebius.dns.v1.ZoneService/Create"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: CreateZoneRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => CreateZoneRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly update: { readonly path: "/nebius.dns.v1.ZoneService/Update"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: UpdateZoneRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: true; readonly requestDeserialize: (value: Buffer) => UpdateZoneRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; readonly delete: { readonly path: "/nebius.dns.v1.ZoneService/Delete"; readonly requestStream: false; readonly responseStream: false; readonly requestSerialize: (value: DeleteZoneRequest) => Buffer; readonly requestDescriptor: () => MessageDescriptor | undefined; readonly sendResetMask: false; readonly requestDeserialize: (value: Buffer) => DeleteZoneRequest; readonly responseSerialize: (value: Operation) => Buffer; readonly responseDeserialize: (value: Buffer) => Operation; }; }; /** * Handles server calls for the `nebius.dns.v1.ZoneService` service. */ export interface ZoneServiceServer extends UntypedServiceImplementation { /** * Gets the DNS zone with the specified ID * */ get: handleUnaryCall; /** * Gets the DNS zone by its parent IAM container (`metadata.parent_id`) and `metadata.name` * */ getByName: handleUnaryCall; /** * Lists DNS zones in the specified parent IAM container * */ list: handleUnaryCall; /** * Lists DNS zones in the specified virtual network * */ listByNetwork: handleUnaryCall; /** * Creates a DNS zone * */ create: handleUnaryCall; /** * Updates the DNS zone with the specified ID * */ update: handleUnaryCall; /** * Deletes the DNS zone with the specified ID * */ delete: handleUnaryCall; } /** * Defines the low-level gRPC client for the `nebius.dns.v1.ZoneService` service. */ export interface ZoneServiceBaseClient extends Client { /** * Gets the DNS zone with the specified ID * */ get(request: GetZoneRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Zone) => void): ClientUnaryCall; /** * Gets the DNS zone by its parent IAM container (`metadata.parent_id`) and `metadata.name` * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Zone) => void): ClientUnaryCall; /** * Lists DNS zones in the specified parent IAM container * */ list(request: ListZonesRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListZonesResponse) => void): ClientUnaryCall; /** * Lists DNS zones in the specified virtual network * */ listByNetwork(request: ListZonesByNetworkRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: ListZonesResponse) => void): ClientUnaryCall; /** * Creates a DNS zone * */ create(request: CreateZoneRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Updates the DNS zone with the specified ID * */ update(request: UpdateZoneRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; /** * Deletes the DNS zone with the specified ID * */ delete(request: DeleteZoneRequest, metadata: Metadata, options: Partial, callback: (error: GrpcServiceError | null, response: Operation) => void): ClientUnaryCall; } /** * Creates low-level gRPC clients for the `nebius.dns.v1.ZoneService` service. */ export declare const ZoneServiceBaseClient: { /** Creates a low-level client for the service address. */ new (address: string, credentials: ChannelCredentials, options?: Partial): ZoneServiceBaseClient; /** Contains the gRPC service description. */ service: typeof ZoneServiceServiceDescription; /** Contains the fully qualified protobuf service name. */ serviceName: string; }; /** * Service for managing DNS zones (`Zone` resources) * */ export interface ZoneService { /** Contains the fully qualified protobuf service name. */ $type: "nebius.dns.v1.ZoneService"; /** * Gets the DNS zone with the specified ID * */ get(request: GetZoneRequest): SDKRequestClass; /** * Gets the DNS zone with the specified ID * */ get(request: GetZoneRequest, metadata: Metadata): SDKRequestClass; /** * Gets the DNS zone with the specified ID * */ get(request: GetZoneRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Gets the DNS zone by its parent IAM container (`metadata.parent_id`) and `metadata.name` * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Gets the DNS zone by its parent IAM container (`metadata.parent_id`) and `metadata.name` * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Gets the DNS zone by its parent IAM container (`metadata.parent_id`) and `metadata.name` * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists DNS zones in the specified parent IAM container * */ list(request: ListZonesRequest): SDKRequestClass; /** * Lists DNS zones in the specified parent IAM container * */ list(request: ListZonesRequest, metadata: Metadata): SDKRequestClass; /** * Lists DNS zones in the specified parent IAM container * */ list(request: ListZonesRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists DNS zones in the specified virtual network * */ listByNetwork(request: ListZonesByNetworkRequest): SDKRequestClass; /** * Lists DNS zones in the specified virtual network * */ listByNetwork(request: ListZonesByNetworkRequest, metadata: Metadata): SDKRequestClass; /** * Lists DNS zones in the specified virtual network * */ listByNetwork(request: ListZonesByNetworkRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates a DNS zone * */ create(request: CreateZoneRequest): SDKRequestClass>; /** * Creates a DNS zone * */ create(request: CreateZoneRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a DNS zone * */ create(request: CreateZoneRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Updates the DNS zone with the specified ID * */ update(request: UpdateZoneRequest): SDKRequestClass>; /** * Updates the DNS zone with the specified ID * */ update(request: UpdateZoneRequest, metadata: Metadata): SDKRequestClass>; /** * Updates the DNS zone with the specified ID * */ update(request: UpdateZoneRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes the DNS zone with the specified ID * */ delete(request: DeleteZoneRequest): SDKRequestClass>; /** * Deletes the DNS zone with the specified ID * */ delete(request: DeleteZoneRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes the DNS zone with the specified ID * */ delete(request: DeleteZoneRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * Calls the `nebius.dns.v1.ZoneService` service through the Nebius SDK. */ export declare class ZoneService implements ZoneService { private sdk; $type: "nebius.dns.v1.ZoneService"; private addr; private spec; private apiServiceName; /** Creates a client that uses the SDK service address. */ constructor(sdk: SDKInterface); /** Returns the operation service for this service address. */ getOperationService(): OperationService; /** * Gets the DNS zone with the specified ID * */ get(request: GetZoneRequest): SDKRequestClass; /** * Gets the DNS zone with the specified ID * */ get(request: GetZoneRequest, metadata: Metadata): SDKRequestClass; /** * Gets the DNS zone with the specified ID * */ get(request: GetZoneRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Gets the DNS zone by its parent IAM container (`metadata.parent_id`) and `metadata.name` * */ getByName(request: GetByNameRequest): SDKRequestClass; /** * Gets the DNS zone by its parent IAM container (`metadata.parent_id`) and `metadata.name` * */ getByName(request: GetByNameRequest, metadata: Metadata): SDKRequestClass; /** * Gets the DNS zone by its parent IAM container (`metadata.parent_id`) and `metadata.name` * */ getByName(request: GetByNameRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists DNS zones in the specified parent IAM container * */ list(request: ListZonesRequest): SDKRequestClass; /** * Lists DNS zones in the specified parent IAM container * */ list(request: ListZonesRequest, metadata: Metadata): SDKRequestClass; /** * Lists DNS zones in the specified parent IAM container * */ list(request: ListZonesRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Lists DNS zones in the specified virtual network * */ listByNetwork(request: ListZonesByNetworkRequest): SDKRequestClass; /** * Lists DNS zones in the specified virtual network * */ listByNetwork(request: ListZonesByNetworkRequest, metadata: Metadata): SDKRequestClass; /** * Lists DNS zones in the specified virtual network * */ listByNetwork(request: ListZonesByNetworkRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass; /** * Creates a DNS zone * */ create(request: CreateZoneRequest): SDKRequestClass>; /** * Creates a DNS zone * */ create(request: CreateZoneRequest, metadata: Metadata): SDKRequestClass>; /** * Creates a DNS zone * */ create(request: CreateZoneRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Updates the DNS zone with the specified ID * */ update(request: UpdateZoneRequest): SDKRequestClass>; /** * Updates the DNS zone with the specified ID * */ update(request: UpdateZoneRequest, metadata: Metadata): SDKRequestClass>; /** * Updates the DNS zone with the specified ID * */ update(request: UpdateZoneRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; /** * Deletes the DNS zone with the specified ID * */ delete(request: DeleteZoneRequest): SDKRequestClass>; /** * Deletes the DNS zone with the specified ID * */ delete(request: DeleteZoneRequest, metadata: Metadata): SDKRequestClass>; /** * Deletes the DNS zone with the specified ID * */ delete(request: DeleteZoneRequest, metadata: Metadata, options: Partial & RetryOptions): SDKRequestClass>; } /** * API Resource: *DNS zone*, a container for DNS data * * Each DNS zone starts at a particular domain within the hierarchical DNS namespace tree, * e.g., `example.com.`, and is also responsible for its subdomains (e.g., `sales.example.com.`) * unless there are explicit DNS zones defined for them. * * DNS zones contain *Resource Records* (RRs), which are individual information entries about the domain(s), * e.g., a domain's IP address. * Each Resource Record is represented in this API by the `Record` API Resource which is managed by the `RecordService`. * * See the [graphical explanation of DNS zones and Resource Records on * Wikipedia](https://en.wikipedia.org/wiki/Domain_Name_System#/media/File:Domain_name_space.svg) * */ export interface Zone { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.Zone"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * DNS zone metadata * `metadata.parent_id` must be an IAM Container ID * */ metadata?: ResourceMetadata | undefined; /** * DNS zone specification, including its domain name and scope * */ spec?: ZoneSpec | undefined; /** * DNS zone status, including e.g. the number of records in the zone * */ status?: ZoneStatus | undefined; } /** Encodes, decodes, converts, and creates {@link Zone} messages. */ export declare const Zone: MessageFns; /** * DNS Zone specification * */ export interface ZoneSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.ZoneSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Fully qualified domain name of this zone, including `.` at the end * Cannot be changed after creating the zone * */ domainName: string; /** * Custom SOA (Start of Authority) record specification for the zone * */ soaSpec?: SoaSpec | undefined; /** * Scope for this zone * The scope is chosen at zone creation time and cannot be changed, but scope's attributes can sometimes be changed * */ scope?: { $case: "vpc"; vpc: VpcZoneScope; } | undefined; } /** Encodes, decodes, converts, and creates {@link ZoneSpec} messages. */ export declare const ZoneSpec: MessageFns; /** * VPC zone scope specification * */ export interface VpcZoneScope { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.VpcZoneScope"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * ID of the virtual network that this zone's records will be visible from * This value cannot be changed after creating the zone * */ primaryNetworkId: string; } /** Encodes, decodes, converts, and creates {@link VpcZoneScope} messages. */ export declare const VpcZoneScope: MessageFns; /** * Custom SOA (Start of Authority) record specification for the zone * */ export interface SoaSpec { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.SoaSpec"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Specifies TTL, in seconds, for caching `NXDOMAIN` ("record not found") DNS responses from this zone (*negative caching*) * Set this TTL to a low value if you frequently delete and recreate records instead of updating them * *Note:* Values of less than `5` will be ignored, and a default negative caching TTL will be used instead * */ negativeTtl: Long; } /** Encodes, decodes, converts, and creates {@link SoaSpec} messages. */ export declare const SoaSpec: MessageFns; /** * DNS zone status * */ export interface ZoneStatus { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.ZoneStatus"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Number of records in this zone. May be 0 if not calculated (e.g., in listings) * */ recordCount: Long; /** * Indicates whether there is a running Operation for this Zone * */ reconciling: boolean; } /** Encodes, decodes, converts, and creates {@link ZoneStatus} messages. */ export declare const ZoneStatus: MessageFns; /** * Request to get the DNS zone by its ID and, optionally, its resource version * */ export interface GetZoneRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.GetZoneRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Zone ID * */ id: string; /** * Optional: expected zone version (`metadata.resource_version`) * - If specified, the requested version will be returned if possible (if the version has changed, you will get a `FAILED_PRECONDITION` * error) * - If not specified or set to `0`, the latest zone version will be returned * */ resourceVersion: Long; } /** Encodes, decodes, converts, and creates {@link GetZoneRequest} messages. */ export declare const GetZoneRequest: MessageFns; /** * Request to list DNS zones in the specified parent IAM container * */ export interface ListZonesRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.ListZonesRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Parent IAM container ID * */ parentId: string; /** * Page size * If not specified or set to `0`, a default page size of `100` will be used * */ pageSize: Long; /** * An opaque listing continuation token * - If not specified or empty, the first page of results will be returned * - If specified, the next page of results (as identified by the token) will be returned * */ pageToken: string; } /** Encodes, decodes, converts, and creates {@link ListZonesRequest} messages. */ export declare const ListZonesRequest: MessageFns; /** * Response with a single page of DNS zone listing results * */ export interface ListZonesResponse { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.ListZonesResponse"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * This page's items * */ items: Zone[]; /** * An opaque listing continuation token that can be used to return the next page of listing results * If `next_page_token` is empty, this is the last result page * */ nextPageToken: string; } /** Encodes, decodes, converts, and creates {@link ListZonesResponse} messages. */ export declare const ListZonesResponse: MessageFns; /** * Request to create a DNS zone * */ export interface CreateZoneRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.CreateZoneRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Metadata for the DNS zone to create * The only required field is `metadata.parent_id`, which must be set to the ID of this zone's parent IAM container * */ metadata?: ResourceMetadata | undefined; /** * Specification for the DNS zone to create * */ spec?: ZoneSpec | undefined; } /** Encodes, decodes, converts, and creates {@link CreateZoneRequest} messages. */ export declare const CreateZoneRequest: MessageFns; /** * Request to update the DNS zone by its ID * */ export interface UpdateZoneRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.UpdateZoneRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * Metadata for the DNS zone being updated * - The only required field is `metadata.id`, which must be set to the ID of the DNS zone being updated * - You may also set the expected DNS zone version (`metadata.resource_version`), which ensures that only the requested version is * updated (and a `FAILED_PRECONDITION` error is returned on version mismatch) * */ metadata?: ResourceMetadata | undefined; /** * New specification for the DNS zone * */ spec?: ZoneSpec | undefined; } /** Encodes, decodes, converts, and creates {@link UpdateZoneRequest} messages. */ export declare const UpdateZoneRequest: MessageFns; /** Represents the `nebius.dns.v1.DeleteZoneRequest` protobuf message. */ export interface DeleteZoneRequest { /** Contains the fully qualified protobuf type name. */ $type: "nebius.dns.v1.DeleteZoneRequest"; /** Preserves protobuf fields that this SDK version does not recognize. */ [unknownFieldsSymbol]?: Uint8Array | undefined; /** Returns a safe value for JSON logs. */ [customJson]?: () => unknown; /** * ID of the DNS zone to delete * */ id: string; /** * Optional: expected DNS zone version (`metadata.resource_version`) * - If specified, ensures that only the requested version is deleted (and a `FAILED_PRECONDITION` error is returned on version mismatch) * - If not specified or set to `0`, the latest version will be deleted * */ resourceVersion: Long; } /** Encodes, decodes, converts, and creates {@link DeleteZoneRequest} messages. */ export declare const DeleteZoneRequest: MessageFns; //# sourceMappingURL=index.d.ts.map