Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterInstanceGroupServiceServer(s grpc.ServiceRegistrar, srv InstanceGroupServiceServer)
- type AllocationPolicy
- func (*AllocationPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *AllocationPolicy) GetZones() []*AllocationPolicy_Zone
- func (*AllocationPolicy) ProtoMessage()
- func (x *AllocationPolicy) ProtoReflect() protoreflect.Message
- func (x *AllocationPolicy) Reset()
- func (m *AllocationPolicy) SetZones(v []*AllocationPolicy_Zone)
- func (x *AllocationPolicy) String() string
- type AllocationPolicy_Zone
- func (*AllocationPolicy_Zone) Descriptor() ([]byte, []int)deprecated
- func (x *AllocationPolicy_Zone) GetInstanceTagsPool() []string
- func (x *AllocationPolicy_Zone) GetZoneId() string
- func (*AllocationPolicy_Zone) ProtoMessage()
- func (x *AllocationPolicy_Zone) ProtoReflect() protoreflect.Message
- func (x *AllocationPolicy_Zone) Reset()
- func (m *AllocationPolicy_Zone) SetInstanceTagsPool(v []string)
- func (m *AllocationPolicy_Zone) SetZoneId(v string)
- func (x *AllocationPolicy_Zone) String() string
- type ApplicationLoadBalancerSpec
- func (*ApplicationLoadBalancerSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationLoadBalancerSpec) GetIgnoreHealthChecks() bool
- func (x *ApplicationLoadBalancerSpec) GetMaxOpeningTrafficDuration() *durationpb.Duration
- func (x *ApplicationLoadBalancerSpec) GetTargetGroupSpec() *ApplicationTargetGroupSpec
- func (*ApplicationLoadBalancerSpec) ProtoMessage()
- func (x *ApplicationLoadBalancerSpec) ProtoReflect() protoreflect.Message
- func (x *ApplicationLoadBalancerSpec) Reset()
- func (m *ApplicationLoadBalancerSpec) SetIgnoreHealthChecks(v bool)
- func (m *ApplicationLoadBalancerSpec) SetMaxOpeningTrafficDuration(v *durationpb.Duration)
- func (m *ApplicationLoadBalancerSpec) SetTargetGroupSpec(v *ApplicationTargetGroupSpec)
- func (x *ApplicationLoadBalancerSpec) String() string
- type ApplicationLoadBalancerState
- func (*ApplicationLoadBalancerState) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationLoadBalancerState) GetStatusMessage() string
- func (x *ApplicationLoadBalancerState) GetTargetGroupId() string
- func (*ApplicationLoadBalancerState) ProtoMessage()
- func (x *ApplicationLoadBalancerState) ProtoReflect() protoreflect.Message
- func (x *ApplicationLoadBalancerState) Reset()
- func (m *ApplicationLoadBalancerState) SetStatusMessage(v string)
- func (m *ApplicationLoadBalancerState) SetTargetGroupId(v string)
- func (x *ApplicationLoadBalancerState) String() string
- type ApplicationTargetGroupSpec
- func (*ApplicationTargetGroupSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationTargetGroupSpec) GetDescription() string
- func (x *ApplicationTargetGroupSpec) GetLabels() map[string]string
- func (x *ApplicationTargetGroupSpec) GetName() string
- func (*ApplicationTargetGroupSpec) ProtoMessage()
- func (x *ApplicationTargetGroupSpec) ProtoReflect() protoreflect.Message
- func (x *ApplicationTargetGroupSpec) Reset()
- func (m *ApplicationTargetGroupSpec) SetDescription(v string)
- func (m *ApplicationTargetGroupSpec) SetLabels(v map[string]string)
- func (m *ApplicationTargetGroupSpec) SetName(v string)
- func (x *ApplicationTargetGroupSpec) String() string
- type AttachedDiskSpec
- func (*AttachedDiskSpec) Descriptor() ([]byte, []int)deprecated
- func (x *AttachedDiskSpec) GetDeviceName() string
- func (x *AttachedDiskSpec) GetDiskId() string
- func (x *AttachedDiskSpec) GetDiskSpec() *AttachedDiskSpec_DiskSpec
- func (x *AttachedDiskSpec) GetMode() AttachedDiskSpec_Mode
- func (x *AttachedDiskSpec) GetName() string
- func (*AttachedDiskSpec) ProtoMessage()
- func (x *AttachedDiskSpec) ProtoReflect() protoreflect.Message
- func (x *AttachedDiskSpec) Reset()
- func (m *AttachedDiskSpec) SetDeviceName(v string)
- func (m *AttachedDiskSpec) SetDiskId(v string)
- func (m *AttachedDiskSpec) SetDiskSpec(v *AttachedDiskSpec_DiskSpec)
- func (m *AttachedDiskSpec) SetMode(v AttachedDiskSpec_Mode)
- func (m *AttachedDiskSpec) SetName(v string)
- func (x *AttachedDiskSpec) String() string
- type AttachedDiskSpec_DiskSpec
- func (*AttachedDiskSpec_DiskSpec) Descriptor() ([]byte, []int)deprecated
- func (x *AttachedDiskSpec_DiskSpec) GetDescription() string
- func (x *AttachedDiskSpec_DiskSpec) GetImageId() string
- func (x *AttachedDiskSpec_DiskSpec) GetPreserveAfterInstanceDelete() bool
- func (x *AttachedDiskSpec_DiskSpec) GetSize() int64
- func (x *AttachedDiskSpec_DiskSpec) GetSnapshotId() string
- func (m *AttachedDiskSpec_DiskSpec) GetSourceOneof() isAttachedDiskSpec_DiskSpec_SourceOneof
- func (x *AttachedDiskSpec_DiskSpec) GetTypeId() string
- func (*AttachedDiskSpec_DiskSpec) ProtoMessage()
- func (x *AttachedDiskSpec_DiskSpec) ProtoReflect() protoreflect.Message
- func (x *AttachedDiskSpec_DiskSpec) Reset()
- func (m *AttachedDiskSpec_DiskSpec) SetDescription(v string)
- func (m *AttachedDiskSpec_DiskSpec) SetImageId(v string)
- func (m *AttachedDiskSpec_DiskSpec) SetPreserveAfterInstanceDelete(v bool)
- func (m *AttachedDiskSpec_DiskSpec) SetSize(v int64)
- func (m *AttachedDiskSpec_DiskSpec) SetSnapshotId(v string)
- func (m *AttachedDiskSpec_DiskSpec) SetSourceOneof(v AttachedDiskSpec_DiskSpec_SourceOneof)
- func (m *AttachedDiskSpec_DiskSpec) SetTypeId(v string)
- func (x *AttachedDiskSpec_DiskSpec) String() string
- type AttachedDiskSpec_DiskSpec_ImageId
- type AttachedDiskSpec_DiskSpec_SnapshotId
- type AttachedDiskSpec_DiskSpec_SourceOneof
- type AttachedDiskSpec_Mode
- func (AttachedDiskSpec_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x AttachedDiskSpec_Mode) Enum() *AttachedDiskSpec_Mode
- func (AttachedDiskSpec_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x AttachedDiskSpec_Mode) Number() protoreflect.EnumNumber
- func (x AttachedDiskSpec_Mode) String() string
- func (AttachedDiskSpec_Mode) Type() protoreflect.EnumType
- type AttachedFilesystemSpec
- func (*AttachedFilesystemSpec) Descriptor() ([]byte, []int)deprecated
- func (x *AttachedFilesystemSpec) GetDeviceName() string
- func (x *AttachedFilesystemSpec) GetFilesystemId() string
- func (x *AttachedFilesystemSpec) GetMode() AttachedFilesystemSpec_Mode
- func (*AttachedFilesystemSpec) ProtoMessage()
- func (x *AttachedFilesystemSpec) ProtoReflect() protoreflect.Message
- func (x *AttachedFilesystemSpec) Reset()
- func (m *AttachedFilesystemSpec) SetDeviceName(v string)
- func (m *AttachedFilesystemSpec) SetFilesystemId(v string)
- func (m *AttachedFilesystemSpec) SetMode(v AttachedFilesystemSpec_Mode)
- func (x *AttachedFilesystemSpec) String() string
- type AttachedFilesystemSpec_Mode
- func (AttachedFilesystemSpec_Mode) Descriptor() protoreflect.EnumDescriptor
- func (x AttachedFilesystemSpec_Mode) Enum() *AttachedFilesystemSpec_Mode
- func (AttachedFilesystemSpec_Mode) EnumDescriptor() ([]byte, []int)deprecated
- func (x AttachedFilesystemSpec_Mode) Number() protoreflect.EnumNumber
- func (x AttachedFilesystemSpec_Mode) String() string
- func (AttachedFilesystemSpec_Mode) Type() protoreflect.EnumType
- type AutoHealingPolicy
- func (*AutoHealingPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *AutoHealingPolicy) GetAutoHealingAction() AutoHealingPolicy_AutoHealingAction
- func (*AutoHealingPolicy) ProtoMessage()
- func (x *AutoHealingPolicy) ProtoReflect() protoreflect.Message
- func (x *AutoHealingPolicy) Reset()
- func (m *AutoHealingPolicy) SetAutoHealingAction(v AutoHealingPolicy_AutoHealingAction)
- func (x *AutoHealingPolicy) String() string
- type AutoHealingPolicy_AutoHealingAction
- func (AutoHealingPolicy_AutoHealingAction) Descriptor() protoreflect.EnumDescriptor
- func (x AutoHealingPolicy_AutoHealingAction) Enum() *AutoHealingPolicy_AutoHealingAction
- func (AutoHealingPolicy_AutoHealingAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x AutoHealingPolicy_AutoHealingAction) Number() protoreflect.EnumNumber
- func (x AutoHealingPolicy_AutoHealingAction) String() string
- func (AutoHealingPolicy_AutoHealingAction) Type() protoreflect.EnumType
- type CreateInstanceGroupFromYamlRequest
- func (*CreateInstanceGroupFromYamlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInstanceGroupFromYamlRequest) GetFolderId() string
- func (x *CreateInstanceGroupFromYamlRequest) GetInstanceGroupYaml() string
- func (*CreateInstanceGroupFromYamlRequest) ProtoMessage()
- func (x *CreateInstanceGroupFromYamlRequest) ProtoReflect() protoreflect.Message
- func (x *CreateInstanceGroupFromYamlRequest) Reset()
- func (m *CreateInstanceGroupFromYamlRequest) SetFolderId(v string)
- func (m *CreateInstanceGroupFromYamlRequest) SetInstanceGroupYaml(v string)
- func (x *CreateInstanceGroupFromYamlRequest) String() string
- type CreateInstanceGroupMetadata
- func (*CreateInstanceGroupMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInstanceGroupMetadata) GetInstanceGroupId() string
- func (*CreateInstanceGroupMetadata) ProtoMessage()
- func (x *CreateInstanceGroupMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateInstanceGroupMetadata) Reset()
- func (m *CreateInstanceGroupMetadata) SetInstanceGroupId(v string)
- func (x *CreateInstanceGroupMetadata) String() string
- type CreateInstanceGroupRequest
- func (*CreateInstanceGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInstanceGroupRequest) GetAllocationPolicy() *AllocationPolicy
- func (x *CreateInstanceGroupRequest) GetApplicationLoadBalancerSpec() *ApplicationLoadBalancerSpec
- func (x *CreateInstanceGroupRequest) GetDeletionProtection() bool
- func (x *CreateInstanceGroupRequest) GetDeployPolicy() *DeployPolicy
- func (x *CreateInstanceGroupRequest) GetDescription() string
- func (x *CreateInstanceGroupRequest) GetFolderId() string
- func (x *CreateInstanceGroupRequest) GetHealthChecksSpec() *HealthChecksSpec
- func (x *CreateInstanceGroupRequest) GetInstanceTemplate() *InstanceTemplate
- func (x *CreateInstanceGroupRequest) GetLabels() map[string]string
- func (x *CreateInstanceGroupRequest) GetLoadBalancerSpec() *LoadBalancerSpec
- func (x *CreateInstanceGroupRequest) GetName() string
- func (x *CreateInstanceGroupRequest) GetScalePolicy() *ScalePolicy
- func (x *CreateInstanceGroupRequest) GetServiceAccountId() string
- func (x *CreateInstanceGroupRequest) GetVariables() []*Variable
- func (*CreateInstanceGroupRequest) ProtoMessage()
- func (x *CreateInstanceGroupRequest) ProtoReflect() protoreflect.Message
- func (x *CreateInstanceGroupRequest) Reset()
- func (m *CreateInstanceGroupRequest) SetAllocationPolicy(v *AllocationPolicy)
- func (m *CreateInstanceGroupRequest) SetApplicationLoadBalancerSpec(v *ApplicationLoadBalancerSpec)
- func (m *CreateInstanceGroupRequest) SetDeletionProtection(v bool)
- func (m *CreateInstanceGroupRequest) SetDeployPolicy(v *DeployPolicy)
- func (m *CreateInstanceGroupRequest) SetDescription(v string)
- func (m *CreateInstanceGroupRequest) SetFolderId(v string)
- func (m *CreateInstanceGroupRequest) SetHealthChecksSpec(v *HealthChecksSpec)
- func (m *CreateInstanceGroupRequest) SetInstanceTemplate(v *InstanceTemplate)
- func (m *CreateInstanceGroupRequest) SetLabels(v map[string]string)
- func (m *CreateInstanceGroupRequest) SetLoadBalancerSpec(v *LoadBalancerSpec)
- func (m *CreateInstanceGroupRequest) SetName(v string)
- func (m *CreateInstanceGroupRequest) SetScalePolicy(v *ScalePolicy)
- func (m *CreateInstanceGroupRequest) SetServiceAccountId(v string)
- func (m *CreateInstanceGroupRequest) SetVariables(v []*Variable)
- func (x *CreateInstanceGroupRequest) String() string
- type DeleteInstanceGroupMetadata
- func (*DeleteInstanceGroupMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteInstanceGroupMetadata) GetInstanceGroupId() string
- func (*DeleteInstanceGroupMetadata) ProtoMessage()
- func (x *DeleteInstanceGroupMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteInstanceGroupMetadata) Reset()
- func (m *DeleteInstanceGroupMetadata) SetInstanceGroupId(v string)
- func (x *DeleteInstanceGroupMetadata) String() string
- type DeleteInstanceGroupRequest
- func (*DeleteInstanceGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteInstanceGroupRequest) GetInstanceGroupId() string
- func (*DeleteInstanceGroupRequest) ProtoMessage()
- func (x *DeleteInstanceGroupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteInstanceGroupRequest) Reset()
- func (m *DeleteInstanceGroupRequest) SetInstanceGroupId(v string)
- func (x *DeleteInstanceGroupRequest) String() string
- type DeleteInstancesMetadata
- func (*DeleteInstancesMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteInstancesMetadata) GetInstanceGroupId() string
- func (*DeleteInstancesMetadata) ProtoMessage()
- func (x *DeleteInstancesMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteInstancesMetadata) Reset()
- func (m *DeleteInstancesMetadata) SetInstanceGroupId(v string)
- func (x *DeleteInstancesMetadata) String() string
- type DeleteInstancesRequest
- func (*DeleteInstancesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteInstancesRequest) GetCreateAnother() bool
- func (x *DeleteInstancesRequest) GetInstanceGroupId() string
- func (x *DeleteInstancesRequest) GetManagedInstanceIds() []string
- func (*DeleteInstancesRequest) ProtoMessage()
- func (x *DeleteInstancesRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteInstancesRequest) Reset()
- func (m *DeleteInstancesRequest) SetCreateAnother(v bool)
- func (m *DeleteInstancesRequest) SetInstanceGroupId(v string)
- func (m *DeleteInstancesRequest) SetManagedInstanceIds(v []string)
- func (x *DeleteInstancesRequest) String() string
- type DeployPolicy
- func (*DeployPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *DeployPolicy) GetMaxCreating() int64
- func (x *DeployPolicy) GetMaxDeleting() int64
- func (x *DeployPolicy) GetMaxExpansion() int64
- func (x *DeployPolicy) GetMaxUnavailable() int64
- func (x *DeployPolicy) GetMinimalAction() DeployPolicy_MinimalAction
- func (x *DeployPolicy) GetStartupDuration() *durationpb.Duration
- func (x *DeployPolicy) GetStrategy() DeployPolicy_Strategy
- func (*DeployPolicy) ProtoMessage()
- func (x *DeployPolicy) ProtoReflect() protoreflect.Message
- func (x *DeployPolicy) Reset()
- func (m *DeployPolicy) SetMaxCreating(v int64)
- func (m *DeployPolicy) SetMaxDeleting(v int64)
- func (m *DeployPolicy) SetMaxExpansion(v int64)
- func (m *DeployPolicy) SetMaxUnavailable(v int64)
- func (m *DeployPolicy) SetMinimalAction(v DeployPolicy_MinimalAction)
- func (m *DeployPolicy) SetStartupDuration(v *durationpb.Duration)
- func (m *DeployPolicy) SetStrategy(v DeployPolicy_Strategy)
- func (x *DeployPolicy) String() string
- type DeployPolicy_MinimalAction
- func (DeployPolicy_MinimalAction) Descriptor() protoreflect.EnumDescriptor
- func (x DeployPolicy_MinimalAction) Enum() *DeployPolicy_MinimalAction
- func (DeployPolicy_MinimalAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeployPolicy_MinimalAction) Number() protoreflect.EnumNumber
- func (x DeployPolicy_MinimalAction) String() string
- func (DeployPolicy_MinimalAction) Type() protoreflect.EnumType
- type DeployPolicy_Strategy
- func (DeployPolicy_Strategy) Descriptor() protoreflect.EnumDescriptor
- func (x DeployPolicy_Strategy) Enum() *DeployPolicy_Strategy
- func (DeployPolicy_Strategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x DeployPolicy_Strategy) Number() protoreflect.EnumNumber
- func (x DeployPolicy_Strategy) String() string
- func (DeployPolicy_Strategy) Type() protoreflect.EnumType
- type DnsRecord
- func (*DnsRecord) Descriptor() ([]byte, []int)deprecated
- func (x *DnsRecord) GetDnsZoneId() string
- func (x *DnsRecord) GetFqdn() string
- func (x *DnsRecord) GetPtr() bool
- func (x *DnsRecord) GetTtl() int64
- func (*DnsRecord) ProtoMessage()
- func (x *DnsRecord) ProtoReflect() protoreflect.Message
- func (x *DnsRecord) Reset()
- func (m *DnsRecord) SetDnsZoneId(v string)
- func (m *DnsRecord) SetFqdn(v string)
- func (m *DnsRecord) SetPtr(v bool)
- func (m *DnsRecord) SetTtl(v int64)
- func (x *DnsRecord) String() string
- type DnsRecordSpec
- func (*DnsRecordSpec) Descriptor() ([]byte, []int)deprecated
- func (x *DnsRecordSpec) GetDnsZoneId() string
- func (x *DnsRecordSpec) GetFqdn() string
- func (x *DnsRecordSpec) GetPtr() bool
- func (x *DnsRecordSpec) GetTtl() int64
- func (*DnsRecordSpec) ProtoMessage()
- func (x *DnsRecordSpec) ProtoReflect() protoreflect.Message
- func (x *DnsRecordSpec) Reset()
- func (m *DnsRecordSpec) SetDnsZoneId(v string)
- func (m *DnsRecordSpec) SetFqdn(v string)
- func (m *DnsRecordSpec) SetPtr(v bool)
- func (m *DnsRecordSpec) SetTtl(v int64)
- func (x *DnsRecordSpec) String() string
- type GetInstanceGroupRequest
- func (*GetInstanceGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetInstanceGroupRequest) GetInstanceGroupId() string
- func (x *GetInstanceGroupRequest) GetView() InstanceGroupView
- func (*GetInstanceGroupRequest) ProtoMessage()
- func (x *GetInstanceGroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetInstanceGroupRequest) Reset()
- func (m *GetInstanceGroupRequest) SetInstanceGroupId(v string)
- func (m *GetInstanceGroupRequest) SetView(v InstanceGroupView)
- func (x *GetInstanceGroupRequest) String() string
- type HealthCheckSpec
- func (*HealthCheckSpec) Descriptor() ([]byte, []int)deprecated
- func (m *HealthCheckSpec) GetHealthCheckOptions() isHealthCheckSpec_HealthCheckOptions
- func (x *HealthCheckSpec) GetHealthyThreshold() int64
- func (x *HealthCheckSpec) GetHttpOptions() *HealthCheckSpec_HttpOptions
- func (x *HealthCheckSpec) GetInterval() *durationpb.Duration
- func (x *HealthCheckSpec) GetTcpOptions() *HealthCheckSpec_TcpOptions
- func (x *HealthCheckSpec) GetTimeout() *durationpb.Duration
- func (x *HealthCheckSpec) GetUnhealthyThreshold() int64
- func (*HealthCheckSpec) ProtoMessage()
- func (x *HealthCheckSpec) ProtoReflect() protoreflect.Message
- func (x *HealthCheckSpec) Reset()
- func (m *HealthCheckSpec) SetHealthCheckOptions(v HealthCheckSpec_HealthCheckOptions)
- func (m *HealthCheckSpec) SetHealthyThreshold(v int64)
- func (m *HealthCheckSpec) SetHttpOptions(v *HealthCheckSpec_HttpOptions)
- func (m *HealthCheckSpec) SetInterval(v *durationpb.Duration)
- func (m *HealthCheckSpec) SetTcpOptions(v *HealthCheckSpec_TcpOptions)
- func (m *HealthCheckSpec) SetTimeout(v *durationpb.Duration)
- func (m *HealthCheckSpec) SetUnhealthyThreshold(v int64)
- func (x *HealthCheckSpec) String() string
- type HealthCheckSpec_HealthCheckOptions
- type HealthCheckSpec_HttpOptions
- func (*HealthCheckSpec_HttpOptions) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckSpec_HttpOptions) GetPath() string
- func (x *HealthCheckSpec_HttpOptions) GetPort() int64
- func (*HealthCheckSpec_HttpOptions) ProtoMessage()
- func (x *HealthCheckSpec_HttpOptions) ProtoReflect() protoreflect.Message
- func (x *HealthCheckSpec_HttpOptions) Reset()
- func (m *HealthCheckSpec_HttpOptions) SetPath(v string)
- func (m *HealthCheckSpec_HttpOptions) SetPort(v int64)
- func (x *HealthCheckSpec_HttpOptions) String() string
- type HealthCheckSpec_HttpOptions_
- type HealthCheckSpec_TcpOptions
- func (*HealthCheckSpec_TcpOptions) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckSpec_TcpOptions) GetPort() int64
- func (*HealthCheckSpec_TcpOptions) ProtoMessage()
- func (x *HealthCheckSpec_TcpOptions) ProtoReflect() protoreflect.Message
- func (x *HealthCheckSpec_TcpOptions) Reset()
- func (m *HealthCheckSpec_TcpOptions) SetPort(v int64)
- func (x *HealthCheckSpec_TcpOptions) String() string
- type HealthCheckSpec_TcpOptions_
- type HealthChecksSpec
- func (*HealthChecksSpec) Descriptor() ([]byte, []int)deprecated
- func (x *HealthChecksSpec) GetHealthCheckSpecs() []*HealthCheckSpec
- func (x *HealthChecksSpec) GetMaxCheckingHealthDuration() *durationpb.Duration
- func (*HealthChecksSpec) ProtoMessage()
- func (x *HealthChecksSpec) ProtoReflect() protoreflect.Message
- func (x *HealthChecksSpec) Reset()
- func (m *HealthChecksSpec) SetHealthCheckSpecs(v []*HealthCheckSpec)
- func (m *HealthChecksSpec) SetMaxCheckingHealthDuration(v *durationpb.Duration)
- func (x *HealthChecksSpec) String() string
- type InstanceGroup
- func (*InstanceGroup) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceGroup) GetAllocationPolicy() *AllocationPolicy
- func (x *InstanceGroup) GetApplicationLoadBalancerSpec() *ApplicationLoadBalancerSpec
- func (x *InstanceGroup) GetApplicationLoadBalancerState() *ApplicationLoadBalancerState
- func (x *InstanceGroup) GetAutoHealingPolicy() *AutoHealingPolicy
- func (x *InstanceGroup) GetCreatedAt() *timestamppb.Timestamp
- func (x *InstanceGroup) GetDeletionProtection() bool
- func (x *InstanceGroup) GetDeployPolicy() *DeployPolicy
- func (x *InstanceGroup) GetDescription() string
- func (x *InstanceGroup) GetFolderId() string
- func (x *InstanceGroup) GetHealthChecksSpec() *HealthChecksSpec
- func (x *InstanceGroup) GetId() string
- func (x *InstanceGroup) GetInstanceTemplate() *InstanceTemplate
- func (x *InstanceGroup) GetLabels() map[string]string
- func (x *InstanceGroup) GetLoadBalancerSpec() *LoadBalancerSpec
- func (x *InstanceGroup) GetLoadBalancerState() *LoadBalancerState
- func (x *InstanceGroup) GetManagedInstancesState() *ManagedInstancesState
- func (x *InstanceGroup) GetName() string
- func (x *InstanceGroup) GetScalePolicy() *ScalePolicy
- func (x *InstanceGroup) GetServiceAccountId() string
- func (x *InstanceGroup) GetStatus() InstanceGroup_Status
- func (x *InstanceGroup) GetVariables() []*Variable
- func (*InstanceGroup) ProtoMessage()
- func (x *InstanceGroup) ProtoReflect() protoreflect.Message
- func (x *InstanceGroup) Reset()
- func (m *InstanceGroup) SetAllocationPolicy(v *AllocationPolicy)
- func (m *InstanceGroup) SetApplicationLoadBalancerSpec(v *ApplicationLoadBalancerSpec)
- func (m *InstanceGroup) SetApplicationLoadBalancerState(v *ApplicationLoadBalancerState)
- func (m *InstanceGroup) SetAutoHealingPolicy(v *AutoHealingPolicy)
- func (m *InstanceGroup) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *InstanceGroup) SetDeletionProtection(v bool)
- func (m *InstanceGroup) SetDeployPolicy(v *DeployPolicy)
- func (m *InstanceGroup) SetDescription(v string)
- func (m *InstanceGroup) SetFolderId(v string)
- func (m *InstanceGroup) SetHealthChecksSpec(v *HealthChecksSpec)
- func (m *InstanceGroup) SetId(v string)
- func (m *InstanceGroup) SetInstanceTemplate(v *InstanceTemplate)
- func (m *InstanceGroup) SetLabels(v map[string]string)
- func (m *InstanceGroup) SetLoadBalancerSpec(v *LoadBalancerSpec)
- func (m *InstanceGroup) SetLoadBalancerState(v *LoadBalancerState)
- func (m *InstanceGroup) SetManagedInstancesState(v *ManagedInstancesState)
- func (m *InstanceGroup) SetName(v string)
- func (m *InstanceGroup) SetScalePolicy(v *ScalePolicy)
- func (m *InstanceGroup) SetServiceAccountId(v string)
- func (m *InstanceGroup) SetStatus(v InstanceGroup_Status)
- func (m *InstanceGroup) SetVariables(v []*Variable)
- func (x *InstanceGroup) String() string
- type InstanceGroupServiceClient
- type InstanceGroupServiceServer
- type InstanceGroupView
- func (InstanceGroupView) Descriptor() protoreflect.EnumDescriptor
- func (x InstanceGroupView) Enum() *InstanceGroupView
- func (InstanceGroupView) EnumDescriptor() ([]byte, []int)deprecated
- func (x InstanceGroupView) Number() protoreflect.EnumNumber
- func (x InstanceGroupView) String() string
- func (InstanceGroupView) Type() protoreflect.EnumType
- type InstanceGroup_Status
- func (InstanceGroup_Status) Descriptor() protoreflect.EnumDescriptor
- func (x InstanceGroup_Status) Enum() *InstanceGroup_Status
- func (InstanceGroup_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x InstanceGroup_Status) Number() protoreflect.EnumNumber
- func (x InstanceGroup_Status) String() string
- func (InstanceGroup_Status) Type() protoreflect.EnumType
- type InstanceTemplate
- func (*InstanceTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *InstanceTemplate) GetBootDiskSpec() *AttachedDiskSpec
- func (x *InstanceTemplate) GetDescription() string
- func (x *InstanceTemplate) GetFilesystemSpecs() []*AttachedFilesystemSpec
- func (x *InstanceTemplate) GetHostname() string
- func (x *InstanceTemplate) GetLabels() map[string]string
- func (x *InstanceTemplate) GetMetadata() map[string]string
- func (x *InstanceTemplate) GetMetadataOptions() *MetadataOptions
- func (x *InstanceTemplate) GetName() string
- func (x *InstanceTemplate) GetNetworkInterfaceSpecs() []*NetworkInterfaceSpec
- func (x *InstanceTemplate) GetNetworkSettings() *NetworkSettings
- func (x *InstanceTemplate) GetPlacementPolicy() *PlacementPolicy
- func (x *InstanceTemplate) GetPlatformId() string
- func (x *InstanceTemplate) GetResourcesSpec() *ResourcesSpec
- func (x *InstanceTemplate) GetSchedulingPolicy() *SchedulingPolicy
- func (x *InstanceTemplate) GetSecondaryDiskSpecs() []*AttachedDiskSpec
- func (x *InstanceTemplate) GetServiceAccountId() string
- func (*InstanceTemplate) ProtoMessage()
- func (x *InstanceTemplate) ProtoReflect() protoreflect.Message
- func (x *InstanceTemplate) Reset()
- func (m *InstanceTemplate) SetBootDiskSpec(v *AttachedDiskSpec)
- func (m *InstanceTemplate) SetDescription(v string)
- func (m *InstanceTemplate) SetFilesystemSpecs(v []*AttachedFilesystemSpec)
- func (m *InstanceTemplate) SetHostname(v string)
- func (m *InstanceTemplate) SetLabels(v map[string]string)
- func (m *InstanceTemplate) SetMetadata(v map[string]string)
- func (m *InstanceTemplate) SetMetadataOptions(v *MetadataOptions)
- func (m *InstanceTemplate) SetName(v string)
- func (m *InstanceTemplate) SetNetworkInterfaceSpecs(v []*NetworkInterfaceSpec)
- func (m *InstanceTemplate) SetNetworkSettings(v *NetworkSettings)
- func (m *InstanceTemplate) SetPlacementPolicy(v *PlacementPolicy)
- func (m *InstanceTemplate) SetPlatformId(v string)
- func (m *InstanceTemplate) SetResourcesSpec(v *ResourcesSpec)
- func (m *InstanceTemplate) SetSchedulingPolicy(v *SchedulingPolicy)
- func (m *InstanceTemplate) SetSecondaryDiskSpecs(v []*AttachedDiskSpec)
- func (m *InstanceTemplate) SetServiceAccountId(v string)
- func (x *InstanceTemplate) String() string
- type IpVersion
- type ListInstanceGroupInstancesRequest
- func (*ListInstanceGroupInstancesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInstanceGroupInstancesRequest) GetFilter() string
- func (x *ListInstanceGroupInstancesRequest) GetInstanceGroupId() string
- func (x *ListInstanceGroupInstancesRequest) GetPageSize() int64
- func (x *ListInstanceGroupInstancesRequest) GetPageToken() string
- func (*ListInstanceGroupInstancesRequest) ProtoMessage()
- func (x *ListInstanceGroupInstancesRequest) ProtoReflect() protoreflect.Message
- func (x *ListInstanceGroupInstancesRequest) Reset()
- func (m *ListInstanceGroupInstancesRequest) SetFilter(v string)
- func (m *ListInstanceGroupInstancesRequest) SetInstanceGroupId(v string)
- func (m *ListInstanceGroupInstancesRequest) SetPageSize(v int64)
- func (m *ListInstanceGroupInstancesRequest) SetPageToken(v string)
- func (x *ListInstanceGroupInstancesRequest) String() string
- type ListInstanceGroupInstancesResponse
- func (*ListInstanceGroupInstancesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInstanceGroupInstancesResponse) GetInstances() []*ManagedInstance
- func (x *ListInstanceGroupInstancesResponse) GetNextPageToken() string
- func (*ListInstanceGroupInstancesResponse) ProtoMessage()
- func (x *ListInstanceGroupInstancesResponse) ProtoReflect() protoreflect.Message
- func (x *ListInstanceGroupInstancesResponse) Reset()
- func (m *ListInstanceGroupInstancesResponse) SetInstances(v []*ManagedInstance)
- func (m *ListInstanceGroupInstancesResponse) SetNextPageToken(v string)
- func (x *ListInstanceGroupInstancesResponse) String() string
- type ListInstanceGroupLogRecordsRequest
- func (*ListInstanceGroupLogRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInstanceGroupLogRecordsRequest) GetFilter() string
- func (x *ListInstanceGroupLogRecordsRequest) GetInstanceGroupId() string
- func (x *ListInstanceGroupLogRecordsRequest) GetPageSize() int64
- func (x *ListInstanceGroupLogRecordsRequest) GetPageToken() string
- func (*ListInstanceGroupLogRecordsRequest) ProtoMessage()
- func (x *ListInstanceGroupLogRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *ListInstanceGroupLogRecordsRequest) Reset()
- func (m *ListInstanceGroupLogRecordsRequest) SetFilter(v string)
- func (m *ListInstanceGroupLogRecordsRequest) SetInstanceGroupId(v string)
- func (m *ListInstanceGroupLogRecordsRequest) SetPageSize(v int64)
- func (m *ListInstanceGroupLogRecordsRequest) SetPageToken(v string)
- func (x *ListInstanceGroupLogRecordsRequest) String() string
- type ListInstanceGroupLogRecordsResponse
- func (*ListInstanceGroupLogRecordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInstanceGroupLogRecordsResponse) GetLogRecords() []*LogRecord
- func (x *ListInstanceGroupLogRecordsResponse) GetNextPageToken() string
- func (*ListInstanceGroupLogRecordsResponse) ProtoMessage()
- func (x *ListInstanceGroupLogRecordsResponse) ProtoReflect() protoreflect.Message
- func (x *ListInstanceGroupLogRecordsResponse) Reset()
- func (m *ListInstanceGroupLogRecordsResponse) SetLogRecords(v []*LogRecord)
- func (m *ListInstanceGroupLogRecordsResponse) SetNextPageToken(v string)
- func (x *ListInstanceGroupLogRecordsResponse) String() string
- type ListInstanceGroupOperationsRequest
- func (*ListInstanceGroupOperationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInstanceGroupOperationsRequest) GetFilter() string
- func (x *ListInstanceGroupOperationsRequest) GetInstanceGroupId() string
- func (x *ListInstanceGroupOperationsRequest) GetPageSize() int64
- func (x *ListInstanceGroupOperationsRequest) GetPageToken() string
- func (*ListInstanceGroupOperationsRequest) ProtoMessage()
- func (x *ListInstanceGroupOperationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListInstanceGroupOperationsRequest) Reset()
- func (m *ListInstanceGroupOperationsRequest) SetFilter(v string)
- func (m *ListInstanceGroupOperationsRequest) SetInstanceGroupId(v string)
- func (m *ListInstanceGroupOperationsRequest) SetPageSize(v int64)
- func (m *ListInstanceGroupOperationsRequest) SetPageToken(v string)
- func (x *ListInstanceGroupOperationsRequest) String() string
- type ListInstanceGroupOperationsResponse
- func (*ListInstanceGroupOperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInstanceGroupOperationsResponse) GetNextPageToken() string
- func (x *ListInstanceGroupOperationsResponse) GetOperations() []*operation.Operation
- func (*ListInstanceGroupOperationsResponse) ProtoMessage()
- func (x *ListInstanceGroupOperationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListInstanceGroupOperationsResponse) Reset()
- func (m *ListInstanceGroupOperationsResponse) SetNextPageToken(v string)
- func (m *ListInstanceGroupOperationsResponse) SetOperations(v []*operation.Operation)
- func (x *ListInstanceGroupOperationsResponse) String() string
- type ListInstanceGroupsRequest
- func (*ListInstanceGroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInstanceGroupsRequest) GetFilter() string
- func (x *ListInstanceGroupsRequest) GetFolderId() string
- func (x *ListInstanceGroupsRequest) GetPageSize() int64
- func (x *ListInstanceGroupsRequest) GetPageToken() string
- func (x *ListInstanceGroupsRequest) GetView() InstanceGroupView
- func (*ListInstanceGroupsRequest) ProtoMessage()
- func (x *ListInstanceGroupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListInstanceGroupsRequest) Reset()
- func (m *ListInstanceGroupsRequest) SetFilter(v string)
- func (m *ListInstanceGroupsRequest) SetFolderId(v string)
- func (m *ListInstanceGroupsRequest) SetPageSize(v int64)
- func (m *ListInstanceGroupsRequest) SetPageToken(v string)
- func (m *ListInstanceGroupsRequest) SetView(v InstanceGroupView)
- func (x *ListInstanceGroupsRequest) String() string
- type ListInstanceGroupsResponse
- func (*ListInstanceGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInstanceGroupsResponse) GetInstanceGroups() []*InstanceGroup
- func (x *ListInstanceGroupsResponse) GetNextPageToken() string
- func (*ListInstanceGroupsResponse) ProtoMessage()
- func (x *ListInstanceGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListInstanceGroupsResponse) Reset()
- func (m *ListInstanceGroupsResponse) SetInstanceGroups(v []*InstanceGroup)
- func (m *ListInstanceGroupsResponse) SetNextPageToken(v string)
- func (x *ListInstanceGroupsResponse) String() string
- type LoadBalancerSpec
- func (*LoadBalancerSpec) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancerSpec) GetIgnoreHealthChecks() bool
- func (x *LoadBalancerSpec) GetMaxOpeningTrafficDuration() *durationpb.Duration
- func (x *LoadBalancerSpec) GetTargetGroupSpec() *TargetGroupSpec
- func (*LoadBalancerSpec) ProtoMessage()
- func (x *LoadBalancerSpec) ProtoReflect() protoreflect.Message
- func (x *LoadBalancerSpec) Reset()
- func (m *LoadBalancerSpec) SetIgnoreHealthChecks(v bool)
- func (m *LoadBalancerSpec) SetMaxOpeningTrafficDuration(v *durationpb.Duration)
- func (m *LoadBalancerSpec) SetTargetGroupSpec(v *TargetGroupSpec)
- func (x *LoadBalancerSpec) String() string
- type LoadBalancerState
- func (*LoadBalancerState) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancerState) GetStatusMessage() string
- func (x *LoadBalancerState) GetTargetGroupId() string
- func (*LoadBalancerState) ProtoMessage()
- func (x *LoadBalancerState) ProtoReflect() protoreflect.Message
- func (x *LoadBalancerState) Reset()
- func (m *LoadBalancerState) SetStatusMessage(v string)
- func (m *LoadBalancerState) SetTargetGroupId(v string)
- func (x *LoadBalancerState) String() string
- type LogRecord
- func (*LogRecord) Descriptor() ([]byte, []int)deprecated
- func (x *LogRecord) GetMessage() string
- func (x *LogRecord) GetTimestamp() *timestamppb.Timestamp
- func (*LogRecord) ProtoMessage()
- func (x *LogRecord) ProtoReflect() protoreflect.Message
- func (x *LogRecord) Reset()
- func (m *LogRecord) SetMessage(v string)
- func (m *LogRecord) SetTimestamp(v *timestamppb.Timestamp)
- func (x *LogRecord) String() string
- type ManagedInstance
- func (*ManagedInstance) Descriptor() ([]byte, []int)deprecated
- func (x *ManagedInstance) GetFqdn() string
- func (x *ManagedInstance) GetId() string
- func (x *ManagedInstance) GetInstanceId() string
- func (x *ManagedInstance) GetInstanceTag() string
- func (x *ManagedInstance) GetName() string
- func (x *ManagedInstance) GetNetworkInterfaces() []*NetworkInterface
- func (x *ManagedInstance) GetStatus() ManagedInstance_Status
- func (x *ManagedInstance) GetStatusChangedAt() *timestamppb.Timestamp
- func (x *ManagedInstance) GetStatusMessage() string
- func (x *ManagedInstance) GetZoneId() string
- func (*ManagedInstance) ProtoMessage()
- func (x *ManagedInstance) ProtoReflect() protoreflect.Message
- func (x *ManagedInstance) Reset()
- func (m *ManagedInstance) SetFqdn(v string)
- func (m *ManagedInstance) SetId(v string)
- func (m *ManagedInstance) SetInstanceId(v string)
- func (m *ManagedInstance) SetInstanceTag(v string)
- func (m *ManagedInstance) SetName(v string)
- func (m *ManagedInstance) SetNetworkInterfaces(v []*NetworkInterface)
- func (m *ManagedInstance) SetStatus(v ManagedInstance_Status)
- func (m *ManagedInstance) SetStatusChangedAt(v *timestamppb.Timestamp)
- func (m *ManagedInstance) SetStatusMessage(v string)
- func (m *ManagedInstance) SetZoneId(v string)
- func (x *ManagedInstance) String() string
- type ManagedInstance_Status
- func (ManagedInstance_Status) Descriptor() protoreflect.EnumDescriptor
- func (x ManagedInstance_Status) Enum() *ManagedInstance_Status
- func (ManagedInstance_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x ManagedInstance_Status) Number() protoreflect.EnumNumber
- func (x ManagedInstance_Status) String() string
- func (ManagedInstance_Status) Type() protoreflect.EnumType
- type ManagedInstancesState
- func (*ManagedInstancesState) Descriptor() ([]byte, []int)deprecated
- func (x *ManagedInstancesState) GetProcessingCount() int64
- func (x *ManagedInstancesState) GetRunningActualCount() int64
- func (x *ManagedInstancesState) GetRunningOutdatedCount() int64
- func (x *ManagedInstancesState) GetTargetSize() int64
- func (*ManagedInstancesState) ProtoMessage()
- func (x *ManagedInstancesState) ProtoReflect() protoreflect.Message
- func (x *ManagedInstancesState) Reset()
- func (m *ManagedInstancesState) SetProcessingCount(v int64)
- func (m *ManagedInstancesState) SetRunningActualCount(v int64)
- func (m *ManagedInstancesState) SetRunningOutdatedCount(v int64)
- func (m *ManagedInstancesState) SetTargetSize(v int64)
- func (x *ManagedInstancesState) String() string
- type ManagedInstancesState_Statuses
- func (*ManagedInstancesState_Statuses) Descriptor() ([]byte, []int)deprecated
- func (x *ManagedInstancesState_Statuses) GetClosing() int64
- func (x *ManagedInstancesState_Statuses) GetCreating() int64
- func (x *ManagedInstancesState_Statuses) GetDeleting() int64
- func (x *ManagedInstancesState_Statuses) GetFailed() int64
- func (x *ManagedInstancesState_Statuses) GetOpening() int64
- func (x *ManagedInstancesState_Statuses) GetRunning() int64
- func (x *ManagedInstancesState_Statuses) GetStarting() int64
- func (x *ManagedInstancesState_Statuses) GetStopping() int64
- func (x *ManagedInstancesState_Statuses) GetUpdating() int64
- func (x *ManagedInstancesState_Statuses) GetWarming() int64
- func (*ManagedInstancesState_Statuses) ProtoMessage()
- func (x *ManagedInstancesState_Statuses) ProtoReflect() protoreflect.Message
- func (x *ManagedInstancesState_Statuses) Reset()
- func (m *ManagedInstancesState_Statuses) SetClosing(v int64)
- func (m *ManagedInstancesState_Statuses) SetCreating(v int64)
- func (m *ManagedInstancesState_Statuses) SetDeleting(v int64)
- func (m *ManagedInstancesState_Statuses) SetFailed(v int64)
- func (m *ManagedInstancesState_Statuses) SetOpening(v int64)
- func (m *ManagedInstancesState_Statuses) SetRunning(v int64)
- func (m *ManagedInstancesState_Statuses) SetStarting(v int64)
- func (m *ManagedInstancesState_Statuses) SetStopping(v int64)
- func (m *ManagedInstancesState_Statuses) SetUpdating(v int64)
- func (m *ManagedInstancesState_Statuses) SetWarming(v int64)
- func (x *ManagedInstancesState_Statuses) String() string
- type MetadataOption
- func (MetadataOption) Descriptor() protoreflect.EnumDescriptor
- func (x MetadataOption) Enum() *MetadataOption
- func (MetadataOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x MetadataOption) Number() protoreflect.EnumNumber
- func (x MetadataOption) String() string
- func (MetadataOption) Type() protoreflect.EnumType
- type MetadataOptions
- func (*MetadataOptions) Descriptor() ([]byte, []int)deprecated
- func (x *MetadataOptions) GetAwsV1HttpEndpoint() MetadataOption
- func (x *MetadataOptions) GetAwsV1HttpToken() MetadataOption
- func (x *MetadataOptions) GetGceHttpEndpoint() MetadataOption
- func (x *MetadataOptions) GetGceHttpToken() MetadataOption
- func (*MetadataOptions) ProtoMessage()
- func (x *MetadataOptions) ProtoReflect() protoreflect.Message
- func (x *MetadataOptions) Reset()
- func (m *MetadataOptions) SetAwsV1HttpEndpoint(v MetadataOption)
- func (m *MetadataOptions) SetAwsV1HttpToken(v MetadataOption)
- func (m *MetadataOptions) SetGceHttpEndpoint(v MetadataOption)
- func (m *MetadataOptions) SetGceHttpToken(v MetadataOption)
- func (x *MetadataOptions) String() string
- type NetworkInterface
- func (*NetworkInterface) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInterface) GetIndex() string
- func (x *NetworkInterface) GetMacAddress() string
- func (x *NetworkInterface) GetPrimaryV4Address() *PrimaryAddress
- func (x *NetworkInterface) GetPrimaryV6Address() *PrimaryAddress
- func (x *NetworkInterface) GetSubnetId() string
- func (*NetworkInterface) ProtoMessage()
- func (x *NetworkInterface) ProtoReflect() protoreflect.Message
- func (x *NetworkInterface) Reset()
- func (m *NetworkInterface) SetIndex(v string)
- func (m *NetworkInterface) SetMacAddress(v string)
- func (m *NetworkInterface) SetPrimaryV4Address(v *PrimaryAddress)
- func (m *NetworkInterface) SetPrimaryV6Address(v *PrimaryAddress)
- func (m *NetworkInterface) SetSubnetId(v string)
- func (x *NetworkInterface) String() string
- type NetworkInterfaceSpec
- func (*NetworkInterfaceSpec) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInterfaceSpec) GetNetworkId() string
- func (x *NetworkInterfaceSpec) GetPrimaryV4AddressSpec() *PrimaryAddressSpec
- func (x *NetworkInterfaceSpec) GetPrimaryV6AddressSpec() *PrimaryAddressSpec
- func (x *NetworkInterfaceSpec) GetSecurityGroupIds() []string
- func (x *NetworkInterfaceSpec) GetSubnetIds() []string
- func (*NetworkInterfaceSpec) ProtoMessage()
- func (x *NetworkInterfaceSpec) ProtoReflect() protoreflect.Message
- func (x *NetworkInterfaceSpec) Reset()
- func (m *NetworkInterfaceSpec) SetNetworkId(v string)
- func (m *NetworkInterfaceSpec) SetPrimaryV4AddressSpec(v *PrimaryAddressSpec)
- func (m *NetworkInterfaceSpec) SetPrimaryV6AddressSpec(v *PrimaryAddressSpec)
- func (m *NetworkInterfaceSpec) SetSecurityGroupIds(v []string)
- func (m *NetworkInterfaceSpec) SetSubnetIds(v []string)
- func (x *NetworkInterfaceSpec) String() string
- type NetworkSettings
- func (*NetworkSettings) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkSettings) GetType() NetworkSettings_Type
- func (*NetworkSettings) ProtoMessage()
- func (x *NetworkSettings) ProtoReflect() protoreflect.Message
- func (x *NetworkSettings) Reset()
- func (m *NetworkSettings) SetType(v NetworkSettings_Type)
- func (x *NetworkSettings) String() string
- type NetworkSettings_Type
- func (NetworkSettings_Type) Descriptor() protoreflect.EnumDescriptor
- func (x NetworkSettings_Type) Enum() *NetworkSettings_Type
- func (NetworkSettings_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x NetworkSettings_Type) Number() protoreflect.EnumNumber
- func (x NetworkSettings_Type) String() string
- func (NetworkSettings_Type) Type() protoreflect.EnumType
- type OneToOneNat
- func (*OneToOneNat) Descriptor() ([]byte, []int)deprecated
- func (x *OneToOneNat) GetAddress() string
- func (x *OneToOneNat) GetDnsRecords() []*DnsRecord
- func (x *OneToOneNat) GetIpVersion() IpVersion
- func (*OneToOneNat) ProtoMessage()
- func (x *OneToOneNat) ProtoReflect() protoreflect.Message
- func (x *OneToOneNat) Reset()
- func (m *OneToOneNat) SetAddress(v string)
- func (m *OneToOneNat) SetDnsRecords(v []*DnsRecord)
- func (m *OneToOneNat) SetIpVersion(v IpVersion)
- func (x *OneToOneNat) String() string
- type OneToOneNatSpec
- func (*OneToOneNatSpec) Descriptor() ([]byte, []int)deprecated
- func (x *OneToOneNatSpec) GetAddress() string
- func (x *OneToOneNatSpec) GetDnsRecordSpecs() []*DnsRecordSpec
- func (x *OneToOneNatSpec) GetIpVersion() IpVersion
- func (*OneToOneNatSpec) ProtoMessage()
- func (x *OneToOneNatSpec) ProtoReflect() protoreflect.Message
- func (x *OneToOneNatSpec) Reset()
- func (m *OneToOneNatSpec) SetAddress(v string)
- func (m *OneToOneNatSpec) SetDnsRecordSpecs(v []*DnsRecordSpec)
- func (m *OneToOneNatSpec) SetIpVersion(v IpVersion)
- func (x *OneToOneNatSpec) String() string
- type PauseInstanceGroupProcessMetadata
- func (*PauseInstanceGroupProcessMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *PauseInstanceGroupProcessMetadata) GetInstanceGroupId() string
- func (*PauseInstanceGroupProcessMetadata) ProtoMessage()
- func (x *PauseInstanceGroupProcessMetadata) ProtoReflect() protoreflect.Message
- func (x *PauseInstanceGroupProcessMetadata) Reset()
- func (m *PauseInstanceGroupProcessMetadata) SetInstanceGroupId(v string)
- func (x *PauseInstanceGroupProcessMetadata) String() string
- type PauseInstanceGroupProcessesRequest
- func (*PauseInstanceGroupProcessesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PauseInstanceGroupProcessesRequest) GetInstanceGroupId() string
- func (*PauseInstanceGroupProcessesRequest) ProtoMessage()
- func (x *PauseInstanceGroupProcessesRequest) ProtoReflect() protoreflect.Message
- func (x *PauseInstanceGroupProcessesRequest) Reset()
- func (m *PauseInstanceGroupProcessesRequest) SetInstanceGroupId(v string)
- func (x *PauseInstanceGroupProcessesRequest) String() string
- type PlacementPolicy
- func (*PlacementPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *PlacementPolicy) GetHostAffinityRules() []*PlacementPolicy_HostAffinityRule
- func (x *PlacementPolicy) GetPlacementGroupId() string
- func (*PlacementPolicy) ProtoMessage()
- func (x *PlacementPolicy) ProtoReflect() protoreflect.Message
- func (x *PlacementPolicy) Reset()
- func (m *PlacementPolicy) SetHostAffinityRules(v []*PlacementPolicy_HostAffinityRule)
- func (m *PlacementPolicy) SetPlacementGroupId(v string)
- func (x *PlacementPolicy) String() string
- type PlacementPolicy_HostAffinityRule
- func (*PlacementPolicy_HostAffinityRule) Descriptor() ([]byte, []int)deprecated
- func (x *PlacementPolicy_HostAffinityRule) GetKey() string
- func (x *PlacementPolicy_HostAffinityRule) GetOp() PlacementPolicy_HostAffinityRule_Operator
- func (x *PlacementPolicy_HostAffinityRule) GetValues() []string
- func (*PlacementPolicy_HostAffinityRule) ProtoMessage()
- func (x *PlacementPolicy_HostAffinityRule) ProtoReflect() protoreflect.Message
- func (x *PlacementPolicy_HostAffinityRule) Reset()
- func (m *PlacementPolicy_HostAffinityRule) SetKey(v string)
- func (m *PlacementPolicy_HostAffinityRule) SetOp(v PlacementPolicy_HostAffinityRule_Operator)
- func (m *PlacementPolicy_HostAffinityRule) SetValues(v []string)
- func (x *PlacementPolicy_HostAffinityRule) String() string
- type PlacementPolicy_HostAffinityRule_Operator
- func (PlacementPolicy_HostAffinityRule_Operator) Descriptor() protoreflect.EnumDescriptor
- func (x PlacementPolicy_HostAffinityRule_Operator) Enum() *PlacementPolicy_HostAffinityRule_Operator
- func (PlacementPolicy_HostAffinityRule_Operator) EnumDescriptor() ([]byte, []int)deprecated
- func (x PlacementPolicy_HostAffinityRule_Operator) Number() protoreflect.EnumNumber
- func (x PlacementPolicy_HostAffinityRule_Operator) String() string
- func (PlacementPolicy_HostAffinityRule_Operator) Type() protoreflect.EnumType
- type PrimaryAddress
- func (*PrimaryAddress) Descriptor() ([]byte, []int)deprecated
- func (x *PrimaryAddress) GetAddress() string
- func (x *PrimaryAddress) GetDnsRecords() []*DnsRecord
- func (x *PrimaryAddress) GetOneToOneNat() *OneToOneNat
- func (*PrimaryAddress) ProtoMessage()
- func (x *PrimaryAddress) ProtoReflect() protoreflect.Message
- func (x *PrimaryAddress) Reset()
- func (m *PrimaryAddress) SetAddress(v string)
- func (m *PrimaryAddress) SetDnsRecords(v []*DnsRecord)
- func (m *PrimaryAddress) SetOneToOneNat(v *OneToOneNat)
- func (x *PrimaryAddress) String() string
- type PrimaryAddressSpec
- func (*PrimaryAddressSpec) Descriptor() ([]byte, []int)deprecated
- func (x *PrimaryAddressSpec) GetAddress() string
- func (x *PrimaryAddressSpec) GetDnsRecordSpecs() []*DnsRecordSpec
- func (x *PrimaryAddressSpec) GetOneToOneNatSpec() *OneToOneNatSpec
- func (*PrimaryAddressSpec) ProtoMessage()
- func (x *PrimaryAddressSpec) ProtoReflect() protoreflect.Message
- func (x *PrimaryAddressSpec) Reset()
- func (m *PrimaryAddressSpec) SetAddress(v string)
- func (m *PrimaryAddressSpec) SetDnsRecordSpecs(v []*DnsRecordSpec)
- func (m *PrimaryAddressSpec) SetOneToOneNatSpec(v *OneToOneNatSpec)
- func (x *PrimaryAddressSpec) String() string
- type ResourcesSpec
- func (*ResourcesSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcesSpec) GetCoreFraction() int64
- func (x *ResourcesSpec) GetCores() int64
- func (x *ResourcesSpec) GetGpus() int64
- func (x *ResourcesSpec) GetMemory() int64
- func (*ResourcesSpec) ProtoMessage()
- func (x *ResourcesSpec) ProtoReflect() protoreflect.Message
- func (x *ResourcesSpec) Reset()
- func (m *ResourcesSpec) SetCoreFraction(v int64)
- func (m *ResourcesSpec) SetCores(v int64)
- func (m *ResourcesSpec) SetGpus(v int64)
- func (m *ResourcesSpec) SetMemory(v int64)
- func (x *ResourcesSpec) String() string
- type ResumeInstanceGroupProcessMetadata
- func (*ResumeInstanceGroupProcessMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ResumeInstanceGroupProcessMetadata) GetInstanceGroupId() string
- func (*ResumeInstanceGroupProcessMetadata) ProtoMessage()
- func (x *ResumeInstanceGroupProcessMetadata) ProtoReflect() protoreflect.Message
- func (x *ResumeInstanceGroupProcessMetadata) Reset()
- func (m *ResumeInstanceGroupProcessMetadata) SetInstanceGroupId(v string)
- func (x *ResumeInstanceGroupProcessMetadata) String() string
- type ResumeInstanceGroupProcessesRequest
- func (*ResumeInstanceGroupProcessesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResumeInstanceGroupProcessesRequest) GetInstanceGroupId() string
- func (*ResumeInstanceGroupProcessesRequest) ProtoMessage()
- func (x *ResumeInstanceGroupProcessesRequest) ProtoReflect() protoreflect.Message
- func (x *ResumeInstanceGroupProcessesRequest) Reset()
- func (m *ResumeInstanceGroupProcessesRequest) SetInstanceGroupId(v string)
- func (x *ResumeInstanceGroupProcessesRequest) String() string
- type RollingRecreateMetadata
- func (*RollingRecreateMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RollingRecreateMetadata) GetInstanceGroupId() string
- func (*RollingRecreateMetadata) ProtoMessage()
- func (x *RollingRecreateMetadata) ProtoReflect() protoreflect.Message
- func (x *RollingRecreateMetadata) Reset()
- func (m *RollingRecreateMetadata) SetInstanceGroupId(v string)
- func (x *RollingRecreateMetadata) String() string
- type RollingRecreateRequest
- func (*RollingRecreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RollingRecreateRequest) GetInstanceGroupId() string
- func (x *RollingRecreateRequest) GetManagedInstanceIds() []string
- func (*RollingRecreateRequest) ProtoMessage()
- func (x *RollingRecreateRequest) ProtoReflect() protoreflect.Message
- func (x *RollingRecreateRequest) Reset()
- func (m *RollingRecreateRequest) SetInstanceGroupId(v string)
- func (m *RollingRecreateRequest) SetManagedInstanceIds(v []string)
- func (x *RollingRecreateRequest) String() string
- type RollingRestartMetadata
- func (*RollingRestartMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RollingRestartMetadata) GetInstanceGroupId() string
- func (*RollingRestartMetadata) ProtoMessage()
- func (x *RollingRestartMetadata) ProtoReflect() protoreflect.Message
- func (x *RollingRestartMetadata) Reset()
- func (m *RollingRestartMetadata) SetInstanceGroupId(v string)
- func (x *RollingRestartMetadata) String() string
- type RollingRestartRequest
- func (*RollingRestartRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RollingRestartRequest) GetInstanceGroupId() string
- func (x *RollingRestartRequest) GetManagedInstanceIds() []string
- func (*RollingRestartRequest) ProtoMessage()
- func (x *RollingRestartRequest) ProtoReflect() protoreflect.Message
- func (x *RollingRestartRequest) Reset()
- func (m *RollingRestartRequest) SetInstanceGroupId(v string)
- func (m *RollingRestartRequest) SetManagedInstanceIds(v []string)
- func (x *RollingRestartRequest) String() string
- type ScalePolicy
- func (*ScalePolicy) Descriptor() ([]byte, []int)deprecated
- func (x *ScalePolicy) GetAutoScale() *ScalePolicy_AutoScale
- func (x *ScalePolicy) GetFixedScale() *ScalePolicy_FixedScale
- func (m *ScalePolicy) GetScaleType() isScalePolicy_ScaleType
- func (x *ScalePolicy) GetTestAutoScale() *ScalePolicy_AutoScale
- func (*ScalePolicy) ProtoMessage()
- func (x *ScalePolicy) ProtoReflect() protoreflect.Message
- func (x *ScalePolicy) Reset()
- func (m *ScalePolicy) SetAutoScale(v *ScalePolicy_AutoScale)
- func (m *ScalePolicy) SetFixedScale(v *ScalePolicy_FixedScale)
- func (m *ScalePolicy) SetScaleType(v ScalePolicy_ScaleType)
- func (m *ScalePolicy) SetTestAutoScale(v *ScalePolicy_AutoScale)
- func (x *ScalePolicy) String() string
- type ScalePolicy_AutoScale
- func (*ScalePolicy_AutoScale) Descriptor() ([]byte, []int)deprecated
- func (x *ScalePolicy_AutoScale) GetAutoScaleType() ScalePolicy_AutoScale_AutoScaleType
- func (x *ScalePolicy_AutoScale) GetCpuUtilizationRule() *ScalePolicy_CpuUtilizationRule
- func (x *ScalePolicy_AutoScale) GetCustomRules() []*ScalePolicy_CustomRule
- func (x *ScalePolicy_AutoScale) GetInitialSize() int64
- func (x *ScalePolicy_AutoScale) GetMaxSize() int64
- func (x *ScalePolicy_AutoScale) GetMeasurementDuration() *durationpb.Duration
- func (x *ScalePolicy_AutoScale) GetMinZoneSize() int64
- func (x *ScalePolicy_AutoScale) GetStabilizationDuration() *durationpb.Duration
- func (x *ScalePolicy_AutoScale) GetWarmupDuration() *durationpb.Duration
- func (*ScalePolicy_AutoScale) ProtoMessage()
- func (x *ScalePolicy_AutoScale) ProtoReflect() protoreflect.Message
- func (x *ScalePolicy_AutoScale) Reset()
- func (m *ScalePolicy_AutoScale) SetAutoScaleType(v ScalePolicy_AutoScale_AutoScaleType)
- func (m *ScalePolicy_AutoScale) SetCpuUtilizationRule(v *ScalePolicy_CpuUtilizationRule)
- func (m *ScalePolicy_AutoScale) SetCustomRules(v []*ScalePolicy_CustomRule)
- func (m *ScalePolicy_AutoScale) SetInitialSize(v int64)
- func (m *ScalePolicy_AutoScale) SetMaxSize(v int64)
- func (m *ScalePolicy_AutoScale) SetMeasurementDuration(v *durationpb.Duration)
- func (m *ScalePolicy_AutoScale) SetMinZoneSize(v int64)
- func (m *ScalePolicy_AutoScale) SetStabilizationDuration(v *durationpb.Duration)
- func (m *ScalePolicy_AutoScale) SetWarmupDuration(v *durationpb.Duration)
- func (x *ScalePolicy_AutoScale) String() string
- type ScalePolicy_AutoScale_
- type ScalePolicy_AutoScale_AutoScaleType
- func (ScalePolicy_AutoScale_AutoScaleType) Descriptor() protoreflect.EnumDescriptor
- func (x ScalePolicy_AutoScale_AutoScaleType) Enum() *ScalePolicy_AutoScale_AutoScaleType
- func (ScalePolicy_AutoScale_AutoScaleType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ScalePolicy_AutoScale_AutoScaleType) Number() protoreflect.EnumNumber
- func (x ScalePolicy_AutoScale_AutoScaleType) String() string
- func (ScalePolicy_AutoScale_AutoScaleType) Type() protoreflect.EnumType
- type ScalePolicy_CpuUtilizationRule
- func (*ScalePolicy_CpuUtilizationRule) Descriptor() ([]byte, []int)deprecated
- func (x *ScalePolicy_CpuUtilizationRule) GetUtilizationTarget() float64
- func (*ScalePolicy_CpuUtilizationRule) ProtoMessage()
- func (x *ScalePolicy_CpuUtilizationRule) ProtoReflect() protoreflect.Message
- func (x *ScalePolicy_CpuUtilizationRule) Reset()
- func (m *ScalePolicy_CpuUtilizationRule) SetUtilizationTarget(v float64)
- func (x *ScalePolicy_CpuUtilizationRule) String() string
- type ScalePolicy_CustomRule
- func (*ScalePolicy_CustomRule) Descriptor() ([]byte, []int)deprecated
- func (x *ScalePolicy_CustomRule) GetFolderId() string
- func (x *ScalePolicy_CustomRule) GetLabels() map[string]string
- func (x *ScalePolicy_CustomRule) GetMetricName() string
- func (x *ScalePolicy_CustomRule) GetMetricType() ScalePolicy_CustomRule_MetricType
- func (x *ScalePolicy_CustomRule) GetRuleType() ScalePolicy_CustomRule_RuleType
- func (x *ScalePolicy_CustomRule) GetService() string
- func (x *ScalePolicy_CustomRule) GetTarget() float64
- func (*ScalePolicy_CustomRule) ProtoMessage()
- func (x *ScalePolicy_CustomRule) ProtoReflect() protoreflect.Message
- func (x *ScalePolicy_CustomRule) Reset()
- func (m *ScalePolicy_CustomRule) SetFolderId(v string)
- func (m *ScalePolicy_CustomRule) SetLabels(v map[string]string)
- func (m *ScalePolicy_CustomRule) SetMetricName(v string)
- func (m *ScalePolicy_CustomRule) SetMetricType(v ScalePolicy_CustomRule_MetricType)
- func (m *ScalePolicy_CustomRule) SetRuleType(v ScalePolicy_CustomRule_RuleType)
- func (m *ScalePolicy_CustomRule) SetService(v string)
- func (m *ScalePolicy_CustomRule) SetTarget(v float64)
- func (x *ScalePolicy_CustomRule) String() string
- type ScalePolicy_CustomRule_MetricType
- func (ScalePolicy_CustomRule_MetricType) Descriptor() protoreflect.EnumDescriptor
- func (x ScalePolicy_CustomRule_MetricType) Enum() *ScalePolicy_CustomRule_MetricType
- func (ScalePolicy_CustomRule_MetricType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ScalePolicy_CustomRule_MetricType) Number() protoreflect.EnumNumber
- func (x ScalePolicy_CustomRule_MetricType) String() string
- func (ScalePolicy_CustomRule_MetricType) Type() protoreflect.EnumType
- type ScalePolicy_CustomRule_RuleType
- func (ScalePolicy_CustomRule_RuleType) Descriptor() protoreflect.EnumDescriptor
- func (x ScalePolicy_CustomRule_RuleType) Enum() *ScalePolicy_CustomRule_RuleType
- func (ScalePolicy_CustomRule_RuleType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ScalePolicy_CustomRule_RuleType) Number() protoreflect.EnumNumber
- func (x ScalePolicy_CustomRule_RuleType) String() string
- func (ScalePolicy_CustomRule_RuleType) Type() protoreflect.EnumType
- type ScalePolicy_FixedScale
- func (*ScalePolicy_FixedScale) Descriptor() ([]byte, []int)deprecated
- func (x *ScalePolicy_FixedScale) GetSize() int64
- func (*ScalePolicy_FixedScale) ProtoMessage()
- func (x *ScalePolicy_FixedScale) ProtoReflect() protoreflect.Message
- func (x *ScalePolicy_FixedScale) Reset()
- func (m *ScalePolicy_FixedScale) SetSize(v int64)
- func (x *ScalePolicy_FixedScale) String() string
- type ScalePolicy_FixedScale_
- type ScalePolicy_ScaleType
- type SchedulingPolicy
- func (*SchedulingPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *SchedulingPolicy) GetPreemptible() bool
- func (*SchedulingPolicy) ProtoMessage()
- func (x *SchedulingPolicy) ProtoReflect() protoreflect.Message
- func (x *SchedulingPolicy) Reset()
- func (m *SchedulingPolicy) SetPreemptible(v bool)
- func (x *SchedulingPolicy) String() string
- type StartInstanceGroupMetadata
- func (*StartInstanceGroupMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *StartInstanceGroupMetadata) GetInstanceGroupId() string
- func (*StartInstanceGroupMetadata) ProtoMessage()
- func (x *StartInstanceGroupMetadata) ProtoReflect() protoreflect.Message
- func (x *StartInstanceGroupMetadata) Reset()
- func (m *StartInstanceGroupMetadata) SetInstanceGroupId(v string)
- func (x *StartInstanceGroupMetadata) String() string
- type StartInstanceGroupRequest
- func (*StartInstanceGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartInstanceGroupRequest) GetInstanceGroupId() string
- func (*StartInstanceGroupRequest) ProtoMessage()
- func (x *StartInstanceGroupRequest) ProtoReflect() protoreflect.Message
- func (x *StartInstanceGroupRequest) Reset()
- func (m *StartInstanceGroupRequest) SetInstanceGroupId(v string)
- func (x *StartInstanceGroupRequest) String() string
- type StopInstanceGroupMetadata
- func (*StopInstanceGroupMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *StopInstanceGroupMetadata) GetInstanceGroupId() string
- func (*StopInstanceGroupMetadata) ProtoMessage()
- func (x *StopInstanceGroupMetadata) ProtoReflect() protoreflect.Message
- func (x *StopInstanceGroupMetadata) Reset()
- func (m *StopInstanceGroupMetadata) SetInstanceGroupId(v string)
- func (x *StopInstanceGroupMetadata) String() string
- type StopInstanceGroupRequest
- func (*StopInstanceGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopInstanceGroupRequest) GetInstanceGroupId() string
- func (*StopInstanceGroupRequest) ProtoMessage()
- func (x *StopInstanceGroupRequest) ProtoReflect() protoreflect.Message
- func (x *StopInstanceGroupRequest) Reset()
- func (m *StopInstanceGroupRequest) SetInstanceGroupId(v string)
- func (x *StopInstanceGroupRequest) String() string
- type StopInstancesMetadata
- func (*StopInstancesMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *StopInstancesMetadata) GetInstanceGroupId() string
- func (*StopInstancesMetadata) ProtoMessage()
- func (x *StopInstancesMetadata) ProtoReflect() protoreflect.Message
- func (x *StopInstancesMetadata) Reset()
- func (m *StopInstancesMetadata) SetInstanceGroupId(v string)
- func (x *StopInstancesMetadata) String() string
- type StopInstancesRequest
- func (*StopInstancesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopInstancesRequest) GetInstanceGroupId() string
- func (x *StopInstancesRequest) GetManagedInstanceIds() []string
- func (*StopInstancesRequest) ProtoMessage()
- func (x *StopInstancesRequest) ProtoReflect() protoreflect.Message
- func (x *StopInstancesRequest) Reset()
- func (m *StopInstancesRequest) SetInstanceGroupId(v string)
- func (m *StopInstancesRequest) SetManagedInstanceIds(v []string)
- func (x *StopInstancesRequest) String() string
- type TargetGroupSpec
- func (*TargetGroupSpec) Descriptor() ([]byte, []int)deprecated
- func (x *TargetGroupSpec) GetDescription() string
- func (x *TargetGroupSpec) GetLabels() map[string]string
- func (x *TargetGroupSpec) GetName() string
- func (*TargetGroupSpec) ProtoMessage()
- func (x *TargetGroupSpec) ProtoReflect() protoreflect.Message
- func (x *TargetGroupSpec) Reset()
- func (m *TargetGroupSpec) SetDescription(v string)
- func (m *TargetGroupSpec) SetLabels(v map[string]string)
- func (m *TargetGroupSpec) SetName(v string)
- func (x *TargetGroupSpec) String() string
- type UnimplementedInstanceGroupServiceServer
- func (UnimplementedInstanceGroupServiceServer) Create(context.Context, *CreateInstanceGroupRequest) (*operation.Operation, error)
- func (UnimplementedInstanceGroupServiceServer) CreateFromYaml(context.Context, *CreateInstanceGroupFromYamlRequest) (*operation.Operation, error)
- func (UnimplementedInstanceGroupServiceServer) Delete(context.Context, *DeleteInstanceGroupRequest) (*operation.Operation, error)
- func (UnimplementedInstanceGroupServiceServer) DeleteInstances(context.Context, *DeleteInstancesRequest) (*operation.Operation, error)
- func (UnimplementedInstanceGroupServiceServer) Get(context.Context, *GetInstanceGroupRequest) (*InstanceGroup, error)
- func (UnimplementedInstanceGroupServiceServer) List(context.Context, *ListInstanceGroupsRequest) (*ListInstanceGroupsResponse, error)
- func (UnimplementedInstanceGroupServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
- func (UnimplementedInstanceGroupServiceServer) ListInstances(context.Context, *ListInstanceGroupInstancesRequest) (*ListInstanceGroupInstancesResponse, error)
- func (UnimplementedInstanceGroupServiceServer) ListLogRecords(context.Context, *ListInstanceGroupLogRecordsRequest) (*ListInstanceGroupLogRecordsResponse, error)
- func (UnimplementedInstanceGroupServiceServer) ListOperations(context.Context, *ListInstanceGroupOperationsRequest) (*ListInstanceGroupOperationsResponse, error)
- func (UnimplementedInstanceGroupServiceServer) PauseProcesses(context.Context, *PauseInstanceGroupProcessesRequest) (*operation.Operation, error)
- func (UnimplementedInstanceGroupServiceServer) ResumeProcesses(context.Context, *ResumeInstanceGroupProcessesRequest) (*operation.Operation, error)
- func (UnimplementedInstanceGroupServiceServer) RollingRecreate(context.Context, *RollingRecreateRequest) (*operation.Operation, error)
- func (UnimplementedInstanceGroupServiceServer) RollingRestart(context.Context, *RollingRestartRequest) (*operation.Operation, error)
- func (UnimplementedInstanceGroupServiceServer) SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
- func (UnimplementedInstanceGroupServiceServer) Start(context.Context, *StartInstanceGroupRequest) (*operation.Operation, error)
- func (UnimplementedInstanceGroupServiceServer) Stop(context.Context, *StopInstanceGroupRequest) (*operation.Operation, error)
- func (UnimplementedInstanceGroupServiceServer) StopInstances(context.Context, *StopInstancesRequest) (*operation.Operation, error)
- func (UnimplementedInstanceGroupServiceServer) Update(context.Context, *UpdateInstanceGroupRequest) (*operation.Operation, error)
- func (UnimplementedInstanceGroupServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
- func (UnimplementedInstanceGroupServiceServer) UpdateFromYaml(context.Context, *UpdateInstanceGroupFromYamlRequest) (*operation.Operation, error)
- type UnsafeInstanceGroupServiceServer
- type UpdateInstanceGroupFromYamlRequest
- func (*UpdateInstanceGroupFromYamlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInstanceGroupFromYamlRequest) GetInstanceGroupId() string
- func (x *UpdateInstanceGroupFromYamlRequest) GetInstanceGroupYaml() string
- func (*UpdateInstanceGroupFromYamlRequest) ProtoMessage()
- func (x *UpdateInstanceGroupFromYamlRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateInstanceGroupFromYamlRequest) Reset()
- func (m *UpdateInstanceGroupFromYamlRequest) SetInstanceGroupId(v string)
- func (m *UpdateInstanceGroupFromYamlRequest) SetInstanceGroupYaml(v string)
- func (x *UpdateInstanceGroupFromYamlRequest) String() string
- type UpdateInstanceGroupMetadata
- func (*UpdateInstanceGroupMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInstanceGroupMetadata) GetInstanceGroupId() string
- func (*UpdateInstanceGroupMetadata) ProtoMessage()
- func (x *UpdateInstanceGroupMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateInstanceGroupMetadata) Reset()
- func (m *UpdateInstanceGroupMetadata) SetInstanceGroupId(v string)
- func (x *UpdateInstanceGroupMetadata) String() string
- type UpdateInstanceGroupRequest
- func (*UpdateInstanceGroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInstanceGroupRequest) GetAllocationPolicy() *AllocationPolicy
- func (x *UpdateInstanceGroupRequest) GetApplicationLoadBalancerSpec() *ApplicationLoadBalancerSpec
- func (x *UpdateInstanceGroupRequest) GetDeletionProtection() bool
- func (x *UpdateInstanceGroupRequest) GetDeployPolicy() *DeployPolicy
- func (x *UpdateInstanceGroupRequest) GetDescription() string
- func (x *UpdateInstanceGroupRequest) GetHealthChecksSpec() *HealthChecksSpec
- func (x *UpdateInstanceGroupRequest) GetInstanceGroupId() string
- func (x *UpdateInstanceGroupRequest) GetInstanceTemplate() *InstanceTemplate
- func (x *UpdateInstanceGroupRequest) GetLabels() map[string]string
- func (x *UpdateInstanceGroupRequest) GetLoadBalancerSpec() *LoadBalancerSpec
- func (x *UpdateInstanceGroupRequest) GetName() string
- func (x *UpdateInstanceGroupRequest) GetScalePolicy() *ScalePolicy
- func (x *UpdateInstanceGroupRequest) GetServiceAccountId() string
- func (x *UpdateInstanceGroupRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateInstanceGroupRequest) GetVariables() []*Variable
- func (*UpdateInstanceGroupRequest) ProtoMessage()
- func (x *UpdateInstanceGroupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateInstanceGroupRequest) Reset()
- func (m *UpdateInstanceGroupRequest) SetAllocationPolicy(v *AllocationPolicy)
- func (m *UpdateInstanceGroupRequest) SetApplicationLoadBalancerSpec(v *ApplicationLoadBalancerSpec)
- func (m *UpdateInstanceGroupRequest) SetDeletionProtection(v bool)
- func (m *UpdateInstanceGroupRequest) SetDeployPolicy(v *DeployPolicy)
- func (m *UpdateInstanceGroupRequest) SetDescription(v string)
- func (m *UpdateInstanceGroupRequest) SetHealthChecksSpec(v *HealthChecksSpec)
- func (m *UpdateInstanceGroupRequest) SetInstanceGroupId(v string)
- func (m *UpdateInstanceGroupRequest) SetInstanceTemplate(v *InstanceTemplate)
- func (m *UpdateInstanceGroupRequest) SetLabels(v map[string]string)
- func (m *UpdateInstanceGroupRequest) SetLoadBalancerSpec(v *LoadBalancerSpec)
- func (m *UpdateInstanceGroupRequest) SetName(v string)
- func (m *UpdateInstanceGroupRequest) SetScalePolicy(v *ScalePolicy)
- func (m *UpdateInstanceGroupRequest) SetServiceAccountId(v string)
- func (m *UpdateInstanceGroupRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (m *UpdateInstanceGroupRequest) SetVariables(v []*Variable)
- func (x *UpdateInstanceGroupRequest) String() string
- type Variable
- func (*Variable) Descriptor() ([]byte, []int)deprecated
- func (x *Variable) GetKey() string
- func (x *Variable) GetValue() string
- func (*Variable) ProtoMessage()
- func (x *Variable) ProtoReflect() protoreflect.Message
- func (x *Variable) Reset()
- func (m *Variable) SetKey(v string)
- func (m *Variable) SetValue(v string)
- func (x *Variable) String() string
Constants ¶
const ( InstanceGroupService_Get_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/Get" InstanceGroupService_List_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/List" InstanceGroupService_Create_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/Create" InstanceGroupService_CreateFromYaml_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/CreateFromYaml" InstanceGroupService_Update_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/Update" InstanceGroupService_UpdateFromYaml_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/UpdateFromYaml" InstanceGroupService_Stop_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/Stop" InstanceGroupService_RollingRestart_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/RollingRestart" InstanceGroupService_RollingRecreate_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/RollingRecreate" InstanceGroupService_Start_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/Start" InstanceGroupService_Delete_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/Delete" InstanceGroupService_ListInstances_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/ListInstances" InstanceGroupService_DeleteInstances_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/DeleteInstances" InstanceGroupService_StopInstances_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/StopInstances" InstanceGroupService_ListOperations_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/ListOperations" InstanceGroupService_ListLogRecords_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/ListLogRecords" InstanceGroupService_ListAccessBindings_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/ListAccessBindings" InstanceGroupService_SetAccessBindings_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/SetAccessBindings" InstanceGroupService_UpdateAccessBindings_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/UpdateAccessBindings" InstanceGroupService_ResumeProcesses_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/ResumeProcesses" InstanceGroupService_PauseProcesses_FullMethodName = "/yandex.cloud.compute.v1.instancegroup.InstanceGroupService/PauseProcesses" )
Variables ¶
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.
var ( MetadataOption_name = map[int32]string{ 0: "METADATA_OPTION_UNSPECIFIED", 1: "ENABLED", 2: "DISABLED", } MetadataOption_value = map[string]int32{ "METADATA_OPTION_UNSPECIFIED": 0, "ENABLED": 1, "DISABLED": 2, } )
Enum value maps for MetadataOption.
var ( InstanceGroup_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "STARTING", 2: "ACTIVE", 3: "STOPPING", 4: "STOPPED", 5: "DELETING", 6: "PAUSED", } InstanceGroup_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "STARTING": 1, "ACTIVE": 2, "STOPPING": 3, "STOPPED": 4, "DELETING": 5, "PAUSED": 6, } )
Enum value maps for InstanceGroup_Status.
var ( ScalePolicy_AutoScale_AutoScaleType_name = map[int32]string{ 0: "AUTO_SCALE_TYPE_UNSPECIFIED", 1: "ZONAL", 2: "REGIONAL", } ScalePolicy_AutoScale_AutoScaleType_value = map[string]int32{ "AUTO_SCALE_TYPE_UNSPECIFIED": 0, "ZONAL": 1, "REGIONAL": 2, } )
Enum value maps for ScalePolicy_AutoScale_AutoScaleType.
var ( ScalePolicy_CustomRule_RuleType_name = map[int32]string{ 0: "RULE_TYPE_UNSPECIFIED", 1: "UTILIZATION", 2: "WORKLOAD", } ScalePolicy_CustomRule_RuleType_value = map[string]int32{ "RULE_TYPE_UNSPECIFIED": 0, "UTILIZATION": 1, "WORKLOAD": 2, } )
Enum value maps for ScalePolicy_CustomRule_RuleType.
var ( ScalePolicy_CustomRule_MetricType_name = map[int32]string{ 0: "METRIC_TYPE_UNSPECIFIED", 1: "GAUGE", 2: "COUNTER", } ScalePolicy_CustomRule_MetricType_value = map[string]int32{ "METRIC_TYPE_UNSPECIFIED": 0, "GAUGE": 1, "COUNTER": 2, } )
Enum value maps for ScalePolicy_CustomRule_MetricType.
var ( DeployPolicy_Strategy_name = map[int32]string{ 0: "STRATEGY_UNSPECIFIED", 1: "PROACTIVE", 2: "OPPORTUNISTIC", } DeployPolicy_Strategy_value = map[string]int32{ "STRATEGY_UNSPECIFIED": 0, "PROACTIVE": 1, "OPPORTUNISTIC": 2, } )
Enum value maps for DeployPolicy_Strategy.
var ( DeployPolicy_MinimalAction_name = map[int32]string{ 0: "MINIMAL_ACTION_UNSPECIFIED", 1: "LIVE_UPDATE", 2: "RESTART", 3: "RECREATE", } DeployPolicy_MinimalAction_value = map[string]int32{ "MINIMAL_ACTION_UNSPECIFIED": 0, "LIVE_UPDATE": 1, "RESTART": 2, "RECREATE": 3, } )
Enum value maps for DeployPolicy_MinimalAction.
var ( AttachedFilesystemSpec_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 1: "READ_ONLY", 2: "READ_WRITE", } AttachedFilesystemSpec_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "READ_ONLY": 1, "READ_WRITE": 2, } )
Enum value maps for AttachedFilesystemSpec_Mode.
var ( PlacementPolicy_HostAffinityRule_Operator_name = map[int32]string{ 0: "OPERATOR_UNSPECIFIED", 1: "IN", 2: "NOT_IN", } PlacementPolicy_HostAffinityRule_Operator_value = map[string]int32{ "OPERATOR_UNSPECIFIED": 0, "IN": 1, "NOT_IN": 2, } )
Enum value maps for PlacementPolicy_HostAffinityRule_Operator.
var ( AttachedDiskSpec_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 1: "READ_ONLY", 2: "READ_WRITE", } AttachedDiskSpec_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "READ_ONLY": 1, "READ_WRITE": 2, } )
Enum value maps for AttachedDiskSpec_Mode.
var ( NetworkSettings_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "STANDARD", 2: "SOFTWARE_ACCELERATED", 3: "HARDWARE_ACCELERATED", } NetworkSettings_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "STANDARD": 1, "SOFTWARE_ACCELERATED": 2, "HARDWARE_ACCELERATED": 3, } )
Enum value maps for NetworkSettings_Type.
var ( ManagedInstance_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 11: "CREATING_INSTANCE", 12: "UPDATING_INSTANCE", 13: "DELETING_INSTANCE", 14: "STARTING_INSTANCE", 15: "STOPPING_INSTANCE", 16: "AWAITING_STARTUP_DURATION", 17: "CHECKING_HEALTH", 18: "OPENING_TRAFFIC", 19: "AWAITING_WARMUP_DURATION", 20: "CLOSING_TRAFFIC", 21: "RUNNING_ACTUAL", 22: "RUNNING_OUTDATED", 23: "STOPPED", 24: "DELETED", 25: "PREPARING_RESOURCES", } ManagedInstance_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "CREATING_INSTANCE": 11, "UPDATING_INSTANCE": 12, "DELETING_INSTANCE": 13, "STARTING_INSTANCE": 14, "STOPPING_INSTANCE": 15, "AWAITING_STARTUP_DURATION": 16, "CHECKING_HEALTH": 17, "OPENING_TRAFFIC": 18, "AWAITING_WARMUP_DURATION": 19, "CLOSING_TRAFFIC": 20, "RUNNING_ACTUAL": 21, "RUNNING_OUTDATED": 22, "STOPPED": 23, "DELETED": 24, "PREPARING_RESOURCES": 25, } )
Enum value maps for ManagedInstance_Status.
var ( AutoHealingPolicy_AutoHealingAction_name = map[int32]string{ 0: "AUTO_HEALING_ACTION_UNSPECIFIED", 1: "RESTART", 2: "RECREATE", 3: "NONE", } AutoHealingPolicy_AutoHealingAction_value = map[string]int32{ "AUTO_HEALING_ACTION_UNSPECIFIED": 0, "RESTART": 1, "RECREATE": 2, "NONE": 3, } )
Enum value maps for AutoHealingPolicy_AutoHealingAction.
var ( InstanceGroupView_name = map[int32]string{ 0: "BASIC", 1: "FULL", } InstanceGroupView_value = map[string]int32{ "BASIC": 0, "FULL": 1, } )
Enum value maps for InstanceGroupView.
var File_yandex_cloud_compute_v1_instancegroup_instance_group_proto protoreflect.FileDescriptor
var File_yandex_cloud_compute_v1_instancegroup_instance_group_service_proto protoreflect.FileDescriptor
var InstanceGroupService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.compute.v1.instancegroup.InstanceGroupService", HandlerType: (*InstanceGroupServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _InstanceGroupService_Get_Handler, }, { MethodName: "List", Handler: _InstanceGroupService_List_Handler, }, { MethodName: "Create", Handler: _InstanceGroupService_Create_Handler, }, { MethodName: "CreateFromYaml", Handler: _InstanceGroupService_CreateFromYaml_Handler, }, { MethodName: "Update", Handler: _InstanceGroupService_Update_Handler, }, { MethodName: "UpdateFromYaml", Handler: _InstanceGroupService_UpdateFromYaml_Handler, }, { MethodName: "Stop", Handler: _InstanceGroupService_Stop_Handler, }, { MethodName: "RollingRestart", Handler: _InstanceGroupService_RollingRestart_Handler, }, { MethodName: "RollingRecreate", Handler: _InstanceGroupService_RollingRecreate_Handler, }, { MethodName: "Start", Handler: _InstanceGroupService_Start_Handler, }, { MethodName: "Delete", Handler: _InstanceGroupService_Delete_Handler, }, { MethodName: "ListInstances", Handler: _InstanceGroupService_ListInstances_Handler, }, { MethodName: "DeleteInstances", Handler: _InstanceGroupService_DeleteInstances_Handler, }, { MethodName: "StopInstances", Handler: _InstanceGroupService_StopInstances_Handler, }, { MethodName: "ListOperations", Handler: _InstanceGroupService_ListOperations_Handler, }, { MethodName: "ListLogRecords", Handler: _InstanceGroupService_ListLogRecords_Handler, }, { MethodName: "ListAccessBindings", Handler: _InstanceGroupService_ListAccessBindings_Handler, }, { MethodName: "SetAccessBindings", Handler: _InstanceGroupService_SetAccessBindings_Handler, }, { MethodName: "UpdateAccessBindings", Handler: _InstanceGroupService_UpdateAccessBindings_Handler, }, { MethodName: "ResumeProcesses", Handler: _InstanceGroupService_ResumeProcesses_Handler, }, { MethodName: "PauseProcesses", Handler: _InstanceGroupService_PauseProcesses_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/compute/v1/instancegroup/instance_group_service.proto", }
InstanceGroupService_ServiceDesc is the grpc.ServiceDesc for InstanceGroupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterInstanceGroupServiceServer ¶
func RegisterInstanceGroupServiceServer(s grpc.ServiceRegistrar, srv InstanceGroupServiceServer)
Types ¶
type AllocationPolicy ¶
type AllocationPolicy struct { // List of availability zones. Zones []*AllocationPolicy_Zone `protobuf:"bytes,1,rep,name=zones,proto3" json:"zones,omitempty"` // contains filtered or unexported fields }
func (*AllocationPolicy) Descriptor
deprecated
func (*AllocationPolicy) Descriptor() ([]byte, []int)
Deprecated: Use AllocationPolicy.ProtoReflect.Descriptor instead.
func (*AllocationPolicy) GetZones ¶
func (x *AllocationPolicy) GetZones() []*AllocationPolicy_Zone
func (*AllocationPolicy) ProtoMessage ¶
func (*AllocationPolicy) ProtoMessage()
func (*AllocationPolicy) ProtoReflect ¶
func (x *AllocationPolicy) ProtoReflect() protoreflect.Message
func (*AllocationPolicy) Reset ¶
func (x *AllocationPolicy) Reset()
func (*AllocationPolicy) SetZones ¶
func (m *AllocationPolicy) SetZones(v []*AllocationPolicy_Zone)
func (*AllocationPolicy) String ¶
func (x *AllocationPolicy) String() string
type AllocationPolicy_Zone ¶
type AllocationPolicy_Zone struct { // ID of the availability zone where the instance resides. ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` // Each instance in a zone will be associated with exactly one of a tag from a pool below. // All specified tags must be unique across the whole group not only the zone. // It is guaranteed that during whole deploy only tags from prefix of the specified list will be used. // It is possible to use tag associated with instance in templating via {instance.tag}. InstanceTagsPool []string `protobuf:"bytes,2,rep,name=instance_tags_pool,json=instanceTagsPool,proto3" json:"instance_tags_pool,omitempty"` // contains filtered or unexported fields }
func (*AllocationPolicy_Zone) Descriptor
deprecated
func (*AllocationPolicy_Zone) Descriptor() ([]byte, []int)
Deprecated: Use AllocationPolicy_Zone.ProtoReflect.Descriptor instead.
func (*AllocationPolicy_Zone) GetInstanceTagsPool ¶
func (x *AllocationPolicy_Zone) GetInstanceTagsPool() []string
func (*AllocationPolicy_Zone) GetZoneId ¶
func (x *AllocationPolicy_Zone) GetZoneId() string
func (*AllocationPolicy_Zone) ProtoMessage ¶
func (*AllocationPolicy_Zone) ProtoMessage()
func (*AllocationPolicy_Zone) ProtoReflect ¶
func (x *AllocationPolicy_Zone) ProtoReflect() protoreflect.Message
func (*AllocationPolicy_Zone) Reset ¶
func (x *AllocationPolicy_Zone) Reset()
func (*AllocationPolicy_Zone) SetInstanceTagsPool ¶
func (m *AllocationPolicy_Zone) SetInstanceTagsPool(v []string)
func (*AllocationPolicy_Zone) SetZoneId ¶
func (m *AllocationPolicy_Zone) SetZoneId(v string)
func (*AllocationPolicy_Zone) String ¶
func (x *AllocationPolicy_Zone) String() string
type ApplicationLoadBalancerSpec ¶
type ApplicationLoadBalancerSpec struct { // Basic properties of the Application Load Balancer target group attributed to the instance group. TargetGroupSpec *ApplicationTargetGroupSpec `protobuf:"bytes,1,opt,name=target_group_spec,json=targetGroupSpec,proto3" json:"target_group_spec,omitempty"` // Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, // the VM will be turned off based on the deployment policy. Specified in seconds. MaxOpeningTrafficDuration *durationpb.Duration `` /* 140-byte string literal not displayed */ // Do not wait load balancer health checks. IgnoreHealthChecks bool `protobuf:"varint,3,opt,name=ignore_health_checks,json=ignoreHealthChecks,proto3" json:"ignore_health_checks,omitempty"` // contains filtered or unexported fields }
func (*ApplicationLoadBalancerSpec) Descriptor
deprecated
func (*ApplicationLoadBalancerSpec) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationLoadBalancerSpec.ProtoReflect.Descriptor instead.
func (*ApplicationLoadBalancerSpec) GetIgnoreHealthChecks ¶
func (x *ApplicationLoadBalancerSpec) GetIgnoreHealthChecks() bool
func (*ApplicationLoadBalancerSpec) GetMaxOpeningTrafficDuration ¶
func (x *ApplicationLoadBalancerSpec) GetMaxOpeningTrafficDuration() *durationpb.Duration
func (*ApplicationLoadBalancerSpec) GetTargetGroupSpec ¶
func (x *ApplicationLoadBalancerSpec) GetTargetGroupSpec() *ApplicationTargetGroupSpec
func (*ApplicationLoadBalancerSpec) ProtoMessage ¶
func (*ApplicationLoadBalancerSpec) ProtoMessage()
func (*ApplicationLoadBalancerSpec) ProtoReflect ¶
func (x *ApplicationLoadBalancerSpec) ProtoReflect() protoreflect.Message
func (*ApplicationLoadBalancerSpec) Reset ¶
func (x *ApplicationLoadBalancerSpec) Reset()
func (*ApplicationLoadBalancerSpec) SetIgnoreHealthChecks ¶
func (m *ApplicationLoadBalancerSpec) SetIgnoreHealthChecks(v bool)
func (*ApplicationLoadBalancerSpec) SetMaxOpeningTrafficDuration ¶
func (m *ApplicationLoadBalancerSpec) SetMaxOpeningTrafficDuration(v *durationpb.Duration)
func (*ApplicationLoadBalancerSpec) SetTargetGroupSpec ¶
func (m *ApplicationLoadBalancerSpec) SetTargetGroupSpec(v *ApplicationTargetGroupSpec)
func (*ApplicationLoadBalancerSpec) String ¶
func (x *ApplicationLoadBalancerSpec) String() string
type ApplicationLoadBalancerState ¶
type ApplicationLoadBalancerState struct { // ID of the Application Load Balancer target group attributed to the instance group. TargetGroupId string `protobuf:"bytes,1,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"` // Status message of the target group. StatusMessage string `protobuf:"bytes,2,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // contains filtered or unexported fields }
func (*ApplicationLoadBalancerState) Descriptor
deprecated
func (*ApplicationLoadBalancerState) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationLoadBalancerState.ProtoReflect.Descriptor instead.
func (*ApplicationLoadBalancerState) GetStatusMessage ¶
func (x *ApplicationLoadBalancerState) GetStatusMessage() string
func (*ApplicationLoadBalancerState) GetTargetGroupId ¶
func (x *ApplicationLoadBalancerState) GetTargetGroupId() string
func (*ApplicationLoadBalancerState) ProtoMessage ¶
func (*ApplicationLoadBalancerState) ProtoMessage()
func (*ApplicationLoadBalancerState) ProtoReflect ¶
func (x *ApplicationLoadBalancerState) ProtoReflect() protoreflect.Message
func (*ApplicationLoadBalancerState) Reset ¶
func (x *ApplicationLoadBalancerState) Reset()
func (*ApplicationLoadBalancerState) SetStatusMessage ¶
func (m *ApplicationLoadBalancerState) SetStatusMessage(v string)
func (*ApplicationLoadBalancerState) SetTargetGroupId ¶
func (m *ApplicationLoadBalancerState) SetTargetGroupId(v string)
func (*ApplicationLoadBalancerState) String ¶
func (x *ApplicationLoadBalancerState) String() string
type ApplicationTargetGroupSpec ¶
type ApplicationTargetGroupSpec struct { // Name of the target group. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Description of the target group. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Resource labels as `key:value` pairs. Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ApplicationTargetGroupSpec) Descriptor
deprecated
func (*ApplicationTargetGroupSpec) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationTargetGroupSpec.ProtoReflect.Descriptor instead.
func (*ApplicationTargetGroupSpec) GetDescription ¶
func (x *ApplicationTargetGroupSpec) GetDescription() string
func (*ApplicationTargetGroupSpec) GetLabels ¶
func (x *ApplicationTargetGroupSpec) GetLabels() map[string]string
func (*ApplicationTargetGroupSpec) GetName ¶
func (x *ApplicationTargetGroupSpec) GetName() string
func (*ApplicationTargetGroupSpec) ProtoMessage ¶
func (*ApplicationTargetGroupSpec) ProtoMessage()
func (*ApplicationTargetGroupSpec) ProtoReflect ¶
func (x *ApplicationTargetGroupSpec) ProtoReflect() protoreflect.Message
func (*ApplicationTargetGroupSpec) Reset ¶
func (x *ApplicationTargetGroupSpec) Reset()
func (*ApplicationTargetGroupSpec) SetDescription ¶
func (m *ApplicationTargetGroupSpec) SetDescription(v string)
func (*ApplicationTargetGroupSpec) SetLabels ¶
func (m *ApplicationTargetGroupSpec) SetLabels(v map[string]string)
func (*ApplicationTargetGroupSpec) SetName ¶
func (m *ApplicationTargetGroupSpec) SetName(v string)
func (*ApplicationTargetGroupSpec) String ¶
func (x *ApplicationTargetGroupSpec) String() string
type AttachedDiskSpec ¶
type AttachedDiskSpec struct { // Access mode to the Disk resource. Mode AttachedDiskSpec_Mode `` /* 127-byte string literal not displayed */ // Serial number that is reflected in the /dev/disk/by-id/ tree // of a Linux operating system running within the instance. // // This value can be used to reference the device for mounting, resizing, and so on, from within the instance. DeviceName string `protobuf:"bytes,2,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` // oneof disk_spec or disk_id // Disk specification that is attached to the instance. For more information, see [Disks](/docs/compute/concepts/disk). DiskSpec *AttachedDiskSpec_DiskSpec `protobuf:"bytes,3,opt,name=disk_spec,json=diskSpec,proto3" json:"disk_spec,omitempty"` // Set to use an existing disk. To set use variables. DiskId string `protobuf:"bytes,4,opt,name=disk_id,json=diskId,proto3" json:"disk_id,omitempty"` // When set can be later used to change DiskSpec of actual disk. Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*AttachedDiskSpec) Descriptor
deprecated
func (*AttachedDiskSpec) Descriptor() ([]byte, []int)
Deprecated: Use AttachedDiskSpec.ProtoReflect.Descriptor instead.
func (*AttachedDiskSpec) GetDeviceName ¶
func (x *AttachedDiskSpec) GetDeviceName() string
func (*AttachedDiskSpec) GetDiskId ¶
func (x *AttachedDiskSpec) GetDiskId() string
func (*AttachedDiskSpec) GetDiskSpec ¶
func (x *AttachedDiskSpec) GetDiskSpec() *AttachedDiskSpec_DiskSpec
func (*AttachedDiskSpec) GetMode ¶
func (x *AttachedDiskSpec) GetMode() AttachedDiskSpec_Mode
func (*AttachedDiskSpec) GetName ¶
func (x *AttachedDiskSpec) GetName() string
func (*AttachedDiskSpec) ProtoMessage ¶
func (*AttachedDiskSpec) ProtoMessage()
func (*AttachedDiskSpec) ProtoReflect ¶
func (x *AttachedDiskSpec) ProtoReflect() protoreflect.Message
func (*AttachedDiskSpec) Reset ¶
func (x *AttachedDiskSpec) Reset()
func (*AttachedDiskSpec) SetDeviceName ¶
func (m *AttachedDiskSpec) SetDeviceName(v string)
func (*AttachedDiskSpec) SetDiskId ¶
func (m *AttachedDiskSpec) SetDiskId(v string)
func (*AttachedDiskSpec) SetDiskSpec ¶
func (m *AttachedDiskSpec) SetDiskSpec(v *AttachedDiskSpec_DiskSpec)
func (*AttachedDiskSpec) SetMode ¶
func (m *AttachedDiskSpec) SetMode(v AttachedDiskSpec_Mode)
func (*AttachedDiskSpec) SetName ¶
func (m *AttachedDiskSpec) SetName(v string)
func (*AttachedDiskSpec) String ¶
func (x *AttachedDiskSpec) String() string
type AttachedDiskSpec_DiskSpec ¶
type AttachedDiskSpec_DiskSpec struct { // Description of the disk. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // ID of the disk type. TypeId string `protobuf:"bytes,2,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` // Size of the disk, specified in bytes. Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // Types that are assignable to SourceOneof: // // *AttachedDiskSpec_DiskSpec_ImageId // *AttachedDiskSpec_DiskSpec_SnapshotId SourceOneof isAttachedDiskSpec_DiskSpec_SourceOneof `protobuf_oneof:"source_oneof"` // When set to true, disk will not be deleted even after managed instance is deleted. // It will be a user's responsibility to delete such disks. PreserveAfterInstanceDelete bool `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AttachedDiskSpec_DiskSpec) Descriptor
deprecated
func (*AttachedDiskSpec_DiskSpec) Descriptor() ([]byte, []int)
Deprecated: Use AttachedDiskSpec_DiskSpec.ProtoReflect.Descriptor instead.
func (*AttachedDiskSpec_DiskSpec) GetDescription ¶
func (x *AttachedDiskSpec_DiskSpec) GetDescription() string
func (*AttachedDiskSpec_DiskSpec) GetImageId ¶
func (x *AttachedDiskSpec_DiskSpec) GetImageId() string
func (*AttachedDiskSpec_DiskSpec) GetPreserveAfterInstanceDelete ¶
func (x *AttachedDiskSpec_DiskSpec) GetPreserveAfterInstanceDelete() bool
func (*AttachedDiskSpec_DiskSpec) GetSize ¶
func (x *AttachedDiskSpec_DiskSpec) GetSize() int64
func (*AttachedDiskSpec_DiskSpec) GetSnapshotId ¶
func (x *AttachedDiskSpec_DiskSpec) GetSnapshotId() string
func (*AttachedDiskSpec_DiskSpec) GetSourceOneof ¶
func (m *AttachedDiskSpec_DiskSpec) GetSourceOneof() isAttachedDiskSpec_DiskSpec_SourceOneof
func (*AttachedDiskSpec_DiskSpec) GetTypeId ¶
func (x *AttachedDiskSpec_DiskSpec) GetTypeId() string
func (*AttachedDiskSpec_DiskSpec) ProtoMessage ¶
func (*AttachedDiskSpec_DiskSpec) ProtoMessage()
func (*AttachedDiskSpec_DiskSpec) ProtoReflect ¶
func (x *AttachedDiskSpec_DiskSpec) ProtoReflect() protoreflect.Message
func (*AttachedDiskSpec_DiskSpec) Reset ¶
func (x *AttachedDiskSpec_DiskSpec) Reset()
func (*AttachedDiskSpec_DiskSpec) SetDescription ¶
func (m *AttachedDiskSpec_DiskSpec) SetDescription(v string)
func (*AttachedDiskSpec_DiskSpec) SetImageId ¶
func (m *AttachedDiskSpec_DiskSpec) SetImageId(v string)
func (*AttachedDiskSpec_DiskSpec) SetPreserveAfterInstanceDelete ¶
func (m *AttachedDiskSpec_DiskSpec) SetPreserveAfterInstanceDelete(v bool)
func (*AttachedDiskSpec_DiskSpec) SetSize ¶
func (m *AttachedDiskSpec_DiskSpec) SetSize(v int64)
func (*AttachedDiskSpec_DiskSpec) SetSnapshotId ¶
func (m *AttachedDiskSpec_DiskSpec) SetSnapshotId(v string)
func (*AttachedDiskSpec_DiskSpec) SetSourceOneof ¶
func (m *AttachedDiskSpec_DiskSpec) SetSourceOneof(v AttachedDiskSpec_DiskSpec_SourceOneof)
func (*AttachedDiskSpec_DiskSpec) SetTypeId ¶
func (m *AttachedDiskSpec_DiskSpec) SetTypeId(v string)
func (*AttachedDiskSpec_DiskSpec) String ¶
func (x *AttachedDiskSpec_DiskSpec) String() string
type AttachedDiskSpec_DiskSpec_ImageId ¶
type AttachedDiskSpec_DiskSpec_ImageId struct { // ID of the image that will be used for disk creation. ImageId string `protobuf:"bytes,4,opt,name=image_id,json=imageId,proto3,oneof"` }
type AttachedDiskSpec_DiskSpec_SnapshotId ¶
type AttachedDiskSpec_DiskSpec_SnapshotId struct { // ID of the snapshot that will be used for disk creation. SnapshotId string `protobuf:"bytes,5,opt,name=snapshot_id,json=snapshotId,proto3,oneof"` }
type AttachedDiskSpec_DiskSpec_SourceOneof ¶
type AttachedDiskSpec_DiskSpec_SourceOneof = isAttachedDiskSpec_DiskSpec_SourceOneof
type AttachedDiskSpec_Mode ¶
type AttachedDiskSpec_Mode int32
const ( AttachedDiskSpec_MODE_UNSPECIFIED AttachedDiskSpec_Mode = 0 // Read-only access. AttachedDiskSpec_READ_ONLY AttachedDiskSpec_Mode = 1 // Read/Write access. AttachedDiskSpec_READ_WRITE AttachedDiskSpec_Mode = 2 )
func (AttachedDiskSpec_Mode) Descriptor ¶
func (AttachedDiskSpec_Mode) Descriptor() protoreflect.EnumDescriptor
func (AttachedDiskSpec_Mode) Enum ¶
func (x AttachedDiskSpec_Mode) Enum() *AttachedDiskSpec_Mode
func (AttachedDiskSpec_Mode) EnumDescriptor
deprecated
func (AttachedDiskSpec_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use AttachedDiskSpec_Mode.Descriptor instead.
func (AttachedDiskSpec_Mode) Number ¶
func (x AttachedDiskSpec_Mode) Number() protoreflect.EnumNumber
func (AttachedDiskSpec_Mode) String ¶
func (x AttachedDiskSpec_Mode) String() string
func (AttachedDiskSpec_Mode) Type ¶
func (AttachedDiskSpec_Mode) Type() protoreflect.EnumType
type AttachedFilesystemSpec ¶
type AttachedFilesystemSpec struct { // Mode of access to the filesystem that should be attached. Mode AttachedFilesystemSpec_Mode `` /* 133-byte string literal not displayed */ // Name of the device representing the filesystem on the instance. // // The name should be used for referencing the filesystem from within the instance // when it's being mounted, resized etc. // // If not specified, a random value will be generated. DeviceName string `protobuf:"bytes,2,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` // ID of the filesystem that should be attached. FilesystemId string `protobuf:"bytes,3,opt,name=filesystem_id,json=filesystemId,proto3" json:"filesystem_id,omitempty"` // contains filtered or unexported fields }
func (*AttachedFilesystemSpec) Descriptor
deprecated
func (*AttachedFilesystemSpec) Descriptor() ([]byte, []int)
Deprecated: Use AttachedFilesystemSpec.ProtoReflect.Descriptor instead.
func (*AttachedFilesystemSpec) GetDeviceName ¶
func (x *AttachedFilesystemSpec) GetDeviceName() string
func (*AttachedFilesystemSpec) GetFilesystemId ¶
func (x *AttachedFilesystemSpec) GetFilesystemId() string
func (*AttachedFilesystemSpec) GetMode ¶
func (x *AttachedFilesystemSpec) GetMode() AttachedFilesystemSpec_Mode
func (*AttachedFilesystemSpec) ProtoMessage ¶
func (*AttachedFilesystemSpec) ProtoMessage()
func (*AttachedFilesystemSpec) ProtoReflect ¶
func (x *AttachedFilesystemSpec) ProtoReflect() protoreflect.Message
func (*AttachedFilesystemSpec) Reset ¶
func (x *AttachedFilesystemSpec) Reset()
func (*AttachedFilesystemSpec) SetDeviceName ¶
func (m *AttachedFilesystemSpec) SetDeviceName(v string)
func (*AttachedFilesystemSpec) SetFilesystemId ¶
func (m *AttachedFilesystemSpec) SetFilesystemId(v string)
func (*AttachedFilesystemSpec) SetMode ¶
func (m *AttachedFilesystemSpec) SetMode(v AttachedFilesystemSpec_Mode)
func (*AttachedFilesystemSpec) String ¶
func (x *AttachedFilesystemSpec) String() string
type AttachedFilesystemSpec_Mode ¶
type AttachedFilesystemSpec_Mode int32
const ( AttachedFilesystemSpec_MODE_UNSPECIFIED AttachedFilesystemSpec_Mode = 0 // Read-only access. AttachedFilesystemSpec_READ_ONLY AttachedFilesystemSpec_Mode = 1 // Read/Write access. Default value. AttachedFilesystemSpec_READ_WRITE AttachedFilesystemSpec_Mode = 2 )
func (AttachedFilesystemSpec_Mode) Descriptor ¶
func (AttachedFilesystemSpec_Mode) Descriptor() protoreflect.EnumDescriptor
func (AttachedFilesystemSpec_Mode) Enum ¶
func (x AttachedFilesystemSpec_Mode) Enum() *AttachedFilesystemSpec_Mode
func (AttachedFilesystemSpec_Mode) EnumDescriptor
deprecated
func (AttachedFilesystemSpec_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use AttachedFilesystemSpec_Mode.Descriptor instead.
func (AttachedFilesystemSpec_Mode) Number ¶
func (x AttachedFilesystemSpec_Mode) Number() protoreflect.EnumNumber
func (AttachedFilesystemSpec_Mode) String ¶
func (x AttachedFilesystemSpec_Mode) String() string
func (AttachedFilesystemSpec_Mode) Type ¶
func (AttachedFilesystemSpec_Mode) Type() protoreflect.EnumType
type AutoHealingPolicy ¶
type AutoHealingPolicy struct { // Instance Groups performs [auto_healing_action] when instance becomes unhealthy. AutoHealingAction AutoHealingPolicy_AutoHealingAction `` /* 194-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AutoHealingPolicy) Descriptor
deprecated
func (*AutoHealingPolicy) Descriptor() ([]byte, []int)
Deprecated: Use AutoHealingPolicy.ProtoReflect.Descriptor instead.
func (*AutoHealingPolicy) GetAutoHealingAction ¶
func (x *AutoHealingPolicy) GetAutoHealingAction() AutoHealingPolicy_AutoHealingAction
func (*AutoHealingPolicy) ProtoMessage ¶
func (*AutoHealingPolicy) ProtoMessage()
func (*AutoHealingPolicy) ProtoReflect ¶
func (x *AutoHealingPolicy) ProtoReflect() protoreflect.Message
func (*AutoHealingPolicy) Reset ¶
func (x *AutoHealingPolicy) Reset()
func (*AutoHealingPolicy) SetAutoHealingAction ¶
func (m *AutoHealingPolicy) SetAutoHealingAction(v AutoHealingPolicy_AutoHealingAction)
func (*AutoHealingPolicy) String ¶
func (x *AutoHealingPolicy) String() string
type AutoHealingPolicy_AutoHealingAction ¶
type AutoHealingPolicy_AutoHealingAction int32
const ( AutoHealingPolicy_AUTO_HEALING_ACTION_UNSPECIFIED AutoHealingPolicy_AutoHealingAction = 0 // Re-starting an instance with restart: stopping and then starting the instance. AutoHealingPolicy_RESTART AutoHealingPolicy_AutoHealingAction = 1 // Re-creating an instance: deleting an instance and creating a new one. AutoHealingPolicy_RECREATE AutoHealingPolicy_AutoHealingAction = 2 // No action AutoHealingPolicy_NONE AutoHealingPolicy_AutoHealingAction = 3 )
func (AutoHealingPolicy_AutoHealingAction) Descriptor ¶
func (AutoHealingPolicy_AutoHealingAction) Descriptor() protoreflect.EnumDescriptor
func (AutoHealingPolicy_AutoHealingAction) Enum ¶
func (x AutoHealingPolicy_AutoHealingAction) Enum() *AutoHealingPolicy_AutoHealingAction
func (AutoHealingPolicy_AutoHealingAction) EnumDescriptor
deprecated
func (AutoHealingPolicy_AutoHealingAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use AutoHealingPolicy_AutoHealingAction.Descriptor instead.
func (AutoHealingPolicy_AutoHealingAction) Number ¶
func (x AutoHealingPolicy_AutoHealingAction) Number() protoreflect.EnumNumber
func (AutoHealingPolicy_AutoHealingAction) String ¶
func (x AutoHealingPolicy_AutoHealingAction) String() string
func (AutoHealingPolicy_AutoHealingAction) Type ¶
func (AutoHealingPolicy_AutoHealingAction) Type() protoreflect.EnumType
type CreateInstanceGroupFromYamlRequest ¶
type CreateInstanceGroupFromYamlRequest struct { // ID of the folder to create an instance group in. // To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // [InstanceGroupService.Create] request in YAML format. InstanceGroupYaml string `protobuf:"bytes,2,opt,name=instance_group_yaml,json=instanceGroupYaml,proto3" json:"instance_group_yaml,omitempty"` // contains filtered or unexported fields }
func (*CreateInstanceGroupFromYamlRequest) Descriptor
deprecated
func (*CreateInstanceGroupFromYamlRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateInstanceGroupFromYamlRequest.ProtoReflect.Descriptor instead.
func (*CreateInstanceGroupFromYamlRequest) GetFolderId ¶
func (x *CreateInstanceGroupFromYamlRequest) GetFolderId() string
func (*CreateInstanceGroupFromYamlRequest) GetInstanceGroupYaml ¶
func (x *CreateInstanceGroupFromYamlRequest) GetInstanceGroupYaml() string
func (*CreateInstanceGroupFromYamlRequest) ProtoMessage ¶
func (*CreateInstanceGroupFromYamlRequest) ProtoMessage()
func (*CreateInstanceGroupFromYamlRequest) ProtoReflect ¶
func (x *CreateInstanceGroupFromYamlRequest) ProtoReflect() protoreflect.Message
func (*CreateInstanceGroupFromYamlRequest) Reset ¶
func (x *CreateInstanceGroupFromYamlRequest) Reset()
func (*CreateInstanceGroupFromYamlRequest) SetFolderId ¶
func (m *CreateInstanceGroupFromYamlRequest) SetFolderId(v string)
func (*CreateInstanceGroupFromYamlRequest) SetInstanceGroupYaml ¶
func (m *CreateInstanceGroupFromYamlRequest) SetInstanceGroupYaml(v string)
func (*CreateInstanceGroupFromYamlRequest) String ¶
func (x *CreateInstanceGroupFromYamlRequest) String() string
type CreateInstanceGroupMetadata ¶
type CreateInstanceGroupMetadata struct { // ID of the instance group that is being created. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // contains filtered or unexported fields }
func (*CreateInstanceGroupMetadata) Descriptor
deprecated
func (*CreateInstanceGroupMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateInstanceGroupMetadata.ProtoReflect.Descriptor instead.
func (*CreateInstanceGroupMetadata) GetInstanceGroupId ¶
func (x *CreateInstanceGroupMetadata) GetInstanceGroupId() string
func (*CreateInstanceGroupMetadata) ProtoMessage ¶
func (*CreateInstanceGroupMetadata) ProtoMessage()
func (*CreateInstanceGroupMetadata) ProtoReflect ¶
func (x *CreateInstanceGroupMetadata) ProtoReflect() protoreflect.Message
func (*CreateInstanceGroupMetadata) Reset ¶
func (x *CreateInstanceGroupMetadata) Reset()
func (*CreateInstanceGroupMetadata) SetInstanceGroupId ¶
func (m *CreateInstanceGroupMetadata) SetInstanceGroupId(v string)
func (*CreateInstanceGroupMetadata) String ¶
func (x *CreateInstanceGroupMetadata) String() string
type CreateInstanceGroupRequest ¶
type CreateInstanceGroupRequest struct { // ID of the folder to create an instance group in. // To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Name of the instance group. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Description of the instance group. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Resource labels as `key:value` pairs. Labels map[string]string `` /* 153-byte string literal not displayed */ // Instance template that the instance group belongs to. InstanceTemplate *InstanceTemplate `protobuf:"bytes,6,opt,name=instance_template,json=instanceTemplate,proto3" json:"instance_template,omitempty"` // [Scaling policy](/docs/compute/concepts/instance-groups/scale) of the instance group. ScalePolicy *ScalePolicy `protobuf:"bytes,7,opt,name=scale_policy,json=scalePolicy,proto3" json:"scale_policy,omitempty"` // Deployment policy of the instance group. DeployPolicy *DeployPolicy `protobuf:"bytes,8,opt,name=deploy_policy,json=deployPolicy,proto3" json:"deploy_policy,omitempty"` // Allocation policy of the instance group by zones and regions. AllocationPolicy *AllocationPolicy `protobuf:"bytes,9,opt,name=allocation_policy,json=allocationPolicy,proto3" json:"allocation_policy,omitempty"` // Settings for balancing load between instances via [Network Load Balancer](/docs/network-load-balancer/concepts) // (OSI model layer 3). // // If specified, a Network Load Balancer target group containing all instances from the instance group will be created // and attributed to the instance group. LoadBalancerSpec *LoadBalancerSpec `protobuf:"bytes,10,opt,name=load_balancer_spec,json=loadBalancerSpec,proto3" json:"load_balancer_spec,omitempty"` // Health checking specification. For more information, see [Health check](/docs/network-load-balancer/concepts/health-check). HealthChecksSpec *HealthChecksSpec `protobuf:"bytes,11,opt,name=health_checks_spec,json=healthChecksSpec,proto3" json:"health_checks_spec,omitempty"` // ID of the service account. The service account will be used for all API calls // made by the Instance Groups component on behalf of the user (for example, creating instances, adding them to load balancer target group, etc.). For more information, see [Service accounts](/docs/iam/concepts/users/service-accounts). // To get the service account ID, use a [yandex.cloud.iam.v1.ServiceAccountService.List] request. ServiceAccountId string `protobuf:"bytes,12,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` Variables []*Variable `protobuf:"bytes,13,rep,name=variables,proto3" json:"variables,omitempty"` // Flag prohibiting deletion of the instance group. // // Allowed values:</br>- `false`: The instance group can be deleted.</br>- `true`: The instance group cannot be deleted. // // The default is `false`. DeletionProtection bool `protobuf:"varint,14,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"` // Settings for balancing load between instances via [Application Load Balancer](/docs/application-load-balancer/concepts) // (OSI model layer 7). // // If specified, an Application Load Balancer target group containing all instances from the instance group will be created // and attributed to the instance group. ApplicationLoadBalancerSpec *ApplicationLoadBalancerSpec `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateInstanceGroupRequest) Descriptor
deprecated
func (*CreateInstanceGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateInstanceGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateInstanceGroupRequest) GetAllocationPolicy ¶
func (x *CreateInstanceGroupRequest) GetAllocationPolicy() *AllocationPolicy
func (*CreateInstanceGroupRequest) GetApplicationLoadBalancerSpec ¶
func (x *CreateInstanceGroupRequest) GetApplicationLoadBalancerSpec() *ApplicationLoadBalancerSpec
func (*CreateInstanceGroupRequest) GetDeletionProtection ¶
func (x *CreateInstanceGroupRequest) GetDeletionProtection() bool
func (*CreateInstanceGroupRequest) GetDeployPolicy ¶
func (x *CreateInstanceGroupRequest) GetDeployPolicy() *DeployPolicy
func (*CreateInstanceGroupRequest) GetDescription ¶
func (x *CreateInstanceGroupRequest) GetDescription() string
func (*CreateInstanceGroupRequest) GetFolderId ¶
func (x *CreateInstanceGroupRequest) GetFolderId() string
func (*CreateInstanceGroupRequest) GetHealthChecksSpec ¶
func (x *CreateInstanceGroupRequest) GetHealthChecksSpec() *HealthChecksSpec
func (*CreateInstanceGroupRequest) GetInstanceTemplate ¶
func (x *CreateInstanceGroupRequest) GetInstanceTemplate() *InstanceTemplate
func (*CreateInstanceGroupRequest) GetLabels ¶
func (x *CreateInstanceGroupRequest) GetLabels() map[string]string
func (*CreateInstanceGroupRequest) GetLoadBalancerSpec ¶
func (x *CreateInstanceGroupRequest) GetLoadBalancerSpec() *LoadBalancerSpec
func (*CreateInstanceGroupRequest) GetName ¶
func (x *CreateInstanceGroupRequest) GetName() string
func (*CreateInstanceGroupRequest) GetScalePolicy ¶
func (x *CreateInstanceGroupRequest) GetScalePolicy() *ScalePolicy
func (*CreateInstanceGroupRequest) GetServiceAccountId ¶
func (x *CreateInstanceGroupRequest) GetServiceAccountId() string
func (*CreateInstanceGroupRequest) GetVariables ¶
func (x *CreateInstanceGroupRequest) GetVariables() []*Variable
func (*CreateInstanceGroupRequest) ProtoMessage ¶
func (*CreateInstanceGroupRequest) ProtoMessage()
func (*CreateInstanceGroupRequest) ProtoReflect ¶
func (x *CreateInstanceGroupRequest) ProtoReflect() protoreflect.Message
func (*CreateInstanceGroupRequest) Reset ¶
func (x *CreateInstanceGroupRequest) Reset()
func (*CreateInstanceGroupRequest) SetAllocationPolicy ¶
func (m *CreateInstanceGroupRequest) SetAllocationPolicy(v *AllocationPolicy)
func (*CreateInstanceGroupRequest) SetApplicationLoadBalancerSpec ¶
func (m *CreateInstanceGroupRequest) SetApplicationLoadBalancerSpec(v *ApplicationLoadBalancerSpec)
func (*CreateInstanceGroupRequest) SetDeletionProtection ¶
func (m *CreateInstanceGroupRequest) SetDeletionProtection(v bool)
func (*CreateInstanceGroupRequest) SetDeployPolicy ¶
func (m *CreateInstanceGroupRequest) SetDeployPolicy(v *DeployPolicy)
func (*CreateInstanceGroupRequest) SetDescription ¶
func (m *CreateInstanceGroupRequest) SetDescription(v string)
func (*CreateInstanceGroupRequest) SetFolderId ¶
func (m *CreateInstanceGroupRequest) SetFolderId(v string)
func (*CreateInstanceGroupRequest) SetHealthChecksSpec ¶
func (m *CreateInstanceGroupRequest) SetHealthChecksSpec(v *HealthChecksSpec)
func (*CreateInstanceGroupRequest) SetInstanceTemplate ¶
func (m *CreateInstanceGroupRequest) SetInstanceTemplate(v *InstanceTemplate)
func (*CreateInstanceGroupRequest) SetLabels ¶
func (m *CreateInstanceGroupRequest) SetLabels(v map[string]string)
func (*CreateInstanceGroupRequest) SetLoadBalancerSpec ¶
func (m *CreateInstanceGroupRequest) SetLoadBalancerSpec(v *LoadBalancerSpec)
func (*CreateInstanceGroupRequest) SetName ¶
func (m *CreateInstanceGroupRequest) SetName(v string)
func (*CreateInstanceGroupRequest) SetScalePolicy ¶
func (m *CreateInstanceGroupRequest) SetScalePolicy(v *ScalePolicy)
func (*CreateInstanceGroupRequest) SetServiceAccountId ¶
func (m *CreateInstanceGroupRequest) SetServiceAccountId(v string)
func (*CreateInstanceGroupRequest) SetVariables ¶
func (m *CreateInstanceGroupRequest) SetVariables(v []*Variable)
func (*CreateInstanceGroupRequest) String ¶
func (x *CreateInstanceGroupRequest) String() string
type DeleteInstanceGroupMetadata ¶
type DeleteInstanceGroupMetadata struct { // ID of the instance group that is being deleted. // To get the instance group ID, use a [InstanceGroupService.List] request. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteInstanceGroupMetadata) Descriptor
deprecated
func (*DeleteInstanceGroupMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInstanceGroupMetadata.ProtoReflect.Descriptor instead.
func (*DeleteInstanceGroupMetadata) GetInstanceGroupId ¶
func (x *DeleteInstanceGroupMetadata) GetInstanceGroupId() string
func (*DeleteInstanceGroupMetadata) ProtoMessage ¶
func (*DeleteInstanceGroupMetadata) ProtoMessage()
func (*DeleteInstanceGroupMetadata) ProtoReflect ¶
func (x *DeleteInstanceGroupMetadata) ProtoReflect() protoreflect.Message
func (*DeleteInstanceGroupMetadata) Reset ¶
func (x *DeleteInstanceGroupMetadata) Reset()
func (*DeleteInstanceGroupMetadata) SetInstanceGroupId ¶
func (m *DeleteInstanceGroupMetadata) SetInstanceGroupId(v string)
func (*DeleteInstanceGroupMetadata) String ¶
func (x *DeleteInstanceGroupMetadata) String() string
type DeleteInstanceGroupRequest ¶
type DeleteInstanceGroupRequest struct { // ID of the instance group to delete. // To get the instance group ID, use a [InstanceGroupService.List] request. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteInstanceGroupRequest) Descriptor
deprecated
func (*DeleteInstanceGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInstanceGroupRequest.ProtoReflect.Descriptor instead.
func (*DeleteInstanceGroupRequest) GetInstanceGroupId ¶
func (x *DeleteInstanceGroupRequest) GetInstanceGroupId() string
func (*DeleteInstanceGroupRequest) ProtoMessage ¶
func (*DeleteInstanceGroupRequest) ProtoMessage()
func (*DeleteInstanceGroupRequest) ProtoReflect ¶
func (x *DeleteInstanceGroupRequest) ProtoReflect() protoreflect.Message
func (*DeleteInstanceGroupRequest) Reset ¶
func (x *DeleteInstanceGroupRequest) Reset()
func (*DeleteInstanceGroupRequest) SetInstanceGroupId ¶
func (m *DeleteInstanceGroupRequest) SetInstanceGroupId(v string)
func (*DeleteInstanceGroupRequest) String ¶
func (x *DeleteInstanceGroupRequest) String() string
type DeleteInstancesMetadata ¶
type DeleteInstancesMetadata struct { // ID of the instance group that the instances are being deleted from. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteInstancesMetadata) Descriptor
deprecated
func (*DeleteInstancesMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInstancesMetadata.ProtoReflect.Descriptor instead.
func (*DeleteInstancesMetadata) GetInstanceGroupId ¶
func (x *DeleteInstancesMetadata) GetInstanceGroupId() string
func (*DeleteInstancesMetadata) ProtoMessage ¶
func (*DeleteInstancesMetadata) ProtoMessage()
func (*DeleteInstancesMetadata) ProtoReflect ¶
func (x *DeleteInstancesMetadata) ProtoReflect() protoreflect.Message
func (*DeleteInstancesMetadata) Reset ¶
func (x *DeleteInstancesMetadata) Reset()
func (*DeleteInstancesMetadata) SetInstanceGroupId ¶
func (m *DeleteInstancesMetadata) SetInstanceGroupId(v string)
func (*DeleteInstancesMetadata) String ¶
func (x *DeleteInstancesMetadata) String() string
type DeleteInstancesRequest ¶
type DeleteInstancesRequest struct { // ID of the instance group that the instances are being deleted from. // To get the ID of the instance group, use the [InstanceGroupService.List] request. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // IDs of the instances to delete. Instances will be deleted along with all dependent resources. // Only IDs from the ManagedInstance.id field are allowed, not ManagedInstance.instance_id. ManagedInstanceIds []string `protobuf:"bytes,2,rep,name=managed_instance_ids,json=managedInstanceIds,proto3" json:"managed_instance_ids,omitempty"` // If set to true, the target size of instance group will not be reduced and // a new instance will be created instead of the deleted one. By default, the target size of instance group // will be reduced by the specified number of instance IDs. CreateAnother bool `protobuf:"varint,3,opt,name=create_another,json=createAnother,proto3" json:"create_another,omitempty"` // contains filtered or unexported fields }
func (*DeleteInstancesRequest) Descriptor
deprecated
func (*DeleteInstancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInstancesRequest.ProtoReflect.Descriptor instead.
func (*DeleteInstancesRequest) GetCreateAnother ¶
func (x *DeleteInstancesRequest) GetCreateAnother() bool
func (*DeleteInstancesRequest) GetInstanceGroupId ¶
func (x *DeleteInstancesRequest) GetInstanceGroupId() string
func (*DeleteInstancesRequest) GetManagedInstanceIds ¶
func (x *DeleteInstancesRequest) GetManagedInstanceIds() []string
func (*DeleteInstancesRequest) ProtoMessage ¶
func (*DeleteInstancesRequest) ProtoMessage()
func (*DeleteInstancesRequest) ProtoReflect ¶
func (x *DeleteInstancesRequest) ProtoReflect() protoreflect.Message
func (*DeleteInstancesRequest) Reset ¶
func (x *DeleteInstancesRequest) Reset()
func (*DeleteInstancesRequest) SetCreateAnother ¶
func (m *DeleteInstancesRequest) SetCreateAnother(v bool)
func (*DeleteInstancesRequest) SetInstanceGroupId ¶
func (m *DeleteInstancesRequest) SetInstanceGroupId(v string)
func (*DeleteInstancesRequest) SetManagedInstanceIds ¶
func (m *DeleteInstancesRequest) SetManagedInstanceIds(v []string)
func (*DeleteInstancesRequest) String ¶
func (x *DeleteInstancesRequest) String() string
type DeployPolicy ¶
type DeployPolicy struct { // during the update process. // If [max_expansion] is not specified or set to zero, [max_unavailable] must be set to a non-zero value. MaxUnavailable int64 `protobuf:"varint,1,opt,name=max_unavailable,json=maxUnavailable,proto3" json:"max_unavailable,omitempty"` // The maximum number of instances that can be deleted at the same time. // // The value 0 is any number of virtual machines within the allowed values. MaxDeleting int64 `protobuf:"varint,2,opt,name=max_deleting,json=maxDeleting,proto3" json:"max_deleting,omitempty"` // The maximum number of instances that can be created at the same time. // // The value 0 is any number of virtual machines within the allowed values. MaxCreating int64 `protobuf:"varint,3,opt,name=max_creating,json=maxCreating,proto3" json:"max_creating,omitempty"` // The maximum number of instances that can be temporarily allocated above the group's target size // during the update process. // If [max_unavailable] is not specified or set to zero, [max_expansion] must be set to a non-zero value. MaxExpansion int64 `protobuf:"varint,6,opt,name=max_expansion,json=maxExpansion,proto3" json:"max_expansion,omitempty"` // Instance startup duration. // Instance will be considered up and running (and start receiving traffic) only after startup_duration // has elapsed and all health checks are passed. // See [yandex.cloud.compute.v1.instancegroup.ManagedInstance.Status] for more information. StartupDuration *durationpb.Duration `protobuf:"bytes,7,opt,name=startup_duration,json=startupDuration,proto3" json:"startup_duration,omitempty"` // Affects the lifecycle of the instance during deployment. Strategy DeployPolicy_Strategy `` /* 135-byte string literal not displayed */ // If instance update requires a less disruptive action than [minimal_action], // Instance Groups performs [minimal_action] to execute the update MinimalAction DeployPolicy_MinimalAction `` /* 172-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DeployPolicy) Descriptor
deprecated
func (*DeployPolicy) Descriptor() ([]byte, []int)
Deprecated: Use DeployPolicy.ProtoReflect.Descriptor instead.
func (*DeployPolicy) GetMaxCreating ¶
func (x *DeployPolicy) GetMaxCreating() int64
func (*DeployPolicy) GetMaxDeleting ¶
func (x *DeployPolicy) GetMaxDeleting() int64
func (*DeployPolicy) GetMaxExpansion ¶
func (x *DeployPolicy) GetMaxExpansion() int64
func (*DeployPolicy) GetMaxUnavailable ¶
func (x *DeployPolicy) GetMaxUnavailable() int64
func (*DeployPolicy) GetMinimalAction ¶
func (x *DeployPolicy) GetMinimalAction() DeployPolicy_MinimalAction
func (*DeployPolicy) GetStartupDuration ¶
func (x *DeployPolicy) GetStartupDuration() *durationpb.Duration
func (*DeployPolicy) GetStrategy ¶
func (x *DeployPolicy) GetStrategy() DeployPolicy_Strategy
func (*DeployPolicy) ProtoMessage ¶
func (*DeployPolicy) ProtoMessage()
func (*DeployPolicy) ProtoReflect ¶
func (x *DeployPolicy) ProtoReflect() protoreflect.Message
func (*DeployPolicy) Reset ¶
func (x *DeployPolicy) Reset()
func (*DeployPolicy) SetMaxCreating ¶
func (m *DeployPolicy) SetMaxCreating(v int64)
func (*DeployPolicy) SetMaxDeleting ¶
func (m *DeployPolicy) SetMaxDeleting(v int64)
func (*DeployPolicy) SetMaxExpansion ¶
func (m *DeployPolicy) SetMaxExpansion(v int64)
func (*DeployPolicy) SetMaxUnavailable ¶
func (m *DeployPolicy) SetMaxUnavailable(v int64)
func (*DeployPolicy) SetMinimalAction ¶
func (m *DeployPolicy) SetMinimalAction(v DeployPolicy_MinimalAction)
func (*DeployPolicy) SetStartupDuration ¶
func (m *DeployPolicy) SetStartupDuration(v *durationpb.Duration)
func (*DeployPolicy) SetStrategy ¶
func (m *DeployPolicy) SetStrategy(v DeployPolicy_Strategy)
func (*DeployPolicy) String ¶
func (x *DeployPolicy) String() string
type DeployPolicy_MinimalAction ¶
type DeployPolicy_MinimalAction int32
const ( DeployPolicy_MINIMAL_ACTION_UNSPECIFIED DeployPolicy_MinimalAction = 0 // Updating an instance without stopping. This is the default. DeployPolicy_LIVE_UPDATE DeployPolicy_MinimalAction = 1 // Updating an instance with restart: stopping and then starting the instance. DeployPolicy_RESTART DeployPolicy_MinimalAction = 2 // Re-creating an instance: deleting an instance and creating a new one. DeployPolicy_RECREATE DeployPolicy_MinimalAction = 3 )
func (DeployPolicy_MinimalAction) Descriptor ¶
func (DeployPolicy_MinimalAction) Descriptor() protoreflect.EnumDescriptor
func (DeployPolicy_MinimalAction) Enum ¶
func (x DeployPolicy_MinimalAction) Enum() *DeployPolicy_MinimalAction
func (DeployPolicy_MinimalAction) EnumDescriptor
deprecated
func (DeployPolicy_MinimalAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeployPolicy_MinimalAction.Descriptor instead.
func (DeployPolicy_MinimalAction) Number ¶
func (x DeployPolicy_MinimalAction) Number() protoreflect.EnumNumber
func (DeployPolicy_MinimalAction) String ¶
func (x DeployPolicy_MinimalAction) String() string
func (DeployPolicy_MinimalAction) Type ¶
func (DeployPolicy_MinimalAction) Type() protoreflect.EnumType
type DeployPolicy_Strategy ¶
type DeployPolicy_Strategy int32
const ( DeployPolicy_STRATEGY_UNSPECIFIED DeployPolicy_Strategy = 0 // Instance Groups can forcefully stop a running instance. This is the default. DeployPolicy_PROACTIVE DeployPolicy_Strategy = 1 // Instance Groups does not stop a running instance. // Instead, it will wait until the instance stops itself or becomes unhealthy. DeployPolicy_OPPORTUNISTIC DeployPolicy_Strategy = 2 )
func (DeployPolicy_Strategy) Descriptor ¶
func (DeployPolicy_Strategy) Descriptor() protoreflect.EnumDescriptor
func (DeployPolicy_Strategy) Enum ¶
func (x DeployPolicy_Strategy) Enum() *DeployPolicy_Strategy
func (DeployPolicy_Strategy) EnumDescriptor
deprecated
func (DeployPolicy_Strategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use DeployPolicy_Strategy.Descriptor instead.
func (DeployPolicy_Strategy) Number ¶
func (x DeployPolicy_Strategy) Number() protoreflect.EnumNumber
func (DeployPolicy_Strategy) String ¶
func (x DeployPolicy_Strategy) String() string
func (DeployPolicy_Strategy) Type ¶
func (DeployPolicy_Strategy) Type() protoreflect.EnumType
type DnsRecord ¶
type DnsRecord struct { // Name of the A/AAAA record as specified when creating the instance. // Note that if `fqdn' has no trailing '.', it is specified relative to the zone (@see dns_zone_id). Fqdn string `protobuf:"bytes,1,opt,name=fqdn,proto3" json:"fqdn,omitempty"` // DNS zone id (optional, if not set, some private zone is used). DnsZoneId string `protobuf:"bytes,2,opt,name=dns_zone_id,json=dnsZoneId,proto3" json:"dns_zone_id,omitempty"` // DNS record ttl (optional, if 0, a reasonable default is used). Ttl int64 `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"` // When true, indicates there is a corresponding auto-created PTR DNS record. Ptr bool `protobuf:"varint,4,opt,name=ptr,proto3" json:"ptr,omitempty"` // contains filtered or unexported fields }
func (*DnsRecord) Descriptor
deprecated
func (*DnsRecord) GetDnsZoneId ¶
func (*DnsRecord) ProtoMessage ¶
func (*DnsRecord) ProtoMessage()
func (*DnsRecord) ProtoReflect ¶
func (x *DnsRecord) ProtoReflect() protoreflect.Message
func (*DnsRecord) SetDnsZoneId ¶
type DnsRecordSpec ¶
type DnsRecordSpec struct { // FQDN (required) Fqdn string `protobuf:"bytes,1,opt,name=fqdn,proto3" json:"fqdn,omitempty"` // DNS zone id (optional, if not set, private zone used) DnsZoneId string `protobuf:"bytes,2,opt,name=dns_zone_id,json=dnsZoneId,proto3" json:"dns_zone_id,omitempty"` // DNS record ttl, values in 0-86400 (optional) Ttl int64 `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"` // When set to true, also create PTR DNS record (optional) Ptr bool `protobuf:"varint,4,opt,name=ptr,proto3" json:"ptr,omitempty"` // contains filtered or unexported fields }
func (*DnsRecordSpec) Descriptor
deprecated
func (*DnsRecordSpec) Descriptor() ([]byte, []int)
Deprecated: Use DnsRecordSpec.ProtoReflect.Descriptor instead.
func (*DnsRecordSpec) GetDnsZoneId ¶
func (x *DnsRecordSpec) GetDnsZoneId() string
func (*DnsRecordSpec) GetFqdn ¶
func (x *DnsRecordSpec) GetFqdn() string
func (*DnsRecordSpec) GetPtr ¶
func (x *DnsRecordSpec) GetPtr() bool
func (*DnsRecordSpec) GetTtl ¶
func (x *DnsRecordSpec) GetTtl() int64
func (*DnsRecordSpec) ProtoMessage ¶
func (*DnsRecordSpec) ProtoMessage()
func (*DnsRecordSpec) ProtoReflect ¶
func (x *DnsRecordSpec) ProtoReflect() protoreflect.Message
func (*DnsRecordSpec) Reset ¶
func (x *DnsRecordSpec) Reset()
func (*DnsRecordSpec) SetDnsZoneId ¶
func (m *DnsRecordSpec) SetDnsZoneId(v string)
func (*DnsRecordSpec) SetFqdn ¶
func (m *DnsRecordSpec) SetFqdn(v string)
func (*DnsRecordSpec) SetPtr ¶
func (m *DnsRecordSpec) SetPtr(v bool)
func (*DnsRecordSpec) SetTtl ¶
func (m *DnsRecordSpec) SetTtl(v int64)
func (*DnsRecordSpec) String ¶
func (x *DnsRecordSpec) String() string
type GetInstanceGroupRequest ¶
type GetInstanceGroupRequest struct { // ID of the InstanceGroup resource to return. // To get the instance group ID, use a [InstanceGroupService.List] request. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // Defines which information about the Instance template should be returned in the server response. View InstanceGroupView `protobuf:"varint,2,opt,name=view,proto3,enum=yandex.cloud.compute.v1.instancegroup.InstanceGroupView" json:"view,omitempty"` // contains filtered or unexported fields }
func (*GetInstanceGroupRequest) Descriptor
deprecated
func (*GetInstanceGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceGroupRequest.ProtoReflect.Descriptor instead.
func (*GetInstanceGroupRequest) GetInstanceGroupId ¶
func (x *GetInstanceGroupRequest) GetInstanceGroupId() string
func (*GetInstanceGroupRequest) GetView ¶
func (x *GetInstanceGroupRequest) GetView() InstanceGroupView
func (*GetInstanceGroupRequest) ProtoMessage ¶
func (*GetInstanceGroupRequest) ProtoMessage()
func (*GetInstanceGroupRequest) ProtoReflect ¶
func (x *GetInstanceGroupRequest) ProtoReflect() protoreflect.Message
func (*GetInstanceGroupRequest) Reset ¶
func (x *GetInstanceGroupRequest) Reset()
func (*GetInstanceGroupRequest) SetInstanceGroupId ¶
func (m *GetInstanceGroupRequest) SetInstanceGroupId(v string)
func (*GetInstanceGroupRequest) SetView ¶
func (m *GetInstanceGroupRequest) SetView(v InstanceGroupView)
func (*GetInstanceGroupRequest) String ¶
func (x *GetInstanceGroupRequest) String() string
type HealthCheckSpec ¶
type HealthCheckSpec struct { // The interval between health checks. The default is 2 seconds. Interval *durationpb.Duration `protobuf:"bytes,1,opt,name=interval,proto3" json:"interval,omitempty"` // Timeout for the managed instance to return a response for the health check. The default is 1 second. Timeout *durationpb.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"` // The number of failed health checks for the managed instance to be considered unhealthy. The default (0) is 2. UnhealthyThreshold int64 `protobuf:"varint,3,opt,name=unhealthy_threshold,json=unhealthyThreshold,proto3" json:"unhealthy_threshold,omitempty"` // The number of successful health checks required in order for the managed instance to be considered healthy. The default (0) is 2. HealthyThreshold int64 `protobuf:"varint,4,opt,name=healthy_threshold,json=healthyThreshold,proto3" json:"healthy_threshold,omitempty"` // Types that are assignable to HealthCheckOptions: // // *HealthCheckSpec_TcpOptions_ // *HealthCheckSpec_HttpOptions_ HealthCheckOptions isHealthCheckSpec_HealthCheckOptions `protobuf_oneof:"health_check_options"` // contains filtered or unexported fields }
func (*HealthCheckSpec) Descriptor
deprecated
func (*HealthCheckSpec) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckSpec.ProtoReflect.Descriptor instead.
func (*HealthCheckSpec) GetHealthCheckOptions ¶
func (m *HealthCheckSpec) GetHealthCheckOptions() isHealthCheckSpec_HealthCheckOptions
func (*HealthCheckSpec) GetHealthyThreshold ¶
func (x *HealthCheckSpec) GetHealthyThreshold() int64
func (*HealthCheckSpec) GetHttpOptions ¶
func (x *HealthCheckSpec) GetHttpOptions() *HealthCheckSpec_HttpOptions
func (*HealthCheckSpec) GetInterval ¶
func (x *HealthCheckSpec) GetInterval() *durationpb.Duration
func (*HealthCheckSpec) GetTcpOptions ¶
func (x *HealthCheckSpec) GetTcpOptions() *HealthCheckSpec_TcpOptions
func (*HealthCheckSpec) GetTimeout ¶
func (x *HealthCheckSpec) GetTimeout() *durationpb.Duration
func (*HealthCheckSpec) GetUnhealthyThreshold ¶
func (x *HealthCheckSpec) GetUnhealthyThreshold() int64
func (*HealthCheckSpec) ProtoMessage ¶
func (*HealthCheckSpec) ProtoMessage()
func (*HealthCheckSpec) ProtoReflect ¶
func (x *HealthCheckSpec) ProtoReflect() protoreflect.Message
func (*HealthCheckSpec) Reset ¶
func (x *HealthCheckSpec) Reset()
func (*HealthCheckSpec) SetHealthCheckOptions ¶
func (m *HealthCheckSpec) SetHealthCheckOptions(v HealthCheckSpec_HealthCheckOptions)
func (*HealthCheckSpec) SetHealthyThreshold ¶
func (m *HealthCheckSpec) SetHealthyThreshold(v int64)
func (*HealthCheckSpec) SetHttpOptions ¶
func (m *HealthCheckSpec) SetHttpOptions(v *HealthCheckSpec_HttpOptions)
func (*HealthCheckSpec) SetInterval ¶
func (m *HealthCheckSpec) SetInterval(v *durationpb.Duration)
func (*HealthCheckSpec) SetTcpOptions ¶
func (m *HealthCheckSpec) SetTcpOptions(v *HealthCheckSpec_TcpOptions)
func (*HealthCheckSpec) SetTimeout ¶
func (m *HealthCheckSpec) SetTimeout(v *durationpb.Duration)
func (*HealthCheckSpec) SetUnhealthyThreshold ¶
func (m *HealthCheckSpec) SetUnhealthyThreshold(v int64)
func (*HealthCheckSpec) String ¶
func (x *HealthCheckSpec) String() string
type HealthCheckSpec_HealthCheckOptions ¶
type HealthCheckSpec_HealthCheckOptions = isHealthCheckSpec_HealthCheckOptions
type HealthCheckSpec_HttpOptions ¶
type HealthCheckSpec_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. Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*HealthCheckSpec_HttpOptions) Descriptor
deprecated
func (*HealthCheckSpec_HttpOptions) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckSpec_HttpOptions.ProtoReflect.Descriptor instead.
func (*HealthCheckSpec_HttpOptions) GetPath ¶
func (x *HealthCheckSpec_HttpOptions) GetPath() string
func (*HealthCheckSpec_HttpOptions) GetPort ¶
func (x *HealthCheckSpec_HttpOptions) GetPort() int64
func (*HealthCheckSpec_HttpOptions) ProtoMessage ¶
func (*HealthCheckSpec_HttpOptions) ProtoMessage()
func (*HealthCheckSpec_HttpOptions) ProtoReflect ¶
func (x *HealthCheckSpec_HttpOptions) ProtoReflect() protoreflect.Message
func (*HealthCheckSpec_HttpOptions) Reset ¶
func (x *HealthCheckSpec_HttpOptions) Reset()
func (*HealthCheckSpec_HttpOptions) SetPath ¶
func (m *HealthCheckSpec_HttpOptions) SetPath(v string)
func (*HealthCheckSpec_HttpOptions) SetPort ¶
func (m *HealthCheckSpec_HttpOptions) SetPort(v int64)
func (*HealthCheckSpec_HttpOptions) String ¶
func (x *HealthCheckSpec_HttpOptions) String() string
type HealthCheckSpec_HttpOptions_ ¶
type HealthCheckSpec_HttpOptions_ struct { // Configuration options for an HTTP health check. HttpOptions *HealthCheckSpec_HttpOptions `protobuf:"bytes,6,opt,name=http_options,json=httpOptions,proto3,oneof"` }
type HealthCheckSpec_TcpOptions ¶
type HealthCheckSpec_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 }
func (*HealthCheckSpec_TcpOptions) Descriptor
deprecated
func (*HealthCheckSpec_TcpOptions) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckSpec_TcpOptions.ProtoReflect.Descriptor instead.
func (*HealthCheckSpec_TcpOptions) GetPort ¶
func (x *HealthCheckSpec_TcpOptions) GetPort() int64
func (*HealthCheckSpec_TcpOptions) ProtoMessage ¶
func (*HealthCheckSpec_TcpOptions) ProtoMessage()
func (*HealthCheckSpec_TcpOptions) ProtoReflect ¶
func (x *HealthCheckSpec_TcpOptions) ProtoReflect() protoreflect.Message
func (*HealthCheckSpec_TcpOptions) Reset ¶
func (x *HealthCheckSpec_TcpOptions) Reset()
func (*HealthCheckSpec_TcpOptions) SetPort ¶
func (m *HealthCheckSpec_TcpOptions) SetPort(v int64)
func (*HealthCheckSpec_TcpOptions) String ¶
func (x *HealthCheckSpec_TcpOptions) String() string
type HealthCheckSpec_TcpOptions_ ¶
type HealthCheckSpec_TcpOptions_ struct { // Configuration options for a TCP health check. TcpOptions *HealthCheckSpec_TcpOptions `protobuf:"bytes,5,opt,name=tcp_options,json=tcpOptions,proto3,oneof"` }
type HealthChecksSpec ¶
type HealthChecksSpec struct { // Health checking specification. For more information, see [Health check](/docs/network-load-balancer/concepts/health-check). HealthCheckSpecs []*HealthCheckSpec `protobuf:"bytes,1,rep,name=health_check_specs,json=healthCheckSpecs,proto3" json:"health_check_specs,omitempty"` // Timeout for waiting for the VM to become healthy. If the timeout is exceeded, // the VM will be turned off based on the deployment policy. Specified in seconds. MaxCheckingHealthDuration *durationpb.Duration `` /* 140-byte string literal not displayed */ // contains filtered or unexported fields }
func (*HealthChecksSpec) Descriptor
deprecated
func (*HealthChecksSpec) Descriptor() ([]byte, []int)
Deprecated: Use HealthChecksSpec.ProtoReflect.Descriptor instead.
func (*HealthChecksSpec) GetHealthCheckSpecs ¶
func (x *HealthChecksSpec) GetHealthCheckSpecs() []*HealthCheckSpec
func (*HealthChecksSpec) GetMaxCheckingHealthDuration ¶
func (x *HealthChecksSpec) GetMaxCheckingHealthDuration() *durationpb.Duration
func (*HealthChecksSpec) ProtoMessage ¶
func (*HealthChecksSpec) ProtoMessage()
func (*HealthChecksSpec) ProtoReflect ¶
func (x *HealthChecksSpec) ProtoReflect() protoreflect.Message
func (*HealthChecksSpec) Reset ¶
func (x *HealthChecksSpec) Reset()
func (*HealthChecksSpec) SetHealthCheckSpecs ¶
func (m *HealthChecksSpec) SetHealthCheckSpecs(v []*HealthCheckSpec)
func (*HealthChecksSpec) SetMaxCheckingHealthDuration ¶
func (m *HealthChecksSpec) SetMaxCheckingHealthDuration(v *durationpb.Duration)
func (*HealthChecksSpec) String ¶
func (x *HealthChecksSpec) String() string
type InstanceGroup ¶
type InstanceGroup struct { // ID of the instance group. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the folder that the instance group 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 instance group. // The name is unique within the folder. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Description of the instance group. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Resource labels as `key:value` pairs. Labels map[string]string `` /* 153-byte string literal not displayed */ // Instance template for creating the instance group. // For more information, see [Instance Templates](/docs/compute/concepts/instance-groups/instance-template). InstanceTemplate *InstanceTemplate `protobuf:"bytes,7,opt,name=instance_template,json=instanceTemplate,proto3" json:"instance_template,omitempty"` // [Scaling policy](/docs/compute/concepts/instance-groups/scale) of the instance group. ScalePolicy *ScalePolicy `protobuf:"bytes,8,opt,name=scale_policy,json=scalePolicy,proto3" json:"scale_policy,omitempty"` // Deployment policy of the instance group. DeployPolicy *DeployPolicy `protobuf:"bytes,9,opt,name=deploy_policy,json=deployPolicy,proto3" json:"deploy_policy,omitempty"` // Allocation policy of the instance group by zones and regions. AllocationPolicy *AllocationPolicy `protobuf:"bytes,10,opt,name=allocation_policy,json=allocationPolicy,proto3" json:"allocation_policy,omitempty"` // Status of the Network Load Balancer target group attributed to the instance group. LoadBalancerState *LoadBalancerState `protobuf:"bytes,11,opt,name=load_balancer_state,json=loadBalancerState,proto3" json:"load_balancer_state,omitempty"` // States of instances for this instance group. ManagedInstancesState *ManagedInstancesState `` /* 127-byte string literal not displayed */ // Settings for balancing load between instances via [Network Load Balancer](/docs/network-load-balancer/concepts) // (OSI model layer 3). LoadBalancerSpec *LoadBalancerSpec `protobuf:"bytes,14,opt,name=load_balancer_spec,json=loadBalancerSpec,proto3" json:"load_balancer_spec,omitempty"` // Health checking specification. For more information, see [Health check](/docs/network-load-balancer/concepts/health-check). HealthChecksSpec *HealthChecksSpec `protobuf:"bytes,15,opt,name=health_checks_spec,json=healthChecksSpec,proto3" json:"health_checks_spec,omitempty"` // ID of the service account. The service account will be used for all API calls // made by the Instance Groups component on behalf of the user (for example, creating instances, adding them to load balancer target group, etc.). For more information, see [Service accounts](/docs/iam/concepts/users/service-accounts). // To get the service account ID, use a [yandex.cloud.iam.v1.ServiceAccountService.List] request. ServiceAccountId string `protobuf:"bytes,16,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // Status of the instance group. Status InstanceGroup_Status `` /* 131-byte string literal not displayed */ Variables []*Variable `protobuf:"bytes,18,rep,name=variables,proto3" json:"variables,omitempty"` // Flag prohibiting deletion of the instance group. // // Allowed values:</br>- `false`: The instance group can be deleted.</br>- `true`: The instance group cannot be deleted. // // The default is `false`. DeletionProtection bool `protobuf:"varint,19,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"` // Settings for balancing load between instances via [Application Load Balancer](/docs/application-load-balancer/concepts) // (OSI model layer 7). ApplicationLoadBalancerSpec *ApplicationLoadBalancerSpec `` /* 147-byte string literal not displayed */ // Status of the Application Load Balancer target group attributed to the instance group. // // Returned if there is a working load balancer that the target group is connected to. ApplicationLoadBalancerState *ApplicationLoadBalancerState `` /* 150-byte string literal not displayed */ // AutoHealingPolicy policy of the instance group. AutoHealingPolicy *AutoHealingPolicy `protobuf:"bytes,22,opt,name=auto_healing_policy,json=autoHealingPolicy,proto3" json:"auto_healing_policy,omitempty"` // contains filtered or unexported fields }
func (*InstanceGroup) Descriptor
deprecated
func (*InstanceGroup) Descriptor() ([]byte, []int)
Deprecated: Use InstanceGroup.ProtoReflect.Descriptor instead.
func (*InstanceGroup) GetAllocationPolicy ¶
func (x *InstanceGroup) GetAllocationPolicy() *AllocationPolicy
func (*InstanceGroup) GetApplicationLoadBalancerSpec ¶
func (x *InstanceGroup) GetApplicationLoadBalancerSpec() *ApplicationLoadBalancerSpec
func (*InstanceGroup) GetApplicationLoadBalancerState ¶
func (x *InstanceGroup) GetApplicationLoadBalancerState() *ApplicationLoadBalancerState
func (*InstanceGroup) GetAutoHealingPolicy ¶
func (x *InstanceGroup) GetAutoHealingPolicy() *AutoHealingPolicy
func (*InstanceGroup) GetCreatedAt ¶
func (x *InstanceGroup) GetCreatedAt() *timestamppb.Timestamp
func (*InstanceGroup) GetDeletionProtection ¶
func (x *InstanceGroup) GetDeletionProtection() bool
func (*InstanceGroup) GetDeployPolicy ¶
func (x *InstanceGroup) GetDeployPolicy() *DeployPolicy
func (*InstanceGroup) GetDescription ¶
func (x *InstanceGroup) GetDescription() string
func (*InstanceGroup) GetFolderId ¶
func (x *InstanceGroup) GetFolderId() string
func (*InstanceGroup) GetHealthChecksSpec ¶
func (x *InstanceGroup) GetHealthChecksSpec() *HealthChecksSpec
func (*InstanceGroup) GetId ¶
func (x *InstanceGroup) GetId() string
func (*InstanceGroup) GetInstanceTemplate ¶
func (x *InstanceGroup) GetInstanceTemplate() *InstanceTemplate
func (*InstanceGroup) GetLabels ¶
func (x *InstanceGroup) GetLabels() map[string]string
func (*InstanceGroup) GetLoadBalancerSpec ¶
func (x *InstanceGroup) GetLoadBalancerSpec() *LoadBalancerSpec
func (*InstanceGroup) GetLoadBalancerState ¶
func (x *InstanceGroup) GetLoadBalancerState() *LoadBalancerState
func (*InstanceGroup) GetManagedInstancesState ¶
func (x *InstanceGroup) GetManagedInstancesState() *ManagedInstancesState
func (*InstanceGroup) GetName ¶
func (x *InstanceGroup) GetName() string
func (*InstanceGroup) GetScalePolicy ¶
func (x *InstanceGroup) GetScalePolicy() *ScalePolicy
func (*InstanceGroup) GetServiceAccountId ¶
func (x *InstanceGroup) GetServiceAccountId() string
func (*InstanceGroup) GetStatus ¶
func (x *InstanceGroup) GetStatus() InstanceGroup_Status
func (*InstanceGroup) GetVariables ¶
func (x *InstanceGroup) GetVariables() []*Variable
func (*InstanceGroup) ProtoMessage ¶
func (*InstanceGroup) ProtoMessage()
func (*InstanceGroup) ProtoReflect ¶
func (x *InstanceGroup) ProtoReflect() protoreflect.Message
func (*InstanceGroup) Reset ¶
func (x *InstanceGroup) Reset()
func (*InstanceGroup) SetAllocationPolicy ¶
func (m *InstanceGroup) SetAllocationPolicy(v *AllocationPolicy)
func (*InstanceGroup) SetApplicationLoadBalancerSpec ¶
func (m *InstanceGroup) SetApplicationLoadBalancerSpec(v *ApplicationLoadBalancerSpec)
func (*InstanceGroup) SetApplicationLoadBalancerState ¶
func (m *InstanceGroup) SetApplicationLoadBalancerState(v *ApplicationLoadBalancerState)
func (*InstanceGroup) SetAutoHealingPolicy ¶
func (m *InstanceGroup) SetAutoHealingPolicy(v *AutoHealingPolicy)
func (*InstanceGroup) SetCreatedAt ¶
func (m *InstanceGroup) SetCreatedAt(v *timestamppb.Timestamp)
func (*InstanceGroup) SetDeletionProtection ¶
func (m *InstanceGroup) SetDeletionProtection(v bool)
func (*InstanceGroup) SetDeployPolicy ¶
func (m *InstanceGroup) SetDeployPolicy(v *DeployPolicy)
func (*InstanceGroup) SetDescription ¶
func (m *InstanceGroup) SetDescription(v string)
func (*InstanceGroup) SetFolderId ¶
func (m *InstanceGroup) SetFolderId(v string)
func (*InstanceGroup) SetHealthChecksSpec ¶
func (m *InstanceGroup) SetHealthChecksSpec(v *HealthChecksSpec)
func (*InstanceGroup) SetId ¶
func (m *InstanceGroup) SetId(v string)
func (*InstanceGroup) SetInstanceTemplate ¶
func (m *InstanceGroup) SetInstanceTemplate(v *InstanceTemplate)
func (*InstanceGroup) SetLabels ¶
func (m *InstanceGroup) SetLabels(v map[string]string)
func (*InstanceGroup) SetLoadBalancerSpec ¶
func (m *InstanceGroup) SetLoadBalancerSpec(v *LoadBalancerSpec)
func (*InstanceGroup) SetLoadBalancerState ¶
func (m *InstanceGroup) SetLoadBalancerState(v *LoadBalancerState)
func (*InstanceGroup) SetManagedInstancesState ¶
func (m *InstanceGroup) SetManagedInstancesState(v *ManagedInstancesState)
func (*InstanceGroup) SetName ¶
func (m *InstanceGroup) SetName(v string)
func (*InstanceGroup) SetScalePolicy ¶
func (m *InstanceGroup) SetScalePolicy(v *ScalePolicy)
func (*InstanceGroup) SetServiceAccountId ¶
func (m *InstanceGroup) SetServiceAccountId(v string)
func (*InstanceGroup) SetStatus ¶
func (m *InstanceGroup) SetStatus(v InstanceGroup_Status)
func (*InstanceGroup) SetVariables ¶
func (m *InstanceGroup) SetVariables(v []*Variable)
func (*InstanceGroup) String ¶
func (x *InstanceGroup) String() string
type InstanceGroupServiceClient ¶
type InstanceGroupServiceClient interface { // Returns the specified InstanceGroup resource. // // To get the list of available InstanceGroup resources, make a [List] request. Get(ctx context.Context, in *GetInstanceGroupRequest, opts ...grpc.CallOption) (*InstanceGroup, error) // Retrieves the list of InstanceGroup resources in the specified folder. List(ctx context.Context, in *ListInstanceGroupsRequest, opts ...grpc.CallOption) (*ListInstanceGroupsResponse, error) // Creates an instance group in the specified folder. // This method starts an operation that can be cancelled by another operation. Create(ctx context.Context, in *CreateInstanceGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Creates an instance group in the specified folder from a YAML file. // This method starts an operation that can be cancelled by another operation. CreateFromYaml(ctx context.Context, in *CreateInstanceGroupFromYamlRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified instance group. // This method starts an operation that can be cancelled by another operation. Update(ctx context.Context, in *UpdateInstanceGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified instance group from a YAML file. // This method starts an operation that can be cancelled by another operation. UpdateFromYaml(ctx context.Context, in *UpdateInstanceGroupFromYamlRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Stops the specified instance group. Stop(ctx context.Context, in *StopInstanceGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Performs rolling restart of specified instances for the specified instance group. // Rolling restart does restart of instances respecting all group policies. RollingRestart(ctx context.Context, in *RollingRestartRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Performs rolling recreate of specified instances for the specified instance group. // Rolling recreate does recreate of instance VMs respecting all group policies. RollingRecreate(ctx context.Context, in *RollingRecreateRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Starts the specified instance group. Start(ctx context.Context, in *StartInstanceGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified instance group. Delete(ctx context.Context, in *DeleteInstanceGroupRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Lists instances for the specified instance group. ListInstances(ctx context.Context, in *ListInstanceGroupInstancesRequest, opts ...grpc.CallOption) (*ListInstanceGroupInstancesResponse, error) // Delete instances from the instance group. DeleteInstances(ctx context.Context, in *DeleteInstancesRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Stop instances from the instance group. StopInstances(ctx context.Context, in *StopInstancesRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Lists operations for the specified instance group. ListOperations(ctx context.Context, in *ListInstanceGroupOperationsRequest, opts ...grpc.CallOption) (*ListInstanceGroupOperationsResponse, error) // Lists logs for the specified instance group. ListLogRecords(ctx context.Context, in *ListInstanceGroupLogRecordsRequest, opts ...grpc.CallOption) (*ListInstanceGroupLogRecordsResponse, error) // Lists existing access bindings for the specified instance group. ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error) // Sets access bindings for the specified instance group. SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates access bindings for the specified instance group. UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Resumes all processes regarding management of the specified instance group, // i.e. scaling, checking instances' health, auto-healing and updating them. ResumeProcesses(ctx context.Context, in *ResumeInstanceGroupProcessesRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Pauses all processes regarding management of the specified instance group, // i.e. scaling, checking instances' health, auto-healing and updating them. Running instances are not stopped. PauseProcesses(ctx context.Context, in *PauseInstanceGroupProcessesRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
InstanceGroupServiceClient is the client API for InstanceGroupService 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 InstanceGroup resources.
func NewInstanceGroupServiceClient ¶
func NewInstanceGroupServiceClient(cc grpc.ClientConnInterface) InstanceGroupServiceClient
type InstanceGroupServiceServer ¶
type InstanceGroupServiceServer interface { // Returns the specified InstanceGroup resource. // // To get the list of available InstanceGroup resources, make a [List] request. Get(context.Context, *GetInstanceGroupRequest) (*InstanceGroup, error) // Retrieves the list of InstanceGroup resources in the specified folder. List(context.Context, *ListInstanceGroupsRequest) (*ListInstanceGroupsResponse, error) // Creates an instance group in the specified folder. // This method starts an operation that can be cancelled by another operation. Create(context.Context, *CreateInstanceGroupRequest) (*operation.Operation, error) // Creates an instance group in the specified folder from a YAML file. // This method starts an operation that can be cancelled by another operation. CreateFromYaml(context.Context, *CreateInstanceGroupFromYamlRequest) (*operation.Operation, error) // Updates the specified instance group. // This method starts an operation that can be cancelled by another operation. Update(context.Context, *UpdateInstanceGroupRequest) (*operation.Operation, error) // Updates the specified instance group from a YAML file. // This method starts an operation that can be cancelled by another operation. UpdateFromYaml(context.Context, *UpdateInstanceGroupFromYamlRequest) (*operation.Operation, error) // Stops the specified instance group. Stop(context.Context, *StopInstanceGroupRequest) (*operation.Operation, error) // Performs rolling restart of specified instances for the specified instance group. // Rolling restart does restart of instances respecting all group policies. RollingRestart(context.Context, *RollingRestartRequest) (*operation.Operation, error) // Performs rolling recreate of specified instances for the specified instance group. // Rolling recreate does recreate of instance VMs respecting all group policies. RollingRecreate(context.Context, *RollingRecreateRequest) (*operation.Operation, error) // Starts the specified instance group. Start(context.Context, *StartInstanceGroupRequest) (*operation.Operation, error) // Deletes the specified instance group. Delete(context.Context, *DeleteInstanceGroupRequest) (*operation.Operation, error) // Lists instances for the specified instance group. ListInstances(context.Context, *ListInstanceGroupInstancesRequest) (*ListInstanceGroupInstancesResponse, error) // Delete instances from the instance group. DeleteInstances(context.Context, *DeleteInstancesRequest) (*operation.Operation, error) // Stop instances from the instance group. StopInstances(context.Context, *StopInstancesRequest) (*operation.Operation, error) // Lists operations for the specified instance group. ListOperations(context.Context, *ListInstanceGroupOperationsRequest) (*ListInstanceGroupOperationsResponse, error) // Lists logs for the specified instance group. ListLogRecords(context.Context, *ListInstanceGroupLogRecordsRequest) (*ListInstanceGroupLogRecordsResponse, error) // Lists existing access bindings for the specified instance group. ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error) // Sets access bindings for the specified instance group. SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error) // Updates access bindings for the specified instance group. UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error) // Resumes all processes regarding management of the specified instance group, // i.e. scaling, checking instances' health, auto-healing and updating them. ResumeProcesses(context.Context, *ResumeInstanceGroupProcessesRequest) (*operation.Operation, error) // Pauses all processes regarding management of the specified instance group, // i.e. scaling, checking instances' health, auto-healing and updating them. Running instances are not stopped. PauseProcesses(context.Context, *PauseInstanceGroupProcessesRequest) (*operation.Operation, error) }
InstanceGroupServiceServer is the server API for InstanceGroupService service. All implementations should embed UnimplementedInstanceGroupServiceServer for forward compatibility.
A set of methods for managing InstanceGroup resources.
type InstanceGroupView ¶
type InstanceGroupView int32
const ( // Doesn't include the metadata of the instance template in the server response. InstanceGroupView_BASIC InstanceGroupView = 0 // Returns the metadata of the instance template in the server response. InstanceGroupView_FULL InstanceGroupView = 1 )
func (InstanceGroupView) Descriptor ¶
func (InstanceGroupView) Descriptor() protoreflect.EnumDescriptor
func (InstanceGroupView) Enum ¶
func (x InstanceGroupView) Enum() *InstanceGroupView
func (InstanceGroupView) EnumDescriptor
deprecated
func (InstanceGroupView) EnumDescriptor() ([]byte, []int)
Deprecated: Use InstanceGroupView.Descriptor instead.
func (InstanceGroupView) Number ¶
func (x InstanceGroupView) Number() protoreflect.EnumNumber
func (InstanceGroupView) String ¶
func (x InstanceGroupView) String() string
func (InstanceGroupView) Type ¶
func (InstanceGroupView) Type() protoreflect.EnumType
type InstanceGroup_Status ¶
type InstanceGroup_Status int32
const ( InstanceGroup_STATUS_UNSPECIFIED InstanceGroup_Status = 0 // Instance group is being started and will become active soon. InstanceGroup_STARTING InstanceGroup_Status = 1 // Instance group is active. // In this state the group manages its instances and monitors their health, // creating, deleting, stopping, updating and starting instances as needed. // // To stop the instance group, call [yandex.cloud.compute.v1.instancegroup.InstanceGroupService.Stop]. // To pause the processes in the instance group, i.e. scaling, checking instances' health, // auto-healing and updating them, without stopping the instances, // call [yandex.cloud.compute.v1.instancegroup.InstanceGroupService.PauseProcesses]. InstanceGroup_ACTIVE InstanceGroup_Status = 2 // Instance group is being stopped. // Group's instances stop receiving traffic from the load balancer (if any) and are then stopped. InstanceGroup_STOPPING InstanceGroup_Status = 3 // Instance group is stopped. // In this state the group cannot be updated and does not react to any changes made to its instances. // To start the instance group, call [yandex.cloud.compute.v1.instancegroup.InstanceGroupService.Start]. InstanceGroup_STOPPED InstanceGroup_Status = 4 // Instance group is being deleted. InstanceGroup_DELETING InstanceGroup_Status = 5 // Instance group is paused. // In this state all the processes regarding the group management, i.e. scaling, checking instances' health, // auto-healing and updating them, are paused. The instances that were running prior to pausing the group, however, // may still be running. // // To resume the processes in the instance group, // call [yandex.cloud.compute.v1.instancegroup.InstanceGroupService.ResumeProcesses]. // The group status will change to `ACTIVE`. InstanceGroup_PAUSED InstanceGroup_Status = 6 )
func (InstanceGroup_Status) Descriptor ¶
func (InstanceGroup_Status) Descriptor() protoreflect.EnumDescriptor
func (InstanceGroup_Status) Enum ¶
func (x InstanceGroup_Status) Enum() *InstanceGroup_Status
func (InstanceGroup_Status) EnumDescriptor
deprecated
func (InstanceGroup_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use InstanceGroup_Status.Descriptor instead.
func (InstanceGroup_Status) Number ¶
func (x InstanceGroup_Status) Number() protoreflect.EnumNumber
func (InstanceGroup_Status) String ¶
func (x InstanceGroup_Status) String() string
func (InstanceGroup_Status) Type ¶
func (InstanceGroup_Status) Type() protoreflect.EnumType
type InstanceTemplate ¶
type InstanceTemplate struct { // Description of the instance template. Description string `protobuf:"bytes,1,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 hardware platform configuration for the instance. // Platforms allows you to create various types of instances: with a large amount of memory, // with a large number of cores, with a burstable performance. // For more information, see [Platforms](/docs/compute/concepts/vm-platforms). PlatformId string `protobuf:"bytes,3,opt,name=platform_id,json=platformId,proto3" json:"platform_id,omitempty"` // Computing resources of the instance such as the amount of memory and number of cores. ResourcesSpec *ResourcesSpec `protobuf:"bytes,4,opt,name=resources_spec,json=resourcesSpec,proto3" json:"resources_spec,omitempty"` // The metadata `key:value` pairs assigned to this instance template. This includes custom metadata and predefined keys. // // Metadata values may contain one of the supported placeholders: // // {instance_group.id} // {instance.short_id} // {instance.index} // {instance.index_in_zone} // {instance.zone_id} // // InstanceGroup and Instance labels may be copied to metadata following way: // // {instance_group.labels.some_label_key} // {instance.labels.another_label_key} // // These placeholders will be substituted for each created instance anywhere in the value text. // In the rare case the value requires to contain this placeholder explicitly, // it must be escaped with double brackets, in example {instance.index}. // // For example, you may use the metadata in order to provide your public SSH key to the instance. // For more information, see [Metadata](/docs/compute/concepts/vm-metadata). Metadata map[string]string `` /* 157-byte string literal not displayed */ // Boot disk specification that will be attached to the instance. BootDiskSpec *AttachedDiskSpec `protobuf:"bytes,6,opt,name=boot_disk_spec,json=bootDiskSpec,proto3" json:"boot_disk_spec,omitempty"` // Array of secondary disks that will be attached to the instance. SecondaryDiskSpecs []*AttachedDiskSpec `protobuf:"bytes,7,rep,name=secondary_disk_specs,json=secondaryDiskSpecs,proto3" json:"secondary_disk_specs,omitempty"` // Array of network interfaces that will be attached to the instance. NetworkInterfaceSpecs []*NetworkInterfaceSpec `` /* 126-byte string literal not displayed */ // Scheduling policy for the instance. SchedulingPolicy *SchedulingPolicy `protobuf:"bytes,9,opt,name=scheduling_policy,json=schedulingPolicy,proto3" json:"scheduling_policy,omitempty"` // Service account ID for the instance. ServiceAccountId string `protobuf:"bytes,10,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // Network settings for the instance. NetworkSettings *NetworkSettings `protobuf:"bytes,11,opt,name=network_settings,json=networkSettings,proto3" json:"network_settings,omitempty"` // Name of the instance. // In order to be unique it must contain at least on of instance unique placeholders: // // {instance.short_id} // {instance.index} // combination of {instance.zone_id} and {instance.index_in_zone} // // Example: my-instance-{instance.index} // If not set, default is used: {instance_group.id}-{instance.short_id} // It may also contain another placeholders, see metadata doc for full list. Name string `protobuf:"bytes,12,opt,name=name,proto3" json:"name,omitempty"` // Host name for the instance. // This field is used to generate the [yandex.cloud.compute.v1.Instance.fqdn] value. // The host name must be unique within the network and region. // If not specified, the host name will be equal to [yandex.cloud.compute.v1.Instance.id] of the instance // and FQDN will be `<id>.auto.internal`. Otherwise FQDN will be `<hostname>.<region_id>.internal`. // // In order to be unique it must contain at least on of instance unique placeholders: // // {instance.short_id} // {instance.index} // combination of {instance.zone_id} and {instance.index_in_zone} // // Example: my-instance-{instance.index} // If not set, `name` value will be used // It may also contain another placeholders, see metadata doc for full list. Hostname string `protobuf:"bytes,13,opt,name=hostname,proto3" json:"hostname,omitempty"` // Placement Group PlacementPolicy *PlacementPolicy `protobuf:"bytes,14,opt,name=placement_policy,json=placementPolicy,proto3" json:"placement_policy,omitempty"` // Array of filesystems to attach to the instance. // // The filesystems must reside in the same availability zone as the instance. // // To use the instance with an attached filesystem, the latter must be mounted. // For details, see [documentation](/docs/compute/operations/filesystem/attach-to-vm). FilesystemSpecs []*AttachedFilesystemSpec `protobuf:"bytes,15,rep,name=filesystem_specs,json=filesystemSpecs,proto3" json:"filesystem_specs,omitempty"` // Metadata options for the instance MetadataOptions *MetadataOptions `protobuf:"bytes,16,opt,name=metadata_options,json=metadataOptions,proto3" json:"metadata_options,omitempty"` // contains filtered or unexported fields }
func (*InstanceTemplate) Descriptor
deprecated
func (*InstanceTemplate) Descriptor() ([]byte, []int)
Deprecated: Use InstanceTemplate.ProtoReflect.Descriptor instead.
func (*InstanceTemplate) GetBootDiskSpec ¶
func (x *InstanceTemplate) GetBootDiskSpec() *AttachedDiskSpec
func (*InstanceTemplate) GetDescription ¶
func (x *InstanceTemplate) GetDescription() string
func (*InstanceTemplate) GetFilesystemSpecs ¶
func (x *InstanceTemplate) GetFilesystemSpecs() []*AttachedFilesystemSpec
func (*InstanceTemplate) GetHostname ¶
func (x *InstanceTemplate) GetHostname() string
func (*InstanceTemplate) GetLabels ¶
func (x *InstanceTemplate) GetLabels() map[string]string
func (*InstanceTemplate) GetMetadata ¶
func (x *InstanceTemplate) GetMetadata() map[string]string
func (*InstanceTemplate) GetMetadataOptions ¶
func (x *InstanceTemplate) GetMetadataOptions() *MetadataOptions
func (*InstanceTemplate) GetName ¶
func (x *InstanceTemplate) GetName() string
func (*InstanceTemplate) GetNetworkInterfaceSpecs ¶
func (x *InstanceTemplate) GetNetworkInterfaceSpecs() []*NetworkInterfaceSpec
func (*InstanceTemplate) GetNetworkSettings ¶
func (x *InstanceTemplate) GetNetworkSettings() *NetworkSettings
func (*InstanceTemplate) GetPlacementPolicy ¶
func (x *InstanceTemplate) GetPlacementPolicy() *PlacementPolicy
func (*InstanceTemplate) GetPlatformId ¶
func (x *InstanceTemplate) GetPlatformId() string
func (*InstanceTemplate) GetResourcesSpec ¶
func (x *InstanceTemplate) GetResourcesSpec() *ResourcesSpec
func (*InstanceTemplate) GetSchedulingPolicy ¶
func (x *InstanceTemplate) GetSchedulingPolicy() *SchedulingPolicy
func (*InstanceTemplate) GetSecondaryDiskSpecs ¶
func (x *InstanceTemplate) GetSecondaryDiskSpecs() []*AttachedDiskSpec
func (*InstanceTemplate) GetServiceAccountId ¶
func (x *InstanceTemplate) GetServiceAccountId() string
func (*InstanceTemplate) ProtoMessage ¶
func (*InstanceTemplate) ProtoMessage()
func (*InstanceTemplate) ProtoReflect ¶
func (x *InstanceTemplate) ProtoReflect() protoreflect.Message
func (*InstanceTemplate) Reset ¶
func (x *InstanceTemplate) Reset()
func (*InstanceTemplate) SetBootDiskSpec ¶
func (m *InstanceTemplate) SetBootDiskSpec(v *AttachedDiskSpec)
func (*InstanceTemplate) SetDescription ¶
func (m *InstanceTemplate) SetDescription(v string)
func (*InstanceTemplate) SetFilesystemSpecs ¶
func (m *InstanceTemplate) SetFilesystemSpecs(v []*AttachedFilesystemSpec)
func (*InstanceTemplate) SetHostname ¶
func (m *InstanceTemplate) SetHostname(v string)
func (*InstanceTemplate) SetLabels ¶
func (m *InstanceTemplate) SetLabels(v map[string]string)
func (*InstanceTemplate) SetMetadata ¶
func (m *InstanceTemplate) SetMetadata(v map[string]string)
func (*InstanceTemplate) SetMetadataOptions ¶
func (m *InstanceTemplate) SetMetadataOptions(v *MetadataOptions)
func (*InstanceTemplate) SetName ¶
func (m *InstanceTemplate) SetName(v string)
func (*InstanceTemplate) SetNetworkInterfaceSpecs ¶
func (m *InstanceTemplate) SetNetworkInterfaceSpecs(v []*NetworkInterfaceSpec)
func (*InstanceTemplate) SetNetworkSettings ¶
func (m *InstanceTemplate) SetNetworkSettings(v *NetworkSettings)
func (*InstanceTemplate) SetPlacementPolicy ¶
func (m *InstanceTemplate) SetPlacementPolicy(v *PlacementPolicy)
func (*InstanceTemplate) SetPlatformId ¶
func (m *InstanceTemplate) SetPlatformId(v string)
func (*InstanceTemplate) SetResourcesSpec ¶
func (m *InstanceTemplate) SetResourcesSpec(v *ResourcesSpec)
func (*InstanceTemplate) SetSchedulingPolicy ¶
func (m *InstanceTemplate) SetSchedulingPolicy(v *SchedulingPolicy)
func (*InstanceTemplate) SetSecondaryDiskSpecs ¶
func (m *InstanceTemplate) SetSecondaryDiskSpecs(v []*AttachedDiskSpec)
func (*InstanceTemplate) SetServiceAccountId ¶
func (m *InstanceTemplate) SetServiceAccountId(v string)
func (*InstanceTemplate) String ¶
func (x *InstanceTemplate) String() string
type IpVersion ¶
type IpVersion int32
func (IpVersion) Descriptor ¶
func (IpVersion) Descriptor() protoreflect.EnumDescriptor
func (IpVersion) EnumDescriptor
deprecated
func (IpVersion) Number ¶
func (x IpVersion) Number() protoreflect.EnumNumber
func (IpVersion) Type ¶
func (IpVersion) Type() protoreflect.EnumType
type ListInstanceGroupInstancesRequest ¶
type ListInstanceGroupInstancesRequest struct { // ID of the InstanceGroup resource to list instances for. // To get the instance group ID, use a [InstanceGroupService.List] request. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_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 [ListInstanceGroupInstancesResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. 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 [ListInstanceGroupInstancesResponse.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. // Currently you can use filtering only on the [ManagedInstance.name] field. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListInstanceGroupInstancesRequest) Descriptor
deprecated
func (*ListInstanceGroupInstancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInstanceGroupInstancesRequest.ProtoReflect.Descriptor instead.
func (*ListInstanceGroupInstancesRequest) GetFilter ¶
func (x *ListInstanceGroupInstancesRequest) GetFilter() string
func (*ListInstanceGroupInstancesRequest) GetInstanceGroupId ¶
func (x *ListInstanceGroupInstancesRequest) GetInstanceGroupId() string
func (*ListInstanceGroupInstancesRequest) GetPageSize ¶
func (x *ListInstanceGroupInstancesRequest) GetPageSize() int64
func (*ListInstanceGroupInstancesRequest) GetPageToken ¶
func (x *ListInstanceGroupInstancesRequest) GetPageToken() string
func (*ListInstanceGroupInstancesRequest) ProtoMessage ¶
func (*ListInstanceGroupInstancesRequest) ProtoMessage()
func (*ListInstanceGroupInstancesRequest) ProtoReflect ¶
func (x *ListInstanceGroupInstancesRequest) ProtoReflect() protoreflect.Message
func (*ListInstanceGroupInstancesRequest) Reset ¶
func (x *ListInstanceGroupInstancesRequest) Reset()
func (*ListInstanceGroupInstancesRequest) SetFilter ¶
func (m *ListInstanceGroupInstancesRequest) SetFilter(v string)
func (*ListInstanceGroupInstancesRequest) SetInstanceGroupId ¶
func (m *ListInstanceGroupInstancesRequest) SetInstanceGroupId(v string)
func (*ListInstanceGroupInstancesRequest) SetPageSize ¶
func (m *ListInstanceGroupInstancesRequest) SetPageSize(v int64)
func (*ListInstanceGroupInstancesRequest) SetPageToken ¶
func (m *ListInstanceGroupInstancesRequest) SetPageToken(v string)
func (*ListInstanceGroupInstancesRequest) String ¶
func (x *ListInstanceGroupInstancesRequest) String() string
type ListInstanceGroupInstancesResponse ¶
type ListInstanceGroupInstancesResponse struct { // Lists instances for the specified instance group. Instances []*ManagedInstance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is more than [ListInstanceGroupInstancesRequest.page_size], use // [next_page_token] as the value // for the [ListInstanceGroupInstancesRequest.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 (*ListInstanceGroupInstancesResponse) Descriptor
deprecated
func (*ListInstanceGroupInstancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInstanceGroupInstancesResponse.ProtoReflect.Descriptor instead.
func (*ListInstanceGroupInstancesResponse) GetInstances ¶
func (x *ListInstanceGroupInstancesResponse) GetInstances() []*ManagedInstance
func (*ListInstanceGroupInstancesResponse) GetNextPageToken ¶
func (x *ListInstanceGroupInstancesResponse) GetNextPageToken() string
func (*ListInstanceGroupInstancesResponse) ProtoMessage ¶
func (*ListInstanceGroupInstancesResponse) ProtoMessage()
func (*ListInstanceGroupInstancesResponse) ProtoReflect ¶
func (x *ListInstanceGroupInstancesResponse) ProtoReflect() protoreflect.Message
func (*ListInstanceGroupInstancesResponse) Reset ¶
func (x *ListInstanceGroupInstancesResponse) Reset()
func (*ListInstanceGroupInstancesResponse) SetInstances ¶
func (m *ListInstanceGroupInstancesResponse) SetInstances(v []*ManagedInstance)
func (*ListInstanceGroupInstancesResponse) SetNextPageToken ¶
func (m *ListInstanceGroupInstancesResponse) SetNextPageToken(v string)
func (*ListInstanceGroupInstancesResponse) String ¶
func (x *ListInstanceGroupInstancesResponse) String() string
type ListInstanceGroupLogRecordsRequest ¶
type ListInstanceGroupLogRecordsRequest struct { // ID of the InstanceGroup resource to list logs for. // To get the instance group ID, use a [InstanceGroupService.List] request. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_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 [ListInstanceGroupLogRecordsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. 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 [ListInstanceGroupLogRecordsResponse.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. // Currently you can use filtering only on the [InstanceGroup.name] field. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListInstanceGroupLogRecordsRequest) Descriptor
deprecated
func (*ListInstanceGroupLogRecordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInstanceGroupLogRecordsRequest.ProtoReflect.Descriptor instead.
func (*ListInstanceGroupLogRecordsRequest) GetFilter ¶
func (x *ListInstanceGroupLogRecordsRequest) GetFilter() string
func (*ListInstanceGroupLogRecordsRequest) GetInstanceGroupId ¶
func (x *ListInstanceGroupLogRecordsRequest) GetInstanceGroupId() string
func (*ListInstanceGroupLogRecordsRequest) GetPageSize ¶
func (x *ListInstanceGroupLogRecordsRequest) GetPageSize() int64
func (*ListInstanceGroupLogRecordsRequest) GetPageToken ¶
func (x *ListInstanceGroupLogRecordsRequest) GetPageToken() string
func (*ListInstanceGroupLogRecordsRequest) ProtoMessage ¶
func (*ListInstanceGroupLogRecordsRequest) ProtoMessage()
func (*ListInstanceGroupLogRecordsRequest) ProtoReflect ¶
func (x *ListInstanceGroupLogRecordsRequest) ProtoReflect() protoreflect.Message
func (*ListInstanceGroupLogRecordsRequest) Reset ¶
func (x *ListInstanceGroupLogRecordsRequest) Reset()
func (*ListInstanceGroupLogRecordsRequest) SetFilter ¶
func (m *ListInstanceGroupLogRecordsRequest) SetFilter(v string)
func (*ListInstanceGroupLogRecordsRequest) SetInstanceGroupId ¶
func (m *ListInstanceGroupLogRecordsRequest) SetInstanceGroupId(v string)
func (*ListInstanceGroupLogRecordsRequest) SetPageSize ¶
func (m *ListInstanceGroupLogRecordsRequest) SetPageSize(v int64)
func (*ListInstanceGroupLogRecordsRequest) SetPageToken ¶
func (m *ListInstanceGroupLogRecordsRequest) SetPageToken(v string)
func (*ListInstanceGroupLogRecordsRequest) String ¶
func (x *ListInstanceGroupLogRecordsRequest) String() string
type ListInstanceGroupLogRecordsResponse ¶
type ListInstanceGroupLogRecordsResponse struct { // Lists logs for the specified instance group. LogRecords []*LogRecord `protobuf:"bytes,1,rep,name=log_records,json=logRecords,proto3" json:"log_records,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListInstanceGroupLogRecordsRequest.page_size], use // [next_page_token] as the value // for the [ListInstanceGroupLogRecordsRequest.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 (*ListInstanceGroupLogRecordsResponse) Descriptor
deprecated
func (*ListInstanceGroupLogRecordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInstanceGroupLogRecordsResponse.ProtoReflect.Descriptor instead.
func (*ListInstanceGroupLogRecordsResponse) GetLogRecords ¶
func (x *ListInstanceGroupLogRecordsResponse) GetLogRecords() []*LogRecord
func (*ListInstanceGroupLogRecordsResponse) GetNextPageToken ¶
func (x *ListInstanceGroupLogRecordsResponse) GetNextPageToken() string
func (*ListInstanceGroupLogRecordsResponse) ProtoMessage ¶
func (*ListInstanceGroupLogRecordsResponse) ProtoMessage()
func (*ListInstanceGroupLogRecordsResponse) ProtoReflect ¶
func (x *ListInstanceGroupLogRecordsResponse) ProtoReflect() protoreflect.Message
func (*ListInstanceGroupLogRecordsResponse) Reset ¶
func (x *ListInstanceGroupLogRecordsResponse) Reset()
func (*ListInstanceGroupLogRecordsResponse) SetLogRecords ¶
func (m *ListInstanceGroupLogRecordsResponse) SetLogRecords(v []*LogRecord)
func (*ListInstanceGroupLogRecordsResponse) SetNextPageToken ¶
func (m *ListInstanceGroupLogRecordsResponse) SetNextPageToken(v string)
func (*ListInstanceGroupLogRecordsResponse) String ¶
func (x *ListInstanceGroupLogRecordsResponse) String() string
type ListInstanceGroupOperationsRequest ¶
type ListInstanceGroupOperationsRequest struct { // ID of the InstanceGroup resource to list operations for. // To get the instance group ID, use a [InstanceGroupService.List] request. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is more than [page_size], the service returns a [ListInstanceGroupOperationsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. 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 // [ListInstanceGroupOperationsResponse.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. // Currently you can use filtering only on the [InstanceGroup.name] field. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListInstanceGroupOperationsRequest) Descriptor
deprecated
func (*ListInstanceGroupOperationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInstanceGroupOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListInstanceGroupOperationsRequest) GetFilter ¶
func (x *ListInstanceGroupOperationsRequest) GetFilter() string
func (*ListInstanceGroupOperationsRequest) GetInstanceGroupId ¶
func (x *ListInstanceGroupOperationsRequest) GetInstanceGroupId() string
func (*ListInstanceGroupOperationsRequest) GetPageSize ¶
func (x *ListInstanceGroupOperationsRequest) GetPageSize() int64
func (*ListInstanceGroupOperationsRequest) GetPageToken ¶
func (x *ListInstanceGroupOperationsRequest) GetPageToken() string
func (*ListInstanceGroupOperationsRequest) ProtoMessage ¶
func (*ListInstanceGroupOperationsRequest) ProtoMessage()
func (*ListInstanceGroupOperationsRequest) ProtoReflect ¶
func (x *ListInstanceGroupOperationsRequest) ProtoReflect() protoreflect.Message
func (*ListInstanceGroupOperationsRequest) Reset ¶
func (x *ListInstanceGroupOperationsRequest) Reset()
func (*ListInstanceGroupOperationsRequest) SetFilter ¶
func (m *ListInstanceGroupOperationsRequest) SetFilter(v string)
func (*ListInstanceGroupOperationsRequest) SetInstanceGroupId ¶
func (m *ListInstanceGroupOperationsRequest) SetInstanceGroupId(v string)
func (*ListInstanceGroupOperationsRequest) SetPageSize ¶
func (m *ListInstanceGroupOperationsRequest) SetPageSize(v int64)
func (*ListInstanceGroupOperationsRequest) SetPageToken ¶
func (m *ListInstanceGroupOperationsRequest) SetPageToken(v string)
func (*ListInstanceGroupOperationsRequest) String ¶
func (x *ListInstanceGroupOperationsRequest) String() string
type ListInstanceGroupOperationsResponse ¶
type ListInstanceGroupOperationsResponse struct { // Lists operations for the specified instance 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 more than [ListInstanceGroupOperationsRequest.page_size], use the [next_page_token] as the value // for the [ListInstanceGroupOperationsRequest.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 (*ListInstanceGroupOperationsResponse) Descriptor
deprecated
func (*ListInstanceGroupOperationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInstanceGroupOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListInstanceGroupOperationsResponse) GetNextPageToken ¶
func (x *ListInstanceGroupOperationsResponse) GetNextPageToken() string
func (*ListInstanceGroupOperationsResponse) GetOperations ¶
func (x *ListInstanceGroupOperationsResponse) GetOperations() []*operation.Operation
func (*ListInstanceGroupOperationsResponse) ProtoMessage ¶
func (*ListInstanceGroupOperationsResponse) ProtoMessage()
func (*ListInstanceGroupOperationsResponse) ProtoReflect ¶
func (x *ListInstanceGroupOperationsResponse) ProtoReflect() protoreflect.Message
func (*ListInstanceGroupOperationsResponse) Reset ¶
func (x *ListInstanceGroupOperationsResponse) Reset()
func (*ListInstanceGroupOperationsResponse) SetNextPageToken ¶
func (m *ListInstanceGroupOperationsResponse) SetNextPageToken(v string)
func (*ListInstanceGroupOperationsResponse) SetOperations ¶
func (m *ListInstanceGroupOperationsResponse) SetOperations(v []*operation.Operation)
func (*ListInstanceGroupOperationsResponse) String ¶
func (x *ListInstanceGroupOperationsResponse) String() string
type ListInstanceGroupsRequest ¶
type ListInstanceGroupsRequest struct { // ID of the folder to list instance groups in. // To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" 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 [ListInstanceGroupsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. 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 [ListInstanceGroupsResponse.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. // Currently you can use filtering only on the [InstanceGroup.name] field. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Defines which information about the Instance template should be returned in the server response. View InstanceGroupView `protobuf:"varint,5,opt,name=view,proto3,enum=yandex.cloud.compute.v1.instancegroup.InstanceGroupView" json:"view,omitempty"` // contains filtered or unexported fields }
func (*ListInstanceGroupsRequest) Descriptor
deprecated
func (*ListInstanceGroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInstanceGroupsRequest.ProtoReflect.Descriptor instead.
func (*ListInstanceGroupsRequest) GetFilter ¶
func (x *ListInstanceGroupsRequest) GetFilter() string
func (*ListInstanceGroupsRequest) GetFolderId ¶
func (x *ListInstanceGroupsRequest) GetFolderId() string
func (*ListInstanceGroupsRequest) GetPageSize ¶
func (x *ListInstanceGroupsRequest) GetPageSize() int64
func (*ListInstanceGroupsRequest) GetPageToken ¶
func (x *ListInstanceGroupsRequest) GetPageToken() string
func (*ListInstanceGroupsRequest) GetView ¶
func (x *ListInstanceGroupsRequest) GetView() InstanceGroupView
func (*ListInstanceGroupsRequest) ProtoMessage ¶
func (*ListInstanceGroupsRequest) ProtoMessage()
func (*ListInstanceGroupsRequest) ProtoReflect ¶
func (x *ListInstanceGroupsRequest) ProtoReflect() protoreflect.Message
func (*ListInstanceGroupsRequest) Reset ¶
func (x *ListInstanceGroupsRequest) Reset()
func (*ListInstanceGroupsRequest) SetFilter ¶
func (m *ListInstanceGroupsRequest) SetFilter(v string)
func (*ListInstanceGroupsRequest) SetFolderId ¶
func (m *ListInstanceGroupsRequest) SetFolderId(v string)
func (*ListInstanceGroupsRequest) SetPageSize ¶
func (m *ListInstanceGroupsRequest) SetPageSize(v int64)
func (*ListInstanceGroupsRequest) SetPageToken ¶
func (m *ListInstanceGroupsRequest) SetPageToken(v string)
func (*ListInstanceGroupsRequest) SetView ¶
func (m *ListInstanceGroupsRequest) SetView(v InstanceGroupView)
func (*ListInstanceGroupsRequest) String ¶
func (x *ListInstanceGroupsRequest) String() string
type ListInstanceGroupsResponse ¶
type ListInstanceGroupsResponse struct { // Lists instance groups for the specified folder. InstanceGroups []*InstanceGroup `protobuf:"bytes,1,rep,name=instance_groups,json=instanceGroups,proto3" json:"instance_groups,omitempty"` // This token allows you to get the next page of results for list requests. If the number of results // is larger than [ListInstanceGroupsRequest.page_size], use // [next_page_token] as the value // for the [ListInstanceGroupsRequest.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 (*ListInstanceGroupsResponse) Descriptor
deprecated
func (*ListInstanceGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInstanceGroupsResponse.ProtoReflect.Descriptor instead.
func (*ListInstanceGroupsResponse) GetInstanceGroups ¶
func (x *ListInstanceGroupsResponse) GetInstanceGroups() []*InstanceGroup
func (*ListInstanceGroupsResponse) GetNextPageToken ¶
func (x *ListInstanceGroupsResponse) GetNextPageToken() string
func (*ListInstanceGroupsResponse) ProtoMessage ¶
func (*ListInstanceGroupsResponse) ProtoMessage()
func (*ListInstanceGroupsResponse) ProtoReflect ¶
func (x *ListInstanceGroupsResponse) ProtoReflect() protoreflect.Message
func (*ListInstanceGroupsResponse) Reset ¶
func (x *ListInstanceGroupsResponse) Reset()
func (*ListInstanceGroupsResponse) SetInstanceGroups ¶
func (m *ListInstanceGroupsResponse) SetInstanceGroups(v []*InstanceGroup)
func (*ListInstanceGroupsResponse) SetNextPageToken ¶
func (m *ListInstanceGroupsResponse) SetNextPageToken(v string)
func (*ListInstanceGroupsResponse) String ¶
func (x *ListInstanceGroupsResponse) String() string
type LoadBalancerSpec ¶
type LoadBalancerSpec struct { // Specification of the target group that the instance group will be added to. For more information, see [Target groups and resources](/docs/network-load-balancer/concepts/target-resources). TargetGroupSpec *TargetGroupSpec `protobuf:"bytes,1,opt,name=target_group_spec,json=targetGroupSpec,proto3" json:"target_group_spec,omitempty"` // Timeout for waiting for the VM to be checked by the load balancer. If the timeout is exceeded, // the VM will be turned off based on the deployment policy. Specified in seconds. MaxOpeningTrafficDuration *durationpb.Duration `` /* 140-byte string literal not displayed */ // Do not wait load balancer health checks. IgnoreHealthChecks bool `protobuf:"varint,4,opt,name=ignore_health_checks,json=ignoreHealthChecks,proto3" json:"ignore_health_checks,omitempty"` // contains filtered or unexported fields }
func (*LoadBalancerSpec) Descriptor
deprecated
func (*LoadBalancerSpec) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancerSpec.ProtoReflect.Descriptor instead.
func (*LoadBalancerSpec) GetIgnoreHealthChecks ¶
func (x *LoadBalancerSpec) GetIgnoreHealthChecks() bool
func (*LoadBalancerSpec) GetMaxOpeningTrafficDuration ¶
func (x *LoadBalancerSpec) GetMaxOpeningTrafficDuration() *durationpb.Duration
func (*LoadBalancerSpec) GetTargetGroupSpec ¶
func (x *LoadBalancerSpec) GetTargetGroupSpec() *TargetGroupSpec
func (*LoadBalancerSpec) ProtoMessage ¶
func (*LoadBalancerSpec) ProtoMessage()
func (*LoadBalancerSpec) ProtoReflect ¶
func (x *LoadBalancerSpec) ProtoReflect() protoreflect.Message
func (*LoadBalancerSpec) Reset ¶
func (x *LoadBalancerSpec) Reset()
func (*LoadBalancerSpec) SetIgnoreHealthChecks ¶
func (m *LoadBalancerSpec) SetIgnoreHealthChecks(v bool)
func (*LoadBalancerSpec) SetMaxOpeningTrafficDuration ¶
func (m *LoadBalancerSpec) SetMaxOpeningTrafficDuration(v *durationpb.Duration)
func (*LoadBalancerSpec) SetTargetGroupSpec ¶
func (m *LoadBalancerSpec) SetTargetGroupSpec(v *TargetGroupSpec)
func (*LoadBalancerSpec) String ¶
func (x *LoadBalancerSpec) String() string
type LoadBalancerState ¶
type LoadBalancerState struct { // ID of the Network Load Balancer target group attributed to the instance group. TargetGroupId string `protobuf:"bytes,1,opt,name=target_group_id,json=targetGroupId,proto3" json:"target_group_id,omitempty"` // Status message of the target group. StatusMessage string `protobuf:"bytes,2,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // contains filtered or unexported fields }
func (*LoadBalancerState) Descriptor
deprecated
func (*LoadBalancerState) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancerState.ProtoReflect.Descriptor instead.
func (*LoadBalancerState) GetStatusMessage ¶
func (x *LoadBalancerState) GetStatusMessage() string
func (*LoadBalancerState) GetTargetGroupId ¶
func (x *LoadBalancerState) GetTargetGroupId() string
func (*LoadBalancerState) ProtoMessage ¶
func (*LoadBalancerState) ProtoMessage()
func (*LoadBalancerState) ProtoReflect ¶
func (x *LoadBalancerState) ProtoReflect() protoreflect.Message
func (*LoadBalancerState) Reset ¶
func (x *LoadBalancerState) Reset()
func (*LoadBalancerState) SetStatusMessage ¶
func (m *LoadBalancerState) SetStatusMessage(v string)
func (*LoadBalancerState) SetTargetGroupId ¶
func (m *LoadBalancerState) SetTargetGroupId(v string)
func (*LoadBalancerState) String ¶
func (x *LoadBalancerState) String() string
type LogRecord ¶
type LogRecord struct { // Log timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // The log message. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*LogRecord) Descriptor
deprecated
func (*LogRecord) GetMessage ¶
func (*LogRecord) GetTimestamp ¶
func (x *LogRecord) GetTimestamp() *timestamppb.Timestamp
func (*LogRecord) ProtoMessage ¶
func (*LogRecord) ProtoMessage()
func (*LogRecord) ProtoReflect ¶
func (x *LogRecord) ProtoReflect() protoreflect.Message
func (*LogRecord) SetMessage ¶
func (*LogRecord) SetTimestamp ¶
func (m *LogRecord) SetTimestamp(v *timestamppb.Timestamp)
type ManagedInstance ¶
type ManagedInstance struct { // ID of the managed instance. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Status of the managed instance. Status ManagedInstance_Status `` /* 132-byte string literal not displayed */ // ID of the instance. InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // Fully Qualified Domain Name. Fqdn string `protobuf:"bytes,4,opt,name=fqdn,proto3" json:"fqdn,omitempty"` // The name of the managed instance. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // Status message for the managed instance. StatusMessage string `protobuf:"bytes,6,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // ID of the availability zone where the instance resides. ZoneId string `protobuf:"bytes,7,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` // Array of network interfaces that are attached to the managed instance. NetworkInterfaces []*NetworkInterface `protobuf:"bytes,8,rep,name=network_interfaces,json=networkInterfaces,proto3" json:"network_interfaces,omitempty"` // The timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format when the status of the managed instance was last changed. StatusChangedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=status_changed_at,json=statusChangedAt,proto3" json:"status_changed_at,omitempty"` // Managed instance tag. InstanceTag string `protobuf:"bytes,14,opt,name=instance_tag,json=instanceTag,proto3" json:"instance_tag,omitempty"` // contains filtered or unexported fields }
A ManagedInstance resource. For more information, see [Instance Groups Concepts](/docs/compute/concepts/instance-groups/).
func (*ManagedInstance) Descriptor
deprecated
func (*ManagedInstance) Descriptor() ([]byte, []int)
Deprecated: Use ManagedInstance.ProtoReflect.Descriptor instead.
func (*ManagedInstance) GetFqdn ¶
func (x *ManagedInstance) GetFqdn() string
func (*ManagedInstance) GetId ¶
func (x *ManagedInstance) GetId() string
func (*ManagedInstance) GetInstanceId ¶
func (x *ManagedInstance) GetInstanceId() string
func (*ManagedInstance) GetInstanceTag ¶
func (x *ManagedInstance) GetInstanceTag() string
func (*ManagedInstance) GetName ¶
func (x *ManagedInstance) GetName() string
func (*ManagedInstance) GetNetworkInterfaces ¶
func (x *ManagedInstance) GetNetworkInterfaces() []*NetworkInterface
func (*ManagedInstance) GetStatus ¶
func (x *ManagedInstance) GetStatus() ManagedInstance_Status
func (*ManagedInstance) GetStatusChangedAt ¶
func (x *ManagedInstance) GetStatusChangedAt() *timestamppb.Timestamp
func (*ManagedInstance) GetStatusMessage ¶
func (x *ManagedInstance) GetStatusMessage() string
func (*ManagedInstance) GetZoneId ¶
func (x *ManagedInstance) GetZoneId() string
func (*ManagedInstance) ProtoMessage ¶
func (*ManagedInstance) ProtoMessage()
func (*ManagedInstance) ProtoReflect ¶
func (x *ManagedInstance) ProtoReflect() protoreflect.Message
func (*ManagedInstance) Reset ¶
func (x *ManagedInstance) Reset()
func (*ManagedInstance) SetFqdn ¶
func (m *ManagedInstance) SetFqdn(v string)
func (*ManagedInstance) SetId ¶
func (m *ManagedInstance) SetId(v string)
func (*ManagedInstance) SetInstanceId ¶
func (m *ManagedInstance) SetInstanceId(v string)
func (*ManagedInstance) SetInstanceTag ¶
func (m *ManagedInstance) SetInstanceTag(v string)
func (*ManagedInstance) SetName ¶
func (m *ManagedInstance) SetName(v string)
func (*ManagedInstance) SetNetworkInterfaces ¶
func (m *ManagedInstance) SetNetworkInterfaces(v []*NetworkInterface)
func (*ManagedInstance) SetStatus ¶
func (m *ManagedInstance) SetStatus(v ManagedInstance_Status)
func (*ManagedInstance) SetStatusChangedAt ¶
func (m *ManagedInstance) SetStatusChangedAt(v *timestamppb.Timestamp)
func (*ManagedInstance) SetStatusMessage ¶
func (m *ManagedInstance) SetStatusMessage(v string)
func (*ManagedInstance) SetZoneId ¶
func (m *ManagedInstance) SetZoneId(v string)
func (*ManagedInstance) String ¶
func (x *ManagedInstance) String() string
type ManagedInstance_Status ¶
type ManagedInstance_Status int32
const ( ManagedInstance_STATUS_UNSPECIFIED ManagedInstance_Status = 0 // Instance is being created. ManagedInstance_CREATING_INSTANCE ManagedInstance_Status = 11 // Instance is being updated. ManagedInstance_UPDATING_INSTANCE ManagedInstance_Status = 12 // Instance is being deleted. ManagedInstance_DELETING_INSTANCE ManagedInstance_Status = 13 // Instance is being started. ManagedInstance_STARTING_INSTANCE ManagedInstance_Status = 14 // Instance is being stopped. ManagedInstance_STOPPING_INSTANCE ManagedInstance_Status = 15 // Instance has been created successfully, but startup duration has not elapsed yet. ManagedInstance_AWAITING_STARTUP_DURATION ManagedInstance_Status = 16 // Instance has been created successfully and startup duration has elapsed, but health checks have not passed yet and the managed instance is not ready to receive traffic. ManagedInstance_CHECKING_HEALTH ManagedInstance_Status = 17 // Instance Groups is initiating health checks and routing traffic to the instances. ManagedInstance_OPENING_TRAFFIC ManagedInstance_Status = 18 // Instance is now receiving traffic, but warmup duration has not elapsed yet. ManagedInstance_AWAITING_WARMUP_DURATION ManagedInstance_Status = 19 // Instance Groups has initiated the process of stopping routing traffic to the instances. ManagedInstance_CLOSING_TRAFFIC ManagedInstance_Status = 20 // Instance is running normally and its attributes match the current InstanceTemplate. ManagedInstance_RUNNING_ACTUAL ManagedInstance_Status = 21 // Instance is running normally, but its attributes do not match the current InstanceTemplate. // It will be updated, recreated or deleted shortly. ManagedInstance_RUNNING_OUTDATED ManagedInstance_Status = 22 // Instance was stopped. ManagedInstance_STOPPED ManagedInstance_Status = 23 // Instance was deleted. ManagedInstance_DELETED ManagedInstance_Status = 24 // Instance Groups is preparing dependent resources. ManagedInstance_PREPARING_RESOURCES ManagedInstance_Status = 25 )
func (ManagedInstance_Status) Descriptor ¶
func (ManagedInstance_Status) Descriptor() protoreflect.EnumDescriptor
func (ManagedInstance_Status) Enum ¶
func (x ManagedInstance_Status) Enum() *ManagedInstance_Status
func (ManagedInstance_Status) EnumDescriptor
deprecated
func (ManagedInstance_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use ManagedInstance_Status.Descriptor instead.
func (ManagedInstance_Status) Number ¶
func (x ManagedInstance_Status) Number() protoreflect.EnumNumber
func (ManagedInstance_Status) String ¶
func (x ManagedInstance_Status) String() string
func (ManagedInstance_Status) Type ¶
func (ManagedInstance_Status) Type() protoreflect.EnumType
type ManagedInstancesState ¶
type ManagedInstancesState struct { // Target number of instances for this instance group. TargetSize int64 `protobuf:"varint,1,opt,name=target_size,json=targetSize,proto3" json:"target_size,omitempty"` // The number of running instances that match the current instance template. For more information, see [ManagedInstance.Status.RUNNING_ACTUAL]. RunningActualCount int64 `protobuf:"varint,4,opt,name=running_actual_count,json=runningActualCount,proto3" json:"running_actual_count,omitempty"` // The number of running instances that does not match the current instance template. For more information, see [ManagedInstance.Status.RUNNING_OUTDATED]. RunningOutdatedCount int64 `protobuf:"varint,5,opt,name=running_outdated_count,json=runningOutdatedCount,proto3" json:"running_outdated_count,omitempty"` // The number of instances in flight (for example, updating, starting, deleting). For more information, see [ManagedInstance.Status]. ProcessingCount int64 `protobuf:"varint,6,opt,name=processing_count,json=processingCount,proto3" json:"processing_count,omitempty"` // contains filtered or unexported fields }
func (*ManagedInstancesState) Descriptor
deprecated
func (*ManagedInstancesState) Descriptor() ([]byte, []int)
Deprecated: Use ManagedInstancesState.ProtoReflect.Descriptor instead.
func (*ManagedInstancesState) GetProcessingCount ¶
func (x *ManagedInstancesState) GetProcessingCount() int64
func (*ManagedInstancesState) GetRunningActualCount ¶
func (x *ManagedInstancesState) GetRunningActualCount() int64
func (*ManagedInstancesState) GetRunningOutdatedCount ¶
func (x *ManagedInstancesState) GetRunningOutdatedCount() int64
func (*ManagedInstancesState) GetTargetSize ¶
func (x *ManagedInstancesState) GetTargetSize() int64
func (*ManagedInstancesState) ProtoMessage ¶
func (*ManagedInstancesState) ProtoMessage()
func (*ManagedInstancesState) ProtoReflect ¶
func (x *ManagedInstancesState) ProtoReflect() protoreflect.Message
func (*ManagedInstancesState) Reset ¶
func (x *ManagedInstancesState) Reset()
func (*ManagedInstancesState) SetProcessingCount ¶
func (m *ManagedInstancesState) SetProcessingCount(v int64)
func (*ManagedInstancesState) SetRunningActualCount ¶
func (m *ManagedInstancesState) SetRunningActualCount(v int64)
func (*ManagedInstancesState) SetRunningOutdatedCount ¶
func (m *ManagedInstancesState) SetRunningOutdatedCount(v int64)
func (*ManagedInstancesState) SetTargetSize ¶
func (m *ManagedInstancesState) SetTargetSize(v int64)
func (*ManagedInstancesState) String ¶
func (x *ManagedInstancesState) String() string
type ManagedInstancesState_Statuses ¶
type ManagedInstancesState_Statuses struct { // Instance is being created. Creating int64 `protobuf:"varint,1,opt,name=creating,proto3" json:"creating,omitempty"` // Instance is being started. Starting int64 `protobuf:"varint,2,opt,name=starting,proto3" json:"starting,omitempty"` // Instance is being opened to receive traffic. Opening int64 `protobuf:"varint,3,opt,name=opening,proto3" json:"opening,omitempty"` // Instance is being warmed. Warming int64 `protobuf:"varint,4,opt,name=warming,proto3" json:"warming,omitempty"` // Instance is running normally. Running int64 `protobuf:"varint,5,opt,name=running,proto3" json:"running,omitempty"` // Instance is being closed to traffic. Closing int64 `protobuf:"varint,6,opt,name=closing,proto3" json:"closing,omitempty"` // Instance is being stopped. Stopping int64 `protobuf:"varint,7,opt,name=stopping,proto3" json:"stopping,omitempty"` // Instance is being updated. Updating int64 `protobuf:"varint,8,opt,name=updating,proto3" json:"updating,omitempty"` // Instance is being deleted. Deleting int64 `protobuf:"varint,9,opt,name=deleting,proto3" json:"deleting,omitempty"` // Instance failed and needs to be recreated. Failed int64 `protobuf:"varint,10,opt,name=failed,proto3" json:"failed,omitempty"` // contains filtered or unexported fields }
func (*ManagedInstancesState_Statuses) Descriptor
deprecated
func (*ManagedInstancesState_Statuses) Descriptor() ([]byte, []int)
Deprecated: Use ManagedInstancesState_Statuses.ProtoReflect.Descriptor instead.
func (*ManagedInstancesState_Statuses) GetClosing ¶
func (x *ManagedInstancesState_Statuses) GetClosing() int64
func (*ManagedInstancesState_Statuses) GetCreating ¶
func (x *ManagedInstancesState_Statuses) GetCreating() int64
func (*ManagedInstancesState_Statuses) GetDeleting ¶
func (x *ManagedInstancesState_Statuses) GetDeleting() int64
func (*ManagedInstancesState_Statuses) GetFailed ¶
func (x *ManagedInstancesState_Statuses) GetFailed() int64
func (*ManagedInstancesState_Statuses) GetOpening ¶
func (x *ManagedInstancesState_Statuses) GetOpening() int64
func (*ManagedInstancesState_Statuses) GetRunning ¶
func (x *ManagedInstancesState_Statuses) GetRunning() int64
func (*ManagedInstancesState_Statuses) GetStarting ¶
func (x *ManagedInstancesState_Statuses) GetStarting() int64
func (*ManagedInstancesState_Statuses) GetStopping ¶
func (x *ManagedInstancesState_Statuses) GetStopping() int64
func (*ManagedInstancesState_Statuses) GetUpdating ¶
func (x *ManagedInstancesState_Statuses) GetUpdating() int64
func (*ManagedInstancesState_Statuses) GetWarming ¶
func (x *ManagedInstancesState_Statuses) GetWarming() int64
func (*ManagedInstancesState_Statuses) ProtoMessage ¶
func (*ManagedInstancesState_Statuses) ProtoMessage()
func (*ManagedInstancesState_Statuses) ProtoReflect ¶
func (x *ManagedInstancesState_Statuses) ProtoReflect() protoreflect.Message
func (*ManagedInstancesState_Statuses) Reset ¶
func (x *ManagedInstancesState_Statuses) Reset()
func (*ManagedInstancesState_Statuses) SetClosing ¶
func (m *ManagedInstancesState_Statuses) SetClosing(v int64)
func (*ManagedInstancesState_Statuses) SetCreating ¶
func (m *ManagedInstancesState_Statuses) SetCreating(v int64)
func (*ManagedInstancesState_Statuses) SetDeleting ¶
func (m *ManagedInstancesState_Statuses) SetDeleting(v int64)
func (*ManagedInstancesState_Statuses) SetFailed ¶
func (m *ManagedInstancesState_Statuses) SetFailed(v int64)
func (*ManagedInstancesState_Statuses) SetOpening ¶
func (m *ManagedInstancesState_Statuses) SetOpening(v int64)
func (*ManagedInstancesState_Statuses) SetRunning ¶
func (m *ManagedInstancesState_Statuses) SetRunning(v int64)
func (*ManagedInstancesState_Statuses) SetStarting ¶
func (m *ManagedInstancesState_Statuses) SetStarting(v int64)
func (*ManagedInstancesState_Statuses) SetStopping ¶
func (m *ManagedInstancesState_Statuses) SetStopping(v int64)
func (*ManagedInstancesState_Statuses) SetUpdating ¶
func (m *ManagedInstancesState_Statuses) SetUpdating(v int64)
func (*ManagedInstancesState_Statuses) SetWarming ¶
func (m *ManagedInstancesState_Statuses) SetWarming(v int64)
func (*ManagedInstancesState_Statuses) String ¶
func (x *ManagedInstancesState_Statuses) String() string
type MetadataOption ¶
type MetadataOption int32
const ( MetadataOption_METADATA_OPTION_UNSPECIFIED MetadataOption = 0 // Option is enabled MetadataOption_ENABLED MetadataOption = 1 // Option is disabled MetadataOption_DISABLED MetadataOption = 2 )
func (MetadataOption) Descriptor ¶
func (MetadataOption) Descriptor() protoreflect.EnumDescriptor
func (MetadataOption) Enum ¶
func (x MetadataOption) Enum() *MetadataOption
func (MetadataOption) EnumDescriptor
deprecated
func (MetadataOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetadataOption.Descriptor instead.
func (MetadataOption) Number ¶
func (x MetadataOption) Number() protoreflect.EnumNumber
func (MetadataOption) String ¶
func (x MetadataOption) String() string
func (MetadataOption) Type ¶
func (MetadataOption) Type() protoreflect.EnumType
type MetadataOptions ¶
type MetadataOptions struct { // Enabled access to GCE flavored metadata GceHttpEndpoint MetadataOption `` /* 167-byte string literal not displayed */ // Enabled access to AWS flavored metadata (IMDSv1) AwsV1HttpEndpoint MetadataOption `` /* 175-byte string literal not displayed */ // Enabled access to IAM credentials with GCE flavored metadata GceHttpToken MetadataOption `` /* 158-byte string literal not displayed */ // Enabled access to IAM credentials with AWS flavored metadata (IMDSv1) AwsV1HttpToken MetadataOption `` /* 166-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MetadataOptions) Descriptor
deprecated
func (*MetadataOptions) Descriptor() ([]byte, []int)
Deprecated: Use MetadataOptions.ProtoReflect.Descriptor instead.
func (*MetadataOptions) GetAwsV1HttpEndpoint ¶
func (x *MetadataOptions) GetAwsV1HttpEndpoint() MetadataOption
func (*MetadataOptions) GetAwsV1HttpToken ¶
func (x *MetadataOptions) GetAwsV1HttpToken() MetadataOption
func (*MetadataOptions) GetGceHttpEndpoint ¶
func (x *MetadataOptions) GetGceHttpEndpoint() MetadataOption
func (*MetadataOptions) GetGceHttpToken ¶
func (x *MetadataOptions) GetGceHttpToken() MetadataOption
func (*MetadataOptions) ProtoMessage ¶
func (*MetadataOptions) ProtoMessage()
func (*MetadataOptions) ProtoReflect ¶
func (x *MetadataOptions) ProtoReflect() protoreflect.Message
func (*MetadataOptions) Reset ¶
func (x *MetadataOptions) Reset()
func (*MetadataOptions) SetAwsV1HttpEndpoint ¶
func (m *MetadataOptions) SetAwsV1HttpEndpoint(v MetadataOption)
func (*MetadataOptions) SetAwsV1HttpToken ¶
func (m *MetadataOptions) SetAwsV1HttpToken(v MetadataOption)
func (*MetadataOptions) SetGceHttpEndpoint ¶
func (m *MetadataOptions) SetGceHttpEndpoint(v MetadataOption)
func (*MetadataOptions) SetGceHttpToken ¶
func (m *MetadataOptions) SetGceHttpToken(v MetadataOption)
func (*MetadataOptions) String ¶
func (x *MetadataOptions) String() string
type NetworkInterface ¶
type NetworkInterface struct { // The index of the network interface, generated by the server, 0,1,2... etc. Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` // MAC address that is assigned to the network interface. MacAddress string `protobuf:"bytes,2,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` // ID of the subnet. SubnetId string `protobuf:"bytes,3,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"` // Primary IPv4 address that is assigned to the instance for this network interface. PrimaryV4Address *PrimaryAddress `protobuf:"bytes,4,opt,name=primary_v4_address,json=primaryV4Address,proto3" json:"primary_v4_address,omitempty"` // Primary IPv6 address that is assigned to the instance for this network interface. IPv6 is not available yet. PrimaryV6Address *PrimaryAddress `protobuf:"bytes,5,opt,name=primary_v6_address,json=primaryV6Address,proto3" json:"primary_v6_address,omitempty"` // contains filtered or unexported fields }
func (*NetworkInterface) Descriptor
deprecated
func (*NetworkInterface) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInterface.ProtoReflect.Descriptor instead.
func (*NetworkInterface) GetIndex ¶
func (x *NetworkInterface) GetIndex() string
func (*NetworkInterface) GetMacAddress ¶
func (x *NetworkInterface) GetMacAddress() string
func (*NetworkInterface) GetPrimaryV4Address ¶
func (x *NetworkInterface) GetPrimaryV4Address() *PrimaryAddress
func (*NetworkInterface) GetPrimaryV6Address ¶
func (x *NetworkInterface) GetPrimaryV6Address() *PrimaryAddress
func (*NetworkInterface) GetSubnetId ¶
func (x *NetworkInterface) GetSubnetId() string
func (*NetworkInterface) ProtoMessage ¶
func (*NetworkInterface) ProtoMessage()
func (*NetworkInterface) ProtoReflect ¶
func (x *NetworkInterface) ProtoReflect() protoreflect.Message
func (*NetworkInterface) Reset ¶
func (x *NetworkInterface) Reset()
func (*NetworkInterface) SetIndex ¶
func (m *NetworkInterface) SetIndex(v string)
func (*NetworkInterface) SetMacAddress ¶
func (m *NetworkInterface) SetMacAddress(v string)
func (*NetworkInterface) SetPrimaryV4Address ¶
func (m *NetworkInterface) SetPrimaryV4Address(v *PrimaryAddress)
func (*NetworkInterface) SetPrimaryV6Address ¶
func (m *NetworkInterface) SetPrimaryV6Address(v *PrimaryAddress)
func (*NetworkInterface) SetSubnetId ¶
func (m *NetworkInterface) SetSubnetId(v string)
func (*NetworkInterface) String ¶
func (x *NetworkInterface) String() string
type NetworkInterfaceSpec ¶
type NetworkInterfaceSpec struct { // ID of the network. NetworkId string `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` // IDs of the subnets. SubnetIds []string `protobuf:"bytes,2,rep,name=subnet_ids,json=subnetIds,proto3" json:"subnet_ids,omitempty"` // Primary IPv4 address that is assigned to the instance for this network interface. PrimaryV4AddressSpec *PrimaryAddressSpec `protobuf:"bytes,3,opt,name=primary_v4_address_spec,json=primaryV4AddressSpec,proto3" json:"primary_v4_address_spec,omitempty"` // Primary IPv6 address that is assigned to the instance for this network interface. IPv6 not available yet. PrimaryV6AddressSpec *PrimaryAddressSpec `protobuf:"bytes,4,opt,name=primary_v6_address_spec,json=primaryV6AddressSpec,proto3" json:"primary_v6_address_spec,omitempty"` // IDs of security groups. SecurityGroupIds []string `protobuf:"bytes,5,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"` // contains filtered or unexported fields }
func (*NetworkInterfaceSpec) Descriptor
deprecated
func (*NetworkInterfaceSpec) Descriptor() ([]byte, []int)
Deprecated: Use NetworkInterfaceSpec.ProtoReflect.Descriptor instead.
func (*NetworkInterfaceSpec) GetNetworkId ¶
func (x *NetworkInterfaceSpec) GetNetworkId() string
func (*NetworkInterfaceSpec) GetPrimaryV4AddressSpec ¶
func (x *NetworkInterfaceSpec) GetPrimaryV4AddressSpec() *PrimaryAddressSpec
func (*NetworkInterfaceSpec) GetPrimaryV6AddressSpec ¶
func (x *NetworkInterfaceSpec) GetPrimaryV6AddressSpec() *PrimaryAddressSpec
func (*NetworkInterfaceSpec) GetSecurityGroupIds ¶
func (x *NetworkInterfaceSpec) GetSecurityGroupIds() []string
func (*NetworkInterfaceSpec) GetSubnetIds ¶
func (x *NetworkInterfaceSpec) GetSubnetIds() []string
func (*NetworkInterfaceSpec) ProtoMessage ¶
func (*NetworkInterfaceSpec) ProtoMessage()
func (*NetworkInterfaceSpec) ProtoReflect ¶
func (x *NetworkInterfaceSpec) ProtoReflect() protoreflect.Message
func (*NetworkInterfaceSpec) Reset ¶
func (x *NetworkInterfaceSpec) Reset()
func (*NetworkInterfaceSpec) SetNetworkId ¶
func (m *NetworkInterfaceSpec) SetNetworkId(v string)
func (*NetworkInterfaceSpec) SetPrimaryV4AddressSpec ¶
func (m *NetworkInterfaceSpec) SetPrimaryV4AddressSpec(v *PrimaryAddressSpec)
func (*NetworkInterfaceSpec) SetPrimaryV6AddressSpec ¶
func (m *NetworkInterfaceSpec) SetPrimaryV6AddressSpec(v *PrimaryAddressSpec)
func (*NetworkInterfaceSpec) SetSecurityGroupIds ¶
func (m *NetworkInterfaceSpec) SetSecurityGroupIds(v []string)
func (*NetworkInterfaceSpec) SetSubnetIds ¶
func (m *NetworkInterfaceSpec) SetSubnetIds(v []string)
func (*NetworkInterfaceSpec) String ¶
func (x *NetworkInterfaceSpec) String() string
type NetworkSettings ¶
type NetworkSettings struct { // Type of instance network. Type NetworkSettings_Type `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*NetworkSettings) Descriptor
deprecated
func (*NetworkSettings) Descriptor() ([]byte, []int)
Deprecated: Use NetworkSettings.ProtoReflect.Descriptor instead.
func (*NetworkSettings) GetType ¶
func (x *NetworkSettings) GetType() NetworkSettings_Type
func (*NetworkSettings) ProtoMessage ¶
func (*NetworkSettings) ProtoMessage()
func (*NetworkSettings) ProtoReflect ¶
func (x *NetworkSettings) ProtoReflect() protoreflect.Message
func (*NetworkSettings) Reset ¶
func (x *NetworkSettings) Reset()
func (*NetworkSettings) SetType ¶
func (m *NetworkSettings) SetType(v NetworkSettings_Type)
func (*NetworkSettings) String ¶
func (x *NetworkSettings) String() string
type NetworkSettings_Type ¶
type NetworkSettings_Type int32
const ( NetworkSettings_TYPE_UNSPECIFIED NetworkSettings_Type = 0 NetworkSettings_STANDARD NetworkSettings_Type = 1 NetworkSettings_SOFTWARE_ACCELERATED NetworkSettings_Type = 2 NetworkSettings_HARDWARE_ACCELERATED NetworkSettings_Type = 3 )
func (NetworkSettings_Type) Descriptor ¶
func (NetworkSettings_Type) Descriptor() protoreflect.EnumDescriptor
func (NetworkSettings_Type) Enum ¶
func (x NetworkSettings_Type) Enum() *NetworkSettings_Type
func (NetworkSettings_Type) EnumDescriptor
deprecated
func (NetworkSettings_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkSettings_Type.Descriptor instead.
func (NetworkSettings_Type) Number ¶
func (x NetworkSettings_Type) Number() protoreflect.EnumNumber
func (NetworkSettings_Type) String ¶
func (x NetworkSettings_Type) String() string
func (NetworkSettings_Type) Type ¶
func (NetworkSettings_Type) Type() protoreflect.EnumType
type OneToOneNat ¶
type OneToOneNat struct { // An IPv4 external network address that is assigned to the managed instance for this network interface. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // External IP address version. IpVersion IpVersion `` /* 142-byte string literal not displayed */ // External DNS configuration. DnsRecords []*DnsRecord `protobuf:"bytes,3,rep,name=dns_records,json=dnsRecords,proto3" json:"dns_records,omitempty"` // contains filtered or unexported fields }
func (*OneToOneNat) Descriptor
deprecated
func (*OneToOneNat) Descriptor() ([]byte, []int)
Deprecated: Use OneToOneNat.ProtoReflect.Descriptor instead.
func (*OneToOneNat) GetAddress ¶
func (x *OneToOneNat) GetAddress() string
func (*OneToOneNat) GetDnsRecords ¶
func (x *OneToOneNat) GetDnsRecords() []*DnsRecord
func (*OneToOneNat) GetIpVersion ¶
func (x *OneToOneNat) GetIpVersion() IpVersion
func (*OneToOneNat) ProtoMessage ¶
func (*OneToOneNat) ProtoMessage()
func (*OneToOneNat) ProtoReflect ¶
func (x *OneToOneNat) ProtoReflect() protoreflect.Message
func (*OneToOneNat) Reset ¶
func (x *OneToOneNat) Reset()
func (*OneToOneNat) SetAddress ¶
func (m *OneToOneNat) SetAddress(v string)
func (*OneToOneNat) SetDnsRecords ¶
func (m *OneToOneNat) SetDnsRecords(v []*DnsRecord)
func (*OneToOneNat) SetIpVersion ¶
func (m *OneToOneNat) SetIpVersion(v IpVersion)
func (*OneToOneNat) String ¶
func (x *OneToOneNat) String() string
type OneToOneNatSpec ¶
type OneToOneNatSpec struct { // IP version for the public IP address. IpVersion IpVersion `` /* 142-byte string literal not displayed */ // Manual set static public IP. To set use variables. (optional) Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // External DNS configuration DnsRecordSpecs []*DnsRecordSpec `protobuf:"bytes,3,rep,name=dns_record_specs,json=dnsRecordSpecs,proto3" json:"dns_record_specs,omitempty"` // contains filtered or unexported fields }
func (*OneToOneNatSpec) Descriptor
deprecated
func (*OneToOneNatSpec) Descriptor() ([]byte, []int)
Deprecated: Use OneToOneNatSpec.ProtoReflect.Descriptor instead.
func (*OneToOneNatSpec) GetAddress ¶
func (x *OneToOneNatSpec) GetAddress() string
func (*OneToOneNatSpec) GetDnsRecordSpecs ¶
func (x *OneToOneNatSpec) GetDnsRecordSpecs() []*DnsRecordSpec
func (*OneToOneNatSpec) GetIpVersion ¶
func (x *OneToOneNatSpec) GetIpVersion() IpVersion
func (*OneToOneNatSpec) ProtoMessage ¶
func (*OneToOneNatSpec) ProtoMessage()
func (*OneToOneNatSpec) ProtoReflect ¶
func (x *OneToOneNatSpec) ProtoReflect() protoreflect.Message
func (*OneToOneNatSpec) Reset ¶
func (x *OneToOneNatSpec) Reset()
func (*OneToOneNatSpec) SetAddress ¶
func (m *OneToOneNatSpec) SetAddress(v string)
func (*OneToOneNatSpec) SetDnsRecordSpecs ¶
func (m *OneToOneNatSpec) SetDnsRecordSpecs(v []*DnsRecordSpec)
func (*OneToOneNatSpec) SetIpVersion ¶
func (m *OneToOneNatSpec) SetIpVersion(v IpVersion)
func (*OneToOneNatSpec) String ¶
func (x *OneToOneNatSpec) String() string
type PauseInstanceGroupProcessMetadata ¶
type PauseInstanceGroupProcessMetadata struct { // ID of the instance group that processes are being paused in. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // contains filtered or unexported fields }
func (*PauseInstanceGroupProcessMetadata) Descriptor
deprecated
func (*PauseInstanceGroupProcessMetadata) Descriptor() ([]byte, []int)
Deprecated: Use PauseInstanceGroupProcessMetadata.ProtoReflect.Descriptor instead.
func (*PauseInstanceGroupProcessMetadata) GetInstanceGroupId ¶
func (x *PauseInstanceGroupProcessMetadata) GetInstanceGroupId() string
func (*PauseInstanceGroupProcessMetadata) ProtoMessage ¶
func (*PauseInstanceGroupProcessMetadata) ProtoMessage()
func (*PauseInstanceGroupProcessMetadata) ProtoReflect ¶
func (x *PauseInstanceGroupProcessMetadata) ProtoReflect() protoreflect.Message
func (*PauseInstanceGroupProcessMetadata) Reset ¶
func (x *PauseInstanceGroupProcessMetadata) Reset()
func (*PauseInstanceGroupProcessMetadata) SetInstanceGroupId ¶
func (m *PauseInstanceGroupProcessMetadata) SetInstanceGroupId(v string)
func (*PauseInstanceGroupProcessMetadata) String ¶
func (x *PauseInstanceGroupProcessMetadata) String() string
type PauseInstanceGroupProcessesRequest ¶
type PauseInstanceGroupProcessesRequest struct { // ID of the instance group to pause processes in. // // The instance group must have an `ACTIVE` status ([InstanceGroup.status]). // // To get the instance group ID, make a [InstanceGroupService.List] request. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // contains filtered or unexported fields }
func (*PauseInstanceGroupProcessesRequest) Descriptor
deprecated
func (*PauseInstanceGroupProcessesRequest) Descriptor() ([]byte, []int)
Deprecated: Use PauseInstanceGroupProcessesRequest.ProtoReflect.Descriptor instead.
func (*PauseInstanceGroupProcessesRequest) GetInstanceGroupId ¶
func (x *PauseInstanceGroupProcessesRequest) GetInstanceGroupId() string
func (*PauseInstanceGroupProcessesRequest) ProtoMessage ¶
func (*PauseInstanceGroupProcessesRequest) ProtoMessage()
func (*PauseInstanceGroupProcessesRequest) ProtoReflect ¶
func (x *PauseInstanceGroupProcessesRequest) ProtoReflect() protoreflect.Message
func (*PauseInstanceGroupProcessesRequest) Reset ¶
func (x *PauseInstanceGroupProcessesRequest) Reset()
func (*PauseInstanceGroupProcessesRequest) SetInstanceGroupId ¶
func (m *PauseInstanceGroupProcessesRequest) SetInstanceGroupId(v string)
func (*PauseInstanceGroupProcessesRequest) String ¶
func (x *PauseInstanceGroupProcessesRequest) String() string
type PlacementPolicy ¶
type PlacementPolicy struct { // Identifier of placement group PlacementGroupId string `protobuf:"bytes,1,opt,name=placement_group_id,json=placementGroupId,proto3" json:"placement_group_id,omitempty"` // List of affinity rules. Scheduler will attempt to allocate instances according to order of rules. HostAffinityRules []*PlacementPolicy_HostAffinityRule `protobuf:"bytes,2,rep,name=host_affinity_rules,json=hostAffinityRules,proto3" json:"host_affinity_rules,omitempty"` // contains filtered or unexported fields }
func (*PlacementPolicy) Descriptor
deprecated
func (*PlacementPolicy) Descriptor() ([]byte, []int)
Deprecated: Use PlacementPolicy.ProtoReflect.Descriptor instead.
func (*PlacementPolicy) GetHostAffinityRules ¶
func (x *PlacementPolicy) GetHostAffinityRules() []*PlacementPolicy_HostAffinityRule
func (*PlacementPolicy) GetPlacementGroupId ¶
func (x *PlacementPolicy) GetPlacementGroupId() string
func (*PlacementPolicy) ProtoMessage ¶
func (*PlacementPolicy) ProtoMessage()
func (*PlacementPolicy) ProtoReflect ¶
func (x *PlacementPolicy) ProtoReflect() protoreflect.Message
func (*PlacementPolicy) Reset ¶
func (x *PlacementPolicy) Reset()
func (*PlacementPolicy) SetHostAffinityRules ¶
func (m *PlacementPolicy) SetHostAffinityRules(v []*PlacementPolicy_HostAffinityRule)
func (*PlacementPolicy) SetPlacementGroupId ¶
func (m *PlacementPolicy) SetPlacementGroupId(v string)
func (*PlacementPolicy) String ¶
func (x *PlacementPolicy) String() string
type PlacementPolicy_HostAffinityRule ¶
type PlacementPolicy_HostAffinityRule struct { // Affinity label or one of reserved values - 'yc.hostId', 'yc.hostGroupId' Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Include or exclude action Op PlacementPolicy_HostAffinityRule_Operator `` /* 143-byte string literal not displayed */ // Affinity value or host ID or host group ID Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
Affinity definition
func (*PlacementPolicy_HostAffinityRule) Descriptor
deprecated
func (*PlacementPolicy_HostAffinityRule) Descriptor() ([]byte, []int)
Deprecated: Use PlacementPolicy_HostAffinityRule.ProtoReflect.Descriptor instead.
func (*PlacementPolicy_HostAffinityRule) GetKey ¶
func (x *PlacementPolicy_HostAffinityRule) GetKey() string
func (*PlacementPolicy_HostAffinityRule) GetOp ¶
func (x *PlacementPolicy_HostAffinityRule) GetOp() PlacementPolicy_HostAffinityRule_Operator
func (*PlacementPolicy_HostAffinityRule) GetValues ¶
func (x *PlacementPolicy_HostAffinityRule) GetValues() []string
func (*PlacementPolicy_HostAffinityRule) ProtoMessage ¶
func (*PlacementPolicy_HostAffinityRule) ProtoMessage()
func (*PlacementPolicy_HostAffinityRule) ProtoReflect ¶
func (x *PlacementPolicy_HostAffinityRule) ProtoReflect() protoreflect.Message
func (*PlacementPolicy_HostAffinityRule) Reset ¶
func (x *PlacementPolicy_HostAffinityRule) Reset()
func (*PlacementPolicy_HostAffinityRule) SetKey ¶
func (m *PlacementPolicy_HostAffinityRule) SetKey(v string)
func (*PlacementPolicy_HostAffinityRule) SetOp ¶
func (m *PlacementPolicy_HostAffinityRule) SetOp(v PlacementPolicy_HostAffinityRule_Operator)
func (*PlacementPolicy_HostAffinityRule) SetValues ¶
func (m *PlacementPolicy_HostAffinityRule) SetValues(v []string)
func (*PlacementPolicy_HostAffinityRule) String ¶
func (x *PlacementPolicy_HostAffinityRule) String() string
type PlacementPolicy_HostAffinityRule_Operator ¶
type PlacementPolicy_HostAffinityRule_Operator int32
const ( PlacementPolicy_HostAffinityRule_OPERATOR_UNSPECIFIED PlacementPolicy_HostAffinityRule_Operator = 0 PlacementPolicy_HostAffinityRule_IN PlacementPolicy_HostAffinityRule_Operator = 1 PlacementPolicy_HostAffinityRule_NOT_IN PlacementPolicy_HostAffinityRule_Operator = 2 )
func (PlacementPolicy_HostAffinityRule_Operator) Descriptor ¶
func (PlacementPolicy_HostAffinityRule_Operator) Descriptor() protoreflect.EnumDescriptor
func (PlacementPolicy_HostAffinityRule_Operator) EnumDescriptor
deprecated
func (PlacementPolicy_HostAffinityRule_Operator) EnumDescriptor() ([]byte, []int)
Deprecated: Use PlacementPolicy_HostAffinityRule_Operator.Descriptor instead.
func (PlacementPolicy_HostAffinityRule_Operator) Number ¶
func (x PlacementPolicy_HostAffinityRule_Operator) Number() protoreflect.EnumNumber
func (PlacementPolicy_HostAffinityRule_Operator) String ¶
func (x PlacementPolicy_HostAffinityRule_Operator) String() string
func (PlacementPolicy_HostAffinityRule_Operator) Type ¶
func (PlacementPolicy_HostAffinityRule_Operator) Type() protoreflect.EnumType
type PrimaryAddress ¶
type PrimaryAddress struct { // An IPv4 internal network address that is assigned to the managed instance for this network interface. // If not specified by the user, an unused internal IP is assigned by the system. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // One-to-one NAT configuration. If missing, NAT has not been set up. OneToOneNat *OneToOneNat `protobuf:"bytes,2,opt,name=one_to_one_nat,json=oneToOneNat,proto3" json:"one_to_one_nat,omitempty"` // Internal DNS configuration. DnsRecords []*DnsRecord `protobuf:"bytes,3,rep,name=dns_records,json=dnsRecords,proto3" json:"dns_records,omitempty"` // contains filtered or unexported fields }
func (*PrimaryAddress) Descriptor
deprecated
func (*PrimaryAddress) Descriptor() ([]byte, []int)
Deprecated: Use PrimaryAddress.ProtoReflect.Descriptor instead.
func (*PrimaryAddress) GetAddress ¶
func (x *PrimaryAddress) GetAddress() string
func (*PrimaryAddress) GetDnsRecords ¶
func (x *PrimaryAddress) GetDnsRecords() []*DnsRecord
func (*PrimaryAddress) GetOneToOneNat ¶
func (x *PrimaryAddress) GetOneToOneNat() *OneToOneNat
func (*PrimaryAddress) ProtoMessage ¶
func (*PrimaryAddress) ProtoMessage()
func (*PrimaryAddress) ProtoReflect ¶
func (x *PrimaryAddress) ProtoReflect() protoreflect.Message
func (*PrimaryAddress) Reset ¶
func (x *PrimaryAddress) Reset()
func (*PrimaryAddress) SetAddress ¶
func (m *PrimaryAddress) SetAddress(v string)
func (*PrimaryAddress) SetDnsRecords ¶
func (m *PrimaryAddress) SetDnsRecords(v []*DnsRecord)
func (*PrimaryAddress) SetOneToOneNat ¶
func (m *PrimaryAddress) SetOneToOneNat(v *OneToOneNat)
func (*PrimaryAddress) String ¶
func (x *PrimaryAddress) String() string
type PrimaryAddressSpec ¶
type PrimaryAddressSpec struct { // An external IP address configuration. // If not specified, then this managed instance will have no external internet access. OneToOneNatSpec *OneToOneNatSpec `protobuf:"bytes,1,opt,name=one_to_one_nat_spec,json=oneToOneNatSpec,proto3" json:"one_to_one_nat_spec,omitempty"` // Internal DNS configuration DnsRecordSpecs []*DnsRecordSpec `protobuf:"bytes,2,rep,name=dns_record_specs,json=dnsRecordSpecs,proto3" json:"dns_record_specs,omitempty"` // Optional. Manual set static internal IP. To set use variables. Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*PrimaryAddressSpec) Descriptor
deprecated
func (*PrimaryAddressSpec) Descriptor() ([]byte, []int)
Deprecated: Use PrimaryAddressSpec.ProtoReflect.Descriptor instead.
func (*PrimaryAddressSpec) GetAddress ¶
func (x *PrimaryAddressSpec) GetAddress() string
func (*PrimaryAddressSpec) GetDnsRecordSpecs ¶
func (x *PrimaryAddressSpec) GetDnsRecordSpecs() []*DnsRecordSpec
func (*PrimaryAddressSpec) GetOneToOneNatSpec ¶
func (x *PrimaryAddressSpec) GetOneToOneNatSpec() *OneToOneNatSpec
func (*PrimaryAddressSpec) ProtoMessage ¶
func (*PrimaryAddressSpec) ProtoMessage()
func (*PrimaryAddressSpec) ProtoReflect ¶
func (x *PrimaryAddressSpec) ProtoReflect() protoreflect.Message
func (*PrimaryAddressSpec) Reset ¶
func (x *PrimaryAddressSpec) Reset()
func (*PrimaryAddressSpec) SetAddress ¶
func (m *PrimaryAddressSpec) SetAddress(v string)
func (*PrimaryAddressSpec) SetDnsRecordSpecs ¶
func (m *PrimaryAddressSpec) SetDnsRecordSpecs(v []*DnsRecordSpec)
func (*PrimaryAddressSpec) SetOneToOneNatSpec ¶
func (m *PrimaryAddressSpec) SetOneToOneNatSpec(v *OneToOneNatSpec)
func (*PrimaryAddressSpec) String ¶
func (x *PrimaryAddressSpec) String() string
type ResourcesSpec ¶
type ResourcesSpec struct { // The amount of memory available to the instance, specified in bytes. Memory int64 `protobuf:"varint,1,opt,name=memory,proto3" json:"memory,omitempty"` // The number of cores available to the instance. Cores int64 `protobuf:"varint,2,opt,name=cores,proto3" json:"cores,omitempty"` // Baseline level of CPU performance with the ability to burst performance above that baseline level. // This field sets baseline performance for each core. CoreFraction int64 `protobuf:"varint,3,opt,name=core_fraction,json=coreFraction,proto3" json:"core_fraction,omitempty"` // The number of GPUs available to the instance. Gpus int64 `protobuf:"varint,4,opt,name=gpus,proto3" json:"gpus,omitempty"` // contains filtered or unexported fields }
func (*ResourcesSpec) Descriptor
deprecated
func (*ResourcesSpec) Descriptor() ([]byte, []int)
Deprecated: Use ResourcesSpec.ProtoReflect.Descriptor instead.
func (*ResourcesSpec) GetCoreFraction ¶
func (x *ResourcesSpec) GetCoreFraction() int64
func (*ResourcesSpec) GetCores ¶
func (x *ResourcesSpec) GetCores() int64
func (*ResourcesSpec) GetGpus ¶
func (x *ResourcesSpec) GetGpus() int64
func (*ResourcesSpec) GetMemory ¶
func (x *ResourcesSpec) GetMemory() int64
func (*ResourcesSpec) ProtoMessage ¶
func (*ResourcesSpec) ProtoMessage()
func (*ResourcesSpec) ProtoReflect ¶
func (x *ResourcesSpec) ProtoReflect() protoreflect.Message
func (*ResourcesSpec) Reset ¶
func (x *ResourcesSpec) Reset()
func (*ResourcesSpec) SetCoreFraction ¶
func (m *ResourcesSpec) SetCoreFraction(v int64)
func (*ResourcesSpec) SetCores ¶
func (m *ResourcesSpec) SetCores(v int64)
func (*ResourcesSpec) SetGpus ¶
func (m *ResourcesSpec) SetGpus(v int64)
func (*ResourcesSpec) SetMemory ¶
func (m *ResourcesSpec) SetMemory(v int64)
func (*ResourcesSpec) String ¶
func (x *ResourcesSpec) String() string
type ResumeInstanceGroupProcessMetadata ¶
type ResumeInstanceGroupProcessMetadata struct { // ID of the instance group that processes are being resumed in. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // contains filtered or unexported fields }
func (*ResumeInstanceGroupProcessMetadata) Descriptor
deprecated
func (*ResumeInstanceGroupProcessMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ResumeInstanceGroupProcessMetadata.ProtoReflect.Descriptor instead.
func (*ResumeInstanceGroupProcessMetadata) GetInstanceGroupId ¶
func (x *ResumeInstanceGroupProcessMetadata) GetInstanceGroupId() string
func (*ResumeInstanceGroupProcessMetadata) ProtoMessage ¶
func (*ResumeInstanceGroupProcessMetadata) ProtoMessage()
func (*ResumeInstanceGroupProcessMetadata) ProtoReflect ¶
func (x *ResumeInstanceGroupProcessMetadata) ProtoReflect() protoreflect.Message
func (*ResumeInstanceGroupProcessMetadata) Reset ¶
func (x *ResumeInstanceGroupProcessMetadata) Reset()
func (*ResumeInstanceGroupProcessMetadata) SetInstanceGroupId ¶
func (m *ResumeInstanceGroupProcessMetadata) SetInstanceGroupId(v string)
func (*ResumeInstanceGroupProcessMetadata) String ¶
func (x *ResumeInstanceGroupProcessMetadata) String() string
type ResumeInstanceGroupProcessesRequest ¶
type ResumeInstanceGroupProcessesRequest struct { // ID of the instance group to resume processes in. // // The instance group must have a `PAUSED` status ([InstanceGroup.status]). // // To get the instance group ID, make a [InstanceGroupService.List] request. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // contains filtered or unexported fields }
func (*ResumeInstanceGroupProcessesRequest) Descriptor
deprecated
func (*ResumeInstanceGroupProcessesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResumeInstanceGroupProcessesRequest.ProtoReflect.Descriptor instead.
func (*ResumeInstanceGroupProcessesRequest) GetInstanceGroupId ¶
func (x *ResumeInstanceGroupProcessesRequest) GetInstanceGroupId() string
func (*ResumeInstanceGroupProcessesRequest) ProtoMessage ¶
func (*ResumeInstanceGroupProcessesRequest) ProtoMessage()
func (*ResumeInstanceGroupProcessesRequest) ProtoReflect ¶
func (x *ResumeInstanceGroupProcessesRequest) ProtoReflect() protoreflect.Message
func (*ResumeInstanceGroupProcessesRequest) Reset ¶
func (x *ResumeInstanceGroupProcessesRequest) Reset()
func (*ResumeInstanceGroupProcessesRequest) SetInstanceGroupId ¶
func (m *ResumeInstanceGroupProcessesRequest) SetInstanceGroupId(v string)
func (*ResumeInstanceGroupProcessesRequest) String ¶
func (x *ResumeInstanceGroupProcessesRequest) String() string
type RollingRecreateMetadata ¶
type RollingRecreateMetadata struct { // ID of the InstanceGroup resource that is being rolling recreated. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // contains filtered or unexported fields }
func (*RollingRecreateMetadata) Descriptor
deprecated
func (*RollingRecreateMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RollingRecreateMetadata.ProtoReflect.Descriptor instead.
func (*RollingRecreateMetadata) GetInstanceGroupId ¶
func (x *RollingRecreateMetadata) GetInstanceGroupId() string
func (*RollingRecreateMetadata) ProtoMessage ¶
func (*RollingRecreateMetadata) ProtoMessage()
func (*RollingRecreateMetadata) ProtoReflect ¶
func (x *RollingRecreateMetadata) ProtoReflect() protoreflect.Message
func (*RollingRecreateMetadata) Reset ¶
func (x *RollingRecreateMetadata) Reset()
func (*RollingRecreateMetadata) SetInstanceGroupId ¶
func (m *RollingRecreateMetadata) SetInstanceGroupId(v string)
func (*RollingRecreateMetadata) String ¶
func (x *RollingRecreateMetadata) String() string
type RollingRecreateRequest ¶
type RollingRecreateRequest struct { // ID of the instance group to recreate instances in. // To get the instance group ID, use a [InstanceGroupService.List] request. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // IDs of managed instances in the group to recreate // To get instance IDs, use a [InstanceGroupService.ListInstances] request. ManagedInstanceIds []string `protobuf:"bytes,2,rep,name=managed_instance_ids,json=managedInstanceIds,proto3" json:"managed_instance_ids,omitempty"` // contains filtered or unexported fields }
func (*RollingRecreateRequest) Descriptor
deprecated
func (*RollingRecreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use RollingRecreateRequest.ProtoReflect.Descriptor instead.
func (*RollingRecreateRequest) GetInstanceGroupId ¶
func (x *RollingRecreateRequest) GetInstanceGroupId() string
func (*RollingRecreateRequest) GetManagedInstanceIds ¶
func (x *RollingRecreateRequest) GetManagedInstanceIds() []string
func (*RollingRecreateRequest) ProtoMessage ¶
func (*RollingRecreateRequest) ProtoMessage()
func (*RollingRecreateRequest) ProtoReflect ¶
func (x *RollingRecreateRequest) ProtoReflect() protoreflect.Message
func (*RollingRecreateRequest) Reset ¶
func (x *RollingRecreateRequest) Reset()
func (*RollingRecreateRequest) SetInstanceGroupId ¶
func (m *RollingRecreateRequest) SetInstanceGroupId(v string)
func (*RollingRecreateRequest) SetManagedInstanceIds ¶
func (m *RollingRecreateRequest) SetManagedInstanceIds(v []string)
func (*RollingRecreateRequest) String ¶
func (x *RollingRecreateRequest) String() string
type RollingRestartMetadata ¶
type RollingRestartMetadata struct { // ID of the InstanceGroup resource that is being rolling restarted. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // contains filtered or unexported fields }
func (*RollingRestartMetadata) Descriptor
deprecated
func (*RollingRestartMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RollingRestartMetadata.ProtoReflect.Descriptor instead.
func (*RollingRestartMetadata) GetInstanceGroupId ¶
func (x *RollingRestartMetadata) GetInstanceGroupId() string
func (*RollingRestartMetadata) ProtoMessage ¶
func (*RollingRestartMetadata) ProtoMessage()
func (*RollingRestartMetadata) ProtoReflect ¶
func (x *RollingRestartMetadata) ProtoReflect() protoreflect.Message
func (*RollingRestartMetadata) Reset ¶
func (x *RollingRestartMetadata) Reset()
func (*RollingRestartMetadata) SetInstanceGroupId ¶
func (m *RollingRestartMetadata) SetInstanceGroupId(v string)
func (*RollingRestartMetadata) String ¶
func (x *RollingRestartMetadata) String() string
type RollingRestartRequest ¶
type RollingRestartRequest struct { // ID of the instance group to restart instances in. // To get the instance group ID, use a [InstanceGroupService.List] request. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // IDs of managed instances in the group to restart // To get instance IDs, use a [InstanceGroupService.ListInstances] request. ManagedInstanceIds []string `protobuf:"bytes,2,rep,name=managed_instance_ids,json=managedInstanceIds,proto3" json:"managed_instance_ids,omitempty"` // contains filtered or unexported fields }
func (*RollingRestartRequest) Descriptor
deprecated
func (*RollingRestartRequest) Descriptor() ([]byte, []int)
Deprecated: Use RollingRestartRequest.ProtoReflect.Descriptor instead.
func (*RollingRestartRequest) GetInstanceGroupId ¶
func (x *RollingRestartRequest) GetInstanceGroupId() string
func (*RollingRestartRequest) GetManagedInstanceIds ¶
func (x *RollingRestartRequest) GetManagedInstanceIds() []string
func (*RollingRestartRequest) ProtoMessage ¶
func (*RollingRestartRequest) ProtoMessage()
func (*RollingRestartRequest) ProtoReflect ¶
func (x *RollingRestartRequest) ProtoReflect() protoreflect.Message
func (*RollingRestartRequest) Reset ¶
func (x *RollingRestartRequest) Reset()
func (*RollingRestartRequest) SetInstanceGroupId ¶
func (m *RollingRestartRequest) SetInstanceGroupId(v string)
func (*RollingRestartRequest) SetManagedInstanceIds ¶
func (m *RollingRestartRequest) SetManagedInstanceIds(v []string)
func (*RollingRestartRequest) String ¶
func (x *RollingRestartRequest) String() string
type ScalePolicy ¶
type ScalePolicy struct { // Types that are assignable to ScaleType: // // *ScalePolicy_FixedScale_ // *ScalePolicy_AutoScale_ ScaleType isScalePolicy_ScaleType `protobuf_oneof:"scale_type"` // Test spec for [automatic scaling policy](/docs/compute/concepts/instance-groups/scale#auto-scale) of the instance group. TestAutoScale *ScalePolicy_AutoScale `protobuf:"bytes,3,opt,name=test_auto_scale,json=testAutoScale,proto3" json:"test_auto_scale,omitempty"` // contains filtered or unexported fields }
func (*ScalePolicy) Descriptor
deprecated
func (*ScalePolicy) Descriptor() ([]byte, []int)
Deprecated: Use ScalePolicy.ProtoReflect.Descriptor instead.
func (*ScalePolicy) GetAutoScale ¶
func (x *ScalePolicy) GetAutoScale() *ScalePolicy_AutoScale
func (*ScalePolicy) GetFixedScale ¶
func (x *ScalePolicy) GetFixedScale() *ScalePolicy_FixedScale
func (*ScalePolicy) GetScaleType ¶
func (m *ScalePolicy) GetScaleType() isScalePolicy_ScaleType
func (*ScalePolicy) GetTestAutoScale ¶
func (x *ScalePolicy) GetTestAutoScale() *ScalePolicy_AutoScale
func (*ScalePolicy) ProtoMessage ¶
func (*ScalePolicy) ProtoMessage()
func (*ScalePolicy) ProtoReflect ¶
func (x *ScalePolicy) ProtoReflect() protoreflect.Message
func (*ScalePolicy) Reset ¶
func (x *ScalePolicy) Reset()
func (*ScalePolicy) SetAutoScale ¶
func (m *ScalePolicy) SetAutoScale(v *ScalePolicy_AutoScale)
func (*ScalePolicy) SetFixedScale ¶
func (m *ScalePolicy) SetFixedScale(v *ScalePolicy_FixedScale)
func (*ScalePolicy) SetScaleType ¶
func (m *ScalePolicy) SetScaleType(v ScalePolicy_ScaleType)
func (*ScalePolicy) SetTestAutoScale ¶
func (m *ScalePolicy) SetTestAutoScale(v *ScalePolicy_AutoScale)
func (*ScalePolicy) String ¶
func (x *ScalePolicy) String() string
type ScalePolicy_AutoScale ¶
type ScalePolicy_AutoScale struct { // Lower limit for instance count in each zone. MinZoneSize int64 `protobuf:"varint,1,opt,name=min_zone_size,json=minZoneSize,proto3" json:"min_zone_size,omitempty"` // Upper limit for total instance count (across all zones). // 0 means maximum limit = 100. MaxSize int64 `protobuf:"varint,2,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` // Time in seconds allotted for averaging metrics. // 1 minute by default. MeasurementDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=measurement_duration,json=measurementDuration,proto3" json:"measurement_duration,omitempty"` // The warmup time of the instance in seconds. During this time, // traffic is sent to the instance, but instance metrics are not collected. WarmupDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=warmup_duration,json=warmupDuration,proto3" json:"warmup_duration,omitempty"` // Minimum amount of time in seconds allotted for monitoring before // Instance Groups can reduce the number of instances in the group. // During this time, the group size doesn't decrease, even if the new metric values // indicate that it should. StabilizationDuration *durationpb.Duration `protobuf:"bytes,5,opt,name=stabilization_duration,json=stabilizationDuration,proto3" json:"stabilization_duration,omitempty"` // Target group size. InitialSize int64 `protobuf:"varint,6,opt,name=initial_size,json=initialSize,proto3" json:"initial_size,omitempty"` // Defines an autoscaling rule based on the average CPU utilization of the instance group. // // If more than one rule is specified, e.g. CPU utilization and one or more Monitoring metrics ([custom_rules]), // the size of the instance group will be equal to the maximum of sizes calculated according to each metric. CpuUtilizationRule *ScalePolicy_CpuUtilizationRule `protobuf:"bytes,7,opt,name=cpu_utilization_rule,json=cpuUtilizationRule,proto3" json:"cpu_utilization_rule,omitempty"` // Defines an autoscaling rule based on a [custom metric](/docs/monitoring/operations/metric/add) from Monitoring. // // If more than one rule is specified, e.g. CPU utilization ([cpu_utilization_rule]) and one or more Monitoring // metrics, the size of the instance group will be equal to the maximum of sizes calculated according to each metric. CustomRules []*ScalePolicy_CustomRule `protobuf:"bytes,8,rep,name=custom_rules,json=customRules,proto3" json:"custom_rules,omitempty"` // Autoscaling type. AutoScaleType ScalePolicy_AutoScale_AutoScaleType `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ScalePolicy_AutoScale) Descriptor
deprecated
func (*ScalePolicy_AutoScale) Descriptor() ([]byte, []int)
Deprecated: Use ScalePolicy_AutoScale.ProtoReflect.Descriptor instead.
func (*ScalePolicy_AutoScale) GetAutoScaleType ¶
func (x *ScalePolicy_AutoScale) GetAutoScaleType() ScalePolicy_AutoScale_AutoScaleType
func (*ScalePolicy_AutoScale) GetCpuUtilizationRule ¶
func (x *ScalePolicy_AutoScale) GetCpuUtilizationRule() *ScalePolicy_CpuUtilizationRule
func (*ScalePolicy_AutoScale) GetCustomRules ¶
func (x *ScalePolicy_AutoScale) GetCustomRules() []*ScalePolicy_CustomRule
func (*ScalePolicy_AutoScale) GetInitialSize ¶
func (x *ScalePolicy_AutoScale) GetInitialSize() int64
func (*ScalePolicy_AutoScale) GetMaxSize ¶
func (x *ScalePolicy_AutoScale) GetMaxSize() int64
func (*ScalePolicy_AutoScale) GetMeasurementDuration ¶
func (x *ScalePolicy_AutoScale) GetMeasurementDuration() *durationpb.Duration
func (*ScalePolicy_AutoScale) GetMinZoneSize ¶
func (x *ScalePolicy_AutoScale) GetMinZoneSize() int64
func (*ScalePolicy_AutoScale) GetStabilizationDuration ¶
func (x *ScalePolicy_AutoScale) GetStabilizationDuration() *durationpb.Duration
func (*ScalePolicy_AutoScale) GetWarmupDuration ¶
func (x *ScalePolicy_AutoScale) GetWarmupDuration() *durationpb.Duration
func (*ScalePolicy_AutoScale) ProtoMessage ¶
func (*ScalePolicy_AutoScale) ProtoMessage()
func (*ScalePolicy_AutoScale) ProtoReflect ¶
func (x *ScalePolicy_AutoScale) ProtoReflect() protoreflect.Message
func (*ScalePolicy_AutoScale) Reset ¶
func (x *ScalePolicy_AutoScale) Reset()
func (*ScalePolicy_AutoScale) SetAutoScaleType ¶
func (m *ScalePolicy_AutoScale) SetAutoScaleType(v ScalePolicy_AutoScale_AutoScaleType)
func (*ScalePolicy_AutoScale) SetCpuUtilizationRule ¶
func (m *ScalePolicy_AutoScale) SetCpuUtilizationRule(v *ScalePolicy_CpuUtilizationRule)
func (*ScalePolicy_AutoScale) SetCustomRules ¶
func (m *ScalePolicy_AutoScale) SetCustomRules(v []*ScalePolicy_CustomRule)
func (*ScalePolicy_AutoScale) SetInitialSize ¶
func (m *ScalePolicy_AutoScale) SetInitialSize(v int64)
func (*ScalePolicy_AutoScale) SetMaxSize ¶
func (m *ScalePolicy_AutoScale) SetMaxSize(v int64)
func (*ScalePolicy_AutoScale) SetMeasurementDuration ¶
func (m *ScalePolicy_AutoScale) SetMeasurementDuration(v *durationpb.Duration)
func (*ScalePolicy_AutoScale) SetMinZoneSize ¶
func (m *ScalePolicy_AutoScale) SetMinZoneSize(v int64)
func (*ScalePolicy_AutoScale) SetStabilizationDuration ¶
func (m *ScalePolicy_AutoScale) SetStabilizationDuration(v *durationpb.Duration)
func (*ScalePolicy_AutoScale) SetWarmupDuration ¶
func (m *ScalePolicy_AutoScale) SetWarmupDuration(v *durationpb.Duration)
func (*ScalePolicy_AutoScale) String ¶
func (x *ScalePolicy_AutoScale) String() string
type ScalePolicy_AutoScale_ ¶
type ScalePolicy_AutoScale_ struct { // [Automatic scaling policy](/docs/compute/concepts/instance-groups/scale#auto-scale) of the instance group. AutoScale *ScalePolicy_AutoScale `protobuf:"bytes,2,opt,name=auto_scale,json=autoScale,proto3,oneof"` }
type ScalePolicy_AutoScale_AutoScaleType ¶
type ScalePolicy_AutoScale_AutoScaleType int32
const ( ScalePolicy_AutoScale_AUTO_SCALE_TYPE_UNSPECIFIED ScalePolicy_AutoScale_AutoScaleType = 0 // Scale each zone independently. This is the default. ScalePolicy_AutoScale_ZONAL ScalePolicy_AutoScale_AutoScaleType = 1 // Scale group as a whole. ScalePolicy_AutoScale_REGIONAL ScalePolicy_AutoScale_AutoScaleType = 2 )
func (ScalePolicy_AutoScale_AutoScaleType) Descriptor ¶
func (ScalePolicy_AutoScale_AutoScaleType) Descriptor() protoreflect.EnumDescriptor
func (ScalePolicy_AutoScale_AutoScaleType) Enum ¶
func (x ScalePolicy_AutoScale_AutoScaleType) Enum() *ScalePolicy_AutoScale_AutoScaleType
func (ScalePolicy_AutoScale_AutoScaleType) EnumDescriptor
deprecated
func (ScalePolicy_AutoScale_AutoScaleType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ScalePolicy_AutoScale_AutoScaleType.Descriptor instead.
func (ScalePolicy_AutoScale_AutoScaleType) Number ¶
func (x ScalePolicy_AutoScale_AutoScaleType) Number() protoreflect.EnumNumber
func (ScalePolicy_AutoScale_AutoScaleType) String ¶
func (x ScalePolicy_AutoScale_AutoScaleType) String() string
func (ScalePolicy_AutoScale_AutoScaleType) Type ¶
func (ScalePolicy_AutoScale_AutoScaleType) Type() protoreflect.EnumType
type ScalePolicy_CpuUtilizationRule ¶
type ScalePolicy_CpuUtilizationRule struct { // Target CPU utilization level. Instance Groups maintains this level for each availability zone. UtilizationTarget float64 `protobuf:"fixed64,1,opt,name=utilization_target,json=utilizationTarget,proto3" json:"utilization_target,omitempty"` // contains filtered or unexported fields }
func (*ScalePolicy_CpuUtilizationRule) Descriptor
deprecated
func (*ScalePolicy_CpuUtilizationRule) Descriptor() ([]byte, []int)
Deprecated: Use ScalePolicy_CpuUtilizationRule.ProtoReflect.Descriptor instead.
func (*ScalePolicy_CpuUtilizationRule) GetUtilizationTarget ¶
func (x *ScalePolicy_CpuUtilizationRule) GetUtilizationTarget() float64
func (*ScalePolicy_CpuUtilizationRule) ProtoMessage ¶
func (*ScalePolicy_CpuUtilizationRule) ProtoMessage()
func (*ScalePolicy_CpuUtilizationRule) ProtoReflect ¶
func (x *ScalePolicy_CpuUtilizationRule) ProtoReflect() protoreflect.Message
func (*ScalePolicy_CpuUtilizationRule) Reset ¶
func (x *ScalePolicy_CpuUtilizationRule) Reset()
func (*ScalePolicy_CpuUtilizationRule) SetUtilizationTarget ¶
func (m *ScalePolicy_CpuUtilizationRule) SetUtilizationTarget(v float64)
func (*ScalePolicy_CpuUtilizationRule) String ¶
func (x *ScalePolicy_CpuUtilizationRule) String() string
type ScalePolicy_CustomRule ¶
type ScalePolicy_CustomRule struct { // Custom metric rule type. This field affects which label from // the custom metric should be used: `zone_id` or `instance_id`. RuleType ScalePolicy_CustomRule_RuleType `` /* 161-byte string literal not displayed */ // Type of custom metric. This field affects how Instance Groups calculates the average metric value. MetricType ScalePolicy_CustomRule_MetricType `` /* 169-byte string literal not displayed */ // Name of custom metric in Monitoring that should be used for scaling. MetricName string `protobuf:"bytes,3,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"` // Labels of custom metric in Monitoring that should be used for scaling. Labels map[string]string `` /* 153-byte string literal not displayed */ // Target value for the custom metric. Instance Groups maintains this level for each availability zone. Target float64 `protobuf:"fixed64,4,opt,name=target,proto3" json:"target,omitempty"` // Folder id of custom metric in Monitoring that should be used for scaling. FolderId string `protobuf:"bytes,6,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Service of custom metric in Monitoring that should be used for scaling. Service string `protobuf:"bytes,7,opt,name=service,proto3" json:"service,omitempty"` // contains filtered or unexported fields }
func (*ScalePolicy_CustomRule) Descriptor
deprecated
func (*ScalePolicy_CustomRule) Descriptor() ([]byte, []int)
Deprecated: Use ScalePolicy_CustomRule.ProtoReflect.Descriptor instead.
func (*ScalePolicy_CustomRule) GetFolderId ¶
func (x *ScalePolicy_CustomRule) GetFolderId() string
func (*ScalePolicy_CustomRule) GetLabels ¶
func (x *ScalePolicy_CustomRule) GetLabels() map[string]string
func (*ScalePolicy_CustomRule) GetMetricName ¶
func (x *ScalePolicy_CustomRule) GetMetricName() string
func (*ScalePolicy_CustomRule) GetMetricType ¶
func (x *ScalePolicy_CustomRule) GetMetricType() ScalePolicy_CustomRule_MetricType
func (*ScalePolicy_CustomRule) GetRuleType ¶
func (x *ScalePolicy_CustomRule) GetRuleType() ScalePolicy_CustomRule_RuleType
func (*ScalePolicy_CustomRule) GetService ¶
func (x *ScalePolicy_CustomRule) GetService() string
func (*ScalePolicy_CustomRule) GetTarget ¶
func (x *ScalePolicy_CustomRule) GetTarget() float64
func (*ScalePolicy_CustomRule) ProtoMessage ¶
func (*ScalePolicy_CustomRule) ProtoMessage()
func (*ScalePolicy_CustomRule) ProtoReflect ¶
func (x *ScalePolicy_CustomRule) ProtoReflect() protoreflect.Message
func (*ScalePolicy_CustomRule) Reset ¶
func (x *ScalePolicy_CustomRule) Reset()
func (*ScalePolicy_CustomRule) SetFolderId ¶
func (m *ScalePolicy_CustomRule) SetFolderId(v string)
func (*ScalePolicy_CustomRule) SetLabels ¶
func (m *ScalePolicy_CustomRule) SetLabels(v map[string]string)
func (*ScalePolicy_CustomRule) SetMetricName ¶
func (m *ScalePolicy_CustomRule) SetMetricName(v string)
func (*ScalePolicy_CustomRule) SetMetricType ¶
func (m *ScalePolicy_CustomRule) SetMetricType(v ScalePolicy_CustomRule_MetricType)
func (*ScalePolicy_CustomRule) SetRuleType ¶
func (m *ScalePolicy_CustomRule) SetRuleType(v ScalePolicy_CustomRule_RuleType)
func (*ScalePolicy_CustomRule) SetService ¶
func (m *ScalePolicy_CustomRule) SetService(v string)
func (*ScalePolicy_CustomRule) SetTarget ¶
func (m *ScalePolicy_CustomRule) SetTarget(v float64)
func (*ScalePolicy_CustomRule) String ¶
func (x *ScalePolicy_CustomRule) String() string
type ScalePolicy_CustomRule_MetricType ¶
type ScalePolicy_CustomRule_MetricType int32
const ( ScalePolicy_CustomRule_METRIC_TYPE_UNSPECIFIED ScalePolicy_CustomRule_MetricType = 0 // This type is used for metrics that show the metric value at a certain point in time, // such as requests per second to the server on an instance. // // Instance Groups calculates the average metric value for the period // specified in the [AutoScale.measurement_duration] field. ScalePolicy_CustomRule_GAUGE ScalePolicy_CustomRule_MetricType = 1 // This type is used for metrics that monotonically increase over time, // such as the total number of requests to the server on an instance. // // Instance Groups calculates the average value increase for the period // specified in the [AutoScale.measurement_duration] field. ScalePolicy_CustomRule_COUNTER ScalePolicy_CustomRule_MetricType = 2 )
func (ScalePolicy_CustomRule_MetricType) Descriptor ¶
func (ScalePolicy_CustomRule_MetricType) Descriptor() protoreflect.EnumDescriptor
func (ScalePolicy_CustomRule_MetricType) Enum ¶
func (x ScalePolicy_CustomRule_MetricType) Enum() *ScalePolicy_CustomRule_MetricType
func (ScalePolicy_CustomRule_MetricType) EnumDescriptor
deprecated
func (ScalePolicy_CustomRule_MetricType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ScalePolicy_CustomRule_MetricType.Descriptor instead.
func (ScalePolicy_CustomRule_MetricType) Number ¶
func (x ScalePolicy_CustomRule_MetricType) Number() protoreflect.EnumNumber
func (ScalePolicy_CustomRule_MetricType) String ¶
func (x ScalePolicy_CustomRule_MetricType) String() string
func (ScalePolicy_CustomRule_MetricType) Type ¶
func (ScalePolicy_CustomRule_MetricType) Type() protoreflect.EnumType
type ScalePolicy_CustomRule_RuleType ¶
type ScalePolicy_CustomRule_RuleType int32
const ( ScalePolicy_CustomRule_RULE_TYPE_UNSPECIFIED ScalePolicy_CustomRule_RuleType = 0 // This type means that the metric applies to one instance. // First, Instance Groups calculates the average metric value for each instance, // then averages the values for instances in one availability zone or in whole group depends on autoscaling type. // This type of metric must have the `instance_id` label. ScalePolicy_CustomRule_UTILIZATION ScalePolicy_CustomRule_RuleType = 1 // This type means that the metric applies to instances in one availability zone or to whole group depends on autoscaling type. // This type of metric must have the `zone_id` label if ZONAL autoscaling type is chosen. ScalePolicy_CustomRule_WORKLOAD ScalePolicy_CustomRule_RuleType = 2 )
func (ScalePolicy_CustomRule_RuleType) Descriptor ¶
func (ScalePolicy_CustomRule_RuleType) Descriptor() protoreflect.EnumDescriptor
func (ScalePolicy_CustomRule_RuleType) Enum ¶
func (x ScalePolicy_CustomRule_RuleType) Enum() *ScalePolicy_CustomRule_RuleType
func (ScalePolicy_CustomRule_RuleType) EnumDescriptor
deprecated
func (ScalePolicy_CustomRule_RuleType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ScalePolicy_CustomRule_RuleType.Descriptor instead.
func (ScalePolicy_CustomRule_RuleType) Number ¶
func (x ScalePolicy_CustomRule_RuleType) Number() protoreflect.EnumNumber
func (ScalePolicy_CustomRule_RuleType) String ¶
func (x ScalePolicy_CustomRule_RuleType) String() string
func (ScalePolicy_CustomRule_RuleType) Type ¶
func (ScalePolicy_CustomRule_RuleType) Type() protoreflect.EnumType
type ScalePolicy_FixedScale ¶
type ScalePolicy_FixedScale struct { // Number of instances in the instance group. Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*ScalePolicy_FixedScale) Descriptor
deprecated
func (*ScalePolicy_FixedScale) Descriptor() ([]byte, []int)
Deprecated: Use ScalePolicy_FixedScale.ProtoReflect.Descriptor instead.
func (*ScalePolicy_FixedScale) GetSize ¶
func (x *ScalePolicy_FixedScale) GetSize() int64
func (*ScalePolicy_FixedScale) ProtoMessage ¶
func (*ScalePolicy_FixedScale) ProtoMessage()
func (*ScalePolicy_FixedScale) ProtoReflect ¶
func (x *ScalePolicy_FixedScale) ProtoReflect() protoreflect.Message
func (*ScalePolicy_FixedScale) Reset ¶
func (x *ScalePolicy_FixedScale) Reset()
func (*ScalePolicy_FixedScale) SetSize ¶
func (m *ScalePolicy_FixedScale) SetSize(v int64)
func (*ScalePolicy_FixedScale) String ¶
func (x *ScalePolicy_FixedScale) String() string
type ScalePolicy_FixedScale_ ¶
type ScalePolicy_FixedScale_ struct { // [Manual scaling policy](/docs/compute/concepts/instance-groups/scale#fixed-policy) of the instance group. FixedScale *ScalePolicy_FixedScale `protobuf:"bytes,1,opt,name=fixed_scale,json=fixedScale,proto3,oneof"` }
type ScalePolicy_ScaleType ¶
type ScalePolicy_ScaleType = isScalePolicy_ScaleType
type SchedulingPolicy ¶
type SchedulingPolicy struct { // Preemptible instances are stopped at least once every 24 hours, and can be stopped at any time // if their resources are needed by Compute. // For more information, see [Preemptible Virtual Machines](/docs/compute/concepts/preemptible-vm). Preemptible bool `protobuf:"varint,1,opt,name=preemptible,proto3" json:"preemptible,omitempty"` // contains filtered or unexported fields }
func (*SchedulingPolicy) Descriptor
deprecated
func (*SchedulingPolicy) Descriptor() ([]byte, []int)
Deprecated: Use SchedulingPolicy.ProtoReflect.Descriptor instead.
func (*SchedulingPolicy) GetPreemptible ¶
func (x *SchedulingPolicy) GetPreemptible() bool
func (*SchedulingPolicy) ProtoMessage ¶
func (*SchedulingPolicy) ProtoMessage()
func (*SchedulingPolicy) ProtoReflect ¶
func (x *SchedulingPolicy) ProtoReflect() protoreflect.Message
func (*SchedulingPolicy) Reset ¶
func (x *SchedulingPolicy) Reset()
func (*SchedulingPolicy) SetPreemptible ¶
func (m *SchedulingPolicy) SetPreemptible(v bool)
func (*SchedulingPolicy) String ¶
func (x *SchedulingPolicy) String() string
type StartInstanceGroupMetadata ¶
type StartInstanceGroupMetadata struct { // ID of the InstanceGroup resource that is being started. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // contains filtered or unexported fields }
func (*StartInstanceGroupMetadata) Descriptor
deprecated
func (*StartInstanceGroupMetadata) Descriptor() ([]byte, []int)
Deprecated: Use StartInstanceGroupMetadata.ProtoReflect.Descriptor instead.
func (*StartInstanceGroupMetadata) GetInstanceGroupId ¶
func (x *StartInstanceGroupMetadata) GetInstanceGroupId() string
func (*StartInstanceGroupMetadata) ProtoMessage ¶
func (*StartInstanceGroupMetadata) ProtoMessage()
func (*StartInstanceGroupMetadata) ProtoReflect ¶
func (x *StartInstanceGroupMetadata) ProtoReflect() protoreflect.Message
func (*StartInstanceGroupMetadata) Reset ¶
func (x *StartInstanceGroupMetadata) Reset()
func (*StartInstanceGroupMetadata) SetInstanceGroupId ¶
func (m *StartInstanceGroupMetadata) SetInstanceGroupId(v string)
func (*StartInstanceGroupMetadata) String ¶
func (x *StartInstanceGroupMetadata) String() string
type StartInstanceGroupRequest ¶
type StartInstanceGroupRequest struct { // ID of the instance group to start. // To get the instance group ID, use a [InstanceGroupService.List] request. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // contains filtered or unexported fields }
func (*StartInstanceGroupRequest) Descriptor
deprecated
func (*StartInstanceGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartInstanceGroupRequest.ProtoReflect.Descriptor instead.
func (*StartInstanceGroupRequest) GetInstanceGroupId ¶
func (x *StartInstanceGroupRequest) GetInstanceGroupId() string
func (*StartInstanceGroupRequest) ProtoMessage ¶
func (*StartInstanceGroupRequest) ProtoMessage()
func (*StartInstanceGroupRequest) ProtoReflect ¶
func (x *StartInstanceGroupRequest) ProtoReflect() protoreflect.Message
func (*StartInstanceGroupRequest) Reset ¶
func (x *StartInstanceGroupRequest) Reset()
func (*StartInstanceGroupRequest) SetInstanceGroupId ¶
func (m *StartInstanceGroupRequest) SetInstanceGroupId(v string)
func (*StartInstanceGroupRequest) String ¶
func (x *StartInstanceGroupRequest) String() string
type StopInstanceGroupMetadata ¶
type StopInstanceGroupMetadata struct { // ID of the InstanceGroup resource that is being stopped. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // contains filtered or unexported fields }
func (*StopInstanceGroupMetadata) Descriptor
deprecated
func (*StopInstanceGroupMetadata) Descriptor() ([]byte, []int)
Deprecated: Use StopInstanceGroupMetadata.ProtoReflect.Descriptor instead.
func (*StopInstanceGroupMetadata) GetInstanceGroupId ¶
func (x *StopInstanceGroupMetadata) GetInstanceGroupId() string
func (*StopInstanceGroupMetadata) ProtoMessage ¶
func (*StopInstanceGroupMetadata) ProtoMessage()
func (*StopInstanceGroupMetadata) ProtoReflect ¶
func (x *StopInstanceGroupMetadata) ProtoReflect() protoreflect.Message
func (*StopInstanceGroupMetadata) Reset ¶
func (x *StopInstanceGroupMetadata) Reset()
func (*StopInstanceGroupMetadata) SetInstanceGroupId ¶
func (m *StopInstanceGroupMetadata) SetInstanceGroupId(v string)
func (*StopInstanceGroupMetadata) String ¶
func (x *StopInstanceGroupMetadata) String() string
type StopInstanceGroupRequest ¶
type StopInstanceGroupRequest struct { // ID of the instance group to stop. // To get the instance group ID, use a [InstanceGroupService.List] request. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // contains filtered or unexported fields }
func (*StopInstanceGroupRequest) Descriptor
deprecated
func (*StopInstanceGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopInstanceGroupRequest.ProtoReflect.Descriptor instead.
func (*StopInstanceGroupRequest) GetInstanceGroupId ¶
func (x *StopInstanceGroupRequest) GetInstanceGroupId() string
func (*StopInstanceGroupRequest) ProtoMessage ¶
func (*StopInstanceGroupRequest) ProtoMessage()
func (*StopInstanceGroupRequest) ProtoReflect ¶
func (x *StopInstanceGroupRequest) ProtoReflect() protoreflect.Message
func (*StopInstanceGroupRequest) Reset ¶
func (x *StopInstanceGroupRequest) Reset()
func (*StopInstanceGroupRequest) SetInstanceGroupId ¶
func (m *StopInstanceGroupRequest) SetInstanceGroupId(v string)
func (*StopInstanceGroupRequest) String ¶
func (x *StopInstanceGroupRequest) String() string
type StopInstancesMetadata ¶
type StopInstancesMetadata struct { // ID of the instance group that the instances are being stopped from. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // contains filtered or unexported fields }
func (*StopInstancesMetadata) Descriptor
deprecated
func (*StopInstancesMetadata) Descriptor() ([]byte, []int)
Deprecated: Use StopInstancesMetadata.ProtoReflect.Descriptor instead.
func (*StopInstancesMetadata) GetInstanceGroupId ¶
func (x *StopInstancesMetadata) GetInstanceGroupId() string
func (*StopInstancesMetadata) ProtoMessage ¶
func (*StopInstancesMetadata) ProtoMessage()
func (*StopInstancesMetadata) ProtoReflect ¶
func (x *StopInstancesMetadata) ProtoReflect() protoreflect.Message
func (*StopInstancesMetadata) Reset ¶
func (x *StopInstancesMetadata) Reset()
func (*StopInstancesMetadata) SetInstanceGroupId ¶
func (m *StopInstancesMetadata) SetInstanceGroupId(v string)
func (*StopInstancesMetadata) String ¶
func (x *StopInstancesMetadata) String() string
type StopInstancesRequest ¶
type StopInstancesRequest struct { // ID of the instance group that the instances are being stopped from. // To get the ID of the instance group, use the [InstanceGroupService.List] request. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // IDs of the instances to stop. After stopping, the instance can be updated, started, or deleted // according to scale and deploy policies. // Only IDs from the ManagedInstance.id field are allowed, not ManagedInstance.instance_id. ManagedInstanceIds []string `protobuf:"bytes,2,rep,name=managed_instance_ids,json=managedInstanceIds,proto3" json:"managed_instance_ids,omitempty"` // contains filtered or unexported fields }
func (*StopInstancesRequest) Descriptor
deprecated
func (*StopInstancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopInstancesRequest.ProtoReflect.Descriptor instead.
func (*StopInstancesRequest) GetInstanceGroupId ¶
func (x *StopInstancesRequest) GetInstanceGroupId() string
func (*StopInstancesRequest) GetManagedInstanceIds ¶
func (x *StopInstancesRequest) GetManagedInstanceIds() []string
func (*StopInstancesRequest) ProtoMessage ¶
func (*StopInstancesRequest) ProtoMessage()
func (*StopInstancesRequest) ProtoReflect ¶
func (x *StopInstancesRequest) ProtoReflect() protoreflect.Message
func (*StopInstancesRequest) Reset ¶
func (x *StopInstancesRequest) Reset()
func (*StopInstancesRequest) SetInstanceGroupId ¶
func (m *StopInstancesRequest) SetInstanceGroupId(v string)
func (*StopInstancesRequest) SetManagedInstanceIds ¶
func (m *StopInstancesRequest) SetManagedInstanceIds(v []string)
func (*StopInstancesRequest) String ¶
func (x *StopInstancesRequest) String() string
type TargetGroupSpec ¶
type TargetGroupSpec struct { // Name of the target group. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Description of the target group. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Resource labels as `key:value` pairs. Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TargetGroupSpec) Descriptor
deprecated
func (*TargetGroupSpec) Descriptor() ([]byte, []int)
Deprecated: Use TargetGroupSpec.ProtoReflect.Descriptor instead.
func (*TargetGroupSpec) GetDescription ¶
func (x *TargetGroupSpec) GetDescription() string
func (*TargetGroupSpec) GetLabels ¶
func (x *TargetGroupSpec) GetLabels() map[string]string
func (*TargetGroupSpec) GetName ¶
func (x *TargetGroupSpec) GetName() string
func (*TargetGroupSpec) ProtoMessage ¶
func (*TargetGroupSpec) ProtoMessage()
func (*TargetGroupSpec) ProtoReflect ¶
func (x *TargetGroupSpec) ProtoReflect() protoreflect.Message
func (*TargetGroupSpec) Reset ¶
func (x *TargetGroupSpec) Reset()
func (*TargetGroupSpec) SetDescription ¶
func (m *TargetGroupSpec) SetDescription(v string)
func (*TargetGroupSpec) SetLabels ¶
func (m *TargetGroupSpec) SetLabels(v map[string]string)
func (*TargetGroupSpec) SetName ¶
func (m *TargetGroupSpec) SetName(v string)
func (*TargetGroupSpec) String ¶
func (x *TargetGroupSpec) String() string
type UnimplementedInstanceGroupServiceServer ¶
type UnimplementedInstanceGroupServiceServer struct{}
UnimplementedInstanceGroupServiceServer 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 (UnimplementedInstanceGroupServiceServer) Create ¶
func (UnimplementedInstanceGroupServiceServer) Create(context.Context, *CreateInstanceGroupRequest) (*operation.Operation, error)
func (UnimplementedInstanceGroupServiceServer) CreateFromYaml ¶
func (UnimplementedInstanceGroupServiceServer) CreateFromYaml(context.Context, *CreateInstanceGroupFromYamlRequest) (*operation.Operation, error)
func (UnimplementedInstanceGroupServiceServer) Delete ¶
func (UnimplementedInstanceGroupServiceServer) Delete(context.Context, *DeleteInstanceGroupRequest) (*operation.Operation, error)
func (UnimplementedInstanceGroupServiceServer) DeleteInstances ¶
func (UnimplementedInstanceGroupServiceServer) DeleteInstances(context.Context, *DeleteInstancesRequest) (*operation.Operation, error)
func (UnimplementedInstanceGroupServiceServer) ListAccessBindings ¶
func (UnimplementedInstanceGroupServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
func (UnimplementedInstanceGroupServiceServer) ListInstances ¶
func (UnimplementedInstanceGroupServiceServer) ListInstances(context.Context, *ListInstanceGroupInstancesRequest) (*ListInstanceGroupInstancesResponse, error)
func (UnimplementedInstanceGroupServiceServer) ListLogRecords ¶
func (UnimplementedInstanceGroupServiceServer) ListLogRecords(context.Context, *ListInstanceGroupLogRecordsRequest) (*ListInstanceGroupLogRecordsResponse, error)
func (UnimplementedInstanceGroupServiceServer) ListOperations ¶
func (UnimplementedInstanceGroupServiceServer) ListOperations(context.Context, *ListInstanceGroupOperationsRequest) (*ListInstanceGroupOperationsResponse, error)
func (UnimplementedInstanceGroupServiceServer) PauseProcesses ¶
func (UnimplementedInstanceGroupServiceServer) PauseProcesses(context.Context, *PauseInstanceGroupProcessesRequest) (*operation.Operation, error)
func (UnimplementedInstanceGroupServiceServer) ResumeProcesses ¶
func (UnimplementedInstanceGroupServiceServer) ResumeProcesses(context.Context, *ResumeInstanceGroupProcessesRequest) (*operation.Operation, error)
func (UnimplementedInstanceGroupServiceServer) RollingRecreate ¶
func (UnimplementedInstanceGroupServiceServer) RollingRecreate(context.Context, *RollingRecreateRequest) (*operation.Operation, error)
func (UnimplementedInstanceGroupServiceServer) RollingRestart ¶
func (UnimplementedInstanceGroupServiceServer) RollingRestart(context.Context, *RollingRestartRequest) (*operation.Operation, error)
func (UnimplementedInstanceGroupServiceServer) SetAccessBindings ¶
func (UnimplementedInstanceGroupServiceServer) SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
func (UnimplementedInstanceGroupServiceServer) Start ¶
func (UnimplementedInstanceGroupServiceServer) Start(context.Context, *StartInstanceGroupRequest) (*operation.Operation, error)
func (UnimplementedInstanceGroupServiceServer) Stop ¶
func (UnimplementedInstanceGroupServiceServer) Stop(context.Context, *StopInstanceGroupRequest) (*operation.Operation, error)
func (UnimplementedInstanceGroupServiceServer) StopInstances ¶
func (UnimplementedInstanceGroupServiceServer) StopInstances(context.Context, *StopInstancesRequest) (*operation.Operation, error)
func (UnimplementedInstanceGroupServiceServer) Update ¶
func (UnimplementedInstanceGroupServiceServer) Update(context.Context, *UpdateInstanceGroupRequest) (*operation.Operation, error)
func (UnimplementedInstanceGroupServiceServer) UpdateAccessBindings ¶
func (UnimplementedInstanceGroupServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
func (UnimplementedInstanceGroupServiceServer) UpdateFromYaml ¶
func (UnimplementedInstanceGroupServiceServer) UpdateFromYaml(context.Context, *UpdateInstanceGroupFromYamlRequest) (*operation.Operation, error)
type UnsafeInstanceGroupServiceServer ¶
type UnsafeInstanceGroupServiceServer interface {
// contains filtered or unexported methods
}
UnsafeInstanceGroupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InstanceGroupServiceServer will result in compilation errors.
type UpdateInstanceGroupFromYamlRequest ¶
type UpdateInstanceGroupFromYamlRequest struct { // ID of the instance group to update. // To get the instance group ID, use a [InstanceGroupService.List] request. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // [InstanceGroupService.Update] request in YAML format. InstanceGroupYaml string `protobuf:"bytes,2,opt,name=instance_group_yaml,json=instanceGroupYaml,proto3" json:"instance_group_yaml,omitempty"` // contains filtered or unexported fields }
func (*UpdateInstanceGroupFromYamlRequest) Descriptor
deprecated
func (*UpdateInstanceGroupFromYamlRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInstanceGroupFromYamlRequest.ProtoReflect.Descriptor instead.
func (*UpdateInstanceGroupFromYamlRequest) GetInstanceGroupId ¶
func (x *UpdateInstanceGroupFromYamlRequest) GetInstanceGroupId() string
func (*UpdateInstanceGroupFromYamlRequest) GetInstanceGroupYaml ¶
func (x *UpdateInstanceGroupFromYamlRequest) GetInstanceGroupYaml() string
func (*UpdateInstanceGroupFromYamlRequest) ProtoMessage ¶
func (*UpdateInstanceGroupFromYamlRequest) ProtoMessage()
func (*UpdateInstanceGroupFromYamlRequest) ProtoReflect ¶
func (x *UpdateInstanceGroupFromYamlRequest) ProtoReflect() protoreflect.Message
func (*UpdateInstanceGroupFromYamlRequest) Reset ¶
func (x *UpdateInstanceGroupFromYamlRequest) Reset()
func (*UpdateInstanceGroupFromYamlRequest) SetInstanceGroupId ¶
func (m *UpdateInstanceGroupFromYamlRequest) SetInstanceGroupId(v string)
func (*UpdateInstanceGroupFromYamlRequest) SetInstanceGroupYaml ¶
func (m *UpdateInstanceGroupFromYamlRequest) SetInstanceGroupYaml(v string)
func (*UpdateInstanceGroupFromYamlRequest) String ¶
func (x *UpdateInstanceGroupFromYamlRequest) String() string
type UpdateInstanceGroupMetadata ¶
type UpdateInstanceGroupMetadata struct { // ID of the InstanceGroup resource that is being updated. // To get the instance group ID, use a [InstanceGroupService.List] request. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateInstanceGroupMetadata) Descriptor
deprecated
func (*UpdateInstanceGroupMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInstanceGroupMetadata.ProtoReflect.Descriptor instead.
func (*UpdateInstanceGroupMetadata) GetInstanceGroupId ¶
func (x *UpdateInstanceGroupMetadata) GetInstanceGroupId() string
func (*UpdateInstanceGroupMetadata) ProtoMessage ¶
func (*UpdateInstanceGroupMetadata) ProtoMessage()
func (*UpdateInstanceGroupMetadata) ProtoReflect ¶
func (x *UpdateInstanceGroupMetadata) ProtoReflect() protoreflect.Message
func (*UpdateInstanceGroupMetadata) Reset ¶
func (x *UpdateInstanceGroupMetadata) Reset()
func (*UpdateInstanceGroupMetadata) SetInstanceGroupId ¶
func (m *UpdateInstanceGroupMetadata) SetInstanceGroupId(v string)
func (*UpdateInstanceGroupMetadata) String ¶
func (x *UpdateInstanceGroupMetadata) String() string
type UpdateInstanceGroupRequest ¶
type UpdateInstanceGroupRequest struct { // ID of the instance group to update. // To get the instance group ID, use a [InstanceGroupService.List] request. InstanceGroupId string `protobuf:"bytes,1,opt,name=instance_group_id,json=instanceGroupId,proto3" json:"instance_group_id,omitempty"` // Field mask that specifies which fields of the InstanceGroup 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 instance group. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Description of the instance 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 by the provided set. Labels map[string]string `` /* 153-byte string literal not displayed */ // Instance template that the instance group belongs to. InstanceTemplate *InstanceTemplate `protobuf:"bytes,6,opt,name=instance_template,json=instanceTemplate,proto3" json:"instance_template,omitempty"` // [Scaling policy](/docs/compute/concepts/instance-groups/scale) of the instance group. ScalePolicy *ScalePolicy `protobuf:"bytes,7,opt,name=scale_policy,json=scalePolicy,proto3" json:"scale_policy,omitempty"` // Deployment policy of the instance group. DeployPolicy *DeployPolicy `protobuf:"bytes,8,opt,name=deploy_policy,json=deployPolicy,proto3" json:"deploy_policy,omitempty"` // Allocation policy of the instance group by zones and regions. AllocationPolicy *AllocationPolicy `protobuf:"bytes,9,opt,name=allocation_policy,json=allocationPolicy,proto3" json:"allocation_policy,omitempty"` // Health checking specification. For more information, see [Health check](/docs/network-load-balancer/concepts/health-check). HealthChecksSpec *HealthChecksSpec `protobuf:"bytes,11,opt,name=health_checks_spec,json=healthChecksSpec,proto3" json:"health_checks_spec,omitempty"` // ID of the service account. The service account will be used for all API calls // made by the Instance Groups component on behalf of the user (for example, creating instances, adding them to load balancer target group, etc.). For more information, see [Service accounts](/docs/iam/concepts/users/service-accounts). // To get the service account ID, use a [yandex.cloud.iam.v1.ServiceAccountService.List] request. ServiceAccountId string `protobuf:"bytes,12,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // Settings for balancing load between instances via [Network Load Balancer](/docs/network-load-balancer/concepts) // (OSI model layer 3). LoadBalancerSpec *LoadBalancerSpec `protobuf:"bytes,14,opt,name=load_balancer_spec,json=loadBalancerSpec,proto3" json:"load_balancer_spec,omitempty"` Variables []*Variable `protobuf:"bytes,15,rep,name=variables,proto3" json:"variables,omitempty"` // Flag that inhibits deletion of the instance group DeletionProtection bool `protobuf:"varint,16,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"` // Settings for balancing load between instances via [Application Load Balancer](/docs/application-load-balancer/concepts) // (OSI model layer 7). ApplicationLoadBalancerSpec *ApplicationLoadBalancerSpec `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateInstanceGroupRequest) Descriptor
deprecated
func (*UpdateInstanceGroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInstanceGroupRequest.ProtoReflect.Descriptor instead.
func (*UpdateInstanceGroupRequest) GetAllocationPolicy ¶
func (x *UpdateInstanceGroupRequest) GetAllocationPolicy() *AllocationPolicy
func (*UpdateInstanceGroupRequest) GetApplicationLoadBalancerSpec ¶
func (x *UpdateInstanceGroupRequest) GetApplicationLoadBalancerSpec() *ApplicationLoadBalancerSpec
func (*UpdateInstanceGroupRequest) GetDeletionProtection ¶
func (x *UpdateInstanceGroupRequest) GetDeletionProtection() bool
func (*UpdateInstanceGroupRequest) GetDeployPolicy ¶
func (x *UpdateInstanceGroupRequest) GetDeployPolicy() *DeployPolicy
func (*UpdateInstanceGroupRequest) GetDescription ¶
func (x *UpdateInstanceGroupRequest) GetDescription() string
func (*UpdateInstanceGroupRequest) GetHealthChecksSpec ¶
func (x *UpdateInstanceGroupRequest) GetHealthChecksSpec() *HealthChecksSpec
func (*UpdateInstanceGroupRequest) GetInstanceGroupId ¶
func (x *UpdateInstanceGroupRequest) GetInstanceGroupId() string
func (*UpdateInstanceGroupRequest) GetInstanceTemplate ¶
func (x *UpdateInstanceGroupRequest) GetInstanceTemplate() *InstanceTemplate
func (*UpdateInstanceGroupRequest) GetLabels ¶
func (x *UpdateInstanceGroupRequest) GetLabels() map[string]string
func (*UpdateInstanceGroupRequest) GetLoadBalancerSpec ¶
func (x *UpdateInstanceGroupRequest) GetLoadBalancerSpec() *LoadBalancerSpec
func (*UpdateInstanceGroupRequest) GetName ¶
func (x *UpdateInstanceGroupRequest) GetName() string
func (*UpdateInstanceGroupRequest) GetScalePolicy ¶
func (x *UpdateInstanceGroupRequest) GetScalePolicy() *ScalePolicy
func (*UpdateInstanceGroupRequest) GetServiceAccountId ¶
func (x *UpdateInstanceGroupRequest) GetServiceAccountId() string
func (*UpdateInstanceGroupRequest) GetUpdateMask ¶
func (x *UpdateInstanceGroupRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateInstanceGroupRequest) GetVariables ¶
func (x *UpdateInstanceGroupRequest) GetVariables() []*Variable
func (*UpdateInstanceGroupRequest) ProtoMessage ¶
func (*UpdateInstanceGroupRequest) ProtoMessage()
func (*UpdateInstanceGroupRequest) ProtoReflect ¶
func (x *UpdateInstanceGroupRequest) ProtoReflect() protoreflect.Message
func (*UpdateInstanceGroupRequest) Reset ¶
func (x *UpdateInstanceGroupRequest) Reset()
func (*UpdateInstanceGroupRequest) SetAllocationPolicy ¶
func (m *UpdateInstanceGroupRequest) SetAllocationPolicy(v *AllocationPolicy)
func (*UpdateInstanceGroupRequest) SetApplicationLoadBalancerSpec ¶
func (m *UpdateInstanceGroupRequest) SetApplicationLoadBalancerSpec(v *ApplicationLoadBalancerSpec)
func (*UpdateInstanceGroupRequest) SetDeletionProtection ¶
func (m *UpdateInstanceGroupRequest) SetDeletionProtection(v bool)
func (*UpdateInstanceGroupRequest) SetDeployPolicy ¶
func (m *UpdateInstanceGroupRequest) SetDeployPolicy(v *DeployPolicy)
func (*UpdateInstanceGroupRequest) SetDescription ¶
func (m *UpdateInstanceGroupRequest) SetDescription(v string)
func (*UpdateInstanceGroupRequest) SetHealthChecksSpec ¶
func (m *UpdateInstanceGroupRequest) SetHealthChecksSpec(v *HealthChecksSpec)
func (*UpdateInstanceGroupRequest) SetInstanceGroupId ¶
func (m *UpdateInstanceGroupRequest) SetInstanceGroupId(v string)
func (*UpdateInstanceGroupRequest) SetInstanceTemplate ¶
func (m *UpdateInstanceGroupRequest) SetInstanceTemplate(v *InstanceTemplate)
func (*UpdateInstanceGroupRequest) SetLabels ¶
func (m *UpdateInstanceGroupRequest) SetLabels(v map[string]string)
func (*UpdateInstanceGroupRequest) SetLoadBalancerSpec ¶
func (m *UpdateInstanceGroupRequest) SetLoadBalancerSpec(v *LoadBalancerSpec)
func (*UpdateInstanceGroupRequest) SetName ¶
func (m *UpdateInstanceGroupRequest) SetName(v string)
func (*UpdateInstanceGroupRequest) SetScalePolicy ¶
func (m *UpdateInstanceGroupRequest) SetScalePolicy(v *ScalePolicy)
func (*UpdateInstanceGroupRequest) SetServiceAccountId ¶
func (m *UpdateInstanceGroupRequest) SetServiceAccountId(v string)
func (*UpdateInstanceGroupRequest) SetUpdateMask ¶
func (m *UpdateInstanceGroupRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateInstanceGroupRequest) SetVariables ¶
func (m *UpdateInstanceGroupRequest) SetVariables(v []*Variable)
func (*UpdateInstanceGroupRequest) String ¶
func (x *UpdateInstanceGroupRequest) String() string
type Variable ¶
type Variable struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Variable) Descriptor
deprecated
func (*Variable) ProtoMessage ¶
func (*Variable) ProtoMessage()
func (*Variable) ProtoReflect ¶
func (x *Variable) ProtoReflect() protoreflect.Message