v3

package
v1.372.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: Apache-2.0 Imports: 10 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action added in v1.370.0

type Action struct {
	Type       *string `json:"type,omitempty"`
	Adjustment *string `json:"adjustment,omitempty"`
	Maximum    *string `json:"maximum,omitempty"`
	Minimum    *string `json:"minimum,omitempty"`
	Target     *string `json:"target,omitempty"`
	// contains filtered or unexported fields
}

func (Action) MarshalJSON added in v1.370.0

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

func (*Action) SetAdjustment added in v1.370.0

func (o *Action) SetAdjustment(v *string) *Action

func (*Action) SetMaximum added in v1.370.0

func (o *Action) SetMaximum(v *string) *Action

func (*Action) SetMinimum added in v1.370.0

func (o *Action) SetMinimum(v *string) *Action

func (*Action) SetTarget added in v1.370.0

func (o *Action) SetTarget(v *string) *Action

func (*Action) SetType added in v1.370.0

func (o *Action) SetType(v *string) *Action

type AdditionalIPConfig

type AdditionalIPConfig struct {
	Name                    *string `json:"name,omitempty"`
	PrivateIPAddressVersion *string `json:"privateIpAddressVersion,omitempty"`
	// contains filtered or unexported fields
}

func (AdditionalIPConfig) MarshalJSON

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

func (*AdditionalIPConfig) SetName

func (*AdditionalIPConfig) SetPrivateIPAddressVersion

func (o *AdditionalIPConfig) SetPrivateIPAddressVersion(v *string) *AdditionalIPConfig

type ApplicationSecurityGroup added in v1.90.0

type ApplicationSecurityGroup struct {
	Name              *string `json:"name,omitempty"`
	ResourceGroupName *string `json:"resourceGroupName,omitempty"`
	// contains filtered or unexported fields
}

func (ApplicationSecurityGroup) MarshalJSON added in v1.90.0

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

func (*ApplicationSecurityGroup) SetName added in v1.90.0

func (*ApplicationSecurityGroup) SetResourceGroupName added in v1.90.0

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

type BootDiagnostics added in v1.372.0

type BootDiagnostics struct {
	IsEnabled  *bool   `json:"isEnabled,omitempty"`
	StorageUri *string `json:"storageUri,omitempty"`
	Type       *string `json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (BootDiagnostics) MarshalJSON added in v1.372.0

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

func (*BootDiagnostics) SetIsEnabled added in v1.372.0

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

func (*BootDiagnostics) SetStorageUri added in v1.372.0

func (o *BootDiagnostics) SetStorageUri(v *string) *BootDiagnostics

func (*BootDiagnostics) SetType added in v1.372.0

func (o *BootDiagnostics) SetType(v *string) *BootDiagnostics

type Capacity

type Capacity struct {
	Minimum *int `json:"minimum,omitempty"`
	Maximum *int `json:"maximum,omitempty"`
	Target  *int `json:"target,omitempty"`
	// contains filtered or unexported fields
}

func (Capacity) MarshalJSON

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

func (*Capacity) SetMaximum

func (o *Capacity) SetMaximum(v *int) *Capacity

func (*Capacity) SetMinimum

func (o *Capacity) SetMinimum(v *int) *Capacity

func (*Capacity) SetTarget

func (o *Capacity) SetTarget(v *int) *Capacity

type CapacityReservation added in v1.372.0

type CapacityReservation struct {
	CapacityReservationGroups []*CapacityReservationGroups `json:"capacityReservationGroups,omitempty"`
	ShouldUtilize             *bool                        `json:"shouldUtilize,omitempty"`
	UtilizationStrategy       *string                      `json:"utilizationStrategy,omitempty"`
	// contains filtered or unexported fields
}

func (CapacityReservation) MarshalJSON added in v1.372.0

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

func (*CapacityReservation) SetCapacityReservationGroups added in v1.372.0

func (o *CapacityReservation) SetCapacityReservationGroups(v []*CapacityReservationGroups) *CapacityReservation

func (*CapacityReservation) SetShouldUtilize added in v1.372.0

func (o *CapacityReservation) SetShouldUtilize(v *bool) *CapacityReservation

func (*CapacityReservation) SetUtilizationStrategy added in v1.372.0

func (o *CapacityReservation) SetUtilizationStrategy(v *string) *CapacityReservation

type CapacityReservationGroups added in v1.372.0

type CapacityReservationGroups struct {
	Name              *string `json:"name,omitempty"`
	ResourceGroupName *string `json:"resourceGroupName,omitempty"`
	ShouldPrioritize  *bool   `json:"shouldPrioritize,omitempty"`
	// contains filtered or unexported fields
}

func (CapacityReservationGroups) MarshalJSON added in v1.372.0

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

func (*CapacityReservationGroups) SetName added in v1.372.0

func (*CapacityReservationGroups) SetResourceGroupName added in v1.372.0

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

func (*CapacityReservationGroups) SetShouldPrioritize added in v1.372.0

func (o *CapacityReservationGroups) SetShouldPrioritize(v *bool) *CapacityReservationGroups

type Compute

type Compute struct {
	VMSizes             *VMSizes             `json:"vmSizes,omitempty"`
	OS                  *string              `json:"os,omitempty"`
	LaunchSpecification *LaunchSpecification `json:"launchSpecification,omitempty"`
	PreferredZones      []string             `json:"preferredZones,omitempty"`
	Zones               []string             `json:"zones,omitempty"`
	// contains filtered or unexported fields
}

func (Compute) MarshalJSON

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

func (*Compute) SetLaunchSpecification

func (o *Compute) SetLaunchSpecification(v *LaunchSpecification) *Compute

func (*Compute) SetOS

func (o *Compute) SetOS(v *string) *Compute

func (*Compute) SetPreferredZones added in v1.372.0

func (o *Compute) SetPreferredZones(v []string) *Compute

func (*Compute) SetVMSizes

func (o *Compute) SetVMSizes(v *VMSizes) *Compute

func (*Compute) SetZones added in v1.372.0

func (o *Compute) SetZones(v []string) *Compute

type CreateGroupInput

type CreateGroupInput struct {
	Group *Group `json:"group,omitempty"`
}

type CreateGroupOutput

type CreateGroupOutput struct {
	Group *Group `json:"group,omitempty"`
}

type CustomImage

type CustomImage struct {
	ResourceGroupName *string `json:"resourceGroupName,omitempty"`
	Name              *string `json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (CustomImage) MarshalJSON

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

func (*CustomImage) SetName

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

func (*CustomImage) SetResourceGroupName

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

type DataDisks added in v1.372.0

type DataDisks struct {
	Lun    *int    `json:"lun,omitempty"`
	SizeGB *int    `json:"sizeGB,omitempty"`
	Type   *string `json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (DataDisks) MarshalJSON added in v1.372.0

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

func (*DataDisks) SetLun added in v1.372.0

func (o *DataDisks) SetLun(v *int) *DataDisks

func (*DataDisks) SetSizeGB added in v1.372.0

func (o *DataDisks) SetSizeGB(v *int) *DataDisks

func (*DataDisks) SetType added in v1.372.0

func (o *DataDisks) SetType(v *string) *DataDisks

type DeleteGroupInput

type DeleteGroupInput struct {
	GroupID *string `json:"groupId,omitempty"`
}

type DeleteGroupOutput

type DeleteGroupOutput struct{}

type Dimensions added in v1.370.0

type Dimensions struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (Dimensions) MarshalJSON added in v1.370.0

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

func (*Dimensions) SetName added in v1.370.0

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

func (*Dimensions) SetValue added in v1.370.0

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

type Extensions added in v1.371.0

type Extensions struct {
	APIVersion                    *string                        `json:"apiVersion,omitempty"`
	EnableAutomaticUpgrade        *bool                          `json:"enableAutomaticUpgrade,omitempty"`
	MinorVersionAutoUpgrade       *bool                          `json:"minorVersionAutoUpgrade,omitempty"`
	Name                          *string                        `json:"name,omitempty"`
	ProtectedSettingsFromKeyVault *ProtectedSettingsFromKeyVault `json:"protectedSettingsFromKeyVault,omitempty"`
	ProtectedSettings             map[string]interface{}         `json:"protectedSettings,omitempty"`
	PublicSettings                map[string]interface{}         `json:"publicSettings,omitempty"`
	Publisher                     *string                        `json:"publisher,omitempty"`
	Type                          *string                        `json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (Extensions) MarshalJSON added in v1.371.0

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

func (*Extensions) SetAPIVersion added in v1.371.0

func (o *Extensions) SetAPIVersion(v *string) *Extensions

func (*Extensions) SetEnableAutomaticUpgrade added in v1.371.0

func (o *Extensions) SetEnableAutomaticUpgrade(v *bool) *Extensions

func (*Extensions) SetMinorVersionAutoUpgrade added in v1.371.0

func (o *Extensions) SetMinorVersionAutoUpgrade(v *bool) *Extensions

func (*Extensions) SetName added in v1.371.0

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

func (*Extensions) SetProtectedSettings added in v1.371.0

func (o *Extensions) SetProtectedSettings(v map[string]interface{}) *Extensions

func (*Extensions) SetProtectedSettingsFromKeyVault added in v1.371.0

func (o *Extensions) SetProtectedSettingsFromKeyVault(v *ProtectedSettingsFromKeyVault) *Extensions

func (*Extensions) SetPublicSettings added in v1.371.0

func (o *Extensions) SetPublicSettings(v map[string]interface{}) *Extensions

func (*Extensions) SetPublisher added in v1.371.0

func (o *Extensions) SetPublisher(v *string) *Extensions

func (*Extensions) SetType added in v1.371.0

func (o *Extensions) SetType(v *string) *Extensions

type GalleryImage added in v1.367.0

type GalleryImage struct {
	GalleryName       *string `json:"galleryName,omitempty"`
	ImageName         *string `json:"imageName,omitempty"`
	ResourceGroupName *string `json:"resourceGroupName,omitempty"`
	SpotAccountId     *string `json:"spotAccountId,omitempty"`
	Version           *string `json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (GalleryImage) MarshalJSON added in v1.367.0

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

func (*GalleryImage) SetGalleryName added in v1.367.0

func (o *GalleryImage) SetGalleryName(v *string) *GalleryImage

func (*GalleryImage) SetImageName added in v1.367.0

func (o *GalleryImage) SetImageName(v *string) *GalleryImage

func (*GalleryImage) SetResourceGroupName added in v1.367.0

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

func (*GalleryImage) SetSpotAccountId added in v1.367.0

func (o *GalleryImage) SetSpotAccountId(v *string) *GalleryImage

func (*GalleryImage) SetVersion added in v1.367.0

func (o *GalleryImage) SetVersion(v *string) *GalleryImage

type Group

type Group struct {
	ID                *string     `json:"id,omitempty"`
	Name              *string     `json:"name,omitempty"`
	ResourceGroupName *string     `json:"resourceGroupName,omitempty"`
	Region            *string     `json:"region,omitempty"`
	Capacity          *Capacity   `json:"capacity,omitempty"`
	Compute           *Compute    `json:"compute,omitempty"`
	Strategy          *Strategy   `json:"strategy,omitempty"`
	Scaling           *Scaling    `json:"scaling,omitempty"`
	Description       *string     `json:"description,omitempty"`
	Health            *Health     `json:"health,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 (Group) MarshalJSON

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

func (*Group) SetCapacity

func (o *Group) SetCapacity(v *Capacity) *Group

func (*Group) SetCompute

func (o *Group) SetCompute(v *Compute) *Group

func (*Group) SetDescription added in v1.372.0

func (o *Group) SetDescription(v *string) *Group

func (*Group) SetHealth added in v1.372.0

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

func (*Group) SetId

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

func (*Group) SetName

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

func (*Group) SetRegion

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

func (*Group) SetResourceGroupName

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

func (*Group) SetScaling added in v1.370.0

func (o *Group) SetScaling(v *Scaling) *Group

func (*Group) SetScheduling added in v1.372.0

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

func (*Group) SetStrategy

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

type Health added in v1.372.0

type Health struct {
	AutoHealing       *bool    `json:"autoHealing,omitempty"`
	GracePeriod       *int     `json:"gracePeriod,omitempty"`
	HealthCheckTypes  []string `json:"healthCheckTypes,omitempty"`
	UnhealthyDuration *int     `json:"unhealthyDuration,omitempty"`
	// contains filtered or unexported fields
}

func (Health) MarshalJSON added in v1.372.0

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

func (*Health) SetAutoHealing added in v1.372.0

func (o *Health) SetAutoHealing(v *bool) *Health

func (*Health) SetGracePeriod added in v1.372.0

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

func (*Health) SetHealthCheckTypes added in v1.372.0

func (o *Health) SetHealthCheckTypes(v []string) *Health

func (*Health) SetUnhealthyDuration added in v1.372.0

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

type Image

type Image struct {
	MarketPlace  *MarketPlaceImage `json:"marketplace,omitempty"`
	Custom       *CustomImage      `json:"custom,omitempty"`
	GalleryImage *GalleryImage     `json:"gallery,omitempty"`
	// contains filtered or unexported fields
}

func (Image) MarshalJSON

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

func (*Image) SetCustom

func (o *Image) SetCustom(v *CustomImage) *Image

func (*Image) SetGalleryImage added in v1.367.0

func (o *Image) SetGalleryImage(v *GalleryImage) *Image

func (*Image) SetMarketPlaceImage

func (o *Image) SetMarketPlaceImage(v *MarketPlaceImage) *Image

type LaunchSpecification

type LaunchSpecification struct {
	Image                    *Image                      `json:"image,omitempty"`
	Network                  *Network                    `json:"network,omitempty"`
	Login                    *Login                      `json:"login,omitempty"`
	CustomData               *string                     `json:"customData,omitempty"`
	ManagedServiceIdentities []*ManagedServiceIdentity   `json:"managedServiceIdentities,omitempty"`
	Tags                     []*Tags                     `json:"tags,omitempty"`
	LoadBalancersConfig      *LoadBalancersConfig        `json:"loadBalancersConfig,omitempty"`
	ShutdownScript           *string                     `json:"shutdownScript,omitempty"`
	Extensions               []*Extensions               `json:"extensions,omitempty"`
	BootDiagnostics          *BootDiagnostics            `json:"bootDiagnostics,omitempty"`
	DataDisks                []*DataDisks                `json:"dataDisks,omitempty"`
	OsDisk                   *OsDisk                     `json:"osDisk,omitempty"`
	ProximityPlacementGroups []*ProximityPlacementGroups `json:"proximityPlacementGroups,omitempty"`
	Secrets                  []*Secrets                  `json:"secrets,omitempty"`
	Security                 *Security                   `json:"security,omitempty"`
	UserData                 *string                     `json:"userData,omitempty"`
	VmNamePrefix             *string                     `json:"vmNamePrefix,omitempty"`
	// contains filtered or unexported fields
}

func (LaunchSpecification) MarshalJSON

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

func (*LaunchSpecification) SetBootDiagnostics added in v1.372.0

func (o *LaunchSpecification) SetBootDiagnostics(v *BootDiagnostics) *LaunchSpecification

func (*LaunchSpecification) SetCustomData added in v1.100.0

func (o *LaunchSpecification) SetCustomData(v *string) *LaunchSpecification

func (*LaunchSpecification) SetDataDisks added in v1.372.0

func (o *LaunchSpecification) SetDataDisks(v []*DataDisks) *LaunchSpecification

func (*LaunchSpecification) SetExtensions added in v1.371.0

func (o *LaunchSpecification) SetExtensions(v []*Extensions) *LaunchSpecification

func (*LaunchSpecification) SetImage

func (*LaunchSpecification) SetLoadBalancersConfig added in v1.106.0

func (o *LaunchSpecification) SetLoadBalancersConfig(v *LoadBalancersConfig) *LaunchSpecification

func (*LaunchSpecification) SetLogin

func (*LaunchSpecification) SetManagedServiceIdentities added in v1.104.0

func (o *LaunchSpecification) SetManagedServiceIdentities(v []*ManagedServiceIdentity) *LaunchSpecification

func (*LaunchSpecification) SetNetwork

func (o *LaunchSpecification) SetNetwork(v *Network) *LaunchSpecification

func (*LaunchSpecification) SetOsDisk added in v1.372.0

func (*LaunchSpecification) SetProximityPlacementGroups added in v1.372.0

func (o *LaunchSpecification) SetProximityPlacementGroups(v []*ProximityPlacementGroups) *LaunchSpecification

func (*LaunchSpecification) SetSecrets added in v1.372.0

func (o *LaunchSpecification) SetSecrets(v []*Secrets) *LaunchSpecification

func (*LaunchSpecification) SetSecurity added in v1.372.0

func (o *LaunchSpecification) SetSecurity(v *Security) *LaunchSpecification

func (*LaunchSpecification) SetShutdownScript added in v1.106.0

func (o *LaunchSpecification) SetShutdownScript(v *string) *LaunchSpecification

SetShutdownScript sets the shutdown script used when draining instances

func (*LaunchSpecification) SetTags added in v1.161.0

func (o *LaunchSpecification) SetTags(v []*Tags) *LaunchSpecification

func (*LaunchSpecification) SetUserData added in v1.372.0

func (o *LaunchSpecification) SetUserData(v *string) *LaunchSpecification

func (*LaunchSpecification) SetVmNamePrefix added in v1.372.0

func (o *LaunchSpecification) SetVmNamePrefix(v *string) *LaunchSpecification

type ListGroupsInput

type ListGroupsInput struct{}

type ListGroupsOutput

type ListGroupsOutput struct {
	Groups []*Group `json:"groups,omitempty"`
}

type LoadBalancer added in v1.106.0

type LoadBalancer struct {
	Type              *string  `json:"type,omitempty"`
	ResourceGroupName *string  `json:"resourceGroupName,omitempty"`
	Name              *string  `json:"name,omitempty"`
	SKU               *string  `json:"sku,omitempty"`
	BackendPoolNames  []string `json:"backendPoolNames,omitempty"`
	// contains filtered or unexported fields
}

func (LoadBalancer) MarshalJSON added in v1.106.0

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

func (*LoadBalancer) SetBackendPoolNames added in v1.372.0

func (o *LoadBalancer) SetBackendPoolNames(v []string) *LoadBalancer

func (*LoadBalancer) SetName added in v1.106.0

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

func (*LoadBalancer) SetResourceGroupName added in v1.106.0

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

func (*LoadBalancer) SetSKU added in v1.106.0

func (o *LoadBalancer) SetSKU(v *string) *LoadBalancer

func (*LoadBalancer) SetType added in v1.106.0

func (o *LoadBalancer) SetType(v *string) *LoadBalancer

type LoadBalancersConfig added in v1.106.0

type LoadBalancersConfig struct {
	LoadBalancers []*LoadBalancer `json:"loadBalancers,omitempty"`
	// contains filtered or unexported fields
}

func (LoadBalancersConfig) MarshalJSON added in v1.106.0

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

func (*LoadBalancersConfig) SetLoadBalancers added in v1.106.0

func (o *LoadBalancersConfig) SetLoadBalancers(v []*LoadBalancer) *LoadBalancersConfig

type Login

type Login struct {
	UserName     *string `json:"userName,omitempty"`
	SSHPublicKey *string `json:"sshPublicKey,omitempty"`
	Password     *string `json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (Login) MarshalJSON

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

func (*Login) SetPassword

func (o *Login) SetPassword(v *string) *Login

func (*Login) SetSSHPublicKey

func (o *Login) SetSSHPublicKey(v *string) *Login

func (*Login) SetUserName

func (o *Login) SetUserName(v *string) *Login

type ManagedServiceIdentity added in v1.104.0

type ManagedServiceIdentity struct {
	ResourceGroupName *string `json:"resourceGroupName,omitempty"`
	Name              *string `json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (ManagedServiceIdentity) MarshalJSON added in v1.104.0

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

func (*ManagedServiceIdentity) SetName added in v1.104.0

func (*ManagedServiceIdentity) SetResourceGroupName added in v1.104.0

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

type MarketPlaceImage

type MarketPlaceImage struct {
	Publisher *string `json:"publisher,omitempty"`
	Offer     *string `json:"offer,omitempty"`
	SKU       *string `json:"sku,omitempty"`
	Version   *string `json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (MarketPlaceImage) MarshalJSON

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

func (*MarketPlaceImage) SetOffer

func (o *MarketPlaceImage) SetOffer(v *string) *MarketPlaceImage

func (*MarketPlaceImage) SetPublisher

func (o *MarketPlaceImage) SetPublisher(v *string) *MarketPlaceImage

func (*MarketPlaceImage) SetSKU

func (o *MarketPlaceImage) SetSKU(v *string) *MarketPlaceImage

func (*MarketPlaceImage) SetVersion

func (o *MarketPlaceImage) SetVersion(v *string) *MarketPlaceImage

type Network

type Network struct {
	VirtualNetworkName *string             `json:"virtualNetworkName,omitempty"`
	ResourceGroupName  *string             `json:"resourceGroupName,omitempty"`
	NetworkInterfaces  []*NetworkInterface `json:"networkInterfaces,omitempty"`
	// contains filtered or unexported fields
}

func (Network) MarshalJSON

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

func (*Network) SetNetworkInterfaces

func (o *Network) SetNetworkInterfaces(v []*NetworkInterface) *Network

func (*Network) SetResourceGroupName

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

func (*Network) SetVirtualNetworkName

func (o *Network) SetVirtualNetworkName(v *string) *Network

type NetworkInterface

type NetworkInterface struct {
	SubnetName                *string                     `json:"subnetName,omitempty"`
	AssignPublicIP            *bool                       `json:"assignPublicIp,omitempty"`
	IsPrimary                 *bool                       `json:"isPrimary,omitempty"`
	AdditionalIPConfigs       []*AdditionalIPConfig       `json:"additionalIpConfigurations,omitempty"`
	ApplicationSecurityGroups []*ApplicationSecurityGroup `json:"applicationSecurityGroups,omitempty"`
	EnableIPForwarding        *bool                       `json:"enableIPForwarding,omitempty"`
	PrivateIpAddresses        []string                    `json:"privateIpAddresses,omitempty"`
	PublicIps                 []*PublicIps                `json:"publicIps,omitempty"`
	PublicIpSku               *string                     `json:"publicIpSku,omitempty"`
	SecurityGroup             *SecurityGroup              `json:"securityGroup,omitempty"`
	// contains filtered or unexported fields
}

func (NetworkInterface) MarshalJSON

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

func (*NetworkInterface) SetAdditionalIPConfigs

func (o *NetworkInterface) SetAdditionalIPConfigs(v []*AdditionalIPConfig) *NetworkInterface

func (*NetworkInterface) SetApplicationSecurityGroups added in v1.90.0

func (o *NetworkInterface) SetApplicationSecurityGroups(v []*ApplicationSecurityGroup) *NetworkInterface

func (*NetworkInterface) SetAssignPublicIP

func (o *NetworkInterface) SetAssignPublicIP(v *bool) *NetworkInterface

func (*NetworkInterface) SetEnableIPForwarding added in v1.372.0

func (o *NetworkInterface) SetEnableIPForwarding(v *bool) *NetworkInterface

func (*NetworkInterface) SetIsPrimary

func (o *NetworkInterface) SetIsPrimary(v *bool) *NetworkInterface

func (*NetworkInterface) SetPrivateIpAddresses added in v1.372.0

func (o *NetworkInterface) SetPrivateIpAddresses(v []string) *NetworkInterface

func (*NetworkInterface) SetPublicIpSku added in v1.372.0

func (o *NetworkInterface) SetPublicIpSku(v *string) *NetworkInterface

func (*NetworkInterface) SetPublicIps added in v1.372.0

func (o *NetworkInterface) SetPublicIps(v []*PublicIps) *NetworkInterface

func (*NetworkInterface) SetSecurityGroup added in v1.372.0

func (o *NetworkInterface) SetSecurityGroup(v *SecurityGroup) *NetworkInterface

func (*NetworkInterface) SetSubnetName

func (o *NetworkInterface) SetSubnetName(v *string) *NetworkInterface

type OsDisk added in v1.372.0

type OsDisk struct {
	SizeGB *int    `json:"sizeGB,omitempty"`
	Type   *string `json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (OsDisk) MarshalJSON added in v1.372.0

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

func (*OsDisk) SetSizeGB added in v1.372.0

func (o *OsDisk) SetSizeGB(v *int) *OsDisk

func (*OsDisk) SetType added in v1.372.0

func (o *OsDisk) SetType(v *string) *OsDisk

type ProtectedSettingsFromKeyVault added in v1.371.0

type ProtectedSettingsFromKeyVault struct {
	SecretUrl   *string `json:"secretUrl,omitempty"`
	SourceVault *string `json:"sourceVault,omitempty"`
	// contains filtered or unexported fields
}

func (ProtectedSettingsFromKeyVault) MarshalJSON added in v1.371.0

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

func (*ProtectedSettingsFromKeyVault) SetSecretUrl added in v1.371.0

func (*ProtectedSettingsFromKeyVault) SetSourceVault added in v1.371.0

type ProximityPlacementGroups added in v1.372.0

type ProximityPlacementGroups struct {
	Name              *string `json:"name,omitempty"`
	ResourceGroupName *string `json:"resourceGroupName,omitempty"`
	// contains filtered or unexported fields
}

func (ProximityPlacementGroups) MarshalJSON added in v1.372.0

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

func (*ProximityPlacementGroups) SetName added in v1.372.0

func (*ProximityPlacementGroups) SetResourceGroupName added in v1.372.0

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

type PublicIps added in v1.372.0

type PublicIps struct {
	Name              *string `json:"name,omitempty"`
	ResourceGroupName *string `json:"resourceGroupName,omitempty"`
	// contains filtered or unexported fields
}

func (PublicIps) MarshalJSON added in v1.372.0

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

func (*PublicIps) SetName added in v1.372.0

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

func (*PublicIps) SetResourceGroupName added in v1.372.0

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

type ReadGroupInput

type ReadGroupInput struct {
	GroupID *string `json:"groupId,omitempty"`
}

type ReadGroupOutput

type ReadGroupOutput struct {
	Group *Group `json:"group,omitempty"`
}

type RevertToSpot added in v1.372.0

type RevertToSpot struct {
	PerformAt *string `json:"performAt,omitempty"`
	// contains filtered or unexported fields
}

func (RevertToSpot) MarshalJSON added in v1.372.0

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

func (*RevertToSpot) SetPerformAt added in v1.372.0

func (o *RevertToSpot) SetPerformAt(v *string) *RevertToSpot

type Scaling added in v1.370.0

type Scaling struct {
	Up   []*ScalingPolicy `json:"up,omitempty"`
	Down []*ScalingPolicy `json:"down,omitempty"`
	// contains filtered or unexported fields
}

func (Scaling) MarshalJSON added in v1.370.0

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

func (*Scaling) SetDown added in v1.370.0

func (o *Scaling) SetDown(v []*ScalingPolicy) *Scaling

func (*Scaling) SetUp added in v1.370.0

func (o *Scaling) SetUp(v []*ScalingPolicy) *Scaling

type ScalingPolicy added in v1.370.0

type ScalingPolicy struct {
	PolicyName        *string       `json:"policyName,omitempty"`
	MetricName        *string       `json:"metricName,omitempty"`
	Namespace         *string       `json:"namespace,omitempty"`
	Statistic         *string       `json:"statistic,omitempty"`
	Unit              *string       `json:"unit,omitempty"`
	Threshold         *float64      `json:"threshold,omitempty"`
	EvaluationPeriods *int          `json:"evaluationPeriods,omitempty"`
	Period            *int          `json:"period,omitempty"`
	Cooldown          *int          `json:"cooldown,omitempty"`
	Operator          *string       `json:"operator,omitempty"`
	Dimensions        []*Dimensions `json:"dimensions,omitempty"`
	Action            *Action       `json:"action,omitempty"`
	Source            *string       `json:"source,omitempty"`
	IsEnabled         *bool         `json:"isEnabled,omitempty"`
	// contains filtered or unexported fields
}

func (ScalingPolicy) MarshalJSON added in v1.370.0

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

func (*ScalingPolicy) SetAction added in v1.370.0

func (o *ScalingPolicy) SetAction(v *Action) *ScalingPolicy

func (*ScalingPolicy) SetCooldown added in v1.370.0

func (o *ScalingPolicy) SetCooldown(v *int) *ScalingPolicy

func (*ScalingPolicy) SetDimensions added in v1.370.0

func (o *ScalingPolicy) SetDimensions(v []*Dimensions) *ScalingPolicy

func (*ScalingPolicy) SetEvaluationPeriods added in v1.370.0

func (o *ScalingPolicy) SetEvaluationPeriods(v *int) *ScalingPolicy

func (*ScalingPolicy) SetIsEnabled added in v1.370.0

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

func (*ScalingPolicy) SetMetricName added in v1.370.0

func (o *ScalingPolicy) SetMetricName(v *string) *ScalingPolicy

func (*ScalingPolicy) SetNamespace added in v1.370.0

func (o *ScalingPolicy) SetNamespace(v *string) *ScalingPolicy

func (*ScalingPolicy) SetOperator added in v1.370.0

func (o *ScalingPolicy) SetOperator(v *string) *ScalingPolicy

func (*ScalingPolicy) SetPeriod added in v1.370.0

func (o *ScalingPolicy) SetPeriod(v *int) *ScalingPolicy

func (*ScalingPolicy) SetPolicyName added in v1.370.0

func (o *ScalingPolicy) SetPolicyName(v *string) *ScalingPolicy

func (*ScalingPolicy) SetSource added in v1.370.0

func (o *ScalingPolicy) SetSource(v *string) *ScalingPolicy

func (*ScalingPolicy) SetStatistic added in v1.370.0

func (o *ScalingPolicy) SetStatistic(v *string) *ScalingPolicy

func (*ScalingPolicy) SetThreshold added in v1.370.0

func (o *ScalingPolicy) SetThreshold(v *float64) *ScalingPolicy

func (*ScalingPolicy) SetUnit added in v1.370.0

func (o *ScalingPolicy) SetUnit(v *string) *ScalingPolicy

type Scheduling added in v1.372.0

type Scheduling struct {
	Tasks []*Tasks `json:"tasks,omitempty"`
	// contains filtered or unexported fields
}

func (Scheduling) MarshalJSON added in v1.372.0

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

func (*Scheduling) SetTasks added in v1.372.0

func (o *Scheduling) SetTasks(v []*Tasks) *Scheduling

type Secrets added in v1.372.0

type Secrets struct {
	SourceVault       *SourceVault         `json:"sourceVault,omitempty"`
	VaultCertificates []*VaultCertificates `json:"vaultCertificates,omitempty"`
	// contains filtered or unexported fields
}

func (Secrets) MarshalJSON added in v1.372.0

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

func (*Secrets) SetSourceVault added in v1.372.0

func (o *Secrets) SetSourceVault(v *SourceVault) *Secrets

func (*Secrets) SetVaultCertificates added in v1.372.0

func (o *Secrets) SetVaultCertificates(v []*VaultCertificates) *Secrets

type Security added in v1.372.0

type Security struct {
	ConfidentialOsDiskEncryption *bool   `json:"confidentialOsDiskEncryption,omitempty"`
	SecureBootEnabled            *bool   `json:"secureBootEnabled,omitempty"`
	SecurityType                 *string `json:"securityType,omitempty"`
	VTpmEnabled                  *bool   `json:"vTpmEnabled,omitempty"`
	// contains filtered or unexported fields
}

func (Security) MarshalJSON added in v1.372.0

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

func (*Security) SetConfidentialOsDiskEncryption added in v1.372.0

func (o *Security) SetConfidentialOsDiskEncryption(v *bool) *Security

func (*Security) SetSecureBootEnabled added in v1.372.0

func (o *Security) SetSecureBootEnabled(v *bool) *Security

func (*Security) SetSecurityType added in v1.372.0

func (o *Security) SetSecurityType(v *string) *Security

func (*Security) SetVTpmEnabled added in v1.372.0

func (o *Security) SetVTpmEnabled(v *bool) *Security

type SecurityGroup added in v1.372.0

type SecurityGroup struct {
	Name              *string `json:"name,omitempty"`
	ResourceGroupName *string `json:"resourceGroupName,omitempty"`
	// contains filtered or unexported fields
}

func (SecurityGroup) MarshalJSON added in v1.372.0

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

func (*SecurityGroup) SetName added in v1.372.0

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

func (*SecurityGroup) SetResourceGroupName added in v1.372.0

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

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) Create

func (s *ServiceOp) Create(ctx context.Context, input *CreateGroupInput) (*CreateGroupOutput, error)

func (*ServiceOp) Delete

func (s *ServiceOp) Delete(ctx context.Context, input *DeleteGroupInput) (*DeleteGroupOutput, error)

func (*ServiceOp) List

func (*ServiceOp) Read

func (s *ServiceOp) Read(ctx context.Context, input *ReadGroupInput) (*ReadGroupOutput, error)

func (*ServiceOp) Update

func (s *ServiceOp) Update(ctx context.Context, input *UpdateGroupInput) (*UpdateGroupOutput, error)

type Signals added in v1.372.0

type Signals struct {
	Type    *string `json:"type,omitempty"`
	Timeout *int    `json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (Signals) MarshalJSON added in v1.372.0

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

func (*Signals) SetTimeout added in v1.372.0

func (o *Signals) SetTimeout(v *int) *Signals

func (*Signals) SetType added in v1.372.0

func (o *Signals) SetType(v *string) *Signals

type SourceVault added in v1.372.0

type SourceVault struct {
	Name              *string `json:"name,omitempty"`
	ResourceGroupName *string `json:"resourceGroupName,omitempty"`
	// contains filtered or unexported fields
}

func (SourceVault) MarshalJSON added in v1.372.0

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

func (*SourceVault) SetName added in v1.372.0

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

func (*SourceVault) SetResourceGroupName added in v1.372.0

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

type Strategy

type Strategy struct {
	OnDemandCount       *int                 `json:"onDemandCount,omitempty"`
	DrainingTimeout     *int                 `json:"drainingTimeout,omitempty"`
	SpotPercentage      *int                 `json:"spotPercentage,omitempty"`
	FallbackToOnDemand  *bool                `json:"fallbackToOd,omitempty"`
	AvailabilityVsCost  *int                 `json:"availabilityVsCost,omitempty"`
	CapacityReservation *CapacityReservation `json:"capacityReservation,omitempty"`
	OptimizationWindows []string             `json:"optimizationWindows,omitempty"`
	RevertToSpot        *RevertToSpot        `json:"revertToSpot,omitempty"`
	Signals             []*Signals           `json:"signals,omitempty"`
	// contains filtered or unexported fields
}

func (Strategy) MarshalJSON

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

func (*Strategy) SetAvailabilityVsCost added in v1.372.0

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

func (*Strategy) SetCapacityReservation added in v1.372.0

func (o *Strategy) SetCapacityReservation(v *CapacityReservation) *Strategy

func (*Strategy) SetDrainingTimeout

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

func (*Strategy) SetFallbackToOnDemand

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

func (*Strategy) SetOnDemandCount

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

func (*Strategy) SetOptimizationWindows added in v1.372.0

func (o *Strategy) SetOptimizationWindows(v []string) *Strategy

func (*Strategy) SetRevertToSpot added in v1.372.0

func (o *Strategy) SetRevertToSpot(v *RevertToSpot) *Strategy

func (*Strategy) SetSignals added in v1.372.0

func (o *Strategy) SetSignals(v []*Signals) *Strategy

func (*Strategy) SetSpotPercentage

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

type Tags added in v1.161.0

type Tags struct {
	TagKey   *string `json:"tagKey,omitempty"`
	TagValue *string `json:"tagValue,omitempty"`
	// contains filtered or unexported fields
}

func (Tags) MarshalJSON added in v1.161.0

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

func (*Tags) SetTagKey added in v1.161.0

func (o *Tags) SetTagKey(v *string) *Tags

func (*Tags) SetTagValue added in v1.161.0

func (o *Tags) SetTagValue(v *string) *Tags

type Tasks added in v1.372.0

type Tasks struct {
	CronExpression       *string `json:"cronExpression,omitempty"`
	IsEnabled            *bool   `json:"isEnabled,omitempty"`
	ScaleMaxCapacity     *int    `json:"scaleMaxCapacity,omitempty"`
	ScaleMinCapacity     *int    `json:"scaleMinCapacity,omitempty"`
	ScaleTargetCapacity  *int    `json:"scaleTargetCapacity,omitempty"`
	Type                 *string `json:"type,omitempty"`
	Adjustment           *int    `json:"adjustment,omitempty"`
	AdjustmentPercentage *int    `json:"adjustmentPercentage,omitempty"`
	BatchSizePercentage  *int    `json:"batchSizePercentage,omitempty"`
	GracePeriod          *int    `json:"gracePeriod,omitempty"`
	// contains filtered or unexported fields
}

func (Tasks) MarshalJSON added in v1.372.0

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

func (*Tasks) SetAdjustment added in v1.372.0

func (o *Tasks) SetAdjustment(v *int) *Tasks

func (*Tasks) SetAdjustmentPercentage added in v1.372.0

func (o *Tasks) SetAdjustmentPercentage(v *int) *Tasks

func (*Tasks) SetBatchSizePercentage added in v1.372.0

func (o *Tasks) SetBatchSizePercentage(v *int) *Tasks

func (*Tasks) SetCronExpression added in v1.372.0

func (o *Tasks) SetCronExpression(v *string) *Tasks

func (*Tasks) SetGracePeriod added in v1.372.0

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

func (*Tasks) SetIsEnabled added in v1.372.0

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

func (*Tasks) SetScaleMaxCapacity added in v1.372.0

func (o *Tasks) SetScaleMaxCapacity(v *int) *Tasks

func (*Tasks) SetScaleMinCapacity added in v1.372.0

func (o *Tasks) SetScaleMinCapacity(v *int) *Tasks

func (*Tasks) SetScaleTargetCapacity added in v1.372.0

func (o *Tasks) SetScaleTargetCapacity(v *int) *Tasks

func (*Tasks) SetType added in v1.372.0

func (o *Tasks) SetType(v *string) *Tasks

type UpdateGroupInput

type UpdateGroupInput struct {
	Group *Group `json:"group,omitempty"`
}

type UpdateGroupOutput

type UpdateGroupOutput struct {
	Group *Group `json:"group,omitempty"`
}

type VMSizes

type VMSizes struct {
	OnDemandSizes      []string `json:"odSizes,omitempty"`
	SpotSizes          []string `json:"spotSizes,omitempty"`
	PreferredSpotSizes []string `json:"preferredSpotSizes,omitempty"`
	// contains filtered or unexported fields
}

func (VMSizes) MarshalJSON

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

func (*VMSizes) SetOnDemandSizes

func (o *VMSizes) SetOnDemandSizes(v []string) *VMSizes

func (*VMSizes) SetPreferredSpotSizes added in v1.372.0

func (o *VMSizes) SetPreferredSpotSizes(v []string) *VMSizes

func (*VMSizes) SetSpotSizes

func (o *VMSizes) SetSpotSizes(v []string) *VMSizes

type VaultCertificates added in v1.372.0

type VaultCertificates struct {
	CertificateStore *string `json:"certificateStore,omitempty"`
	CertificateUrl   *string `json:"certificateUrl,omitepmty"`
	// contains filtered or unexported fields
}

func (VaultCertificates) MarshalJSON added in v1.372.0

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

func (*VaultCertificates) SetCertificateStore added in v1.372.0

func (o *VaultCertificates) SetCertificateStore(v *string) *VaultCertificates

func (*VaultCertificates) SetCertificateUrl added in v1.372.0

func (o *VaultCertificates) SetCertificateUrl(v *string) *VaultCertificates

Jump to

Keyboard shortcuts

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