loadbalancer

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: 15 Imported by: 9

Documentation

Index

Constants

View Source
const (
	NetworkLoadBalancerService_Get_FullMethodName               = "/yandex.cloud.loadbalancer.v1.NetworkLoadBalancerService/Get"
	NetworkLoadBalancerService_List_FullMethodName              = "/yandex.cloud.loadbalancer.v1.NetworkLoadBalancerService/List"
	NetworkLoadBalancerService_Create_FullMethodName            = "/yandex.cloud.loadbalancer.v1.NetworkLoadBalancerService/Create"
	NetworkLoadBalancerService_Update_FullMethodName            = "/yandex.cloud.loadbalancer.v1.NetworkLoadBalancerService/Update"
	NetworkLoadBalancerService_Delete_FullMethodName            = "/yandex.cloud.loadbalancer.v1.NetworkLoadBalancerService/Delete"
	NetworkLoadBalancerService_Start_FullMethodName             = "/yandex.cloud.loadbalancer.v1.NetworkLoadBalancerService/Start"
	NetworkLoadBalancerService_Stop_FullMethodName              = "/yandex.cloud.loadbalancer.v1.NetworkLoadBalancerService/Stop"
	NetworkLoadBalancerService_AttachTargetGroup_FullMethodName = "/yandex.cloud.loadbalancer.v1.NetworkLoadBalancerService/AttachTargetGroup"
	NetworkLoadBalancerService_DetachTargetGroup_FullMethodName = "/yandex.cloud.loadbalancer.v1.NetworkLoadBalancerService/DetachTargetGroup"
	NetworkLoadBalancerService_GetTargetStates_FullMethodName   = "/yandex.cloud.loadbalancer.v1.NetworkLoadBalancerService/GetTargetStates"
	NetworkLoadBalancerService_AddListener_FullMethodName       = "/yandex.cloud.loadbalancer.v1.NetworkLoadBalancerService/AddListener"
	NetworkLoadBalancerService_RemoveListener_FullMethodName    = "/yandex.cloud.loadbalancer.v1.NetworkLoadBalancerService/RemoveListener"
	NetworkLoadBalancerService_ListOperations_FullMethodName    = "/yandex.cloud.loadbalancer.v1.NetworkLoadBalancerService/ListOperations"
)
View Source
const (
	TargetGroupService_Get_FullMethodName            = "/yandex.cloud.loadbalancer.v1.TargetGroupService/Get"
	TargetGroupService_List_FullMethodName           = "/yandex.cloud.loadbalancer.v1.TargetGroupService/List"
	TargetGroupService_Create_FullMethodName         = "/yandex.cloud.loadbalancer.v1.TargetGroupService/Create"
	TargetGroupService_Update_FullMethodName         = "/yandex.cloud.loadbalancer.v1.TargetGroupService/Update"
	TargetGroupService_Delete_FullMethodName         = "/yandex.cloud.loadbalancer.v1.TargetGroupService/Delete"
	TargetGroupService_AddTargets_FullMethodName     = "/yandex.cloud.loadbalancer.v1.TargetGroupService/AddTargets"
	TargetGroupService_RemoveTargets_FullMethodName  = "/yandex.cloud.loadbalancer.v1.TargetGroupService/RemoveTargets"
	TargetGroupService_ListOperations_FullMethodName = "/yandex.cloud.loadbalancer.v1.TargetGroupService/ListOperations"
)

Variables

View Source
var (
	IpVersion_name = map[int32]string{
		0: "IP_VERSION_UNSPECIFIED",
		1: "IPV4",
		2: "IPV6",
	}
	IpVersion_value = map[string]int32{
		"IP_VERSION_UNSPECIFIED": 0,
		"IPV4":                   1,
		"IPV6":                   2,
	}
)

Enum value maps for IpVersion.

View Source
var (
	NetworkLoadBalancer_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "CREATING",
		2: "STARTING",
		3: "ACTIVE",
		4: "STOPPING",
		5: "STOPPED",
		6: "DELETING",
		7: "INACTIVE",
	}
	NetworkLoadBalancer_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"CREATING":           1,
		"STARTING":           2,
		"ACTIVE":             3,
		"STOPPING":           4,
		"STOPPED":            5,
		"DELETING":           6,
		"INACTIVE":           7,
	}
)

Enum value maps for NetworkLoadBalancer_Status.

View Source
var (
	NetworkLoadBalancer_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "EXTERNAL",
		2: "INTERNAL",
	}
	NetworkLoadBalancer_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"EXTERNAL":         1,
		"INTERNAL":         2,
	}
)

Enum value maps for NetworkLoadBalancer_Type.

View Source
var (
	NetworkLoadBalancer_SessionAffinity_name = map[int32]string{
		0: "SESSION_AFFINITY_UNSPECIFIED",
		1: "CLIENT_IP_PORT_PROTO",
	}
	NetworkLoadBalancer_SessionAffinity_value = map[string]int32{
		"SESSION_AFFINITY_UNSPECIFIED": 0,
		"CLIENT_IP_PORT_PROTO":         1,
	}
)

Enum value maps for NetworkLoadBalancer_SessionAffinity.

View Source
var (
	Listener_Protocol_name = map[int32]string{
		0: "PROTOCOL_UNSPECIFIED",
		1: "TCP",
		2: "UDP",
	}
	Listener_Protocol_value = map[string]int32{
		"PROTOCOL_UNSPECIFIED": 0,
		"TCP":                  1,
		"UDP":                  2,
	}
)

Enum value maps for Listener_Protocol.

View Source
var (
	TargetState_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "INITIAL",
		2: "HEALTHY",
		3: "UNHEALTHY",
		4: "DRAINING",
		5: "INACTIVE",
	}
	TargetState_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"INITIAL":            1,
		"HEALTHY":            2,
		"UNHEALTHY":          3,
		"DRAINING":           4,
		"INACTIVE":           5,
	}
)

Enum value maps for TargetState_Status.

View Source
var File_yandex_cloud_loadbalancer_v1_health_check_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_loadbalancer_v1_network_load_balancer_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_loadbalancer_v1_network_load_balancer_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_loadbalancer_v1_target_group_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_loadbalancer_v1_target_group_service_proto protoreflect.FileDescriptor
View Source
var NetworkLoadBalancerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.loadbalancer.v1.NetworkLoadBalancerService",
	HandlerType: (*NetworkLoadBalancerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _NetworkLoadBalancerService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _NetworkLoadBalancerService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _NetworkLoadBalancerService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _NetworkLoadBalancerService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _NetworkLoadBalancerService_Delete_Handler,
		},
		{
			MethodName: "Start",
			Handler:    _NetworkLoadBalancerService_Start_Handler,
		},
		{
			MethodName: "Stop",
			Handler:    _NetworkLoadBalancerService_Stop_Handler,
		},
		{
			MethodName: "AttachTargetGroup",
			Handler:    _NetworkLoadBalancerService_AttachTargetGroup_Handler,
		},
		{
			MethodName: "DetachTargetGroup",
			Handler:    _NetworkLoadBalancerService_DetachTargetGroup_Handler,
		},
		{
			MethodName: "GetTargetStates",
			Handler:    _NetworkLoadBalancerService_GetTargetStates_Handler,
		},
		{
			MethodName: "AddListener",
			Handler:    _NetworkLoadBalancerService_AddListener_Handler,
		},
		{
			MethodName: "RemoveListener",
			Handler:    _NetworkLoadBalancerService_RemoveListener_Handler,
		},
		{
			MethodName: "ListOperations",
			Handler:    _NetworkLoadBalancerService_ListOperations_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/loadbalancer/v1/network_load_balancer_service.proto",
}

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

View Source
var TargetGroupService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.loadbalancer.v1.TargetGroupService",
	HandlerType: (*TargetGroupServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _TargetGroupService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _TargetGroupService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _TargetGroupService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _TargetGroupService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _TargetGroupService_Delete_Handler,
		},
		{
			MethodName: "AddTargets",
			Handler:    _TargetGroupService_AddTargets_Handler,
		},
		{
			MethodName: "RemoveTargets",
			Handler:    _TargetGroupService_RemoveTargets_Handler,
		},
		{
			MethodName: "ListOperations",
			Handler:    _TargetGroupService_ListOperations_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/loadbalancer/v1/target_group_service.proto",
}

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

Functions

func RegisterNetworkLoadBalancerServiceServer

func RegisterNetworkLoadBalancerServiceServer(s grpc.ServiceRegistrar, srv NetworkLoadBalancerServiceServer)

func RegisterTargetGroupServiceServer

func RegisterTargetGroupServiceServer(s grpc.ServiceRegistrar, srv TargetGroupServiceServer)

Types

type AddNetworkLoadBalancerListenerMetadata

type AddNetworkLoadBalancerListenerMetadata struct {

	// ID of the network load balancer that the listener is being added to.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AddNetworkLoadBalancerListenerMetadata) Descriptor deprecated

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

Deprecated: Use AddNetworkLoadBalancerListenerMetadata.ProtoReflect.Descriptor instead.

func (*AddNetworkLoadBalancerListenerMetadata) GetNetworkLoadBalancerId

func (x *AddNetworkLoadBalancerListenerMetadata) GetNetworkLoadBalancerId() string

func (*AddNetworkLoadBalancerListenerMetadata) ProtoMessage

func (*AddNetworkLoadBalancerListenerMetadata) ProtoReflect

func (*AddNetworkLoadBalancerListenerMetadata) Reset

func (*AddNetworkLoadBalancerListenerMetadata) SetNetworkLoadBalancerId

func (m *AddNetworkLoadBalancerListenerMetadata) SetNetworkLoadBalancerId(v string)

func (*AddNetworkLoadBalancerListenerMetadata) String

type AddNetworkLoadBalancerListenerRequest

type AddNetworkLoadBalancerListenerRequest struct {

	// ID of the network load balancer to add a listener to.
	// To get the network load balancer ID, use a [NetworkLoadBalancerService.List] request.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// Listener spec.
	ListenerSpec *ListenerSpec `protobuf:"bytes,2,opt,name=listener_spec,json=listenerSpec,proto3" json:"listener_spec,omitempty"`
	// contains filtered or unexported fields
}

func (*AddNetworkLoadBalancerListenerRequest) Descriptor deprecated

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

Deprecated: Use AddNetworkLoadBalancerListenerRequest.ProtoReflect.Descriptor instead.

func (*AddNetworkLoadBalancerListenerRequest) GetListenerSpec

func (*AddNetworkLoadBalancerListenerRequest) GetNetworkLoadBalancerId

func (x *AddNetworkLoadBalancerListenerRequest) GetNetworkLoadBalancerId() string

func (*AddNetworkLoadBalancerListenerRequest) ProtoMessage

func (*AddNetworkLoadBalancerListenerRequest) ProtoMessage()

func (*AddNetworkLoadBalancerListenerRequest) ProtoReflect

func (*AddNetworkLoadBalancerListenerRequest) Reset

func (*AddNetworkLoadBalancerListenerRequest) SetListenerSpec

func (m *AddNetworkLoadBalancerListenerRequest) SetListenerSpec(v *ListenerSpec)

func (*AddNetworkLoadBalancerListenerRequest) SetNetworkLoadBalancerId

func (m *AddNetworkLoadBalancerListenerRequest) SetNetworkLoadBalancerId(v string)

func (*AddNetworkLoadBalancerListenerRequest) String

type AddTargetsMetadata

type AddTargetsMetadata struct {

	// ID of the target group that targets are being added to.
	TargetGroupId string `protobuf:"bytes,1,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTargetsMetadata) Descriptor deprecated

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

Deprecated: Use AddTargetsMetadata.ProtoReflect.Descriptor instead.

func (*AddTargetsMetadata) GetTargetGroupId

func (x *AddTargetsMetadata) GetTargetGroupId() string

func (*AddTargetsMetadata) ProtoMessage

func (*AddTargetsMetadata) ProtoMessage()

func (*AddTargetsMetadata) ProtoReflect

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

func (*AddTargetsMetadata) Reset

func (x *AddTargetsMetadata) Reset()

func (*AddTargetsMetadata) SetTargetGroupId

func (m *AddTargetsMetadata) SetTargetGroupId(v string)

func (*AddTargetsMetadata) String

func (x *AddTargetsMetadata) String() string

type AddTargetsRequest

type AddTargetsRequest struct {

	// ID of the TargetGroup resource to add targets to.
	// To get the target group ID, use a [TargetGroupService.List] request.
	TargetGroupId string `protobuf:"bytes,1,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"`
	// List of targets to add to the target group.
	Targets []*Target `protobuf:"bytes,2,rep,name=targets,proto3" json:"targets,omitempty"`
	// contains filtered or unexported fields
}

func (*AddTargetsRequest) Descriptor deprecated

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

Deprecated: Use AddTargetsRequest.ProtoReflect.Descriptor instead.

func (*AddTargetsRequest) GetTargetGroupId

func (x *AddTargetsRequest) GetTargetGroupId() string

func (*AddTargetsRequest) GetTargets

func (x *AddTargetsRequest) GetTargets() []*Target

func (*AddTargetsRequest) ProtoMessage

func (*AddTargetsRequest) ProtoMessage()

func (*AddTargetsRequest) ProtoReflect

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

func (*AddTargetsRequest) Reset

func (x *AddTargetsRequest) Reset()

func (*AddTargetsRequest) SetTargetGroupId

func (m *AddTargetsRequest) SetTargetGroupId(v string)

func (*AddTargetsRequest) SetTargets

func (m *AddTargetsRequest) SetTargets(v []*Target)

func (*AddTargetsRequest) String

func (x *AddTargetsRequest) String() string

type AttachNetworkLoadBalancerTargetGroupMetadata

type AttachNetworkLoadBalancerTargetGroupMetadata struct {

	// ID of the network load balancer that the target group is being attached to.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// ID of the target group.
	TargetGroupId string `protobuf:"bytes,2,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachNetworkLoadBalancerTargetGroupMetadata) Descriptor deprecated

Deprecated: Use AttachNetworkLoadBalancerTargetGroupMetadata.ProtoReflect.Descriptor instead.

func (*AttachNetworkLoadBalancerTargetGroupMetadata) GetNetworkLoadBalancerId

func (x *AttachNetworkLoadBalancerTargetGroupMetadata) GetNetworkLoadBalancerId() string

func (*AttachNetworkLoadBalancerTargetGroupMetadata) GetTargetGroupId

func (*AttachNetworkLoadBalancerTargetGroupMetadata) ProtoMessage

func (*AttachNetworkLoadBalancerTargetGroupMetadata) ProtoReflect

func (*AttachNetworkLoadBalancerTargetGroupMetadata) Reset

func (*AttachNetworkLoadBalancerTargetGroupMetadata) SetNetworkLoadBalancerId

func (m *AttachNetworkLoadBalancerTargetGroupMetadata) SetNetworkLoadBalancerId(v string)

func (*AttachNetworkLoadBalancerTargetGroupMetadata) SetTargetGroupId

func (*AttachNetworkLoadBalancerTargetGroupMetadata) String

type AttachNetworkLoadBalancerTargetGroupRequest

type AttachNetworkLoadBalancerTargetGroupRequest struct {

	// ID of the network load balancer to attach the target group to.
	// To get the network load balancer ID, use a [NetworkLoadBalancerService.List] request.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// ID of the attached target group to attach to the network load balancer.
	// To get the network load balancer ID, use a [NetworkLoadBalancerService.List] request.
	AttachedTargetGroup *AttachedTargetGroup `protobuf:"bytes,2,opt,name=attached_target_group,json=attachedTargetGroup,proto3" json:"attached_target_group,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachNetworkLoadBalancerTargetGroupRequest) Descriptor deprecated

Deprecated: Use AttachNetworkLoadBalancerTargetGroupRequest.ProtoReflect.Descriptor instead.

func (*AttachNetworkLoadBalancerTargetGroupRequest) GetAttachedTargetGroup

func (*AttachNetworkLoadBalancerTargetGroupRequest) GetNetworkLoadBalancerId

func (x *AttachNetworkLoadBalancerTargetGroupRequest) GetNetworkLoadBalancerId() string

func (*AttachNetworkLoadBalancerTargetGroupRequest) ProtoMessage

func (*AttachNetworkLoadBalancerTargetGroupRequest) ProtoReflect

func (*AttachNetworkLoadBalancerTargetGroupRequest) Reset

func (*AttachNetworkLoadBalancerTargetGroupRequest) SetAttachedTargetGroup

func (*AttachNetworkLoadBalancerTargetGroupRequest) SetNetworkLoadBalancerId

func (m *AttachNetworkLoadBalancerTargetGroupRequest) SetNetworkLoadBalancerId(v string)

func (*AttachNetworkLoadBalancerTargetGroupRequest) String

type AttachedTargetGroup

type AttachedTargetGroup struct {

	// ID of the target group.
	TargetGroupId string `protobuf:"bytes,1,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"`
	// A health check to perform on the target group.
	// For now we accept only one health check per AttachedTargetGroup.
	HealthChecks []*HealthCheck `protobuf:"bytes,2,rep,name=health_checks,json=healthChecks,proto3" json:"health_checks,omitempty"`
	// contains filtered or unexported fields
}

An AttachedTargetGroup resource. For more information, see [Targets and groups](/docs/network-load-balancer/concepts/target-resources).

func (*AttachedTargetGroup) Descriptor deprecated

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

Deprecated: Use AttachedTargetGroup.ProtoReflect.Descriptor instead.

func (*AttachedTargetGroup) GetHealthChecks

func (x *AttachedTargetGroup) GetHealthChecks() []*HealthCheck

func (*AttachedTargetGroup) GetTargetGroupId

func (x *AttachedTargetGroup) GetTargetGroupId() string

func (*AttachedTargetGroup) ProtoMessage

func (*AttachedTargetGroup) ProtoMessage()

func (*AttachedTargetGroup) ProtoReflect

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

func (*AttachedTargetGroup) Reset

func (x *AttachedTargetGroup) Reset()

func (*AttachedTargetGroup) SetHealthChecks

func (m *AttachedTargetGroup) SetHealthChecks(v []*HealthCheck)

func (*AttachedTargetGroup) SetTargetGroupId

func (m *AttachedTargetGroup) SetTargetGroupId(v string)

func (*AttachedTargetGroup) String

func (x *AttachedTargetGroup) String() string

type CreateNetworkLoadBalancerMetadata

type CreateNetworkLoadBalancerMetadata struct {

	// ID of the network load balancer that is being created.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateNetworkLoadBalancerMetadata) Descriptor deprecated

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

Deprecated: Use CreateNetworkLoadBalancerMetadata.ProtoReflect.Descriptor instead.

func (*CreateNetworkLoadBalancerMetadata) GetNetworkLoadBalancerId

func (x *CreateNetworkLoadBalancerMetadata) GetNetworkLoadBalancerId() string

func (*CreateNetworkLoadBalancerMetadata) ProtoMessage

func (*CreateNetworkLoadBalancerMetadata) ProtoMessage()

func (*CreateNetworkLoadBalancerMetadata) ProtoReflect

func (*CreateNetworkLoadBalancerMetadata) Reset

func (*CreateNetworkLoadBalancerMetadata) SetNetworkLoadBalancerId

func (m *CreateNetworkLoadBalancerMetadata) SetNetworkLoadBalancerId(v string)

func (*CreateNetworkLoadBalancerMetadata) String

type CreateNetworkLoadBalancerRequest

type CreateNetworkLoadBalancerRequest struct {

	// ID of the folder to create a network load balancer in.
	// To get the folder ID, use a [NetworkLoadBalancerService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the network load balancer.
	// The name must be unique within the folder.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the network load balancer.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Resource labels as “ key:value “ pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// ID of the region where the network load balancer resides.
	RegionId string `protobuf:"bytes,5,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	// Type of the network load balancer.
	Type NetworkLoadBalancer_Type `protobuf:"varint,6,opt,name=type,proto3,enum=yandex.cloud.loadbalancer.v1.NetworkLoadBalancer_Type" json:"type,omitempty"`
	// List of listeners and their specs for the network load balancer.
	ListenerSpecs []*ListenerSpec `protobuf:"bytes,7,rep,name=listener_specs,json=listenerSpecs,proto3" json:"listener_specs,omitempty"`
	// List of attached target groups for the network load balancer.
	AttachedTargetGroups []*AttachedTargetGroup `protobuf:"bytes,8,rep,name=attached_target_groups,json=attachedTargetGroups,proto3" json:"attached_target_groups,omitempty"`
	// Specifies if network load balancer protected from deletion.
	DeletionProtection bool `protobuf:"varint,9,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateNetworkLoadBalancerRequest) Descriptor deprecated

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

Deprecated: Use CreateNetworkLoadBalancerRequest.ProtoReflect.Descriptor instead.

func (*CreateNetworkLoadBalancerRequest) GetAttachedTargetGroups

func (x *CreateNetworkLoadBalancerRequest) GetAttachedTargetGroups() []*AttachedTargetGroup

func (*CreateNetworkLoadBalancerRequest) GetDeletionProtection

func (x *CreateNetworkLoadBalancerRequest) GetDeletionProtection() bool

func (*CreateNetworkLoadBalancerRequest) GetDescription

func (x *CreateNetworkLoadBalancerRequest) GetDescription() string

func (*CreateNetworkLoadBalancerRequest) GetFolderId

func (x *CreateNetworkLoadBalancerRequest) GetFolderId() string

func (*CreateNetworkLoadBalancerRequest) GetLabels

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

func (*CreateNetworkLoadBalancerRequest) GetListenerSpecs

func (x *CreateNetworkLoadBalancerRequest) GetListenerSpecs() []*ListenerSpec

func (*CreateNetworkLoadBalancerRequest) GetName

func (*CreateNetworkLoadBalancerRequest) GetRegionId

func (x *CreateNetworkLoadBalancerRequest) GetRegionId() string

func (*CreateNetworkLoadBalancerRequest) GetType

func (*CreateNetworkLoadBalancerRequest) ProtoMessage

func (*CreateNetworkLoadBalancerRequest) ProtoMessage()

func (*CreateNetworkLoadBalancerRequest) ProtoReflect

func (*CreateNetworkLoadBalancerRequest) Reset

func (*CreateNetworkLoadBalancerRequest) SetAttachedTargetGroups

func (m *CreateNetworkLoadBalancerRequest) SetAttachedTargetGroups(v []*AttachedTargetGroup)

func (*CreateNetworkLoadBalancerRequest) SetDeletionProtection

func (m *CreateNetworkLoadBalancerRequest) SetDeletionProtection(v bool)

func (*CreateNetworkLoadBalancerRequest) SetDescription

func (m *CreateNetworkLoadBalancerRequest) SetDescription(v string)

func (*CreateNetworkLoadBalancerRequest) SetFolderId

func (m *CreateNetworkLoadBalancerRequest) SetFolderId(v string)

func (*CreateNetworkLoadBalancerRequest) SetLabels

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

func (*CreateNetworkLoadBalancerRequest) SetListenerSpecs

func (m *CreateNetworkLoadBalancerRequest) SetListenerSpecs(v []*ListenerSpec)

func (*CreateNetworkLoadBalancerRequest) SetName

func (*CreateNetworkLoadBalancerRequest) SetRegionId

func (m *CreateNetworkLoadBalancerRequest) SetRegionId(v string)

func (*CreateNetworkLoadBalancerRequest) SetType

func (*CreateNetworkLoadBalancerRequest) String

type CreateTargetGroupMetadata

type CreateTargetGroupMetadata struct {

	// ID of the target group that is being created.
	TargetGroupId string `protobuf:"bytes,1,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTargetGroupMetadata) Descriptor deprecated

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

Deprecated: Use CreateTargetGroupMetadata.ProtoReflect.Descriptor instead.

func (*CreateTargetGroupMetadata) GetTargetGroupId

func (x *CreateTargetGroupMetadata) GetTargetGroupId() string

func (*CreateTargetGroupMetadata) ProtoMessage

func (*CreateTargetGroupMetadata) ProtoMessage()

func (*CreateTargetGroupMetadata) ProtoReflect

func (*CreateTargetGroupMetadata) Reset

func (x *CreateTargetGroupMetadata) Reset()

func (*CreateTargetGroupMetadata) SetTargetGroupId

func (m *CreateTargetGroupMetadata) SetTargetGroupId(v string)

func (*CreateTargetGroupMetadata) String

func (x *CreateTargetGroupMetadata) String() string

type CreateTargetGroupRequest

type CreateTargetGroupRequest struct {

	// ID of the folder to list target groups in.
	// To get the folder ID, use a [TargetGroupService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the target group.
	// The name must be unique within the folder.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the target group.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Resource labels as “ key:value “ pairs.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// ID of the availability zone where the target group resides.
	RegionId string `protobuf:"bytes,5,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	// List of targets within the target group.
	Targets []*Target `protobuf:"bytes,7,rep,name=targets,proto3" json:"targets,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTargetGroupRequest) Descriptor deprecated

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

Deprecated: Use CreateTargetGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateTargetGroupRequest) GetDescription

func (x *CreateTargetGroupRequest) GetDescription() string

func (*CreateTargetGroupRequest) GetFolderId

func (x *CreateTargetGroupRequest) GetFolderId() string

func (*CreateTargetGroupRequest) GetLabels

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

func (*CreateTargetGroupRequest) GetName

func (x *CreateTargetGroupRequest) GetName() string

func (*CreateTargetGroupRequest) GetRegionId

func (x *CreateTargetGroupRequest) GetRegionId() string

func (*CreateTargetGroupRequest) GetTargets

func (x *CreateTargetGroupRequest) GetTargets() []*Target

func (*CreateTargetGroupRequest) ProtoMessage

func (*CreateTargetGroupRequest) ProtoMessage()

func (*CreateTargetGroupRequest) ProtoReflect

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

func (*CreateTargetGroupRequest) Reset

func (x *CreateTargetGroupRequest) Reset()

func (*CreateTargetGroupRequest) SetDescription

func (m *CreateTargetGroupRequest) SetDescription(v string)

func (*CreateTargetGroupRequest) SetFolderId

func (m *CreateTargetGroupRequest) SetFolderId(v string)

func (*CreateTargetGroupRequest) SetLabels

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

func (*CreateTargetGroupRequest) SetName

func (m *CreateTargetGroupRequest) SetName(v string)

func (*CreateTargetGroupRequest) SetRegionId

func (m *CreateTargetGroupRequest) SetRegionId(v string)

func (*CreateTargetGroupRequest) SetTargets

func (m *CreateTargetGroupRequest) SetTargets(v []*Target)

func (*CreateTargetGroupRequest) String

func (x *CreateTargetGroupRequest) String() string

type DeleteNetworkLoadBalancerMetadata

type DeleteNetworkLoadBalancerMetadata struct {

	// ID of the NetworkLoadBalancer resource that is being deleted.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeleteNetworkLoadBalancerMetadata) Descriptor deprecated

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

Deprecated: Use DeleteNetworkLoadBalancerMetadata.ProtoReflect.Descriptor instead.

func (*DeleteNetworkLoadBalancerMetadata) GetNetworkLoadBalancerId

func (x *DeleteNetworkLoadBalancerMetadata) GetNetworkLoadBalancerId() string

func (*DeleteNetworkLoadBalancerMetadata) ProtoMessage

func (*DeleteNetworkLoadBalancerMetadata) ProtoMessage()

func (*DeleteNetworkLoadBalancerMetadata) ProtoReflect

func (*DeleteNetworkLoadBalancerMetadata) Reset

func (*DeleteNetworkLoadBalancerMetadata) SetNetworkLoadBalancerId

func (m *DeleteNetworkLoadBalancerMetadata) SetNetworkLoadBalancerId(v string)

func (*DeleteNetworkLoadBalancerMetadata) String

type DeleteNetworkLoadBalancerRequest

type DeleteNetworkLoadBalancerRequest struct {

	// ID of the network load balancer to delete.
	// To get the network load balancer ID, use a [NetworkLoadBalancerService.List] request.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DeleteNetworkLoadBalancerRequest) Descriptor deprecated

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

Deprecated: Use DeleteNetworkLoadBalancerRequest.ProtoReflect.Descriptor instead.

func (*DeleteNetworkLoadBalancerRequest) GetNetworkLoadBalancerId

func (x *DeleteNetworkLoadBalancerRequest) GetNetworkLoadBalancerId() string

func (*DeleteNetworkLoadBalancerRequest) ProtoMessage

func (*DeleteNetworkLoadBalancerRequest) ProtoMessage()

func (*DeleteNetworkLoadBalancerRequest) ProtoReflect

func (*DeleteNetworkLoadBalancerRequest) Reset

func (*DeleteNetworkLoadBalancerRequest) SetNetworkLoadBalancerId

func (m *DeleteNetworkLoadBalancerRequest) SetNetworkLoadBalancerId(v string)

func (*DeleteNetworkLoadBalancerRequest) String

type DeleteTargetGroupMetadata

type DeleteTargetGroupMetadata struct {

	// ID of the target group that is being deleted.
	TargetGroupId string `protobuf:"bytes,1,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTargetGroupMetadata) Descriptor deprecated

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

Deprecated: Use DeleteTargetGroupMetadata.ProtoReflect.Descriptor instead.

func (*DeleteTargetGroupMetadata) GetTargetGroupId

func (x *DeleteTargetGroupMetadata) GetTargetGroupId() string

func (*DeleteTargetGroupMetadata) ProtoMessage

func (*DeleteTargetGroupMetadata) ProtoMessage()

func (*DeleteTargetGroupMetadata) ProtoReflect

func (*DeleteTargetGroupMetadata) Reset

func (x *DeleteTargetGroupMetadata) Reset()

func (*DeleteTargetGroupMetadata) SetTargetGroupId

func (m *DeleteTargetGroupMetadata) SetTargetGroupId(v string)

func (*DeleteTargetGroupMetadata) String

func (x *DeleteTargetGroupMetadata) String() string

type DeleteTargetGroupRequest

type DeleteTargetGroupRequest struct {

	// ID of the target group to delete.
	// To get the target group ID, use a [TargetGroupService.List] request.
	TargetGroupId string `protobuf:"bytes,1,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTargetGroupRequest) Descriptor deprecated

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

Deprecated: Use DeleteTargetGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteTargetGroupRequest) GetTargetGroupId

func (x *DeleteTargetGroupRequest) GetTargetGroupId() string

func (*DeleteTargetGroupRequest) ProtoMessage

func (*DeleteTargetGroupRequest) ProtoMessage()

func (*DeleteTargetGroupRequest) ProtoReflect

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

func (*DeleteTargetGroupRequest) Reset

func (x *DeleteTargetGroupRequest) Reset()

func (*DeleteTargetGroupRequest) SetTargetGroupId

func (m *DeleteTargetGroupRequest) SetTargetGroupId(v string)

func (*DeleteTargetGroupRequest) String

func (x *DeleteTargetGroupRequest) String() string

type DetachNetworkLoadBalancerTargetGroupMetadata

type DetachNetworkLoadBalancerTargetGroupMetadata struct {

	// ID of the network load balancer that the target group is being detached from.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// ID of the target group.
	TargetGroupId string `protobuf:"bytes,2,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DetachNetworkLoadBalancerTargetGroupMetadata) Descriptor deprecated

Deprecated: Use DetachNetworkLoadBalancerTargetGroupMetadata.ProtoReflect.Descriptor instead.

func (*DetachNetworkLoadBalancerTargetGroupMetadata) GetNetworkLoadBalancerId

func (x *DetachNetworkLoadBalancerTargetGroupMetadata) GetNetworkLoadBalancerId() string

func (*DetachNetworkLoadBalancerTargetGroupMetadata) GetTargetGroupId

func (*DetachNetworkLoadBalancerTargetGroupMetadata) ProtoMessage

func (*DetachNetworkLoadBalancerTargetGroupMetadata) ProtoReflect

func (*DetachNetworkLoadBalancerTargetGroupMetadata) Reset

func (*DetachNetworkLoadBalancerTargetGroupMetadata) SetNetworkLoadBalancerId

func (m *DetachNetworkLoadBalancerTargetGroupMetadata) SetNetworkLoadBalancerId(v string)

func (*DetachNetworkLoadBalancerTargetGroupMetadata) SetTargetGroupId

func (*DetachNetworkLoadBalancerTargetGroupMetadata) String

type DetachNetworkLoadBalancerTargetGroupRequest

type DetachNetworkLoadBalancerTargetGroupRequest struct {

	// ID of the network load balancer to detach the target group from.
	// To get the network load balancer ID, use a [NetworkLoadBalancerService.List] request.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// ID of the target group.
	TargetGroupId string `protobuf:"bytes,2,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DetachNetworkLoadBalancerTargetGroupRequest) Descriptor deprecated

Deprecated: Use DetachNetworkLoadBalancerTargetGroupRequest.ProtoReflect.Descriptor instead.

func (*DetachNetworkLoadBalancerTargetGroupRequest) GetNetworkLoadBalancerId

func (x *DetachNetworkLoadBalancerTargetGroupRequest) GetNetworkLoadBalancerId() string

func (*DetachNetworkLoadBalancerTargetGroupRequest) GetTargetGroupId

func (*DetachNetworkLoadBalancerTargetGroupRequest) ProtoMessage

func (*DetachNetworkLoadBalancerTargetGroupRequest) ProtoReflect

func (*DetachNetworkLoadBalancerTargetGroupRequest) Reset

func (*DetachNetworkLoadBalancerTargetGroupRequest) SetNetworkLoadBalancerId

func (m *DetachNetworkLoadBalancerTargetGroupRequest) SetNetworkLoadBalancerId(v string)

func (*DetachNetworkLoadBalancerTargetGroupRequest) SetTargetGroupId

func (m *DetachNetworkLoadBalancerTargetGroupRequest) SetTargetGroupId(v string)

func (*DetachNetworkLoadBalancerTargetGroupRequest) String

type ExternalAddressSpec

type ExternalAddressSpec struct {

	// Public IP address for a listener.
	// If you provide a static public IP address for the [NetworkLoadBalancerService.Update]
	// method, it will replace the existing listener address.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// IP version.
	IpVersion IpVersion `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

External address specification that is used by ListenerSpec.

func (*ExternalAddressSpec) Descriptor deprecated

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

Deprecated: Use ExternalAddressSpec.ProtoReflect.Descriptor instead.

func (*ExternalAddressSpec) GetAddress

func (x *ExternalAddressSpec) GetAddress() string

func (*ExternalAddressSpec) GetIpVersion

func (x *ExternalAddressSpec) GetIpVersion() IpVersion

func (*ExternalAddressSpec) ProtoMessage

func (*ExternalAddressSpec) ProtoMessage()

func (*ExternalAddressSpec) ProtoReflect

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

func (*ExternalAddressSpec) Reset

func (x *ExternalAddressSpec) Reset()

func (*ExternalAddressSpec) SetAddress

func (m *ExternalAddressSpec) SetAddress(v string)

func (*ExternalAddressSpec) SetIpVersion

func (m *ExternalAddressSpec) SetIpVersion(v IpVersion)

func (*ExternalAddressSpec) String

func (x *ExternalAddressSpec) String() string

type GetNetworkLoadBalancerRequest

type GetNetworkLoadBalancerRequest struct {

	// ID of the NetworkLoadBalancer resource to return.
	// To get the network load balancer ID, use a [NetworkLoadBalancerService.List] request.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetNetworkLoadBalancerRequest) Descriptor deprecated

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

Deprecated: Use GetNetworkLoadBalancerRequest.ProtoReflect.Descriptor instead.

func (*GetNetworkLoadBalancerRequest) GetNetworkLoadBalancerId

func (x *GetNetworkLoadBalancerRequest) GetNetworkLoadBalancerId() string

func (*GetNetworkLoadBalancerRequest) ProtoMessage

func (*GetNetworkLoadBalancerRequest) ProtoMessage()

func (*GetNetworkLoadBalancerRequest) ProtoReflect

func (*GetNetworkLoadBalancerRequest) Reset

func (x *GetNetworkLoadBalancerRequest) Reset()

func (*GetNetworkLoadBalancerRequest) SetNetworkLoadBalancerId

func (m *GetNetworkLoadBalancerRequest) SetNetworkLoadBalancerId(v string)

func (*GetNetworkLoadBalancerRequest) String

type GetTargetGroupRequest

type GetTargetGroupRequest struct {

	// ID of the TargetGroup resource to return.
	// To get the target group ID, use a [TargetGroupService.List] request.
	TargetGroupId string `protobuf:"bytes,1,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTargetGroupRequest) Descriptor deprecated

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

Deprecated: Use GetTargetGroupRequest.ProtoReflect.Descriptor instead.

func (*GetTargetGroupRequest) GetTargetGroupId

func (x *GetTargetGroupRequest) GetTargetGroupId() string

func (*GetTargetGroupRequest) ProtoMessage

func (*GetTargetGroupRequest) ProtoMessage()

func (*GetTargetGroupRequest) ProtoReflect

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

func (*GetTargetGroupRequest) Reset

func (x *GetTargetGroupRequest) Reset()

func (*GetTargetGroupRequest) SetTargetGroupId

func (m *GetTargetGroupRequest) SetTargetGroupId(v string)

func (*GetTargetGroupRequest) String

func (x *GetTargetGroupRequest) String() string

type GetTargetStatesRequest

type GetTargetStatesRequest struct {

	// ID of the NetworkLoadBalancer resource with an attached target group.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// ID of the target group to get states of resources from.
	TargetGroupId string `protobuf:"bytes,2,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTargetStatesRequest) Descriptor deprecated

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

Deprecated: Use GetTargetStatesRequest.ProtoReflect.Descriptor instead.

func (*GetTargetStatesRequest) GetNetworkLoadBalancerId

func (x *GetTargetStatesRequest) GetNetworkLoadBalancerId() string

func (*GetTargetStatesRequest) GetTargetGroupId

func (x *GetTargetStatesRequest) GetTargetGroupId() string

func (*GetTargetStatesRequest) ProtoMessage

func (*GetTargetStatesRequest) ProtoMessage()

func (*GetTargetStatesRequest) ProtoReflect

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

func (*GetTargetStatesRequest) Reset

func (x *GetTargetStatesRequest) Reset()

func (*GetTargetStatesRequest) SetNetworkLoadBalancerId

func (m *GetTargetStatesRequest) SetNetworkLoadBalancerId(v string)

func (*GetTargetStatesRequest) SetTargetGroupId

func (m *GetTargetStatesRequest) SetTargetGroupId(v string)

func (*GetTargetStatesRequest) String

func (x *GetTargetStatesRequest) String() string

type GetTargetStatesResponse

type GetTargetStatesResponse struct {

	// List of states of targets within the target group that is specified in the [GetTargetStatesRequest] message.
	TargetStates []*TargetState `protobuf:"bytes,1,rep,name=target_states,json=targetStates,proto3" json:"target_states,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTargetStatesResponse) Descriptor deprecated

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

Deprecated: Use GetTargetStatesResponse.ProtoReflect.Descriptor instead.

func (*GetTargetStatesResponse) GetTargetStates

func (x *GetTargetStatesResponse) GetTargetStates() []*TargetState

func (*GetTargetStatesResponse) ProtoMessage

func (*GetTargetStatesResponse) ProtoMessage()

func (*GetTargetStatesResponse) ProtoReflect

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

func (*GetTargetStatesResponse) Reset

func (x *GetTargetStatesResponse) Reset()

func (*GetTargetStatesResponse) SetTargetStates

func (m *GetTargetStatesResponse) SetTargetStates(v []*TargetState)

func (*GetTargetStatesResponse) String

func (x *GetTargetStatesResponse) String() string

type HealthCheck

type HealthCheck struct {

	// Name of the health check. The name must be unique for each target group that attached to a single load balancer. 3-63 characters long.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The interval between health checks. The default is 2 seconds.
	Interval *durationpb.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
	// Timeout for a target to return a response for the health check. The default is 1 second.
	Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Number of failed health checks before changing the status to “ UNHEALTHY “. The default is 2.
	UnhealthyThreshold int64 `protobuf:"varint,4,opt,name=unhealthy_threshold,json=unhealthyThreshold,proto3" json:"unhealthy_threshold,omitempty"`
	// Number of successful health checks required in order to set the “ HEALTHY “ status for the target. The default is 2.
	HealthyThreshold int64 `protobuf:"varint,5,opt,name=healthy_threshold,json=healthyThreshold,proto3" json:"healthy_threshold,omitempty"`
	// Protocol to use for the health check. Either TCP or HTTP.
	//
	// Types that are assignable to Options:
	//
	//	*HealthCheck_TcpOptions_
	//	*HealthCheck_HttpOptions_
	Options isHealthCheck_Options `protobuf_oneof:"options"`
	// contains filtered or unexported fields
}

A HealthCheck resource. For more information, see [Health check](/docs/network-load-balancer/concepts/health-check).

func (*HealthCheck) Descriptor deprecated

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

Deprecated: Use HealthCheck.ProtoReflect.Descriptor instead.

func (*HealthCheck) GetHealthyThreshold

func (x *HealthCheck) GetHealthyThreshold() int64

func (*HealthCheck) GetHttpOptions

func (x *HealthCheck) GetHttpOptions() *HealthCheck_HttpOptions

func (*HealthCheck) GetInterval

func (x *HealthCheck) GetInterval() *durationpb.Duration

func (*HealthCheck) GetName

func (x *HealthCheck) GetName() string

func (*HealthCheck) GetOptions

func (m *HealthCheck) GetOptions() isHealthCheck_Options

func (*HealthCheck) GetTcpOptions

func (x *HealthCheck) GetTcpOptions() *HealthCheck_TcpOptions

func (*HealthCheck) GetTimeout

func (x *HealthCheck) GetTimeout() *durationpb.Duration

func (*HealthCheck) GetUnhealthyThreshold

func (x *HealthCheck) GetUnhealthyThreshold() int64

func (*HealthCheck) ProtoMessage

func (*HealthCheck) ProtoMessage()

func (*HealthCheck) ProtoReflect

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

func (*HealthCheck) Reset

func (x *HealthCheck) Reset()

func (*HealthCheck) SetHealthyThreshold

func (m *HealthCheck) SetHealthyThreshold(v int64)

func (*HealthCheck) SetHttpOptions

func (m *HealthCheck) SetHttpOptions(v *HealthCheck_HttpOptions)

func (*HealthCheck) SetInterval

func (m *HealthCheck) SetInterval(v *durationpb.Duration)

func (*HealthCheck) SetName

func (m *HealthCheck) SetName(v string)

func (*HealthCheck) SetOptions

func (m *HealthCheck) SetOptions(v HealthCheck_Options)

func (*HealthCheck) SetTcpOptions

func (m *HealthCheck) SetTcpOptions(v *HealthCheck_TcpOptions)

func (*HealthCheck) SetTimeout

func (m *HealthCheck) SetTimeout(v *durationpb.Duration)

func (*HealthCheck) SetUnhealthyThreshold

func (m *HealthCheck) SetUnhealthyThreshold(v int64)

func (*HealthCheck) String

func (x *HealthCheck) String() string

type HealthCheck_HttpOptions

type HealthCheck_HttpOptions struct {

	// Port to use for HTTP health checks.
	Port int64 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	// URL path to set for health checking requests for every target in the target group.
	// For example “ /ping “. The default path is “ / “.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

Configuration option for an HTTP health check.

func (*HealthCheck_HttpOptions) Descriptor deprecated

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

Deprecated: Use HealthCheck_HttpOptions.ProtoReflect.Descriptor instead.

func (*HealthCheck_HttpOptions) GetPath

func (x *HealthCheck_HttpOptions) GetPath() string

func (*HealthCheck_HttpOptions) GetPort

func (x *HealthCheck_HttpOptions) GetPort() int64

func (*HealthCheck_HttpOptions) ProtoMessage

func (*HealthCheck_HttpOptions) ProtoMessage()

func (*HealthCheck_HttpOptions) ProtoReflect

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

func (*HealthCheck_HttpOptions) Reset

func (x *HealthCheck_HttpOptions) Reset()

func (*HealthCheck_HttpOptions) SetPath

func (m *HealthCheck_HttpOptions) SetPath(v string)

func (*HealthCheck_HttpOptions) SetPort

func (m *HealthCheck_HttpOptions) SetPort(v int64)

func (*HealthCheck_HttpOptions) String

func (x *HealthCheck_HttpOptions) String() string

type HealthCheck_HttpOptions_

type HealthCheck_HttpOptions_ struct {
	// Options for HTTP health check.
	HttpOptions *HealthCheck_HttpOptions `protobuf:"bytes,7,opt,name=http_options,json=httpOptions,proto3,oneof"`
}

type HealthCheck_Options

type HealthCheck_Options = isHealthCheck_Options

type HealthCheck_TcpOptions

type HealthCheck_TcpOptions struct {

	// Port to use for TCP health checks.
	Port int64 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

Configuration option for a TCP health check.

func (*HealthCheck_TcpOptions) Descriptor deprecated

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

Deprecated: Use HealthCheck_TcpOptions.ProtoReflect.Descriptor instead.

func (*HealthCheck_TcpOptions) GetPort

func (x *HealthCheck_TcpOptions) GetPort() int64

func (*HealthCheck_TcpOptions) ProtoMessage

func (*HealthCheck_TcpOptions) ProtoMessage()

func (*HealthCheck_TcpOptions) ProtoReflect

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

func (*HealthCheck_TcpOptions) Reset

func (x *HealthCheck_TcpOptions) Reset()

func (*HealthCheck_TcpOptions) SetPort

func (m *HealthCheck_TcpOptions) SetPort(v int64)

func (*HealthCheck_TcpOptions) String

func (x *HealthCheck_TcpOptions) String() string

type HealthCheck_TcpOptions_

type HealthCheck_TcpOptions_ struct {
	// Options for TCP health check.
	TcpOptions *HealthCheck_TcpOptions `protobuf:"bytes,6,opt,name=tcp_options,json=tcpOptions,proto3,oneof"`
}

type InternalAddressSpec

type InternalAddressSpec struct {

	// Internal IP address for a listener.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// ID of the subnet.
	SubnetId string `protobuf:"bytes,2,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// IP version.
	IpVersion IpVersion `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

Internal address specification that is used by ListenerSpec.

func (*InternalAddressSpec) Descriptor deprecated

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

Deprecated: Use InternalAddressSpec.ProtoReflect.Descriptor instead.

func (*InternalAddressSpec) GetAddress

func (x *InternalAddressSpec) GetAddress() string

func (*InternalAddressSpec) GetIpVersion

func (x *InternalAddressSpec) GetIpVersion() IpVersion

func (*InternalAddressSpec) GetSubnetId

func (x *InternalAddressSpec) GetSubnetId() string

func (*InternalAddressSpec) ProtoMessage

func (*InternalAddressSpec) ProtoMessage()

func (*InternalAddressSpec) ProtoReflect

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

func (*InternalAddressSpec) Reset

func (x *InternalAddressSpec) Reset()

func (*InternalAddressSpec) SetAddress

func (m *InternalAddressSpec) SetAddress(v string)

func (*InternalAddressSpec) SetIpVersion

func (m *InternalAddressSpec) SetIpVersion(v IpVersion)

func (*InternalAddressSpec) SetSubnetId

func (m *InternalAddressSpec) SetSubnetId(v string)

func (*InternalAddressSpec) String

func (x *InternalAddressSpec) String() string

type IpVersion

type IpVersion int32

IP version of the addresses that the load balancer works with. Only IPv4 is currently available.

const (
	IpVersion_IP_VERSION_UNSPECIFIED IpVersion = 0
	// IPv4
	IpVersion_IPV4 IpVersion = 1
	// IPv6
	IpVersion_IPV6 IpVersion = 2
)

func (IpVersion) Descriptor

func (IpVersion) Descriptor() protoreflect.EnumDescriptor

func (IpVersion) Enum

func (x IpVersion) Enum() *IpVersion

func (IpVersion) EnumDescriptor deprecated

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

Deprecated: Use IpVersion.Descriptor instead.

func (IpVersion) Number

func (x IpVersion) Number() protoreflect.EnumNumber

func (IpVersion) String

func (x IpVersion) String() string

func (IpVersion) Type

type ListNetworkLoadBalancerOperationsRequest

type ListNetworkLoadBalancerOperationsRequest struct {

	// ID of the NetworkLoadBalancer resource to list operations for.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// The maximum number of results per page that should be returned. If the number of available
	// results is larger than [page_size], the service returns a [ListNetworkLoadBalancerOperationsResponse.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
	// [ListNetworkLoadBalancerOperationsResponse.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 (*ListNetworkLoadBalancerOperationsRequest) Descriptor deprecated

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

Deprecated: Use ListNetworkLoadBalancerOperationsRequest.ProtoReflect.Descriptor instead.

func (*ListNetworkLoadBalancerOperationsRequest) GetNetworkLoadBalancerId

func (x *ListNetworkLoadBalancerOperationsRequest) GetNetworkLoadBalancerId() string

func (*ListNetworkLoadBalancerOperationsRequest) GetPageSize

func (*ListNetworkLoadBalancerOperationsRequest) GetPageToken

func (*ListNetworkLoadBalancerOperationsRequest) ProtoMessage

func (*ListNetworkLoadBalancerOperationsRequest) ProtoReflect

func (*ListNetworkLoadBalancerOperationsRequest) Reset

func (*ListNetworkLoadBalancerOperationsRequest) SetNetworkLoadBalancerId

func (m *ListNetworkLoadBalancerOperationsRequest) SetNetworkLoadBalancerId(v string)

func (*ListNetworkLoadBalancerOperationsRequest) SetPageSize

func (*ListNetworkLoadBalancerOperationsRequest) SetPageToken

func (*ListNetworkLoadBalancerOperationsRequest) String

type ListNetworkLoadBalancerOperationsResponse

type ListNetworkLoadBalancerOperationsResponse struct {

	// List of operations for the specified network load balancer.
	Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListNetworkLoadBalancerOperationsRequest.page_size], use the [next_page_token] as the value
	// for the [ListNetworkLoadBalancerOperationsRequest.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 `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNetworkLoadBalancerOperationsResponse) Descriptor deprecated

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

Deprecated: Use ListNetworkLoadBalancerOperationsResponse.ProtoReflect.Descriptor instead.

func (*ListNetworkLoadBalancerOperationsResponse) GetNextPageToken

func (x *ListNetworkLoadBalancerOperationsResponse) GetNextPageToken() string

func (*ListNetworkLoadBalancerOperationsResponse) GetOperations

func (*ListNetworkLoadBalancerOperationsResponse) ProtoMessage

func (*ListNetworkLoadBalancerOperationsResponse) ProtoReflect

func (*ListNetworkLoadBalancerOperationsResponse) Reset

func (*ListNetworkLoadBalancerOperationsResponse) SetNextPageToken

func (m *ListNetworkLoadBalancerOperationsResponse) SetNextPageToken(v string)

func (*ListNetworkLoadBalancerOperationsResponse) SetOperations

func (*ListNetworkLoadBalancerOperationsResponse) String

type ListNetworkLoadBalancersRequest

type ListNetworkLoadBalancersRequest struct {

	// ID of the folder that the network load balancer belongs to.
	// To get the folder ID, use a [NetworkLoadBalancerService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_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 [<ResponseMessage>.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
	// [ListNetworkLoadBalancersResponse.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"`
	// A filter expression that filters resources listed in the response.
	// The expression must specify:
	// 1. The field name. Currently you can only filter by the [NetworkLoadBalancer.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]`.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNetworkLoadBalancersRequest) Descriptor deprecated

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

Deprecated: Use ListNetworkLoadBalancersRequest.ProtoReflect.Descriptor instead.

func (*ListNetworkLoadBalancersRequest) GetFilter

func (x *ListNetworkLoadBalancersRequest) GetFilter() string

func (*ListNetworkLoadBalancersRequest) GetFolderId

func (x *ListNetworkLoadBalancersRequest) GetFolderId() string

func (*ListNetworkLoadBalancersRequest) GetPageSize

func (x *ListNetworkLoadBalancersRequest) GetPageSize() int64

func (*ListNetworkLoadBalancersRequest) GetPageToken

func (x *ListNetworkLoadBalancersRequest) GetPageToken() string

func (*ListNetworkLoadBalancersRequest) ProtoMessage

func (*ListNetworkLoadBalancersRequest) ProtoMessage()

func (*ListNetworkLoadBalancersRequest) ProtoReflect

func (*ListNetworkLoadBalancersRequest) Reset

func (*ListNetworkLoadBalancersRequest) SetFilter

func (m *ListNetworkLoadBalancersRequest) SetFilter(v string)

func (*ListNetworkLoadBalancersRequest) SetFolderId

func (m *ListNetworkLoadBalancersRequest) SetFolderId(v string)

func (*ListNetworkLoadBalancersRequest) SetPageSize

func (m *ListNetworkLoadBalancersRequest) SetPageSize(v int64)

func (*ListNetworkLoadBalancersRequest) SetPageToken

func (m *ListNetworkLoadBalancersRequest) SetPageToken(v string)

func (*ListNetworkLoadBalancersRequest) String

type ListNetworkLoadBalancersResponse

type ListNetworkLoadBalancersResponse struct {

	// List of NetworkLoadBalancer resources.
	NetworkLoadBalancers []*NetworkLoadBalancer `protobuf:"bytes,1,rep,name=network_load_balancers,json=networkLoadBalancers,proto3" json:"network_load_balancers,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListNetworkLoadBalancersRequest.page_size], use
	// the [next_page_token] as the value
	// for the [ListNetworkLoadBalancersRequest.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 `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListNetworkLoadBalancersResponse) Descriptor deprecated

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

Deprecated: Use ListNetworkLoadBalancersResponse.ProtoReflect.Descriptor instead.

func (*ListNetworkLoadBalancersResponse) GetNetworkLoadBalancers

func (x *ListNetworkLoadBalancersResponse) GetNetworkLoadBalancers() []*NetworkLoadBalancer

func (*ListNetworkLoadBalancersResponse) GetNextPageToken

func (x *ListNetworkLoadBalancersResponse) GetNextPageToken() string

func (*ListNetworkLoadBalancersResponse) ProtoMessage

func (*ListNetworkLoadBalancersResponse) ProtoMessage()

func (*ListNetworkLoadBalancersResponse) ProtoReflect

func (*ListNetworkLoadBalancersResponse) Reset

func (*ListNetworkLoadBalancersResponse) SetNetworkLoadBalancers

func (m *ListNetworkLoadBalancersResponse) SetNetworkLoadBalancers(v []*NetworkLoadBalancer)

func (*ListNetworkLoadBalancersResponse) SetNextPageToken

func (m *ListNetworkLoadBalancersResponse) SetNextPageToken(v string)

func (*ListNetworkLoadBalancersResponse) String

type ListTargetGroupOperationsRequest

type ListTargetGroupOperationsRequest struct {

	// ID of the TargetGroup resource to update.
	// To get the target group ID, use a [TargetGroupService.List] request.
	TargetGroupId string `protobuf:"bytes,1,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"`
	// The maximum number of results per page that should be returned. If the number of available
	// results is larger than [page_size], the service returns a [ListTargetGroupOperationsResponse.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
	// [ListTargetGroupOperationsResponse.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 (*ListTargetGroupOperationsRequest) Descriptor deprecated

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

Deprecated: Use ListTargetGroupOperationsRequest.ProtoReflect.Descriptor instead.

func (*ListTargetGroupOperationsRequest) GetPageSize

func (x *ListTargetGroupOperationsRequest) GetPageSize() int64

func (*ListTargetGroupOperationsRequest) GetPageToken

func (x *ListTargetGroupOperationsRequest) GetPageToken() string

func (*ListTargetGroupOperationsRequest) GetTargetGroupId

func (x *ListTargetGroupOperationsRequest) GetTargetGroupId() string

func (*ListTargetGroupOperationsRequest) ProtoMessage

func (*ListTargetGroupOperationsRequest) ProtoMessage()

func (*ListTargetGroupOperationsRequest) ProtoReflect

func (*ListTargetGroupOperationsRequest) Reset

func (*ListTargetGroupOperationsRequest) SetPageSize

func (m *ListTargetGroupOperationsRequest) SetPageSize(v int64)

func (*ListTargetGroupOperationsRequest) SetPageToken

func (m *ListTargetGroupOperationsRequest) SetPageToken(v string)

func (*ListTargetGroupOperationsRequest) SetTargetGroupId

func (m *ListTargetGroupOperationsRequest) SetTargetGroupId(v string)

func (*ListTargetGroupOperationsRequest) String

type ListTargetGroupOperationsResponse

type ListTargetGroupOperationsResponse struct {

	// List of operations for the specified target group.
	Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListTargetGroupOperationsRequest.page_size], use the [next_page_token] as the value
	// for the [ListTargetGroupOperationsRequest.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 `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTargetGroupOperationsResponse) Descriptor deprecated

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

Deprecated: Use ListTargetGroupOperationsResponse.ProtoReflect.Descriptor instead.

func (*ListTargetGroupOperationsResponse) GetNextPageToken

func (x *ListTargetGroupOperationsResponse) GetNextPageToken() string

func (*ListTargetGroupOperationsResponse) GetOperations

func (*ListTargetGroupOperationsResponse) ProtoMessage

func (*ListTargetGroupOperationsResponse) ProtoMessage()

func (*ListTargetGroupOperationsResponse) ProtoReflect

func (*ListTargetGroupOperationsResponse) Reset

func (*ListTargetGroupOperationsResponse) SetNextPageToken

func (m *ListTargetGroupOperationsResponse) SetNextPageToken(v string)

func (*ListTargetGroupOperationsResponse) SetOperations

func (m *ListTargetGroupOperationsResponse) SetOperations(v []*operation.Operation)

func (*ListTargetGroupOperationsResponse) String

type ListTargetGroupsRequest

type ListTargetGroupsRequest struct {

	// ID of the folder to list target groups in.
	// To get the folder ID, use a [TargetGroupService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_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 [ListTargetGroupsResponse.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
	// [ListTargetGroupsResponse.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"`
	// A filter expression that filters resources listed in the response.
	// The expression must specify:
	// 1. The field name. Currently you can only filter by the [TargetGroup.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]`.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTargetGroupsRequest) Descriptor deprecated

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

Deprecated: Use ListTargetGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListTargetGroupsRequest) GetFilter

func (x *ListTargetGroupsRequest) GetFilter() string

func (*ListTargetGroupsRequest) GetFolderId

func (x *ListTargetGroupsRequest) GetFolderId() string

func (*ListTargetGroupsRequest) GetPageSize

func (x *ListTargetGroupsRequest) GetPageSize() int64

func (*ListTargetGroupsRequest) GetPageToken

func (x *ListTargetGroupsRequest) GetPageToken() string

func (*ListTargetGroupsRequest) ProtoMessage

func (*ListTargetGroupsRequest) ProtoMessage()

func (*ListTargetGroupsRequest) ProtoReflect

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

func (*ListTargetGroupsRequest) Reset

func (x *ListTargetGroupsRequest) Reset()

func (*ListTargetGroupsRequest) SetFilter

func (m *ListTargetGroupsRequest) SetFilter(v string)

func (*ListTargetGroupsRequest) SetFolderId

func (m *ListTargetGroupsRequest) SetFolderId(v string)

func (*ListTargetGroupsRequest) SetPageSize

func (m *ListTargetGroupsRequest) SetPageSize(v int64)

func (*ListTargetGroupsRequest) SetPageToken

func (m *ListTargetGroupsRequest) SetPageToken(v string)

func (*ListTargetGroupsRequest) String

func (x *ListTargetGroupsRequest) String() string

type ListTargetGroupsResponse

type ListTargetGroupsResponse struct {

	// List of TargetGroup resources.
	TargetGroups []*TargetGroup `protobuf:"bytes,1,rep,name=target_groups,json=targetGroups,proto3" json:"target_groups,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListTargetGroupsRequest.page_size], use
	// the [next_page_token] as the value
	// for the [ListTargetGroupsRequest.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 `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTargetGroupsResponse) Descriptor deprecated

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

Deprecated: Use ListTargetGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListTargetGroupsResponse) GetNextPageToken

func (x *ListTargetGroupsResponse) GetNextPageToken() string

func (*ListTargetGroupsResponse) GetTargetGroups

func (x *ListTargetGroupsResponse) GetTargetGroups() []*TargetGroup

func (*ListTargetGroupsResponse) ProtoMessage

func (*ListTargetGroupsResponse) ProtoMessage()

func (*ListTargetGroupsResponse) ProtoReflect

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

func (*ListTargetGroupsResponse) Reset

func (x *ListTargetGroupsResponse) Reset()

func (*ListTargetGroupsResponse) SetNextPageToken

func (m *ListTargetGroupsResponse) SetNextPageToken(v string)

func (*ListTargetGroupsResponse) SetTargetGroups

func (m *ListTargetGroupsResponse) SetTargetGroups(v []*TargetGroup)

func (*ListTargetGroupsResponse) String

func (x *ListTargetGroupsResponse) String() string

type Listener

type Listener struct {

	// Name of the listener. The name must be unique for each listener on a single load balancer. 3-63 characters long.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// IP address for the listener.
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// Port.
	Port int64 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	// Network protocol for incoming traffic.
	Protocol Listener_Protocol `protobuf:"varint,4,opt,name=protocol,proto3,enum=yandex.cloud.loadbalancer.v1.Listener_Protocol" json:"protocol,omitempty"`
	// Port of a target.
	TargetPort int64 `protobuf:"varint,5,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"`
	// ID of the subnet.
	SubnetId string `protobuf:"bytes,6,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// IP version of the external address.
	IpVersion IpVersion `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

A Listener resource. For more information, see Listener(/docs/network-load-balancer/concepts/listener)

func (*Listener) Descriptor deprecated

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

Deprecated: Use Listener.ProtoReflect.Descriptor instead.

func (*Listener) GetAddress

func (x *Listener) GetAddress() string

func (*Listener) GetIpVersion

func (x *Listener) GetIpVersion() IpVersion

func (*Listener) GetName

func (x *Listener) GetName() string

func (*Listener) GetPort

func (x *Listener) GetPort() int64

func (*Listener) GetProtocol

func (x *Listener) GetProtocol() Listener_Protocol

func (*Listener) GetSubnetId

func (x *Listener) GetSubnetId() string

func (*Listener) GetTargetPort

func (x *Listener) GetTargetPort() int64

func (*Listener) ProtoMessage

func (*Listener) ProtoMessage()

func (*Listener) ProtoReflect

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

func (*Listener) Reset

func (x *Listener) Reset()

func (*Listener) SetAddress

func (m *Listener) SetAddress(v string)

func (*Listener) SetIpVersion

func (m *Listener) SetIpVersion(v IpVersion)

func (*Listener) SetName

func (m *Listener) SetName(v string)

func (*Listener) SetPort

func (m *Listener) SetPort(v int64)

func (*Listener) SetProtocol

func (m *Listener) SetProtocol(v Listener_Protocol)

func (*Listener) SetSubnetId

func (m *Listener) SetSubnetId(v string)

func (*Listener) SetTargetPort

func (m *Listener) SetTargetPort(v int64)

func (*Listener) String

func (x *Listener) String() string

type ListenerSpec

type ListenerSpec struct {

	// Name of the listener. The name must be unique for each listener on a single load balancer. 3-63 characters long.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Port for incoming traffic.
	Port int64 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// Protocol for incoming traffic.
	Protocol Listener_Protocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=yandex.cloud.loadbalancer.v1.Listener_Protocol" json:"protocol,omitempty"`
	// IP address for incoming traffic. Either the ID of the previously created address or the address specification.
	//
	// Types that are assignable to Address:
	//
	//	*ListenerSpec_ExternalAddressSpec
	//	*ListenerSpec_InternalAddressSpec
	Address isListenerSpec_Address `protobuf_oneof:"address"`
	// Port of a target.
	// Acceptable values are 1 to 65535, inclusive.
	TargetPort int64 `protobuf:"varint,5,opt,name=target_port,json=targetPort,proto3" json:"target_port,omitempty"`
	// contains filtered or unexported fields
}

Listener specification that will be used by a network load balancer.

func (*ListenerSpec) Descriptor deprecated

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

Deprecated: Use ListenerSpec.ProtoReflect.Descriptor instead.

func (*ListenerSpec) GetAddress

func (m *ListenerSpec) GetAddress() isListenerSpec_Address

func (*ListenerSpec) GetExternalAddressSpec

func (x *ListenerSpec) GetExternalAddressSpec() *ExternalAddressSpec

func (*ListenerSpec) GetInternalAddressSpec

func (x *ListenerSpec) GetInternalAddressSpec() *InternalAddressSpec

func (*ListenerSpec) GetName

func (x *ListenerSpec) GetName() string

func (*ListenerSpec) GetPort

func (x *ListenerSpec) GetPort() int64

func (*ListenerSpec) GetProtocol

func (x *ListenerSpec) GetProtocol() Listener_Protocol

func (*ListenerSpec) GetTargetPort

func (x *ListenerSpec) GetTargetPort() int64

func (*ListenerSpec) ProtoMessage

func (*ListenerSpec) ProtoMessage()

func (*ListenerSpec) ProtoReflect

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

func (*ListenerSpec) Reset

func (x *ListenerSpec) Reset()

func (*ListenerSpec) SetAddress

func (m *ListenerSpec) SetAddress(v ListenerSpec_Address)

func (*ListenerSpec) SetExternalAddressSpec

func (m *ListenerSpec) SetExternalAddressSpec(v *ExternalAddressSpec)

func (*ListenerSpec) SetInternalAddressSpec

func (m *ListenerSpec) SetInternalAddressSpec(v *InternalAddressSpec)

func (*ListenerSpec) SetName

func (m *ListenerSpec) SetName(v string)

func (*ListenerSpec) SetPort

func (m *ListenerSpec) SetPort(v int64)

func (*ListenerSpec) SetProtocol

func (m *ListenerSpec) SetProtocol(v Listener_Protocol)

func (*ListenerSpec) SetTargetPort

func (m *ListenerSpec) SetTargetPort(v int64)

func (*ListenerSpec) String

func (x *ListenerSpec) String() string

type ListenerSpec_Address

type ListenerSpec_Address = isListenerSpec_Address

type ListenerSpec_ExternalAddressSpec

type ListenerSpec_ExternalAddressSpec struct {
	// External IP address specification.
	ExternalAddressSpec *ExternalAddressSpec `protobuf:"bytes,4,opt,name=external_address_spec,json=externalAddressSpec,proto3,oneof"`
}

type ListenerSpec_InternalAddressSpec

type ListenerSpec_InternalAddressSpec struct {
	// Internal IP address specification.
	InternalAddressSpec *InternalAddressSpec `protobuf:"bytes,6,opt,name=internal_address_spec,json=internalAddressSpec,proto3,oneof"`
}

type Listener_Protocol

type Listener_Protocol int32

Network protocol to use.

const (
	Listener_PROTOCOL_UNSPECIFIED Listener_Protocol = 0
	Listener_TCP                  Listener_Protocol = 1
	Listener_UDP                  Listener_Protocol = 2
)

func (Listener_Protocol) Descriptor

func (Listener_Protocol) Enum

func (Listener_Protocol) EnumDescriptor deprecated

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

Deprecated: Use Listener_Protocol.Descriptor instead.

func (Listener_Protocol) Number

func (Listener_Protocol) String

func (x Listener_Protocol) String() string

func (Listener_Protocol) Type

type NetworkLoadBalancer

type NetworkLoadBalancer struct {

	// ID of the network load balancer.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the network load balancer belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the network load balancer. The name is unique within the folder. 3-63 characters long.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Optional description of the network load balancer. 0-256 characters long.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Resource labels as “ key:value “ pairs. Maximum of 64 per resource.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// ID of the region that the network load balancer belongs to.
	RegionId string `protobuf:"bytes,7,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	// Status of the network load balancer.
	Status NetworkLoadBalancer_Status `` /* 127-byte string literal not displayed */
	// Type of the network load balancer. Only external network load balancers are available now.
	Type NetworkLoadBalancer_Type `protobuf:"varint,10,opt,name=type,proto3,enum=yandex.cloud.loadbalancer.v1.NetworkLoadBalancer_Type" json:"type,omitempty"`
	// Type of the session affinity. Only 5-tuple affinity is available now.
	SessionAffinity NetworkLoadBalancer_SessionAffinity `` /* 178-byte string literal not displayed */
	// List of listeners for the network load balancer.
	Listeners []*Listener `protobuf:"bytes,12,rep,name=listeners,proto3" json:"listeners,omitempty"`
	// List of target groups attached to the network load balancer.
	AttachedTargetGroups []*AttachedTargetGroup `protobuf:"bytes,13,rep,name=attached_target_groups,json=attachedTargetGroups,proto3" json:"attached_target_groups,omitempty"`
	// Specifies if network load balancer protected from deletion.
	DeletionProtection bool `protobuf:"varint,14,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// contains filtered or unexported fields
}

A NetworkLoadBalancer resource. For more information, see [Network Load Balancer](/docs/network-load-balancer/concepts).

func (*NetworkLoadBalancer) Descriptor deprecated

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

Deprecated: Use NetworkLoadBalancer.ProtoReflect.Descriptor instead.

func (*NetworkLoadBalancer) GetAttachedTargetGroups

func (x *NetworkLoadBalancer) GetAttachedTargetGroups() []*AttachedTargetGroup

func (*NetworkLoadBalancer) GetCreatedAt

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

func (*NetworkLoadBalancer) GetDeletionProtection

func (x *NetworkLoadBalancer) GetDeletionProtection() bool

func (*NetworkLoadBalancer) GetDescription

func (x *NetworkLoadBalancer) GetDescription() string

func (*NetworkLoadBalancer) GetFolderId

func (x *NetworkLoadBalancer) GetFolderId() string

func (*NetworkLoadBalancer) GetId

func (x *NetworkLoadBalancer) GetId() string

func (*NetworkLoadBalancer) GetLabels

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

func (*NetworkLoadBalancer) GetListeners

func (x *NetworkLoadBalancer) GetListeners() []*Listener

func (*NetworkLoadBalancer) GetName

func (x *NetworkLoadBalancer) GetName() string

func (*NetworkLoadBalancer) GetRegionId

func (x *NetworkLoadBalancer) GetRegionId() string

func (*NetworkLoadBalancer) GetSessionAffinity

func (*NetworkLoadBalancer) GetStatus

func (*NetworkLoadBalancer) GetType

func (*NetworkLoadBalancer) ProtoMessage

func (*NetworkLoadBalancer) ProtoMessage()

func (*NetworkLoadBalancer) ProtoReflect

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

func (*NetworkLoadBalancer) Reset

func (x *NetworkLoadBalancer) Reset()

func (*NetworkLoadBalancer) SetAttachedTargetGroups

func (m *NetworkLoadBalancer) SetAttachedTargetGroups(v []*AttachedTargetGroup)

func (*NetworkLoadBalancer) SetCreatedAt

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

func (*NetworkLoadBalancer) SetDeletionProtection

func (m *NetworkLoadBalancer) SetDeletionProtection(v bool)

func (*NetworkLoadBalancer) SetDescription

func (m *NetworkLoadBalancer) SetDescription(v string)

func (*NetworkLoadBalancer) SetFolderId

func (m *NetworkLoadBalancer) SetFolderId(v string)

func (*NetworkLoadBalancer) SetId

func (m *NetworkLoadBalancer) SetId(v string)

func (*NetworkLoadBalancer) SetLabels

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

func (*NetworkLoadBalancer) SetListeners

func (m *NetworkLoadBalancer) SetListeners(v []*Listener)

func (*NetworkLoadBalancer) SetName

func (m *NetworkLoadBalancer) SetName(v string)

func (*NetworkLoadBalancer) SetRegionId

func (m *NetworkLoadBalancer) SetRegionId(v string)

func (*NetworkLoadBalancer) SetSessionAffinity

func (*NetworkLoadBalancer) SetStatus

func (*NetworkLoadBalancer) SetType

func (*NetworkLoadBalancer) String

func (x *NetworkLoadBalancer) String() string

type NetworkLoadBalancerServiceClient

type NetworkLoadBalancerServiceClient interface {
	// Returns the specified NetworkLoadBalancer resource.
	//
	// Get the list of available NetworkLoadBalancer resources by making a [List] request.
	Get(ctx context.Context, in *GetNetworkLoadBalancerRequest, opts ...grpc.CallOption) (*NetworkLoadBalancer, error)
	// Retrieves the list of NetworkLoadBalancer resources in the specified folder.
	List(ctx context.Context, in *ListNetworkLoadBalancersRequest, opts ...grpc.CallOption) (*ListNetworkLoadBalancersResponse, error)
	// Creates a network load balancer in the specified folder using the data specified in the request.
	Create(ctx context.Context, in *CreateNetworkLoadBalancerRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified network load balancer.
	Update(ctx context.Context, in *UpdateNetworkLoadBalancerRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified network load balancer.
	Delete(ctx context.Context, in *DeleteNetworkLoadBalancerRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Starts load balancing and health checking with the specified network load balancer with specified settings.
	// Changes network load balancer status to “ ACTIVE “.
	Start(ctx context.Context, in *StartNetworkLoadBalancerRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Stops load balancing and health checking with the specified network load balancer.
	// Changes load balancer status to “ STOPPED “.
	Stop(ctx context.Context, in *StopNetworkLoadBalancerRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Attaches a target group to the specified network load balancer.
	AttachTargetGroup(ctx context.Context, in *AttachNetworkLoadBalancerTargetGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Detaches the target group from the specified network load balancer.
	DetachTargetGroup(ctx context.Context, in *DetachNetworkLoadBalancerTargetGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Gets states of target resources in the attached target group.
	GetTargetStates(ctx context.Context, in *GetTargetStatesRequest, opts ...grpc.CallOption) (*GetTargetStatesResponse, error)
	// Adds a listener to the specified network load balancer.
	AddListener(ctx context.Context, in *AddNetworkLoadBalancerListenerRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Removes the listener from the specified network load balancer.
	RemoveListener(ctx context.Context, in *RemoveNetworkLoadBalancerListenerRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Lists operations for the specified network load balancer.
	ListOperations(ctx context.Context, in *ListNetworkLoadBalancerOperationsRequest, opts ...grpc.CallOption) (*ListNetworkLoadBalancerOperationsResponse, error)
}

NetworkLoadBalancerServiceClient is the client API for NetworkLoadBalancerService 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 NetworkLoadBalancer resources.

type NetworkLoadBalancerServiceServer

type NetworkLoadBalancerServiceServer interface {
	// Returns the specified NetworkLoadBalancer resource.
	//
	// Get the list of available NetworkLoadBalancer resources by making a [List] request.
	Get(context.Context, *GetNetworkLoadBalancerRequest) (*NetworkLoadBalancer, error)
	// Retrieves the list of NetworkLoadBalancer resources in the specified folder.
	List(context.Context, *ListNetworkLoadBalancersRequest) (*ListNetworkLoadBalancersResponse, error)
	// Creates a network load balancer in the specified folder using the data specified in the request.
	Create(context.Context, *CreateNetworkLoadBalancerRequest) (*operation.Operation, error)
	// Updates the specified network load balancer.
	Update(context.Context, *UpdateNetworkLoadBalancerRequest) (*operation.Operation, error)
	// Deletes the specified network load balancer.
	Delete(context.Context, *DeleteNetworkLoadBalancerRequest) (*operation.Operation, error)
	// Starts load balancing and health checking with the specified network load balancer with specified settings.
	// Changes network load balancer status to “ ACTIVE “.
	Start(context.Context, *StartNetworkLoadBalancerRequest) (*operation.Operation, error)
	// Stops load balancing and health checking with the specified network load balancer.
	// Changes load balancer status to “ STOPPED “.
	Stop(context.Context, *StopNetworkLoadBalancerRequest) (*operation.Operation, error)
	// Attaches a target group to the specified network load balancer.
	AttachTargetGroup(context.Context, *AttachNetworkLoadBalancerTargetGroupRequest) (*operation.Operation, error)
	// Detaches the target group from the specified network load balancer.
	DetachTargetGroup(context.Context, *DetachNetworkLoadBalancerTargetGroupRequest) (*operation.Operation, error)
	// Gets states of target resources in the attached target group.
	GetTargetStates(context.Context, *GetTargetStatesRequest) (*GetTargetStatesResponse, error)
	// Adds a listener to the specified network load balancer.
	AddListener(context.Context, *AddNetworkLoadBalancerListenerRequest) (*operation.Operation, error)
	// Removes the listener from the specified network load balancer.
	RemoveListener(context.Context, *RemoveNetworkLoadBalancerListenerRequest) (*operation.Operation, error)
	// Lists operations for the specified network load balancer.
	ListOperations(context.Context, *ListNetworkLoadBalancerOperationsRequest) (*ListNetworkLoadBalancerOperationsResponse, error)
}

NetworkLoadBalancerServiceServer is the server API for NetworkLoadBalancerService service. All implementations should embed UnimplementedNetworkLoadBalancerServiceServer for forward compatibility.

A set of methods for managing NetworkLoadBalancer resources.

type NetworkLoadBalancer_SessionAffinity

type NetworkLoadBalancer_SessionAffinity int32

Type of session affinity. Only 5-tuple affinity is currently available. For more information, see [Load Balancer concepts](/docs/network-load-balancer/concepts/).

const (
	NetworkLoadBalancer_SESSION_AFFINITY_UNSPECIFIED NetworkLoadBalancer_SessionAffinity = 0
	// 5-tuple affinity.
	NetworkLoadBalancer_CLIENT_IP_PORT_PROTO NetworkLoadBalancer_SessionAffinity = 1
)

func (NetworkLoadBalancer_SessionAffinity) Descriptor

func (NetworkLoadBalancer_SessionAffinity) Enum

func (NetworkLoadBalancer_SessionAffinity) EnumDescriptor deprecated

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

Deprecated: Use NetworkLoadBalancer_SessionAffinity.Descriptor instead.

func (NetworkLoadBalancer_SessionAffinity) Number

func (NetworkLoadBalancer_SessionAffinity) String

func (NetworkLoadBalancer_SessionAffinity) Type

type NetworkLoadBalancer_Status

type NetworkLoadBalancer_Status int32
const (
	NetworkLoadBalancer_STATUS_UNSPECIFIED NetworkLoadBalancer_Status = 0
	// Network load balancer is being created.
	NetworkLoadBalancer_CREATING NetworkLoadBalancer_Status = 1
	// Network load balancer is being started.
	NetworkLoadBalancer_STARTING NetworkLoadBalancer_Status = 2
	// Network load balancer is active and sends traffic to the targets.
	NetworkLoadBalancer_ACTIVE NetworkLoadBalancer_Status = 3
	// Network load balancer is being stopped.
	NetworkLoadBalancer_STOPPING NetworkLoadBalancer_Status = 4
	// Network load balancer is stopped and doesn't send traffic to the targets.
	NetworkLoadBalancer_STOPPED NetworkLoadBalancer_Status = 5
	// Network load balancer is being deleted.
	NetworkLoadBalancer_DELETING NetworkLoadBalancer_Status = 6
	// The load balancer doesn't have any listeners or target groups, or
	// attached target groups are empty. The load balancer doesn't perform any health checks or
	// send traffic in this state.
	NetworkLoadBalancer_INACTIVE NetworkLoadBalancer_Status = 7
)

func (NetworkLoadBalancer_Status) Descriptor

func (NetworkLoadBalancer_Status) Enum

func (NetworkLoadBalancer_Status) EnumDescriptor deprecated

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

Deprecated: Use NetworkLoadBalancer_Status.Descriptor instead.

func (NetworkLoadBalancer_Status) Number

func (NetworkLoadBalancer_Status) String

func (NetworkLoadBalancer_Status) Type

type NetworkLoadBalancer_Type

type NetworkLoadBalancer_Type int32
const (
	NetworkLoadBalancer_TYPE_UNSPECIFIED NetworkLoadBalancer_Type = 0
	// External network load balancer.
	NetworkLoadBalancer_EXTERNAL NetworkLoadBalancer_Type = 1
	// Internal network load balancer.
	NetworkLoadBalancer_INTERNAL NetworkLoadBalancer_Type = 2
)

func (NetworkLoadBalancer_Type) Descriptor

func (NetworkLoadBalancer_Type) Enum

func (NetworkLoadBalancer_Type) EnumDescriptor deprecated

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

Deprecated: Use NetworkLoadBalancer_Type.Descriptor instead.

func (NetworkLoadBalancer_Type) Number

func (NetworkLoadBalancer_Type) String

func (x NetworkLoadBalancer_Type) String() string

func (NetworkLoadBalancer_Type) Type

type RemoveNetworkLoadBalancerListenerMetadata

type RemoveNetworkLoadBalancerListenerMetadata struct {

	// ID of the network load balancer that the listener is being removed from.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RemoveNetworkLoadBalancerListenerMetadata) Descriptor deprecated

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

Deprecated: Use RemoveNetworkLoadBalancerListenerMetadata.ProtoReflect.Descriptor instead.

func (*RemoveNetworkLoadBalancerListenerMetadata) GetNetworkLoadBalancerId

func (x *RemoveNetworkLoadBalancerListenerMetadata) GetNetworkLoadBalancerId() string

func (*RemoveNetworkLoadBalancerListenerMetadata) ProtoMessage

func (*RemoveNetworkLoadBalancerListenerMetadata) ProtoReflect

func (*RemoveNetworkLoadBalancerListenerMetadata) Reset

func (*RemoveNetworkLoadBalancerListenerMetadata) SetNetworkLoadBalancerId

func (m *RemoveNetworkLoadBalancerListenerMetadata) SetNetworkLoadBalancerId(v string)

func (*RemoveNetworkLoadBalancerListenerMetadata) String

type RemoveNetworkLoadBalancerListenerRequest

type RemoveNetworkLoadBalancerListenerRequest struct {

	// ID of the network load balancer to remove the listener from.
	// To get the network load balancer ID, use a [NetworkLoadBalancerService.List] request.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// Name of the listener to delete.
	ListenerName string `protobuf:"bytes,2,opt,name=listener_name,json=listenerName,proto3" json:"listener_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveNetworkLoadBalancerListenerRequest) Descriptor deprecated

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

Deprecated: Use RemoveNetworkLoadBalancerListenerRequest.ProtoReflect.Descriptor instead.

func (*RemoveNetworkLoadBalancerListenerRequest) GetListenerName

func (x *RemoveNetworkLoadBalancerListenerRequest) GetListenerName() string

func (*RemoveNetworkLoadBalancerListenerRequest) GetNetworkLoadBalancerId

func (x *RemoveNetworkLoadBalancerListenerRequest) GetNetworkLoadBalancerId() string

func (*RemoveNetworkLoadBalancerListenerRequest) ProtoMessage

func (*RemoveNetworkLoadBalancerListenerRequest) ProtoReflect

func (*RemoveNetworkLoadBalancerListenerRequest) Reset

func (*RemoveNetworkLoadBalancerListenerRequest) SetListenerName

func (m *RemoveNetworkLoadBalancerListenerRequest) SetListenerName(v string)

func (*RemoveNetworkLoadBalancerListenerRequest) SetNetworkLoadBalancerId

func (m *RemoveNetworkLoadBalancerListenerRequest) SetNetworkLoadBalancerId(v string)

func (*RemoveNetworkLoadBalancerListenerRequest) String

type RemoveTargetsMetadata

type RemoveTargetsMetadata struct {

	// ID of the target group that targets are being removed from.
	TargetGroupId string `protobuf:"bytes,1,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveTargetsMetadata) Descriptor deprecated

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

Deprecated: Use RemoveTargetsMetadata.ProtoReflect.Descriptor instead.

func (*RemoveTargetsMetadata) GetTargetGroupId

func (x *RemoveTargetsMetadata) GetTargetGroupId() string

func (*RemoveTargetsMetadata) ProtoMessage

func (*RemoveTargetsMetadata) ProtoMessage()

func (*RemoveTargetsMetadata) ProtoReflect

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

func (*RemoveTargetsMetadata) Reset

func (x *RemoveTargetsMetadata) Reset()

func (*RemoveTargetsMetadata) SetTargetGroupId

func (m *RemoveTargetsMetadata) SetTargetGroupId(v string)

func (*RemoveTargetsMetadata) String

func (x *RemoveTargetsMetadata) String() string

type RemoveTargetsRequest

type RemoveTargetsRequest struct {

	// ID of the target group to remove targets from.
	// To get the target group ID, use a [TargetGroupService.List] request.
	TargetGroupId string `protobuf:"bytes,1,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"`
	// List of targets to remove from the target group.
	Targets []*Target `protobuf:"bytes,2,rep,name=targets,proto3" json:"targets,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveTargetsRequest) Descriptor deprecated

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

Deprecated: Use RemoveTargetsRequest.ProtoReflect.Descriptor instead.

func (*RemoveTargetsRequest) GetTargetGroupId

func (x *RemoveTargetsRequest) GetTargetGroupId() string

func (*RemoveTargetsRequest) GetTargets

func (x *RemoveTargetsRequest) GetTargets() []*Target

func (*RemoveTargetsRequest) ProtoMessage

func (*RemoveTargetsRequest) ProtoMessage()

func (*RemoveTargetsRequest) ProtoReflect

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

func (*RemoveTargetsRequest) Reset

func (x *RemoveTargetsRequest) Reset()

func (*RemoveTargetsRequest) SetTargetGroupId

func (m *RemoveTargetsRequest) SetTargetGroupId(v string)

func (*RemoveTargetsRequest) SetTargets

func (m *RemoveTargetsRequest) SetTargets(v []*Target)

func (*RemoveTargetsRequest) String

func (x *RemoveTargetsRequest) String() string

type StartNetworkLoadBalancerMetadata

type StartNetworkLoadBalancerMetadata struct {

	// ID of the NetworkLoadBalancer resource that is being started.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StartNetworkLoadBalancerMetadata) Descriptor deprecated

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

Deprecated: Use StartNetworkLoadBalancerMetadata.ProtoReflect.Descriptor instead.

func (*StartNetworkLoadBalancerMetadata) GetNetworkLoadBalancerId

func (x *StartNetworkLoadBalancerMetadata) GetNetworkLoadBalancerId() string

func (*StartNetworkLoadBalancerMetadata) ProtoMessage

func (*StartNetworkLoadBalancerMetadata) ProtoMessage()

func (*StartNetworkLoadBalancerMetadata) ProtoReflect

func (*StartNetworkLoadBalancerMetadata) Reset

func (*StartNetworkLoadBalancerMetadata) SetNetworkLoadBalancerId

func (m *StartNetworkLoadBalancerMetadata) SetNetworkLoadBalancerId(v string)

func (*StartNetworkLoadBalancerMetadata) String

type StartNetworkLoadBalancerRequest

type StartNetworkLoadBalancerRequest struct {

	// ID of the network load balancer to start.
	// To get the network load balancer ID, use a [NetworkLoadBalancerService.List] request.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StartNetworkLoadBalancerRequest) Descriptor deprecated

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

Deprecated: Use StartNetworkLoadBalancerRequest.ProtoReflect.Descriptor instead.

func (*StartNetworkLoadBalancerRequest) GetNetworkLoadBalancerId

func (x *StartNetworkLoadBalancerRequest) GetNetworkLoadBalancerId() string

func (*StartNetworkLoadBalancerRequest) ProtoMessage

func (*StartNetworkLoadBalancerRequest) ProtoMessage()

func (*StartNetworkLoadBalancerRequest) ProtoReflect

func (*StartNetworkLoadBalancerRequest) Reset

func (*StartNetworkLoadBalancerRequest) SetNetworkLoadBalancerId

func (m *StartNetworkLoadBalancerRequest) SetNetworkLoadBalancerId(v string)

func (*StartNetworkLoadBalancerRequest) String

type StopNetworkLoadBalancerMetadata

type StopNetworkLoadBalancerMetadata struct {

	// ID of the NetworkLoadBalancer resource that is being stopped.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StopNetworkLoadBalancerMetadata) Descriptor deprecated

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

Deprecated: Use StopNetworkLoadBalancerMetadata.ProtoReflect.Descriptor instead.

func (*StopNetworkLoadBalancerMetadata) GetNetworkLoadBalancerId

func (x *StopNetworkLoadBalancerMetadata) GetNetworkLoadBalancerId() string

func (*StopNetworkLoadBalancerMetadata) ProtoMessage

func (*StopNetworkLoadBalancerMetadata) ProtoMessage()

func (*StopNetworkLoadBalancerMetadata) ProtoReflect

func (*StopNetworkLoadBalancerMetadata) Reset

func (*StopNetworkLoadBalancerMetadata) SetNetworkLoadBalancerId

func (m *StopNetworkLoadBalancerMetadata) SetNetworkLoadBalancerId(v string)

func (*StopNetworkLoadBalancerMetadata) String

type StopNetworkLoadBalancerRequest

type StopNetworkLoadBalancerRequest struct {

	// ID of the network load balancer to stop.
	// To get the network load balancer ID, use a [NetworkLoadBalancerService.List] request.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StopNetworkLoadBalancerRequest) Descriptor deprecated

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

Deprecated: Use StopNetworkLoadBalancerRequest.ProtoReflect.Descriptor instead.

func (*StopNetworkLoadBalancerRequest) GetNetworkLoadBalancerId

func (x *StopNetworkLoadBalancerRequest) GetNetworkLoadBalancerId() string

func (*StopNetworkLoadBalancerRequest) ProtoMessage

func (*StopNetworkLoadBalancerRequest) ProtoMessage()

func (*StopNetworkLoadBalancerRequest) ProtoReflect

func (*StopNetworkLoadBalancerRequest) Reset

func (x *StopNetworkLoadBalancerRequest) Reset()

func (*StopNetworkLoadBalancerRequest) SetNetworkLoadBalancerId

func (m *StopNetworkLoadBalancerRequest) SetNetworkLoadBalancerId(v string)

func (*StopNetworkLoadBalancerRequest) String

type Target

type Target struct {

	// ID of the subnet that targets are connected to.
	// All targets in the target group must be connected to the same subnet within a single availability zone.
	SubnetId string `protobuf:"bytes,1,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// IP address of the target.
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

A Target resource. For more information, see [Target groups and resources](/docs/network-load-balancer/concepts/target-resources).

func (*Target) Descriptor deprecated

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

Deprecated: Use Target.ProtoReflect.Descriptor instead.

func (*Target) GetAddress

func (x *Target) GetAddress() string

func (*Target) GetSubnetId

func (x *Target) GetSubnetId() string

func (*Target) ProtoMessage

func (*Target) ProtoMessage()

func (*Target) ProtoReflect

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

func (*Target) Reset

func (x *Target) Reset()

func (*Target) SetAddress

func (m *Target) SetAddress(v string)

func (*Target) SetSubnetId

func (m *Target) SetSubnetId(v string)

func (*Target) String

func (x *Target) String() string

type TargetGroup

type TargetGroup struct {

	// Output only. ID of the target group.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the target group belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Output only. Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the target group.
	// The name is unique within the folder. 3-63 characters long.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the target group. 0-256 characters long.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Resource labels as “ key:value “ pairs. Maximum of 64 per resource.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// ID of the region where the target group resides.
	RegionId string `protobuf:"bytes,7,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	// A list of targets in the target group.
	Targets []*Target `protobuf:"bytes,9,rep,name=targets,proto3" json:"targets,omitempty"`
	// contains filtered or unexported fields
}

A TargetGroup resource. For more information, see [Target groups and resources](/docs/network-load-balancer/concepts/target-resources).

func (*TargetGroup) Descriptor deprecated

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

Deprecated: Use TargetGroup.ProtoReflect.Descriptor instead.

func (*TargetGroup) GetCreatedAt

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

func (*TargetGroup) GetDescription

func (x *TargetGroup) GetDescription() string

func (*TargetGroup) GetFolderId

func (x *TargetGroup) GetFolderId() string

func (*TargetGroup) GetId

func (x *TargetGroup) GetId() string

func (*TargetGroup) GetLabels

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

func (*TargetGroup) GetName

func (x *TargetGroup) GetName() string

func (*TargetGroup) GetRegionId

func (x *TargetGroup) GetRegionId() string

func (*TargetGroup) GetTargets

func (x *TargetGroup) GetTargets() []*Target

func (*TargetGroup) ProtoMessage

func (*TargetGroup) ProtoMessage()

func (*TargetGroup) ProtoReflect

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

func (*TargetGroup) Reset

func (x *TargetGroup) Reset()

func (*TargetGroup) SetCreatedAt

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

func (*TargetGroup) SetDescription

func (m *TargetGroup) SetDescription(v string)

func (*TargetGroup) SetFolderId

func (m *TargetGroup) SetFolderId(v string)

func (*TargetGroup) SetId

func (m *TargetGroup) SetId(v string)

func (*TargetGroup) SetLabels

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

func (*TargetGroup) SetName

func (m *TargetGroup) SetName(v string)

func (*TargetGroup) SetRegionId

func (m *TargetGroup) SetRegionId(v string)

func (*TargetGroup) SetTargets

func (m *TargetGroup) SetTargets(v []*Target)

func (*TargetGroup) String

func (x *TargetGroup) String() string

type TargetGroupServiceClient

type TargetGroupServiceClient interface {
	// Returns the specified TargetGroup resource.
	Get(ctx context.Context, in *GetTargetGroupRequest, opts ...grpc.CallOption) (*TargetGroup, error)
	// Retrieves the list of TargetGroup resources in the specified folder.
	List(ctx context.Context, in *ListTargetGroupsRequest, opts ...grpc.CallOption) (*ListTargetGroupsResponse, error)
	// Creates a target group in the specified folder and adds the specified targets to it.
	Create(ctx context.Context, in *CreateTargetGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified target group.
	Update(ctx context.Context, in *UpdateTargetGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified target group.
	Delete(ctx context.Context, in *DeleteTargetGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Adds targets to the target group.
	AddTargets(ctx context.Context, in *AddTargetsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Removes targets from the target group.
	RemoveTargets(ctx context.Context, in *RemoveTargetsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Lists operations for the specified target group.
	ListOperations(ctx context.Context, in *ListTargetGroupOperationsRequest, opts ...grpc.CallOption) (*ListTargetGroupOperationsResponse, error)
}

TargetGroupServiceClient is the client API for TargetGroupService 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 TargetGroup resources.

type TargetGroupServiceServer

type TargetGroupServiceServer interface {
	// Returns the specified TargetGroup resource.
	Get(context.Context, *GetTargetGroupRequest) (*TargetGroup, error)
	// Retrieves the list of TargetGroup resources in the specified folder.
	List(context.Context, *ListTargetGroupsRequest) (*ListTargetGroupsResponse, error)
	// Creates a target group in the specified folder and adds the specified targets to it.
	Create(context.Context, *CreateTargetGroupRequest) (*operation.Operation, error)
	// Updates the specified target group.
	Update(context.Context, *UpdateTargetGroupRequest) (*operation.Operation, error)
	// Deletes the specified target group.
	Delete(context.Context, *DeleteTargetGroupRequest) (*operation.Operation, error)
	// Adds targets to the target group.
	AddTargets(context.Context, *AddTargetsRequest) (*operation.Operation, error)
	// Removes targets from the target group.
	RemoveTargets(context.Context, *RemoveTargetsRequest) (*operation.Operation, error)
	// Lists operations for the specified target group.
	ListOperations(context.Context, *ListTargetGroupOperationsRequest) (*ListTargetGroupOperationsResponse, error)
}

TargetGroupServiceServer is the server API for TargetGroupService service. All implementations should embed UnimplementedTargetGroupServiceServer for forward compatibility.

A set of methods for managing TargetGroup resources.

type TargetState

type TargetState struct {

	// ID of the subnet that the target is connected to.
	SubnetId string `protobuf:"bytes,1,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// IP address of the target.
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// Status of the target.
	Status TargetState_Status `protobuf:"varint,3,opt,name=status,proto3,enum=yandex.cloud.loadbalancer.v1.TargetState_Status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

State of the target that was returned after the last health check.

func (*TargetState) Descriptor deprecated

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

Deprecated: Use TargetState.ProtoReflect.Descriptor instead.

func (*TargetState) GetAddress

func (x *TargetState) GetAddress() string

func (*TargetState) GetStatus

func (x *TargetState) GetStatus() TargetState_Status

func (*TargetState) GetSubnetId

func (x *TargetState) GetSubnetId() string

func (*TargetState) ProtoMessage

func (*TargetState) ProtoMessage()

func (*TargetState) ProtoReflect

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

func (*TargetState) Reset

func (x *TargetState) Reset()

func (*TargetState) SetAddress

func (m *TargetState) SetAddress(v string)

func (*TargetState) SetStatus

func (m *TargetState) SetStatus(v TargetState_Status)

func (*TargetState) SetSubnetId

func (m *TargetState) SetSubnetId(v string)

func (*TargetState) String

func (x *TargetState) String() string

type TargetState_Status

type TargetState_Status int32

Status of the target.

const (
	TargetState_STATUS_UNSPECIFIED TargetState_Status = 0
	// The network load balancer is setting up health checks for this target.
	TargetState_INITIAL TargetState_Status = 1
	// Health check passed and the target is ready to receive traffic.
	TargetState_HEALTHY TargetState_Status = 2
	// Health check failed and the target is not receiving traffic.
	TargetState_UNHEALTHY TargetState_Status = 3
	// Target is being deleted and the network load balancer is no longer sending traffic to this target.
	TargetState_DRAINING TargetState_Status = 4
	// The network load balancer is stopped and not performing health checks on this target.
	TargetState_INACTIVE TargetState_Status = 5
)

func (TargetState_Status) Descriptor

func (TargetState_Status) Enum

func (TargetState_Status) EnumDescriptor deprecated

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

Deprecated: Use TargetState_Status.Descriptor instead.

func (TargetState_Status) Number

func (TargetState_Status) String

func (x TargetState_Status) String() string

func (TargetState_Status) Type

type UnimplementedNetworkLoadBalancerServiceServer

type UnimplementedNetworkLoadBalancerServiceServer struct{}

UnimplementedNetworkLoadBalancerServiceServer 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 (UnimplementedNetworkLoadBalancerServiceServer) AddListener

func (UnimplementedNetworkLoadBalancerServiceServer) Create

func (UnimplementedNetworkLoadBalancerServiceServer) Delete

func (UnimplementedNetworkLoadBalancerServiceServer) Get

func (UnimplementedNetworkLoadBalancerServiceServer) GetTargetStates

func (UnimplementedNetworkLoadBalancerServiceServer) RemoveListener

func (UnimplementedNetworkLoadBalancerServiceServer) Start

func (UnimplementedNetworkLoadBalancerServiceServer) Stop

func (UnimplementedNetworkLoadBalancerServiceServer) Update

type UnimplementedTargetGroupServiceServer

type UnimplementedTargetGroupServiceServer struct{}

UnimplementedTargetGroupServiceServer 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 (UnimplementedTargetGroupServiceServer) AddTargets

func (UnimplementedTargetGroupServiceServer) Create

func (UnimplementedTargetGroupServiceServer) Delete

func (UnimplementedTargetGroupServiceServer) Get

func (UnimplementedTargetGroupServiceServer) List

func (UnimplementedTargetGroupServiceServer) RemoveTargets

func (UnimplementedTargetGroupServiceServer) Update

type UnsafeNetworkLoadBalancerServiceServer

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

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

type UnsafeTargetGroupServiceServer

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

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

type UpdateNetworkLoadBalancerMetadata

type UpdateNetworkLoadBalancerMetadata struct {

	// ID of the NetworkLoadBalancer resource that is being updated.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateNetworkLoadBalancerMetadata) Descriptor deprecated

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

Deprecated: Use UpdateNetworkLoadBalancerMetadata.ProtoReflect.Descriptor instead.

func (*UpdateNetworkLoadBalancerMetadata) GetNetworkLoadBalancerId

func (x *UpdateNetworkLoadBalancerMetadata) GetNetworkLoadBalancerId() string

func (*UpdateNetworkLoadBalancerMetadata) ProtoMessage

func (*UpdateNetworkLoadBalancerMetadata) ProtoMessage()

func (*UpdateNetworkLoadBalancerMetadata) ProtoReflect

func (*UpdateNetworkLoadBalancerMetadata) Reset

func (*UpdateNetworkLoadBalancerMetadata) SetNetworkLoadBalancerId

func (m *UpdateNetworkLoadBalancerMetadata) SetNetworkLoadBalancerId(v string)

func (*UpdateNetworkLoadBalancerMetadata) String

type UpdateNetworkLoadBalancerRequest

type UpdateNetworkLoadBalancerRequest struct {

	// ID of the network load balancer to update.
	// To get the network load balancer ID, use a [NetworkLoadBalancerService.List] request.
	NetworkLoadBalancerId string `` /* 128-byte string literal not displayed */
	// Field mask that specifies which fields of the NetworkLoadBalancer resource are going to be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Name of the network load balancer.
	// The name must be unique within the folder.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the network load balancer.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Resource labels as “ key:value “ pairs.
	//
	// The existing set of “ labels “ is completely replaced with the provided set.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// A list of listeners and their specs for the network load balancer.
	ListenerSpecs []*ListenerSpec `protobuf:"bytes,6,rep,name=listener_specs,json=listenerSpecs,proto3" json:"listener_specs,omitempty"`
	// A list of attached target groups for the network load balancer.
	AttachedTargetGroups []*AttachedTargetGroup `protobuf:"bytes,7,rep,name=attached_target_groups,json=attachedTargetGroups,proto3" json:"attached_target_groups,omitempty"`
	// Specifies if network load balancer protected from deletion.
	DeletionProtection bool `protobuf:"varint,8,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateNetworkLoadBalancerRequest) Descriptor deprecated

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

Deprecated: Use UpdateNetworkLoadBalancerRequest.ProtoReflect.Descriptor instead.

func (*UpdateNetworkLoadBalancerRequest) GetAttachedTargetGroups

func (x *UpdateNetworkLoadBalancerRequest) GetAttachedTargetGroups() []*AttachedTargetGroup

func (*UpdateNetworkLoadBalancerRequest) GetDeletionProtection

func (x *UpdateNetworkLoadBalancerRequest) GetDeletionProtection() bool

func (*UpdateNetworkLoadBalancerRequest) GetDescription

func (x *UpdateNetworkLoadBalancerRequest) GetDescription() string

func (*UpdateNetworkLoadBalancerRequest) GetLabels

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

func (*UpdateNetworkLoadBalancerRequest) GetListenerSpecs

func (x *UpdateNetworkLoadBalancerRequest) GetListenerSpecs() []*ListenerSpec

func (*UpdateNetworkLoadBalancerRequest) GetName

func (*UpdateNetworkLoadBalancerRequest) GetNetworkLoadBalancerId

func (x *UpdateNetworkLoadBalancerRequest) GetNetworkLoadBalancerId() string

func (*UpdateNetworkLoadBalancerRequest) GetUpdateMask

func (*UpdateNetworkLoadBalancerRequest) ProtoMessage

func (*UpdateNetworkLoadBalancerRequest) ProtoMessage()

func (*UpdateNetworkLoadBalancerRequest) ProtoReflect

func (*UpdateNetworkLoadBalancerRequest) Reset

func (*UpdateNetworkLoadBalancerRequest) SetAttachedTargetGroups

func (m *UpdateNetworkLoadBalancerRequest) SetAttachedTargetGroups(v []*AttachedTargetGroup)

func (*UpdateNetworkLoadBalancerRequest) SetDeletionProtection

func (m *UpdateNetworkLoadBalancerRequest) SetDeletionProtection(v bool)

func (*UpdateNetworkLoadBalancerRequest) SetDescription

func (m *UpdateNetworkLoadBalancerRequest) SetDescription(v string)

func (*UpdateNetworkLoadBalancerRequest) SetLabels

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

func (*UpdateNetworkLoadBalancerRequest) SetListenerSpecs

func (m *UpdateNetworkLoadBalancerRequest) SetListenerSpecs(v []*ListenerSpec)

func (*UpdateNetworkLoadBalancerRequest) SetName

func (*UpdateNetworkLoadBalancerRequest) SetNetworkLoadBalancerId

func (m *UpdateNetworkLoadBalancerRequest) SetNetworkLoadBalancerId(v string)

func (*UpdateNetworkLoadBalancerRequest) SetUpdateMask

func (*UpdateNetworkLoadBalancerRequest) String

type UpdateTargetGroupMetadata

type UpdateTargetGroupMetadata struct {

	// ID of the target group that is being updated.
	TargetGroupId string `protobuf:"bytes,1,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTargetGroupMetadata) Descriptor deprecated

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

Deprecated: Use UpdateTargetGroupMetadata.ProtoReflect.Descriptor instead.

func (*UpdateTargetGroupMetadata) GetTargetGroupId

func (x *UpdateTargetGroupMetadata) GetTargetGroupId() string

func (*UpdateTargetGroupMetadata) ProtoMessage

func (*UpdateTargetGroupMetadata) ProtoMessage()

func (*UpdateTargetGroupMetadata) ProtoReflect

func (*UpdateTargetGroupMetadata) Reset

func (x *UpdateTargetGroupMetadata) Reset()

func (*UpdateTargetGroupMetadata) SetTargetGroupId

func (m *UpdateTargetGroupMetadata) SetTargetGroupId(v string)

func (*UpdateTargetGroupMetadata) String

func (x *UpdateTargetGroupMetadata) String() string

type UpdateTargetGroupRequest

type UpdateTargetGroupRequest struct {

	// ID of the TargetGroup resource to update.
	// To get the target group ID, use a [TargetGroupService.List] request.
	TargetGroupId string `protobuf:"bytes,1,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"`
	// Field mask that specifies which fields of the TargetGroup resource are going to be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Name of the target group.
	// The name must be unique within the folder.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the target group.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Resource labels as “ key:value “ pairs.
	//
	// The existing set of “ labels “ is completely replaced with the provided set.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// A new list of targets for this target group.
	Targets []*Target `protobuf:"bytes,6,rep,name=targets,proto3" json:"targets,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateTargetGroupRequest) Descriptor deprecated

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

Deprecated: Use UpdateTargetGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateTargetGroupRequest) GetDescription

func (x *UpdateTargetGroupRequest) GetDescription() string

func (*UpdateTargetGroupRequest) GetLabels

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

func (*UpdateTargetGroupRequest) GetName

func (x *UpdateTargetGroupRequest) GetName() string

func (*UpdateTargetGroupRequest) GetTargetGroupId

func (x *UpdateTargetGroupRequest) GetTargetGroupId() string

func (*UpdateTargetGroupRequest) GetTargets

func (x *UpdateTargetGroupRequest) GetTargets() []*Target

func (*UpdateTargetGroupRequest) GetUpdateMask

func (x *UpdateTargetGroupRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateTargetGroupRequest) ProtoMessage

func (*UpdateTargetGroupRequest) ProtoMessage()

func (*UpdateTargetGroupRequest) ProtoReflect

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

func (*UpdateTargetGroupRequest) Reset

func (x *UpdateTargetGroupRequest) Reset()

func (*UpdateTargetGroupRequest) SetDescription

func (m *UpdateTargetGroupRequest) SetDescription(v string)

func (*UpdateTargetGroupRequest) SetLabels

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

func (*UpdateTargetGroupRequest) SetName

func (m *UpdateTargetGroupRequest) SetName(v string)

func (*UpdateTargetGroupRequest) SetTargetGroupId

func (m *UpdateTargetGroupRequest) SetTargetGroupId(v string)

func (*UpdateTargetGroupRequest) SetTargets

func (m *UpdateTargetGroupRequest) SetTargets(v []*Target)

func (*UpdateTargetGroupRequest) SetUpdateMask

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

func (*UpdateTargetGroupRequest) String

func (x *UpdateTargetGroupRequest) String() string

Jump to

Keyboard shortcuts

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