azure_np

package
v1.348.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AKS

type AKS struct {
	ClusterName                     *string `json:"clusterName,omitempty"`
	ResourceGroupName               *string `json:"resourceGroupName,omitempty"`
	Region                          *string `json:"region,omitempty"`
	InfrastructureResourceGroupName *string `json:"infrastructureResourceGroupName,omitempty"`
	// contains filtered or unexported fields
}

func (AKS) MarshalJSON

func (o AKS) MarshalJSON() ([]byte, error)

func (*AKS) SetClusterName

func (o *AKS) SetClusterName(v *string) *AKS

func (*AKS) SetInfrastructureResourceGroupName

func (o *AKS) SetInfrastructureResourceGroupName(v *string) *AKS

func (*AKS) SetRegion

func (o *AKS) SetRegion(v *string) *AKS

func (*AKS) SetResourceGroupName

func (o *AKS) SetResourceGroupName(v *string) *AKS

type AutoScale added in v1.162.0

type AutoScale struct {
	Headrooms []*Headrooms `json:"headrooms,omitempty"`
	// contains filtered or unexported fields
}

func (AutoScale) MarshalJSON added in v1.162.0

func (o AutoScale) MarshalJSON() ([]byte, error)

func (*AutoScale) SetHeadrooms added in v1.162.0

func (o *AutoScale) SetHeadrooms(v []*Headrooms) *AutoScale

type AutoScaler

type AutoScaler struct {
	IsEnabled      *bool           `json:"isEnabled,omitempty"`
	ResourceLimits *ResourceLimits `json:"resourceLimits,omitempty"`
	Down           *Down           `json:"down,omitempty"`
	Headroom       *Headroom       `json:"headroom,omitempty"`
	// contains filtered or unexported fields
}

func (AutoScaler) MarshalJSON

func (o AutoScaler) MarshalJSON() ([]byte, error)

func (*AutoScaler) SetDown

func (o *AutoScaler) SetDown(v *Down) *AutoScaler

func (*AutoScaler) SetHeadroom

func (o *AutoScaler) SetHeadroom(v *Headroom) *AutoScaler

func (*AutoScaler) SetIsEnabled

func (o *AutoScaler) SetIsEnabled(v *bool) *AutoScaler

func (*AutoScaler) SetResourceLimits

func (o *AutoScaler) SetResourceLimits(v *ResourceLimits) *AutoScaler

type Automatic

type Automatic struct {
	IsEnabled  *bool `json:"isEnabled,omitempty"`
	Percentage *int  `json:"percentage,omitempty"`
	// contains filtered or unexported fields
}

func (Automatic) MarshalJSON

func (o Automatic) MarshalJSON() ([]byte, error)

func (*Automatic) SetIsEnabled

func (o *Automatic) SetIsEnabled(v *bool) *Automatic

func (*Automatic) SetPercentage

func (o *Automatic) SetPercentage(v *int) *Automatic

type Cluster

type Cluster struct {
	ID                       *string                   `json:"id,omitempty"`
	Name                     *string                   `json:"name,omitempty"`
	ControllerClusterID      *string                   `json:"controllerClusterId,omitempty"`
	AKS                      *AKS                      `json:"aks,omitempty"`
	AutoScaler               *AutoScaler               `json:"autoScaler,omitempty"`
	Health                   *Health                   `json:"health,omitempty"`
	VirtualNodeGroupTemplate *VirtualNodeGroupTemplate `json:"virtualNodeGroupTemplate,omitempty"`
	Scheduling               *Scheduling               `json:"scheduling,omitempty"`

	// Read-only fields.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (Cluster) MarshalJSON

func (o Cluster) MarshalJSON() ([]byte, error)

func (*Cluster) SetAKS

func (o *Cluster) SetAKS(v *AKS) *Cluster

func (*Cluster) SetAutoScaler

func (o *Cluster) SetAutoScaler(v *AutoScaler) *Cluster

func (*Cluster) SetControllerClusterId

func (o *Cluster) SetControllerClusterId(v *string) *Cluster

func (*Cluster) SetHealth

func (o *Cluster) SetHealth(v *Health) *Cluster

func (*Cluster) SetId

func (o *Cluster) SetId(v *string) *Cluster

func (*Cluster) SetName

func (o *Cluster) SetName(v *string) *Cluster

func (*Cluster) SetScheduling added in v1.162.0

func (o *Cluster) SetScheduling(v *Scheduling) *Cluster

func (*Cluster) SetVirtualNodeGroupTemplate

func (o *Cluster) SetVirtualNodeGroupTemplate(v *VirtualNodeGroupTemplate) *Cluster

type CreateClusterInput

type CreateClusterInput struct {
	Cluster *Cluster `json:"cluster,omitempty"`
}

type CreateClusterOutput

type CreateClusterOutput struct {
	Cluster *Cluster `json:"cluster,omitempty"`
}

type CreateVirtualNodeGroupInput

type CreateVirtualNodeGroupInput struct {
	VirtualNodeGroup *VirtualNodeGroup `json:"virtualNodeGroup,omitempty"`
}

type CreateVirtualNodeGroupOutput

type CreateVirtualNodeGroupOutput struct {
	VirtualNodeGroup *VirtualNodeGroup `json:"virtualNodeGroup,omitempty"`
}

type DeleteClusterInput

type DeleteClusterInput struct {
	ClusterID *string `json:"clusterId,omitempty"`
}

type DeleteClusterOutput

type DeleteClusterOutput struct{}

type DeleteVirtualNodeGroupInput

type DeleteVirtualNodeGroupInput struct {
	VirtualNodeGroupID *string `json:"virtualNodeGroupId,omitempty"`
}

type DeleteVirtualNodeGroupOutput

type DeleteVirtualNodeGroupOutput struct{}

type Down

type Down struct {
	MaxScaleDownPercentage *int `json:"maxScaleDownPercentage,omitempty"`
	// contains filtered or unexported fields
}

func (Down) MarshalJSON

func (o Down) MarshalJSON() ([]byte, error)

func (*Down) SetMaxScaleDownPercentage

func (o *Down) SetMaxScaleDownPercentage(v *int) *Down

type Filters added in v1.163.0

type Filters struct {
	MinVcpu               *int     `json:"minVCpu,omitempty"`
	MaxVcpu               *int     `json:"maxVCpu,omitempty"`
	MinMemoryGiB          *float64 `json:"minMemoryGiB,omitempty"`
	MaxMemoryGiB          *float64 `json:"maxMemoryGiB,omitempty"`
	Series                []string `json:"series,omitempty"`
	Architectures         []string `json:"architectures,omitempty"`
	ExcludeSeries         []string `json:"excludeSeries,omitempty"`
	AcceleratedNetworking *string  `json:"acceleratedNetworking,omitempty"`
	DiskPerformance       *string  `json:"diskPerformance,omitempty"`
	MinGpu                *float64 `json:"minGpu,omitempty"`
	MaxGpu                *float64 `json:"maxGpu,omitempty"`
	MinNICs               *int     `json:"minNICs,omitempty"`
	VmTypes               []string `json:"vmTypes,omitempty"`
	MinDisk               *int     `json:"minDisk,omitempty"`
	GpuTypes              []string `json:"gpuTypes,omitempty"`
	// contains filtered or unexported fields
}

func (Filters) MarshalJSON added in v1.163.0

func (o Filters) MarshalJSON() ([]byte, error)

func (*Filters) SetAcceleratedNetworking added in v1.181.0

func (o *Filters) SetAcceleratedNetworking(v *string) *Filters

func (*Filters) SetArchitectures added in v1.163.0

func (o *Filters) SetArchitectures(v []string) *Filters

func (*Filters) SetDiskPerformance added in v1.181.0

func (o *Filters) SetDiskPerformance(v *string) *Filters

func (*Filters) SetExcludeSeries added in v1.170.0

func (o *Filters) SetExcludeSeries(v []string) *Filters

func (*Filters) SetGpuTypes added in v1.340.0

func (o *Filters) SetGpuTypes(v []string) *Filters

func (*Filters) SetMaxGpu added in v1.181.0

func (o *Filters) SetMaxGpu(v *float64) *Filters

func (*Filters) SetMaxMemoryGiB added in v1.163.0

func (o *Filters) SetMaxMemoryGiB(v *float64) *Filters

func (*Filters) SetMaxVcpu added in v1.163.0

func (o *Filters) SetMaxVcpu(v *int) *Filters

func (*Filters) SetMinDisk added in v1.182.0

func (o *Filters) SetMinDisk(v *int) *Filters

func (*Filters) SetMinGpu added in v1.181.0

func (o *Filters) SetMinGpu(v *float64) *Filters

func (*Filters) SetMinMemoryGiB added in v1.163.0

func (o *Filters) SetMinMemoryGiB(v *float64) *Filters

func (*Filters) SetMinNICs added in v1.181.0

func (o *Filters) SetMinNICs(v *int) *Filters

func (*Filters) SetMinVcpu added in v1.163.0

func (o *Filters) SetMinVcpu(v *int) *Filters

func (*Filters) SetSeries added in v1.163.0

func (o *Filters) SetSeries(v []string) *Filters

func (*Filters) SetVmTypes added in v1.181.0

func (o *Filters) SetVmTypes(v []string) *Filters

type Headroom

type Headroom struct {
	Automatic *Automatic `json:"automatic,omitempty"`
	// contains filtered or unexported fields
}

func (Headroom) MarshalJSON

func (o Headroom) MarshalJSON() ([]byte, error)

func (*Headroom) SetAutomatic

func (o *Headroom) SetAutomatic(v *Automatic) *Headroom

type Headrooms added in v1.162.0

type Headrooms struct {
	CpuPerUnit    *int `json:"cpuPerUnit,omitempty"`
	MemoryPerUnit *int `json:"memoryPerUnit,omitempty"`
	GpuPerUnit    *int `json:"gpuPerUnit,omitempty"`
	NumberOfUnits *int `json:"numOfUnits,omitempty"`
	// contains filtered or unexported fields
}

func (Headrooms) MarshalJSON added in v1.162.0

func (o Headrooms) MarshalJSON() ([]byte, error)

func (*Headrooms) SetCpuPerUnit added in v1.162.0

func (o *Headrooms) SetCpuPerUnit(v *int) *Headrooms

func (*Headrooms) SetGpuPerUnit added in v1.162.0

func (o *Headrooms) SetGpuPerUnit(v *int) *Headrooms

func (*Headrooms) SetMemoryPerUnit added in v1.162.0

func (o *Headrooms) SetMemoryPerUnit(v *int) *Headrooms

func (*Headrooms) SetNumOfUnits added in v1.162.0

func (o *Headrooms) SetNumOfUnits(v *int) *Headrooms

type Health

type Health struct {
	GracePeriod *int `json:"gracePeriod,omitempty"`
	// contains filtered or unexported fields
}

func (Health) MarshalJSON

func (o Health) MarshalJSON() ([]byte, error)

func (*Health) SetGracePeriod

func (o *Health) SetGracePeriod(v *int) *Health

type ImportCluster

type ImportCluster struct {
	ControllerClusterID *string `json:"controllerClusterId,omitempty"`
	Name                *string `json:"name,omitempty"`
	AKS                 *AKS    `json:"aks,omitempty"`
	// contains filtered or unexported fields
}

type ImportClusterInput

type ImportClusterInput struct {
	ACDIdentifier *string        `json:"acdIdentifier,omitempty"`
	Cluster       *ImportCluster `json:"cluster,omitempty"`
}

type ImportClusterOutput

type ImportClusterOutput struct {
	Cluster *Cluster `json:"cluster,omitempty"`
}

type LaunchNewNodesInput added in v1.343.0

type LaunchNewNodesInput struct {
	Adjustment          *int     `json:"adjustment,omitempty"`
	ApplicableVmSizes   []string `json:"applicableVmSizes,omitempty"`
	AvailabilityZones   []string `json:"availabilityZones,omitempty"`
	MinCoresPerNode     *int     `json:"minCoresPerNode,omitempty"`
	MinMemoryGiBPerNode *float64 `json:"minMemoryGiBPerNode,omitempty"`
	OceanId             *string  `json:"oceanId,omitempty"`
	PreferredLifecycle  *string  `json:"preferredLifecycle,omitempty"`
	VngIds              []string `json:"vngIds,omitempty"`
}

type LaunchNewNodesOutput added in v1.343.0

type LaunchNewNodesOutput struct{}

type LinuxOSConfig added in v1.348.0

type LinuxOSConfig struct {
	Sysctls *Sysctls `json:"sysctls,omitempty"`
	// contains filtered or unexported fields
}

LinuxOSConfig region

func (*LinuxOSConfig) SetSysctls added in v1.348.0

func (o *LinuxOSConfig) SetSysctls(v *Sysctls) *LinuxOSConfig

type ListClustersInput

type ListClustersInput struct{}

type ListClustersOutput

type ListClustersOutput struct {
	Clusters []*Cluster `json:"clusters,omitempty"`
}

type ListVirtualNodeGroupsInput

type ListVirtualNodeGroupsInput struct {
	OceanID *string `json:"oceanId,omitempty"`
}

type ListVirtualNodeGroupsOutput

type ListVirtualNodeGroupsOutput struct {
	VirtualNodeGroups []*VirtualNodeGroup `json:"virtualNodeGroups,omitempty"`
}

type NodeCountLimits

type NodeCountLimits struct {
	MinCount *int `json:"minCount,omitempty"`
	MaxCount *int `json:"maxCount,omitempty"`
	// contains filtered or unexported fields
}

NodeCountLimits region

func (NodeCountLimits) MarshalJSON

func (o NodeCountLimits) MarshalJSON() ([]byte, error)

func (*NodeCountLimits) SetMaxCount

func (o *NodeCountLimits) SetMaxCount(v *int) *NodeCountLimits

func (*NodeCountLimits) SetMinCount

func (o *NodeCountLimits) SetMinCount(v *int) *NodeCountLimits

type NodePoolProperties

type NodePoolProperties struct {
	MaxPodsPerNode     *int           `json:"maxPodsPerNode,omitempty"`
	EnableNodePublicIP *bool          `json:"enableNodePublicIP,omitempty"`
	OsDiskSizeGB       *int           `json:"osDiskSizeGB,omitempty"`
	OsDiskType         *string        `json:"osDiskType,omitempty"`
	OsType             *string        `json:"osType,omitempty"`
	OsSKU              *string        `json:"osSKU,omitempty"`
	KubernetesVersion  *string        `json:"kubernetesVersion,omitempty"`
	PodSubnetIDs       []string       `json:"podSubnetIDs,omitempty"`
	VnetSubnetIDs      []string       `json:"vnetSubnetIDs,omitempty"`
	LinuxOSConfig      *LinuxOSConfig `json:"linuxOSConfig,omitempty"`
	// contains filtered or unexported fields
}

NodePoolProperties region

func (NodePoolProperties) MarshalJSON

func (o NodePoolProperties) MarshalJSON() ([]byte, error)

func (*NodePoolProperties) SetEnableNodePublicIP

func (o *NodePoolProperties) SetEnableNodePublicIP(v *bool) *NodePoolProperties

func (*NodePoolProperties) SetKubernetesVersion added in v1.173.0

func (o *NodePoolProperties) SetKubernetesVersion(v *string) *NodePoolProperties

func (*NodePoolProperties) SetLinuxOSConfig added in v1.348.0

func (o *NodePoolProperties) SetLinuxOSConfig(v *LinuxOSConfig) *NodePoolProperties

func (*NodePoolProperties) SetMaxPodsPerNode

func (o *NodePoolProperties) SetMaxPodsPerNode(v *int) *NodePoolProperties

func (*NodePoolProperties) SetOsDiskSizeGB

func (o *NodePoolProperties) SetOsDiskSizeGB(v *int) *NodePoolProperties

func (*NodePoolProperties) SetOsDiskType

func (o *NodePoolProperties) SetOsDiskType(v *string) *NodePoolProperties

func (*NodePoolProperties) SetOsSKU added in v1.170.0

func (o *NodePoolProperties) SetOsSKU(v *string) *NodePoolProperties

func (*NodePoolProperties) SetOsType

func (o *NodePoolProperties) SetOsType(v *string) *NodePoolProperties

func (*NodePoolProperties) SetPodSubnetIDs added in v1.180.0

func (o *NodePoolProperties) SetPodSubnetIDs(v []string) *NodePoolProperties

func (*NodePoolProperties) SetVnetSubnetIDs added in v1.180.0

func (o *NodePoolProperties) SetVnetSubnetIDs(v []string) *NodePoolProperties

type ReadClusterInput

type ReadClusterInput struct {
	ClusterID *string `json:"clusterId,omitempty"`
}

type ReadClusterOutput

type ReadClusterOutput struct {
	Cluster *Cluster `json:"cluster,omitempty"`
}

type ReadVirtualNodeGroupInput

type ReadVirtualNodeGroupInput struct {
	VirtualNodeGroupID *string `json:"virtualNodeGroupId,omitempty"`
}

type ReadVirtualNodeGroupOutput

type ReadVirtualNodeGroupOutput struct {
	VirtualNodeGroup *VirtualNodeGroup `json:"virtualNodeGroup,omitempty"`
}

type ResourceLimits

type ResourceLimits struct {
	MaxVCPU      *int `json:"maxVCpu,omitempty"`
	MaxMemoryGib *int `json:"maxMemoryGib,omitempty"`
	// contains filtered or unexported fields
}

func (ResourceLimits) MarshalJSON

func (o ResourceLimits) MarshalJSON() ([]byte, error)

func (*ResourceLimits) SetMaxMemoryGib

func (o *ResourceLimits) SetMaxMemoryGib(v *int) *ResourceLimits

func (*ResourceLimits) SetMaxVcpu

func (o *ResourceLimits) SetMaxVcpu(v *int) *ResourceLimits

type Scheduling added in v1.162.0

type Scheduling struct {
	ShutdownHours *ShutdownHours `json:"shutdownHours,omitempty"`
	// contains filtered or unexported fields
}

func (Scheduling) MarshalJSON added in v1.162.0

func (o Scheduling) MarshalJSON() ([]byte, error)

func (*Scheduling) SetShutdownHours added in v1.162.0

func (o *Scheduling) SetShutdownHours(v *ShutdownHours) *Scheduling

type Service

Service provides the API operation methods for making requests to endpoints of the Spotinst API. See this package's package overview docs for details on the service.

type ServiceOp

type ServiceOp struct {
	Client *client.Client
}

func New

func New(sess *session.Session, cfgs ...*spotinst.Config) *ServiceOp

func (*ServiceOp) CreateCluster

func (s *ServiceOp) CreateCluster(ctx context.Context, input *CreateClusterInput) (*CreateClusterOutput, error)

func (*ServiceOp) CreateVirtualNodeGroup

func (s *ServiceOp) CreateVirtualNodeGroup(ctx context.Context, input *CreateVirtualNodeGroupInput) (*CreateVirtualNodeGroupOutput, error)

func (*ServiceOp) DeleteCluster

func (s *ServiceOp) DeleteCluster(ctx context.Context, input *DeleteClusterInput) (*DeleteClusterOutput, error)

func (*ServiceOp) DeleteVirtualNodeGroup

func (s *ServiceOp) DeleteVirtualNodeGroup(ctx context.Context, input *DeleteVirtualNodeGroupInput) (*DeleteVirtualNodeGroupOutput, error)

func (*ServiceOp) ImportCluster

func (s *ServiceOp) ImportCluster(ctx context.Context, input *ImportClusterInput) (*ImportClusterOutput, error)

func (*ServiceOp) LaunchNewNodes added in v1.343.0

func (s *ServiceOp) LaunchNewNodes(ctx context.Context,
	input *LaunchNewNodesInput) (*LaunchNewNodesOutput, error)

func (*ServiceOp) ListClusters

func (s *ServiceOp) ListClusters(ctx context.Context) (*ListClustersOutput, error)

func (*ServiceOp) ListVirtualNodeGroups

func (s *ServiceOp) ListVirtualNodeGroups(ctx context.Context, input *ListVirtualNodeGroupsInput) (*ListVirtualNodeGroupsOutput, error)

func (*ServiceOp) ReadCluster

func (s *ServiceOp) ReadCluster(ctx context.Context, input *ReadClusterInput) (*ReadClusterOutput, error)

func (*ServiceOp) ReadVirtualNodeGroup

func (s *ServiceOp) ReadVirtualNodeGroup(ctx context.Context, input *ReadVirtualNodeGroupInput) (*ReadVirtualNodeGroupOutput, error)

func (*ServiceOp) UpdateCluster

func (s *ServiceOp) UpdateCluster(ctx context.Context, input *UpdateClusterInput) (*UpdateClusterOutput, error)

func (*ServiceOp) UpdateVirtualNodeGroup

func (s *ServiceOp) UpdateVirtualNodeGroup(ctx context.Context, input *UpdateVirtualNodeGroupInput) (*UpdateVirtualNodeGroupOutput, error)

type ShutdownHours added in v1.162.0

type ShutdownHours struct {
	TimeWindows []string `json:"timeWindows,omitempty"`
	IsEnabled   *bool    `json:"isEnabled,omitempty"`
	// contains filtered or unexported fields
}

func (ShutdownHours) MarshalJSON added in v1.162.0

func (o ShutdownHours) MarshalJSON() ([]byte, error)

func (*ShutdownHours) SetIsEnabled added in v1.162.0

func (o *ShutdownHours) SetIsEnabled(v *bool) *ShutdownHours

func (*ShutdownHours) SetTimeWindows added in v1.162.0

func (o *ShutdownHours) SetTimeWindows(v []string) *ShutdownHours

type Strategy

type Strategy struct {
	SpotPercentage *int  `json:"spotPercentage,omitempty"`
	FallbackToOD   *bool `json:"fallbackToOd,omitempty"`
	// contains filtered or unexported fields
}

Strategy region

func (Strategy) MarshalJSON

func (o Strategy) MarshalJSON() ([]byte, error)

func (*Strategy) SetFallbackToOD

func (o *Strategy) SetFallbackToOD(v *bool) *Strategy

func (*Strategy) SetSpotPercentage

func (o *Strategy) SetSpotPercentage(v *int) *Strategy

type Sysctls added in v1.346.0

type Sysctls struct {
	VmMaxMapCount *int `json:"vmMaxMapCount,omitempty"`
	// contains filtered or unexported fields
}

Sysctls region

func (*Sysctls) SetVmMaxMapCount added in v1.346.0

func (o *Sysctls) SetVmMaxMapCount(v *int) *Sysctls

type Taint

type Taint struct {
	Key    *string `json:"key,omitempty"`
	Value  *string `json:"value,omitempty"`
	Effect *string `json:"effect,omitempty"`
	// contains filtered or unexported fields
}

func (Taint) MarshalJSON

func (o Taint) MarshalJSON() ([]byte, error)

func (*Taint) SetEffect

func (o *Taint) SetEffect(v *string) *Taint

func (*Taint) SetKey

func (o *Taint) SetKey(v *string) *Taint

func (*Taint) SetValue

func (o *Taint) SetValue(v *string) *Taint

type UpdateClusterInput

type UpdateClusterInput struct {
	Cluster *Cluster `json:"cluster,omitempty"`
}

type UpdateClusterOutput

type UpdateClusterOutput struct {
	Cluster *Cluster `json:"cluster,omitempty"`
}

type UpdateVirtualNodeGroupInput

type UpdateVirtualNodeGroupInput struct {
	VirtualNodeGroup *VirtualNodeGroup `json:"virtualNodeGroup,omitempty"`
}

type UpdateVirtualNodeGroupOutput

type UpdateVirtualNodeGroupOutput struct {
	VirtualNodeGroup *VirtualNodeGroup `json:"virtualNodeGroup,omitempty"`
}

type VirtualNodeGroup

type VirtualNodeGroup struct {
	ID                 *string             `json:"id,omitempty"`
	OceanID            *string             `json:"oceanId,omitempty"`
	Name               *string             `json:"name,omitempty"`
	Labels             *map[string]string  `json:"labels,omitempty"`
	AvailabilityZones  []string            `json:"availabilityZones,omitempty"`
	Tags               *map[string]string  `json:"tags,omitempty"`
	Strategy           *Strategy           `json:"strategy,omitempty"`
	NodePoolProperties *NodePoolProperties `json:"nodePoolProperties,omitempty"`
	NodeCountLimits    *NodeCountLimits    `json:"nodeCountLimits,omitempty"`
	AutoScale          *AutoScale          `json:"autoScale,omitempty"`
	Taints             []*Taint            `json:"taints,omitempty"`
	VmSizes            *VmSizes            `json:"vmSizes,omitempty"`

	// Read-only fields.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

func (VirtualNodeGroup) MarshalJSON

func (o VirtualNodeGroup) MarshalJSON() ([]byte, error)

func (*VirtualNodeGroup) SetAutoScale added in v1.152.0

func (o *VirtualNodeGroup) SetAutoScale(v *AutoScale) *VirtualNodeGroup

func (*VirtualNodeGroup) SetAvailabilityZones

func (o *VirtualNodeGroup) SetAvailabilityZones(v []string) *VirtualNodeGroup

func (*VirtualNodeGroup) SetId

func (*VirtualNodeGroup) SetLabels

func (o *VirtualNodeGroup) SetLabels(v *map[string]string) *VirtualNodeGroup

func (*VirtualNodeGroup) SetName

func (o *VirtualNodeGroup) SetName(v *string) *VirtualNodeGroup

func (*VirtualNodeGroup) SetNodeCountLimits

func (o *VirtualNodeGroup) SetNodeCountLimits(v *NodeCountLimits) *VirtualNodeGroup

func (*VirtualNodeGroup) SetNodePoolProperties

func (o *VirtualNodeGroup) SetNodePoolProperties(v *NodePoolProperties) *VirtualNodeGroup

func (*VirtualNodeGroup) SetOceanId

func (o *VirtualNodeGroup) SetOceanId(v *string) *VirtualNodeGroup

func (*VirtualNodeGroup) SetStrategy

func (o *VirtualNodeGroup) SetStrategy(v *Strategy) *VirtualNodeGroup

func (*VirtualNodeGroup) SetTags

func (o *VirtualNodeGroup) SetTags(v *map[string]string) *VirtualNodeGroup

func (*VirtualNodeGroup) SetTaints

func (o *VirtualNodeGroup) SetTaints(v []*Taint) *VirtualNodeGroup

func (*VirtualNodeGroup) SetVmSizes added in v1.163.0

func (o *VirtualNodeGroup) SetVmSizes(v *VmSizes) *VirtualNodeGroup

type VirtualNodeGroupTemplate

type VirtualNodeGroupTemplate struct {
	AvailabilityZones  []string            `json:"availabilityZones,omitempty"`
	NodePoolProperties *NodePoolProperties `json:"nodePoolProperties,omitempty"`
	NodeCountLimits    *NodeCountLimits    `json:"nodeCountLimits,omitempty"`
	Strategy           *Strategy           `json:"strategy,omitempty"`
	Labels             *map[string]string  `json:"labels,omitempty"`
	Tags               *map[string]string  `json:"tags,omitempty"`
	Taints             []*Taint            `json:"taints,omitempty"`
	AutoScale          *AutoScale          `json:"autoScale,omitempty"`
	VmSizes            *VmSizes            `json:"vmSizes,omitempty"`
	// contains filtered or unexported fields
}

func (VirtualNodeGroupTemplate) MarshalJSON

func (o VirtualNodeGroupTemplate) MarshalJSON() ([]byte, error)

func (*VirtualNodeGroupTemplate) SetAutoScale added in v1.162.0

func (*VirtualNodeGroupTemplate) SetAvailabilityZones

func (o *VirtualNodeGroupTemplate) SetAvailabilityZones(v []string) *VirtualNodeGroupTemplate

func (*VirtualNodeGroupTemplate) SetLabels

func (*VirtualNodeGroupTemplate) SetNodeCountLimits

func (*VirtualNodeGroupTemplate) SetNodePoolProperties

func (*VirtualNodeGroupTemplate) SetStrategy

func (*VirtualNodeGroupTemplate) SetTags

func (*VirtualNodeGroupTemplate) SetTaints

func (*VirtualNodeGroupTemplate) SetVmSizes added in v1.163.0

type VmSizes added in v1.163.0

type VmSizes struct {
	Filters *Filters `json:"filters,omitempty"`
	// contains filtered or unexported fields
}

func (VmSizes) MarshalJSON added in v1.163.0

func (o VmSizes) MarshalJSON() ([]byte, error)

func (*VmSizes) SetFilters added in v1.163.0

func (o *VmSizes) SetFilters(v *Filters) *VmSizes

Jump to

Keyboard shortcuts

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