Versions in this module Expand all Collapse all v1 v1.13.0 Oct 14, 2020 v1.12.0 Oct 14, 2020 Changes in this version + const AssetTypeAccount + const AssetTypeCustomerImage + const AssetTypeNetworkDomain + const AssetTypePublicIPBlock + const AssetTypeServer + const AssetTypeUser + const AssetTypeVLAN + const BackupClientStatusActive + const BackupClientStatusOffline + const BackupClientStatusUnconfigured + const BackupClientStatusUnregistered + const BackupServicePlanAdvanced + const BackupServicePlanEnterprise + const BackupServicePlanEssentials + const FirewallRuleActionAccept + const FirewallRuleActionDrop + const FirewallRuleIPVersion4 + const FirewallRuleIPVersion6 + const FirewallRuleMatchAny + const FirewallRuleProtocolICMP + const FirewallRuleProtocolIP + const FirewallRuleProtocolTCP + const IPVersion4 + const IPVersion6 + const LoadBalanceMethodLeastConnectionsMember + const LoadBalanceMethodLeastConnectionsNode + const LoadBalanceMethodObservedMember + const LoadBalanceMethodObservedNode + const LoadBalanceMethodPredictiveMember + const LoadBalanceMethodPredictiveNode + const LoadBalanceMethodRoundRobin + const NetworkAdapterTypeE1000 + const NetworkAdapterTypeE1000E + const NetworkAdapterTypeEnhancedVMXNET2 + const NetworkAdapterTypeFlexiblePCNET32 + const NetworkAdapterTypeVMXNET3 + const ResourceStatusDeleted + const ResourceStatusNormal + const ResourceStatusPendingAdd + const ResourceStatusPendingChange + const ResourceStatusPendingDelete + const ResponseCodeAuthorizationFailure + const ResponseCodeExceedsLimit + const ResponseCodeIPAddressNotUnique + const ResponseCodeIPAddressOutOfRange + const ResponseCodeInProgress + const ResponseCodeInfrastructureInMaintenance + const ResponseCodeInvalidInputData + const ResponseCodeNoIPAddressAvailable + const ResponseCodeOK + const ResponseCodeOperationNotSupported + const ResponseCodeOutOfResources + const ResponseCodeResourceBusy + const ResponseCodeResourceHasDependency + const ResponseCodeResourceLocked + const ResponseCodeResourceNameNotUnique + const ResponseCodeResourceNotFound + const ResponseCodeUnexpectedError + const ResultCodeBackupClientNotFound + const ResultCodeBackupEnabledForServer + const ResultCodeBackupEnablementInProgressForServer + const ResultCodeBackupJobInProgress + const ResultCodeBackupNotEnabledForOrg + const ResultCodeBackupNotEnabledForOrgInDatacenter + const ResultCodeBackupNotEnabledForServer + const ResultCodeExceedsLimit + const ResultCodeResourceBusy + const ResultCodeServerHasBackupAgents + const ResultCodeServerNotFound + const ResultCodeSuccess + const ResultSuccess + const ServerDiskSpeedEconomy + const ServerDiskSpeedHighPerformance + const ServerDiskSpeedProvisionedIops + const ServerDiskSpeedStandard + const ServiceDownActionDrop + const ServiceDownActionNone + const ServiceDownActionReselect + const SourcePortPreservationDisabled + const SourcePortPreservationEnabled + const SourcePortPreservationEnabledStrict + const StorageControllerAdapterTypeBusLogicParallel + const StorageControllerAdapterTypeEnhancedVMWareParavirtual + const StorageControllerAdapterTypeLSILogicParallel + const StorageControllerAdapterTypeLSILogicSAS + const VIPNodeStatusDisabled + const VIPNodeStatusEnabled + const VIPNodeStatusForcedOffline + const VirtualListenerPerformanceLayer4ProtocolAny + const VirtualListenerPerformanceLayer4ProtocolHTTP + const VirtualListenerPerformanceLayer4ProtocolTCP + const VirtualListenerPerformanceLayer4ProtocolUDP + const VirtualListenerStandardProtocolAny + const VirtualListenerStandardProtocolFTP + const VirtualListenerStandardProtocolHTTP + const VirtualListenerStandardProtocolSMTP + const VirtualListenerStandardProtocolTCP + const VirtualListenerStandardProtocolUDP + const VirtualListenerTypePerformanceLayer4 + const VirtualListenerTypeStandard + func GetResourceDescription(resourceType ResourceType) (string, error) + func ImageTypeName(imageType ImageType) string + func IsAPIError(err error, responseCode string) bool + func IsAPIErrorCode(err error, responseCode string) bool + func IsExceedsLimitError(err error) bool + func IsNoIPAddressAvailableError(err error) bool + func IsOperationCancelledError(err error) bool + func IsResourceBusyError(err error) bool + func IsResourceNotFoundError(err error) bool + type APIError struct + Message string + Response APIResponse + func (apiError *APIError) Error() string + type APIResponse interface + GetAPIVersion func() string + GetMessage func() string + GetRequestID func() string + GetResponseCode func() string + type APIResponseAdditionalInformationV1 struct + Name string + Value string + type APIResponseV1 struct + AdditionalInformation []APIResponseAdditionalInformationV1 + Message string + Operation string + Result string + ResultCode string + XMLName xml.Name + func (response *APIResponseV1) GetAPIVersion() string + func (response *APIResponseV1) GetAdditionalInformation(name string) *string + func (response *APIResponseV1) GetMessage() string + func (response *APIResponseV1) GetRequestID() string + func (response *APIResponseV1) GetResponseCode() string + func (response *APIResponseV1) ToError(errorMessageOrFormat string, formatArgs ...interface{}) error + type APIResponseV2 struct + FieldErrors []FieldMessage + FieldMessages []FieldMessage + FieldWarnings []FieldMessage + Message string + Operation string + RequestID string + ResponseCode string + func (response *APIResponseV2) GetAPIVersion() string + func (response *APIResponseV2) GetFieldError(fieldName string) *string + func (response *APIResponseV2) GetFieldMessage(fieldName string) *string + func (response *APIResponseV2) GetFieldWarning(fieldName string) *string + func (response *APIResponseV2) GetMessage() string + func (response *APIResponseV2) GetRequestID() string + func (response *APIResponseV2) GetResponseCode() string + func (response *APIResponseV2) ToError(errorMessageOrFormat string, formatArgs ...interface{}) error + type Account struct + AssignedRoles []Role + Department string + EmailAddress string + FirstName string + FullName string + LastName string + OrganizationID string + UserName string + XMLName xml.Name + type AttachedVlanGateway struct + GatewayAddressing string + type BackupClientAlerting struct + EmailAddresses []string + Trigger string + XMLName xml.Name + type BackupClientDetail struct + Alerting *BackupClientAlerting + Description string + DownloadURL string + ID string + IsFileSystem bool + SchedulePolicyName string + Status string + StoragePolicyName string + TotalBackupSizeGb int + Type string + XMLName xml.Name + type BackupClientType struct + Description string + IsFileSystem bool + Type string + XMLName xml.Name + type BackupClientTypes struct + Items []BackupClientType + XMLName xml.Name + type BackupSchedulePolicies struct + Items []BackupSchedulePolicy + XMLName xml.Name + type BackupSchedulePolicy struct + Description string + Name string + XMLName xml.Name + type BackupStoragePolicies struct + Items []BackupStoragePolicy + XMLName xml.Name + type BackupStoragePolicy struct + Name string + RetentionPeriodInDays int + SecondaryLocation string + XMLName xml.Name + type Client struct + func NewClient(region string, username string, password string) *Client + func NewClientWithBaseAddress(baseAddress string, username string, password string) *Client + func (client *Client) AddAddress(addresslistId string, begin string, end string, network string, prefixSize int) (address *IPAddressListEntry, err error) + func (client *Client) AddDiskToSCSIController(controllerID string, scsiUnitID int, sizeGB int, speed string, iops int) (diskID string, err error) + func (client *Client) AddDiskToServer(serverID string, scsiBusNumber *int, scsiUnitID *int, sizeGB int, speed string, ...) (diskID string, err error) + func (client *Client) AddNATRule(networkDomainID string, internalIPAddress string, externalIPAddress *string) (natRuleID string, err error) + func (client *Client) AddNicToServer(serverID string, ipv4Address string, vlanID string) (nicID string, err error) + func (client *Client) AddNicWithTypeToServer(serverID string, ipv4Address string, vlanID string, adapterType string) (nicID string, err error) + func (client *Client) AddPublicIPBlock(networkDomainID string) (blockID string, err error) + func (client *Client) AddSCSIControllerToServer(serverID string, adapterType string, busNumber int) error + func (client *Client) AddServerBackupClient(serverID string, clientType string, schedulePolicyName string, ...) (clientID string, clientDownloadURL string, err error) + func (client *Client) AddVIPPoolMember(poolID string, nodeID string, status string, port *int) (poolMemberID string, err error) + func (client *Client) ApplyAssetTags(assetID string, assetType string, tags ...Tag) (response *APIResponseV2, err error) + func (client *Client) Cancel() + func (client *Client) CancelBackupClientJobs(serverID string, clientID string) error + func (client *Client) ChangeNetworkAdapterType(networkAdapterID string, networkAdapterType string) (err error) + func (client *Client) ChangeServerBackupServicePlan(serverID string, servicePlan string) error + func (client *Client) ChangeServerDiskIops(diskID string, iops int) (apiResponse *APIResponseV2, err error) + func (client *Client) ChangeServerDiskSpeed(serverID string, diskID string, newSpeed string, iops *int) (apiResponse *APIResponseV2, err error) + func (client *Client) CheckAddressExists(addresslistId string, begin string, network string) (exists bool) + func (client *Client) CloneServer(serverID string, imageName string, imageDescription string, ...) (imageID string, err error) + func (client *Client) ConfigureRetry(maxRetryCount int, retryDelay time.Duration) + func (client *Client) CreateFirewallRule(configuration FirewallRuleConfiguration) (firewallRuleID string, err error) + func (client *Client) CreateIPAddressList(name string, description string, ipVersion string, networkDomainID string, ...) (addressListID string, err error) + func (client *Client) CreatePortList(name string, description string, networkDomainID string, ports []PortListEntry, ...) (portListID string, err error) + func (client *Client) CreateSSLOffloadProfile(networkDomainID string, name string, description string, ciphers *string, ...) (offloadProfileID string, err error) + func (client *Client) CreateServerAntiAffinityRule(server1Id string, server2Id string) (ruleID string, err error) + func (client *Client) CreateStaticRoute(networkDomainId string, name string, description string, ipVersion string, ...) (staticRouteID string, err error) + func (client *Client) CreateTagKey(name string, description string, isValueRequired bool, displayOnReports bool) (tagKeyID string, err error) + func (client *Client) CreateVIPNode(nodeConfiguration NewVIPNodeConfiguration) (nodeID string, err error) + func (client *Client) CreateVIPPool(poolConfiguration NewVIPPoolConfiguration) (poolID string, err error) + func (client *Client) CreateVirtualListener(listenerConfiguration NewVirtualListenerConfiguration) (nodeID string, err error) + func (client *Client) DeleteAddress(addresslistId string, ipAddress string) (addressList *IPAddressList, err error) + func (client *Client) DeleteFirewallRule(id string) error + func (client *Client) DeleteIPAddressList(id string) (err error) + func (client *Client) DeleteNATRule(id string) error + func (client *Client) DeleteNetworkDomain(id string) (err error) + func (client *Client) DeletePortList(id string) (err error) + func (client *Client) DeleteSSLCertificateChain(id string) (err error) + func (client *Client) DeleteSSLDomainCertificate(id string) (err error) + func (client *Client) DeleteSSLOffloadProfile(id string) (err error) + func (client *Client) DeleteServer(id string) (err error) + func (client *Client) DeleteServerAntiAffinityRule(ruleID string, networkDomainID string) error + func (client *Client) DeleteStaticRoute(id string) (err error) + func (client *Client) DeleteTagKey(id string) error + func (client *Client) DeleteVIPNode(id string) (err error) + func (client *Client) DeleteVIPPool(id string) (err error) + func (client *Client) DeleteVLAN(id string) (err error) + func (client *Client) DeleteVirtualListener(id string) (err error) + func (client *Client) DeployNetworkDomain(name string, description string, plan string, datacenter string) (networkDomainID string, err error) + func (client *Client) DeployServer(serverConfiguration ServerDeploymentConfiguration) (serverID string, err error) + func (client *Client) DeployUncustomizedServer(serverConfiguration UncustomizedServerDeploymentConfiguration) (serverID string, err error) + func (client *Client) DeployVLAN(networkDomainID string, name string, description string, ...) (vlanID string, err error) + func (client *Client) DisableExtendedLogging() + func (client *Client) DisableServerBackup(serverID string) error + func (client *Client) EditFirewallRule(id string, enabled bool) error + func (client *Client) EditIPAddressList(edit EditIPAddressList) error + func (client *Client) EditNetworkDomain(id string, name *string, description *string, plan *string) (err error) + func (client *Client) EditPortList(id string, edit EditPortList) error + func (client *Client) EditSSLOffloadProfile(sslOffloadProfile SSLOffloadProfile) error + func (client *Client) EditServerMetadata(serverID string, name *string, description *string) error + func (client *Client) EditVIPNode(id string, nodeConfiguration EditVIPNodeConfiguration) error + func (client *Client) EditVIPPool(id string, poolConfiguration EditVIPPoolConfiguration) error + func (client *Client) EditVIPPoolMember(id string, status string) error + func (client *Client) EditVLAN(id string, name *string, description *string) (err error) + func (client *Client) EditVirtualListener(id string, listenerConfiguration EditVirtualListenerConfiguration) error + func (client *Client) EnableExtendedLogging() + func (client *Client) EnableServerBackup(serverID string, servicePlan string) error + func (client *Client) ExpandDisk(diskID string, newSizeGB int) (response *APIResponseV2, err error) + func (client *Client) ExportCustomerImage(imageID string, ovfPackagePrefix string) (exportID string, err error) + func (client *Client) FindCustomerImage(name string, dataCenterID string) (image *CustomerImage, err error) + func (client *Client) FindOSImage(name string, dataCenterID string) (image *OSImage, err error) + func (client *Client) GetAccount() (*Account, error) + func (client *Client) GetAddressOk(addresslistId string, begin string, network string) (address *IPAddressListEntry, exists bool) + func (client *Client) GetAssetTags(assetID string, assetType string, paging *Paging) (tags *TagDetails, err error) + func (client *Client) GetAssetTagsByType(assetType string, datacenterID string, paging *Paging) (tags *TagDetails, err error) + func (client *Client) GetAvailablePublicIPAddresses(networkDomainID string) (availableIPs map[string]string, err error) + func (client *Client) GetCustomerImage(id string) (image *CustomerImage, err error) + func (client *Client) GetDatacenter(id string) (datacenter *Datacenter, err error) + func (client *Client) GetFirewallRule(id string) (rule *FirewallRule, err error) + func (client *Client) GetIPAddressList(id string) (addressList *IPAddressList, err error) + func (client *Client) GetIPAddressListByName(name string, networkDomainID string) (addressList *IPAddressList, err error) + func (client *Client) GetNATRule(id string) (rule *NATRule, err error) + func (client *Client) GetNetworkDomain(id string) (domain *NetworkDomain, err error) + func (client *Client) GetNetworkDomainByName(name string, dataCenterID string) (domain *NetworkDomain, err error) + func (client *Client) GetOSImage(id string) (image *OSImage, err error) + func (client *Client) GetPortList(id string) (portList *PortList, err error) + func (client *Client) GetPublicIPBlock(id string) (block *PublicIPBlock, err error) + func (client *Client) GetResource(id string, resourceType ResourceType) (Resource, error) + func (client *Client) GetSSLCertificateChain(id string) (pool *SSLCertificateChain, err error) + func (client *Client) GetSSLDomainCertificate(id string) (pool *SSLDomainCertificate, err error) + func (client *Client) GetSSLOffloadProfile(id string) (pool *SSLOffloadProfile, err error) + func (client *Client) GetServer(id string) (server *Server, err error) + func (client *Client) GetServerAntiAffinityRule(ruleID string, networkDomainID string) (rule *ServerAntiAffinityRule, err error) + func (client *Client) GetServerBackupClientTypes(serverID string) (*BackupClientTypes, error) + func (client *Client) GetServerBackupDetails(serverID string) (*ServerBackupDetails, error) + func (client *Client) GetServerBackupSchedulePolicies(serverID string) (*BackupSchedulePolicies, error) + func (client *Client) GetServerBackupStoragePolicies(serverID string) (*BackupStoragePolicies, error) + func (client *Client) GetStaticRoute(id string) (staticRoute *StaticRoute, err error) + func (client *Client) GetStaticRouteByAddress(paging *Paging, networkDomainId string, destinationNetworkAddress string, ...) (systemStaticRoute *StaticRoute, err error) + func (client *Client) GetStaticRouteByName(name string, domainId string) (staticRoute *StaticRoute, err error) + func (client *Client) GetTagKey(id string) (tagKey *TagKey, err error) + func (client *Client) GetVIPNode(id string) (node *VIPNode, err error) + func (client *Client) GetVIPPool(id string) (pool *VIPPool, err error) + func (client *Client) GetVIPPoolMember(id string) (member *VIPPoolMember, err error) + func (client *Client) GetVLAN(id string) (vlan *VLAN, err error) + func (client *Client) GetVLANByName(name string, networkDomainID string) (*VLAN, error) + func (client *Client) GetVirtualListener(id string) (listener *VirtualListener, err error) + func (client *Client) ImportCustomerImage(imageName string, imageDescription string, preventGuestOSCustomization bool, ...) (importID string, err error) + func (client *Client) ImportSSLCertificateChain(networkDomainID string, name string, description string, ...) (certificateChainID string, err error) + func (client *Client) ImportSSLDomainCertificate(networkDomainID string, name string, description string, certificate string, ...) (certificateID string, err error) + func (client *Client) IsExtendedLoggingEnabled() bool + func (client *Client) ListCustomerImagesInDatacenter(dataCenterID string, paging *Paging) (images *CustomerImages, err error) + func (client *Client) ListDatacenters(paging *Paging) (datacenters *Datacenters, err error) + func (client *Client) ListDefaultHealthMonitors(networkDomainID string, paging *Paging) (healthMonitors *HealthMonitors, err error) + func (client *Client) ListDefaultIRules(networkDomainID string, paging *Paging) (irules *IRules, err error) + func (client *Client) ListDefaultPersistenceProfiles(networkDomainID string, paging *Paging) (persistenceProfiles *PersistenceProfiles, err error) + func (client *Client) ListFirewallRules(networkDomainID string, paging *Paging) (rules *FirewallRules, err error) + func (client *Client) ListIPAddressLists(networkDomainID string) (addressLists *IPAddressLists, err error) + func (client *Client) ListNATRules(networkDomainID string, paging *Paging) (rules *NATRules, err error) + func (client *Client) ListNetworkDomains(paging *Paging) (domains *NetworkDomains, err error) + func (client *Client) ListOSImagesInDatacenter(dataCenterID string, paging *Paging) (images *OSImages, err error) + func (client *Client) ListPortLists(networkDomainID string) (portLists *PortLists, err error) + func (client *Client) ListPublicIPBlocks(networkDomainID string, paging *Paging) (blocks *PublicIPBlocks, err error) + func (client *Client) ListReservedIPv6AddressesInVLAN(vlanID string) (reservedIPAddresses *ReservedIPv6Addresses, err error) + func (client *Client) ListReservedPrivateIPv4AddressesInVLAN(vlanID string) (reservedIPAddresses *ReservedIPv4Addresses, err error) + func (client *Client) ListReservedPublicIPAddresses(networkDomainID string, paging *Paging) (reservedPublicIPs *ReservedPublicIPs, err error) + func (client *Client) ListSSLCertificateChainsInNetworkDomain(networkDomainID string, paging *Paging) (pools *SSLCertificateChains, err error) + func (client *Client) ListSSLDomainCertificatesInNetworkDomain(networkDomainID string, paging *Paging) (pools *SSLDomainCertificates, err error) + func (client *Client) ListSSLOffloadProfilesInNetworkDomain(networkDomainID string, paging *Paging) (pools *SSLOffloadProfiles, err error) + func (client *Client) ListServerAntiAffinityRules(networkDomainID string, paging *Paging) (rules *ServerAntiAffinityRules, err error) + func (client *Client) ListServersInNetworkDomain(networkDomainID string, paging *Paging) (servers Servers, err error) + func (client *Client) ListStaticRoute(paging *Paging) (staticRoutes *StaticRoutes, err error) + func (client *Client) ListStaticRouteSystem(paging *Paging, networkDomainId string) (staticRoutes *StaticRoutes, err error) + func (client *Client) ListTagKeys(paging *Paging) (tagKeys *TagKeys, err error) + func (client *Client) ListVIPNodesInNetworkDomain(networkDomainID string, paging *Paging) (nodes *VIPNodes, err error) + func (client *Client) ListVIPPoolMembers(poolID string, paging *Paging) (members *VIPPoolMembers, err error) + func (client *Client) ListVIPPoolMembershipsInNetworkDomain(networkDomainID string, paging *Paging) (members *VIPPoolMembers, err error) + func (client *Client) ListVIPPoolsInNetworkDomain(networkDomainID string, paging *Paging) (pools *VIPPools, err error) + func (client *Client) ListVLANs(networkDomainID string, paging *Paging) (vlans *VLANs, err error) + func (client *Client) ListVirtualListenersInNetworkDomain(networkDomainID string, paging *Paging) (listeners *VirtualListeners, err error) + func (client *Client) ModifyServerBackupClient(serverID string, clientID string, schedulePolicyName string, ...) (clientDownloadURL string, err error) + func (client *Client) NotifyServerIPAddressChange(networkAdapterID string, newIPv4Address *string, newIPv6Address *string) error + func (client *Client) PowerOffServer(id string) error + func (client *Client) ReconfigureServer(serverID string, memoryGB *int, cpuCount *int, cpuCoresPerSocket *int, ...) error + func (client *Client) RemoveAssetTags(assetID string, assetType string, tagNames ...string) (response *APIResponseV2, err error) + func (client *Client) RemoveDisk(diskID string) error + func (client *Client) RemoveDiskFromServer(diskID string) error + func (client *Client) RemoveNicFromServer(networkAdapterID string) (err error) + func (client *Client) RemovePublicIPBlock(id string) error + func (client *Client) RemoveSCSIControllerFromServer(controllerID string) error + func (client *Client) RemoveServerBackupClient(serverID string, clientID string) error + func (client *Client) RemoveVIPPoolMember(id string) error + func (client *Client) ReserveIPv6Address(vlanID string, ipAddress string, description string) error + func (client *Client) ReservePrivateIPv4Address(vlanID string, ipAddress string, description string) error + func (client *Client) Reset() + func (client *Client) ResizeServerDisk(serverID string, diskID string, newSizeGB int) (response *APIResponseV1, err error) + func (client *Client) RestoreStaticRoute(networkDomainId string) (err error) + func (client *Client) ShutdownServer(id string) error + func (client *Client) StartServer(id string) error + func (client *Client) UnreserveIPv6Address(vlanID string, ipAddress string, description string) error + func (client *Client) UnreservePrivateIPv4Address(vlanID string, ipAddress string, description string) error + func (client *Client) WaitForAdd(resourceType ResourceType, id string, actionDescription string, ...) (resource Resource, err error) + func (client *Client) WaitForChange(resourceType ResourceType, id string, actionDescription string, ...) (resource Resource, err error) + func (client *Client) WaitForDelete(resourceType ResourceType, id string, timeout time.Duration) error + func (client *Client) WaitForDeploy(resourceType ResourceType, id string, timeout time.Duration) (resource Resource, err error) + func (client *Client) WaitForEdit(resourceType ResourceType, id string, timeout time.Duration) (resource Resource, err error) + func (client *Client) WaitForNestedDeleteChange(resourceType ResourceType, id string, actionDescription string, ...) (resource Resource, err error) + func (client *Client) WaitForServerBackupStatus(serverID string, actionDescription string, targetStatus string, ...) (server *Server, err error) + func (client *Client) WaitForServerClone(customerImageID string, timeout time.Duration) (resource Resource, err error) + type CreateStaticRoute struct + Description string + DestinationNetworkAddress string + DestinationPrefixSize int + IpVersion string + Name string + NetworkDomainId string + NextHopAddress string + type CustomerImage struct + CPU VirtualMachineCPU + CreateTime string + DataCenterID string + Description string + Guest ImageGuestInformation + ID string + MemoryGB int + Name string + SCSIControllers VirtualMachineSCSIControllers + State string + func (image *CustomerImage) ApplyTo(config *ServerDeploymentConfiguration) + func (image *CustomerImage) ApplyToUncustomized(config *UncustomizedServerDeploymentConfiguration) + func (image *CustomerImage) GetDatacenterID() string + func (image *CustomerImage) GetID() string + func (image *CustomerImage) GetName() string + func (image *CustomerImage) GetOS() OperatingSystem + func (image *CustomerImage) GetResourceType() ResourceType + func (image *CustomerImage) GetState() string + func (image *CustomerImage) GetType() ImageType + func (image *CustomerImage) IsDeleted() bool + func (image *CustomerImage) RequiresCustomization() bool + func (image *CustomerImage) ToEntityReference() EntityReference + type CustomerImages struct + Images []CustomerImage + PageCount int + PageNumber int + PageSize int + TotalCount int + type Datacenter struct + City string + Country string + DisplayName string + FTPSHost string + ID string + Networking DatacenterNetworking + State string + Type string + VPNURL string + type DatacenterNetworking struct + MaintenanceStatus string + Type string + type Datacenters struct + Items []Datacenter + type DeleteVLAN struct + ID string + type DeployAttachedVLAN struct + AttachedVlan AttachedVlanGateway + Description string + IPv4BaseAddress string + IPv4PrefixSize int + Name string + VLANID string + type DeployDetachedVLAN struct + Description string + DetachedVlan DetachedVlanGateway + IPv4BaseAddress string + IPv4PrefixSize int + Name string + VLANID string + type DetachedVlanGateway struct + Ipv4GatewayAddress string + type EditIPAddressList struct + Addresses []IPAddressListEntry + ChildListIDs []string + Description string + ID string + type EditPortList struct + ChildListIDs []string + Description string + ID string + Ports []PortListEntry + type EditVIPNodeConfiguration struct + ConnectionLimit *int + ConnectionRateLimit *int + Description *string + HealthMonitorID *string + ID string + Status *string + type EditVIPPoolConfiguration struct + Description *string + HealthMonitorIDs *[]string + ID string + LoadBalanceMethod *string + ServiceDownAction *string + SlowRampTime *int + type EditVLAN struct + Description *string + ID string + Name *string + type EditVirtualListenerConfiguration struct + ConnectionLimit *int + ConnectionRateLimit *int + Description *string + Enabled *bool + ID string + IRuleIDs *[]string + OptimizationProfile *string + PersistenceProfileID *string + PoolID *string + SSLOffloadProfileID *string + SourcePortPreservation *string + type Entity interface + GetID func() string + type EntityReference struct + ID string + Name string + type FieldMessage struct + FieldName string + Message string + type FirewallRule struct + Action string + DataCenterID string + Destination FirewallRuleScope + Enabled bool + ID string + IPVersion string + Name string + NetworkDomainID string + Protocol string + RuleType string + Source FirewallRuleScope + State string + func (rule *FirewallRule) GetID() string + func (rule *FirewallRule) GetName() string + func (rule *FirewallRule) GetResourceType() ResourceType + func (rule *FirewallRule) GetState() string + func (rule *FirewallRule) IsDeleted() bool + func (rule *FirewallRule) ToEntityReference() EntityReference + type FirewallRuleConfiguration struct + Action string + Destination FirewallRuleScope + Enabled bool + IPVersion string + Name string + NetworkDomainID string + Placement FirewallRulePlacement + Protocol string + Source FirewallRuleScope + func (configuration *FirewallRuleConfiguration) Accept() *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) Disable() *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) Drop() *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) Enable() *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) ICMP() *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) IP() *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) IPv4() *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) IPv6() *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) MatchAnyDestinationAddress() *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) MatchAnyDestinationPort() *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) MatchAnySourceAddress() *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) MatchAnySourcePort() *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) MatchDestinationAddress(address string) *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) MatchDestinationAddressList(addressListID string) *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) MatchDestinationNetwork(baseAddress string, prefixSize int) *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) MatchDestinationPort(port int) *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) MatchDestinationPortList(portListID string) *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) MatchDestinationPortRange(beginPort int, endPort int) *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) MatchSourceAddress(address string) *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) MatchSourceAddressList(addressListID string) *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) MatchSourceNetwork(baseAddress string, prefixSize int) *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) MatchSourcePort(port int) *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) MatchSourcePortList(portListID string) *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) MatchSourcePortRange(beginPort int, endPort int) *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) PlaceAfter(afterRuleName string) *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) PlaceBefore(beforeRuleName string) *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) PlaceFirst() *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) TCP() *FirewallRuleConfiguration + func (configuration *FirewallRuleConfiguration) ToFirewallRule() FirewallRule + type FirewallRuleIPAddress struct + Address string + PrefixSize *int + type FirewallRulePlacement struct + Position string + RelativeToRuleName *string + type FirewallRulePort struct + Begin int + End *int + type FirewallRuleScope struct + AddressList *EntityReference + AddressListID *string + IPAddress *FirewallRuleIPAddress + Port *FirewallRulePort + PortListID *string + func (scope *FirewallRuleScope) IsScopeAddressList() bool + func (scope *FirewallRuleScope) IsScopeAny() bool + func (scope *FirewallRuleScope) IsScopeHost() bool + func (scope *FirewallRuleScope) IsScopeNetwork() bool + func (scope *FirewallRuleScope) IsScopePort() bool + func (scope *FirewallRuleScope) IsScopePortList() bool + func (scope *FirewallRuleScope) IsScopePortRange() bool + func (scope FirewallRuleScope) Diff(other FirewallRuleScope) (differences []string) + type FirewallRules struct + Rules []FirewallRule + type HealthMonitor struct + ID string + IsNodeCompatible bool + IsPoolCompatible bool + Name string + type HealthMonitors struct + Items []HealthMonitor + type IPAddressList struct + Addresses []IPAddressListEntry + ChildLists []EntityReference + CreateTime string + Description string + ID string + IPVersion string + Name string + State string + func (addressList *IPAddressList) BuildEditRequest() EditIPAddressList + type IPAddressListEntry struct + Begin string + End *string + PrefixSize *int + type IPAddressLists struct + AddressLists []IPAddressList + type IPRange interface + ToDisplayString func() string + type IPv4Range struct + BaseAddress string + PrefixSize int + func (network IPv4Range) ToDisplayString() string + type IPv6Range struct + BaseAddress string + PrefixSize int + func (network IPv6Range) ToDisplayString() string + type IRule struct + ID string + Name string + VirtualListenerProtocol string + VirtualListenerType string + func (iRule *IRule) GetID() string + func (iRule *IRule) GetName() string + func (iRule *IRule) ToEntityReference() EntityReference + type IRules struct + Items []IRule + type Image interface + ApplyTo func(config *ServerDeploymentConfiguration) + ApplyToUncustomized func(config *UncustomizedServerDeploymentConfiguration) + GetDatacenterID func() string + GetOS func() OperatingSystem + GetType func() ImageType + RequiresCustomization func() bool + type ImageGuestInformation struct + OSCustomization bool + OperatingSystem OperatingSystem + type ImageType int + const ImageTypeCustomer + const ImageTypeOS + const ImageTypeUnknown + type NATRule struct + CreateTime string + DataCenterID string + ExternalIPAddress string + ID string + InternalIPAddress string + NetworkDomainID string + State string + type NATRules struct + Rules []NATRule + type NamedEntity interface + GetName func() string + ToEntityReference func() EntityReference + type NetworkDomain struct + CreateTime string + DatacenterID string + Description string + ID string + Name string + NatIPv4Address string + OutsideTransitVLANIPv4Subnet IPv4Range + Progress string + State string + Type string + func (domain *NetworkDomain) GetID() string + func (domain *NetworkDomain) GetName() string + func (domain *NetworkDomain) GetResourceType() ResourceType + func (domain *NetworkDomain) GetState() string + func (domain *NetworkDomain) IsDeleted() bool + func (domain *NetworkDomain) ToEntityReference() EntityReference + type NetworkDomains struct + Domains []NetworkDomain + type NewVIPNodeConfiguration struct + ConnectionLimit int + ConnectionRateLimit int + Description string + HealthMonitorID string + IPv4Address string + IPv6Address string + Name string + NetworkDomainID string + Status string + type NewVIPPoolConfiguration struct + DatacenterID string + Description string + HealthMonitorIDs []string + LoadBalanceMethod string + Name string + NetworkDomainID string + ServiceDownAction string + SlowRampTime int + type NewVirtualListenerConfiguration struct + ClientClonePoolID *string + ConnectionLimit int + ConnectionRateLimit int + Description string + Enabled bool + FallbackPersistenceProfileID *string + IRuleIDs []string + ListenerIPAddress *string + Name string + NetworkDomainID string + OptimizationProfile *string + PersistenceProfileID *string + PoolID *string + Port int + Protocol string + SSLOffloadProfileID *string + SourcePortPreservation string + Type string + type OSImage struct + CPU VirtualMachineCPU + CreateTime string + DataCenterID string + Description string + Guest ImageGuestInformation + ID string + MemoryGB int + Name string + OSImageKey string + SCSIControllers VirtualMachineSCSIControllers + State string + func (image *OSImage) ApplyTo(config *ServerDeploymentConfiguration) + func (image *OSImage) ApplyToUncustomized(config *UncustomizedServerDeploymentConfiguration) + func (image *OSImage) GetDatacenterID() string + func (image *OSImage) GetID() string + func (image *OSImage) GetName() string + func (image *OSImage) GetOS() OperatingSystem + func (image *OSImage) GetResourceType() ResourceType + func (image *OSImage) GetState() string + func (image *OSImage) GetType() ImageType + func (image *OSImage) IsDeleted() bool + func (image *OSImage) RequiresCustomization() bool + func (image *OSImage) ToEntityReference() EntityReference + type OSImages struct + Images []OSImage + PageCount int + PageNumber int + PageSize int + TotalCount int + type OperatingSystem struct + DisplayName string + Family string + ID string + type OperationCancelledError struct + OperationDescription string + func (err OperationCancelledError) Error() string + type PagedResult struct + PageCount int + PageNumber int + PageSize int + TotalCount int + func (page *PagedResult) IsEmpty() bool + func (page *PagedResult) IsLastPage() bool + func (page *PagedResult) NextPage() *Paging + type Paging struct + PageNumber int + PageSize int + func DefaultPaging() *Paging + func (paging *Paging) EnsurePaging() *Paging + func (paging *Paging) First() + func (paging *Paging) Next() + type PersistenceProfile struct + ID string + IsFallbackCompatible bool + Name string + VirtualListenerProtocol string + VirtualListenerType string + func (profile *PersistenceProfile) GetID() string + func (profile *PersistenceProfile) GetName() string + func (profile *PersistenceProfile) ToEntityReference() EntityReference + type PersistenceProfiles struct + Items []PersistenceProfile + type PortList struct + ChildLists []EntityReference + CreateTime string + Description string + ID string + Name string + Ports []PortListEntry + State string + func (portList *PortList) BuildEditRequest() EditPortList + type PortListEntry struct + Begin int + End *int + type PortLists struct + PortLists []PortList + type PublicIPBlock struct + BaseIP string + CreateTime string + DataCenterID string + ID string + NetworkDomainID string + Size int + State string + func (block *PublicIPBlock) GetID() string + func (block *PublicIPBlock) GetName() string + func (block *PublicIPBlock) GetResourceType() ResourceType + func (block *PublicIPBlock) GetState() string + func (block *PublicIPBlock) IsDeleted() bool + func (block *PublicIPBlock) ToEntityReference() EntityReference + type PublicIPBlocks struct + Blocks []PublicIPBlock + type ReservedIPAddress struct + Description string + IPAddress string + VLANID string + type ReservedIPv4Addresses struct + Items []ReservedIPAddress + type ReservedIPv6Addresses struct + Items []ReservedIPAddress + type ReservedPublicIP struct + Address string + DataCenterID string + IPBlockID string + NetworkDomainID string + type ReservedPublicIPs struct + IPs []ReservedPublicIP + type Resource interface + GetResourceType func() ResourceType + GetState func() string + IsDeleted func() bool + type ResourceType int + const ResourceTypeCustomerImage + const ResourceTypeFirewallRule + const ResourceTypeNetworkAdapter + const ResourceTypeNetworkDomain + const ResourceTypeOSImage + const ResourceTypePublicIPBlock + const ResourceTypeSSLCertificateChain + const ResourceTypeSSLDomainCertificate + const ResourceTypeSSLOffloadProfile + const ResourceTypeServer + const ResourceTypeServerAntiAffinityRule + const ResourceTypeStaticRoutes + const ResourceTypeVIPNode + const ResourceTypeVIPPool + const ResourceTypeVLAN + const ResourceTypeVirtualListener + type Role struct + Name string + XMLName xml.Name + type SSLCertificateChain struct + DatacenterID string + Description string + ID string + Name string + NetworkDomainID string + State string + func (certificateChain *SSLCertificateChain) GetID() string + func (certificateChain *SSLCertificateChain) GetName() string + func (certificateChain *SSLCertificateChain) GetResourceType() ResourceType + func (certificateChain *SSLCertificateChain) GetState() string + func (certificateChain *SSLCertificateChain) IsDeleted() bool + func (certificateChain *SSLCertificateChain) ToEntityReference() EntityReference + type SSLCertificateChains struct + Items []SSLCertificateChain + type SSLDomainCertificate struct + DatacenterID string + Description string + ID string + Name string + NetworkDomainID string + State string + func (domainCertificate *SSLDomainCertificate) GetID() string + func (domainCertificate *SSLDomainCertificate) GetName() string + func (domainCertificate *SSLDomainCertificate) GetResourceType() ResourceType + func (domainCertificate *SSLDomainCertificate) GetState() string + func (domainCertificate *SSLDomainCertificate) IsDeleted() bool + func (domainCertificate *SSLDomainCertificate) ToEntityReference() EntityReference + type SSLDomainCertificates struct + Items []SSLDomainCertificate + type SSLOffloadProfile struct + Ciphers string + DatacenterID string + Description string + ID string + Name string + NetworkDomainID string + SSLCertificateChain EntityReference + SSLDomainCertificate EntityReference + State string + func (offloadProfile *SSLOffloadProfile) GetID() string + func (offloadProfile *SSLOffloadProfile) GetName() string + func (offloadProfile *SSLOffloadProfile) GetResourceType() ResourceType + func (offloadProfile *SSLOffloadProfile) GetState() string + func (offloadProfile *SSLOffloadProfile) IsDeleted() bool + func (offloadProfile *SSLOffloadProfile) ToEntityReference() EntityReference + type SSLOffloadProfiles struct + Items []SSLOffloadProfile + type Server struct + Backup *ServerBackup + CPU VirtualMachineCPU + Deployed bool + Description string + ID string + MemoryGB int + Name string + Network VirtualMachineNetwork + OperatingSystem OperatingSystem + SCSIControllers VirtualMachineSCSIControllers + SourceImageID string + Started bool + State string + func (server *Server) GetID() string + func (server *Server) GetName() string + func (server *Server) GetResourceType() ResourceType + func (server *Server) GetState() string + func (server *Server) IsDeleted() bool + func (server *Server) ToEntityReference() EntityReference + type ServerAntiAffinityRule struct + CreateTime string + DatacenterID string + ID string + Servers []ServerSummary + State string + func (rule *ServerAntiAffinityRule) GetID() string + func (rule *ServerAntiAffinityRule) GetName() string + func (rule *ServerAntiAffinityRule) GetResourceType() ResourceType + func (rule *ServerAntiAffinityRule) GetState() string + func (rule *ServerAntiAffinityRule) IsDeleted() bool + func (rule *ServerAntiAffinityRule) ToEntityReference() EntityReference + type ServerAntiAffinityRules struct + Items []ServerAntiAffinityRule + type ServerBackup struct + ServicePlan string + State string + type ServerBackupDetails struct + AssetID string + Clients []BackupClientDetail + ServicePlan string + State string + XMLName xml.Name + func (backupDetails *ServerBackupDetails) GetClientByID(id string) *BackupClientDetail + type ServerDeploymentConfiguration struct + AdministratorPassword string + CPU VirtualMachineCPU + Description string + ImageID string + MemoryGB int + Name string + Network VirtualMachineNetwork + PrimaryDNS string + SCSIControllers VirtualMachineSCSIControllers + SecondaryDNS string + Start bool + type ServerSummary struct + Description string + ID string + Name string + func (serverSummary *ServerSummary) ToEntityReference() EntityReference + type Servers struct + Items []Server + type StaticRoute struct + CreateTime string + DataCenter string + Description string + DestinationNetworkAddress string + DestinationPrefixSize int + ID string + IpVersion string + Name string + NetworkDomainId string + NextHopAddress string + State string + Type string + func (staticRoute *StaticRoute) GetID() string + func (staticRoute *StaticRoute) GetName() string + func (staticRoute *StaticRoute) GetResourceType() ResourceType + func (staticRoute *StaticRoute) GetState() string + func (staticRoute *StaticRoute) IsDeleted() bool + func (staticRoute *StaticRoute) ToEntityReference() EntityReference + type StaticRoutes struct + Routes []StaticRoute + type Tag struct + Name string + Value string + type TagDetail struct + AssetID string + AssetName string + AssetType string + DataCenterID string + DisplayOnReports bool + IsValueRequired bool + Name string + TagKeyID string + Value string + func (tagDetail *TagDetail) ToTag() Tag + type TagDetails struct + Items []TagDetail + type TagKey struct + ID string + type TagKeys struct + Items []TagKey + type UncustomizedServerDeploymentConfiguration struct + CPU VirtualMachineCPU + Description string + Disks VirtualMachineDisks + ImageID string + MemoryGB int + Name string + Network VirtualMachineNetwork + Start bool + type VIPNode struct + ConnectionLimit int + ConnectionRateLimit int + CreateTime string + DataCenterID string + Description string + HealthMonitor VIPNodeHealthMonitor + ID string + IPv4Address string + IPv6Address string + Name string + NetworkDomainID string + Progress string + State string + Status string + func (node *VIPNode) GetID() string + func (node *VIPNode) GetName() string + func (node *VIPNode) GetResourceType() ResourceType + func (node *VIPNode) GetState() string + func (node *VIPNode) IsDeleted() bool + func (node *VIPNode) ToEntityReference() EntityReference + type VIPNodeHealthMonitor struct + ID string + Name string + type VIPNodeReference struct + IPAddress string + Status string + type VIPNodes struct + Items []VIPNode + type VIPPool struct + CreateTime string + DataCenterID string + Description string + HealthMonitors []EntityReference + ID string + LoadBalanceMethod string + Name string + NetworkDomainID string + ServiceDownAction string + SlowRampTime int + State string + func (pool *VIPPool) GetID() string + func (pool *VIPPool) GetName() string + func (pool *VIPPool) GetResourceType() ResourceType + func (pool *VIPPool) GetState() string + func (pool *VIPPool) IsDeleted() bool + func (pool *VIPPool) ToEntityReference() EntityReference + type VIPPoolMember struct + CreateTime string + DatacenterID string + ID string + NetworkDomainID string + Node VIPNodeReference + Pool EntityReference + Port *int + State string + Status string + type VIPPoolMembers struct + Items []VIPPoolMember + type VIPPools struct + Items []VIPPool + type VLAN struct + CreateTime string + DataCenterID string + Description string + GatewayAddressing string + ID string + IPv4GatewayAddress string + IPv4Range IPv4Range + IPv6GatewayAddress string + IPv6Range IPv6Range + Name string + NetworkDomain EntityReference + State string + func (vlan *VLAN) GetID() string + func (vlan *VLAN) GetName() string + func (vlan *VLAN) GetResourceType() ResourceType + func (vlan *VLAN) GetState() string + func (vlan *VLAN) IsDeleted() bool + func (vlan *VLAN) ToEntityReference() EntityReference + type VLANs struct + VLANs []VLAN + type VirtualListener struct + ClientClonePool VirtualListenerVIPPoolRef + ConnectionLimit int + ConnectionRateLimit int + CreateTime string + DataCenterID string + Description string + Enabled bool + FallbackPersistenceProfile EntityReference + ID string + IRules []EntityReference + ListenerIPAddress string + Name string + NetworkDomainID string + OptimizationProfile string + PersistenceProfile EntityReference + Pool VirtualListenerVIPPoolRef + Port int + Protocol string + SSLOffloadProfile EntityReference + SourcePortPreservation string + State string + Type string + func (virtualListener *VirtualListener) GetID() string + func (virtualListener *VirtualListener) GetName() string + func (virtualListener *VirtualListener) GetResourceType() ResourceType + func (virtualListener *VirtualListener) GetState() string + func (virtualListener *VirtualListener) IsDeleted() bool + func (virtualListener *VirtualListener) ToEntityReference() EntityReference + type VirtualListenerVIPPoolRef struct + HealthMonitors []EntityReference + LoadBalanceMethod string + ServiceDownAction string + type VirtualListeners struct + Items []VirtualListener + type VirtualMachineCPU struct + CoresPerSocket int + Count int + Speed string + type VirtualMachineDisk struct + ID string + Iops int + SCSIUnitID int + SizeGB int + Speed string + State string + type VirtualMachineDisks []VirtualMachineDisk + func (disks VirtualMachineDisks) GetByID(id string) *VirtualMachineDisk + func (disks VirtualMachineDisks) GetByUnitID(unitID int) *VirtualMachineDisk + type VirtualMachineNetwork struct + AdditionalNetworkAdapters []VirtualMachineNetworkAdapter + NetworkDomainID string + PrimaryAdapter VirtualMachineNetworkAdapter + type VirtualMachineNetworkAdapter struct + AdapterKey *int + AdapterType *string + ID *string + MACAddress *string + PrivateIPv4Address *string + PrivateIPv6Address *string + State *string + VLANID *string + VLANName *string + func (networkAdapter *VirtualMachineNetworkAdapter) GetID() string + func (networkAdapter *VirtualMachineNetworkAdapter) GetName() string + func (networkAdapter *VirtualMachineNetworkAdapter) GetResourceType() ResourceType + func (networkAdapter *VirtualMachineNetworkAdapter) GetState() string + func (networkAdapter *VirtualMachineNetworkAdapter) IsDeleted() bool + func (networkAdapter *VirtualMachineNetworkAdapter) ToEntityReference() EntityReference + type VirtualMachineSCSIController struct + AdapterType string + BusNumber int + Disks VirtualMachineDisks + ID string + Key int + State string + func (controller *VirtualMachineSCSIController) GetDiskByUnitID(unitID int) *VirtualMachineDisk + type VirtualMachineSCSIControllers []VirtualMachineSCSIController + func (controllers VirtualMachineSCSIControllers) GetByBusNumber(busNumber int) *VirtualMachineSCSIController + func (controllers VirtualMachineSCSIControllers) GetByID(controllerID string) *VirtualMachineSCSIController + func (controllers VirtualMachineSCSIControllers) GetDiskBySCSIPath(busNumber int, unitID int) *VirtualMachineDisk + func (controllers VirtualMachineSCSIControllers) GetDiskCount() (count int) v1.3.0-alpha1 Apr 16, 2017 Incompatible versions in this module v2.0.1+incompatible Oct 14, 2020