privatelink

package
v0.0.0-...-204702d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 14 Imported by: 4

Documentation

Index

Constants

View Source
const (
	PrivateEndpointService_Get_FullMethodName            = "/yandex.cloud.vpc.v1.privatelink.PrivateEndpointService/Get"
	PrivateEndpointService_List_FullMethodName           = "/yandex.cloud.vpc.v1.privatelink.PrivateEndpointService/List"
	PrivateEndpointService_Create_FullMethodName         = "/yandex.cloud.vpc.v1.privatelink.PrivateEndpointService/Create"
	PrivateEndpointService_Update_FullMethodName         = "/yandex.cloud.vpc.v1.privatelink.PrivateEndpointService/Update"
	PrivateEndpointService_Delete_FullMethodName         = "/yandex.cloud.vpc.v1.privatelink.PrivateEndpointService/Delete"
	PrivateEndpointService_ListOperations_FullMethodName = "/yandex.cloud.vpc.v1.privatelink.PrivateEndpointService/ListOperations"
)

Variables

View Source
var (
	PrivateEndpoint_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "PENDING",
		2: "AVAILABLE",
		3: "DELETING",
	}
	PrivateEndpoint_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"PENDING":            1,
		"AVAILABLE":          2,
		"DELETING":           3,
	}
)

Enum value maps for PrivateEndpoint_Status.

View Source
var File_yandex_cloud_vpc_v1_privatelink_private_endpoint_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_vpc_v1_privatelink_private_endpoint_service_proto protoreflect.FileDescriptor
View Source
var PrivateEndpointService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.vpc.v1.privatelink.PrivateEndpointService",
	HandlerType: (*PrivateEndpointServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _PrivateEndpointService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _PrivateEndpointService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _PrivateEndpointService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _PrivateEndpointService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _PrivateEndpointService_Delete_Handler,
		},
		{
			MethodName: "ListOperations",
			Handler:    _PrivateEndpointService_ListOperations_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/vpc/v1/privatelink/private_endpoint_service.proto",
}

PrivateEndpointService_ServiceDesc is the grpc.ServiceDesc for PrivateEndpointService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterPrivateEndpointServiceServer

func RegisterPrivateEndpointServiceServer(s grpc.ServiceRegistrar, srv PrivateEndpointServiceServer)

Types

type AddressSpec

type AddressSpec struct {

	// Types that are assignable to Address:
	//
	//	*AddressSpec_AddressId
	//	*AddressSpec_InternalIpv4AddressSpec
	Address isAddressSpec_Address `protobuf_oneof:"address"`
	// contains filtered or unexported fields
}

func (*AddressSpec) Descriptor deprecated

func (*AddressSpec) Descriptor() ([]byte, []int)

Deprecated: Use AddressSpec.ProtoReflect.Descriptor instead.

func (*AddressSpec) GetAddress

func (m *AddressSpec) GetAddress() isAddressSpec_Address

func (*AddressSpec) GetAddressId

func (x *AddressSpec) GetAddressId() string

func (*AddressSpec) GetInternalIpv4AddressSpec

func (x *AddressSpec) GetInternalIpv4AddressSpec() *InternalIpv4AddressSpec

func (*AddressSpec) ProtoMessage

func (*AddressSpec) ProtoMessage()

func (*AddressSpec) ProtoReflect

func (x *AddressSpec) ProtoReflect() protoreflect.Message

func (*AddressSpec) Reset

func (x *AddressSpec) Reset()

func (*AddressSpec) SetAddress

func (m *AddressSpec) SetAddress(v AddressSpec_Address)

func (*AddressSpec) SetAddressId

func (m *AddressSpec) SetAddressId(v string)

func (*AddressSpec) SetInternalIpv4AddressSpec

func (m *AddressSpec) SetInternalIpv4AddressSpec(v *InternalIpv4AddressSpec)

func (*AddressSpec) String

func (x *AddressSpec) String() string

type AddressSpec_Address

type AddressSpec_Address = isAddressSpec_Address

type AddressSpec_AddressId

type AddressSpec_AddressId struct {
	// ID of IP address to associate with private endpoint.
	AddressId string `protobuf:"bytes,1,opt,name=address_id,json=addressId,proto3,oneof"`
}

type AddressSpec_InternalIpv4AddressSpec

type AddressSpec_InternalIpv4AddressSpec struct {
	// Internal ipv4 address specification.
	InternalIpv4AddressSpec *InternalIpv4AddressSpec `protobuf:"bytes,2,opt,name=internal_ipv4_address_spec,json=internalIpv4AddressSpec,proto3,oneof"`
}

type CreatePrivateEndpointMetadata

type CreatePrivateEndpointMetadata struct {

	// ID of the private endpoint that is being created.
	PrivateEndpointId string `protobuf:"bytes,1,opt,name=private_endpoint_id,json=privateEndpointId,proto3" json:"private_endpoint_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePrivateEndpointMetadata) Descriptor deprecated

func (*CreatePrivateEndpointMetadata) Descriptor() ([]byte, []int)

Deprecated: Use CreatePrivateEndpointMetadata.ProtoReflect.Descriptor instead.

func (*CreatePrivateEndpointMetadata) GetPrivateEndpointId

func (x *CreatePrivateEndpointMetadata) GetPrivateEndpointId() string

func (*CreatePrivateEndpointMetadata) ProtoMessage

func (*CreatePrivateEndpointMetadata) ProtoMessage()

func (*CreatePrivateEndpointMetadata) ProtoReflect

func (*CreatePrivateEndpointMetadata) Reset

func (x *CreatePrivateEndpointMetadata) Reset()

func (*CreatePrivateEndpointMetadata) SetPrivateEndpointId

func (m *CreatePrivateEndpointMetadata) SetPrivateEndpointId(v string)

func (*CreatePrivateEndpointMetadata) String

type CreatePrivateEndpointRequest

type CreatePrivateEndpointRequest struct {

	// ID of the folder to create a private endpoint in.
	//
	// To get a folder ID make a
	// [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the private endpoint.
	// The name must be unique within the folder.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the private endpoint.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Private endpoint labels as `key:value` pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// ID of the network to create a private endpoint in.
	NetworkId string `protobuf:"bytes,5,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// Private endpoint address specification.
	AddressSpec *AddressSpec `protobuf:"bytes,6,opt,name=address_spec,json=addressSpec,proto3" json:"address_spec,omitempty"`
	// Private endpoint dns options.
	DnsOptions *PrivateEndpoint_DnsOptions `protobuf:"bytes,8,opt,name=dns_options,json=dnsOptions,proto3" json:"dns_options,omitempty"`
	// Service to connect with via private endpoint.
	//
	// Types that are assignable to Service:
	//
	//	*CreatePrivateEndpointRequest_ObjectStorage
	Service isCreatePrivateEndpointRequest_Service `protobuf_oneof:"service"`
	// contains filtered or unexported fields
}

func (*CreatePrivateEndpointRequest) Descriptor deprecated

func (*CreatePrivateEndpointRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreatePrivateEndpointRequest.ProtoReflect.Descriptor instead.

func (*CreatePrivateEndpointRequest) GetAddressSpec

func (x *CreatePrivateEndpointRequest) GetAddressSpec() *AddressSpec

func (*CreatePrivateEndpointRequest) GetDescription

func (x *CreatePrivateEndpointRequest) GetDescription() string

func (*CreatePrivateEndpointRequest) GetDnsOptions

func (*CreatePrivateEndpointRequest) GetFolderId

func (x *CreatePrivateEndpointRequest) GetFolderId() string

func (*CreatePrivateEndpointRequest) GetLabels

func (x *CreatePrivateEndpointRequest) GetLabels() map[string]string

func (*CreatePrivateEndpointRequest) GetName

func (x *CreatePrivateEndpointRequest) GetName() string

func (*CreatePrivateEndpointRequest) GetNetworkId

func (x *CreatePrivateEndpointRequest) GetNetworkId() string

func (*CreatePrivateEndpointRequest) GetObjectStorage

func (*CreatePrivateEndpointRequest) GetService

func (m *CreatePrivateEndpointRequest) GetService() isCreatePrivateEndpointRequest_Service

func (*CreatePrivateEndpointRequest) ProtoMessage

func (*CreatePrivateEndpointRequest) ProtoMessage()

func (*CreatePrivateEndpointRequest) ProtoReflect

func (*CreatePrivateEndpointRequest) Reset

func (x *CreatePrivateEndpointRequest) Reset()

func (*CreatePrivateEndpointRequest) SetAddressSpec

func (m *CreatePrivateEndpointRequest) SetAddressSpec(v *AddressSpec)

func (*CreatePrivateEndpointRequest) SetDescription

func (m *CreatePrivateEndpointRequest) SetDescription(v string)

func (*CreatePrivateEndpointRequest) SetDnsOptions

func (*CreatePrivateEndpointRequest) SetFolderId

func (m *CreatePrivateEndpointRequest) SetFolderId(v string)

func (*CreatePrivateEndpointRequest) SetLabels

func (m *CreatePrivateEndpointRequest) SetLabels(v map[string]string)

func (*CreatePrivateEndpointRequest) SetName

func (m *CreatePrivateEndpointRequest) SetName(v string)

func (*CreatePrivateEndpointRequest) SetNetworkId

func (m *CreatePrivateEndpointRequest) SetNetworkId(v string)

func (*CreatePrivateEndpointRequest) SetObjectStorage

func (*CreatePrivateEndpointRequest) SetService

func (*CreatePrivateEndpointRequest) String

type CreatePrivateEndpointRequest_ObjectStorage

type CreatePrivateEndpointRequest_ObjectStorage struct {
	// Yandex Cloud Object Storage.
	ObjectStorage *PrivateEndpoint_ObjectStorage `protobuf:"bytes,9,opt,name=object_storage,json=objectStorage,proto3,oneof"`
}

type CreatePrivateEndpointRequest_Service

type CreatePrivateEndpointRequest_Service = isCreatePrivateEndpointRequest_Service

type DeletePrivateEndpointMetadata

type DeletePrivateEndpointMetadata struct {

	// ID of the private endpoint that is being deleted.
	PrivateEndpointId string `protobuf:"bytes,1,opt,name=private_endpoint_id,json=privateEndpointId,proto3" json:"private_endpoint_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePrivateEndpointMetadata) Descriptor deprecated

func (*DeletePrivateEndpointMetadata) Descriptor() ([]byte, []int)

Deprecated: Use DeletePrivateEndpointMetadata.ProtoReflect.Descriptor instead.

func (*DeletePrivateEndpointMetadata) GetPrivateEndpointId

func (x *DeletePrivateEndpointMetadata) GetPrivateEndpointId() string

func (*DeletePrivateEndpointMetadata) ProtoMessage

func (*DeletePrivateEndpointMetadata) ProtoMessage()

func (*DeletePrivateEndpointMetadata) ProtoReflect

func (*DeletePrivateEndpointMetadata) Reset

func (x *DeletePrivateEndpointMetadata) Reset()

func (*DeletePrivateEndpointMetadata) SetPrivateEndpointId

func (m *DeletePrivateEndpointMetadata) SetPrivateEndpointId(v string)

func (*DeletePrivateEndpointMetadata) String

type DeletePrivateEndpointRequest

type DeletePrivateEndpointRequest struct {

	// ID of the private endpoint to delete.
	//
	// To get a private endpoint ID make a [PrivateEndpointService.List] request.
	PrivateEndpointId string `protobuf:"bytes,1,opt,name=private_endpoint_id,json=privateEndpointId,proto3" json:"private_endpoint_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePrivateEndpointRequest) Descriptor deprecated

func (*DeletePrivateEndpointRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePrivateEndpointRequest.ProtoReflect.Descriptor instead.

func (*DeletePrivateEndpointRequest) GetPrivateEndpointId

func (x *DeletePrivateEndpointRequest) GetPrivateEndpointId() string

func (*DeletePrivateEndpointRequest) ProtoMessage

func (*DeletePrivateEndpointRequest) ProtoMessage()

func (*DeletePrivateEndpointRequest) ProtoReflect

func (*DeletePrivateEndpointRequest) Reset

func (x *DeletePrivateEndpointRequest) Reset()

func (*DeletePrivateEndpointRequest) SetPrivateEndpointId

func (m *DeletePrivateEndpointRequest) SetPrivateEndpointId(v string)

func (*DeletePrivateEndpointRequest) String

type GetPrivateEndpointRequest

type GetPrivateEndpointRequest struct {

	// ID of the PrivateEndpoint resource to return.
	//
	// To get PrivateEndpoint resource ID make a [PrivateEndpointService.List]
	// request.
	PrivateEndpointId string `protobuf:"bytes,1,opt,name=private_endpoint_id,json=privateEndpointId,proto3" json:"private_endpoint_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPrivateEndpointRequest) Descriptor deprecated

func (*GetPrivateEndpointRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetPrivateEndpointRequest.ProtoReflect.Descriptor instead.

func (*GetPrivateEndpointRequest) GetPrivateEndpointId

func (x *GetPrivateEndpointRequest) GetPrivateEndpointId() string

func (*GetPrivateEndpointRequest) ProtoMessage

func (*GetPrivateEndpointRequest) ProtoMessage()

func (*GetPrivateEndpointRequest) ProtoReflect

func (*GetPrivateEndpointRequest) Reset

func (x *GetPrivateEndpointRequest) Reset()

func (*GetPrivateEndpointRequest) SetPrivateEndpointId

func (m *GetPrivateEndpointRequest) SetPrivateEndpointId(v string)

func (*GetPrivateEndpointRequest) String

func (x *GetPrivateEndpointRequest) String() string

type InternalIpv4AddressSpec

type InternalIpv4AddressSpec struct {

	// ID of the subnet that address belongs to.
	SubnetId string `protobuf:"bytes,1,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// Value of address.
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*InternalIpv4AddressSpec) Descriptor deprecated

func (*InternalIpv4AddressSpec) Descriptor() ([]byte, []int)

Deprecated: Use InternalIpv4AddressSpec.ProtoReflect.Descriptor instead.

func (*InternalIpv4AddressSpec) GetAddress

func (x *InternalIpv4AddressSpec) GetAddress() string

func (*InternalIpv4AddressSpec) GetSubnetId

func (x *InternalIpv4AddressSpec) GetSubnetId() string

func (*InternalIpv4AddressSpec) ProtoMessage

func (*InternalIpv4AddressSpec) ProtoMessage()

func (*InternalIpv4AddressSpec) ProtoReflect

func (x *InternalIpv4AddressSpec) ProtoReflect() protoreflect.Message

func (*InternalIpv4AddressSpec) Reset

func (x *InternalIpv4AddressSpec) Reset()

func (*InternalIpv4AddressSpec) SetAddress

func (m *InternalIpv4AddressSpec) SetAddress(v string)

func (*InternalIpv4AddressSpec) SetSubnetId

func (m *InternalIpv4AddressSpec) SetSubnetId(v string)

func (*InternalIpv4AddressSpec) String

func (x *InternalIpv4AddressSpec) String() string

type ListPrivateEndpointOperationsRequest

type ListPrivateEndpointOperationsRequest struct {

	// ID of the private endpoint to list operations for.
	//
	// To get a private endpoint ID make a [PrivateEndpointService.List] request.
	PrivateEndpointId string `protobuf:"bytes,1,opt,name=private_endpoint_id,json=privateEndpointId,proto3" json:"private_endpoint_id,omitempty"`
	// The maximum number of results per page to return. If the number of
	// available results is larger than [page_size], the service returns a
	// [ListPrivateEndpointOperationsResponse.next_page_token] that can be used to
	// get the next page of results in subsequent list requests. Default value:
	// 100.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the
	// [ListPrivateEndpointOperationsResponse.next_page_token] returned by a
	// previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPrivateEndpointOperationsRequest) Descriptor deprecated

func (*ListPrivateEndpointOperationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPrivateEndpointOperationsRequest.ProtoReflect.Descriptor instead.

func (*ListPrivateEndpointOperationsRequest) GetPageSize

func (*ListPrivateEndpointOperationsRequest) GetPageToken

func (x *ListPrivateEndpointOperationsRequest) GetPageToken() string

func (*ListPrivateEndpointOperationsRequest) GetPrivateEndpointId

func (x *ListPrivateEndpointOperationsRequest) GetPrivateEndpointId() string

func (*ListPrivateEndpointOperationsRequest) ProtoMessage

func (*ListPrivateEndpointOperationsRequest) ProtoMessage()

func (*ListPrivateEndpointOperationsRequest) ProtoReflect

func (*ListPrivateEndpointOperationsRequest) Reset

func (*ListPrivateEndpointOperationsRequest) SetPageSize

func (m *ListPrivateEndpointOperationsRequest) SetPageSize(v int64)

func (*ListPrivateEndpointOperationsRequest) SetPageToken

func (m *ListPrivateEndpointOperationsRequest) SetPageToken(v string)

func (*ListPrivateEndpointOperationsRequest) SetPrivateEndpointId

func (m *ListPrivateEndpointOperationsRequest) SetPrivateEndpointId(v string)

func (*ListPrivateEndpointOperationsRequest) String

type ListPrivateEndpointOperationsResponse

type ListPrivateEndpointOperationsResponse struct {

	// List of operations for the specified private endpoint.
	Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// Token for getting the next page of the list. If the number of results is
	// greater than the specified
	// [ListPrivateEndpointOperationsRequest.page_size], use `next_page_token` as
	// the value for the [ListPrivateEndpointOperationsRequest.page_token]
	// parameter in the next list request.
	//
	// Each subsequent page will have its own `next_page_token` to continue paging
	// through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPrivateEndpointOperationsResponse) Descriptor deprecated

func (*ListPrivateEndpointOperationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPrivateEndpointOperationsResponse.ProtoReflect.Descriptor instead.

func (*ListPrivateEndpointOperationsResponse) GetNextPageToken

func (x *ListPrivateEndpointOperationsResponse) GetNextPageToken() string

func (*ListPrivateEndpointOperationsResponse) GetOperations

func (*ListPrivateEndpointOperationsResponse) ProtoMessage

func (*ListPrivateEndpointOperationsResponse) ProtoMessage()

func (*ListPrivateEndpointOperationsResponse) ProtoReflect

func (*ListPrivateEndpointOperationsResponse) Reset

func (*ListPrivateEndpointOperationsResponse) SetNextPageToken

func (m *ListPrivateEndpointOperationsResponse) SetNextPageToken(v string)

func (*ListPrivateEndpointOperationsResponse) SetOperations

func (*ListPrivateEndpointOperationsResponse) String

type ListPrivateEndpointsRequest

type ListPrivateEndpointsRequest struct {

	// Types that are assignable to Container:
	//
	//	*ListPrivateEndpointsRequest_FolderId
	Container isListPrivateEndpointsRequest_Container `protobuf_oneof:"container"`
	// The maximum number of results per page to return. If the number of
	// available results is larger than `page_size`, the service returns a
	// [ListPrivateEndpointsResponse.next_page_token] that can be used to get the
	// next page of results in subsequent list requests. Default value: 100.
	PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set `page_token` to the
	// [ListPrivateEndpointsResponse.next_page_token] returned by a previous list
	// request.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A filter expression that filters PrivateEndpoint listed in the response.
	//
	// The expression must specify:
	// 1. The field name. Currently you can use filtering only on
	// [PrivateEndpoint.name] field.
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`). Must be 3-63 characters long and match
	// the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`. Example of a filter:
	// `name=my-private-endpoint`.
	Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPrivateEndpointsRequest) Descriptor deprecated

func (*ListPrivateEndpointsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPrivateEndpointsRequest.ProtoReflect.Descriptor instead.

func (*ListPrivateEndpointsRequest) GetContainer

func (m *ListPrivateEndpointsRequest) GetContainer() isListPrivateEndpointsRequest_Container

func (*ListPrivateEndpointsRequest) GetFilter

func (x *ListPrivateEndpointsRequest) GetFilter() string

func (*ListPrivateEndpointsRequest) GetFolderId

func (x *ListPrivateEndpointsRequest) GetFolderId() string

func (*ListPrivateEndpointsRequest) GetPageSize

func (x *ListPrivateEndpointsRequest) GetPageSize() int64

func (*ListPrivateEndpointsRequest) GetPageToken

func (x *ListPrivateEndpointsRequest) GetPageToken() string

func (*ListPrivateEndpointsRequest) ProtoMessage

func (*ListPrivateEndpointsRequest) ProtoMessage()

func (*ListPrivateEndpointsRequest) ProtoReflect

func (*ListPrivateEndpointsRequest) Reset

func (x *ListPrivateEndpointsRequest) Reset()

func (*ListPrivateEndpointsRequest) SetContainer

func (*ListPrivateEndpointsRequest) SetFilter

func (m *ListPrivateEndpointsRequest) SetFilter(v string)

func (*ListPrivateEndpointsRequest) SetFolderId

func (m *ListPrivateEndpointsRequest) SetFolderId(v string)

func (*ListPrivateEndpointsRequest) SetPageSize

func (m *ListPrivateEndpointsRequest) SetPageSize(v int64)

func (*ListPrivateEndpointsRequest) SetPageToken

func (m *ListPrivateEndpointsRequest) SetPageToken(v string)

func (*ListPrivateEndpointsRequest) String

func (x *ListPrivateEndpointsRequest) String() string

type ListPrivateEndpointsRequest_Container

type ListPrivateEndpointsRequest_Container = isListPrivateEndpointsRequest_Container

type ListPrivateEndpointsRequest_FolderId

type ListPrivateEndpointsRequest_FolderId struct {
	// ID of the folder to list private endpoints in.
	//
	// To get the folder ID use a
	// [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3,oneof"`
}

type ListPrivateEndpointsResponse

type ListPrivateEndpointsResponse struct {

	// List of private endpoints.
	PrivateEndpoints []*PrivateEndpoint `protobuf:"bytes,1,rep,name=private_endpoints,json=privateEndpoints,proto3" json:"private_endpoints,omitempty"`
	// Token for getting the next page of the list. If the number of results is
	// greater than the specified [ListPrivateEndpointsRequest.page_size], use
	// `next_page_token` as the value for the
	// [ListPrivateEndpointsRequest.page_token] parameter in the next list
	// request.
	//
	// Each subsequent page will have its own `next_page_token` to continue paging
	// through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPrivateEndpointsResponse) Descriptor deprecated

func (*ListPrivateEndpointsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPrivateEndpointsResponse.ProtoReflect.Descriptor instead.

func (*ListPrivateEndpointsResponse) GetNextPageToken

func (x *ListPrivateEndpointsResponse) GetNextPageToken() string

func (*ListPrivateEndpointsResponse) GetPrivateEndpoints

func (x *ListPrivateEndpointsResponse) GetPrivateEndpoints() []*PrivateEndpoint

func (*ListPrivateEndpointsResponse) ProtoMessage

func (*ListPrivateEndpointsResponse) ProtoMessage()

func (*ListPrivateEndpointsResponse) ProtoReflect

func (*ListPrivateEndpointsResponse) Reset

func (x *ListPrivateEndpointsResponse) Reset()

func (*ListPrivateEndpointsResponse) SetNextPageToken

func (m *ListPrivateEndpointsResponse) SetNextPageToken(v string)

func (*ListPrivateEndpointsResponse) SetPrivateEndpoints

func (m *ListPrivateEndpointsResponse) SetPrivateEndpoints(v []*PrivateEndpoint)

func (*ListPrivateEndpointsResponse) String

type PrivateEndpoint

type PrivateEndpoint struct {

	// ID of the private endpoint. Generated at creation time.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the private endpoint belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Creation timestamp.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the private endpoint.
	// The name is unique within the folder.
	// Value must match the regular expression
	// “\|[a-zA-Z]([-_a-zA-Z0-9]{0,61}[a-zA-Z0-9])?“.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the private endpoint. 0-256 characters long.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Private endpoint labels as `key:value` pairs.
	// No more than 64 per resource.
	// The maximum string length in characters for each value is 63.
	// Each value must match the regular expression `[-_0-9a-z]*`.
	// The string length in characters for each key must be 1-63.
	// Each key must match the regular expression `[a-z][-_0-9a-z]*`.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// ID of the network that the private endpoint belongs to.
	NetworkId string `protobuf:"bytes,7,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// Status of the private endpoint.
	Status PrivateEndpoint_Status `` /* 126-byte string literal not displayed */
	// Private endpoint ip address details.
	Address *PrivateEndpoint_EndpointAddress `protobuf:"bytes,9,opt,name=address,proto3" json:"address,omitempty"`
	// Private endpoint dns options.
	DnsOptions *PrivateEndpoint_DnsOptions `protobuf:"bytes,10,opt,name=dns_options,json=dnsOptions,proto3" json:"dns_options,omitempty"`
	// Service to connect with via private endpoint.
	//
	// Types that are assignable to Service:
	//
	//	*PrivateEndpoint_ObjectStorage_
	Service isPrivateEndpoint_Service `protobuf_oneof:"service"`
	// contains filtered or unexported fields
}

func (*PrivateEndpoint) Descriptor deprecated

func (*PrivateEndpoint) Descriptor() ([]byte, []int)

Deprecated: Use PrivateEndpoint.ProtoReflect.Descriptor instead.

func (*PrivateEndpoint) GetAddress

func (*PrivateEndpoint) GetCreatedAt

func (x *PrivateEndpoint) GetCreatedAt() *timestamppb.Timestamp

func (*PrivateEndpoint) GetDescription

func (x *PrivateEndpoint) GetDescription() string

func (*PrivateEndpoint) GetDnsOptions

func (x *PrivateEndpoint) GetDnsOptions() *PrivateEndpoint_DnsOptions

func (*PrivateEndpoint) GetFolderId

func (x *PrivateEndpoint) GetFolderId() string

func (*PrivateEndpoint) GetId

func (x *PrivateEndpoint) GetId() string

func (*PrivateEndpoint) GetLabels

func (x *PrivateEndpoint) GetLabels() map[string]string

func (*PrivateEndpoint) GetName

func (x *PrivateEndpoint) GetName() string

func (*PrivateEndpoint) GetNetworkId

func (x *PrivateEndpoint) GetNetworkId() string

func (*PrivateEndpoint) GetObjectStorage

func (x *PrivateEndpoint) GetObjectStorage() *PrivateEndpoint_ObjectStorage

func (*PrivateEndpoint) GetService

func (m *PrivateEndpoint) GetService() isPrivateEndpoint_Service

func (*PrivateEndpoint) GetStatus

func (x *PrivateEndpoint) GetStatus() PrivateEndpoint_Status

func (*PrivateEndpoint) ProtoMessage

func (*PrivateEndpoint) ProtoMessage()

func (*PrivateEndpoint) ProtoReflect

func (x *PrivateEndpoint) ProtoReflect() protoreflect.Message

func (*PrivateEndpoint) Reset

func (x *PrivateEndpoint) Reset()

func (*PrivateEndpoint) SetAddress

func (*PrivateEndpoint) SetCreatedAt

func (m *PrivateEndpoint) SetCreatedAt(v *timestamppb.Timestamp)

func (*PrivateEndpoint) SetDescription

func (m *PrivateEndpoint) SetDescription(v string)

func (*PrivateEndpoint) SetDnsOptions

func (m *PrivateEndpoint) SetDnsOptions(v *PrivateEndpoint_DnsOptions)

func (*PrivateEndpoint) SetFolderId

func (m *PrivateEndpoint) SetFolderId(v string)

func (*PrivateEndpoint) SetId

func (m *PrivateEndpoint) SetId(v string)

func (*PrivateEndpoint) SetLabels

func (m *PrivateEndpoint) SetLabels(v map[string]string)

func (*PrivateEndpoint) SetName

func (m *PrivateEndpoint) SetName(v string)

func (*PrivateEndpoint) SetNetworkId

func (m *PrivateEndpoint) SetNetworkId(v string)

func (*PrivateEndpoint) SetObjectStorage

func (m *PrivateEndpoint) SetObjectStorage(v *PrivateEndpoint_ObjectStorage)

func (*PrivateEndpoint) SetService

func (m *PrivateEndpoint) SetService(v PrivateEndpoint_Service)

func (*PrivateEndpoint) SetStatus

func (m *PrivateEndpoint) SetStatus(v PrivateEndpoint_Status)

func (*PrivateEndpoint) String

func (x *PrivateEndpoint) String() string

type PrivateEndpointServiceClient

type PrivateEndpointServiceClient interface {
	// Returns the specified Private Endpoint resource.
	//
	// To get the list of all available PrivateEndpoint resources, make a [List]
	// request.
	Get(ctx context.Context, in *GetPrivateEndpointRequest, opts ...grpc.CallOption) (*PrivateEndpoint, error)
	// Retrieves the list of PrivateEndpoint resources in the specified folder.
	List(ctx context.Context, in *ListPrivateEndpointsRequest, opts ...grpc.CallOption) (*ListPrivateEndpointsResponse, error)
	// Creates an private endpoint in the specified folder and network.
	Create(ctx context.Context, in *CreatePrivateEndpointRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified private endpoint.
	Update(ctx context.Context, in *UpdatePrivateEndpointRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified private endpoint.
	Delete(ctx context.Context, in *DeletePrivateEndpointRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// List operations for the specified private endpoint.
	ListOperations(ctx context.Context, in *ListPrivateEndpointOperationsRequest, opts ...grpc.CallOption) (*ListPrivateEndpointOperationsResponse, error)
}

PrivateEndpointServiceClient is the client API for PrivateEndpointService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

A set of methods for managing PrivateEndpoint resources.

type PrivateEndpointServiceServer

type PrivateEndpointServiceServer interface {
	// Returns the specified Private Endpoint resource.
	//
	// To get the list of all available PrivateEndpoint resources, make a [List]
	// request.
	Get(context.Context, *GetPrivateEndpointRequest) (*PrivateEndpoint, error)
	// Retrieves the list of PrivateEndpoint resources in the specified folder.
	List(context.Context, *ListPrivateEndpointsRequest) (*ListPrivateEndpointsResponse, error)
	// Creates an private endpoint in the specified folder and network.
	Create(context.Context, *CreatePrivateEndpointRequest) (*operation.Operation, error)
	// Updates the specified private endpoint.
	Update(context.Context, *UpdatePrivateEndpointRequest) (*operation.Operation, error)
	// Deletes the specified private endpoint.
	Delete(context.Context, *DeletePrivateEndpointRequest) (*operation.Operation, error)
	// List operations for the specified private endpoint.
	ListOperations(context.Context, *ListPrivateEndpointOperationsRequest) (*ListPrivateEndpointOperationsResponse, error)
}

PrivateEndpointServiceServer is the server API for PrivateEndpointService service. All implementations should embed UnimplementedPrivateEndpointServiceServer for forward compatibility.

A set of methods for managing PrivateEndpoint resources.

type PrivateEndpoint_DnsOptions

type PrivateEndpoint_DnsOptions struct {

	// If enabled - vpc will create private dns records for specified service.
	PrivateDnsRecordsEnabled bool `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PrivateEndpoint_DnsOptions) Descriptor deprecated

func (*PrivateEndpoint_DnsOptions) Descriptor() ([]byte, []int)

Deprecated: Use PrivateEndpoint_DnsOptions.ProtoReflect.Descriptor instead.

func (*PrivateEndpoint_DnsOptions) GetPrivateDnsRecordsEnabled

func (x *PrivateEndpoint_DnsOptions) GetPrivateDnsRecordsEnabled() bool

func (*PrivateEndpoint_DnsOptions) ProtoMessage

func (*PrivateEndpoint_DnsOptions) ProtoMessage()

func (*PrivateEndpoint_DnsOptions) ProtoReflect

func (*PrivateEndpoint_DnsOptions) Reset

func (x *PrivateEndpoint_DnsOptions) Reset()

func (*PrivateEndpoint_DnsOptions) SetPrivateDnsRecordsEnabled

func (m *PrivateEndpoint_DnsOptions) SetPrivateDnsRecordsEnabled(v bool)

func (*PrivateEndpoint_DnsOptions) String

func (x *PrivateEndpoint_DnsOptions) String() string

type PrivateEndpoint_EndpointAddress

type PrivateEndpoint_EndpointAddress struct {

	// ID of the subnet that the private endpoint address belongs to.
	SubnetId string `protobuf:"bytes,1,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// IP address of the private endpoint.
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// ID of the private endpoint address.
	AddressId string `protobuf:"bytes,3,opt,name=address_id,json=addressId,proto3" json:"address_id,omitempty"`
	// contains filtered or unexported fields
}

Private endpoint ip address details.

func (*PrivateEndpoint_EndpointAddress) Descriptor deprecated

func (*PrivateEndpoint_EndpointAddress) Descriptor() ([]byte, []int)

Deprecated: Use PrivateEndpoint_EndpointAddress.ProtoReflect.Descriptor instead.

func (*PrivateEndpoint_EndpointAddress) GetAddress

func (x *PrivateEndpoint_EndpointAddress) GetAddress() string

func (*PrivateEndpoint_EndpointAddress) GetAddressId

func (x *PrivateEndpoint_EndpointAddress) GetAddressId() string

func (*PrivateEndpoint_EndpointAddress) GetSubnetId

func (x *PrivateEndpoint_EndpointAddress) GetSubnetId() string

func (*PrivateEndpoint_EndpointAddress) ProtoMessage

func (*PrivateEndpoint_EndpointAddress) ProtoMessage()

func (*PrivateEndpoint_EndpointAddress) ProtoReflect

func (*PrivateEndpoint_EndpointAddress) Reset

func (*PrivateEndpoint_EndpointAddress) SetAddress

func (m *PrivateEndpoint_EndpointAddress) SetAddress(v string)

func (*PrivateEndpoint_EndpointAddress) SetAddressId

func (m *PrivateEndpoint_EndpointAddress) SetAddressId(v string)

func (*PrivateEndpoint_EndpointAddress) SetSubnetId

func (m *PrivateEndpoint_EndpointAddress) SetSubnetId(v string)

func (*PrivateEndpoint_EndpointAddress) String

type PrivateEndpoint_ObjectStorage

type PrivateEndpoint_ObjectStorage struct {
	// contains filtered or unexported fields
}

Yandex Cloud Object Storage.

func (*PrivateEndpoint_ObjectStorage) Descriptor deprecated

func (*PrivateEndpoint_ObjectStorage) Descriptor() ([]byte, []int)

Deprecated: Use PrivateEndpoint_ObjectStorage.ProtoReflect.Descriptor instead.

func (*PrivateEndpoint_ObjectStorage) ProtoMessage

func (*PrivateEndpoint_ObjectStorage) ProtoMessage()

func (*PrivateEndpoint_ObjectStorage) ProtoReflect

func (*PrivateEndpoint_ObjectStorage) Reset

func (x *PrivateEndpoint_ObjectStorage) Reset()

func (*PrivateEndpoint_ObjectStorage) String

type PrivateEndpoint_ObjectStorage_

type PrivateEndpoint_ObjectStorage_ struct {
	// Yandex Cloud Object Storage.
	ObjectStorage *PrivateEndpoint_ObjectStorage `protobuf:"bytes,11,opt,name=object_storage,json=objectStorage,proto3,oneof"`
}

type PrivateEndpoint_Service

type PrivateEndpoint_Service = isPrivateEndpoint_Service

type PrivateEndpoint_Status

type PrivateEndpoint_Status int32

Status of the private endpoint.

const (
	PrivateEndpoint_STATUS_UNSPECIFIED PrivateEndpoint_Status = 0
	// Private endpoint is still creating / updating.
	PrivateEndpoint_PENDING PrivateEndpoint_Status = 1
	// Private endpoint is available.
	PrivateEndpoint_AVAILABLE PrivateEndpoint_Status = 2
	// Private endpoint is deleting.
	PrivateEndpoint_DELETING PrivateEndpoint_Status = 3
)

func (PrivateEndpoint_Status) Descriptor

func (PrivateEndpoint_Status) Enum

func (PrivateEndpoint_Status) EnumDescriptor deprecated

func (PrivateEndpoint_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use PrivateEndpoint_Status.Descriptor instead.

func (PrivateEndpoint_Status) Number

func (PrivateEndpoint_Status) String

func (x PrivateEndpoint_Status) String() string

func (PrivateEndpoint_Status) Type

type UnimplementedPrivateEndpointServiceServer

type UnimplementedPrivateEndpointServiceServer struct{}

UnimplementedPrivateEndpointServiceServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPrivateEndpointServiceServer) Create

func (UnimplementedPrivateEndpointServiceServer) Delete

func (UnimplementedPrivateEndpointServiceServer) Get

func (UnimplementedPrivateEndpointServiceServer) Update

type UnsafePrivateEndpointServiceServer

type UnsafePrivateEndpointServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePrivateEndpointServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PrivateEndpointServiceServer will result in compilation errors.

type UpdatePrivateEndpointMetadata

type UpdatePrivateEndpointMetadata struct {

	// ID of the private endpoint that is being updated.
	PrivateEndpointId string `protobuf:"bytes,1,opt,name=private_endpoint_id,json=privateEndpointId,proto3" json:"private_endpoint_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePrivateEndpointMetadata) Descriptor deprecated

func (*UpdatePrivateEndpointMetadata) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePrivateEndpointMetadata.ProtoReflect.Descriptor instead.

func (*UpdatePrivateEndpointMetadata) GetPrivateEndpointId

func (x *UpdatePrivateEndpointMetadata) GetPrivateEndpointId() string

func (*UpdatePrivateEndpointMetadata) ProtoMessage

func (*UpdatePrivateEndpointMetadata) ProtoMessage()

func (*UpdatePrivateEndpointMetadata) ProtoReflect

func (*UpdatePrivateEndpointMetadata) Reset

func (x *UpdatePrivateEndpointMetadata) Reset()

func (*UpdatePrivateEndpointMetadata) SetPrivateEndpointId

func (m *UpdatePrivateEndpointMetadata) SetPrivateEndpointId(v string)

func (*UpdatePrivateEndpointMetadata) String

type UpdatePrivateEndpointRequest

type UpdatePrivateEndpointRequest struct {

	// ID of the private endpoint to update.
	//
	// To get the private endpoint ID make a [PrivateEndpointService.List]
	// request.
	PrivateEndpointId string `protobuf:"bytes,1,opt,name=private_endpoint_id,json=privateEndpointId,proto3" json:"private_endpoint_id,omitempty"`
	// Field mask that specifies which attributes of the PrivateEndpoint should be
	// updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// New name for the private endpoint.
	// The name must be unique within the folder.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// New description of the private endpoint.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Private endpoint labels as `key:value` pairs.
	//
	// Existing set of labels is completely replaced by the provided set, so if
	// you just want to add or remove a label:
	// 1. Get the current set of labels with a [PrivateEndpointService.Get]
	// request.
	// 2. Add or remove a label in this set.
	// 3. Send the new set in this field.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Private endpoint address specification.
	AddressSpec *AddressSpec `protobuf:"bytes,6,opt,name=address_spec,json=addressSpec,proto3" json:"address_spec,omitempty"`
	// Private endpoint dns options.
	DnsOptions *PrivateEndpoint_DnsOptions `protobuf:"bytes,8,opt,name=dns_options,json=dnsOptions,proto3" json:"dns_options,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePrivateEndpointRequest) Descriptor deprecated

func (*UpdatePrivateEndpointRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePrivateEndpointRequest.ProtoReflect.Descriptor instead.

func (*UpdatePrivateEndpointRequest) GetAddressSpec

func (x *UpdatePrivateEndpointRequest) GetAddressSpec() *AddressSpec

func (*UpdatePrivateEndpointRequest) GetDescription

func (x *UpdatePrivateEndpointRequest) GetDescription() string

func (*UpdatePrivateEndpointRequest) GetDnsOptions

func (*UpdatePrivateEndpointRequest) GetLabels

func (x *UpdatePrivateEndpointRequest) GetLabels() map[string]string

func (*UpdatePrivateEndpointRequest) GetName

func (x *UpdatePrivateEndpointRequest) GetName() string

func (*UpdatePrivateEndpointRequest) GetPrivateEndpointId

func (x *UpdatePrivateEndpointRequest) GetPrivateEndpointId() string

func (*UpdatePrivateEndpointRequest) GetUpdateMask

func (*UpdatePrivateEndpointRequest) ProtoMessage

func (*UpdatePrivateEndpointRequest) ProtoMessage()

func (*UpdatePrivateEndpointRequest) ProtoReflect

func (*UpdatePrivateEndpointRequest) Reset

func (x *UpdatePrivateEndpointRequest) Reset()

func (*UpdatePrivateEndpointRequest) SetAddressSpec

func (m *UpdatePrivateEndpointRequest) SetAddressSpec(v *AddressSpec)

func (*UpdatePrivateEndpointRequest) SetDescription

func (m *UpdatePrivateEndpointRequest) SetDescription(v string)

func (*UpdatePrivateEndpointRequest) SetDnsOptions

func (*UpdatePrivateEndpointRequest) SetLabels

func (m *UpdatePrivateEndpointRequest) SetLabels(v map[string]string)

func (*UpdatePrivateEndpointRequest) SetName

func (m *UpdatePrivateEndpointRequest) SetName(v string)

func (*UpdatePrivateEndpointRequest) SetPrivateEndpointId

func (m *UpdatePrivateEndpointRequest) SetPrivateEndpointId(v string)

func (*UpdatePrivateEndpointRequest) SetUpdateMask

func (m *UpdatePrivateEndpointRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)

func (*UpdatePrivateEndpointRequest) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL