///
import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js';
import _m0 from 'protobufjs/minimal';
import { MetadataOptions, SchedulingPolicy, NetworkSettings, PlacementPolicy, GpuSettings, SerialPortSettings, IpVersion, Instance } from '../../../../yandex/cloud/compute/v1/instance';
import { MaintenancePolicy } from '../../../../yandex/cloud/compute/v1/maintenance';
import { Duration } from '../../../../google/protobuf/duration';
import { FieldMask } from '../../../../google/protobuf/field_mask';
import { DiskPlacementPolicy, DiskPlacementPolicyChange } from '../../../../yandex/cloud/compute/v1/disk';
import { Operation } from '../../../../yandex/cloud/operation/operation';
import { ListAccessBindingsRequest, ListAccessBindingsResponse, SetAccessBindingsRequest, UpdateAccessBindingsRequest } from '../../../../yandex/cloud/access/access';
export declare const protobufPackage = "yandex.cloud.compute.v1";
export declare enum InstanceView {
/** BASIC - Doesn't include the metadata of the instance in the server response. */
BASIC = 0,
/** FULL - Returns the metadata of the instance in the server response. */
FULL = 1,
UNRECOGNIZED = -1
}
export declare function instanceViewFromJSON(object: any): InstanceView;
export declare function instanceViewToJSON(object: InstanceView): string;
export interface GetInstanceRequest {
/**
* ID of the Instance resource to return.
* To get the instance ID, use a [InstanceService.List] request.
*/
instanceId: string;
/** Defines which information about the Instance resource should be returned in the server response. */
view: InstanceView;
}
export interface ListInstancesRequest {
/**
* ID of the Folder to list instances in.
* To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
*/
folderId: string;
/**
* The maximum number of results per page to return. If the number of available
* results is larger than [page_size],
* the service returns a [ListInstancesResponse.next_page_token]
* that can be used to get the next page of results in subsequent list requests.
*/
pageSize: number;
/**
* Page token. To get the next page of results,
* set [page_token] to the [ListInstancesResponse.next_page_token]
* returned by a previous list request.
*/
pageToken: string;
/**
* A filter expression that filters resources listed in the response.
* The expression consists of one or more conditions united by `AND` operator: ` [AND [<...> AND ]]`.
*
* Each condition has the form ` `, where:
* 1. `` is the field name. Currently you can use filtering only on the limited number of fields.
* 2. `` is a logical operator, one of `=`, `!=`, `IN`, `NOT IN`.
* 3. `` represents a value.
* String values should be written in double (`"`) or single (`'`) quotes. C-style escape sequences are supported (`\"` turns to `"`, `\'` to `'`, `\\` to backslash).
*/
filter: string;
/**
* By which column the listing should be ordered and in which direction,
* format is "createdAt desc". "id asc" if omitted.
* The default sorting order is ascending
*/
orderBy: string;
}
export interface ListInstancesResponse {
/** List of Instance resources. */
instances: Instance[];
/**
* This token allows you to get the next page of results for list requests. If the number of results
* is larger than [ListInstancesRequest.page_size], use
* the [next_page_token] as the value
* for the [ListInstancesRequest.page_token] query parameter
* in the next list request. Each subsequent list request will have its own
* [next_page_token] to continue paging through the results.
*/
nextPageToken: string;
}
export interface CreateInstanceRequest {
/**
* ID of the folder to create an instance in.
* To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
*/
folderId: string;
/** Name of the instance. */
name: string;
/** Description of the instance. */
description: string;
/** Resource labels as `key:value` pairs. */
labels: {
[key: string]: string;
};
/**
* ID of the availability zone where the instance resides.
* To get a list of available zones, use the [yandex.cloud.compute.v1.ZoneService.List] request
*/
zoneId: string;
/**
* ID of the hardware platform configuration for the instance.
* This field affects the available values in [resources_spec] field.
*
* Platforms allows you to create various types of instances: with a large amount of memory,
* with a large number of cores, with a burstable performance.
* For more information, see [Platforms](/docs/compute/concepts/vm-platforms).
*/
platformId: string;
/**
* Computing resources of the instance, such as the amount of memory and number of cores.
* To get a list of available values, see [Levels of core performance](/docs/compute/concepts/performance-levels).
*/
resourcesSpec?: ResourcesSpec;
/**
* The metadata `key:value` pairs that will be assigned to this instance. This includes custom metadata and predefined keys.
* The total size of all keys and values must be less than 512 KB.
*
* Values are free-form strings, and only have meaning as interpreted by the programs which configure the instance.
* The values must be 256 KB or less.
*
* For example, you may use the metadata in order to provide your public SSH key to the instance.
* For more information, see [Metadata](/docs/compute/concepts/vm-metadata).
*/
metadata: {
[key: string]: string;
};
/** Options allow user to configure access to instance's metadata */
metadataOptions?: MetadataOptions;
/** Boot disk to attach to the instance. */
bootDiskSpec?: AttachedDiskSpec;
/** Array of secondary disks to attach to the instance. */
secondaryDiskSpecs: AttachedDiskSpec[];
/** Array of local disks to attach to the instance. */
localDiskSpecs: AttachedLocalDiskSpec[];
/**
* Array of filesystems to attach to the instance.
*
* The filesystems must reside in the same availability zone as the instance.
*
* To use the instance with an attached filesystem, the latter must be mounted.
* For details, see [documentation](/docs/compute/operations/filesystem/attach-to-vm).
*/
filesystemSpecs: AttachedFilesystemSpec[];
/**
* Network configuration for the instance. Specifies how the network interface is configured
* to interact with other services on the internal network and on the internet.
*/
networkInterfaceSpecs: NetworkInterfaceSpec[];
/**
* Host name for the instance.
* This field is used to generate the [yandex.cloud.compute.v1.Instance.fqdn] value.
* The host name must be unique within the network and region.
* If not specified, the host name will be equal to [yandex.cloud.compute.v1.Instance.id] of the instance
* and FQDN will be `.auto.internal`. Otherwise FQDN will be `..internal`.
*/
hostname: string;
/** Scheduling policy configuration. */
schedulingPolicy?: SchedulingPolicy;
/**
* ID of the service account to use for [authentication inside the instance](/docs/compute/operations/vm-connect/auth-inside-vm).
* To get the service account ID, use a [yandex.cloud.iam.v1.ServiceAccountService.List] request.
*/
serviceAccountId: string;
/** Network settings. */
networkSettings?: NetworkSettings;
/** Placement policy configuration. */
placementPolicy?: PlacementPolicy;
/** GPU settings. */
gpuSettings?: GpuSettings;
/** Behaviour on maintenance events */
maintenancePolicy: MaintenancePolicy;
/** Time between notification via metadata service and maintenance */
maintenanceGracePeriod?: Duration;
/** Serial port settings */
serialPortSettings?: SerialPortSettings;
/**
* ID of the reserved instance pool that the instance should belong to.
* Instance will be created using resources from the reserved instance pool.
* Reserved instance pool resource configuration must match the resource configuration of the instance.
*/
reservedInstancePoolId: string;
}
export interface CreateInstanceRequest_LabelsEntry {
key: string;
value: string;
}
export interface CreateInstanceRequest_MetadataEntry {
key: string;
value: string;
}
export interface CreateInstanceMetadata {
/** ID of the instance that is being created. */
instanceId: string;
}
export interface UpdateInstanceRequest {
/**
* ID of the Instance resource to update.
* To get the instance ID, use a [InstanceService.List] request.
*/
instanceId: string;
/** Field mask that specifies which fields of the Instance resource are going to be updated. */
updateMask?: FieldMask;
/** Name of the instance. */
name: string;
/** Description of the instance. */
description: string;
/**
* Resource labels as `key:value` pairs.
*
* Existing set of `labels` is completely replaced by the provided set.
*/
labels: {
[key: string]: string;
};
/**
* ID of the hardware platform configuration for the instance.
* This field affects the available values in [resources_spec] field.
*
* Platforms allows you to create various types of instances: with a large amount of memory,
* with a large number of cores, with a burstable performance.
* For more information, see [Platforms](/docs/compute/concepts/vm-platforms).
*/
platformId: string;
/**
* Computing resources of the instance, such as the amount of memory and number of cores.
* To get a list of available values, see [Levels of core performance](/docs/compute/concepts/performance-levels).
*/
resourcesSpec?: ResourcesSpec;
/**
* The metadata `key:value` pairs that will be assigned to this instance. This includes custom metadata and predefined keys.
* The total size of all keys and values must be less than 512 KB.
*
* Existing set of `metadata` is completely replaced by the provided set.
*
* Values are free-form strings, and only have meaning as interpreted by the programs which configure the instance.
* The values must be 256 KB or less.
*
* For example, you may use the metadata in order to provide your public SSH key to the instance.
* For more information, see [Metadata](/docs/compute/concepts/vm-metadata).
*/
metadata: {
[key: string]: string;
};
/** Options allow user to configure access to instance's metadata */
metadataOptions?: MetadataOptions;
/**
* ID of the service account to use for [authentication inside the instance](/docs/compute/operations/vm-connect/auth-inside-vm).
* To get the service account ID, use a [yandex.cloud.iam.v1.ServiceAccountService.List] request.
*/
serviceAccountId: string;
/** Network settings. */
networkSettings?: NetworkSettings;
/** Placement policy configuration. */
placementPolicy?: PlacementPolicy;
/** Scheduling policy configuration. */
schedulingPolicy?: SchedulingPolicy;
/** Behaviour on maintenance events */
maintenancePolicy: MaintenancePolicy;
/** Time between notification via metadata service and maintenance */
maintenanceGracePeriod?: Duration;
/** Serial port settings */
serialPortSettings?: SerialPortSettings;
/**
* ID of the reserved instance pool that the instance should belong to.
* Attaching/detaching running instance will increase/decrease the size of the reserved instance pool.
* Attaching/detaching stopped instance will leave the size of the reserved instance pool unchanged. Starting such attached instance will use resources from the reserved instance pool.
* Reserved instance pool resource configuration must match the resource configuration of the instance.
*/
reservedInstancePoolId: string;
}
export interface UpdateInstanceRequest_LabelsEntry {
key: string;
value: string;
}
export interface UpdateInstanceRequest_MetadataEntry {
key: string;
value: string;
}
export interface UpdateInstanceMetadata {
/** ID of the Instance resource that is being updated. */
instanceId: string;
}
export interface DeleteInstanceRequest {
/**
* ID of the instance to delete.
* To get the instance ID, use a [InstanceService.List] request.
*/
instanceId: string;
}
export interface DeleteInstanceMetadata {
/** ID of the instance that is being deleted. */
instanceId: string;
}
export interface UpdateInstanceMetadataRequest {
/** ID of the instance that is being updated. */
instanceId: string;
/** List of keys to be deleted. */
delete: string[];
/** The metadata `key:value` pairs that will be added or updated to this instance. */
upsert: {
[key: string]: string;
};
}
export interface UpdateInstanceMetadataRequest_UpsertEntry {
key: string;
value: string;
}
export interface UpdateInstanceMetadataMetadata {
/** ID of the instance that is being updated. */
instanceId: string;
}
export interface GetInstanceSerialPortOutputRequest {
/** ID of the instance to return the serial port output for. */
instanceId: string;
/** Serial port to retrieve data from. The default is 1. */
port: number;
}
export interface GetInstanceSerialPortOutputResponse {
/**
* The contents of the serial port output, starting from the time when the instance
* started to boot.
*/
contents: string;
}
export interface StopInstanceRequest {
/**
* ID of the instance to stop.
* To get the instance ID, use a [InstanceService.List] request.
*/
instanceId: string;
}
export interface StopInstanceMetadata {
/** ID of the instance that is being deleted. */
instanceId: string;
}
export interface StartInstanceRequest {
/**
* ID of the instance to start.
* To get the instance ID, use a [InstanceService.List] request.
*/
instanceId: string;
}
export interface StartInstanceMetadata {
/** ID of the instance. */
instanceId: string;
}
export interface RestartInstanceRequest {
/**
* ID of the instance to restart.
* To get the instance ID, use a [InstanceService.List] request.
*/
instanceId: string;
}
export interface RestartInstanceMetadata {
/** ID of the instance. */
instanceId: string;
}
export interface AttachInstanceDiskRequest {
/**
* ID of the instance to attach the disk to.
* To get the instance ID, use a [InstanceService.List] request.
*/
instanceId: string;
/** Disk that should be attached. */
attachedDiskSpec?: AttachedDiskSpec;
}
export interface AttachInstanceDiskMetadata {
/** ID of the instance. */
instanceId: string;
/** ID of the disk. */
diskId: string;
}
export interface DetachInstanceDiskRequest {
/**
* ID of the instance to detach the disk from.
* To get the instance ID, use a [InstanceService.List] request.
*/
instanceId: string;
/** ID of the disk that should be detached. */
diskId: string | undefined;
/**
* Serial number of the disk that should be detached. This value is reflected into the /dev/disk/by-id/ tree
* of a Linux operating system running within the instance.
*/
deviceName: string | undefined;
}
export interface DetachInstanceDiskMetadata {
/** ID of the instance. */
instanceId: string;
/** ID of the disk. */
diskId: string;
}
export interface AttachInstanceFilesystemRequest {
/**
* ID of the instance to attach the filesystem to.
*
* To get the instance ID, make a [InstanceService.List] request.
*/
instanceId: string;
/** Filesystem to attach to the instance. */
attachedFilesystemSpec?: AttachedFilesystemSpec;
}
export interface AttachInstanceFilesystemMetadata {
/** ID of the instance that the filesystem is being attached to. */
instanceId: string;
/** ID of the filesystem that is being attached to the instance. */
filesystemId: string;
}
export interface DetachInstanceFilesystemRequest {
/**
* ID of the instance to detach the filesystem from.
*
* To get the instance ID, make a [InstanceService.List] request.
*/
instanceId: string;
/** ID of the filesystem that should be detached. */
filesystemId: string | undefined;
/** Name of the device used for mounting the filesystem that should be detached. */
deviceName: string | undefined;
}
export interface DetachInstanceFilesystemMetadata {
/** ID of the instance that the filesystem is being detached from. */
instanceId: string;
/** ID of the filesystem that is being detached from the instance. */
filesystemId: string;
}
export interface AttachInstanceNetworkInterfaceRequest {
/** ID of the instance that in which network interface is being attached to. */
instanceId: string;
/** The index of the network interface */
networkInterfaceIndex: string;
/** ID of the subnet. */
subnetId: string;
/** Primary IPv4 address that will be assigned to the instance for this network interface. */
primaryV4AddressSpec?: PrimaryAddressSpec;
/** ID's of security groups attached to the interface. */
securityGroupIds: string[];
}
export interface AttachInstanceNetworkInterfaceMetadata {
/** ID of the instant network interface that is being updated. */
instanceId: string;
networkInterfaceIndex: string;
}
export interface DetachInstanceNetworkInterfaceRequest {
/** ID of the instance that in which network interface is being attached to. */
instanceId: string;
/** The index of the network interface. */
networkInterfaceIndex: string;
}
export interface DetachInstanceNetworkInterfaceMetadata {
/** ID of the instant network interface that is being updated. */
instanceId: string;
/** The index of the network interface. */
networkInterfaceIndex: string;
}
/** Enables One-to-one NAT on the network interface. */
export interface AddInstanceOneToOneNatRequest {
/** ID of the instance to enable One-to-One NAT on. */
instanceId: string;
/** The index of the network interface to enable One-to-One NAT on. */
networkInterfaceIndex: string;
/** The network address that is assigned to the instance for this network interface. */
internalAddress: string;
/**
* An external IP address configuration.
* If not specified, then this instance will have no external internet access.
*/
oneToOneNatSpec?: OneToOneNatSpec;
}
export interface AddInstanceOneToOneNatMetadata {
/** ID of the instance. */
instanceId: string;
}
export interface RemoveInstanceOneToOneNatRequest {
/** ID of the instance to remove One-to-one NAT. */
instanceId: string;
/** The index of the network interface to remove One-to-One NAT from. */
networkInterfaceIndex: string;
/** The network address that is assigned to the instance for this network interface. */
internalAddress: string;
}
export interface RemoveInstanceOneToOneNatMetadata {
/** ID of the instance. */
instanceId: string;
}
export interface UpdateInstanceNetworkInterfaceRequest {
/** ID of the instance that is being updated. */
instanceId: string;
/** The index of the network interface to be updated. */
networkInterfaceIndex: string;
/** Field mask that specifies which attributes of the instance should be updated. */
updateMask?: FieldMask;
/** ID of the subnet. */
subnetId: string;
/** Primary IPv4 address that will be assigned to the instance for this network interface. */
primaryV4AddressSpec?: PrimaryAddressSpec;
/** Primary IPv6 address that will be assigned to the instance for this network interface. IPv6 not available yet. */
primaryV6AddressSpec?: PrimaryAddressSpec;
/** ID's of security groups attached to the interface. */
securityGroupIds: string[];
}
export interface UpdateInstanceNetworkInterfaceMetadata {
/** ID of the instant network interface that is being updated. */
instanceId: string;
/** The index of the network interface. */
networkInterfaceIndex: string;
}
export interface SimulateInstanceMaintenanceEventRequest {
instanceId: string;
}
export interface SimulateInstanceMaintenanceEventMetadata {
instanceId: string;
}
export interface ListInstanceOperationsRequest {
/** ID of the Instance resource to list operations for. */
instanceId: string;
/**
* The maximum number of results per page to return. If the number of available
* results is larger than [page_size], the service returns a [ListInstanceOperationsResponse.next_page_token]
* that can be used to get the next page of results in subsequent list requests.
*/
pageSize: number;
/**
* Page token. To get the next page of results, set [page_token] to the
* [ListInstanceOperationsResponse.next_page_token] returned by a previous list request.
*/
pageToken: string;
}
export interface ListInstanceOperationsResponse {
/** List of operations for the specified instance. */
operations: Operation[];
/**
* This token allows you to get the next page of results for list requests. If the number of results
* is larger than [ListInstanceOperationsRequest.page_size], use the [next_page_token] as the value
* for the [ListInstanceOperationsRequest.page_token] query parameter in the next list request.
* Each subsequent list request will have its own [next_page_token] to continue paging through the results.
*/
nextPageToken: string;
}
export interface ResourcesSpec {
/** The amount of memory available to the instance, specified in bytes. */
memory: number;
/** The number of cores available to the instance. */
cores: number;
/**
* Baseline level of CPU performance with the ability to burst performance above that baseline level.
* This field sets baseline performance for each core.
*
* For example, if you need only 5% of the CPU performance, you can set core_fraction=5.
* For more information, see [Levels of core performance](/docs/compute/concepts/performance-levels).
*/
coreFraction: number;
/** The number of GPUs available to the instance. */
gpus: number;
}
export interface AttachedDiskSpec {
/** The mode in which to attach this disk. */
mode: AttachedDiskSpec_Mode;
/**
* Specifies a unique serial number of your choice that is reflected into the /dev/disk/by-id/ tree
* of a Linux operating system running within the instance.
*
* This value can be used to reference the device for mounting, resizing, and so on, from within the instance.
* If not specified, a random value will be generated.
*/
deviceName: string;
/** Specifies whether the disk will be auto-deleted when the instance is deleted. */
autoDelete: boolean;
/** Disk specification. */
diskSpec?: AttachedDiskSpec_DiskSpec | undefined;
/** ID of the disk that should be attached. */
diskId: string | undefined;
}
export declare enum AttachedDiskSpec_Mode {
MODE_UNSPECIFIED = 0,
/** READ_ONLY - Read-only access. */
READ_ONLY = 1,
/** READ_WRITE - Read/Write access. Default value. */
READ_WRITE = 2,
UNRECOGNIZED = -1
}
export declare function attachedDiskSpec_ModeFromJSON(object: any): AttachedDiskSpec_Mode;
export declare function attachedDiskSpec_ModeToJSON(object: AttachedDiskSpec_Mode): string;
export interface AttachedDiskSpec_DiskSpec {
/** Name of the disk. */
name: string;
/** Description of the disk. */
description: string;
/**
* ID of the disk type.
* To get a list of available disk types, use the [yandex.cloud.compute.v1.DiskTypeService.List] request.
*/
typeId: string;
/** Size of the disk, specified in bytes. */
size: number;
/** ID of the image to create the disk from. */
imageId: string | undefined;
/** ID of the snapshot to restore the disk from. */
snapshotId: string | undefined;
/** Placement policy configuration. */
diskPlacementPolicy?: DiskPlacementPolicy;
/** Block size of the disk, specified in bytes. The default is 4096. */
blockSize: number;
/** ID of KMS key for disk encryption */
kmsKeyId: string;
}
export interface AttachedLocalDiskSpec {
/** Size of the disk, specified in bytes. */
size: number;
}
export interface AttachedFilesystemSpec {
/** Mode of access to the filesystem that should be attached. */
mode: AttachedFilesystemSpec_Mode;
/**
* Name of the device representing the filesystem on the instance.
*
* The name should be used for referencing the filesystem from within the instance
* when it's being mounted, resized etc.
*
* If not specified, a random value will be generated.
*/
deviceName: string;
/** ID of the filesystem that should be attached. */
filesystemId: string;
}
export declare enum AttachedFilesystemSpec_Mode {
MODE_UNSPECIFIED = 0,
/** READ_ONLY - Read-only access. */
READ_ONLY = 1,
/** READ_WRITE - Read/Write access. Default value. */
READ_WRITE = 2,
UNRECOGNIZED = -1
}
export declare function attachedFilesystemSpec_ModeFromJSON(object: any): AttachedFilesystemSpec_Mode;
export declare function attachedFilesystemSpec_ModeToJSON(object: AttachedFilesystemSpec_Mode): string;
export interface NetworkInterfaceSpec {
/** ID of the subnet. */
subnetId: string;
/** Primary IPv4 address that will be assigned to the instance for this network interface. */
primaryV4AddressSpec?: PrimaryAddressSpec;
/** Primary IPv6 address that will be assigned to the instance for this network interface. IPv6 not available yet. */
primaryV6AddressSpec?: PrimaryAddressSpec;
/** ID's of security groups attached to the interface */
securityGroupIds: string[];
/** The index of the network interface, will be generated by the server, 0,1,2... etc if not specified. */
index: string;
}
export interface PrimaryAddressSpec {
/**
* An IPv4 internal network address that is assigned to the instance for this network interface.
* If not specified by the user, an unused internal IP is assigned by the system.
*/
address: string;
/**
* An external IP address configuration.
* If not specified, then this instance will have no external internet access.
*/
oneToOneNatSpec?: OneToOneNatSpec;
/** Internal DNS configuration */
dnsRecordSpecs: DnsRecordSpec[];
}
export interface OneToOneNatSpec {
/** External IP address version. */
ipVersion: IpVersion;
/** set static IP by value */
address: string;
/** External DNS configuration */
dnsRecordSpecs: DnsRecordSpec[];
}
export interface DnsRecordSpec {
/** FQDN (required) */
fqdn: string;
/** DNS zone id (optional, if not set, private zone used) */
dnsZoneId: string;
/** DNS record ttl, values in 0-86400 (optional) */
ttl: number;
/** When set to true, also create PTR DNS record (optional) */
ptr: boolean;
}
export interface MoveInstanceRequest {
/**
* ID of the instance to move.
*
* To get the instance ID, make a [InstanceService.List] request.
*/
instanceId: string;
/**
* ID of the folder to move the instance to.
*
* To get the folder ID, make a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
*/
destinationFolderId: string;
}
export interface MoveInstanceMetadata {
/** ID of the instance that is being moved. */
instanceId: string;
/** ID of the folder that the instance is being moved from. */
sourceFolderId: string;
/** ID of the folder that the instance is being moved to. */
destinationFolderId: string;
}
export interface RelocateInstanceRequest {
/**
* ID of the instance to move.
*
* To get the instance ID, make a [InstanceService.List] request.
*/
instanceId: string;
/**
* ID of the availability zone to move the instance to.
*
* To get the zone ID, make a [ZoneService.List] request.
*/
destinationZoneId: string;
/**
* Network configuration for the instance. Specifies how the network interface is configured
* to interact with other services on the internal network and on the internet.
* Currently only one network interface is supported per instance.
*/
networkInterfaceSpecs: NetworkInterfaceSpec[];
/** Boot disk placement policy configuration in target zone. Must be specified if disk has placement policy. */
bootDiskPlacement?: DiskPlacementPolicy;
/** Secondary disk placement policy configurations in target zone. Must be specified for each disk that has placement policy. */
secondaryDiskPlacements: DiskPlacementPolicyChange[];
}
export interface RelocateInstanceMetadata {
/** ID of the instance that is being moved. */
instanceId: string;
/** ID of the availability zone that the instance is being moved from. */
sourceZoneId: string;
/** ID of the availability zone that the instance is being moved to. */
destinationZoneId: string;
}
export interface GuestStopInstanceMetadata {
/** ID of the instance that was stopped from guest OS. */
instanceId: string;
}
export interface PreemptInstanceMetadata {
/** ID of the instance that is being preempted. */
instanceId: string;
}
export interface CrashInstanceMetadata {
/** ID of the instance that was crashed. */
instanceId: string;
}
export declare const GetInstanceRequest: {
encode(message: GetInstanceRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetInstanceRequest;
fromJSON(object: any): GetInstanceRequest;
toJSON(message: GetInstanceRequest): unknown;
fromPartial, never>>(object: I): GetInstanceRequest;
};
export declare const ListInstancesRequest: {
encode(message: ListInstancesRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ListInstancesRequest;
fromJSON(object: any): ListInstancesRequest;
toJSON(message: ListInstancesRequest): unknown;
fromPartial, never>>(object: I): ListInstancesRequest;
};
export declare const ListInstancesResponse: {
encode(message: ListInstancesResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ListInstancesResponse;
fromJSON(object: any): ListInstancesResponse;
toJSON(message: ListInstancesResponse): unknown;
fromPartial, never>) | undefined;
zoneId?: string | undefined;
platformId?: string | undefined;
resources?: ({
memory?: number | undefined;
cores?: number | undefined;
coreFraction?: number | undefined;
gpus?: number | undefined;
} & {
memory?: number | undefined;
cores?: number | undefined;
coreFraction?: number | undefined;
gpus?: number | undefined;
} & Record, never>) | undefined;
status?: import("../../../../yandex/cloud/compute/v1/instance").Instance_Status | undefined;
metadata?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
metadataOptions?: ({
gceHttpEndpoint?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
awsV1HttpEndpoint?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
gceHttpToken?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
awsV1HttpToken?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
} & {
gceHttpEndpoint?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
awsV1HttpEndpoint?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
gceHttpToken?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
awsV1HttpToken?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
} & Record, never>) | undefined;
bootDisk?: ({
mode?: import("../../../../yandex/cloud/compute/v1/instance").AttachedDisk_Mode | undefined;
deviceName?: string | undefined;
autoDelete?: boolean | undefined;
diskId?: string | undefined;
} & {
mode?: import("../../../../yandex/cloud/compute/v1/instance").AttachedDisk_Mode | undefined;
deviceName?: string | undefined;
autoDelete?: boolean | undefined;
diskId?: string | undefined;
} & Record, never>) | undefined;
secondaryDisks?: ({
mode?: import("../../../../yandex/cloud/compute/v1/instance").AttachedDisk_Mode | undefined;
deviceName?: string | undefined;
autoDelete?: boolean | undefined;
diskId?: string | undefined;
}[] & ({
mode?: import("../../../../yandex/cloud/compute/v1/instance").AttachedDisk_Mode | undefined;
deviceName?: string | undefined;
autoDelete?: boolean | undefined;
diskId?: string | undefined;
} & {
mode?: import("../../../../yandex/cloud/compute/v1/instance").AttachedDisk_Mode | undefined;
deviceName?: string | undefined;
autoDelete?: boolean | undefined;
diskId?: string | undefined;
} & Record, never>)[] & Record, never>) | undefined;
localDisks?: ({
size?: number | undefined;
deviceName?: string | undefined;
}[] & ({
size?: number | undefined;
deviceName?: string | undefined;
} & {
size?: number | undefined;
deviceName?: string | undefined;
} & Record, never>)[] & Record, never>) | undefined;
filesystems?: ({
mode?: import("../../../../yandex/cloud/compute/v1/instance").AttachedFilesystem_Mode | undefined;
deviceName?: string | undefined;
filesystemId?: string | undefined;
}[] & ({
mode?: import("../../../../yandex/cloud/compute/v1/instance").AttachedFilesystem_Mode | undefined;
deviceName?: string | undefined;
filesystemId?: string | undefined;
} & {
mode?: import("../../../../yandex/cloud/compute/v1/instance").AttachedFilesystem_Mode | undefined;
deviceName?: string | undefined;
filesystemId?: string | undefined;
} & Record, never>)[] & Record, never>) | undefined;
networkInterfaces?: ({
index?: string | undefined;
macAddress?: string | undefined;
subnetId?: string | undefined;
primaryV4Address?: {
address?: string | undefined;
oneToOneNat?: {
address?: string | undefined;
ipVersion?: IpVersion | undefined;
dnsRecords?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
dnsRecords?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
primaryV6Address?: {
address?: string | undefined;
oneToOneNat?: {
address?: string | undefined;
ipVersion?: IpVersion | undefined;
dnsRecords?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
dnsRecords?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
securityGroupIds?: string[] | undefined;
}[] & ({
index?: string | undefined;
macAddress?: string | undefined;
subnetId?: string | undefined;
primaryV4Address?: {
address?: string | undefined;
oneToOneNat?: {
address?: string | undefined;
ipVersion?: IpVersion | undefined;
dnsRecords?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
dnsRecords?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
primaryV6Address?: {
address?: string | undefined;
oneToOneNat?: {
address?: string | undefined;
ipVersion?: IpVersion | undefined;
dnsRecords?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
dnsRecords?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
securityGroupIds?: string[] | undefined;
} & {
index?: string | undefined;
macAddress?: string | undefined;
subnetId?: string | undefined;
primaryV4Address?: ({
address?: string | undefined;
oneToOneNat?: {
address?: string | undefined;
ipVersion?: IpVersion | undefined;
dnsRecords?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
dnsRecords?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} & {
address?: string | undefined;
oneToOneNat?: ({
address?: string | undefined;
ipVersion?: IpVersion | undefined;
dnsRecords?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} & {
address?: string | undefined;
ipVersion?: IpVersion | undefined;
dnsRecords?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
dnsRecords?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
primaryV6Address?: ({
address?: string | undefined;
oneToOneNat?: {
address?: string | undefined;
ipVersion?: IpVersion | undefined;
dnsRecords?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
dnsRecords?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} & {
address?: string | undefined;
oneToOneNat?: ({
address?: string | undefined;
ipVersion?: IpVersion | undefined;
dnsRecords?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} & {
address?: string | undefined;
ipVersion?: IpVersion | undefined;
dnsRecords?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
dnsRecords?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
securityGroupIds?: (string[] & string[] & Record, never>) | undefined;
} & Record, never>)[] & Record, never>) | undefined;
serialPortSettings?: ({
sshAuthorization?: import("../../../../yandex/cloud/compute/v1/instance").SerialPortSettings_SSHAuthorization | undefined;
} & {
sshAuthorization?: import("../../../../yandex/cloud/compute/v1/instance").SerialPortSettings_SSHAuthorization | undefined;
} & Record, never>) | undefined;
gpuSettings?: ({
gpuClusterId?: string | undefined;
} & {
gpuClusterId?: string | undefined;
} & Record, never>) | undefined;
fqdn?: string | undefined;
schedulingPolicy?: ({
preemptible?: boolean | undefined;
} & {
preemptible?: boolean | undefined;
} & Record, never>) | undefined;
serviceAccountId?: string | undefined;
networkSettings?: ({
type?: import("../../../../yandex/cloud/compute/v1/instance").NetworkSettings_Type | undefined;
} & {
type?: import("../../../../yandex/cloud/compute/v1/instance").NetworkSettings_Type | undefined;
} & Record, never>) | undefined;
placementPolicy?: ({
placementGroupId?: string | undefined;
hostAffinityRules?: {
key?: string | undefined;
op?: import("../../../../yandex/cloud/compute/v1/instance").PlacementPolicy_HostAffinityRule_Operator | undefined;
values?: string[] | undefined;
}[] | undefined;
placementGroupPartition?: number | undefined;
} & {
placementGroupId?: string | undefined;
hostAffinityRules?: ({
key?: string | undefined;
op?: import("../../../../yandex/cloud/compute/v1/instance").PlacementPolicy_HostAffinityRule_Operator | undefined;
values?: string[] | undefined;
}[] & ({
key?: string | undefined;
op?: import("../../../../yandex/cloud/compute/v1/instance").PlacementPolicy_HostAffinityRule_Operator | undefined;
values?: string[] | undefined;
} & {
key?: string | undefined;
op?: import("../../../../yandex/cloud/compute/v1/instance").PlacementPolicy_HostAffinityRule_Operator | undefined;
values?: (string[] & string[] & Record, never>) | undefined;
} & Record, never>)[] & Record, never>) | undefined;
placementGroupPartition?: number | undefined;
} & Record, never>) | undefined;
hostGroupId?: string | undefined;
hostId?: string | undefined;
maintenancePolicy?: MaintenancePolicy | undefined;
maintenanceGracePeriod?: ({
seconds?: number | undefined;
nanos?: number | undefined;
} & {
seconds?: number | undefined;
nanos?: number | undefined;
} & Record, never>) | undefined;
hardwareGeneration?: ({
legacyFeatures?: {
pciTopology?: import("./hardware_generation").PCITopology | undefined;
} | undefined;
generation2Features?: {} | undefined;
} & {
legacyFeatures?: ({
pciTopology?: import("./hardware_generation").PCITopology | undefined;
} & {
pciTopology?: import("./hardware_generation").PCITopology | undefined;
} & Record, never>) | undefined;
generation2Features?: ({} & {} & Record, never>) | undefined;
} & Record, never>) | undefined;
reservedInstancePoolId?: string | undefined;
} & Record, never>)[] & Record, never>) | undefined;
nextPageToken?: string | undefined;
} & Record, never>>(object: I): ListInstancesResponse;
};
export declare const CreateInstanceRequest: {
encode(message: CreateInstanceRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CreateInstanceRequest;
fromJSON(object: any): CreateInstanceRequest;
toJSON(message: CreateInstanceRequest): unknown;
fromPartial, never>) | undefined;
zoneId?: string | undefined;
platformId?: string | undefined;
resourcesSpec?: ({
memory?: number | undefined;
cores?: number | undefined;
coreFraction?: number | undefined;
gpus?: number | undefined;
} & {
memory?: number | undefined;
cores?: number | undefined;
coreFraction?: number | undefined;
gpus?: number | undefined;
} & Record, never>) | undefined;
metadata?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
metadataOptions?: ({
gceHttpEndpoint?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
awsV1HttpEndpoint?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
gceHttpToken?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
awsV1HttpToken?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
} & {
gceHttpEndpoint?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
awsV1HttpEndpoint?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
gceHttpToken?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
awsV1HttpToken?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
} & Record, never>) | undefined;
bootDiskSpec?: ({
mode?: AttachedDiskSpec_Mode | undefined;
deviceName?: string | undefined;
autoDelete?: boolean | undefined;
diskSpec?: {
name?: string | undefined;
description?: string | undefined;
typeId?: string | undefined;
size?: number | undefined;
imageId?: string | undefined;
snapshotId?: string | undefined;
diskPlacementPolicy?: {
placementGroupId?: string | undefined;
placementGroupPartition?: number | undefined;
} | undefined;
blockSize?: number | undefined;
kmsKeyId?: string | undefined;
} | undefined;
diskId?: string | undefined;
} & {
mode?: AttachedDiskSpec_Mode | undefined;
deviceName?: string | undefined;
autoDelete?: boolean | undefined;
diskSpec?: ({
name?: string | undefined;
description?: string | undefined;
typeId?: string | undefined;
size?: number | undefined;
imageId?: string | undefined;
snapshotId?: string | undefined;
diskPlacementPolicy?: {
placementGroupId?: string | undefined;
placementGroupPartition?: number | undefined;
} | undefined;
blockSize?: number | undefined;
kmsKeyId?: string | undefined;
} & {
name?: string | undefined;
description?: string | undefined;
typeId?: string | undefined;
size?: number | undefined;
imageId?: string | undefined;
snapshotId?: string | undefined;
diskPlacementPolicy?: ({
placementGroupId?: string | undefined;
placementGroupPartition?: number | undefined;
} & {
placementGroupId?: string | undefined;
placementGroupPartition?: number | undefined;
} & Record, never>) | undefined;
blockSize?: number | undefined;
kmsKeyId?: string | undefined;
} & Record, never>) | undefined;
diskId?: string | undefined;
} & Record, never>) | undefined;
secondaryDiskSpecs?: ({
mode?: AttachedDiskSpec_Mode | undefined;
deviceName?: string | undefined;
autoDelete?: boolean | undefined;
diskSpec?: {
name?: string | undefined;
description?: string | undefined;
typeId?: string | undefined;
size?: number | undefined;
imageId?: string | undefined;
snapshotId?: string | undefined;
diskPlacementPolicy?: {
placementGroupId?: string | undefined;
placementGroupPartition?: number | undefined;
} | undefined;
blockSize?: number | undefined;
kmsKeyId?: string | undefined;
} | undefined;
diskId?: string | undefined;
}[] & ({
mode?: AttachedDiskSpec_Mode | undefined;
deviceName?: string | undefined;
autoDelete?: boolean | undefined;
diskSpec?: {
name?: string | undefined;
description?: string | undefined;
typeId?: string | undefined;
size?: number | undefined;
imageId?: string | undefined;
snapshotId?: string | undefined;
diskPlacementPolicy?: {
placementGroupId?: string | undefined;
placementGroupPartition?: number | undefined;
} | undefined;
blockSize?: number | undefined;
kmsKeyId?: string | undefined;
} | undefined;
diskId?: string | undefined;
} & {
mode?: AttachedDiskSpec_Mode | undefined;
deviceName?: string | undefined;
autoDelete?: boolean | undefined;
diskSpec?: ({
name?: string | undefined;
description?: string | undefined;
typeId?: string | undefined;
size?: number | undefined;
imageId?: string | undefined;
snapshotId?: string | undefined;
diskPlacementPolicy?: {
placementGroupId?: string | undefined;
placementGroupPartition?: number | undefined;
} | undefined;
blockSize?: number | undefined;
kmsKeyId?: string | undefined;
} & {
name?: string | undefined;
description?: string | undefined;
typeId?: string | undefined;
size?: number | undefined;
imageId?: string | undefined;
snapshotId?: string | undefined;
diskPlacementPolicy?: ({
placementGroupId?: string | undefined;
placementGroupPartition?: number | undefined;
} & {
placementGroupId?: string | undefined;
placementGroupPartition?: number | undefined;
} & Record, never>) | undefined;
blockSize?: number | undefined;
kmsKeyId?: string | undefined;
} & Record, never>) | undefined;
diskId?: string | undefined;
} & Record, never>)[] & Record, never>) | undefined;
localDiskSpecs?: ({
size?: number | undefined;
}[] & ({
size?: number | undefined;
} & {
size?: number | undefined;
} & Record, never>)[] & Record, never>) | undefined;
filesystemSpecs?: ({
mode?: AttachedFilesystemSpec_Mode | undefined;
deviceName?: string | undefined;
filesystemId?: string | undefined;
}[] & ({
mode?: AttachedFilesystemSpec_Mode | undefined;
deviceName?: string | undefined;
filesystemId?: string | undefined;
} & {
mode?: AttachedFilesystemSpec_Mode | undefined;
deviceName?: string | undefined;
filesystemId?: string | undefined;
} & Record, never>)[] & Record, never>) | undefined;
networkInterfaceSpecs?: ({
subnetId?: string | undefined;
primaryV4AddressSpec?: {
address?: string | undefined;
oneToOneNatSpec?: {
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
primaryV6AddressSpec?: {
address?: string | undefined;
oneToOneNatSpec?: {
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
securityGroupIds?: string[] | undefined;
index?: string | undefined;
}[] & ({
subnetId?: string | undefined;
primaryV4AddressSpec?: {
address?: string | undefined;
oneToOneNatSpec?: {
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
primaryV6AddressSpec?: {
address?: string | undefined;
oneToOneNatSpec?: {
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
securityGroupIds?: string[] | undefined;
index?: string | undefined;
} & {
subnetId?: string | undefined;
primaryV4AddressSpec?: ({
address?: string | undefined;
oneToOneNatSpec?: {
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} & {
address?: string | undefined;
oneToOneNatSpec?: ({
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} & {
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
dnsRecordSpecs?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
primaryV6AddressSpec?: ({
address?: string | undefined;
oneToOneNatSpec?: {
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} & {
address?: string | undefined;
oneToOneNatSpec?: ({
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} & {
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
dnsRecordSpecs?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
securityGroupIds?: (string[] & string[] & Record, never>) | undefined;
index?: string | undefined;
} & Record, never>)[] & Record, never>) | undefined;
hostname?: string | undefined;
schedulingPolicy?: ({
preemptible?: boolean | undefined;
} & {
preemptible?: boolean | undefined;
} & Record, never>) | undefined;
serviceAccountId?: string | undefined;
networkSettings?: ({
type?: import("../../../../yandex/cloud/compute/v1/instance").NetworkSettings_Type | undefined;
} & {
type?: import("../../../../yandex/cloud/compute/v1/instance").NetworkSettings_Type | undefined;
} & Record, never>) | undefined;
placementPolicy?: ({
placementGroupId?: string | undefined;
hostAffinityRules?: {
key?: string | undefined;
op?: import("../../../../yandex/cloud/compute/v1/instance").PlacementPolicy_HostAffinityRule_Operator | undefined;
values?: string[] | undefined;
}[] | undefined;
placementGroupPartition?: number | undefined;
} & {
placementGroupId?: string | undefined;
hostAffinityRules?: ({
key?: string | undefined;
op?: import("../../../../yandex/cloud/compute/v1/instance").PlacementPolicy_HostAffinityRule_Operator | undefined;
values?: string[] | undefined;
}[] & ({
key?: string | undefined;
op?: import("../../../../yandex/cloud/compute/v1/instance").PlacementPolicy_HostAffinityRule_Operator | undefined;
values?: string[] | undefined;
} & {
key?: string | undefined;
op?: import("../../../../yandex/cloud/compute/v1/instance").PlacementPolicy_HostAffinityRule_Operator | undefined;
values?: (string[] & string[] & Record, never>) | undefined;
} & Record, never>)[] & Record, never>) | undefined;
placementGroupPartition?: number | undefined;
} & Record, never>) | undefined;
gpuSettings?: ({
gpuClusterId?: string | undefined;
} & {
gpuClusterId?: string | undefined;
} & Record, never>) | undefined;
maintenancePolicy?: MaintenancePolicy | undefined;
maintenanceGracePeriod?: ({
seconds?: number | undefined;
nanos?: number | undefined;
} & {
seconds?: number | undefined;
nanos?: number | undefined;
} & Record, never>) | undefined;
serialPortSettings?: ({
sshAuthorization?: import("../../../../yandex/cloud/compute/v1/instance").SerialPortSettings_SSHAuthorization | undefined;
} & {
sshAuthorization?: import("../../../../yandex/cloud/compute/v1/instance").SerialPortSettings_SSHAuthorization | undefined;
} & Record, never>) | undefined;
reservedInstancePoolId?: string | undefined;
} & Record, never>>(object: I): CreateInstanceRequest;
};
export declare const CreateInstanceRequest_LabelsEntry: {
encode(message: CreateInstanceRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CreateInstanceRequest_LabelsEntry;
fromJSON(object: any): CreateInstanceRequest_LabelsEntry;
toJSON(message: CreateInstanceRequest_LabelsEntry): unknown;
fromPartial, never>>(object: I): CreateInstanceRequest_LabelsEntry;
};
export declare const CreateInstanceRequest_MetadataEntry: {
encode(message: CreateInstanceRequest_MetadataEntry, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CreateInstanceRequest_MetadataEntry;
fromJSON(object: any): CreateInstanceRequest_MetadataEntry;
toJSON(message: CreateInstanceRequest_MetadataEntry): unknown;
fromPartial, never>>(object: I): CreateInstanceRequest_MetadataEntry;
};
export declare const CreateInstanceMetadata: {
encode(message: CreateInstanceMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CreateInstanceMetadata;
fromJSON(object: any): CreateInstanceMetadata;
toJSON(message: CreateInstanceMetadata): unknown;
fromPartial, never>>(object: I): CreateInstanceMetadata;
};
export declare const UpdateInstanceRequest: {
encode(message: UpdateInstanceRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateInstanceRequest;
fromJSON(object: any): UpdateInstanceRequest;
toJSON(message: UpdateInstanceRequest): unknown;
fromPartial, never>) | undefined;
} & Record, never>) | undefined;
name?: string | undefined;
description?: string | undefined;
labels?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
platformId?: string | undefined;
resourcesSpec?: ({
memory?: number | undefined;
cores?: number | undefined;
coreFraction?: number | undefined;
gpus?: number | undefined;
} & {
memory?: number | undefined;
cores?: number | undefined;
coreFraction?: number | undefined;
gpus?: number | undefined;
} & Record, never>) | undefined;
metadata?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
metadataOptions?: ({
gceHttpEndpoint?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
awsV1HttpEndpoint?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
gceHttpToken?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
awsV1HttpToken?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
} & {
gceHttpEndpoint?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
awsV1HttpEndpoint?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
gceHttpToken?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
awsV1HttpToken?: import("../../../../yandex/cloud/compute/v1/instance").MetadataOption | undefined;
} & Record, never>) | undefined;
serviceAccountId?: string | undefined;
networkSettings?: ({
type?: import("../../../../yandex/cloud/compute/v1/instance").NetworkSettings_Type | undefined;
} & {
type?: import("../../../../yandex/cloud/compute/v1/instance").NetworkSettings_Type | undefined;
} & Record, never>) | undefined;
placementPolicy?: ({
placementGroupId?: string | undefined;
hostAffinityRules?: {
key?: string | undefined;
op?: import("../../../../yandex/cloud/compute/v1/instance").PlacementPolicy_HostAffinityRule_Operator | undefined;
values?: string[] | undefined;
}[] | undefined;
placementGroupPartition?: number | undefined;
} & {
placementGroupId?: string | undefined;
hostAffinityRules?: ({
key?: string | undefined;
op?: import("../../../../yandex/cloud/compute/v1/instance").PlacementPolicy_HostAffinityRule_Operator | undefined;
values?: string[] | undefined;
}[] & ({
key?: string | undefined;
op?: import("../../../../yandex/cloud/compute/v1/instance").PlacementPolicy_HostAffinityRule_Operator | undefined;
values?: string[] | undefined;
} & {
key?: string | undefined;
op?: import("../../../../yandex/cloud/compute/v1/instance").PlacementPolicy_HostAffinityRule_Operator | undefined;
values?: (string[] & string[] & Record, never>) | undefined;
} & Record, never>)[] & Record, never>) | undefined;
placementGroupPartition?: number | undefined;
} & Record, never>) | undefined;
schedulingPolicy?: ({
preemptible?: boolean | undefined;
} & {
preemptible?: boolean | undefined;
} & Record, never>) | undefined;
maintenancePolicy?: MaintenancePolicy | undefined;
maintenanceGracePeriod?: ({
seconds?: number | undefined;
nanos?: number | undefined;
} & {
seconds?: number | undefined;
nanos?: number | undefined;
} & Record, never>) | undefined;
serialPortSettings?: ({
sshAuthorization?: import("../../../../yandex/cloud/compute/v1/instance").SerialPortSettings_SSHAuthorization | undefined;
} & {
sshAuthorization?: import("../../../../yandex/cloud/compute/v1/instance").SerialPortSettings_SSHAuthorization | undefined;
} & Record, never>) | undefined;
reservedInstancePoolId?: string | undefined;
} & Record, never>>(object: I): UpdateInstanceRequest;
};
export declare const UpdateInstanceRequest_LabelsEntry: {
encode(message: UpdateInstanceRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateInstanceRequest_LabelsEntry;
fromJSON(object: any): UpdateInstanceRequest_LabelsEntry;
toJSON(message: UpdateInstanceRequest_LabelsEntry): unknown;
fromPartial, never>>(object: I): UpdateInstanceRequest_LabelsEntry;
};
export declare const UpdateInstanceRequest_MetadataEntry: {
encode(message: UpdateInstanceRequest_MetadataEntry, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateInstanceRequest_MetadataEntry;
fromJSON(object: any): UpdateInstanceRequest_MetadataEntry;
toJSON(message: UpdateInstanceRequest_MetadataEntry): unknown;
fromPartial, never>>(object: I): UpdateInstanceRequest_MetadataEntry;
};
export declare const UpdateInstanceMetadata: {
encode(message: UpdateInstanceMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateInstanceMetadata;
fromJSON(object: any): UpdateInstanceMetadata;
toJSON(message: UpdateInstanceMetadata): unknown;
fromPartial, never>>(object: I): UpdateInstanceMetadata;
};
export declare const DeleteInstanceRequest: {
encode(message: DeleteInstanceRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DeleteInstanceRequest;
fromJSON(object: any): DeleteInstanceRequest;
toJSON(message: DeleteInstanceRequest): unknown;
fromPartial, never>>(object: I): DeleteInstanceRequest;
};
export declare const DeleteInstanceMetadata: {
encode(message: DeleteInstanceMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DeleteInstanceMetadata;
fromJSON(object: any): DeleteInstanceMetadata;
toJSON(message: DeleteInstanceMetadata): unknown;
fromPartial, never>>(object: I): DeleteInstanceMetadata;
};
export declare const UpdateInstanceMetadataRequest: {
encode(message: UpdateInstanceMetadataRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateInstanceMetadataRequest;
fromJSON(object: any): UpdateInstanceMetadataRequest;
toJSON(message: UpdateInstanceMetadataRequest): unknown;
fromPartial, never>) | undefined;
upsert?: ({
[x: string]: string | undefined;
} & {
[x: string]: string | undefined;
} & Record, never>) | undefined;
} & Record, never>>(object: I): UpdateInstanceMetadataRequest;
};
export declare const UpdateInstanceMetadataRequest_UpsertEntry: {
encode(message: UpdateInstanceMetadataRequest_UpsertEntry, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateInstanceMetadataRequest_UpsertEntry;
fromJSON(object: any): UpdateInstanceMetadataRequest_UpsertEntry;
toJSON(message: UpdateInstanceMetadataRequest_UpsertEntry): unknown;
fromPartial, never>>(object: I): UpdateInstanceMetadataRequest_UpsertEntry;
};
export declare const UpdateInstanceMetadataMetadata: {
encode(message: UpdateInstanceMetadataMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateInstanceMetadataMetadata;
fromJSON(object: any): UpdateInstanceMetadataMetadata;
toJSON(message: UpdateInstanceMetadataMetadata): unknown;
fromPartial, never>>(object: I): UpdateInstanceMetadataMetadata;
};
export declare const GetInstanceSerialPortOutputRequest: {
encode(message: GetInstanceSerialPortOutputRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetInstanceSerialPortOutputRequest;
fromJSON(object: any): GetInstanceSerialPortOutputRequest;
toJSON(message: GetInstanceSerialPortOutputRequest): unknown;
fromPartial, never>>(object: I): GetInstanceSerialPortOutputRequest;
};
export declare const GetInstanceSerialPortOutputResponse: {
encode(message: GetInstanceSerialPortOutputResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GetInstanceSerialPortOutputResponse;
fromJSON(object: any): GetInstanceSerialPortOutputResponse;
toJSON(message: GetInstanceSerialPortOutputResponse): unknown;
fromPartial, never>>(object: I): GetInstanceSerialPortOutputResponse;
};
export declare const StopInstanceRequest: {
encode(message: StopInstanceRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StopInstanceRequest;
fromJSON(object: any): StopInstanceRequest;
toJSON(message: StopInstanceRequest): unknown;
fromPartial, never>>(object: I): StopInstanceRequest;
};
export declare const StopInstanceMetadata: {
encode(message: StopInstanceMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StopInstanceMetadata;
fromJSON(object: any): StopInstanceMetadata;
toJSON(message: StopInstanceMetadata): unknown;
fromPartial, never>>(object: I): StopInstanceMetadata;
};
export declare const StartInstanceRequest: {
encode(message: StartInstanceRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StartInstanceRequest;
fromJSON(object: any): StartInstanceRequest;
toJSON(message: StartInstanceRequest): unknown;
fromPartial, never>>(object: I): StartInstanceRequest;
};
export declare const StartInstanceMetadata: {
encode(message: StartInstanceMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): StartInstanceMetadata;
fromJSON(object: any): StartInstanceMetadata;
toJSON(message: StartInstanceMetadata): unknown;
fromPartial, never>>(object: I): StartInstanceMetadata;
};
export declare const RestartInstanceRequest: {
encode(message: RestartInstanceRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): RestartInstanceRequest;
fromJSON(object: any): RestartInstanceRequest;
toJSON(message: RestartInstanceRequest): unknown;
fromPartial, never>>(object: I): RestartInstanceRequest;
};
export declare const RestartInstanceMetadata: {
encode(message: RestartInstanceMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): RestartInstanceMetadata;
fromJSON(object: any): RestartInstanceMetadata;
toJSON(message: RestartInstanceMetadata): unknown;
fromPartial, never>>(object: I): RestartInstanceMetadata;
};
export declare const AttachInstanceDiskRequest: {
encode(message: AttachInstanceDiskRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AttachInstanceDiskRequest;
fromJSON(object: any): AttachInstanceDiskRequest;
toJSON(message: AttachInstanceDiskRequest): unknown;
fromPartial, never>) | undefined;
blockSize?: number | undefined;
kmsKeyId?: string | undefined;
} & Record, never>) | undefined;
diskId?: string | undefined;
} & Record, never>) | undefined;
} & Record, never>>(object: I): AttachInstanceDiskRequest;
};
export declare const AttachInstanceDiskMetadata: {
encode(message: AttachInstanceDiskMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AttachInstanceDiskMetadata;
fromJSON(object: any): AttachInstanceDiskMetadata;
toJSON(message: AttachInstanceDiskMetadata): unknown;
fromPartial, never>>(object: I): AttachInstanceDiskMetadata;
};
export declare const DetachInstanceDiskRequest: {
encode(message: DetachInstanceDiskRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DetachInstanceDiskRequest;
fromJSON(object: any): DetachInstanceDiskRequest;
toJSON(message: DetachInstanceDiskRequest): unknown;
fromPartial, never>>(object: I): DetachInstanceDiskRequest;
};
export declare const DetachInstanceDiskMetadata: {
encode(message: DetachInstanceDiskMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DetachInstanceDiskMetadata;
fromJSON(object: any): DetachInstanceDiskMetadata;
toJSON(message: DetachInstanceDiskMetadata): unknown;
fromPartial, never>>(object: I): DetachInstanceDiskMetadata;
};
export declare const AttachInstanceFilesystemRequest: {
encode(message: AttachInstanceFilesystemRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AttachInstanceFilesystemRequest;
fromJSON(object: any): AttachInstanceFilesystemRequest;
toJSON(message: AttachInstanceFilesystemRequest): unknown;
fromPartial, never>) | undefined;
} & Record, never>>(object: I): AttachInstanceFilesystemRequest;
};
export declare const AttachInstanceFilesystemMetadata: {
encode(message: AttachInstanceFilesystemMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AttachInstanceFilesystemMetadata;
fromJSON(object: any): AttachInstanceFilesystemMetadata;
toJSON(message: AttachInstanceFilesystemMetadata): unknown;
fromPartial, never>>(object: I): AttachInstanceFilesystemMetadata;
};
export declare const DetachInstanceFilesystemRequest: {
encode(message: DetachInstanceFilesystemRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DetachInstanceFilesystemRequest;
fromJSON(object: any): DetachInstanceFilesystemRequest;
toJSON(message: DetachInstanceFilesystemRequest): unknown;
fromPartial, never>>(object: I): DetachInstanceFilesystemRequest;
};
export declare const DetachInstanceFilesystemMetadata: {
encode(message: DetachInstanceFilesystemMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DetachInstanceFilesystemMetadata;
fromJSON(object: any): DetachInstanceFilesystemMetadata;
toJSON(message: DetachInstanceFilesystemMetadata): unknown;
fromPartial, never>>(object: I): DetachInstanceFilesystemMetadata;
};
export declare const AttachInstanceNetworkInterfaceRequest: {
encode(message: AttachInstanceNetworkInterfaceRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AttachInstanceNetworkInterfaceRequest;
fromJSON(object: any): AttachInstanceNetworkInterfaceRequest;
toJSON(message: AttachInstanceNetworkInterfaceRequest): unknown;
fromPartial, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
dnsRecordSpecs?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
securityGroupIds?: (string[] & string[] & Record, never>) | undefined;
} & Record, never>>(object: I): AttachInstanceNetworkInterfaceRequest;
};
export declare const AttachInstanceNetworkInterfaceMetadata: {
encode(message: AttachInstanceNetworkInterfaceMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AttachInstanceNetworkInterfaceMetadata;
fromJSON(object: any): AttachInstanceNetworkInterfaceMetadata;
toJSON(message: AttachInstanceNetworkInterfaceMetadata): unknown;
fromPartial, never>>(object: I): AttachInstanceNetworkInterfaceMetadata;
};
export declare const DetachInstanceNetworkInterfaceRequest: {
encode(message: DetachInstanceNetworkInterfaceRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DetachInstanceNetworkInterfaceRequest;
fromJSON(object: any): DetachInstanceNetworkInterfaceRequest;
toJSON(message: DetachInstanceNetworkInterfaceRequest): unknown;
fromPartial, never>>(object: I): DetachInstanceNetworkInterfaceRequest;
};
export declare const DetachInstanceNetworkInterfaceMetadata: {
encode(message: DetachInstanceNetworkInterfaceMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DetachInstanceNetworkInterfaceMetadata;
fromJSON(object: any): DetachInstanceNetworkInterfaceMetadata;
toJSON(message: DetachInstanceNetworkInterfaceMetadata): unknown;
fromPartial, never>>(object: I): DetachInstanceNetworkInterfaceMetadata;
};
export declare const AddInstanceOneToOneNatRequest: {
encode(message: AddInstanceOneToOneNatRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AddInstanceOneToOneNatRequest;
fromJSON(object: any): AddInstanceOneToOneNatRequest;
toJSON(message: AddInstanceOneToOneNatRequest): unknown;
fromPartial, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
} & Record, never>>(object: I): AddInstanceOneToOneNatRequest;
};
export declare const AddInstanceOneToOneNatMetadata: {
encode(message: AddInstanceOneToOneNatMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AddInstanceOneToOneNatMetadata;
fromJSON(object: any): AddInstanceOneToOneNatMetadata;
toJSON(message: AddInstanceOneToOneNatMetadata): unknown;
fromPartial, never>>(object: I): AddInstanceOneToOneNatMetadata;
};
export declare const RemoveInstanceOneToOneNatRequest: {
encode(message: RemoveInstanceOneToOneNatRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): RemoveInstanceOneToOneNatRequest;
fromJSON(object: any): RemoveInstanceOneToOneNatRequest;
toJSON(message: RemoveInstanceOneToOneNatRequest): unknown;
fromPartial, never>>(object: I): RemoveInstanceOneToOneNatRequest;
};
export declare const RemoveInstanceOneToOneNatMetadata: {
encode(message: RemoveInstanceOneToOneNatMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): RemoveInstanceOneToOneNatMetadata;
fromJSON(object: any): RemoveInstanceOneToOneNatMetadata;
toJSON(message: RemoveInstanceOneToOneNatMetadata): unknown;
fromPartial, never>>(object: I): RemoveInstanceOneToOneNatMetadata;
};
export declare const UpdateInstanceNetworkInterfaceRequest: {
encode(message: UpdateInstanceNetworkInterfaceRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateInstanceNetworkInterfaceRequest;
fromJSON(object: any): UpdateInstanceNetworkInterfaceRequest;
toJSON(message: UpdateInstanceNetworkInterfaceRequest): unknown;
fromPartial, never>) | undefined;
} & Record, never>) | undefined;
subnetId?: string | undefined;
primaryV4AddressSpec?: ({
address?: string | undefined;
oneToOneNatSpec?: {
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} & {
address?: string | undefined;
oneToOneNatSpec?: ({
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} & {
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
dnsRecordSpecs?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
primaryV6AddressSpec?: ({
address?: string | undefined;
oneToOneNatSpec?: {
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} & {
address?: string | undefined;
oneToOneNatSpec?: ({
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} & {
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
dnsRecordSpecs?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
securityGroupIds?: (string[] & string[] & Record, never>) | undefined;
} & Record, never>>(object: I): UpdateInstanceNetworkInterfaceRequest;
};
export declare const UpdateInstanceNetworkInterfaceMetadata: {
encode(message: UpdateInstanceNetworkInterfaceMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): UpdateInstanceNetworkInterfaceMetadata;
fromJSON(object: any): UpdateInstanceNetworkInterfaceMetadata;
toJSON(message: UpdateInstanceNetworkInterfaceMetadata): unknown;
fromPartial, never>>(object: I): UpdateInstanceNetworkInterfaceMetadata;
};
export declare const SimulateInstanceMaintenanceEventRequest: {
encode(message: SimulateInstanceMaintenanceEventRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): SimulateInstanceMaintenanceEventRequest;
fromJSON(object: any): SimulateInstanceMaintenanceEventRequest;
toJSON(message: SimulateInstanceMaintenanceEventRequest): unknown;
fromPartial, never>>(object: I): SimulateInstanceMaintenanceEventRequest;
};
export declare const SimulateInstanceMaintenanceEventMetadata: {
encode(message: SimulateInstanceMaintenanceEventMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): SimulateInstanceMaintenanceEventMetadata;
fromJSON(object: any): SimulateInstanceMaintenanceEventMetadata;
toJSON(message: SimulateInstanceMaintenanceEventMetadata): unknown;
fromPartial, never>>(object: I): SimulateInstanceMaintenanceEventMetadata;
};
export declare const ListInstanceOperationsRequest: {
encode(message: ListInstanceOperationsRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ListInstanceOperationsRequest;
fromJSON(object: any): ListInstanceOperationsRequest;
toJSON(message: ListInstanceOperationsRequest): unknown;
fromPartial, never>>(object: I): ListInstanceOperationsRequest;
};
export declare const ListInstanceOperationsResponse: {
encode(message: ListInstanceOperationsResponse, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ListInstanceOperationsResponse;
fromJSON(object: any): ListInstanceOperationsResponse;
toJSON(message: ListInstanceOperationsResponse): unknown;
fromPartial, never>) | undefined;
error?: ({
code?: number | undefined;
message?: string | undefined;
details?: {
typeUrl?: string | undefined;
value?: Buffer | undefined;
}[] | undefined;
} & {
code?: number | undefined;
message?: string | undefined;
details?: ({
typeUrl?: string | undefined;
value?: Buffer | undefined;
}[] & ({
typeUrl?: string | undefined;
value?: Buffer | undefined;
} & {
typeUrl?: string | undefined;
value?: Buffer | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
response?: ({
typeUrl?: string | undefined;
value?: Buffer | undefined;
} & {
typeUrl?: string | undefined;
value?: Buffer | undefined;
} & Record, never>) | undefined;
} & Record, never>)[] & Record, never>) | undefined;
nextPageToken?: string | undefined;
} & Record, never>>(object: I): ListInstanceOperationsResponse;
};
export declare const ResourcesSpec: {
encode(message: ResourcesSpec, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): ResourcesSpec;
fromJSON(object: any): ResourcesSpec;
toJSON(message: ResourcesSpec): unknown;
fromPartial, never>>(object: I): ResourcesSpec;
};
export declare const AttachedDiskSpec: {
encode(message: AttachedDiskSpec, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AttachedDiskSpec;
fromJSON(object: any): AttachedDiskSpec;
toJSON(message: AttachedDiskSpec): unknown;
fromPartial, never>) | undefined;
blockSize?: number | undefined;
kmsKeyId?: string | undefined;
} & Record, never>) | undefined;
diskId?: string | undefined;
} & Record, never>>(object: I): AttachedDiskSpec;
};
export declare const AttachedDiskSpec_DiskSpec: {
encode(message: AttachedDiskSpec_DiskSpec, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AttachedDiskSpec_DiskSpec;
fromJSON(object: any): AttachedDiskSpec_DiskSpec;
toJSON(message: AttachedDiskSpec_DiskSpec): unknown;
fromPartial, never>) | undefined;
blockSize?: number | undefined;
kmsKeyId?: string | undefined;
} & Record, never>>(object: I): AttachedDiskSpec_DiskSpec;
};
export declare const AttachedLocalDiskSpec: {
encode(message: AttachedLocalDiskSpec, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AttachedLocalDiskSpec;
fromJSON(object: any): AttachedLocalDiskSpec;
toJSON(message: AttachedLocalDiskSpec): unknown;
fromPartial, never>>(object: I): AttachedLocalDiskSpec;
};
export declare const AttachedFilesystemSpec: {
encode(message: AttachedFilesystemSpec, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): AttachedFilesystemSpec;
fromJSON(object: any): AttachedFilesystemSpec;
toJSON(message: AttachedFilesystemSpec): unknown;
fromPartial, never>>(object: I): AttachedFilesystemSpec;
};
export declare const NetworkInterfaceSpec: {
encode(message: NetworkInterfaceSpec, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): NetworkInterfaceSpec;
fromJSON(object: any): NetworkInterfaceSpec;
toJSON(message: NetworkInterfaceSpec): unknown;
fromPartial, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
dnsRecordSpecs?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
primaryV6AddressSpec?: ({
address?: string | undefined;
oneToOneNatSpec?: {
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} & {
address?: string | undefined;
oneToOneNatSpec?: ({
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} & {
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
dnsRecordSpecs?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
securityGroupIds?: (string[] & string[] & Record, never>) | undefined;
index?: string | undefined;
} & Record, never>>(object: I): NetworkInterfaceSpec;
};
export declare const PrimaryAddressSpec: {
encode(message: PrimaryAddressSpec, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): PrimaryAddressSpec;
fromJSON(object: any): PrimaryAddressSpec;
toJSON(message: PrimaryAddressSpec): unknown;
fromPartial, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
dnsRecordSpecs?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>>(object: I): PrimaryAddressSpec;
};
export declare const OneToOneNatSpec: {
encode(message: OneToOneNatSpec, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): OneToOneNatSpec;
fromJSON(object: any): OneToOneNatSpec;
toJSON(message: OneToOneNatSpec): unknown;
fromPartial, never>)[] & Record, never>) | undefined;
} & Record, never>>(object: I): OneToOneNatSpec;
};
export declare const DnsRecordSpec: {
encode(message: DnsRecordSpec, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): DnsRecordSpec;
fromJSON(object: any): DnsRecordSpec;
toJSON(message: DnsRecordSpec): unknown;
fromPartial, never>>(object: I): DnsRecordSpec;
};
export declare const MoveInstanceRequest: {
encode(message: MoveInstanceRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MoveInstanceRequest;
fromJSON(object: any): MoveInstanceRequest;
toJSON(message: MoveInstanceRequest): unknown;
fromPartial, never>>(object: I): MoveInstanceRequest;
};
export declare const MoveInstanceMetadata: {
encode(message: MoveInstanceMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): MoveInstanceMetadata;
fromJSON(object: any): MoveInstanceMetadata;
toJSON(message: MoveInstanceMetadata): unknown;
fromPartial, never>>(object: I): MoveInstanceMetadata;
};
export declare const RelocateInstanceRequest: {
encode(message: RelocateInstanceRequest, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): RelocateInstanceRequest;
fromJSON(object: any): RelocateInstanceRequest;
toJSON(message: RelocateInstanceRequest): unknown;
fromPartial, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
dnsRecordSpecs?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
primaryV6AddressSpec?: ({
address?: string | undefined;
oneToOneNatSpec?: {
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} & {
address?: string | undefined;
oneToOneNatSpec?: ({
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] | undefined;
} & {
ipVersion?: IpVersion | undefined;
address?: string | undefined;
dnsRecordSpecs?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
dnsRecordSpecs?: ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
}[] & ({
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & {
fqdn?: string | undefined;
dnsZoneId?: string | undefined;
ttl?: number | undefined;
ptr?: boolean | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>) | undefined;
securityGroupIds?: (string[] & string[] & Record, never>) | undefined;
index?: string | undefined;
} & Record, never>)[] & Record, never>) | undefined;
bootDiskPlacement?: ({
placementGroupId?: string | undefined;
placementGroupPartition?: number | undefined;
} & {
placementGroupId?: string | undefined;
placementGroupPartition?: number | undefined;
} & Record, never>) | undefined;
secondaryDiskPlacements?: ({
diskId?: string | undefined;
diskPlacementPolicy?: {
placementGroupId?: string | undefined;
placementGroupPartition?: number | undefined;
} | undefined;
}[] & ({
diskId?: string | undefined;
diskPlacementPolicy?: {
placementGroupId?: string | undefined;
placementGroupPartition?: number | undefined;
} | undefined;
} & {
diskId?: string | undefined;
diskPlacementPolicy?: ({
placementGroupId?: string | undefined;
placementGroupPartition?: number | undefined;
} & {
placementGroupId?: string | undefined;
placementGroupPartition?: number | undefined;
} & Record, never>) | undefined;
} & Record, never>)[] & Record, never>) | undefined;
} & Record, never>>(object: I): RelocateInstanceRequest;
};
export declare const RelocateInstanceMetadata: {
encode(message: RelocateInstanceMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): RelocateInstanceMetadata;
fromJSON(object: any): RelocateInstanceMetadata;
toJSON(message: RelocateInstanceMetadata): unknown;
fromPartial, never>>(object: I): RelocateInstanceMetadata;
};
export declare const GuestStopInstanceMetadata: {
encode(message: GuestStopInstanceMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): GuestStopInstanceMetadata;
fromJSON(object: any): GuestStopInstanceMetadata;
toJSON(message: GuestStopInstanceMetadata): unknown;
fromPartial, never>>(object: I): GuestStopInstanceMetadata;
};
export declare const PreemptInstanceMetadata: {
encode(message: PreemptInstanceMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): PreemptInstanceMetadata;
fromJSON(object: any): PreemptInstanceMetadata;
toJSON(message: PreemptInstanceMetadata): unknown;
fromPartial, never>>(object: I): PreemptInstanceMetadata;
};
export declare const CrashInstanceMetadata: {
encode(message: CrashInstanceMetadata, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number): CrashInstanceMetadata;
fromJSON(object: any): CrashInstanceMetadata;
toJSON(message: CrashInstanceMetadata): unknown;
fromPartial, never>>(object: I): CrashInstanceMetadata;
};
/** A set of methods for managing Instance resources. */
export declare const InstanceServiceService: {
/**
* Returns the specified Instance resource.
*
* To get the list of available Instance resources, make a [List] request.
*/
readonly get: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/Get";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: GetInstanceRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => GetInstanceRequest;
readonly responseSerialize: (value: Instance) => Buffer;
readonly responseDeserialize: (value: Buffer) => Instance;
};
/** Retrieves the list of Instance resources in the specified folder. */
readonly list: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/List";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: ListInstancesRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => ListInstancesRequest;
readonly responseSerialize: (value: ListInstancesResponse) => Buffer;
readonly responseDeserialize: (value: Buffer) => ListInstancesResponse;
};
/**
* Creates an instance in the specified folder.
* Method starts an asynchronous operation that can be cancelled while it is in progress.
*/
readonly create: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/Create";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: CreateInstanceRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => CreateInstanceRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Updates the specified instance. */
readonly update: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/Update";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: UpdateInstanceRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => UpdateInstanceRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Deletes the specified instance. */
readonly delete: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/Delete";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: DeleteInstanceRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => DeleteInstanceRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Updates the metadata of the specified instance. For more information on metadata, see [VM metadata](/docs/compute/concepts/vm-metadata). */
readonly updateMetadata: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/UpdateMetadata";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: UpdateInstanceMetadataRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => UpdateInstanceMetadataRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Returns the serial port output of the specified Instance resource. */
readonly getSerialPortOutput: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/GetSerialPortOutput";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: GetInstanceSerialPortOutputRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => GetInstanceSerialPortOutputRequest;
readonly responseSerialize: (value: GetInstanceSerialPortOutputResponse) => Buffer;
readonly responseDeserialize: (value: Buffer) => GetInstanceSerialPortOutputResponse;
};
/**
* Stops the running instance.
*
* You can start the instance later using the [InstanceService.Start] method.
*/
readonly stop: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/Stop";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: StopInstanceRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => StopInstanceRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Starts the stopped instance. */
readonly start: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/Start";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: StartInstanceRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => StartInstanceRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Restarts the running instance. */
readonly restart: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/Restart";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: RestartInstanceRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => RestartInstanceRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Attaches the disk to the instance. */
readonly attachDisk: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/AttachDisk";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: AttachInstanceDiskRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => AttachInstanceDiskRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Detaches the disk from the instance. */
readonly detachDisk: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/DetachDisk";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: DetachInstanceDiskRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => DetachInstanceDiskRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/**
* Attaches the filesystem to the instance.
*
* The instance and the filesystem must reside in the same availability zone.
*
* To use the instance with an attached filesystem, the latter must be mounted.
* For details, see [documentation](/docs/compute/operations/filesystem/attach-to-vm).
*/
readonly attachFilesystem: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/AttachFilesystem";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: AttachInstanceFilesystemRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => AttachInstanceFilesystemRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Detaches the filesystem from the instance. */
readonly detachFilesystem: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/DetachFilesystem";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: DetachInstanceFilesystemRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => DetachInstanceFilesystemRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/**
* Attaches the network-interface to the instance.
*
* To attach a network-interface, the instance must have a `STOPPED` status ([Instance.status]).
* To check the instance status, make a [InstanceService.Get] request.
* To stop the running instance, make a [InstanceService.Stop] request.
*/
readonly attachNetworkInterface: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/AttachNetworkInterface";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: AttachInstanceNetworkInterfaceRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => AttachInstanceNetworkInterfaceRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/**
* Detaches the network-interface to the instance.
*
* To Detach a network-interface, the instance must have a `STOPPED` status ([Instance.status]).
* To check the instance status, make a [InstanceService.Get] request.
* To stop the running instance, make a [InstanceService.Stop] request.
*/
readonly detachNetworkInterface: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/DetachNetworkInterface";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: DetachInstanceNetworkInterfaceRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => DetachInstanceNetworkInterfaceRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Enables One-to-one NAT on the network interface. */
readonly addOneToOneNat: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/AddOneToOneNat";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: AddInstanceOneToOneNatRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => AddInstanceOneToOneNatRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Removes One-to-one NAT from the network interface. */
readonly removeOneToOneNat: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/RemoveOneToOneNat";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: RemoveInstanceOneToOneNatRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => RemoveInstanceOneToOneNatRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Updates the specified instance network interface. */
readonly updateNetworkInterface: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/UpdateNetworkInterface";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: UpdateInstanceNetworkInterfaceRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => UpdateInstanceNetworkInterfaceRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Lists operations for the specified instance. */
readonly listOperations: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/ListOperations";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: ListInstanceOperationsRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => ListInstanceOperationsRequest;
readonly responseSerialize: (value: ListInstanceOperationsResponse) => Buffer;
readonly responseDeserialize: (value: Buffer) => ListInstanceOperationsResponse;
};
/**
* Moves the specified instance to another folder of the same cloud.
*
* The instance must be stopped before moving. To stop the instance, make a [Stop] request.
*
* After moving, the instance will start recording its Monitoring default metrics to its new folder. Metrics
* that have been recorded to the source folder prior to moving will be retained.
*/
readonly move: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/Move";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: MoveInstanceRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => MoveInstanceRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/**
* Moves the specified instance to another availability zone
*
* Running instance will be restarted during this operation.
*/
readonly relocate: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/Relocate";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: RelocateInstanceRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => RelocateInstanceRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
readonly simulateMaintenanceEvent: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/SimulateMaintenanceEvent";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: SimulateInstanceMaintenanceEventRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => SimulateInstanceMaintenanceEventRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Lists access bindings for the instance. */
readonly listAccessBindings: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/ListAccessBindings";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: ListAccessBindingsRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => ListAccessBindingsRequest;
readonly responseSerialize: (value: ListAccessBindingsResponse) => Buffer;
readonly responseDeserialize: (value: Buffer) => ListAccessBindingsResponse;
};
/** Sets access bindings for the instance. */
readonly setAccessBindings: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/SetAccessBindings";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: SetAccessBindingsRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => SetAccessBindingsRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
/** Updates access bindings for the instance. */
readonly updateAccessBindings: {
readonly path: "/yandex.cloud.compute.v1.InstanceService/UpdateAccessBindings";
readonly requestStream: false;
readonly responseStream: false;
readonly requestSerialize: (value: UpdateAccessBindingsRequest) => Buffer;
readonly requestDeserialize: (value: Buffer) => UpdateAccessBindingsRequest;
readonly responseSerialize: (value: Operation) => Buffer;
readonly responseDeserialize: (value: Buffer) => Operation;
};
};
export interface InstanceServiceServer extends UntypedServiceImplementation {
/**
* Returns the specified Instance resource.
*
* To get the list of available Instance resources, make a [List] request.
*/
get: handleUnaryCall;
/** Retrieves the list of Instance resources in the specified folder. */
list: handleUnaryCall;
/**
* Creates an instance in the specified folder.
* Method starts an asynchronous operation that can be cancelled while it is in progress.
*/
create: handleUnaryCall;
/** Updates the specified instance. */
update: handleUnaryCall;
/** Deletes the specified instance. */
delete: handleUnaryCall;
/** Updates the metadata of the specified instance. For more information on metadata, see [VM metadata](/docs/compute/concepts/vm-metadata). */
updateMetadata: handleUnaryCall;
/** Returns the serial port output of the specified Instance resource. */
getSerialPortOutput: handleUnaryCall;
/**
* Stops the running instance.
*
* You can start the instance later using the [InstanceService.Start] method.
*/
stop: handleUnaryCall