Categorygithub.com/ionos-cloud/sdk-go-vm-autoscaling
modulepackage
1.1.1
Repository: https://github.com/ionos-cloud/sdk-go-vm-autoscaling.git
Documentation: pkg.go.dev

# README

Go API client for ionoscloud

The VM Auto Scaling Service enables IONOS clients to horizontally scale the number of VM replicas based on configured rules. You can use VM Auto Scaling to ensure that you have a sufficient number of replicas to handle your application loads at all times.

For this purpose, create a VM Auto Scaling Group that contains the server replicas. The VM Auto Scaling Service ensures that the number of replicas in the group is always within the defined limits.

When scaling policies are set, VM Auto Scaling creates or deletes replicas according to the requirements of your applications. For each policy, specified 'scale-in' and 'scale-out' actions are performed when the corresponding thresholds are reached.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1-SDK.1
  • Package version: 1.1.1
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://docs.ionos.com/faq/contact

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import ionoscloud "github.com/ionos-cloud/sdk-go-vm-autoscaling"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), ionoscloud.ContextServerIndex, 1)

Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), ionoscloud.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

Documentation for API Endpoints

All URIs are relative to https://api.ionos.com/autoscaling

ClassMethodHTTP requestDescription
AutoScalingGroupsApiGroupsActionsFindByIdGet /groups/{groupId}/actions/{actionId}Get Scaling Action Details by ID
AutoScalingGroupsApiGroupsActionsGetGet /groups/{groupId}/actionsGet Scaling Actions
AutoScalingGroupsApiGroupsDeleteDelete /groups/{groupId}Delete a VM Auto Scaling Group by ID
AutoScalingGroupsApiGroupsFindByIdGet /groups/{groupId}Get an Auto Scaling by ID
AutoScalingGroupsApiGroupsGetGet /groupsGet VM Auto Scaling Groups
AutoScalingGroupsApiGroupsPostPost /groupsCreate a VM Auto Scaling Group
AutoScalingGroupsApiGroupsPutPut /groups/{groupId}Update a VM Auto Scaling Group by ID
AutoScalingGroupsApiGroupsServersFindByIdGet /groups/{groupId}/servers/{serverId}Get VM Auto Scaling Group Server by ID
AutoScalingGroupsApiGroupsServersGetGet /groups/{groupId}/serversGet VM Auto Scaling Group Servers

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

tokenAuth

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		sw.ContextAPIKeys,
		map[string]sw.APIKey{
			"Authorization": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

[email protected]

# Functions

AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport.
CacheExpires helper function to determine remaining time before repeating a request.
IsNil checks if an input is nil.
NewAction instantiates a new Action object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewActionCollection instantiates a new ActionCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewActionCollectionWithDefaults instantiates a new ActionCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewActionProperties instantiates a new ActionProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewActionPropertiesWithDefaults instantiates a new ActionProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewActionResource instantiates a new ActionResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewActionResourceWithDefaults instantiates a new ActionResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewActionsLinkResource instantiates a new ActionsLinkResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewActionsLinkResourceWithDefaults instantiates a new ActionsLinkResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewActionWithDefaults instantiates a new Action object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewAPIClient creates a new API client.
NewAPIResponse returns a new APIResponse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
NewConfiguration returns a new Configuration object.
No description provided by the author
NewDatacenterServer instantiates a new DatacenterServer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDatacenterServerWithDefaults instantiates a new DatacenterServer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
No description provided by the author
NewError401 instantiates a new Error401 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewError401Message instantiates a new Error401Message object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewError401MessageWithDefaults instantiates a new Error401Message object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewError401WithDefaults instantiates a new Error401 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewError404 instantiates a new Error404 object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewError404Message instantiates a new Error404Message object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewError404MessageWithDefaults instantiates a new Error404Message object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewError404WithDefaults instantiates a new Error404 object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewErrorAuthorize instantiates a new ErrorAuthorize object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewErrorAuthorizeMessage instantiates a new ErrorAuthorizeMessage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewErrorAuthorizeMessageWithDefaults instantiates a new ErrorAuthorizeMessage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewErrorAuthorizeWithDefaults instantiates a new ErrorAuthorize object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewErrorGroupValidate instantiates a new ErrorGroupValidate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewErrorGroupValidateMessage instantiates a new ErrorGroupValidateMessage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewErrorGroupValidateMessageWithDefaults instantiates a new ErrorGroupValidateMessage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewErrorGroupValidateWithDefaults instantiates a new ErrorGroupValidate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewErrorMessage instantiates a new ErrorMessage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewErrorMessageParse instantiates a new ErrorMessageParse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewErrorMessageParseWithDefaults instantiates a new ErrorMessageParse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewErrorMessageWithDefaults instantiates a new ErrorMessage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGenericOpenAPIError - constructor for GenericOpenAPIError.
NewGroup instantiates a new Group object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGroupCollection instantiates a new GroupCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGroupCollectionWithDefaults instantiates a new GroupCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGroupEntities instantiates a new GroupEntities object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGroupEntitiesWithDefaults instantiates a new GroupEntities object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGroupPolicy instantiates a new GroupPolicy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGroupPolicyScaleInAction instantiates a new GroupPolicyScaleInAction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGroupPolicyScaleInActionWithDefaults instantiates a new GroupPolicyScaleInAction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGroupPolicyScaleOutAction instantiates a new GroupPolicyScaleOutAction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGroupPolicyScaleOutActionWithDefaults instantiates a new GroupPolicyScaleOutAction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGroupPolicyWithDefaults instantiates a new GroupPolicy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGroupPost instantiates a new GroupPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGroupPostEntities instantiates a new GroupPostEntities object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGroupPostEntitiesWithDefaults instantiates a new GroupPostEntities object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGroupPostResponse instantiates a new GroupPostResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGroupPostResponseWithDefaults instantiates a new GroupPostResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGroupPostWithDefaults instantiates a new GroupPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGroupProperties instantiates a new GroupProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGroupPropertiesDatacenter instantiates a new GroupPropertiesDatacenter object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGroupPropertiesDatacenterWithDefaults instantiates a new GroupPropertiesDatacenter object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGroupPropertiesWithDefaults instantiates a new GroupProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGroupPut instantiates a new GroupPut object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGroupPutProperties instantiates a new GroupPutProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGroupPutPropertiesDatacenter instantiates a new GroupPutPropertiesDatacenter object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGroupPutPropertiesDatacenterWithDefaults instantiates a new GroupPutPropertiesDatacenter object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGroupPutPropertiesWithDefaults instantiates a new GroupPutProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGroupPutWithDefaults instantiates a new GroupPut object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGroupResource instantiates a new GroupResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGroupResourceWithDefaults instantiates a new GroupResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGroupWithDefaults instantiates a new Group object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewMetadata instantiates a new Metadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewMetadataBasic instantiates a new MetadataBasic object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewMetadataBasicWithDefaults instantiates a new MetadataBasic object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewMetadataWithDefaults instantiates a new Metadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewNicFirewallRule instantiates a new NicFirewallRule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewNicFirewallRuleWithDefaults instantiates a new NicFirewallRule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewNicFlowLog instantiates a new NicFlowLog object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewNicFlowLogWithDefaults instantiates a new NicFlowLog object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewParseError instantiates a new ParseError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewParseErrorWithDefaults instantiates a new ParseError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewReplicaNic instantiates a new ReplicaNic object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewReplicaNicWithDefaults instantiates a new ReplicaNic object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewReplicaPropertiesPost instantiates a new ReplicaPropertiesPost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewReplicaPropertiesPostWithDefaults instantiates a new ReplicaPropertiesPost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewReplicaVolumePost instantiates a new ReplicaVolumePost object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewReplicaVolumePostWithDefaults instantiates a new ReplicaVolumePost object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewServer instantiates a new Server object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewServerCollection instantiates a new ServerCollection object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewServerCollectionWithDefaults instantiates a new ServerCollection object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewServerProperties instantiates a new ServerProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewServerPropertiesWithDefaults instantiates a new ServerProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewServersLinkResource instantiates a new ServersLinkResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewServersLinkResourceWithDefaults instantiates a new ServersLinkResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewServerWithDefaults instantiates a new Server object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewTargetGroup instantiates a new TargetGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewTargetGroupWithDefaults instantiates a new TargetGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
PtrBool - returns a pointer to given boolean value.
PtrFloat32 - returns a pointer to given float value.
PtrFloat64 - returns a pointer to given float value.
PtrInt - returns a pointer to given integer value.
PtrInt32 - returns a pointer to given integer value.
PtrInt64 - returns a pointer to given integer value.
PtrString - returns a pointer to given string value.
PtrTime - returns a pointer to given Time value.
No description provided by the author
ToBool - returns the value of the bool pointer passed in.
ToBoolDefault - returns the value of the bool pointer passed in, or false if the pointer is nil.
ToBoolSlice - returns a bool slice of the pointer passed in.
ToByte - returns the value of the byte pointer passed in.
ToByteDefault - returns the value of the byte pointer passed in, or 0 if the pointer is nil.
ToByteSlice - returns a byte slice of the pointer passed in.
ToFloat32 - returns the value of the float32 pointer passed in.
ToFloat32Default - returns the value of the float32 pointer passed in, or 0 if the pointer is nil.
ToFloat32Slice - returns a float32 slice of the pointer passed in.
ToFloat64 - returns the value of the float64 pointer passed in.
ToFloat64Default - returns the value of the float64 pointer passed in, or 0 if the pointer is nil.
ToFloat64Slice - returns a float64 slice of the pointer passed in.
ToInt - returns the value of the int pointer passed in.
ToInt16 - returns the value of the int16 pointer passed in.
ToInt16Default - returns the value of the int16 pointer passed in, or 0 if the pointer is nil.
ToInt16Slice - returns a int16 slice of the pointer passed in.
ToInt32 - returns the value of the int32 pointer passed in.
ToInt32Default - returns the value of the int32 pointer passed in, or 0 if the pointer is nil.
ToInt32Slice - returns a int32 slice of the pointer passed in.
ToInt64 - returns the value of the int64 pointer passed in.
ToInt64Default - returns the value of the int64 pointer passed in, or 0 if the pointer is nil.
ToInt64Slice - returns a int64 slice of the pointer passed in.
ToInt8 - returns the value of the int8 pointer passed in.
ToInt8Default - returns the value of the int8 pointer passed in, or 0 if the pointer is nil.
ToInt8Slice - returns a int8 slice of the pointer passed in.
ToIntDefault - returns the value of the int pointer passed in, or 0 if the pointer is nil.
ToIntSlice - returns a int slice of the pointer passed in.
ToPtr - returns a pointer to the given value.
ToString - returns the value of the string pointer passed in.
ToStringDefault - returns the value of the string pointer passed in, or "" if the pointer is nil.
ToStringSlice - returns a string slice of the pointer passed in.
ToTime - returns the value of the Time pointer passed in.
ToTimeDefault - returns the value of the Time pointer passed in, or 0001-01-01 00:00:00 +0000 UTC if the pointer is nil.
ToTimeSlice - returns a Time slice of the pointer passed in.
ToUint - returns the value of the uint pointer passed in.
ToUint16 - returns the value of the uint16 pointer passed in.
ToUint16Default - returns the value of the uint16 pointer passed in, or 0 if the pointer is nil.
ToUint16Slice - returns a uint16 slice of the pointer passed in.
ToUint32 - returns the value of the uint32 pointer passed in.
ToUint32Default - returns the value of the uint32 pointer passed in, or 0 if the pointer is nil.
ToUint32Slice - returns a uint32 slice of the pointer passed in.
ToUint64 - returns the value of the uint64 pointer passed in.
ToUint64Default - returns the value of the uint64 pointer passed in, or 0 if the pointer is nil.
ToUint64Slice - returns a uint63 slice of the pointer passed in.
ToUint8 -returns the value of the uint8 pointer passed in.
ToUint8Default - returns the value of the uint8 pointer passed in, or 0 if the pointer is nil.
ToUint8Slice - returns a uint8 slice of the pointer passed in.
ToUintDefault - returns the value of the uint pointer passed in, or 0 if the pointer is nil.
ToUintSlice - returns a uint slice of the pointer passed in.
ToValue - returns the value of the pointer passed in.
ToValueDefault - returns the value of the pointer passed in, or the default type value if the pointer is nil.

# Constants

List of ActionAmount.
List of ActionAmount.
List of ActionStatus.
List of ActionStatus.
List of ActionStatus.
List of ActionType.
List of ActionType.
List of AvailabilityZone.
List of BusType.
List of BusType.
List of CpuFamily.
List of CpuFamily.
List of CpuFamily.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
List of MetadataState.
List of MetadataState.
List of MetadataState.
List of MetadataState.
List of Metric.
List of Metric.
List of Metric.
List of Metric.
List of Metric.
No description provided by the author
List of QueryUnit.
List of QueryUnit.
List of QueryUnit.
List of QueryUnit.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
List of TerminationPolicyType.
List of TerminationPolicyType.
List of TerminationPolicyType.
Trace We recommend you only set this field for debugging purposes.
No description provided by the author
List of VolumeHwType.
List of VolumeHwType.
List of VolumeHwType.
List of VolumeHwType.

# Variables

ContextAccessToken takes a string oauth2 access token as authentication for the request.
ContextAPIKeys takes a string apikey as authentication for the request.
ContextBasicAuth takes BasicAuth as authentication for the request.
ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
ContextOperationServerIndices uses a server configuration from the index mapping.
ContextOperationServerVariables overrides a server configuration variables using operation specific values.
ContextServerIndex uses a server configuration from the index.
ContextServerVariables overrides a server configuration variables.
No description provided by the author
No description provided by the author

# Structs

Action The scaling action associated with a VM Auto Scaling Group.
ActionCollection struct for ActionCollection.
ActionProperties The properties of the resource; the content depends on the resource type.
ActionResource struct for ActionResource.
ActionsLinkResource The scaling actions of the specified VM Auto Scaling Group.
APIClient manages communication with the VM Auto Scaling API API v1-SDK.1 In most cases there should be only one, shared, APIClient.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
APIResponse stores the API response returned by the server.
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
Configuration stores the configuration of the API client.
DatacenterServer struct for DatacenterServer.
Error401 struct for Error401.
Error401Message struct for Error401Message.
Error404 struct for Error404.
Error404Message struct for Error404Message.
ErrorAuthorize struct for ErrorAuthorize.
ErrorAuthorizeMessage struct for ErrorAuthorizeMessage.
ErrorGroupValidate struct for ErrorGroupValidate.
ErrorGroupValidateMessage struct for ErrorGroupValidateMessage.
ErrorMessage struct for ErrorMessage.
ErrorMessageParse struct for ErrorMessageParse.
GenericOpenAPIError Provides access to the body, error and model on returned errors.
Group A group of virtual servers where the number of replicas can be scaled automatically.
GroupCollection struct for GroupCollection.
GroupEntities The entities associated with this resource.
GroupPolicy Defines the behavior of this VM Auto Scaling Group.
GroupPolicyScaleInAction Defines the action to be taken when the 'scaleInThreshold' is exceeded.
GroupPolicyScaleOutAction Defines the action to be performed when the 'scaleOutThreshold' is exceeded.
GroupPost A group of virtual servers where the number of replicas can be scaled automatically.
GroupPostEntities The entities associated with this resource.
GroupPostResponse A group of virtual servers where the number of replicas can be scaled automatically.
GroupProperties struct for GroupProperties.
GroupPropertiesDatacenter The VMs for this VM Auto Scaling Description are created in this virtual data center.
GroupPut The update request for a VM Auto Scaling Group.
GroupPutProperties struct for GroupPutProperties.
GroupPutPropertiesDatacenter The VMs for this VM Auto Scaling Group are created in this virtual data center.
GroupResource struct for GroupResource.
No description provided by the author
Metadata The resource metadata.
MetadataBasic The resource metadata.
NicFirewallRule struct for NicFirewallRule.
NicFlowLog struct for NicFlowLog.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseError struct for ParseError.
ReplicaNic struct for ReplicaNic.
ReplicaPropertiesPost struct for ReplicaPropertiesPost.
ReplicaVolumePost struct for ReplicaVolumePost.
Server Links a data center server to an autoAuto Scaling scaling group.
ServerCollection struct for ServerCollection.
ServerConfiguration stores the information about a server.
ServerProperties struct for ServerProperties.
ServersLinkResource The servers linked to the VM Auto Scaling Group.
ServerVariable stores the information about a server variable.
TargetGroup In order to link VM to ALB, target group must be provided.

# Interfaces

No description provided by the author

# Type aliases

ActionAmount 'amountType=ABSOLUTE' specifies the absolute number of VMs that are added or removed.
ActionStatus the model 'ActionStatus'.
ActionType The type of scaling action.
AutoScalingGroupsApiService AutoScalingGroupsApi service.
AvailabilityZone The zone where the VMs are created.
BusType The bus type of the volume.
CpuFamily The CPU family for the VMs created with this configuration.
No description provided by the author
MetadataState The resource state.
Metric The metric that triggers the scaling actions.
QueryUnit The units of the applied metric.
ServerConfigurations stores multiple ServerConfiguration items.
TerminationPolicyType The type of termination policy for the VM Auto Scaling Group to follow a specific pattern for scaling-in replicas.
TLSDial can be assigned to a http.Transport's DialTLS field.
VolumeHwType The storage type of this replica volume (SSD or HDD).