Documentation ¶
Index ¶
- type Address
- type AddressAssignments
- type AddressListResponse
- type AddressSingleResponse
- type AvailabilityZone
- type AvailabilityZoneCreateRequest
- type AvailabilityZoneListResponse
- type AvailabilityZoneSingleResponse
- type AvailabilityZoneUpdateRequest
- type ComputeClient
- func (c ComputeClient) AttachServerVolume(in ServerVolumeAttachRequest, id string) (ServerVolumeSingleResponse, *http.Response, error)
- func (c ComputeClient) CancelServerAction(id string) (ServerActionSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateAvailabilityZone(in AvailabilityZoneCreateRequest) (AvailabilityZoneSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateNetwork(in NetworkCreateRequest) (NetworkSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateS3AccessKey(in S3AccessKeyCreateRequest) (S3AccessKeySingleResponse, *http.Response, error)
- func (c ComputeClient) CreateS3AccessKeyGrant(in S3AccessGrantCreateRequest, access_key_id string) (S3AccessGrantSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateS3Bucket(in S3BucketCreateRequest) (S3BucketSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateSSHKey(in SSHKeyCreateRequest) (SSHKeySingleResponse, *http.Response, error)
- func (c ComputeClient) CreateScheduledServerAction(in ScheduledServerActionCreateRequest, id string) (ScheduledServerActionSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateServer(in ServerCreateRequest) (ServerSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateServerBackup(in ServerBackupCreateRequest) (ServerBackupSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateServerFirewall(in ServerFirewallCreateRequest) (ServerFirewallSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateServerFirewallMember(in ServerFirewallMemberCreateRequest, id string) (ServerFirewallMemberSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateServerFirewallRule(in ServerFirewallRuleCreateRequest, id string) (ServerFirewallRuleSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateServerHost(in ServerHostCreateRequest) (ServerHostSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateServerMedia(in ServerMediaCreateRequest) (ServerMediaSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateServerNetwork(in ServerNetworkCreateRequest, id string) (ServerNetworkSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateServerPriceRange(in ServerPriceRangeCreateRequest) (ServerPriceRangeSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateServerPriceRangeAssignment(in ServerPriceRangeAssignmentCreateRequest) (ServerPriceRangeAssignmentSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateServerPriceRangeVolumePrice(in ServerVolumePriceCreateRequest, id string) (ServerVolumePriceSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateServerStorage(in ServerStorageCreateRequest) (ServerStorageSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateServerStorageClass(in ServerStorageClassCreateRequest) (ServerStorageClassSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateServerTemplate(in ServerTemplateCreateRequest) (ServerTemplateSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateServerVariant(in ServerVariantCreateRequest) (ServerVariantSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateServerVariantPrice(in ServerVariantPriceCreateRequest, id string) (ServerVariantPriceSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateServerVolume(in ServerVolumeCreateRequest) (ServerVolumeSingleResponse, *http.Response, error)
- func (c ComputeClient) CreateSubnet(in SubnetCreateRequest) (SubnetSingleResponse, *http.Response, error)
- func (c ComputeClient) DeleteS3AccessKey(id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) DeleteS3AccessKeyGrant(access_key_id string, id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) DeleteS3Bucket(id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) DeleteSSHKey(id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) DeleteScheduledServerAction(id string, action_id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) DeleteServer(id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) DeleteServerBackup(id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) DeleteServerFirewall(id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) DeleteServerFirewallMember(id string, member_id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) DeleteServerFirewallRule(id string, rule_id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) DeleteServerMedia(id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) DeleteServerNetwork(id string, network_id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) DeleteServerPriceRangeAssignment(id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) DeleteServerPriceRangeVolumePrice(id string, class_id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) DeleteServerVariant(id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) DeleteServerVariantPrice(id string, variant_id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) DeleteServerVolume(id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) DeleteSubnet(id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) DetachServerVolume(id string, qParams DetachServerVolumeQueryParams) (ServerVolumeSingleResponse, *http.Response, error)
- func (c ComputeClient) GetAddress(id string) (AddressSingleResponse, *http.Response, error)
- func (c ComputeClient) GetAddresses(qParams GetAddressesQueryParams) (AddressListResponse, *http.Response, error)
- func (c ComputeClient) GetAvailabilityZone(id string) (AvailabilityZoneSingleResponse, *http.Response, error)
- func (c ComputeClient) GetAvailabilityZones(qParams GetAvailabilityZonesQueryParams) (AvailabilityZoneListResponse, *http.Response, error)
- func (c *ComputeClient) GetCurrentProject() string
- func (c ComputeClient) GetLabels(qParams GetLabelsQueryParams) (LabelListResponse, *http.Response, error)
- func (c ComputeClient) GetNetwork(id string) (NetworkSingleResponse, *http.Response, error)
- func (c ComputeClient) GetNetworks(qParams GetNetworksQueryParams) (NetworkListResponse, *http.Response, error)
- func (c ComputeClient) GetS3AccessKey(id string) (S3AccessKeySingleResponse, *http.Response, error)
- func (c ComputeClient) GetS3AccessKeyGrants(access_key_id string, qParams GetS3AccessKeyGrantsQueryParams) (S3AccessGrantListResponse, *http.Response, error)
- func (c ComputeClient) GetS3AccessKeys(qParams GetS3AccessKeysQueryParams) (S3AccessKeyListResponse, *http.Response, error)
- func (c ComputeClient) GetS3Bucket(id string) (S3BucketSingleResponse, *http.Response, error)
- func (c ComputeClient) GetS3Buckets(qParams GetS3BucketsQueryParams) (S3BucketListResponse, *http.Response, error)
- func (c ComputeClient) GetSSHKey(id string) (SSHKeySingleResponse, *http.Response, error)
- func (c ComputeClient) GetSSHKeys(qParams GetSSHKeysQueryParams) (SSHKeyListResponse, *http.Response, error)
- func (c ComputeClient) GetScheduledServerAction(id string, action_id string) (ScheduledServerActionSingleResponse, *http.Response, error)
- func (c ComputeClient) GetScheduledServerActions(id string, qParams GetScheduledServerActionsQueryParams) (ScheduledServerActionListResponse, *http.Response, error)
- func (c ComputeClient) GetServer(id string) (ServerSingleResponse, *http.Response, error)
- func (c ComputeClient) GetServerAction(id string) (ServerActionSingleResponse, *http.Response, error)
- func (c ComputeClient) GetServerActions(qParams GetServerActionsQueryParams) (ServerActionListResponse, *http.Response, error)
- func (c ComputeClient) GetServerBackup(id string) (ServerBackupSingleResponse, *http.Response, error)
- func (c ComputeClient) GetServerBackups(qParams GetServerBackupsQueryParams) (ServerBackupListResponse, *http.Response, error)
- func (c ComputeClient) GetServerFirewall(id string) (ServerFirewallSingleResponse, *http.Response, error)
- func (c ComputeClient) GetServerFirewallMember(id string, member_id string) (ServerFirewallMemberSingleResponse, *http.Response, error)
- func (c ComputeClient) GetServerFirewallMembers(id string, qParams GetServerFirewallMembersQueryParams) (ServerFirewallMemberListResponse, *http.Response, error)
- func (c ComputeClient) GetServerFirewallRule(id string, rule_id string) (ServerFirewallRuleSingleResponse, *http.Response, error)
- func (c ComputeClient) GetServerFirewallRules(id string, qParams GetServerFirewallRulesQueryParams) (ServerFirewallRuleListResponse, *http.Response, error)
- func (c ComputeClient) GetServerFirewalls(qParams GetServerFirewallsQueryParams) (ServerFirewallListResponse, *http.Response, error)
- func (c ComputeClient) GetServerGraph(id string, qParams GetServerGraphQueryParams) (ServerGraphResponse, *http.Response, error)
- func (c ComputeClient) GetServerHost(id string) (ServerHostSingleResponse, *http.Response, error)
- func (c ComputeClient) GetServerHosts(qParams GetServerHostsQueryParams) (ServerHostListResponse, *http.Response, error)
- func (c ComputeClient) GetServerMedia(id string) (ServerMediaSingleResponse, *http.Response, error)
- func (c ComputeClient) GetServerMedias(qParams GetServerMediasQueryParams) (ServerMediaListResponse, *http.Response, error)
- func (c ComputeClient) GetServerNetworks(id string, qParams GetServerNetworksQueryParams) (ServerNetworkListResponse, *http.Response, error)
- func (c ComputeClient) GetServerPriceRange(id string) (ServerPriceRangeSingleResponse, *http.Response, error)
- func (c ComputeClient) GetServerPriceRangeAssignment(id string) (ServerPriceRangeAssignmentSingleResponse, *http.Response, error)
- func (c ComputeClient) GetServerPriceRangeAssignments(qParams GetServerPriceRangeAssignmentsQueryParams) (ServerPriceRangeAssignmentListResponse, *http.Response, error)
- func (c ComputeClient) GetServerPriceRangeVolumePrice(id string, class_id string) (ServerVolumePriceSingleResponse, *http.Response, error)
- func (c ComputeClient) GetServerPriceRangeVolumePrices(id string, qParams GetServerPriceRangeVolumePricesQueryParams) (ServerVolumePriceListResponse, *http.Response, error)
- func (c ComputeClient) GetServerPriceRanges(qParams GetServerPriceRangesQueryParams) (ServerPriceRangeListResponse, *http.Response, error)
- func (c ComputeClient) GetServerPricing(qParams GetServerPricingQueryParams) (ServerVariantPriceListResponse, *http.Response, error)
- func (c ComputeClient) GetServerStatus(id string) (ServerStatusResponse, *http.Response, error)
- func (c ComputeClient) GetServerStorage(id string) (ServerStorageSingleResponse, *http.Response, error)
- func (c ComputeClient) GetServerStorageClass(id string) (ServerStorageClassSingleResponse, *http.Response, error)
- func (c ComputeClient) GetServerStorageClasses(qParams GetServerStorageClassesQueryParams) (ServerStorageClassListResponse, *http.Response, error)
- func (c ComputeClient) GetServerStorages(qParams GetServerStoragesQueryParams) (ServerStorageListResponse, *http.Response, error)
- func (c ComputeClient) GetServerTemplate(id string) (ServerTemplateSingleResponse, *http.Response, error)
- func (c ComputeClient) GetServerTemplates(qParams GetServerTemplatesQueryParams) (ServerTemplateListResponse, *http.Response, error)
- func (c ComputeClient) GetServerVNC(id string) (ServerVNCResponse, *http.Response, error)
- func (c ComputeClient) GetServerVariant(id string) (ServerVariantSingleResponse, *http.Response, error)
- func (c ComputeClient) GetServerVariantPrice(id string, variant_id string) (ServerVariantPriceSingleResponse, *http.Response, error)
- func (c ComputeClient) GetServerVariantPrices(id string, qParams GetServerVariantPricesQueryParams) (ServerVariantPriceListResponse, *http.Response, error)
- func (c ComputeClient) GetServerVariants(qParams GetServerVariantsQueryParams) (ServerVariantListResponse, *http.Response, error)
- func (c ComputeClient) GetServerVolume(id string) (ServerVolumeSingleResponse, *http.Response, error)
- func (c ComputeClient) GetServerVolumePricing(qParams GetServerVolumePricingQueryParams) (ServerVolumePriceListResponse, *http.Response, error)
- func (c ComputeClient) GetServerVolumes(qParams GetServerVolumesQueryParams) (ServerVolumeListResponse, *http.Response, error)
- func (c ComputeClient) GetServers(qParams GetServersQueryParams) (ServerListResponse, *http.Response, error)
- func (c ComputeClient) GetSubnet(id string) (SubnetSingleResponse, *http.Response, error)
- func (c ComputeClient) GetSubnets(qParams GetSubnetsQueryParams) (SubnetListResponse, *http.Response, error)
- func (c ComputeClient) MountServerMedia(in ServerMediaMountRequest, id string) (ServerSingleResponse, *http.Response, error)
- func (c ComputeClient) RecreateServer(id string) (EmptyResponse, *http.Response, error)
- func (c *ComputeClient) Request(method string, path string, postBody io.Reader) (*http.Response, []byte, error)
- func (c ComputeClient) ResizeServer(in ServerResizeRequest, id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) ResizeServerVolume(in ServerVolumeResizeRequest, id string) (ServerVolumeSingleResponse, *http.Response, error)
- func (c ComputeClient) RestartServer(id string) (ServerActionSingleResponse, *http.Response, error)
- func (c ComputeClient) RestoreServer(in ServerRestoreRequest, id string) (ScheduledServerActionSingleResponse, *http.Response, error)
- func (c ComputeClient) Search(qParams SearchQueryParams) (SearchResponse, *http.Response, error)
- func (c *ComputeClient) SetAccessToken(token string)
- func (c *ComputeClient) SetCurrentProject(project string)
- func (c *ComputeClient) SetHttpClient(client *http.Client)
- func (c ComputeClient) ShutdownServer(id string, qParams ShutdownServerQueryParams) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) StartServer(id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) StopServer(id string) (EmptyResponse, *http.Response, error)
- func (c ComputeClient) UnmountServerMedia(id string) (ServerSingleResponse, *http.Response, error)
- func (c ComputeClient) UpdateAvailabilityZone(in AvailabilityZoneUpdateRequest, id string) (AvailabilityZoneSingleResponse, *http.Response, error)
- func (c ComputeClient) UpdateNetwork(in NetworkUpdateRequest, id string) (NetworkSingleResponse, *http.Response, error)
- func (c ComputeClient) UpdateSSHKey(in SSHKeyUpdateRequest, id string) (SSHKeySingleResponse, *http.Response, error)
- func (c ComputeClient) UpdateScheduledServerAction(in ScheduledServerActionUpdateRequest, id string, action_id string) (ScheduledServerActionSingleResponse, *http.Response, error)
- func (c ComputeClient) UpdateServer(in ServerUpdateRequest, id string) (ServerSingleResponse, *http.Response, error)
- func (c ComputeClient) UpdateServerBackup(in ServerBackupUpdateRequest, id string) (ServerBackupSingleResponse, *http.Response, error)
- func (c ComputeClient) UpdateServerFirewallRule(in ServerFirewallRuleUpdateRequest, id string, rule_id string) (ServerFirewallRuleSingleResponse, *http.Response, error)
- func (c ComputeClient) UpdateServerHost(in ServerHostUpdateRequest, id string) (ServerHostSingleResponse, *http.Response, error)
- func (c ComputeClient) UpdateServerPriceRangeAssignment(in ServerPriceRangeAssignmentUpdateRequest, id string) (ServerPriceRangeAssignmentSingleResponse, *http.Response, error)
- func (c ComputeClient) UpdateServerPriceRangeVolumePrice(in ServerVolumePriceUpdateRequest, id string, class_id string) (ServerVolumePriceSingleResponse, *http.Response, error)
- func (c ComputeClient) UpdateServerVariantPrice(in ServerVariantPriceUpdateRequest, id string, variant_id string) (ServerVariantPriceSingleResponse, *http.Response, error)
- func (c ComputeClient) UpdateServerVolume(in ServerVolumeUpdateRequest, id string) (ServerVolumeSingleResponse, *http.Response, error)
- type DetachServerVolumeQueryParams
- type EmptyResponse
- type GetAddressesQueryParams
- type GetAddressesQueryParamsFilter
- type GetAvailabilityZonesQueryParams
- type GetAvailabilityZonesQueryParamsFilter
- type GetLabelsQueryParams
- type GetLabelsQueryParamsFilter
- type GetNetworksQueryParams
- type GetNetworksQueryParamsFilter
- type GetS3AccessKeyGrantsQueryParams
- type GetS3AccessKeyGrantsQueryParamsFilter
- type GetS3AccessKeysQueryParams
- type GetS3AccessKeysQueryParamsFilter
- type GetS3BucketsQueryParams
- type GetS3BucketsQueryParamsFilter
- type GetSSHKeysQueryParams
- type GetSSHKeysQueryParamsFilter
- type GetScheduledServerActionsQueryParams
- type GetServerActionsQueryParams
- type GetServerActionsQueryParamsFilter
- type GetServerBackupsQueryParams
- type GetServerBackupsQueryParamsFilter
- type GetServerFirewallMembersQueryParams
- type GetServerFirewallMembersQueryParamsFilter
- type GetServerFirewallRulesQueryParams
- type GetServerFirewallRulesQueryParamsFilter
- type GetServerFirewallsQueryParams
- type GetServerFirewallsQueryParamsFilter
- type GetServerGraphQueryParams
- type GetServerHostsQueryParams
- type GetServerHostsQueryParamsFilter
- type GetServerMediasQueryParams
- type GetServerMediasQueryParamsFilter
- type GetServerNetworksQueryParams
- type GetServerNetworksQueryParamsFilter
- type GetServerPriceRangeAssignmentsQueryParams
- type GetServerPriceRangeAssignmentsQueryParamsFilter
- type GetServerPriceRangeVolumePricesQueryParams
- type GetServerPriceRangeVolumePricesQueryParamsFilter
- type GetServerPriceRangesQueryParams
- type GetServerPriceRangesQueryParamsFilter
- type GetServerPricingQueryParams
- type GetServerPricingQueryParamsFilter
- type GetServerStorageClassesQueryParams
- type GetServerStorageClassesQueryParamsFilter
- type GetServerStoragesQueryParams
- type GetServerStoragesQueryParamsFilter
- type GetServerTemplatesQueryParams
- type GetServerTemplatesQueryParamsFilter
- type GetServerVariantPricesQueryParams
- type GetServerVariantsQueryParams
- type GetServerVariantsQueryParamsFilter
- type GetServerVolumePricingQueryParams
- type GetServerVolumePricingQueryParamsFilter
- type GetServerVolumesQueryParams
- type GetServerVolumesQueryParamsFilter
- type GetServersQueryParams
- type GetServersQueryParamsFilter
- type GetSubnetsQueryParams
- type GetSubnetsQueryParamsFilter
- type InvalidRequestResponse
- type Label
- type LabelListResponse
- type Network
- type NetworkCreateRequest
- type NetworkListResponse
- type NetworkSingleResponse
- type NetworkType
- type NetworkUpdateRequest
- type ObjectType
- type ResponseMessage
- type ResponseMessages
- type ResponseMetadata
- type ResponsePagination
- type S3AccessGrant
- type S3AccessGrantCreateRequest
- type S3AccessGrantListResponse
- type S3AccessGrantSingleResponse
- type S3AccessKey
- type S3AccessKeyCreateRequest
- type S3AccessKeyListResponse
- type S3AccessKeySingleResponse
- type S3Bucket
- type S3BucketCreateRequest
- type S3BucketListResponse
- type S3BucketSingleResponse
- type SSHKey
- type SSHKeyCreateRequest
- type SSHKeyListResponse
- type SSHKeySingleResponse
- type SSHKeyUpdateRequest
- type ScheduledServerAction
- type ScheduledServerActionCreateRequest
- type ScheduledServerActionInterval
- type ScheduledServerActionListResponse
- type ScheduledServerActionSingleResponse
- type ScheduledServerActionUpdateRequest
- type SearchQueryParams
- type SearchQueryParamsLabels
- type SearchResponse
- type SearchResults
- type Server
- type ServerAction
- type ServerActionListResponse
- type ServerActionSingleResponse
- type ServerActionState
- type ServerActionType
- type ServerBackup
- type ServerBackupCreateRequest
- type ServerBackupListResponse
- type ServerBackupSingleResponse
- type ServerBackupState
- type ServerBackupUpdateRequest
- type ServerCreateRequest
- type ServerCreateRequestNetwork
- type ServerFirewall
- type ServerFirewallCreateRequest
- type ServerFirewallListResponse
- type ServerFirewallMember
- type ServerFirewallMemberCreateRequest
- type ServerFirewallMemberListResponse
- type ServerFirewallMemberSingleResponse
- type ServerFirewallMemberType
- type ServerFirewallRule
- type ServerFirewallRuleCreateRequest
- type ServerFirewallRuleListResponse
- type ServerFirewallRuleProtocol
- type ServerFirewallRuleSingleResponse
- type ServerFirewallRuleType
- type ServerFirewallRuleUpdateRequest
- type ServerFirewallSingleResponse
- type ServerGraphEntry
- type ServerGraphResponse
- type ServerHost
- type ServerHostCreateRequest
- type ServerHostListResponse
- type ServerHostSingleResponse
- type ServerHostUpdateRequest
- type ServerListResponse
- type ServerMedia
- type ServerMediaCreateRequest
- type ServerMediaListResponse
- type ServerMediaMountRequest
- type ServerMediaSingleResponse
- type ServerNetwork
- type ServerNetworkCreateRequest
- type ServerNetworkListResponse
- type ServerNetworkSingleResponse
- type ServerPriceRange
- type ServerPriceRangeAssignment
- type ServerPriceRangeAssignmentCreateRequest
- type ServerPriceRangeAssignmentListResponse
- type ServerPriceRangeAssignmentSingleResponse
- type ServerPriceRangeAssignmentUpdateRequest
- type ServerPriceRangeCreateRequest
- type ServerPriceRangeListResponse
- type ServerPriceRangeSingleResponse
- type ServerResizeRequest
- type ServerRestoreRequest
- type ServerSingleResponse
- type ServerState
- type ServerStatus
- type ServerStatusResponse
- type ServerStorage
- type ServerStorageClass
- type ServerStorageClassCreateRequest
- type ServerStorageClassListResponse
- type ServerStorageClassSingleResponse
- type ServerStorageCreateRequest
- type ServerStorageListResponse
- type ServerStorageSingleResponse
- type ServerTemplate
- type ServerTemplateCreateRequest
- type ServerTemplateListResponse
- type ServerTemplateSingleResponse
- type ServerUpdateRequest
- type ServerVNC
- type ServerVNCResponse
- type ServerVariant
- type ServerVariantCreateRequest
- type ServerVariantListResponse
- type ServerVariantPrice
- type ServerVariantPriceCreateRequest
- type ServerVariantPriceListResponse
- type ServerVariantPriceSingleResponse
- type ServerVariantPriceUpdateRequest
- type ServerVariantSingleResponse
- type ServerVolume
- type ServerVolumeAttachRequest
- type ServerVolumeCreateRequest
- type ServerVolumeListResponse
- type ServerVolumePrice
- type ServerVolumePriceCreateRequest
- type ServerVolumePriceListResponse
- type ServerVolumePriceSingleResponse
- type ServerVolumePriceUpdateRequest
- type ServerVolumeResizeRequest
- type ServerVolumeSingleResponse
- type ServerVolumeUpdateRequest
- type ShutdownServerQueryParams
- type Subnet
- type SubnetCreateRequest
- type SubnetListResponse
- type SubnetSingleResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressAssignments ¶
type AddressAssignments struct { AssignedType ObjectType `json:"assigned_type"` AssignedId string `json:"assigned_id"` }
type AddressListResponse ¶
type AddressListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []Address `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type AddressSingleResponse ¶
type AddressSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data Address `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type AvailabilityZone ¶
type AvailabilityZoneListResponse ¶
type AvailabilityZoneListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []AvailabilityZone `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type AvailabilityZoneSingleResponse ¶
type AvailabilityZoneSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data AvailabilityZone `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ComputeClient ¶
type ComputeClient struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(apiKey string) ComputeClient
func NewClientWithUrl ¶
func NewClientWithUrl(apiKey string, baseUrl string) ComputeClient
func (ComputeClient) AttachServerVolume ¶
func (c ComputeClient) AttachServerVolume(in ServerVolumeAttachRequest, id string) (ServerVolumeSingleResponse, *http.Response, error)
func (ComputeClient) CancelServerAction ¶
func (c ComputeClient) CancelServerAction(id string) (ServerActionSingleResponse, *http.Response, error)
func (ComputeClient) CreateAvailabilityZone ¶
func (c ComputeClient) CreateAvailabilityZone(in AvailabilityZoneCreateRequest) (AvailabilityZoneSingleResponse, *http.Response, error)
func (ComputeClient) CreateNetwork ¶
func (c ComputeClient) CreateNetwork(in NetworkCreateRequest) (NetworkSingleResponse, *http.Response, error)
func (ComputeClient) CreateS3AccessKey ¶
func (c ComputeClient) CreateS3AccessKey(in S3AccessKeyCreateRequest) (S3AccessKeySingleResponse, *http.Response, error)
func (ComputeClient) CreateS3AccessKeyGrant ¶
func (c ComputeClient) CreateS3AccessKeyGrant(in S3AccessGrantCreateRequest, access_key_id string) (S3AccessGrantSingleResponse, *http.Response, error)
func (ComputeClient) CreateS3Bucket ¶
func (c ComputeClient) CreateS3Bucket(in S3BucketCreateRequest) (S3BucketSingleResponse, *http.Response, error)
func (ComputeClient) CreateSSHKey ¶
func (c ComputeClient) CreateSSHKey(in SSHKeyCreateRequest) (SSHKeySingleResponse, *http.Response, error)
func (ComputeClient) CreateScheduledServerAction ¶
func (c ComputeClient) CreateScheduledServerAction(in ScheduledServerActionCreateRequest, id string) (ScheduledServerActionSingleResponse, *http.Response, error)
func (ComputeClient) CreateServer ¶
func (c ComputeClient) CreateServer(in ServerCreateRequest) (ServerSingleResponse, *http.Response, error)
func (ComputeClient) CreateServerBackup ¶
func (c ComputeClient) CreateServerBackup(in ServerBackupCreateRequest) (ServerBackupSingleResponse, *http.Response, error)
func (ComputeClient) CreateServerFirewall ¶
func (c ComputeClient) CreateServerFirewall(in ServerFirewallCreateRequest) (ServerFirewallSingleResponse, *http.Response, error)
func (ComputeClient) CreateServerFirewallMember ¶
func (c ComputeClient) CreateServerFirewallMember(in ServerFirewallMemberCreateRequest, id string) (ServerFirewallMemberSingleResponse, *http.Response, error)
func (ComputeClient) CreateServerFirewallRule ¶
func (c ComputeClient) CreateServerFirewallRule(in ServerFirewallRuleCreateRequest, id string) (ServerFirewallRuleSingleResponse, *http.Response, error)
func (ComputeClient) CreateServerHost ¶
func (c ComputeClient) CreateServerHost(in ServerHostCreateRequest) (ServerHostSingleResponse, *http.Response, error)
func (ComputeClient) CreateServerMedia ¶
func (c ComputeClient) CreateServerMedia(in ServerMediaCreateRequest) (ServerMediaSingleResponse, *http.Response, error)
func (ComputeClient) CreateServerNetwork ¶
func (c ComputeClient) CreateServerNetwork(in ServerNetworkCreateRequest, id string) (ServerNetworkSingleResponse, *http.Response, error)
func (ComputeClient) CreateServerPriceRange ¶
func (c ComputeClient) CreateServerPriceRange(in ServerPriceRangeCreateRequest) (ServerPriceRangeSingleResponse, *http.Response, error)
func (ComputeClient) CreateServerPriceRangeAssignment ¶
func (c ComputeClient) CreateServerPriceRangeAssignment(in ServerPriceRangeAssignmentCreateRequest) (ServerPriceRangeAssignmentSingleResponse, *http.Response, error)
func (ComputeClient) CreateServerPriceRangeVolumePrice ¶
func (c ComputeClient) CreateServerPriceRangeVolumePrice(in ServerVolumePriceCreateRequest, id string) (ServerVolumePriceSingleResponse, *http.Response, error)
func (ComputeClient) CreateServerStorage ¶
func (c ComputeClient) CreateServerStorage(in ServerStorageCreateRequest) (ServerStorageSingleResponse, *http.Response, error)
func (ComputeClient) CreateServerStorageClass ¶
func (c ComputeClient) CreateServerStorageClass(in ServerStorageClassCreateRequest) (ServerStorageClassSingleResponse, *http.Response, error)
func (ComputeClient) CreateServerTemplate ¶
func (c ComputeClient) CreateServerTemplate(in ServerTemplateCreateRequest) (ServerTemplateSingleResponse, *http.Response, error)
func (ComputeClient) CreateServerVariant ¶
func (c ComputeClient) CreateServerVariant(in ServerVariantCreateRequest) (ServerVariantSingleResponse, *http.Response, error)
func (ComputeClient) CreateServerVariantPrice ¶
func (c ComputeClient) CreateServerVariantPrice(in ServerVariantPriceCreateRequest, id string) (ServerVariantPriceSingleResponse, *http.Response, error)
func (ComputeClient) CreateServerVolume ¶
func (c ComputeClient) CreateServerVolume(in ServerVolumeCreateRequest) (ServerVolumeSingleResponse, *http.Response, error)
func (ComputeClient) CreateSubnet ¶
func (c ComputeClient) CreateSubnet(in SubnetCreateRequest) (SubnetSingleResponse, *http.Response, error)
func (ComputeClient) DeleteS3AccessKey ¶
func (c ComputeClient) DeleteS3AccessKey(id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) DeleteS3AccessKeyGrant ¶
func (c ComputeClient) DeleteS3AccessKeyGrant(access_key_id string, id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) DeleteS3Bucket ¶
func (c ComputeClient) DeleteS3Bucket(id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) DeleteSSHKey ¶
func (c ComputeClient) DeleteSSHKey(id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) DeleteScheduledServerAction ¶
func (c ComputeClient) DeleteScheduledServerAction(id string, action_id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) DeleteServer ¶
func (c ComputeClient) DeleteServer(id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) DeleteServerBackup ¶
func (c ComputeClient) DeleteServerBackup(id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) DeleteServerFirewall ¶
func (c ComputeClient) DeleteServerFirewall(id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) DeleteServerFirewallMember ¶
func (c ComputeClient) DeleteServerFirewallMember(id string, member_id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) DeleteServerFirewallRule ¶
func (c ComputeClient) DeleteServerFirewallRule(id string, rule_id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) DeleteServerMedia ¶
func (c ComputeClient) DeleteServerMedia(id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) DeleteServerNetwork ¶
func (c ComputeClient) DeleteServerNetwork(id string, network_id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) DeleteServerPriceRangeAssignment ¶
func (c ComputeClient) DeleteServerPriceRangeAssignment(id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) DeleteServerPriceRangeVolumePrice ¶
func (c ComputeClient) DeleteServerPriceRangeVolumePrice(id string, class_id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) DeleteServerVariant ¶
func (c ComputeClient) DeleteServerVariant(id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) DeleteServerVariantPrice ¶
func (c ComputeClient) DeleteServerVariantPrice(id string, variant_id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) DeleteServerVolume ¶
func (c ComputeClient) DeleteServerVolume(id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) DeleteSubnet ¶
func (c ComputeClient) DeleteSubnet(id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) DetachServerVolume ¶
func (c ComputeClient) DetachServerVolume(id string, qParams DetachServerVolumeQueryParams) (ServerVolumeSingleResponse, *http.Response, error)
func (ComputeClient) GetAddress ¶
func (c ComputeClient) GetAddress(id string) (AddressSingleResponse, *http.Response, error)
func (ComputeClient) GetAddresses ¶
func (c ComputeClient) GetAddresses(qParams GetAddressesQueryParams) (AddressListResponse, *http.Response, error)
func (ComputeClient) GetAvailabilityZone ¶
func (c ComputeClient) GetAvailabilityZone(id string) (AvailabilityZoneSingleResponse, *http.Response, error)
func (ComputeClient) GetAvailabilityZones ¶
func (c ComputeClient) GetAvailabilityZones(qParams GetAvailabilityZonesQueryParams) (AvailabilityZoneListResponse, *http.Response, error)
func (*ComputeClient) GetCurrentProject ¶
func (c *ComputeClient) GetCurrentProject() string
func (ComputeClient) GetLabels ¶
func (c ComputeClient) GetLabels(qParams GetLabelsQueryParams) (LabelListResponse, *http.Response, error)
func (ComputeClient) GetNetwork ¶
func (c ComputeClient) GetNetwork(id string) (NetworkSingleResponse, *http.Response, error)
func (ComputeClient) GetNetworks ¶
func (c ComputeClient) GetNetworks(qParams GetNetworksQueryParams) (NetworkListResponse, *http.Response, error)
func (ComputeClient) GetS3AccessKey ¶
func (c ComputeClient) GetS3AccessKey(id string) (S3AccessKeySingleResponse, *http.Response, error)
func (ComputeClient) GetS3AccessKeyGrants ¶
func (c ComputeClient) GetS3AccessKeyGrants(access_key_id string, qParams GetS3AccessKeyGrantsQueryParams) (S3AccessGrantListResponse, *http.Response, error)
func (ComputeClient) GetS3AccessKeys ¶
func (c ComputeClient) GetS3AccessKeys(qParams GetS3AccessKeysQueryParams) (S3AccessKeyListResponse, *http.Response, error)
func (ComputeClient) GetS3Bucket ¶
func (c ComputeClient) GetS3Bucket(id string) (S3BucketSingleResponse, *http.Response, error)
func (ComputeClient) GetS3Buckets ¶
func (c ComputeClient) GetS3Buckets(qParams GetS3BucketsQueryParams) (S3BucketListResponse, *http.Response, error)
func (ComputeClient) GetSSHKey ¶
func (c ComputeClient) GetSSHKey(id string) (SSHKeySingleResponse, *http.Response, error)
func (ComputeClient) GetSSHKeys ¶
func (c ComputeClient) GetSSHKeys(qParams GetSSHKeysQueryParams) (SSHKeyListResponse, *http.Response, error)
func (ComputeClient) GetScheduledServerAction ¶
func (c ComputeClient) GetScheduledServerAction(id string, action_id string) (ScheduledServerActionSingleResponse, *http.Response, error)
func (ComputeClient) GetScheduledServerActions ¶
func (c ComputeClient) GetScheduledServerActions(id string, qParams GetScheduledServerActionsQueryParams) (ScheduledServerActionListResponse, *http.Response, error)
func (ComputeClient) GetServer ¶
func (c ComputeClient) GetServer(id string) (ServerSingleResponse, *http.Response, error)
func (ComputeClient) GetServerAction ¶
func (c ComputeClient) GetServerAction(id string) (ServerActionSingleResponse, *http.Response, error)
func (ComputeClient) GetServerActions ¶
func (c ComputeClient) GetServerActions(qParams GetServerActionsQueryParams) (ServerActionListResponse, *http.Response, error)
func (ComputeClient) GetServerBackup ¶
func (c ComputeClient) GetServerBackup(id string) (ServerBackupSingleResponse, *http.Response, error)
func (ComputeClient) GetServerBackups ¶
func (c ComputeClient) GetServerBackups(qParams GetServerBackupsQueryParams) (ServerBackupListResponse, *http.Response, error)
func (ComputeClient) GetServerFirewall ¶
func (c ComputeClient) GetServerFirewall(id string) (ServerFirewallSingleResponse, *http.Response, error)
func (ComputeClient) GetServerFirewallMember ¶
func (c ComputeClient) GetServerFirewallMember(id string, member_id string) (ServerFirewallMemberSingleResponse, *http.Response, error)
func (ComputeClient) GetServerFirewallMembers ¶
func (c ComputeClient) GetServerFirewallMembers(id string, qParams GetServerFirewallMembersQueryParams) (ServerFirewallMemberListResponse, *http.Response, error)
func (ComputeClient) GetServerFirewallRule ¶
func (c ComputeClient) GetServerFirewallRule(id string, rule_id string) (ServerFirewallRuleSingleResponse, *http.Response, error)
func (ComputeClient) GetServerFirewallRules ¶
func (c ComputeClient) GetServerFirewallRules(id string, qParams GetServerFirewallRulesQueryParams) (ServerFirewallRuleListResponse, *http.Response, error)
func (ComputeClient) GetServerFirewalls ¶
func (c ComputeClient) GetServerFirewalls(qParams GetServerFirewallsQueryParams) (ServerFirewallListResponse, *http.Response, error)
func (ComputeClient) GetServerGraph ¶
func (c ComputeClient) GetServerGraph(id string, qParams GetServerGraphQueryParams) (ServerGraphResponse, *http.Response, error)
func (ComputeClient) GetServerHost ¶
func (c ComputeClient) GetServerHost(id string) (ServerHostSingleResponse, *http.Response, error)
func (ComputeClient) GetServerHosts ¶
func (c ComputeClient) GetServerHosts(qParams GetServerHostsQueryParams) (ServerHostListResponse, *http.Response, error)
func (ComputeClient) GetServerMedia ¶
func (c ComputeClient) GetServerMedia(id string) (ServerMediaSingleResponse, *http.Response, error)
func (ComputeClient) GetServerMedias ¶
func (c ComputeClient) GetServerMedias(qParams GetServerMediasQueryParams) (ServerMediaListResponse, *http.Response, error)
func (ComputeClient) GetServerNetworks ¶
func (c ComputeClient) GetServerNetworks(id string, qParams GetServerNetworksQueryParams) (ServerNetworkListResponse, *http.Response, error)
func (ComputeClient) GetServerPriceRange ¶
func (c ComputeClient) GetServerPriceRange(id string) (ServerPriceRangeSingleResponse, *http.Response, error)
func (ComputeClient) GetServerPriceRangeAssignment ¶
func (c ComputeClient) GetServerPriceRangeAssignment(id string) (ServerPriceRangeAssignmentSingleResponse, *http.Response, error)
func (ComputeClient) GetServerPriceRangeAssignments ¶
func (c ComputeClient) GetServerPriceRangeAssignments(qParams GetServerPriceRangeAssignmentsQueryParams) (ServerPriceRangeAssignmentListResponse, *http.Response, error)
func (ComputeClient) GetServerPriceRangeVolumePrice ¶
func (c ComputeClient) GetServerPriceRangeVolumePrice(id string, class_id string) (ServerVolumePriceSingleResponse, *http.Response, error)
func (ComputeClient) GetServerPriceRangeVolumePrices ¶
func (c ComputeClient) GetServerPriceRangeVolumePrices(id string, qParams GetServerPriceRangeVolumePricesQueryParams) (ServerVolumePriceListResponse, *http.Response, error)
func (ComputeClient) GetServerPriceRanges ¶
func (c ComputeClient) GetServerPriceRanges(qParams GetServerPriceRangesQueryParams) (ServerPriceRangeListResponse, *http.Response, error)
func (ComputeClient) GetServerPricing ¶
func (c ComputeClient) GetServerPricing(qParams GetServerPricingQueryParams) (ServerVariantPriceListResponse, *http.Response, error)
func (ComputeClient) GetServerStatus ¶
func (c ComputeClient) GetServerStatus(id string) (ServerStatusResponse, *http.Response, error)
func (ComputeClient) GetServerStorage ¶
func (c ComputeClient) GetServerStorage(id string) (ServerStorageSingleResponse, *http.Response, error)
func (ComputeClient) GetServerStorageClass ¶
func (c ComputeClient) GetServerStorageClass(id string) (ServerStorageClassSingleResponse, *http.Response, error)
func (ComputeClient) GetServerStorageClasses ¶
func (c ComputeClient) GetServerStorageClasses(qParams GetServerStorageClassesQueryParams) (ServerStorageClassListResponse, *http.Response, error)
func (ComputeClient) GetServerStorages ¶
func (c ComputeClient) GetServerStorages(qParams GetServerStoragesQueryParams) (ServerStorageListResponse, *http.Response, error)
func (ComputeClient) GetServerTemplate ¶
func (c ComputeClient) GetServerTemplate(id string) (ServerTemplateSingleResponse, *http.Response, error)
func (ComputeClient) GetServerTemplates ¶
func (c ComputeClient) GetServerTemplates(qParams GetServerTemplatesQueryParams) (ServerTemplateListResponse, *http.Response, error)
func (ComputeClient) GetServerVNC ¶
func (c ComputeClient) GetServerVNC(id string) (ServerVNCResponse, *http.Response, error)
func (ComputeClient) GetServerVariant ¶
func (c ComputeClient) GetServerVariant(id string) (ServerVariantSingleResponse, *http.Response, error)
func (ComputeClient) GetServerVariantPrice ¶
func (c ComputeClient) GetServerVariantPrice(id string, variant_id string) (ServerVariantPriceSingleResponse, *http.Response, error)
func (ComputeClient) GetServerVariantPrices ¶
func (c ComputeClient) GetServerVariantPrices(id string, qParams GetServerVariantPricesQueryParams) (ServerVariantPriceListResponse, *http.Response, error)
func (ComputeClient) GetServerVariants ¶
func (c ComputeClient) GetServerVariants(qParams GetServerVariantsQueryParams) (ServerVariantListResponse, *http.Response, error)
func (ComputeClient) GetServerVolume ¶
func (c ComputeClient) GetServerVolume(id string) (ServerVolumeSingleResponse, *http.Response, error)
func (ComputeClient) GetServerVolumePricing ¶
func (c ComputeClient) GetServerVolumePricing(qParams GetServerVolumePricingQueryParams) (ServerVolumePriceListResponse, *http.Response, error)
func (ComputeClient) GetServerVolumes ¶
func (c ComputeClient) GetServerVolumes(qParams GetServerVolumesQueryParams) (ServerVolumeListResponse, *http.Response, error)
func (ComputeClient) GetServers ¶
func (c ComputeClient) GetServers(qParams GetServersQueryParams) (ServerListResponse, *http.Response, error)
func (ComputeClient) GetSubnet ¶
func (c ComputeClient) GetSubnet(id string) (SubnetSingleResponse, *http.Response, error)
func (ComputeClient) GetSubnets ¶
func (c ComputeClient) GetSubnets(qParams GetSubnetsQueryParams) (SubnetListResponse, *http.Response, error)
func (ComputeClient) MountServerMedia ¶
func (c ComputeClient) MountServerMedia(in ServerMediaMountRequest, id string) (ServerSingleResponse, *http.Response, error)
func (ComputeClient) RecreateServer ¶
func (c ComputeClient) RecreateServer(id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) ResizeServer ¶
func (c ComputeClient) ResizeServer(in ServerResizeRequest, id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) ResizeServerVolume ¶
func (c ComputeClient) ResizeServerVolume(in ServerVolumeResizeRequest, id string) (ServerVolumeSingleResponse, *http.Response, error)
func (ComputeClient) RestartServer ¶
func (c ComputeClient) RestartServer(id string) (ServerActionSingleResponse, *http.Response, error)
func (ComputeClient) RestoreServer ¶
func (c ComputeClient) RestoreServer(in ServerRestoreRequest, id string) (ScheduledServerActionSingleResponse, *http.Response, error)
func (ComputeClient) Search ¶
func (c ComputeClient) Search(qParams SearchQueryParams) (SearchResponse, *http.Response, error)
func (*ComputeClient) SetAccessToken ¶
func (c *ComputeClient) SetAccessToken(token string)
func (*ComputeClient) SetCurrentProject ¶
func (c *ComputeClient) SetCurrentProject(project string)
func (*ComputeClient) SetHttpClient ¶
func (c *ComputeClient) SetHttpClient(client *http.Client)
func (ComputeClient) ShutdownServer ¶
func (c ComputeClient) ShutdownServer(id string, qParams ShutdownServerQueryParams) (EmptyResponse, *http.Response, error)
func (ComputeClient) StartServer ¶
func (c ComputeClient) StartServer(id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) StopServer ¶
func (c ComputeClient) StopServer(id string) (EmptyResponse, *http.Response, error)
func (ComputeClient) UnmountServerMedia ¶
func (c ComputeClient) UnmountServerMedia(id string) (ServerSingleResponse, *http.Response, error)
func (ComputeClient) UpdateAvailabilityZone ¶
func (c ComputeClient) UpdateAvailabilityZone(in AvailabilityZoneUpdateRequest, id string) (AvailabilityZoneSingleResponse, *http.Response, error)
func (ComputeClient) UpdateNetwork ¶
func (c ComputeClient) UpdateNetwork(in NetworkUpdateRequest, id string) (NetworkSingleResponse, *http.Response, error)
func (ComputeClient) UpdateSSHKey ¶
func (c ComputeClient) UpdateSSHKey(in SSHKeyUpdateRequest, id string) (SSHKeySingleResponse, *http.Response, error)
func (ComputeClient) UpdateScheduledServerAction ¶
func (c ComputeClient) UpdateScheduledServerAction(in ScheduledServerActionUpdateRequest, id string, action_id string) (ScheduledServerActionSingleResponse, *http.Response, error)
func (ComputeClient) UpdateServer ¶
func (c ComputeClient) UpdateServer(in ServerUpdateRequest, id string) (ServerSingleResponse, *http.Response, error)
func (ComputeClient) UpdateServerBackup ¶
func (c ComputeClient) UpdateServerBackup(in ServerBackupUpdateRequest, id string) (ServerBackupSingleResponse, *http.Response, error)
func (ComputeClient) UpdateServerFirewallRule ¶
func (c ComputeClient) UpdateServerFirewallRule(in ServerFirewallRuleUpdateRequest, id string, rule_id string) (ServerFirewallRuleSingleResponse, *http.Response, error)
func (ComputeClient) UpdateServerHost ¶
func (c ComputeClient) UpdateServerHost(in ServerHostUpdateRequest, id string) (ServerHostSingleResponse, *http.Response, error)
func (ComputeClient) UpdateServerPriceRangeAssignment ¶
func (c ComputeClient) UpdateServerPriceRangeAssignment(in ServerPriceRangeAssignmentUpdateRequest, id string) (ServerPriceRangeAssignmentSingleResponse, *http.Response, error)
func (ComputeClient) UpdateServerPriceRangeVolumePrice ¶
func (c ComputeClient) UpdateServerPriceRangeVolumePrice(in ServerVolumePriceUpdateRequest, id string, class_id string) (ServerVolumePriceSingleResponse, *http.Response, error)
func (ComputeClient) UpdateServerVariantPrice ¶
func (c ComputeClient) UpdateServerVariantPrice(in ServerVariantPriceUpdateRequest, id string, variant_id string) (ServerVariantPriceSingleResponse, *http.Response, error)
func (ComputeClient) UpdateServerVolume ¶
func (c ComputeClient) UpdateServerVolume(in ServerVolumeUpdateRequest, id string) (ServerVolumeSingleResponse, *http.Response, error)
type DetachServerVolumeQueryParams ¶
type DetachServerVolumeQueryParams struct {
Iknowthisisunsafe *string `url:"iknowthisisunsafe,omitempty"`
}
type EmptyResponse ¶
type EmptyResponse struct { Metadata ResponseMetadata `json:"metadata"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type GetAddressesQueryParams ¶
type GetAvailabilityZonesQueryParams ¶
type GetAvailabilityZonesQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetAvailabilityZonesQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` }
type GetLabelsQueryParams ¶
type GetLabelsQueryParams struct { Filter *GetLabelsQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` }
type GetNetworksQueryParams ¶
type GetNetworksQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetNetworksQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` WithLabels *bool `url:"with_labels,omitempty"` }
type GetS3AccessKeyGrantsQueryParams ¶
type GetS3AccessKeyGrantsQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetS3AccessKeyGrantsQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` WithLabels *bool `url:"with_labels,omitempty"` }
type GetS3AccessKeysQueryParams ¶
type GetS3AccessKeysQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetS3AccessKeysQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` WithLabels *bool `url:"with_labels,omitempty"` }
type GetS3BucketsQueryParams ¶
type GetS3BucketsQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetS3BucketsQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` WithLabels *bool `url:"with_labels,omitempty"` }
type GetSSHKeysQueryParams ¶
type GetSSHKeysQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetSSHKeysQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` WithLabels *bool `url:"with_labels,omitempty"` }
type GetServerActionsQueryParams ¶
type GetServerActionsQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetServerActionsQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` }
type GetServerBackupsQueryParams ¶
type GetServerBackupsQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetServerBackupsQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` }
type GetServerFirewallMembersQueryParams ¶
type GetServerFirewallMembersQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetServerFirewallMembersQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` }
type GetServerFirewallMembersQueryParamsFilter ¶
type GetServerFirewallMembersQueryParamsFilter struct { Type *string `url:"type,omitempty"` ServerId *string `url:"server_id,omitempty"` LabelValue *string `url:"label_value,omitempty"` Id *string `url:"id,omitempty"` LabelName *string `url:"label_name,omitempty"` Applied *string `url:"applied,omitempty"` }
type GetServerFirewallRulesQueryParams ¶
type GetServerFirewallRulesQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetServerFirewallRulesQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` }
type GetServerFirewallsQueryParams ¶
type GetServerFirewallsQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetServerFirewallsQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` }
type GetServerGraphQueryParams ¶
type GetServerGraphQueryParams struct {
Timeframe *string `url:"timeframe,omitempty"`
}
type GetServerHostsQueryParams ¶
type GetServerHostsQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetServerHostsQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` }
type GetServerMediasQueryParams ¶
type GetServerMediasQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetServerMediasQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` WithLabels *bool `url:"with_labels,omitempty"` }
type GetServerNetworksQueryParams ¶
type GetServerNetworksQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetServerNetworksQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` }
type GetServerNetworksQueryParamsFilter ¶
type GetServerNetworksQueryParamsFilter struct { AddressV6Id *string `url:"address_v6_id,omitempty"` ServerId *string `url:"server_id,omitempty"` AddressV4Id *string `url:"address_v4_id,omitempty"` Id *string `url:"id,omitempty"` NetworkId *string `url:"network_id,omitempty"` Default *string `url:"default,omitempty"` MacAddress *string `url:"mac_address,omitempty"` }
type GetServerPriceRangeAssignmentsQueryParams ¶
type GetServerPriceRangeAssignmentsQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetServerPriceRangeAssignmentsQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` }
type GetServerPriceRangeVolumePricesQueryParams ¶
type GetServerPriceRangeVolumePricesQueryParams struct {
Filter *GetServerPriceRangeVolumePricesQueryParamsFilter `url:"filter,omitempty"`
}
type GetServerPriceRangeVolumePricesQueryParamsFilter ¶
type GetServerPriceRangeVolumePricesQueryParamsFilter struct {
ClassId *string `url:"class_id,omitempty"`
}
type GetServerPriceRangesQueryParams ¶
type GetServerPriceRangesQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetServerPriceRangesQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` }
type GetServerPricingQueryParams ¶
type GetServerPricingQueryParams struct { Filter *GetServerPricingQueryParamsFilter `url:"filter,omitempty"` ProjectId *string `url:"project_id,omitempty"` }
type GetServerPricingQueryParamsFilter ¶
type GetServerPricingQueryParamsFilter struct {
VariantId *string `url:"variant_id,omitempty"`
}
type GetServerStorageClassesQueryParams ¶
type GetServerStorageClassesQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetServerStorageClassesQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` }
type GetServerStoragesQueryParams ¶
type GetServerStoragesQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetServerStoragesQueryParamsFilter `url:"filter,omitempty"` OrderBy *string `url:"order_by,omitempty"` }
type GetServerTemplatesQueryParams ¶
type GetServerTemplatesQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetServerTemplatesQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` ZoneId *string `url:"zone_id,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` }
type GetServerVariantsQueryParams ¶
type GetServerVariantsQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetServerVariantsQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` ZoneId *string `url:"zone_id,omitempty"` Search *string `url:"search,omitempty"` ProjectId *string `url:"project_id,omitempty"` Page *int `url:"page,omitempty"` }
type GetServerVolumePricingQueryParams ¶
type GetServerVolumePricingQueryParams struct { Filter *GetServerVolumePricingQueryParamsFilter `url:"filter,omitempty"` ProjectId *string `url:"project_id,omitempty"` }
type GetServerVolumePricingQueryParamsFilter ¶
type GetServerVolumePricingQueryParamsFilter struct {
ClassId *string `url:"class_id,omitempty"`
}
type GetServerVolumesQueryParams ¶
type GetServerVolumesQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetServerVolumesQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` WithLabels *bool `url:"with_labels,omitempty"` }
type GetServerVolumesQueryParamsFilter ¶
type GetServerVolumesQueryParamsFilter struct { ClassId *string `url:"class_id,omitempty"` ProjectId *string `url:"project_id,omitempty"` Title *string `url:"title,omitempty"` Labels map[string]*string `url:"labels,omitempty"` ServerId *string `url:"server_id,omitempty"` Id *string `url:"id,omitempty"` }
type GetServersQueryParams ¶
type GetServersQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetServersQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` WithLabels *bool `url:"with_labels,omitempty"` }
type GetServersQueryParamsFilter ¶
type GetServersQueryParamsFilter struct { TemplateId *string `url:"template_id,omitempty"` State *string `url:"state,omitempty"` ProjectId *string `url:"project_id,omitempty"` HostId *string `url:"host_id,omitempty"` Labels map[string]*string `url:"labels,omitempty"` Id *string `url:"id,omitempty"` NetworkId *string `url:"network_id,omitempty"` VariantId *string `url:"variant_id,omitempty"` Name *string `url:"name,omitempty"` }
type GetSubnetsQueryParams ¶
type GetSubnetsQueryParams struct { Order *string `url:"order,omitempty"` Filter *GetSubnetsQueryParamsFilter `url:"filter,omitempty"` PageSize *int `url:"page_size,omitempty"` OrderBy *string `url:"order_by,omitempty"` Search *string `url:"search,omitempty"` Page *int `url:"page,omitempty"` WithLabels *bool `url:"with_labels,omitempty"` }
type InvalidRequestResponse ¶
type InvalidRequestResponse struct { Metadata ResponseMetadata `json:"metadata"` Data interface{} `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type Label ¶
type Label struct { ObjectType ObjectType `json:"object_type"` Name string `json:"name"` Value string `json:"value"` ObjectId string `json:"object_id"` }
type LabelListResponse ¶
type LabelListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []Label `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type NetworkCreateRequest ¶
type NetworkListResponse ¶
type NetworkListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []Network `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type NetworkSingleResponse ¶
type NetworkSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data Network `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type NetworkType ¶
type NetworkType string
type NetworkUpdateRequest ¶
type NetworkUpdateRequest struct { Title *string `json:"title"` Labels interface{} `json:"labels"` }
type ObjectType ¶
type ObjectType string
type ResponseMessage ¶
type ResponseMessages ¶
type ResponseMessages struct { Warnings []ResponseMessage `json:"warnings"` Errors []ResponseMessage `json:"errors"` Infos []ResponseMessage `json:"infos"` }
type ResponseMetadata ¶
type ResponsePagination ¶
type S3AccessGrant ¶
type S3AccessGrantListResponse ¶
type S3AccessGrantListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []S3AccessGrant `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type S3AccessGrantSingleResponse ¶
type S3AccessGrantSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data S3AccessGrant `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type S3AccessKey ¶
type S3AccessKeyListResponse ¶
type S3AccessKeyListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []S3AccessKey `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type S3AccessKeySingleResponse ¶
type S3AccessKeySingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data S3AccessKey `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type S3BucketCreateRequest ¶
type S3BucketListResponse ¶
type S3BucketListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []S3Bucket `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type S3BucketSingleResponse ¶
type S3BucketSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data S3Bucket `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type SSHKeyCreateRequest ¶
type SSHKeyListResponse ¶
type SSHKeyListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []SSHKey `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type SSHKeySingleResponse ¶
type SSHKeySingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data SSHKey `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type SSHKeyUpdateRequest ¶
type SSHKeyUpdateRequest struct {
Title *string `json:"title"`
}
type ScheduledServerAction ¶
type ScheduledServerAction struct { BackupId *string `json:"backup_id"` BackupRetention *int `json:"backup_retention"` CreatedAt string `json:"created_at"` Interval ScheduledServerActionInterval `json:"interval"` Id string `json:"id"` ExecuteAt string `json:"execute_at"` ServerId string `json:"server_id"` Type ServerActionType `json:"type"` }
type ScheduledServerActionCreateRequest ¶
type ScheduledServerActionCreateRequest struct { BackupId *string `json:"backup_id"` BackupRetention *int `json:"backup_retention"` Interval *ScheduledServerActionInterval `json:"interval"` Force *bool `json:"force"` ExecuteAt string `json:"execute_at"` Type ServerActionType `json:"type"` }
type ScheduledServerActionInterval ¶
type ScheduledServerActionInterval string
type ScheduledServerActionListResponse ¶
type ScheduledServerActionListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []ScheduledServerAction `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ScheduledServerActionSingleResponse ¶
type ScheduledServerActionSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ScheduledServerAction `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ScheduledServerActionUpdateRequest ¶
type ScheduledServerActionUpdateRequest struct { BackupId *string `json:"backup_id"` BackupRetention *int `json:"backup_retention"` Interval *ScheduledServerActionInterval `json:"interval"` Force *bool `json:"force"` Type *ServerActionType `json:"type"` }
type SearchQueryParams ¶
type SearchQueryParams struct { Search *string `url:"search,omitempty"` ProjectId *string `url:"project_id,omitempty"` Resources *string `url:"resources,omitempty"` Limit *int `url:"limit,omitempty"` WithLabels *bool `url:"with_labels,omitempty"` Labels *SearchQueryParamsLabels `url:"labels,omitempty"` }
type SearchQueryParamsLabels ¶
type SearchResponse ¶
type SearchResponse struct { Metadata ResponseMetadata `json:"metadata"` Data SearchResults `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type SearchResults ¶
type SearchResults struct { ServerVolumes *[]ServerVolume `json:"server_volumes"` SshKeys *[]SSHKey `json:"ssh_keys"` Servers *[]Server `json:"servers"` ServerMedias *[]ServerMedia `json:"server_medias"` S3Buckets *[]S3Bucket `json:"s3_buckets"` S3AccessKeys *[]S3AccessKey `json:"s3_access_keys"` ServerFirewalls *[]ServerFirewall `json:"server_firewalls"` }
type Server ¶
type Server struct { ZoneId string `json:"zone_id"` Addresses *[]Address `json:"addresses"` VariantId string `json:"variant_id"` ProjectId string `json:"project_id"` Name string `json:"name"` MediaId *string `json:"media_id"` CreatedAt string `json:"created_at"` TemplateId string `json:"template_id"` Id string `json:"id"` State ServerState `json:"state"` Labels map[string]*string `json:"labels"` }
type ServerAction ¶
type ServerAction struct { Progress float32 `json:"progress"` StartedAt string `json:"started_at"` Id string `json:"id"` State ServerActionState `json:"state"` Type ServerActionType `json:"type"` Cancellable bool `json:"cancellable"` EndedAt *string `json:"ended_at"` }
type ServerActionListResponse ¶
type ServerActionListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []ServerAction `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerActionSingleResponse ¶
type ServerActionSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ServerAction `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerActionState ¶
type ServerActionState string
type ServerActionType ¶
type ServerActionType string
type ServerBackup ¶
type ServerBackup struct { Size float32 `json:"size"` ProjectId string `json:"project_id"` ActionId string `json:"action_id"` Scheduled bool `json:"scheduled"` Keep *bool `json:"keep"` CreatedAt string `json:"created_at"` Id string `json:"id"` State ServerBackupState `json:"state"` Title string `json:"title"` }
type ServerBackupListResponse ¶
type ServerBackupListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []ServerBackup `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerBackupSingleResponse ¶
type ServerBackupSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ServerBackup `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerBackupState ¶
type ServerBackupState string
type ServerCreateRequest ¶
type ServerCreateRequest struct { ZoneId string `json:"zone_id"` BackupId *string `json:"backup_id"` NoPublicNetwork *bool `json:"no_public_network"` VariantId string `json:"variant_id"` SshKeys []string `json:"ssh_keys"` ProjectId string `json:"project_id"` Name string `json:"name"` TemplateId *string `json:"template_id"` Networks *[]ServerCreateRequestNetwork `json:"networks"` Labels map[string]*string `json:"labels"` }
type ServerCreateRequestNetwork ¶
type ServerCreateRequestNetwork struct {
NetworkId string `json:"network_id"`
}
type ServerFirewall ¶
type ServerFirewallListResponse ¶
type ServerFirewallListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []ServerFirewall `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerFirewallMember ¶
type ServerFirewallMember struct { LabelValue *string `json:"label_value"` Applied bool `json:"applied"` Children *[]ServerFirewallMember `json:"children"` CreatedAt string `json:"created_at"` Id string `json:"id"` Type ServerFirewallMemberType `json:"type"` ServerId *string `json:"server_id"` LabelName *string `json:"label_name"` }
type ServerFirewallMemberCreateRequest ¶
type ServerFirewallMemberCreateRequest struct { LabelValue *string `json:"label_value"` Type ServerFirewallMemberType `json:"type"` ServerId *string `json:"server_id"` LabelName *string `json:"label_name"` }
type ServerFirewallMemberListResponse ¶
type ServerFirewallMemberListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []ServerFirewallMember `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerFirewallMemberSingleResponse ¶
type ServerFirewallMemberSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ServerFirewallMember `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerFirewallMemberType ¶
type ServerFirewallMemberType string
type ServerFirewallRule ¶
type ServerFirewallRule struct { Addresses *[]string `json:"addresses"` Protocol *ServerFirewallRuleProtocol `json:"protocol"` Applied bool `json:"applied"` Description *string `json:"description"` CreatedAt string `json:"created_at"` Id string `json:"id"` Type ServerFirewallRuleType `json:"type"` Ports *[]string `json:"ports"` }
type ServerFirewallRuleCreateRequest ¶
type ServerFirewallRuleCreateRequest struct { Addresses *[]string `json:"addresses"` Protocol *ServerFirewallRuleProtocol `json:"protocol"` Description *string `json:"description"` Disabled *bool `json:"disabled"` Type ServerFirewallRuleType `json:"type"` Ports *[]string `json:"ports"` }
type ServerFirewallRuleListResponse ¶
type ServerFirewallRuleListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []ServerFirewallRule `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerFirewallRuleProtocol ¶
type ServerFirewallRuleProtocol string
type ServerFirewallRuleSingleResponse ¶
type ServerFirewallRuleSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ServerFirewallRule `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerFirewallRuleType ¶
type ServerFirewallRuleType string
type ServerFirewallSingleResponse ¶
type ServerFirewallSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ServerFirewall `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerGraphEntry ¶
type ServerGraphEntry struct { DiskRead int `json:"disk_read"` Memory float32 `json:"memory"` NetworkIngress float32 `json:"network_ingress"` NetworkEgress float32 `json:"network_egress"` MemoryUsage float32 `json:"memory_usage"` Time int `json:"time"` CpuUsage float32 `json:"cpu_usage"` DiskWrite int `json:"disk_write"` }
type ServerGraphResponse ¶
type ServerGraphResponse struct { Metadata ResponseMetadata `json:"metadata"` Data []ServerGraphEntry `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerHost ¶
type ServerHostCreateRequest ¶
type ServerHostListResponse ¶
type ServerHostListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []ServerHost `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerHostSingleResponse ¶
type ServerHostSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ServerHost `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerHostUpdateRequest ¶
type ServerListResponse ¶
type ServerListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []Server `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerMedia ¶
type ServerMediaListResponse ¶
type ServerMediaListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []ServerMedia `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerMediaMountRequest ¶
type ServerMediaMountRequest struct {
MediaId string `json:"media_id"`
}
type ServerMediaSingleResponse ¶
type ServerMediaSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ServerMedia `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerNetwork ¶
type ServerNetwork struct { Default bool `json:"default"` NetworkId string `json:"network_id"` Addresses *[]Address `json:"addresses"` CreatedAt string `json:"created_at"` ExternalId *string `json:"external_id"` Id string `json:"id"` HostId *string `json:"host_id"` Labels map[string]*string `json:"labels"` }
type ServerNetworkCreateRequest ¶
type ServerNetworkCreateRequest struct {
NetworkId string `json:"network_id"`
}
type ServerNetworkListResponse ¶
type ServerNetworkListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []ServerNetwork `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerNetworkSingleResponse ¶
type ServerNetworkSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination ResponsePagination `json:"pagination"` Data ServerNetwork `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerPriceRange ¶
type ServerPriceRangeAssignmentListResponse ¶
type ServerPriceRangeAssignmentListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []ServerPriceRangeAssignment `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerPriceRangeAssignmentSingleResponse ¶
type ServerPriceRangeAssignmentSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ServerPriceRangeAssignment `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerPriceRangeAssignmentUpdateRequest ¶
type ServerPriceRangeAssignmentUpdateRequest struct {
RangeId string `json:"range_id"`
}
type ServerPriceRangeCreateRequest ¶
type ServerPriceRangeCreateRequest struct {
Title string `json:"title"`
}
type ServerPriceRangeListResponse ¶
type ServerPriceRangeListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []ServerPriceRange `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerPriceRangeSingleResponse ¶
type ServerPriceRangeSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ServerPriceRange `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerResizeRequest ¶
type ServerRestoreRequest ¶
type ServerRestoreRequest struct {
BackupId string `json:"backup_id"`
}
type ServerSingleResponse ¶
type ServerSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data Server `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerState ¶
type ServerState string
type ServerStatus ¶
type ServerStatusResponse ¶
type ServerStatusResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ServerStatus `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerStorage ¶
type ServerStorageClass ¶
type ServerStorageClassListResponse ¶
type ServerStorageClassListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []ServerStorageClass `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerStorageClassSingleResponse ¶
type ServerStorageClassSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ServerStorageClass `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerStorageListResponse ¶
type ServerStorageListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination ResponsePagination `json:"pagination"` Data []ServerStorage `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerStorageSingleResponse ¶
type ServerStorageSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ServerStorage `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerTemplate ¶
type ServerTemplateListResponse ¶
type ServerTemplateListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []ServerTemplate `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerTemplateSingleResponse ¶
type ServerTemplateSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ServerTemplate `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerUpdateRequest ¶
type ServerVNCResponse ¶
type ServerVNCResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ServerVNC `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerVariant ¶
type ServerVariantListResponse ¶
type ServerVariantListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []ServerVariant `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerVariantPrice ¶
type ServerVariantPriceListResponse ¶
type ServerVariantPriceListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []ServerVariantPrice `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerVariantPriceSingleResponse ¶
type ServerVariantPriceSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ServerVariantPrice `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerVariantSingleResponse ¶
type ServerVariantSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ServerVariant `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerVolume ¶
type ServerVolume struct { ZoneId string `json:"zone_id"` Size int `json:"size"` ProjectId string `json:"project_id"` StorageId *string `json:"storage_id"` ClassId string `json:"class_id"` Root *bool `json:"root"` CreatedAt string `json:"created_at"` Id string `json:"id"` Title string `json:"title"` ServerId *string `json:"server_id"` Labels map[string]*string `json:"labels"` }
type ServerVolumeAttachRequest ¶
type ServerVolumeAttachRequest struct {
ServerId string `json:"server_id"`
}
type ServerVolumeListResponse ¶
type ServerVolumeListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []ServerVolume `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerVolumePrice ¶
type ServerVolumePriceListResponse ¶
type ServerVolumePriceListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []ServerVolumePrice `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerVolumePriceSingleResponse ¶
type ServerVolumePriceSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ServerVolumePrice `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ServerVolumePriceUpdateRequest ¶
type ServerVolumePriceUpdateRequest struct {
Price *float32 `json:"price"`
}
type ServerVolumeResizeRequest ¶
type ServerVolumeResizeRequest struct {
Size int `json:"size"`
}
type ServerVolumeSingleResponse ¶
type ServerVolumeSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Data ServerVolume `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type ShutdownServerQueryParams ¶
type ShutdownServerQueryParams struct {
Force *bool `url:"force,omitempty"`
}
type SubnetCreateRequest ¶
type SubnetListResponse ¶
type SubnetListResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data []Subnet `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
type SubnetSingleResponse ¶
type SubnetSingleResponse struct { Metadata ResponseMetadata `json:"metadata"` Pagination *ResponsePagination `json:"pagination"` Data Subnet `json:"data"` Success bool `json:"success"` Messages ResponseMessages `json:"messages"` }
Click to show internal directories.
Click to hide internal directories.