morpheus

package module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 10 Imported by: 5

README

go-morpheus-sdk

GoReportCard GitHub release GoDoc

This package provides the official Go library for the Morpheus API.

This is being developed in conjunction with the Morpheus Terraform Provider.

Setup

Install Go, export environment variables, go get the morpheus package and begin executing requests.

Requirements

  • Go | 1.17
Environment Variables

Be sure to setup your Go environment variables.

export GOPATH=$HOME/gocode
export PATH=$PATH:$GOPATH/bin
Installation

Use go get to retrieve the SDK to add it to your GOPATH workspace, or project's Go module dependencies.

go get github.com/gomorpheus/morpheus-go-sdk

To update the SDK use go get -u to retrieve the latest version of the SDK.

go get -u github.com/gomorpheus/morpheus-go-sdk

Usage

Here are some examples of how to use morpheus.Client.

New Client

Instantiate a new client and authenticate.

import "github.com/gomorpheus/morpheus-go-sdk"
client := morpheus.NewClient("https://yourmorpheus.com")
client.SetUsernameAndPassword("username", "password")
resp, err := client.Login()
if err != nil {
    fmt.Println("LOGIN ERROR: ", err)
}
fmt.Println("LOGIN RESPONSE:", resp)

You can also create a client with a valid access token, instead of authenticating with a username and password.

import "github.com/gomorpheus/morpheus-go-sdk"
client := morpheus.NewClient("https://yourmorpheus.com")
client.SetAccessToken("a3a4c6ea-fb54-42af-109b-63bdd19e5ae1", "", 0, "write")
resp, err := client.Whoami()
if err != nil {
    fmt.Println("WHOAMI ERROR: ", err)
}
fmt.Println("WHOAMI RESPONSE:", resp)

NOTE It is not necessary to call client.Login() explicitely. The client will attempt to authenticate, if needed, whenever Execute() is called.

Execute Any Request

You can also use the Execute method to execute an arbitrary api request, using any http method, path parameters, and body.

resp, err := client.Execute(&morpheus.Request{
    Method: "GET",
    Path: "/api/instances",
    QueryParams:map[string]string{
        "name": "tftest",
    },
})
if err != nil {
    fmt.Println("API ERROR: ", err)
}
fmt.Println("API RESPONSE:", resp)
List Instances

Fetch a list of instances.

resp, err := client.ListInstances(&morpheus.Request{})
// parse JSON and fetch the first one by ID
listInstancesResult := resp.Result.(*morpheus.ListInstancesResult)
instancesCount := listInstancesResult.Meta.Total
fmt.Sprintf("Found %d Instances.", instancesCount)

NOTE: This may be simplified so that typecasting the result is not always needed.

Testing

You can execute the latest tests using:

go test

The above command will (ideally) print results like this:

Initializing test client for tfplugin @ https://yourmorpheus.com
PASS
ok      github.com/gomorpheus/morpheus-go-sdk   1.098s

Running go test will fail with a panic right away if you have not yet setup your test environment variables.

export MORPHEUS_TEST_URL=https://yourmorpheus.com
export MORPHEUS_TEST_USERNAME=gotest
export MORPHEUS_TEST_PASSWORD=19830B3f489
export MORPHEUS_TEST_TOKEN=8c6380df-4cwf-40qd-9fm6-hj16a0357094

Be Careful running this test suite. It creates and destroys data. Never point at any URL other than a test environment. Although, in reality, tests will not modify or destroy any pre-existing data. It could still orphan some test some data, or cause otherwise undesired effects.

You can run an individual test like this:

go test -run TestGroupsCRUD
go test -v

Contribution

This library is currently under development. Eventually every API endpoint will have a corresponding method defined by Client with the request and response types defined.

Feel free to contribute by implementing the list of missing endpoints. See Coverage.

Code Structure

The main type this package exposes is Client, implemented in client.go.

Each resource is defined in its own file eg. instances.go which extends the Client type by defining a function for each endpoint the resource has, such as GetInstance(), ListInstances(), CreateInstance(), UpdateInstance, DeleteInstance(), etc. The request and response payload types used by those methods are also defined here.

Test Files

Be sure to add a _test.go file with unit tests for each new resource that is implemented.

External Resources
Link Description
Morpheus API The Morpheus API documentation.

Coverage

API Available?
account_groups n/a
accounts Accounts
activity Activity
appliance_settings Appliance Settings
approvals Approvals
apps Apps
archive_buckets n/a
archive_files n/a
auth n/a
blueprints Blueprints
budgets Budgets
cloud_datastores n/a
cloud_folders n/a
cloud_policies n/a
cloud_resource_pools n/a
clouds Clouds
clusters Clusters
containers n/a
custom_instance_types n/a
cypher Cypher
dashboard n/a
deploy n/a
deployments Deployments
credentials Credentials
environments Environments
execute_schedules Execute Schedules
execution_request n/a
file_copy_request n/a
group_policies n/a
groups Groups
guidance_settings Guidance Settings
image_builder n/a
instances Instances
integrations Integrations
key_pairs Key Pairs
library_cluster_layouts Cluster Layouts
library_compute_type_layouts n/a
library_container_scripts Script Templates
library_container_templates File Templates
library_container_types Node Types
library_container_upgrades n/a
library_instance_types Instance Types
library_layouts n/a
library_spec_templates Spec Templates
license License
load_balancer_monitors Load Balancer Monitors
load_balancer_pools Load Balancer Pools
load_balancer_monitors Load Balancer Profiles
load_balancer_types Load Balancer Types
load_balancer_virtual_servers Load Balancer Virtual Servers
load_balancers Load Balancers
logs n/a
log_settings Log Settings
monitoring n/a
monitoring.checks Checks
monitoring.groups Check Groups
monitoring.apps Monitoring Apps
monitoring_settings Monitoring Settings
monitoring.incidents Incidents
monitoring.alerts Alerts
monitoring.contacts Contacts
network_domain_records n/a
network_domains Network Domains
network_groups Network Groups
network_pool_ips n/a
network_pool_servers Network Pool Servers
network_pools Network Pools
network_proxies Network Proxies
network_services n/a
network_subnet_types n/a
network_subnets n/a
network_types n/a
networks Networks
option_type_lists Option Type Lists
option_types Option Types
plans Plans
plugins Plugins
policies Policies
power_schedules Power Schedules
prices Prices
price_sets Price Sets
processes n/a
provision_types Provision Types
refresh_token n/a
reports n/a
resource_pool_groups Resource Pool Groups
roles Roles
scale_thresholds Scale Thresholds
security_group_rules n/a
security_groups n/a
security_packages Security Packages
security_scans Security Scans
server_types n/a
servers n/a
service_plans Service Plans
setup Setup
software_licenses Software Licenses
storage_buckets Storage Buckets
storage_providers n/a
storage_servers Storage Servers
subnets n/a
task_sets Task Sets
tasks Tasks
user_groups User Groups
user_settings n/a
user_sources Identity Sources
users Users
vdi_allocations VDI Allocations
vdi_apps VDI Apps
vdi_gateways VDI Gateways
vdi_pools VDI Pools
virtual_images Virtual Images
whoami Whoami
whitelabel_settings Whitelabel Settings
wikis Wikis

Documentation

Overview

Client is the driver for interfacing with the Morpheus API

Defines types that are commonly used in api request and responses

Index

Constants

View Source
const SDKVersion = "0.1"

SDKVersion is the version of this SDK

Variables

View Source
var (
	// ApprovalsPath is the API endpoint for approvals
	ApprovalsPath     = "/api/approvals"
	ApprovalItemsPath = "/api/approval-items"
)
View Source
var (
	// IdentitySourcesPath is the API endpoint for identity sources
	IdentitySourcesPath       = "/api/user-sources"
	CreateIdentitySourcesPath = "/api/accounts"
)
View Source
var (
	// LogSettingsPath is the API endpoint for log settings
	LogSettingsPath = "/api/log-settings"
	SyslogRulesPath = "/api/log-settings/syslog-rules"
)
View Source
var (
	// RolesPath is the API endpoint for roles
	RolesPath = "/api/roles"
	// RolesPath is the API endpoint for tenant roles
	TenantRolesPath = "/api/accounts/available-roles"
)
View Source
var (
	ServiceCatalogPath      = "/api/catalog/cart"
	ServiceCatalogItemsPath = "/api/catalog/cart/items"
	ServiceCatalogTypesPath = "/api/catalog/types"
)
View Source
var (
	// WikisPath is the API endpoint for wikis
	WikisPath = "/api/wiki/pages"
	// WikiCategoriesPath is the API endpoint for wiki categories
	WikiCategoriesPath = "/api/wiki/categories"
)
View Source
var (
	// ActivityPath is the API endpoint for activity
	ActivityPath = "/api/activity"
)
View Source
var (
	// AlertsPath is the API endpoint for alerts
	AlertsPath = "/api/monitoring/alerts"
)
View Source
var (
	// ApplianceSettingsPath is the API endpoint for appliance settings
	ApplianceSettingsPath = "/api/appliance-settings"
)
View Source
var (
	// AppsPath is the API endpoint for apps
	AppsPath = "/api/apps"
)
View Source
var (
	// ArchivesPath is the API endpoint for archives
	ArchivesPath = "/api/archives/buckets"
)
View Source
var (
	// BackupSettingsPath is the API endpoint for backup settings
	BackupSettingsPath = "/api/backup-settings"
)
View Source
var (
	// BlueprintsPath is the API endpoint for blueprints
	BlueprintsPath = "/api/blueprints"
)
View Source
var (
	// BootScriptsPath is the API endpoint for boot scripts
	BootScriptsPath = "/api/boot-scripts"
)
View Source
var (
	// BudgetsPath is the API endpoint for budgets
	BudgetsPath = "/api/budgets"
)
View Source
var (
	// CatalogItemsPath is the API endpoint for catalog items
	CatalogItemsPath = "/api/catalog-item-types"
)
View Source
var (
	// CheckAppsPath is the API endpoint for check apps
	CheckAppsPath = "/api/monitoring/apps"
)
View Source
var (
	// CheckGroupsPath is the API endpoint for check groups
	CheckGroupsPath = "/api/monitoring/groups"
)
View Source
var (
	// ChecksPath is the API endpoint for check groups
	ChecksPath = "/api/monitoring/checks"
)
View Source
var (
	// CloudsPath is the API endpoint for clouds (zones)
	CloudsPath = "/api/zones"
)
View Source
var (
	// ClusterLayoutsPath is the API endpoint for cluster layouts
	ClusterLayoutsPath = "/api/library/cluster-layouts"
)
View Source
var (
	// ClusterPackagesPath is the API endpoint for cluster packages
	ClusterPackagesPath = "/api/library/cluster-packages"
)
View Source
var (
	ClusterTypesPath = "/api/cluster-types"
)
View Source
var (
	// ClustersPath is the API endpoint for clusters
	ClustersPath = "/api/clusters"
)
View Source
var (
	// ContactsPath is the API endpoint for check groups
	ContactsPath = "/api/monitoring/contacts"
)
View Source
var (
	// CredentialsPath is the API endpoint for credentials
	CredentialsPath = "/api/credentials"
)
View Source
var (
	// CypherPath is the API endpoint for cypher
	CypherPath = "/api/cypher"
)
View Source
var (
	// DeploymentsPath is the API endpoint for deployments
	DeploymentsPath = "/api/deployments"
)
View Source
var (
	// EmailTemplatesPath is the API endpoint for email templates
	EmailTemplatesPath = "/api/email-templates"
)
View Source
var (
	// EnvironmentsPath is the API endpoint for environments
	EnvironmentsPath = "/api/environments"
)
View Source
var (
	// ExecuteSchedulesPath is the API endpoint for execute schedules
	ExecuteSchedulesPath = "/api/execute-schedules"
)
View Source
var (
	// ExecutionRequestPath is the API endpoint for execution requests
	ExecutionRequestPath = "/api/execution-request"
)
View Source
var (
	// FileTemplatesPath is the API endpoint for container templates
	FileTemplatesPath = "/api/library/container-templates"
)
View Source
var (
	// FormsPath is the API endpoint for forms
	FormsPath = "/api/library/option-type-forms"
)
View Source
var (
	// GroupsPath is the API endpoint for groups
	GroupsPath = "/api/groups"
)
View Source
var (
	// GuidanceSettingsPath is the API endpoint for guidance settings
	GuidanceSettingsPath = "/api/guidance-settings"
)
View Source
var (
	// IncidentsPath is the API endpoint for incidents
	IncidentsPath = "/api/monitoring/incidents"
)
View Source
var (
	// InstanceLayoutsPath is the API endpoint for instance layouts
	InstanceLayoutsPath = "/api/library/layouts"
)
View Source
var (
	// InstanceTypesPath is the API endpoint for instance types
	InstanceTypesPath = "/api/library/instance-types"
)
View Source
var (
	// InstancesPath is the API endpoint for instances
	InstancesPath = "/api/instances"
)
View Source
var (
	// IntegrationsPath is the API endpoint for integrations
	IntegrationsPath = "/api/integrations"
)
View Source
var (
	// JobsPath is the API endpoint for job executions
	JobExecutionsPath = "/api/job-executions"
)
View Source
var (
	// JobsPath is the API endpoint for jobs
	JobsPath = "/api/jobs"
)
View Source
var (
	// KeyPairsPath is the API endpoint for key pairs
	KeyPairsPath = "/api/key-pairs"
)
View Source
var (
	// LicensePath is the API endpoint for license configuration
	LicensePath = "/api/license"
)
View Source
var (
	// LoadBalancerMonitorsPath is the API endpoint for load balancer monitors
	LoadBalancerMonitorsPath = "/api/load-balancers"
)
View Source
var (
	// LoadBalancerPoolsPath is the API endpoint for load balancer pools
	LoadBalancerPoolsPath = "/api/load-balancers"
)
View Source
var (
	// LoadBalancerProfilesPath is the API endpoint for load balancer profiles
	LoadBalancerProfilesPath = "/api/load-balancers"
)
View Source
var (
	// LoadBalancerTypesPath is the API endpoint for load balancers types
	LoadBalancerTypesPath = "/api/load-balancers-types"
)
View Source
var (
	// LoadBalancerVirtualServersPath is the API endpoint for load balancer virtual servers
	LoadBalancerVirtualServersPath = "/api/load-balancers"
)
View Source
var (
	// LoadBalancersPath is the API endpoint for load balancers
	LoadBalancersPath = "/api/load-balancers"
)
View Source
var (
	// MonitoringAppsPath is the API endpoint for monitoring apps
	MonitoringAppsPath = "/api/monitoring/apps"
)
View Source
var (
	// MonitoringSettingsPath is the API endpoint for monitoring settings
	MonitoringSettingsPath = "/api/monitoring-settings"
)
View Source
var (
	// NetworkDomainsPath is the API endpoint for network domains
	NetworkDomainsPath = "/api/networks/domains"
)
View Source
var (
	// NetworkGroupsPath is the API endpoint for network groups
	NetworkGroupsPath = "/api/networks/groups"
)
View Source
var (
	// NetworkPoolServersPath is the API endpoint for network pool servers
	NetworkPoolServersPath = "/api/networks/pool-servers"
)
View Source
var (
	// NetworkPoolsPath is the API endpoint for network pools
	NetworkPoolsPath = "/api/networks/pools"
)
View Source
var (
	// NetworkProxiesPath is the API endpoint for network proxies
	NetworkProxiesPath = "/api/networks/proxies"
)
View Source
var (
	// NetworkStaticRoutesPath is the API endpoint for network static routes
	NetworkStaticRoutesPath = "/api/networks"
)
View Source
var (
	// NetworkSubnetsPath is the API endpoint for network subnets
	NetworkSubnetsPath = "/api/subnets"
)
View Source
var (
	// NetworksPath is the API endpoint for networks
	NetworksPath = "/api/networks"
)
View Source
var (
	// NodeTypesPath is the API endpoint for node types
	NodeTypesPath = "/api/library/container-types"
)
View Source
var (
	// OauthClientsPath is the API endpoint for oauth client
	OauthClientsPath = "/api/clients"
)
View Source
var (
	// OptionListsPath is the API endpoint for option lists
	OptionListsPath = "/api/library/option-type-lists"
)
View Source
var (
	// OptionSourcePath is the API endpoint for option sources
	OptionSourcePath = "/api/options"
)
View Source
var (
	// OptionTypesPath is the API endpoint for option types
	OptionTypesPath = "/api/library/option-types"
)
View Source
var (
	// PlansPath is the API endpoint for plans
	PlansPath = "/api/service-plans"
)
View Source
var (
	// PluginsPath is the API endpoint for plugins
	PluginsPath = "/api/plugins"
)
View Source
var (
	// PoliciesPath is the API endpoint for policies
	PoliciesPath = "/api/policies"
)
View Source
var (
	// PowerSchedulesPath is the API endpoint for power schedules
	PowerSchedulesPath = "/api/power-schedules"
)
View Source
var (
	// PreseedScriptsPath is the API endpoint for preseed scripts
	PreseedScriptsPath = "/api/preseed-scripts"
)
View Source
var (
	// PriceSetsPath is the API endpoint for priceSets
	PriceSetsPath = "/api/price-sets"
)
View Source
var (
	// PricesPath is the API endpoint for prices
	PricesPath = "/api/prices"
)
View Source
var (
	ProvisionTypesPath = "/api/provision-types"
)
View Source
var (
	// ProvisioningSettingsPath is the API endpoint for provisioning settings
	ProvisioningSettingsPath = "/api/provisioning-settings"
)
View Source
var (
	// ReportTypesPath is the API endpoint for report types
	ReportTypesPath = "/api/report-types"
)
View Source
var (
	// ResourcePoolGroupsPath is the API endpoint for resource pool groups
	ResourcePoolGroupsPath = "/api/resource-pools/groups"
)
View Source
var (
	// ScaleThresholdsPath is the API endpoint for scale thresholds
	ScaleThresholdsPath = "/api/scale-thresholds"
)
View Source
var (
	// ScriptTemplatesPath is the API endpoint for container scripts
	ScriptTemplatesPath = "/api/library/container-scripts"
)
View Source
var (
	// SecurityGroupsPath is the API endpoint for security groups
	SecurityGroupsPath = "/api/security-groups"
)
View Source
var (
	// SecurityPackagesPath is the API endpoint for security packages
	SecurityPackagesPath = "/api/security-packages"
)
View Source
var (
	// SecurityScansPath is the API endpoint for securityScans
	SecurityScansPath = "/api/security-scans"
)
View Source
var (
	// ServicePlansPath is the API endpoint for servicePlans
	ServicePlansPath = "/api/service-plans"
)
View Source
var (
	SetupPath = "/api/setup"
)
View Source
var (
	// SoftwareLicensesPath is the API endpoint for software licenses
	SoftwareLicensesPath = "/api/provisioning-licenses"
)
View Source
var (
	// SpecTemplatesPath is the API endpoint for spec templates
	SpecTemplatesPath = "/api/library/spec-templates"
)
View Source
var (
	// StorageBucketsPath is the API endpoint for storage buckets
	StorageBucketsPath = "/api/storage-buckets"
)
View Source
var (
	// StorageServerTypesPath is the API endpoint for Storage Server types
	StorageServerTypesPath = "/api/storage-server-types"
)
View Source
var (
	// StorageServersPath is the API endpoint for storage servers
	StorageServersPath = "/api/storage-servers"
)
View Source
var (
	// StorageVolumeTypesPath is the API endpoint for Storage Volume types
	StorageVolumeTypesPath = "/api/storage-volume-types"
)
View Source
var (
	// StorageVolumesPath is the API endpoint for Storage Volumes
	StorageVolumesPath = "/api/storage-volumes"
)
View Source
var (
	// TaskSetsPath is the API endpoint for task sets
	TaskSetsPath = "/api/task-sets"
)
View Source
var (
	// TaskTypesPath is the API endpoint for Task types
	TaskTypesPath = "/api/task-types"
)
View Source
var (
	// TasksPath is the API endpoint for tasks
	TasksPath = "/api/tasks"
)
View Source
var (
	// TenantsPath is the API endpoint for tenants
	TenantsPath = "/api/accounts"
)
View Source
var (
	// UserGroupsPath is the API endpoint for user groups
	UserGroupsPath = "/api/user-groups"
)
View Source
var (
	// UsersPath is the API endpoint for user
	UsersPath = "/api/users"
)
View Source
var (
	// VDIAllocationsPath is the API endpoint for vdi allocations
	VDIAllocationsPath = "/api/vdi-allocations"
)
View Source
var (
	// VDIAppsPath is the API endpoint for vdi apps
	VDIAppsPath = "/api/vdi-apps"
)
View Source
var (
	// VDIGatewaysPath is the API endpoint for vdi gateways
	VDIGatewaysPath = "/api/vdi-gateways"
)
View Source
var (
	// VDIPoolsPath is the API endpoint for vdi pools
	VDIPoolsPath = "/api/vdi-pools"
)
View Source
var (
	// VirtualImagesPath is the API endpoint for virtual images
	VirtualImagesPath = "/api/virtual-images"
)
View Source
var (
	// WhitelabelSettingsPath is the API endpoint for whitelabel settings
	WhitelabelSettingsPath = "/api/whitelabel-settings"
)
View Source
var (
	// WhoamiPath is the API endpoint for whoami
	WhoamiPath = "/api/whoami"
)

Functions

This section is empty.

Types

type APIResponse

type APIResponse interface {

	// whether the request was successful (200 OK) or not.
	Success() bool

	// HTTP status code eg. 200
	StatusCode() int

	// HTTP status message .eg "OK"
	Status() string

	// response body byte array
	Body() []byte

	// an error ocured
	Error() error

	// timestamp of the request
	ReceivedAt() time.Time

	// number of bytes in the response
	Size() int64

	// This holds the parsed JSON for convenience
	JsonData() interface{}

	// This holds any error encountering JsonData
	JsonParseError() error

	// the parsed result, in the specified type.
	Result() interface{}

	// the request is stored in here for referencing the http request.
	Request() *Request

	// errors that happened during the request
	Errors() []error
}

todo: use something like this so we don't have to typecast everywhere. API response interface

type Account added in v0.1.5

type Account struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
}

type Activity added in v0.2.6

type Activity struct {
	ID           string `json:"_id"`
	Success      bool   `json:"success"`
	ActivityType string `json:"activityType"`
	Name         string `json:"name"`
	Message      string `json:"message"`
	ObjectType   string `json:"objectType"`
	ObjectId     int64  `json:"objectId"`
	User         struct {
		ID       int64  `json:"id"`
		UserName string `json:"username"`
	} `json:"user"`
	TS string `json:"ts"`
}

Activity structures for use in request and response payloads

type AddCatalogItemCartResult added in v0.3.4

type AddCatalogItemCartResult struct {
	Success bool      `json:"success"`
	Item    *CartItem `json:"item"`
}

AddCatalogItemCartResult structure parses the add catalog item response payload

type Alert added in v0.2.0

type Alert struct {
	ID          int64         `json:"id"`
	Name        string        `json:"name"`
	AllApps     bool          `json:"allApps"`
	AllChecks   bool          `json:"allChecks"`
	AllGroups   bool          `json:"allGroups"`
	Active      bool          `json:"active"`
	MinSeverity string        `json:"minSeverity"`
	MinDuration int64         `json:"minDuration"`
	DateCreated time.Time     `json:"dateCreated"`
	LastUpdated time.Time     `json:"lastUpdated"`
	Checks      []int64       `json:"checks"`
	CheckGroups []interface{} `json:"checkGroups"`
	Apps        []interface{} `json:"apps"`
	Contacts    []struct {
		ID     int64  `json:"id"`
		Name   string `json:"name"`
		Method string `json:"method"`
		Notify bool   `json:"notify"`
		Close  bool   `json:"close"`
	} `json:"contacts"`
}

Alert structures for use in request and response payloads

type App

type App struct {
	ID          int64    `json:"id"`
	Name        string   `json:"name"`
	Description string   `json:"description"`
	Labels      []string `json:"labels"`
	Environment string   `json:"environment"`
	AccountId   int64    `json:"accountId"`
	Account     struct {
		Id   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	Owner struct {
		Id       int64  `json:"id"`
		Username string `json:"username"`
	} `json:"owner"`
	SiteId int64 `json:"siteId"`
	Group  struct {
		Id   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"group"`
	Blueprint struct {
		Id   int64  `json:"id"`
		Name string `json:"name"`
		Type string `json:"type"`
	} `json:"blueprint"`
	Type           string    `json:"type"`
	DateCreated    time.Time `json:"dateCreated"`
	LastUpdated    time.Time `json:"lastUpdated"`
	AppContext     string    `json:"appContext"`
	Status         string    `json:"status"`
	AppStatus      string    `json:"appStatus"`
	InstanceCount  int64     `json:"instanceCount"`
	ContainerCount int64     `json:"containerCount"`
	AppTiers       []struct {
		Tier struct {
			Id   int64  `json:"id"`
			Name string `json:"name"`
		} `json:"tier"`
		AppInstances []struct {
			Config   interface{} `json:"config"`
			Instance Instance    `json:"instance"`
		} `json:"appInstances"`
		BootSequence int64 `json:"bootSequence"`
	} `json:"appTiers"`
	Instances []struct {
		Id   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"instances"`
	Stats struct {
		UsedMemory            int64   `json:"usedMemory"`
		MaxMemory             int64   `json:"maxMemory"`
		UsedStorage           int64   `json:"usedStorage"`
		MaxStorage            int64   `json:"maxStorage"`
		Running               int64   `json:"running"`
		Total                 int64   `json:"total"`
		CpuUsage              float64 `json:"cpuUsage"`
		InstanceCount         int64   `json:"instanceCount"`
		InstanceDayCount      []int64 `json:"instanceDayCount"`
		InstanceDayCountTotal int64   `json:"instanceDayCountTotal"`
	} `json:"stats"`
}

App structures for use in request and response payloads

type ApplianceSettings added in v0.1.6

type ApplianceSettings struct {
	ApplianceURL              string `json:"applianceUrl"`
	InternalApplianceURL      string `json:"internalApplianceUrl"`
	CorsAllowed               string `json:"corsAllowed"`
	RegistrationEnabled       bool   `json:"registrationEnabled"`
	DefaultRoleID             string `json:"defaultRoleId"`
	DefaultUserRoleID         string `json:"defaultUserRoleId"`
	DockerPrivilegedMode      bool   `json:"dockerPrivilegedMode"`
	PasswordMinLength         string `json:"passwordMinLength"`
	PasswordMinUpperCase      string `json:"passwordMinUpperCase"`
	PasswordMinNumbers        string `json:"passwordMinNumbers"`
	PasswordMinSymbols        string `json:"passwordMinSymbols"`
	UserBrowserSessionTimeout string `json:"userBrowserSessionTimeout"`
	UserBrowserSessionWarning string `json:"userBrowserSessionWarning"`
	ExpirePwdDays             string `json:"expirePwdDays"`
	DisableAfterAttempts      string `json:"disableAfterAttempts"`
	DisableAfterDaysInactive  string `json:"disableAfterDaysInactive"`
	WarnUserDaysBefore        string `json:"warnUserDaysBefore"`
	SMTPMailFrom              string `json:"smtpMailFrom"`
	SMTPServer                string `json:"smtpServer"`
	SMTPPort                  string `json:"smtpPort"`
	SMTPSSL                   bool   `json:"smtpSSL"`
	SMTPTLS                   bool   `json:"smtpTLS"`
	SMTPUser                  string `json:"smtpUser"`
	SMTPPassword              string `json:"smtpPassword"`
	SMTPPasswordHash          string `json:"smtpPasswordHash"`
	ProxyHost                 string `json:"proxyHost"`
	ProxyPort                 string `json:"proxyPort"`
	ProxyUser                 string `json:"proxyUser"`
	ProxyPassword             string `json:"proxyPassword"`
	ProxyPasswordHash         string `json:"proxyPasswordHash"`
	ProxyDomain               string `json:"proxyDomain"`
	ProxyWorkstation          string `json:"proxyWorkstation"`
	CurrencyProvider          string `json:"currencyProvider"`
	CurrencyKey               string `json:"currencyKey"`
	MaintenanceMode           bool   `json:"maintenanceMode"`
	EnabledZoneTypes          []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"enabledZoneTypes"`
	StatsRetainmentPeriod int64 `json:"statsRetainmentPeriod"`
}

ApplianceSettings structures for use in request and response payloads

type Approval added in v0.2.6

type Approval struct {
	ID           int64  `json:"id"`
	Name         string `json:"name"`
	InternalID   string `json:"internalId"`
	ExternalID   string `json:"externalId"`
	ExternalName string `json:"externalName"`
	RequestType  string `json:"requestType"`
	Account      struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	Approver struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"approver"`
	AccountIntegration interface{} `json:"accountIntegration"`
	Status             string      `json:"status"`
	ErrorMessage       string      `json:"errorMessage"`
	DateCreated        string      `json:"dateCreated"`
	LastUpdated        string      `json:"lastUpdated"`
	RequestBy          string      `json:"requestBy"`
}

Approval structures for use in request and response payloads

type ApprovalItem added in v0.2.6

type ApprovalItem struct {
	ID           int64  `json:"id"`
	Name         string `json:"name"`
	InternalID   string `json:"internalId"`
	ExternalID   string `json:"externalId"`
	ExternalName string `json:"externalName"`
	ApprovedBy   string `json:"approvedBy"`
	DeniedBy     string `json:"deniedBy"`
	Status       string `json:"status"`
	ErrorMessage string `json:"errorMessage"`
	DateCreated  string `json:"dateCreated"`
	LastUpdated  string `json:"lastUpdated"`
	DateApproved string `json:"dateApproved"`
	DateDenied   string `json:"dateDenied"`
	Approval     struct {
		ID int64 `json:"id"`
	} `json:"approal"`
	Reference struct {
		ID          int64  `json:"id"`
		Type        string `json:"type"`
		Name        string `json:"name"`
		DisplayName string `json:"displayName"`
	} `json:"reference"`
}

type Archive added in v0.1.10

type Archive struct {
	ID              int64  `json:"id"`
	Name            string `json:"name"`
	Description     string `json:"description"`
	StorageProvider struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"storageProvider"`
	Owner struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"owner"`
	CreatedBy struct {
		Username string `json:"username"`
	} `json:"createdBy"`
	IsPublic    bool      `json:"isPublic"`
	Code        string    `json:"code"`
	FilePath    string    `json:"filePath"`
	RawSize     int64     `json:"rawSize"`
	FileCount   int64     `json:"fileCount"`
	DateCreated time.Time `json:"dateCreated"`
	LastUpdated time.Time `json:"lastUpdated"`
	IsOwner     bool      `json:"isOwner"`
	Visibility  string    `json:"visibility"`
}

Archive structures for use in request and response payloads

type BackupSettings added in v0.1.6

type BackupSettings struct {
	BackupsEnabled       bool `json:"backupsEnabled"`
	CreateBackups        bool `json:"createBackups"`
	BackupAppliance      bool `json:"backupAppliance"`
	DefaultStorageBucket struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"defaultStorageBucket"`
	DefaultSchedule struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"defaultSchedule"`
	RetentionCount int64 `json:"retentionCount"`
}

BackupSettings structures for use in request and response payloads

type Blueprint

type Blueprint struct {
	ID          int64    `json:"id"`
	Name        string   `json:"name"`
	Type        string   `json:"type"`
	Description string   `json:"description"`
	Labels      []string `json:"labels"`
	Category    string   `json:"category"`
	Visibility  string   `json:"visibility"`
	Config      struct {
		Name        string `json:"name"`
		Description string `json:"description"`
		Arm         struct {
			ConfigType       string `json:"configType"`
			OsType           string `json:"osType"`
			CloudInitEnabled bool   `json:"cloudInitEnabled"`
			InstallAgent     bool   `json:"installAgent"`
			JSON             string `json:"json"`
			Git              struct {
				Path          string `json:"path"`
				RepoId        int64  `json:"repoId"`
				IntegrationId int64  `json:"integrationId"`
				Branch        string `json:"branch"`
			} `json:"git"`
		} `json:"arm"`
		CloudFormation struct {
			ConfigType       string `json:"configType"`
			CloudInitEnabled bool   `json:"cloudInitEnabled"`
			InstallAgent     bool   `json:"installAgent"`
			JSON             string `json:"json"`
			YAML             string `json:"yaml"`
			IAM              bool   `json:"IAM"`
			IAMNamed         bool   `json:"CAPABILITY_NAMED_IAM"`
			AutoExpand       bool   `json:"CAPABILITY_AUTO_EXPAND"`
			Git              struct {
				Path          string `json:"path"`
				RepoId        int64  `json:"repoId"`
				IntegrationId int64  `json:"integrationId"`
				Branch        string `json:"branch"`
			} `json:"git"`
		} `json:"cloudformation"`
		Helm struct {
			ConfigType string `json:"configType"`
			Git        struct {
				Path          string `json:"path"`
				RepoId        int    `json:"repoId"`
				IntegrationId int    `json:"integrationId"`
				Branch        string `json:"branch"`
			} `json:"git"`
		} `json:"helm"`
		Kubernetes struct {
			ConfigType string `json:"configType"`
			Git        struct {
				Path          string `json:"path"`
				RepoId        int    `json:"repoId"`
				IntegrationId int    `json:"integrationId"`
				Branch        string `json:"branch"`
			} `json:"git"`
		} `json:"kubernetes"`
		Terraform struct {
			TfVersion      string `json:"tfVersion"`
			Tf             string `json:"tf"`
			TfVarSecret    string `json:"tfvarSecret"`
			CommandOptions string `json:"commandOptions"`
			ConfigType     string `json:"configType"`
			JSON           string `json:"json"`
			Git            struct {
				Path          string `json:"path"`
				RepoId        int64  `json:"repoId"`
				IntegrationId int64  `json:"integrationId"`
				Branch        string `json:"branch"`
			} `json:"git"`
		} `json:"terraform"`
		Config struct {
			Specs []struct {
				ID    int64  `json:"id"`
				Value string `json:"value"`
				Name  string `json:"name"`
			} `json:"specs"`
		} `json:"config"`
		Type     string `json:"type"`
		Category string `json:"category"`
		Image    string `json:"image"`
	} `json:"config"`
	ResourcePermission struct {
		All      bool          `json:"all"`
		Sites    []interface{} `json:"sites"`
		AllPlans bool          `json:"allPlans"`
		Plans    []interface{} `json:"plans"`
	} `json:"resourcePermission"`
	Owner struct {
		ID       int64  `json:"id"`
		Username string `json:"username"`
	} `json:"owner"`
	Tenant struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"tenant"`
}

Blueprint structures for use in request and response payloads

type BootScript added in v0.1.9

type BootScript struct {
	ID      int64 `json:"id"`
	Account struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	FileName    string `json:"fileName"`
	Description string `json:"description"`
	Content     string `json:"content"`
	CreatedBy   struct {
		Username string `json:"username"`
	} `json:"createdBy"`
	Visibility string `json:"visibility"`
}

BootScript structures for use in request and response payloads

type Budget added in v0.1.5

type Budget struct {
	ID          int64  `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Account     struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	RefScope      string      `json:"refScope"`
	RefType       interface{} `json:"refType"`
	RefId         interface{} `json:"refId"`
	RefName       string      `json:"refName"`
	Interval      string      `json:"interval"`
	Period        string      `json:"period"`
	Year          string      `json:"year"`
	ResourceType  string      `json:"resourceType"`
	TimeZone      string      `json:"timezone"`
	StartDate     string      `json:"startDate"`
	EndDate       string      `json:"endDate"`
	Active        bool        `json:"active"`
	Enabled       bool        `json:"enabled"`
	Rollover      bool        `json:"rollover"`
	Costs         []float64   `json:"costs"`
	AverageCost   float64     `json:"averageCost"`
	TotalCost     float64     `json:"totalCost"`
	Currency      string      `json:"currency"`
	WarningLimit  interface{} `json:"warningLimit"`
	OverLimit     interface{} `json:"overLimit"`
	ExternalId    interface{} `json:"externalId"`
	InternalId    interface{} `json:"internalId"`
	CreatedById   int64       `json:"createdById"`
	CreatedByName string      `json:"createdByName"`
	UpdatedById   interface{} `json:"updatedById"`
	UpdatedByName interface{} `json:"updatedByName"`
	DateCreated   string      `json:"dateCreated"`
	LastUpdated   string      `json:"lastUpdated"`
	Stats         Stats       `json:"stats"`
}

Budget structures for use in request and response payloads

type Cart added in v0.3.4

type Cart struct {
	Id    int64      `json:"id"`
	Name  string     `json:"name"`
	Items []CartItem `json:"items"`
	Stats struct {
		Price    float64 `json:"price"`
		Currency string  `json:"currency"`
		Unit     string  `json:"unit"`
	}
}

type CartItem added in v0.3.4

type CartItem struct {
	Id   int64 `json:"id"`
	Type struct {
		Id   int64  `json:"id"`
		Name string `json:"name"`
		Type string `json:"type"`
	} `json:"type"`
	Quantity    int64   `json:"quantity"`
	Price       float64 `json:"price"`
	Currency    string  `json:"currency"`
	Unit        string  `json:"unit"`
	Valid       bool    `json:"valid"`
	Status      string  `json:"status"`
	DateCreated string  `json:"dateCreated"`
	LastUpdated string  `json:"lastUpdated"`
}

type CatalogItem

type CatalogItem struct {
	ID             int64       `json:"id"`
	Name           string      `json:"name"`
	Code           string      `json:"code"`
	Description    string      `json:"description"`
	Category       string      `json:"category"`
	Labels         []string    `json:"labels"`
	Type           string      `json:"type"`
	Visibility     string      `json:"visibility"`
	LayoutCode     interface{} `json:"layoutCode"`
	FormType       string      `json:"formType"`
	RefType        string      `json:"refType"`
	RefID          interface{} `json:"refId"`
	Active         bool        `json:"active"`
	Enabled        bool        `json:"enabled"`
	Featured       bool        `json:"featured"`
	AllowQuantity  bool        `json:"allowQuantity"`
	IconPath       string      `json:"iconPath"`
	ImagePath      string      `json:"imagePath"`
	DarkImagePath  string      `json:"darkImagePath"`
	Context        string      `json:"context"`
	WorkflowConfig interface{} `json:"workflowConfig"`
	Content        string      `json:"content"`
	AppSpec        string      `json:"appSpec"`
	Blueprint      struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	}
	Workflow struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"workflow"`
	Config      interface{}   `json:"config"`
	FormConfig  interface{}   `json:"formConfig"`
	Form        Form          `json:"form"`
	OptionTypes []interface{} `json:"optionTypes"`
	CreatedBy   interface{}   `json:"createdBy"`
	Owner       struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"owner"`
	DateCreated time.Time `json:"dateCreated"`
	LastUpdated time.Time `json:"lastUpdated"`
}

CatalogItem structures for use in request and response payloads

type CatalogItemType added in v0.3.4

type CatalogItemType struct {
	Id            int64        `json:"id"`
	Name          string       `json:"name"`
	Description   string       `json:"description"`
	Type          string       `json:"type"`
	Featured      bool         `json:"featured"`
	AllowQuantity bool         `json:"allowQuantity"`
	ImagePath     string       `json:"imagePath"`
	DarkImagePath string       `json:"darkImagePath"`
	OptionTypes   []OptionType `json:"optionTypes"`
}

type CatalogOrder added in v0.3.4

type CatalogOrder struct {
	ID    int64  `json:"id"`
	Name  string `json:"name"`
	Items []struct {
		ID   int64 `json:"id"`
		Type struct {
			ID   int64  `json:"id"`
			Name string `json:"name"`
			Type string `json:"type"`
		} `json:"type"`
		Quantity    int64   `json:"quantity"`
		Price       float64 `json:"price"`
		Currency    string  `json:"currency"`
		Unit        string  `json:"unit"`
		Valid       bool    `json:"valid"`
		Status      string  `json:"status"`
		DateCreated string  `json:"dateCreated"`
		LastUpdated string  `json:"lastUpdated"`
	} `json:"items"`
	Stats struct {
		Price    int64  `json:"price"`
		Currency string `json:"currency"`
		Unit     string `json:"unit"`
	} `json:"stats"`
}

type Check added in v0.1.1

type Check struct {
	ID      int64 `json:"id"`
	Account struct {
		ID int64 `json:"id"`
	} `json:"account"`
	Active        bool    `json:"active"`
	APIKey        string  `json:"apiKey"`
	Availability  float64 `json:"availability"`
	CheckAgent    string  `json:"checkAgent"`
	CheckInterval int64   `json:"checkInterval"`
	CheckSpec     string  `json:"checkSpec"`
	CheckType     struct {
		ID         int64  `json:"id"`
		Code       string `json:"code"`
		Name       string `json:"name"`
		MetricName string `json:"metricName"`
	} `json:"checkType"`
	Container struct {
		ID int64 `json:"id"`
	} `json:"container"`
	Config         interface{} `json:"config"`
	CreateIncident bool        `json:"createIncident"`
	Muted          bool        `json:"muted"`
	CreatedBy      struct {
		ID       int64  `json:"id"`
		Username string `json:"username"`
	} `json:"createdBy"`
	DateCreated     time.Time `json:"dateCreated"`
	Description     string    `json:"description"`
	EndDate         time.Time `json:"endDate"`
	Health          int64     `json:"health"`
	InUptime        bool      `json:"inUptime"`
	LastBoxStats    string    `json:"lastBoxStats"`
	LastCheckStatus string    `json:"lastCheckStatus"`
	LastError       string    `json:"lastError"`
	LastErrorDate   time.Time `json:"lastErrorDate"`
	LastMessage     string    `json:"lastMessage"`
	LastMetric      string    `json:"lastMetric"`
	LastRunDate     time.Time `json:"lastRunDate"`
	LastStats       string    `json:"lastStats"`
	LastSuccessDate time.Time `json:"lastSuccessDate"`
	LastTimer       int64     `json:"lastTimer"`
	LastUpdated     time.Time `json:"lastUpdated"`
	LastWarningDate time.Time `json:"lastWarningDate"`
	Name            string    `json:"name"`
	NextRunDate     time.Time `json:"nextRunDate"`
	OutageTime      int64     `json:"outageTime"`
	Severity        string    `json:"severity"`
	StartDate       time.Time `json:"startDate"`
}

Check structures for use in request and response payloads

type CheckApp added in v0.2.0

type CheckApp struct {
	ID      int64 `json:"id"`
	Account struct {
		ID int64 `json:"id"`
	} `json:"account"`
	Active bool `json:"active"`
	App    struct {
		ID   int    `json:"id"`
		Name string `json:"name"`
	} `json:"app"`
	Name            string    `json:"name"`
	Description     string    `json:"description"`
	InUptime        bool      `json:"inUptime"`
	LastCheckStatus string    `json:"lastCheckStatus"`
	LastWarningDate time.Time `json:"lastWarningDate"`
	LastErrorDate   time.Time `json:"lastErrorDate"`
	LastSuccessDate time.Time `json:"lastSuccessDate"`
	LastRunDate     time.Time `json:"lastRunDate"`
	LastError       string    `json:"lastError"`
	LastTimer       int64     `json:"lastTimer"`
	Health          int64     `json:"health"`
	History         string    `json:"history"`
	Severity        string    `json:"severity"`
	CreateIncident  bool      `json:"createIncident"`
	Muted           bool      `json:"muted"`
	CreatedBy       struct {
		ID       int64  `json:"id"`
		Username string `json:"username"`
	} `json:"createdBy"`
	DateCreated  time.Time `json:"dateCreated"`
	LastUpdated  time.Time `json:"lastUpdated"`
	Availability float64   `json:"availability"`
	Checks       []int64   `json:"checks"`
	CheckGroups  []int64   `json:"checkGroups"`
}

CheckApp structures for use in request and response payloads

type CheckGroup added in v0.1.1

type CheckGroup struct {
	ID      int64 `json:"id"`
	Account struct {
		ID int64 `json:"id"`
	} `json:"account"`
	Instance struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"instance"`
	Name            string    `json:"name"`
	Description     string    `json:"description"`
	InUptime        bool      `json:"inUptime"`
	LastCheckStatus string    `json:"lastCheckStatus"`
	LastWarningDate time.Time `json:"lastWarningDate"`
	LastErrorDate   time.Time `json:"lastErrorDate"`
	LastSuccessDate time.Time `json:"lastSuccessDate"`
	LastRunDate     time.Time `json:"lastRunDate"`
	LastError       string    `json:"lastError"`
	OutageTime      int64     `json:"outageTime"`
	LastTimer       int64     `json:"lastTimer"`
	Health          int64     `json:"health"`
	History         string    `json:"history"`
	MinHappy        int64     `json:"minHappy"`
	LastMetric      string    `json:"lastMetric"`
	Severity        string    `json:"severity"`
	CreateIncident  bool      `json:"createIncident"`
	Muted           bool      `json:"muted"`
	CreatedBy       struct {
		ID       int64  `json:"id"`
		Username string `json:"username"`
	} `json:"createdBy"`
	DateCreated  time.Time `json:"dateCreated"`
	LastUpdated  time.Time `json:"lastUpdated"`
	Availability float64   `json:"availability"`
	CheckType    struct {
		ID         int64  `json:"id"`
		Code       string `json:"code"`
		Name       string `json:"name"`
		MetricName string `json:"metricName"`
	} `json:"checkType"`
	Checks []int64 `json:"checks"`
}

CheckGroup structures for use in request and response payloads

type ClearCatalogResult added in v0.3.4

type ClearCatalogResult struct {
	DeleteResult
}

ClearCatalogResult structure parses the clear catalog response payload

type Client

type Client struct {
	Url             string
	Username        string
	Password        string
	AccessToken     string // todo: make internal
	RefreshToken    string // todo: make internal
	AuthenticatedAt time.Time
	ExpiresIn       int64
	Scope           string
	UserAgent       string
	// contains filtered or unexported fields
}

func NewClient

func NewClient(url string) (client *Client)

func (*Client) AddCatalogItemCart added in v0.3.4

func (client *Client) AddCatalogItemCart(req *Request) (*Response, error)

AddCatalogItemCart adds an item to the cart

func (*Client) AddSyslogRule added in v0.1.3

func (client *Client) AddSyslogRule(req *Request) (*Response, error)

AddSyslogRule adds a syslog rule https://apidocs.morpheusdata.com/#add-syslog-rule

func (*Client) ClearAccessToken

func (client *Client) ClearAccessToken() *Client

func (*Client) ClearCatalogCart added in v0.3.4

func (client *Client) ClearCatalogCart(req *Request) (*Response, error)

ClearCatalogCart removes the contents of the cart

func (*Client) CreateAlert added in v0.2.0

func (client *Client) CreateAlert(req *Request) (*Response, error)

CreateAlert creates a new alert

func (*Client) CreateApp

func (client *Client) CreateApp(req *Request) (*Response, error)

func (*Client) CreateArchive added in v0.1.10

func (client *Client) CreateArchive(req *Request) (*Response, error)

CreateArchive creates a new archive

func (*Client) CreateBlueprint

func (client *Client) CreateBlueprint(req *Request) (*Response, error)

func (*Client) CreateBootScript added in v0.1.9

func (client *Client) CreateBootScript(req *Request) (*Response, error)

CreateBootScriptSet creates a new bootScript

func (*Client) CreateBudget added in v0.1.5

func (client *Client) CreateBudget(req *Request) (*Response, error)

func (*Client) CreateCatalogItem

func (client *Client) CreateCatalogItem(req *Request) (*Response, error)

CreateCatalogItem creates a new catalog item

func (*Client) CreateCheck added in v0.1.1

func (client *Client) CreateCheck(req *Request) (*Response, error)

CreateCheck creates a new check

func (*Client) CreateCheckApp added in v0.2.0

func (client *Client) CreateCheckApp(req *Request) (*Response, error)

CreateCheckApp creates a new check app

func (*Client) CreateCheckGroup added in v0.1.1

func (client *Client) CreateCheckGroup(req *Request) (*Response, error)

CreateCheckGroup creates a new check group

func (*Client) CreateCloud

func (client *Client) CreateCloud(req *Request) (*Response, error)

CreateCloud creates a new cloud

func (*Client) CreateCloudResourcePool added in v0.3.6

func (client *Client) CreateCloudResourcePool(zoneId int64, req *Request) (*Response, error)

CreateCloudResourcePool creates a new cloud resource pool

func (*Client) CreateCluster

func (client *Client) CreateCluster(req *Request) (*Response, error)

CreateCluster creates a new cluster

func (*Client) CreateClusterLayout added in v0.1.4

func (client *Client) CreateClusterLayout(req *Request) (*Response, error)

func (*Client) CreateClusterPackage added in v0.3.7

func (client *Client) CreateClusterPackage(req *Request) (*Response, error)

CreateClusterPackage creates a new cluster package

func (*Client) CreateContact

func (client *Client) CreateContact(req *Request) (*Response, error)

CreateContact creates a new contact

func (*Client) CreateCredential added in v0.1.5

func (client *Client) CreateCredential(req *Request) (*Response, error)

func (*Client) CreateCypher added in v0.3.5

func (client *Client) CreateCypher(path string, req *Request) (*Response, error)

func (*Client) CreateDeployment added in v0.2.0

func (client *Client) CreateDeployment(req *Request) (*Response, error)

CreateDeployment creates a new deployment

func (*Client) CreateEmailTemplate added in v0.4.0

func (client *Client) CreateEmailTemplate(req *Request) (*Response, error)

CreateEmailTemplate creates a new email template

func (*Client) CreateEnvironment

func (client *Client) CreateEnvironment(req *Request) (*Response, error)

CreateEnvironment creates a new environment

func (*Client) CreateExecuteSchedule

func (client *Client) CreateExecuteSchedule(req *Request) (*Response, error)

func (*Client) CreateExecutionRequest added in v0.2.9

func (client *Client) CreateExecutionRequest(req *Request) (*Response, error)

func (*Client) CreateFileTemplate added in v0.1.4

func (client *Client) CreateFileTemplate(req *Request) (*Response, error)

func (*Client) CreateForm added in v0.3.7

func (client *Client) CreateForm(req *Request) (*Response, error)

func (*Client) CreateGroup

func (client *Client) CreateGroup(req *Request) (*Response, error)

func (*Client) CreateIdentitySource added in v0.1.5

func (client *Client) CreateIdentitySource(id int64, req *Request) (*Response, error)

func (*Client) CreateIncident added in v0.1.1

func (client *Client) CreateIncident(req *Request) (*Response, error)

func (*Client) CreateInstance

func (client *Client) CreateInstance(req *Request) (*Response, error)

func (*Client) CreateInstanceLayout

func (client *Client) CreateInstanceLayout(id int64, req *Request) (*Response, error)

func (*Client) CreateInstanceType

func (client *Client) CreateInstanceType(req *Request) (*Response, error)

func (*Client) CreateIntegration

func (client *Client) CreateIntegration(req *Request) (*Response, error)

func (*Client) CreateIntegrationObject added in v0.1.8

func (client *Client) CreateIntegrationObject(id int64, objectId int64, req *Request) (*Response, error)

func (*Client) CreateJob

func (client *Client) CreateJob(req *Request) (*Response, error)

func (*Client) CreateKeyPair added in v0.3.3

func (client *Client) CreateKeyPair(req *Request) (*Response, error)

func (*Client) CreateLoadBalancer added in v0.2.6

func (client *Client) CreateLoadBalancer(req *Request) (*Response, error)

CreateLoadBalancer creates a new load balancer

func (*Client) CreateLoadBalancerMonitor added in v0.2.6

func (client *Client) CreateLoadBalancerMonitor(req *Request) (*Response, error)

CreateLoadBalancerMonitor creates a new load balancer monitor

func (*Client) CreateLoadBalancerPool added in v0.2.6

func (client *Client) CreateLoadBalancerPool(req *Request) (*Response, error)

CreateLoadBalancerPool creates a new load balancer pool

func (*Client) CreateLoadBalancerProfile added in v0.2.6

func (client *Client) CreateLoadBalancerProfile(req *Request) (*Response, error)

CreateLoadBalancerProfile creates a new load balancer profile

func (*Client) CreateLoadBalancerVirtualServer added in v0.2.6

func (client *Client) CreateLoadBalancerVirtualServer(req *Request) (*Response, error)

CreateLoadBalancerVirtualServer creates a new load balancer virtual server

func (*Client) CreateMonitoringApp added in v0.1.1

func (client *Client) CreateMonitoringApp(req *Request) (*Response, error)

func (*Client) CreateNetwork

func (client *Client) CreateNetwork(req *Request) (*Response, error)

CreateNetwork creates a new network

func (*Client) CreateNetworkDomain

func (client *Client) CreateNetworkDomain(req *Request) (*Response, error)

func (*Client) CreateNetworkGroup added in v0.2.9

func (client *Client) CreateNetworkGroup(req *Request) (*Response, error)

CreateNetworkGroup creates a new network group

func (*Client) CreateNetworkPool added in v0.2.7

func (client *Client) CreateNetworkPool(req *Request) (*Response, error)

CreateNetworkPool creates a new network pool

func (*Client) CreateNetworkPoolServer added in v0.2.7

func (client *Client) CreateNetworkPoolServer(req *Request) (*Response, error)

CreateNetworkPoolServer creates a new network pool server

func (*Client) CreateNetworkProxy added in v0.2.6

func (client *Client) CreateNetworkProxy(req *Request) (*Response, error)

CreateNetworkProxy creates a new network proxy

func (*Client) CreateNetworkStaticRoute added in v0.2.7

func (client *Client) CreateNetworkStaticRoute(networkId int64, req *Request) (*Response, error)

CreateNetworkStaticRoute creates a new network static route

func (*Client) CreateNetworkSubnet added in v0.2.7

func (client *Client) CreateNetworkSubnet(req *Request) (*Response, error)

CreateNetworkSubnet creates a new network subnet

func (*Client) CreateNodeType

func (client *Client) CreateNodeType(req *Request) (*Response, error)

func (*Client) CreateOauthClient added in v0.2.9

func (client *Client) CreateOauthClient(req *Request) (*Response, error)

CreateOauthClient creates a new oauth client

func (*Client) CreateOptionList

func (client *Client) CreateOptionList(req *Request) (*Response, error)

CreateOptionList creates a new option list

func (*Client) CreateOptionType

func (client *Client) CreateOptionType(req *Request) (*Response, error)

CreateOptionType creates a new option type

func (*Client) CreatePlan

func (client *Client) CreatePlan(req *Request) (*Response, error)

CreatePlan creates a new plan

func (*Client) CreatePolicy

func (client *Client) CreatePolicy(req *Request) (*Response, error)

CreatePolicy creates a new policy

func (*Client) CreatePowerSchedule added in v0.1.1

func (client *Client) CreatePowerSchedule(req *Request) (*Response, error)

CreatePowerSchedule creates a new power schedule https://apidocs.morpheusdata.com/#create-a-power-schedule

func (*Client) CreatePreseedScript added in v0.1.9

func (client *Client) CreatePreseedScript(req *Request) (*Response, error)

CreatePreseedScriptSet creates a new preseedScript

func (*Client) CreatePrice added in v0.1.1

func (client *Client) CreatePrice(req *Request) (*Response, error)

CreatePrice creates a new price https://apidocs.morpheusdata.com/#create-a-price

func (*Client) CreatePriceSet added in v0.1.1

func (client *Client) CreatePriceSet(req *Request) (*Response, error)

CreatePriceSetSet creates a new priceSetSet https://apidocs.morpheusdata.com/#create-a-priceSet

func (*Client) CreateResourcePool

func (client *Client) CreateResourcePool(cloudId int64, req *Request) (*Response, error)

func (*Client) CreateResourcePoolGroup added in v0.3.1

func (client *Client) CreateResourcePoolGroup(req *Request) (*Response, error)

func (*Client) CreateRole

func (client *Client) CreateRole(req *Request) (*Response, error)

func (*Client) CreateScaleThreshold added in v0.1.5

func (client *Client) CreateScaleThreshold(req *Request) (*Response, error)

func (*Client) CreateScriptTemplate added in v0.1.4

func (client *Client) CreateScriptTemplate(req *Request) (*Response, error)

func (*Client) CreateSecurityGroup added in v0.4.0

func (client *Client) CreateSecurityGroup(req *Request) (*Response, error)

func (*Client) CreateSecurityGroupLocation added in v0.4.0

func (client *Client) CreateSecurityGroupLocation(id int64, req *Request) (*Response, error)

func (*Client) CreateSecurityGroupRule added in v0.4.0

func (client *Client) CreateSecurityGroupRule(id int64, req *Request) (*Response, error)

func (*Client) CreateSecurityPackage added in v0.2.6

func (client *Client) CreateSecurityPackage(req *Request) (*Response, error)

func (*Client) CreateServicePlan added in v0.1.1

func (client *Client) CreateServicePlan(req *Request) (*Response, error)

CreateServicePlan creates a new servicePlan https://apidocs.morpheusdata.com/#create-a-service-plan

func (*Client) CreateSoftwareLicense added in v0.1.5

func (client *Client) CreateSoftwareLicense(req *Request) (*Response, error)

func (*Client) CreateSpecTemplate

func (client *Client) CreateSpecTemplate(req *Request) (*Response, error)

func (*Client) CreateStorageBucket added in v0.1.5

func (client *Client) CreateStorageBucket(req *Request) (*Response, error)

func (*Client) CreateStorageServer added in v0.2.8

func (client *Client) CreateStorageServer(req *Request) (*Response, error)

func (*Client) CreateStorageVolume added in v0.4.0

func (client *Client) CreateStorageVolume(req *Request) (*Response, error)

func (*Client) CreateSubtenantGroup added in v0.3.6

func (client *Client) CreateSubtenantGroup(tenantId int64, req *Request) (*Response, error)

CreateSubtenantGroup creates a new Morpheus group in a subtenant

func (*Client) CreateSubtenantUser added in v0.3.6

func (client *Client) CreateSubtenantUser(tenantId int64, req *Request) (*Response, error)

CreateSubtenantUser creates a new Morpheus user in a subtenant

func (*Client) CreateTask

func (client *Client) CreateTask(req *Request) (*Response, error)

CreateTask creates a new task

func (*Client) CreateTaskSet

func (client *Client) CreateTaskSet(req *Request) (*Response, error)

CreateTaskSet creates a new task set

func (*Client) CreateTenant

func (client *Client) CreateTenant(req *Request) (*Response, error)

CreateTenant creates a new Morpheus tenant

func (*Client) CreateUser added in v0.1.8

func (client *Client) CreateUser(req *Request) (*Response, error)

func (*Client) CreateUserGroup added in v0.1.8

func (client *Client) CreateUserGroup(req *Request) (*Response, error)

func (*Client) CreateVDIApp added in v0.1.6

func (client *Client) CreateVDIApp(req *Request) (*Response, error)

func (*Client) CreateVDIGateway added in v0.1.5

func (client *Client) CreateVDIGateway(req *Request) (*Response, error)

func (*Client) CreateVDIPool added in v0.1.5

func (client *Client) CreateVDIPool(req *Request) (*Response, error)

func (*Client) CreateVirtualImage added in v0.1.4

func (client *Client) CreateVirtualImage(req *Request) (*Response, error)

CreateVirtualImage creates a new virtual image

func (*Client) CreateWiki added in v0.1.1

func (client *Client) CreateWiki(req *Request) (*Response, error)

CreateWiki creates a new wiki https://apidocs.morpheusdata.com/#create-a-wiki-page

func (*Client) DeactivateServicePlan added in v0.1.1

func (client *Client) DeactivateServicePlan(id int64, req *Request) (*Response, error)

DeactivateServicePlan deactivates an existing service plan https://apidocs.morpheusdata.com/#deactivate-a-service-plan

func (*Client) Delete

func (client *Client) Delete(req *Request) (*Response, error)

func (*Client) DeleteAlert added in v0.2.0

func (client *Client) DeleteAlert(id int64, req *Request) (*Response, error)

DeleteAlert deletes an existing alert

func (*Client) DeleteApp

func (client *Client) DeleteApp(id int64, req *Request) (*Response, error)

func (*Client) DeleteArchive added in v0.1.10

func (client *Client) DeleteArchive(id int64, req *Request) (*Response, error)

DeleteArchive deletes an existing archive

func (*Client) DeleteBlueprint

func (client *Client) DeleteBlueprint(id int64, req *Request) (*Response, error)

DeleteBlueprint deletes an existing blueprint

func (*Client) DeleteBootScript added in v0.1.9

func (client *Client) DeleteBootScript(id int64, req *Request) (*Response, error)

DeleteBootScript deletes an existing bootScript

func (*Client) DeleteBudget added in v0.1.5

func (client *Client) DeleteBudget(id int64, req *Request) (*Response, error)

func (*Client) DeleteCatalogInventoryItem added in v0.3.4

func (client *Client) DeleteCatalogInventoryItem(id int64, req *Request) (*Response, error)

DeleteCatalogInventoryItem deletes an existing inventory item

func (*Client) DeleteCatalogItem

func (client *Client) DeleteCatalogItem(id int64, req *Request) (*Response, error)

DeleteCatalogItem deletes an existing catalog item

func (*Client) DeleteCheck added in v0.1.1

func (client *Client) DeleteCheck(id int64, req *Request) (*Response, error)

DeleteCheck deletes an existing check

func (*Client) DeleteCheckApp added in v0.2.0

func (client *Client) DeleteCheckApp(id int64, req *Request) (*Response, error)

DeleteCheckApp deletes an existing check app

func (*Client) DeleteCheckGroup added in v0.1.1

func (client *Client) DeleteCheckGroup(id int64, req *Request) (*Response, error)

DeleteCheckGroup deletes an existing check group

func (*Client) DeleteCloud

func (client *Client) DeleteCloud(id int64, req *Request) (*Response, error)

DeleteCloud deletes an existing cloud

func (*Client) DeleteCloudResourcePool added in v0.3.6

func (client *Client) DeleteCloudResourcePool(zoneId int64, id int64, req *Request) (*Response, error)

DeleteCloudResourcePool deletes an existing cloud resource pool

func (*Client) DeleteCluster

func (client *Client) DeleteCluster(id int64, req *Request) (*Response, error)

DeleteCluster deletes an existing cluster

func (*Client) DeleteClusterLayout added in v0.1.4

func (client *Client) DeleteClusterLayout(id int64, req *Request) (*Response, error)

func (*Client) DeleteClusterPackage added in v0.3.7

func (client *Client) DeleteClusterPackage(id int64, req *Request) (*Response, error)

DeleteClusterPackage deletes an existing cluster package

func (*Client) DeleteContact

func (client *Client) DeleteContact(id int64, req *Request) (*Response, error)

DeleteContact deletes an existing contact

func (*Client) DeleteCredential added in v0.1.5

func (client *Client) DeleteCredential(id int64, req *Request) (*Response, error)

func (*Client) DeleteCypher added in v0.3.5

func (client *Client) DeleteCypher(path string, req *Request) (*Response, error)

func (*Client) DeleteDeployment added in v0.2.0

func (client *Client) DeleteDeployment(id int64, req *Request) (*Response, error)

DeleteDeployment deletes an existing deployment

func (*Client) DeleteEmailTemplate added in v0.4.0

func (client *Client) DeleteEmailTemplate(id int64, req *Request) (*Response, error)

DeleteEmailTemplate deletes an existing email template

func (*Client) DeleteEnvironment

func (client *Client) DeleteEnvironment(id int64, req *Request) (*Response, error)

DeleteEnvironment deletes an existing environment

func (*Client) DeleteExecuteSchedule

func (client *Client) DeleteExecuteSchedule(id int64, req *Request) (*Response, error)

DeleteExecuteSchedule deletes an existing execution schedule

func (*Client) DeleteFileTemplate added in v0.1.4

func (client *Client) DeleteFileTemplate(id int64, req *Request) (*Response, error)

func (*Client) DeleteForm added in v0.3.7

func (client *Client) DeleteForm(id int64, req *Request) (*Response, error)

DeleteForm deletes an existing form

func (*Client) DeleteGroup

func (client *Client) DeleteGroup(id int64, req *Request) (*Response, error)

DeleteGroup deletes an existing group

func (*Client) DeleteIdentitySource added in v0.1.5

func (client *Client) DeleteIdentitySource(id int64, req *Request) (*Response, error)

func (*Client) DeleteIncident added in v0.1.1

func (client *Client) DeleteIncident(id int64, req *Request) (*Response, error)

func (*Client) DeleteInstance

func (client *Client) DeleteInstance(id int64, req *Request) (*Response, error)

func (*Client) DeleteInstanceLayout

func (client *Client) DeleteInstanceLayout(id int64, req *Request) (*Response, error)

func (*Client) DeleteInstanceType

func (client *Client) DeleteInstanceType(id int64, req *Request) (*Response, error)

func (*Client) DeleteIntegration

func (client *Client) DeleteIntegration(id int64, req *Request) (*Response, error)

func (*Client) DeleteIntegrationObject added in v0.1.8

func (client *Client) DeleteIntegrationObject(id int64, objectId int64, req *Request) (*Response, error)

func (*Client) DeleteJob

func (client *Client) DeleteJob(id int64, req *Request) (*Response, error)

func (*Client) DeleteKeyPair added in v0.3.3

func (client *Client) DeleteKeyPair(id int64, req *Request) (*Response, error)

func (*Client) DeleteLoadBalancer added in v0.2.6

func (client *Client) DeleteLoadBalancer(id int64, req *Request) (*Response, error)

DeleteLoadBalancer deletes an existing load balancer

func (*Client) DeleteLoadBalancerMonitor added in v0.2.6

func (client *Client) DeleteLoadBalancerMonitor(loadBalancerId int64, id int64, req *Request) (*Response, error)

DeleteLoadBalancerMonitor deletes an existing load balancer monitor

func (*Client) DeleteLoadBalancerPool added in v0.2.6

func (client *Client) DeleteLoadBalancerPool(loadBalancerId int64, id int64, req *Request) (*Response, error)

DeleteLoadBalancerPool deletes an existing load balancer pool

func (*Client) DeleteLoadBalancerProfile added in v0.2.6

func (client *Client) DeleteLoadBalancerProfile(loadBalancerId int64, id int64, req *Request) (*Response, error)

DeleteLoadBalancerProfile deletes an existing load balancer profile

func (*Client) DeleteLoadBalancerVirtualServer added in v0.2.6

func (client *Client) DeleteLoadBalancerVirtualServer(loadBalancerId int64, id int64, req *Request) (*Response, error)

DeleteLoadBalancerVirtualServer deletes an existing load balancer virtual server

func (*Client) DeleteMonitoringApp added in v0.1.1

func (client *Client) DeleteMonitoringApp(id int64, req *Request) (*Response, error)

func (*Client) DeleteNetwork

func (client *Client) DeleteNetwork(id int64, req *Request) (*Response, error)

DeleteNetwork deletes an existing network

func (*Client) DeleteNetworkDomain

func (client *Client) DeleteNetworkDomain(id int64, req *Request) (*Response, error)

func (*Client) DeleteNetworkGroup added in v0.2.9

func (client *Client) DeleteNetworkGroup(id int64, req *Request) (*Response, error)

DeleteNetworkGroup deletes an existing network group

func (*Client) DeleteNetworkPool added in v0.2.7

func (client *Client) DeleteNetworkPool(id int64, req *Request) (*Response, error)

DeleteNetworkPool deletes an existing network pool

func (*Client) DeleteNetworkPoolServer added in v0.2.7

func (client *Client) DeleteNetworkPoolServer(id int64, req *Request) (*Response, error)

DeleteNetworkPoolServer deletes an existing network pool server

func (*Client) DeleteNetworkProxy added in v0.2.6

func (client *Client) DeleteNetworkProxy(id int64, req *Request) (*Response, error)

DeleteNetworkProxy deletes an existing network proxy

func (*Client) DeleteNetworkStaticRoute added in v0.2.7

func (client *Client) DeleteNetworkStaticRoute(networkId int64, routeId int64, req *Request) (*Response, error)

DeleteNetworkStaticRoute deletes an existing network static route

func (*Client) DeleteNetworkSubnet added in v0.2.7

func (client *Client) DeleteNetworkSubnet(id int64, req *Request) (*Response, error)

DeleteNetworkSubnet deletes an existing network subnet

func (*Client) DeleteNodeType

func (client *Client) DeleteNodeType(id int64, req *Request) (*Response, error)

func (*Client) DeleteOauthClient added in v0.2.9

func (client *Client) DeleteOauthClient(id int64, req *Request) (*Response, error)

DeleteOauthClient deletes an existing oauth client

func (*Client) DeleteOptionList

func (client *Client) DeleteOptionList(id int64, req *Request) (*Response, error)

DeleteOptionList deletes an existing option list

func (*Client) DeleteOptionType

func (client *Client) DeleteOptionType(id int64, req *Request) (*Response, error)

DeleteOptionType deletes an existing option type

func (*Client) DeletePlan

func (client *Client) DeletePlan(id int64, req *Request) (*Response, error)

DeletePlan deletes an existing plan

func (*Client) DeletePlugin added in v0.2.6

func (client *Client) DeletePlugin(id int64, req *Request) (*Response, error)

DeletePlugin deletes an existing plugin

func (*Client) DeletePolicy

func (client *Client) DeletePolicy(id int64, req *Request) (*Response, error)

DeletePolicy deletes an existing policy

func (*Client) DeletePowerSchedule added in v0.1.1

func (client *Client) DeletePowerSchedule(id int64, req *Request) (*Response, error)

DeletePowerSchedule deletes an existing power schedule https://apidocs.morpheusdata.com/#delete-a-power-schedule

func (*Client) DeletePreseedScript added in v0.1.9

func (client *Client) DeletePreseedScript(id int64, req *Request) (*Response, error)

DeletePreseedScript deletes an existing preseedScript

func (*Client) DeletePrice added in v0.1.1

func (client *Client) DeletePrice(id int64, req *Request) (*Response, error)

DeletePrice deletes an existing price https://apidocs.morpheusdata.com/#deactivate-a-price

func (*Client) DeletePriceSet added in v0.1.1

func (client *Client) DeletePriceSet(id int64, req *Request) (*Response, error)

DeletePriceSet deletes an existing priceSet https://apidocs.morpheusdata.com/#deactivate-a-priceSet

func (*Client) DeleteResourcePool

func (client *Client) DeleteResourcePool(cloudId int64, id int64, req *Request) (*Response, error)

func (*Client) DeleteResourcePoolGroup added in v0.3.1

func (client *Client) DeleteResourcePoolGroup(id int64, req *Request) (*Response, error)

func (*Client) DeleteRole

func (client *Client) DeleteRole(id int64, req *Request) (*Response, error)

func (*Client) DeleteScaleThreshold added in v0.1.5

func (client *Client) DeleteScaleThreshold(id int64, req *Request) (*Response, error)

func (*Client) DeleteScriptTemplate added in v0.1.4

func (client *Client) DeleteScriptTemplate(id int64, req *Request) (*Response, error)

func (*Client) DeleteSecurityGroup added in v0.4.0

func (client *Client) DeleteSecurityGroup(id int64, req *Request) (*Response, error)

func (*Client) DeleteSecurityGroupLocation added in v0.4.0

func (client *Client) DeleteSecurityGroupLocation(id int64, locationId int64, req *Request) (*Response, error)

func (*Client) DeleteSecurityGroupRule added in v0.4.0

func (client *Client) DeleteSecurityGroupRule(id int64, ruleId int64, req *Request) (*Response, error)

func (*Client) DeleteSecurityPackage added in v0.2.6

func (client *Client) DeleteSecurityPackage(id int64, req *Request) (*Response, error)

func (*Client) DeleteServicePlan added in v0.1.1

func (client *Client) DeleteServicePlan(id int64, req *Request) (*Response, error)

DeleteServicePlan deletes an existing servicePlan https://apidocs.morpheusdata.com/#delete-a-service-plan

func (*Client) DeleteSoftwareLicense added in v0.1.5

func (client *Client) DeleteSoftwareLicense(id int64, req *Request) (*Response, error)

func (*Client) DeleteSpecTemplate

func (client *Client) DeleteSpecTemplate(id int64, req *Request) (*Response, error)

func (*Client) DeleteStorageBucket added in v0.1.5

func (client *Client) DeleteStorageBucket(id int64, req *Request) (*Response, error)

func (*Client) DeleteStorageServer added in v0.2.8

func (client *Client) DeleteStorageServer(id int64, req *Request) (*Response, error)

func (*Client) DeleteStorageVolume added in v0.4.0

func (client *Client) DeleteStorageVolume(id int64, req *Request) (*Response, error)

func (*Client) DeleteSubtenantGroup added in v0.3.6

func (client *Client) DeleteSubtenantGroup(tenantId int64, groupId int64, req *Request) (*Response, error)

DeleteSubtenantGroup deletes an existing Morpheus group in a subtenant

func (*Client) DeleteSyslogRule added in v0.1.3

func (client *Client) DeleteSyslogRule(id int64, req *Request) (*Response, error)

DeleteSyslogRule deletes a syslog rule https://apidocs.morpheusdata.com/#delete-syslog-rules

func (*Client) DeleteTask

func (client *Client) DeleteTask(id int64, req *Request) (*Response, error)

DeleteTask deletes an existing task

func (*Client) DeleteTaskSet

func (client *Client) DeleteTaskSet(id int64, req *Request) (*Response, error)

DeleteTaskSet deletes an existing task set

func (*Client) DeleteTenant

func (client *Client) DeleteTenant(id int64, req *Request) (*Response, error)

DeleteTenant deletes an existing Morpheus tenant

func (*Client) DeleteUserGroup added in v0.3.9

func (client *Client) DeleteUserGroup(id int64, req *Request) (*Response, error)

func (*Client) DeleteUserResult added in v0.1.8

func (client *Client) DeleteUserResult(id int64, req *Request) (*Response, error)

func (*Client) DeleteVDIApp added in v0.1.6

func (client *Client) DeleteVDIApp(id int64, req *Request) (*Response, error)

func (*Client) DeleteVDIGateway added in v0.1.5

func (client *Client) DeleteVDIGateway(id int64, req *Request) (*Response, error)

func (*Client) DeleteVDIPool added in v0.1.5

func (client *Client) DeleteVDIPool(id int64, req *Request) (*Response, error)

func (*Client) DeleteVirtualImage added in v0.1.4

func (client *Client) DeleteVirtualImage(id int64, req *Request) (*Response, error)

DeleteVirtualImage deletes an existing virtual image

func (*Client) DeleteWiki added in v0.1.1

func (client *Client) DeleteWiki(id int64, req *Request) (*Response, error)

DeleteWiki deletes an existing wiki https://apidocs.morpheusdata.com/#delete-a-wiki-page

func (*Client) ErrorCount

func (client *Client) ErrorCount() int64

func (*Client) Execute

func (client *Client) Execute(req *Request) (*Response, error)

func (*Client) ExecuteScriptOnInstance added in v0.2.9

func (client *Client) ExecuteScriptOnInstance(instance Instance, script string) (stdOut string, stdErr string, err error)

func (*Client) FindAlertByName added in v0.2.0

func (client *Client) FindAlertByName(name string) (*Response, error)

FindAlertByName gets an existing alert by name

func (*Client) FindAppByName

func (client *Client) FindAppByName(name string) (*Response, error)

helper functions

func (*Client) FindApprovalByName added in v0.2.6

func (client *Client) FindApprovalByName(name string) (*Response, error)

FindApprovalByName gets an existing approval by name

func (*Client) FindArchiveByName added in v0.1.10

func (client *Client) FindArchiveByName(name string) (*Response, error)

FindArchiveByName gets an existing archive by name

func (*Client) FindBlueprintByName

func (client *Client) FindBlueprintByName(name string) (*Response, error)

func (*Client) FindBootScriptByName added in v0.1.9

func (client *Client) FindBootScriptByName(name string) (*Response, error)

FindBootScriptByName gets an existing bootScript by name

func (*Client) FindBudgetByName added in v0.1.5

func (client *Client) FindBudgetByName(name string) (*Response, error)

FindBudgetByName gets an existing budget by name

func (*Client) FindCatalogItemByName

func (client *Client) FindCatalogItemByName(name string) (*Response, error)

func (*Client) FindCheckAppByName added in v0.2.0

func (client *Client) FindCheckAppByName(name string) (*Response, error)

FindCheckAppByName gets an existing check app by name

func (*Client) FindCheckByName added in v0.1.1

func (client *Client) FindCheckByName(name string) (*Response, error)

func (*Client) FindCheckGroupByName added in v0.1.1

func (client *Client) FindCheckGroupByName(name string) (*Response, error)

func (*Client) FindCloudByName

func (client *Client) FindCloudByName(name string) (*Response, error)

func (*Client) FindClusterByName

func (client *Client) FindClusterByName(name string) (*Response, error)

func (*Client) FindClusterLayoutByName added in v0.1.4

func (client *Client) FindClusterLayoutByName(name string) (*Response, error)

FindClusterLayoutByName gets an existing cluster layout by name

func (*Client) FindClusterPackageByName added in v0.3.7

func (client *Client) FindClusterPackageByName(name string) (*Response, error)

FindClusterPackageByName gets an existing cluster package by name

func (*Client) FindClusterTypeByName added in v0.1.6

func (client *Client) FindClusterTypeByName(name string) (*Response, error)

FindClusterTypeByName gets an existing Cluster type by name

func (*Client) FindContactByName

func (client *Client) FindContactByName(name string) (*Response, error)

FindContactByName gets an existing contact by name

func (*Client) FindCredentialByName added in v0.1.5

func (client *Client) FindCredentialByName(name string) (*Response, error)

FindCredentialByName gets an existing credential by name

func (*Client) FindDeploymentByName added in v0.2.0

func (client *Client) FindDeploymentByName(name string) (*Response, error)

func (*Client) FindEmailTemplateByName added in v0.4.0

func (client *Client) FindEmailTemplateByName(name string) (*Response, error)

func (*Client) FindEnvironmentByName

func (client *Client) FindEnvironmentByName(name string) (*Response, error)

FindEnvironmentByName gets an existing environment by name

func (*Client) FindExecuteScheduleByName

func (client *Client) FindExecuteScheduleByName(name string) (*Response, error)

func (*Client) FindFileTemplateByName added in v0.1.4

func (client *Client) FindFileTemplateByName(name string) (*Response, error)

FindFileTemplateByName gets an existing spec template by name

func (*Client) FindFormByName added in v0.3.7

func (client *Client) FindFormByName(name string) (*Response, error)

FindFormByName gets an existing form by name

func (*Client) FindGroupByName

func (client *Client) FindGroupByName(name string) (*Response, error)

FindGroupByName gets an existing group by name

func (*Client) FindIdentitySourceByName added in v0.1.5

func (client *Client) FindIdentitySourceByName(name string) (*Response, error)

helper functions

func (*Client) FindIncidentByName added in v0.1.1

func (client *Client) FindIncidentByName(name string) (*Response, error)

helper functions

func (*Client) FindInstanceByName

func (client *Client) FindInstanceByName(name string) (*Response, error)

func (*Client) FindInstanceLayoutByName

func (client *Client) FindInstanceLayoutByName(name string) (*Response, error)

helper functions

func (*Client) FindInstancePlanByCode

func (client *Client) FindInstancePlanByCode(code string, req *Request) (*Response, error)

this should work by code or name it also requires zoneId AND layoutId??

func (*Client) FindInstancePlanByName

func (client *Client) FindInstancePlanByName(name string, req *Request) (*Response, error)

func (*Client) FindInstanceTypeByName

func (client *Client) FindInstanceTypeByName(name string) (*Response, error)

helper functions

func (*Client) FindIntegrationByName

func (client *Client) FindIntegrationByName(name string) (*Response, error)

func (*Client) FindJobByName

func (client *Client) FindJobByName(name string) (*Response, error)

func (*Client) FindLoadBalancerByName added in v0.2.6

func (client *Client) FindLoadBalancerByName(name string) (*Response, error)

FindLoadBalancerByName gets an existing load balancer by name

func (*Client) FindLoadBalancerMonitorByName added in v0.2.6

func (client *Client) FindLoadBalancerMonitorByName(id int64, name string) (*Response, error)

FindLoadBalancerMonitorByName gets an existing load balancer monitor by name

func (*Client) FindLoadBalancerPoolByName added in v0.2.6

func (client *Client) FindLoadBalancerPoolByName(loadBalancerId int64, name string) (*Response, error)

FindLoadBalancerPoolByName gets an existing load balancer pool by name

func (*Client) FindLoadBalancerProfileByName added in v0.2.6

func (client *Client) FindLoadBalancerProfileByName(loadBalancerId int64, name string) (*Response, error)

FindLoadBalancerProfileByName gets an existing load balancer profile by name

func (*Client) FindLoadBalancerTypeByName added in v0.2.6

func (client *Client) FindLoadBalancerTypeByName(name string) (*Response, error)

FindLoadBalancerByName gets an existing load balancer by name

func (*Client) FindLoadBalancerVirtualServerByName added in v0.2.6

func (client *Client) FindLoadBalancerVirtualServerByName(loadBalancerId int64, name string) (*Response, error)

FindLoadBalancerVirtualServerByName gets an existing load balancer virtual server by name

func (*Client) FindMonitoringAppByName added in v0.1.1

func (client *Client) FindMonitoringAppByName(name string) (*Response, error)

helper functions

func (*Client) FindNetworkByName

func (client *Client) FindNetworkByName(name string) (*Response, error)

FindNetworkByName finds an existing network by the network name

func (*Client) FindNetworkDomainByName

func (client *Client) FindNetworkDomainByName(name string) (*Response, error)

func (*Client) FindNetworkGroupByName added in v0.2.9

func (client *Client) FindNetworkGroupByName(name string) (*Response, error)

FindNetworkGroupByName gets an existing network group by name

func (*Client) FindNetworkPoolByName added in v0.2.7

func (client *Client) FindNetworkPoolByName(name string) (*Response, error)

FindNetworkPoolByName gets an existing network pool by name

func (*Client) FindNetworkPoolServerByName added in v0.2.7

func (client *Client) FindNetworkPoolServerByName(name string) (*Response, error)

FindNetworkPoolServerByName gets an existing network pool server by name

func (*Client) FindNetworkProxyByName added in v0.2.6

func (client *Client) FindNetworkProxyByName(name string) (*Response, error)

FindNetworkProxyByName gets an existing network proxy by name

func (*Client) FindNetworkStaticRouteByName added in v0.2.7

func (client *Client) FindNetworkStaticRouteByName(networkId int64, name string) (*Response, error)

FindNetworkStaticRouteByName gets an existing network static route by name

func (*Client) FindNetworkSubnetByName added in v0.2.7

func (client *Client) FindNetworkSubnetByName(name string) (*Response, error)

FindNetworkSubnetByName gets an existing network subnet by name

func (*Client) FindNodeTypeByName

func (client *Client) FindNodeTypeByName(name string) (*Response, error)

func (*Client) FindOauthClientByName added in v0.2.9

func (client *Client) FindOauthClientByName(name string) (*Response, error)

FindOauthClientByName gets an existing oauth client by name

func (*Client) FindOptionListByName

func (client *Client) FindOptionListByName(name string) (*Response, error)

FindOptionListByName gets an existing option list by name

func (*Client) FindOptionTypeByName

func (client *Client) FindOptionTypeByName(name string) (*Response, error)

FindOptionTypeByName gets an existing option type by name

func (*Client) FindPlanByName

func (client *Client) FindPlanByName(name string) (*Response, error)

FindPlanByName gets an existing plan by name

func (*Client) FindPluginByName added in v0.2.6

func (client *Client) FindPluginByName(name string) (*Response, error)

func (*Client) FindPolicyByName

func (client *Client) FindPolicyByName(name string) (*Response, error)

FindPolicyByName gets an existing policy by name

func (*Client) FindPowerScheduleByName added in v0.1.1

func (client *Client) FindPowerScheduleByName(name string) (*Response, error)

FindPowerScheduleByName gets an existing power schedule by name

func (*Client) FindPreseedScriptByName added in v0.1.9

func (client *Client) FindPreseedScriptByName(name string) (*Response, error)

FindPreseedScriptByName gets an existing preseedScript by name

func (*Client) FindPriceByName added in v0.1.1

func (client *Client) FindPriceByName(name string) (*Response, error)

FindPriceByName gets an existing price by name

func (*Client) FindPriceSetByName added in v0.1.1

func (client *Client) FindPriceSetByName(name string) (*Response, error)

FindPriceSetByName gets an existing priceSet by name

func (*Client) FindProvisionTypeByName added in v0.1.6

func (client *Client) FindProvisionTypeByName(name string) (*Response, error)

FindProvisionTypeByName gets an existing provision type by name

func (*Client) FindReportTypeByName added in v0.2.1

func (client *Client) FindReportTypeByName(name string) (*Response, error)

FindReportTypeByName gets an existing report type by name

func (*Client) FindResourcePoolByName

func (client *Client) FindResourcePoolByName(cloudId int64, name string) (*Response, error)

FindResourcePoolByName gets an existing resource pool by name

func (*Client) FindResourcePoolGroupByName added in v0.3.1

func (client *Client) FindResourcePoolGroupByName(name string) (*Response, error)

FindResourcePoolGroupByName gets an existing resource pool group by name

func (*Client) FindRoleByName

func (client *Client) FindRoleByName(name string) (*Response, error)

FindRoleByName gets an existing role by name

func (*Client) FindScaleThresholdByName added in v0.1.5

func (client *Client) FindScaleThresholdByName(name string) (*Response, error)

FindScaleThresholdByName gets an existing scaleThreshold by name

func (*Client) FindScriptTemplateByName added in v0.1.4

func (client *Client) FindScriptTemplateByName(name string) (*Response, error)

FindScriptTemplateByName gets an existing spec template by name

func (*Client) FindSecurityGroupByName added in v0.4.0

func (client *Client) FindSecurityGroupByName(name string) (*Response, error)

FindSecurityGroupByName gets an existing security group by name

func (*Client) FindSecurityGroupRuleByName added in v0.4.0

func (client *Client) FindSecurityGroupRuleByName(id int64, name string) (*Response, error)

FindSecurityGroupByName gets an existing security group by name

func (*Client) FindSecurityPackageByName added in v0.2.6

func (client *Client) FindSecurityPackageByName(name string) (*Response, error)

FindSecurityPackageByName gets an existing security package by name

func (*Client) FindServicePlanByName added in v0.1.1

func (client *Client) FindServicePlanByName(name string) (*Response, error)

FindServicePlanByName gets an existing servicePlan by name

func (*Client) FindSoftwareLicenseByName added in v0.1.5

func (client *Client) FindSoftwareLicenseByName(name string) (*Response, error)

FindSoftwareLicenseByName gets an existing software license by name

func (*Client) FindSpecTemplateByName

func (client *Client) FindSpecTemplateByName(name string) (*Response, error)

FindSpecTemplateByName gets an existing spec template by name

func (*Client) FindStorageBucketByName added in v0.1.5

func (client *Client) FindStorageBucketByName(name string) (*Response, error)

FindStorageBucketByName gets an existing storageBucket by name

func (*Client) FindStorageServerByName added in v0.2.8

func (client *Client) FindStorageServerByName(name string) (*Response, error)

FindStorageServerByName gets an existing storageServer by name

func (*Client) FindStorageServerTypeByName added in v0.4.0

func (client *Client) FindStorageServerTypeByName(name string) (*Response, error)

func (*Client) FindStorageVolumeByName added in v0.4.0

func (client *Client) FindStorageVolumeByName(name string) (*Response, error)

func (*Client) FindStorageVolumeTypeByName added in v0.4.0

func (client *Client) FindStorageVolumeTypeByName(name string) (*Response, error)

func (*Client) FindTaskByName

func (client *Client) FindTaskByName(name string) (*Response, error)

FindTaskByName gets an existing task by name

func (*Client) FindTaskSetByName

func (client *Client) FindTaskSetByName(name string) (*Response, error)

FindTaskSetByName gets an existing task set by name

func (*Client) FindTaskTypeByName added in v0.4.0

func (client *Client) FindTaskTypeByName(name string) (*Response, error)

func (*Client) FindTenantByName

func (client *Client) FindTenantByName(name string) (*Response, error)

FindTenantByName gets an existing tenant by name

func (*Client) FindTenantRoleByName

func (client *Client) FindTenantRoleByName(name string) (*Response, error)

FindTenantRoleByName gets an existing tenant role by name

func (*Client) FindUserByExactName added in v0.2.5

func (client *Client) FindUserByExactName(name string) (*Response, error)

func (*Client) FindUserByName added in v0.1.8

func (client *Client) FindUserByName(name string) (*Response, error)

FindUserByName gets an existing user by name

func (*Client) FindUserGroupByName added in v0.1.8

func (client *Client) FindUserGroupByName(name string) (*Response, error)

FindUserGroupByName gets an existing user group by name

func (*Client) FindVDIAppByName added in v0.1.6

func (client *Client) FindVDIAppByName(name string) (*Response, error)

FindVDIAppByName gets an existing vdi app by name

func (*Client) FindVDIGatewayByName added in v0.1.5

func (client *Client) FindVDIGatewayByName(name string) (*Response, error)

FindVDIGatewayByName gets an existing vdi gateway by name

func (*Client) FindVDIPoolByName added in v0.1.5

func (client *Client) FindVDIPoolByName(name string) (*Response, error)

FindVDIPoolByName gets an existing vdi pool by name

func (*Client) FindVirtualImageByName added in v0.1.4

func (client *Client) FindVirtualImageByName(name string) (*Response, error)

FindVirtualImageByName gets an existing virtual image by name

func (*Client) FindVirtualImageByNameAndType added in v0.3.3

func (client *Client) FindVirtualImageByNameAndType(name string, imagetype string) (*Response, error)

func (*Client) FindWikiByName added in v0.1.1

func (client *Client) FindWikiByName(name string) (*Response, error)

FindWikiByName gets an existing wiki by name

func (*Client) Get

func (client *Client) Get(req *Request) (*Response, error)

func (*Client) GetActivity added in v0.2.6

func (client *Client) GetActivity(req *Request) (*Response, error)

GetActivity get activity

func (*Client) GetAlert added in v0.2.0

func (client *Client) GetAlert(id int64, req *Request) (*Response, error)

GetAlert gets an existing alert

func (*Client) GetApp

func (client *Client) GetApp(id int64, req *Request) (*Response, error)

func (*Client) GetAppState added in v0.3.9

func (client *Client) GetAppState(id int64, req *Request) (*Response, error)

func (*Client) GetAppWiki added in v0.1.1

func (client *Client) GetAppWiki(id int64, req *Request) (*Response, error)

GetAppWiki gets an app wiki https://apidocs.morpheusdata.com/#get-a-wiki-page-for-app

func (*Client) GetApplianceSettings added in v0.1.6

func (client *Client) GetApplianceSettings(req *Request) (*Response, error)

Client request methods

func (*Client) GetApproval added in v0.2.6

func (client *Client) GetApproval(id int64, req *Request) (*Response, error)

GetApproval gets an existing approval

func (*Client) GetApprovalItem added in v0.2.6

func (client *Client) GetApprovalItem(id int64, req *Request) (*Response, error)

GetApprovalItem gets an existing approval item

func (*Client) GetArchive added in v0.1.10

func (client *Client) GetArchive(id int64, req *Request) (*Response, error)

GetArchive gets an archive

func (*Client) GetBackupSettings added in v0.1.6

func (client *Client) GetBackupSettings(req *Request) (*Response, error)

Client request methods

func (*Client) GetBlueprint

func (client *Client) GetBlueprint(id int64, req *Request) (*Response, error)

func (*Client) GetBootScript added in v0.1.9

func (client *Client) GetBootScript(id int64, req *Request) (*Response, error)

GetBootScriptSet gets an existing bootScript

func (*Client) GetBudget added in v0.1.5

func (client *Client) GetBudget(id int64, req *Request) (*Response, error)

func (*Client) GetCatalogCart added in v0.3.4

func (client *Client) GetCatalogCart(req *Request) (*Response, error)

GetCatalogCart gets the contents of the cart

func (*Client) GetCatalogInventoryItem added in v0.3.4

func (client *Client) GetCatalogInventoryItem(id int64, req *Request) (*Response, error)

GetCatalogInventoryItem gets an existing inventory item

func (*Client) GetCatalogItem

func (client *Client) GetCatalogItem(id int64, req *Request) (*Response, error)

func (*Client) GetCatalogItemType added in v0.3.4

func (client *Client) GetCatalogItemType(id int64, req *Request) (*Response, error)

GetCatalogItemType gets an existing catalog item type

func (*Client) GetCheck added in v0.1.1

func (client *Client) GetCheck(id int64, req *Request) (*Response, error)

func (*Client) GetCheckApp added in v0.2.0

func (client *Client) GetCheckApp(id int64, req *Request) (*Response, error)

GetCheckApp gets a check app

func (*Client) GetCheckGroup added in v0.1.1

func (client *Client) GetCheckGroup(id int64, req *Request) (*Response, error)

func (*Client) GetCloud

func (client *Client) GetCloud(id int64, req *Request) (*Response, error)

func (*Client) GetCloudDatastore added in v0.3.5

func (client *Client) GetCloudDatastore(zoneId int64, id int64, req *Request) (*Response, error)

func (*Client) GetCloudResourceFolder added in v0.3.5

func (client *Client) GetCloudResourceFolder(zoneId int64, id int64, req *Request) (*Response, error)

func (*Client) GetCloudResourcePool added in v0.3.6

func (client *Client) GetCloudResourcePool(zoneId int64, id int64, req *Request) (*Response, error)

GetCloudResourcePool fetches an existing cloud resource pool

func (*Client) GetCloudWiki added in v0.1.1

func (client *Client) GetCloudWiki(id int64, req *Request) (*Response, error)

GetCloudWiki gets a cloud wiki https://apidocs.morpheusdata.com/#get-a-wiki-page-for-cloud

func (*Client) GetCluster

func (client *Client) GetCluster(id int64, req *Request) (*Response, error)

func (*Client) GetClusterApiConfig added in v0.3.2

func (client *Client) GetClusterApiConfig(id int64, req *Request) (*Response, error)

GetClusterApiConfig gets the api configuration for an existing cluster

func (*Client) GetClusterLayout added in v0.1.4

func (client *Client) GetClusterLayout(id int64, req *Request) (*Response, error)

func (*Client) GetClusterPackage added in v0.3.7

func (client *Client) GetClusterPackage(id int64, req *Request) (*Response, error)

GetClusterPackage gets a cluster package

func (*Client) GetClusterWiki added in v0.1.1

func (client *Client) GetClusterWiki(id int64, req *Request) (*Response, error)

GetClusterWiki gets a cluster wiki https://apidocs.morpheusdata.com/#get-a-wiki-page-for-cluster

func (*Client) GetContact

func (client *Client) GetContact(id int64, req *Request) (*Response, error)

GetContact gets a contact

func (*Client) GetCredential added in v0.1.5

func (client *Client) GetCredential(id int64, req *Request) (*Response, error)

func (*Client) GetCypher added in v0.3.5

func (client *Client) GetCypher(path string, req *Request) (*Response, error)

func (*Client) GetDeployment added in v0.2.0

func (client *Client) GetDeployment(id int64, req *Request) (*Response, error)

GetDeployment gets an existing deployment

func (*Client) GetEmailTemplate added in v0.4.0

func (client *Client) GetEmailTemplate(id int64, req *Request) (*Response, error)

GetEmailTemplate gets an existing email template

func (*Client) GetEnvironment

func (client *Client) GetEnvironment(id int64, req *Request) (*Response, error)

GetEnvironment gets an environment

func (*Client) GetExecuteSchedule

func (client *Client) GetExecuteSchedule(id int64, req *Request) (*Response, error)

func (*Client) GetExecutionRequest added in v0.2.9

func (client *Client) GetExecutionRequest(uniqueID string, req *Request) (*Response, error)

func (*Client) GetFileTemplate added in v0.1.4

func (client *Client) GetFileTemplate(id int64, req *Request) (*Response, error)

func (*Client) GetForm added in v0.3.7

func (client *Client) GetForm(id int64, req *Request) (*Response, error)

func (*Client) GetGroup

func (client *Client) GetGroup(id int64, req *Request) (*Response, error)

func (*Client) GetGroupWiki added in v0.1.1

func (client *Client) GetGroupWiki(id int64, req *Request) (*Response, error)

GetGroupWiki gets a wiki https://apidocs.morpheusdata.com/#get-a-wiki-page-for-group

func (*Client) GetGuidanceSettings added in v0.3.0

func (client *Client) GetGuidanceSettings(req *Request) (*Response, error)

Client request methods

func (*Client) GetIdentitySource added in v0.1.5

func (client *Client) GetIdentitySource(id int64, req *Request) (*Response, error)

func (*Client) GetIncident added in v0.1.1

func (client *Client) GetIncident(id int64, req *Request) (*Response, error)

func (*Client) GetInstance

func (client *Client) GetInstance(id int64, req *Request) (*Response, error)

func (*Client) GetInstanceLayout

func (client *Client) GetInstanceLayout(id int64, req *Request) (*Response, error)

func (*Client) GetInstancePlan

func (client *Client) GetInstancePlan(id int64, req *Request) (*Response, error)

todo: need this api endpoint still, and consolidate to /api/plans perhaps

func (*Client) GetInstanceSecurityGroups added in v0.4.0

func (client *Client) GetInstanceSecurityGroups(id int64, req *Request) (*Response, error)

func (*Client) GetInstanceType

func (client *Client) GetInstanceType(id int64, req *Request) (*Response, error)

func (*Client) GetInstanceWiki added in v0.1.1

func (client *Client) GetInstanceWiki(id int64, req *Request) (*Response, error)

GetInstanceWiki gets an instance wiki https://apidocs.morpheusdata.com/#get-a-wiki-page-for-instance

func (*Client) GetIntegration

func (client *Client) GetIntegration(id int64, req *Request) (*Response, error)

func (*Client) GetJob

func (client *Client) GetJob(id int64, req *Request) (*Response, error)

func (*Client) GetJobExecution added in v0.3.3

func (client *Client) GetJobExecution(id int64, req *Request) (*Response, error)

func (*Client) GetJobExecutionEvent added in v0.3.3

func (client *Client) GetJobExecutionEvent(id int64, eventId int64, req *Request) (*Response, error)

func (*Client) GetKeyPair

func (client *Client) GetKeyPair(id int64) (*Response, error)

func (*Client) GetKeyPairByName added in v0.3.3

func (client *Client) GetKeyPairByName(name string) (*Response, error)

func (*Client) GetLicense added in v0.1.6

func (client *Client) GetLicense(req *Request) (*Response, error)

Client request methods

func (*Client) GetLoadBalancer added in v0.2.6

func (client *Client) GetLoadBalancer(id int64, req *Request) (*Response, error)

GetLoadBalancer gets an existing load balancer

func (*Client) GetLoadBalancerMonitor added in v0.2.6

func (client *Client) GetLoadBalancerMonitor(loadBalancerId int64, id int64, req *Request) (*Response, error)

GetLoadBalancerMonitor gets an existing load balancer monitor

func (*Client) GetLoadBalancerPool added in v0.2.6

func (client *Client) GetLoadBalancerPool(loadBalancerId int64, id int64, req *Request) (*Response, error)

GetLoadBalancerPool gets an existing load balancer pool

func (*Client) GetLoadBalancerProfile added in v0.2.6

func (client *Client) GetLoadBalancerProfile(loadBalancerId int64, id int64, req *Request) (*Response, error)

GetLoadBalancerProfile gets an existing load balancer profile

func (*Client) GetLoadBalancerType added in v0.2.6

func (client *Client) GetLoadBalancerType(id int64, req *Request) (*Response, error)

GetLoadBalancerType gets an existing load balancer type

func (*Client) GetLoadBalancerVirtualServer added in v0.2.6

func (client *Client) GetLoadBalancerVirtualServer(loadBalancerId int64, id int64, req *Request) (*Response, error)

GetLoadBalancerVirtualServer gets an existing load balancer virtual server

func (*Client) GetLogSettings added in v0.1.3

func (client *Client) GetLogSettings(req *Request) (*Response, error)

GetLogSettings gets the appliance logs settings https://apidocs.morpheusdata.com/#get-log-settings

func (*Client) GetMonitoringApp added in v0.1.1

func (client *Client) GetMonitoringApp(id int64, req *Request) (*Response, error)

func (*Client) GetMonitoringSettings added in v0.3.0

func (client *Client) GetMonitoringSettings(req *Request) (*Response, error)

Client request methods

func (*Client) GetNetwork

func (client *Client) GetNetwork(id int64, req *Request) (*Response, error)

GetNetwork gets an existing network

func (*Client) GetNetworkDomain

func (client *Client) GetNetworkDomain(id int64, req *Request) (*Response, error)

func (*Client) GetNetworkGroup added in v0.2.9

func (client *Client) GetNetworkGroup(id int64, req *Request) (*Response, error)

GetNetworkGroup gets an existing network group

func (*Client) GetNetworkPool added in v0.2.7

func (client *Client) GetNetworkPool(id int64, req *Request) (*Response, error)

GetNetworkPool gets an existing network pool

func (*Client) GetNetworkPoolServer added in v0.2.7

func (client *Client) GetNetworkPoolServer(id int64, req *Request) (*Response, error)

GetNetworkPool Server gets an existing network pool server

func (*Client) GetNetworkProxy added in v0.2.6

func (client *Client) GetNetworkProxy(id int64, req *Request) (*Response, error)

GetNetworkProxy gets an existing network proxy

func (*Client) GetNetworkStaticRoute added in v0.2.7

func (client *Client) GetNetworkStaticRoute(networkId int64, routeId int64, req *Request) (*Response, error)

GetNetworkStaticRoute Server gets an existing network static route

func (*Client) GetNetworkSubnet added in v0.2.7

func (client *Client) GetNetworkSubnet(id int64, req *Request) (*Response, error)

GetNetworkSubnet gets an existing network subnet

func (*Client) GetNodeType

func (client *Client) GetNodeType(id int64, req *Request) (*Response, error)

func (*Client) GetOauthClient added in v0.2.9

func (client *Client) GetOauthClient(id int64, req *Request) (*Response, error)

GetOauthClient gets an existing oauth client

func (*Client) GetOptionList

func (client *Client) GetOptionList(id int64, req *Request) (*Response, error)

GetOptionList gets an option list

func (*Client) GetOptionSource

func (client *Client) GetOptionSource(optionSource string, req *Request) (*Response, error)

func (*Client) GetOptionSourceLayouts

func (client *Client) GetOptionSourceLayouts(req *Request) (*Response, error)

func (*Client) GetOptionSourceZoneNetworkOptions

func (client *Client) GetOptionSourceZoneNetworkOptions(req *Request) (*Response, error)

func (*Client) GetOptionType

func (client *Client) GetOptionType(id int64, req *Request) (*Response, error)

GetOptionType gets an option type

func (*Client) GetPlan

func (client *Client) GetPlan(id int64, req *Request) (*Response, error)

GetPlan gets a plan

func (*Client) GetPlugin added in v0.2.6

func (client *Client) GetPlugin(id int64, req *Request) (*Response, error)

func (*Client) GetPolicy

func (client *Client) GetPolicy(id int64, req *Request) (*Response, error)

GetPolicy gets a policy

func (*Client) GetPowerSchedule added in v0.1.1

func (client *Client) GetPowerSchedule(id int64, req *Request) (*Response, error)

GetPowerSchedule gets an existing power schedule https://apidocs.morpheusdata.com/#get-a-specific-power-schedule

func (*Client) GetPreseedScript added in v0.1.9

func (client *Client) GetPreseedScript(id int64, req *Request) (*Response, error)

GetPreseedScriptSet gets an existing preseedScript

func (*Client) GetPrice added in v0.1.1

func (client *Client) GetPrice(id int64, req *Request) (*Response, error)

GetPrice gets an existing price https://apidocs.morpheusdata.com/#get-a-specific-price

func (*Client) GetPriceSet added in v0.1.1

func (client *Client) GetPriceSet(id int64, req *Request) (*Response, error)

GetPriceSetSet gets an existing priceSet https://apidocs.morpheusdata.com/#get-a-specific-priceSet

func (*Client) GetProvisionType added in v0.1.2

func (client *Client) GetProvisionType(id int64, req *Request) (*Response, error)

GetProvisionType gets a provision type by ID

func (*Client) GetProvisioningSettings added in v0.1.6

func (client *Client) GetProvisioningSettings(req *Request) (*Response, error)

Client request methods

func (*Client) GetResourcePool

func (client *Client) GetResourcePool(cloudId int64, id int64, req *Request) (*Response, error)

func (*Client) GetResourcePoolGroup added in v0.3.1

func (client *Client) GetResourcePoolGroup(id int64, req *Request) (*Response, error)

func (*Client) GetRole

func (client *Client) GetRole(id int64, req *Request) (*Response, error)

func (*Client) GetScaleThreshold added in v0.1.5

func (client *Client) GetScaleThreshold(id int64, req *Request) (*Response, error)

func (*Client) GetScriptTemplate added in v0.1.4

func (client *Client) GetScriptTemplate(id int64, req *Request) (*Response, error)

func (*Client) GetSecurityGroup added in v0.4.0

func (client *Client) GetSecurityGroup(id int64, req *Request) (*Response, error)

func (*Client) GetSecurityGroupRule added in v0.4.0

func (client *Client) GetSecurityGroupRule(id int64, ruleId int64, req *Request) (*Response, error)

func (*Client) GetSecurityPackage added in v0.2.6

func (client *Client) GetSecurityPackage(id int64, req *Request) (*Response, error)

func (*Client) GetSecurityScan added in v0.3.0

func (client *Client) GetSecurityScan(id int64, req *Request) (*Response, error)

GetSecurityScan gets a security scan

func (*Client) GetServerWiki added in v0.1.1

func (client *Client) GetServerWiki(id int64, req *Request) (*Response, error)

GetServerWiki gets a server wiki https://apidocs.morpheusdata.com/#get-a-wiki-page-for-server

func (*Client) GetServicePlan added in v0.1.1

func (client *Client) GetServicePlan(id int64, req *Request) (*Response, error)

GetServicePlan gets an existing service plan https://apidocs.morpheusdata.com/#get-a-specific-service-plan

func (*Client) GetSoftwareLicense added in v0.1.5

func (client *Client) GetSoftwareLicense(id int64, req *Request) (*Response, error)

func (*Client) GetSoftwareLicenseReservations added in v0.1.5

func (client *Client) GetSoftwareLicenseReservations(id int64, req *Request) (*Response, error)

func (*Client) GetSpecTemplate

func (client *Client) GetSpecTemplate(id int64, req *Request) (*Response, error)

func (*Client) GetStorageBucket added in v0.1.5

func (client *Client) GetStorageBucket(id int64, req *Request) (*Response, error)

func (*Client) GetStorageServer added in v0.2.8

func (client *Client) GetStorageServer(id int64, req *Request) (*Response, error)

func (*Client) GetStorageServerType added in v0.4.0

func (client *Client) GetStorageServerType(id int64, req *Request) (*Response, error)

func (*Client) GetStorageVolume added in v0.4.0

func (client *Client) GetStorageVolume(id int64, req *Request) (*Response, error)

func (*Client) GetStorageVolumeType added in v0.4.0

func (client *Client) GetStorageVolumeType(id int64, req *Request) (*Response, error)

func (*Client) GetSubtenantGroup added in v0.3.6

func (client *Client) GetSubtenantGroup(tenantId int64, groupId int64, req *Request) (*Response, error)

GetSubtenantGroup gets a group in a subtenant

func (*Client) GetTask

func (client *Client) GetTask(id int64, req *Request) (*Response, error)

GetTask gets an existing task

func (*Client) GetTaskSet

func (client *Client) GetTaskSet(id int64, req *Request) (*Response, error)

GetTaskSet gets an existing task set

func (*Client) GetTaskType added in v0.4.0

func (client *Client) GetTaskType(id int64, req *Request) (*Response, error)

func (*Client) GetTenant

func (client *Client) GetTenant(id int64, req *Request) (*Response, error)

GetTenant gets a single tenant by id

func (*Client) GetUser added in v0.1.8

func (client *Client) GetUser(id int64, req *Request) (*Response, error)

func (*Client) GetUserGroup added in v0.1.8

func (client *Client) GetUserGroup(id int64, req *Request) (*Response, error)

func (*Client) GetVDIAllocation added in v0.1.6

func (client *Client) GetVDIAllocation(id int64, req *Request) (*Response, error)

func (*Client) GetVDIApp added in v0.1.6

func (client *Client) GetVDIApp(id int64, req *Request) (*Response, error)

func (*Client) GetVDIGateway added in v0.1.5

func (client *Client) GetVDIGateway(id int64, req *Request) (*Response, error)

func (*Client) GetVDIPool added in v0.1.5

func (client *Client) GetVDIPool(id int64, req *Request) (*Response, error)

func (*Client) GetVirtualImage added in v0.1.4

func (client *Client) GetVirtualImage(id int64, req *Request) (*Response, error)

GetVirtualImage gets an existing virtualimage

func (*Client) GetWhitelabelSettings added in v0.1.8

func (client *Client) GetWhitelabelSettings(req *Request) (*Response, error)

Client request methods

func (*Client) GetWiki added in v0.1.1

func (client *Client) GetWiki(id int64, req *Request) (*Response, error)

GetAppWiki gets a wiki https://apidocs.morpheusdata.com/#get-a-specific-wiki-page

func (*Client) Head

func (client *Client) Head(req *Request) (*Response, error)

func (*Client) InstallLicense added in v0.1.6

func (client *Client) InstallLicense(req *Request) (*Response, error)

func (*Client) IsLoggedIn

func (client *Client) IsLoggedIn() bool

func (*Client) LastRequest

func (client *Client) LastRequest() *Request

func (*Client) LastResponse

func (client *Client) LastResponse() *Response

func (*Client) ListAlerts added in v0.2.0

func (client *Client) ListAlerts(req *Request) (*Response, error)

ListAlerts lists all alerts

func (*Client) ListApprovals added in v0.2.6

func (client *Client) ListApprovals(req *Request) (*Response, error)

ListApprovals lists all approvals

func (*Client) ListApps

func (client *Client) ListApps(req *Request) (*Response, error)

func (*Client) ListArchives added in v0.1.10

func (client *Client) ListArchives(req *Request) (*Response, error)

ListArchives lists all archives

func (*Client) ListAvailableTenantRoles added in v0.3.6

func (client *Client) ListAvailableTenantRoles(req *Request) (*Response, error)

ListAvailableTenantRoles lists all roles available for tenants

func (*Client) ListBlueprints

func (client *Client) ListBlueprints(req *Request) (*Response, error)

func (*Client) ListBootScripts added in v0.1.9

func (client *Client) ListBootScripts(req *Request) (*Response, error)

ListBootScriptSets lists all bootScripts

func (*Client) ListBudgets added in v0.1.5

func (client *Client) ListBudgets(req *Request) (*Response, error)

Client request methods

func (*Client) ListCatalogInventoryItems added in v0.3.4

func (client *Client) ListCatalogInventoryItems(req *Request) (*Response, error)

ListCatalogInventoryItems list existing inventory items

func (*Client) ListCatalogItemTypes added in v0.3.4

func (client *Client) ListCatalogItemTypes(req *Request) (*Response, error)

ListCatalogItemTypes lists all catalog item types

func (*Client) ListCatalogItems

func (client *Client) ListCatalogItems(req *Request) (*Response, error)

func (*Client) ListCheckApps added in v0.2.0

func (client *Client) ListCheckApps(req *Request) (*Response, error)

ListCheckApps list all check apps

func (*Client) ListCheckGroups added in v0.1.1

func (client *Client) ListCheckGroups(req *Request) (*Response, error)

func (*Client) ListChecks added in v0.1.1

func (client *Client) ListChecks(req *Request) (*Response, error)

func (*Client) ListCloudDatastores added in v0.3.5

func (client *Client) ListCloudDatastores(zoneId int64, req *Request) (*Response, error)

func (*Client) ListCloudResourceFolders added in v0.3.5

func (client *Client) ListCloudResourceFolders(zoneId int64, req *Request) (*Response, error)

func (*Client) ListCloudResourcePools added in v0.3.6

func (client *Client) ListCloudResourcePools(zoneId int64, req *Request) (*Response, error)

ListCloudResourcePools fetches all existing cloud resource pools

func (*Client) ListClouds

func (client *Client) ListClouds(req *Request) (*Response, error)

API endpoints

func (*Client) ListClusterLayouts added in v0.1.4

func (client *Client) ListClusterLayouts(req *Request) (*Response, error)

Client request methods

func (*Client) ListClusterNamespaces added in v0.3.2

func (client *Client) ListClusterNamespaces(id int64, req *Request) (*Response, error)

func (*Client) ListClusterPackages added in v0.3.7

func (client *Client) ListClusterPackages(req *Request) (*Response, error)

func (*Client) ListClusterTypes added in v0.1.6

func (client *Client) ListClusterTypes(req *Request) (*Response, error)

API endpoints ListClusterTypes lists all cluster types

func (*Client) ListClusters

func (client *Client) ListClusters(req *Request) (*Response, error)

func (*Client) ListContacts

func (client *Client) ListContacts(req *Request) (*Response, error)

func (*Client) ListCredentials added in v0.1.5

func (client *Client) ListCredentials(req *Request) (*Response, error)

Client request methods

func (*Client) ListCyphers added in v0.3.5

func (client *Client) ListCyphers(req *Request) (*Response, error)

Client request methods

func (*Client) ListDeployments added in v0.2.0

func (client *Client) ListDeployments(req *Request) (*Response, error)

ListDeployments get all existing deployments

func (*Client) ListEmailTemplates added in v0.4.0

func (client *Client) ListEmailTemplates(req *Request) (*Response, error)

ListEmailTemplates get all existing email templates

func (*Client) ListEnvironments

func (client *Client) ListEnvironments(req *Request) (*Response, error)

ListEnvironments lists all environments

func (*Client) ListExecuteSchedules

func (client *Client) ListExecuteSchedules(req *Request) (*Response, error)

func (*Client) ListFileTemplates added in v0.1.4

func (client *Client) ListFileTemplates(req *Request) (*Response, error)

Client request methods

func (*Client) ListForms added in v0.3.7

func (client *Client) ListForms(req *Request) (*Response, error)

API endpoints

func (*Client) ListGroups

func (client *Client) ListGroups(req *Request) (*Response, error)

func (*Client) ListIdentitySources added in v0.1.5

func (client *Client) ListIdentitySources(req *Request) (*Response, error)

func (*Client) ListIncidents added in v0.1.1

func (client *Client) ListIncidents(req *Request) (*Response, error)

func (*Client) ListInstanceLayouts

func (client *Client) ListInstanceLayouts(req *Request) (*Response, error)

func (*Client) ListInstancePlans

func (client *Client) ListInstancePlans(req *Request) (*Response, error)

func (*Client) ListInstanceTypes

func (client *Client) ListInstanceTypes(req *Request) (*Response, error)

func (*Client) ListInstances

func (client *Client) ListInstances(req *Request) (*Response, error)

func (*Client) ListIntegrationObjects added in v0.1.8

func (client *Client) ListIntegrationObjects(id int64, req *Request) (*Response, error)

func (*Client) ListIntegrations

func (client *Client) ListIntegrations(req *Request) (*Response, error)

Client request methods

func (*Client) ListJobExecutions added in v0.3.3

func (client *Client) ListJobExecutions(req *Request) (*Response, error)

Client request methods

func (*Client) ListJobs

func (client *Client) ListJobs(req *Request) (*Response, error)

func (*Client) ListKeyPairs

func (client *Client) ListKeyPairs() (*Response, error)

func (*Client) ListLoadBalancerMonitors added in v0.2.6

func (client *Client) ListLoadBalancerMonitors(id int64, req *Request) (*Response, error)

ListLoadBalancerMonitors lists all load balancer monitors

func (*Client) ListLoadBalancerPools added in v0.2.6

func (client *Client) ListLoadBalancerPools(id int64, req *Request) (*Response, error)

ListLoadBalancerPools lists all load balancer pools

func (*Client) ListLoadBalancerProfiles added in v0.2.6

func (client *Client) ListLoadBalancerProfiles(id int64, req *Request) (*Response, error)

ListLoadBalancerProfiles lists all load balancer profiles

func (*Client) ListLoadBalancerTypes added in v0.2.6

func (client *Client) ListLoadBalancerTypes(req *Request) (*Response, error)

ListLoadBalancerTypes lists all load balancer types

func (*Client) ListLoadBalancerVirtualServers added in v0.2.6

func (client *Client) ListLoadBalancerVirtualServers(id int64, req *Request) (*Response, error)

ListLoadBalancerVirtualServers lists all load balancer virtual servers

func (*Client) ListLoadBalancers added in v0.2.6

func (client *Client) ListLoadBalancers(req *Request) (*Response, error)

ListLoadBalancers lists all load balancers

func (*Client) ListMonitoringApps added in v0.1.1

func (client *Client) ListMonitoringApps(req *Request) (*Response, error)

func (*Client) ListNetworkDomains

func (client *Client) ListNetworkDomains(req *Request) (*Response, error)

func (*Client) ListNetworkGroups added in v0.2.9

func (client *Client) ListNetworkGroups(req *Request) (*Response, error)

ListNetworkGroups lists all network groups

func (*Client) ListNetworkPoolServers added in v0.2.7

func (client *Client) ListNetworkPoolServers(req *Request) (*Response, error)

ListNetworkPoolServers lists all network pool servers

func (*Client) ListNetworkPools added in v0.2.7

func (client *Client) ListNetworkPools(req *Request) (*Response, error)

ListNetworkPools lists all network pools

func (*Client) ListNetworkProxies added in v0.2.6

func (client *Client) ListNetworkProxies(req *Request) (*Response, error)

ListNetworkProxies lists all network proxies

func (*Client) ListNetworkStaticRoutes added in v0.2.7

func (client *Client) ListNetworkStaticRoutes(networkId int64, req *Request) (*Response, error)

ListNetworkStaticRoutes lists all network static routes

func (*Client) ListNetworkSubnets added in v0.2.7

func (client *Client) ListNetworkSubnets(req *Request) (*Response, error)

ListNetworkSubnets lists all network subnets

func (*Client) ListNetworkSubnetsByNetwork added in v0.3.9

func (client *Client) ListNetworkSubnetsByNetwork(id int64, req *Request) (*Response, error)

ListNetworkSubnetsByNetwork lists all network subnets for a given network

func (*Client) ListNetworks

func (client *Client) ListNetworks(req *Request) (*Response, error)

ListNetworks lists all networks

func (*Client) ListNodeTypes

func (client *Client) ListNodeTypes(req *Request) (*Response, error)

func (*Client) ListOauthClients added in v0.2.9

func (client *Client) ListOauthClients(req *Request) (*Response, error)

ListOauthClients lists all oauth client

func (*Client) ListOptionListItems added in v0.2.8

func (client *Client) ListOptionListItems(id int64, req *Request) (*Response, error)

ListOptionListItems lists all option list items

func (*Client) ListOptionLists

func (client *Client) ListOptionLists(req *Request) (*Response, error)

ListOptionLists lists all option lists

func (*Client) ListOptionTypes

func (client *Client) ListOptionTypes(req *Request) (*Response, error)

ListOptionTypes list all option types

func (*Client) ListPlans

func (client *Client) ListPlans(req *Request) (*Response, error)

ListPlans lists all plans

func (*Client) ListPlugins added in v0.2.6

func (client *Client) ListPlugins(req *Request) (*Response, error)

func (*Client) ListPolicies

func (client *Client) ListPolicies(req *Request) (*Response, error)

ListPolicies list all policies

func (*Client) ListPowerSchedules added in v0.1.1

func (client *Client) ListPowerSchedules(req *Request) (*Response, error)

ListPowerSchedules lists all power schedules https://apidocs.morpheusdata.com/#power-schedules

func (*Client) ListPreseedScripts added in v0.1.9

func (client *Client) ListPreseedScripts(req *Request) (*Response, error)

ListPreseedScriptSets lists all preseedScripts

func (*Client) ListPriceSets added in v0.1.1

func (client *Client) ListPriceSets(req *Request) (*Response, error)

ListPriceSetSets lists all priceSets https://apidocs.morpheusdata.com/#get-all-priceSets

func (*Client) ListPrices added in v0.1.1

func (client *Client) ListPrices(req *Request) (*Response, error)

ListPrices lists all prices https://apidocs.morpheusdata.com/#get-all-prices

func (*Client) ListProvisionTypes added in v0.1.2

func (client *Client) ListProvisionTypes(req *Request) (*Response, error)

API endpoints ListProvisionTypes lists all provision types

func (*Client) ListReportTypes added in v0.2.1

func (client *Client) ListReportTypes(req *Request) (*Response, error)

Client request methods

func (*Client) ListResourcePoolGroups added in v0.3.1

func (client *Client) ListResourcePoolGroups(req *Request) (*Response, error)

func (*Client) ListResourcePools

func (client *Client) ListResourcePools(cloudId int64, req *Request) (*Response, error)

func (*Client) ListRoles

func (client *Client) ListRoles(req *Request) (*Response, error)

Client request methods

func (*Client) ListScaleThresholds added in v0.1.5

func (client *Client) ListScaleThresholds(req *Request) (*Response, error)

Client request methods

func (*Client) ListScriptTemplates added in v0.1.4

func (client *Client) ListScriptTemplates(req *Request) (*Response, error)

Client request methods

func (*Client) ListSecurityGroupRules added in v0.4.0

func (client *Client) ListSecurityGroupRules(id int64, req *Request) (*Response, error)

func (*Client) ListSecurityGroups added in v0.4.0

func (client *Client) ListSecurityGroups(req *Request) (*Response, error)

Client request methods

func (*Client) ListSecurityPackages added in v0.2.6

func (client *Client) ListSecurityPackages(req *Request) (*Response, error)

Client request methods

func (*Client) ListSecurityScans added in v0.3.0

func (client *Client) ListSecurityScans(req *Request) (*Response, error)

ListSecurityScans lists all security scans

func (*Client) ListServicePlans added in v0.1.1

func (client *Client) ListServicePlans(req *Request) (*Response, error)

ListServicePlans lists all service plans https://apidocs.morpheusdata.com/#get-all-service-plans

func (*Client) ListSoftwareLicenses added in v0.1.5

func (client *Client) ListSoftwareLicenses(req *Request) (*Response, error)

Client request methods

func (*Client) ListSpecTemplates

func (client *Client) ListSpecTemplates(req *Request) (*Response, error)

func (*Client) ListStorageBuckets added in v0.1.5

func (client *Client) ListStorageBuckets(req *Request) (*Response, error)

Client request methods

func (*Client) ListStorageServerTypes added in v0.4.0

func (client *Client) ListStorageServerTypes(req *Request) (*Response, error)

Client request methods

func (*Client) ListStorageServers added in v0.2.8

func (client *Client) ListStorageServers(req *Request) (*Response, error)

Client request methods

func (*Client) ListStorageVolumeTypes added in v0.4.0

func (client *Client) ListStorageVolumeTypes(req *Request) (*Response, error)

func (*Client) ListStorageVolumes added in v0.4.0

func (client *Client) ListStorageVolumes(req *Request) (*Response, error)

Client request methods

func (*Client) ListSubtenantGroups added in v0.3.6

func (client *Client) ListSubtenantGroups(tenantId int64, req *Request) (*Response, error)

ListSubtenantGroups lists all roles available for tenants

func (*Client) ListTaskSets

func (client *Client) ListTaskSets(req *Request) (*Response, error)

ListTaskSets lists all task sets

func (*Client) ListTaskTypes added in v0.4.0

func (client *Client) ListTaskTypes(req *Request) (*Response, error)

Client request methods

func (*Client) ListTasks

func (client *Client) ListTasks(req *Request) (*Response, error)

ListTasks lists all tasks

func (*Client) ListTenantRoles

func (client *Client) ListTenantRoles(req *Request) (*Response, error)

func (*Client) ListTenants

func (client *Client) ListTenants(req *Request) (*Response, error)

ListTenants lists all tenants

func (*Client) ListUserGroups added in v0.1.8

func (client *Client) ListUserGroups(req *Request) (*Response, error)

Client request methods

func (*Client) ListUsers added in v0.1.8

func (client *Client) ListUsers(req *Request) (*Response, error)

Client request methods

func (*Client) ListVDIAllocations added in v0.1.6

func (client *Client) ListVDIAllocations(req *Request) (*Response, error)

Client request methods

func (*Client) ListVDIApps added in v0.1.6

func (client *Client) ListVDIApps(req *Request) (*Response, error)

Client request methods

func (*Client) ListVDIGateways added in v0.1.5

func (client *Client) ListVDIGateways(req *Request) (*Response, error)

Client request methods

func (*Client) ListVDIPools added in v0.1.5

func (client *Client) ListVDIPools(req *Request) (*Response, error)

Client request methods

func (*Client) ListVirtualImageLocations added in v0.4.0

func (client *Client) ListVirtualImageLocations(id int64, req *Request) (*Response, error)

ListVirtualImageLocations lists existing virtual image locations

func (*Client) ListVirtualImages added in v0.1.4

func (client *Client) ListVirtualImages(req *Request) (*Response, error)

ListVirtualImages lists all virtual images

func (*Client) ListWikiCategories added in v0.1.1

func (client *Client) ListWikiCategories(req *Request) (*Response, error)

ListWikiCategories lists all wiki categories https://apidocs.morpheusdata.com/#get-all-wiki-categories

func (*Client) ListWikis added in v0.1.1

func (client *Client) ListWikis(req *Request) (*Response, error)

ListWikis lists all the wikis https://apidocs.morpheusdata.com/#get-all-wiki-pages

func (*Client) LockInstance added in v0.4.0

func (client *Client) LockInstance(id int64, req *Request) (*Response, error)

func (*Client) Login

func (client *Client) Login() (*Response, error)

func (*Client) Logout

func (client *Client) Logout() (*Response, error)

func (*Client) Options

func (client *Client) Options(req *Request) (*Response, error)

func (*Client) Patch

func (client *Client) Patch(req *Request) (*Response, error)

func (*Client) PlaceCatalogOrder added in v0.3.4

func (client *Client) PlaceCatalogOrder(req *Request) (*Response, error)

PlaceCatalogOrder places a catalog order

func (*Client) Post

func (client *Client) Post(req *Request) (*Response, error)

func (*Client) Put

func (client *Client) Put(req *Request) (*Response, error)

func (*Client) RefreshCloud added in v0.3.6

func (client *Client) RefreshCloud(id int64, req *Request) (*Response, error)

RefreshCloud refreshes an existing cloud

func (*Client) RefreshIntegration added in v0.3.2

func (client *Client) RefreshIntegration(id int64, req *Request) (*Response, error)

func (*Client) RefreshLoadBalancer added in v0.2.6

func (client *Client) RefreshLoadBalancer(id int64, req *Request) (*Response, error)

RefreshLoadBalancer refreshes an existing load balancer

func (*Client) ReindexSearch added in v0.4.0

func (client *Client) ReindexSearch(req *Request) (*Response, error)

func (*Client) RemoveCatalogItemCart added in v0.3.4

func (client *Client) RemoveCatalogItemCart(id int64, req *Request) (*Response, error)

RemoveCatalogItemCart removes an existing item from the cart

func (*Client) RequestCount

func (client *Client) RequestCount() int64

func (*Client) ResetWhitelabelImage added in v0.4.0

func (client *Client) ResetWhitelabelImage(req *Request, imageType string) (*Response, error)

func (*Client) ResizeInstance added in v0.4.0

func (client *Client) ResizeInstance(id int64, req *Request) (*Response, error)

func (*Client) SetAccessToken

func (client *Client) SetAccessToken(accessToken string, refreshToken string, expiresIn int64, scope string) *Client

func (*Client) SetPassword

func (client *Client) SetPassword(password string) *Client

func (*Client) SetUsername

func (client *Client) SetUsername(username string) *Client

func (*Client) SetUsernameAndPassword

func (client *Client) SetUsernameAndPassword(username string, password string) *Client

func (*Client) SetupCheck

func (client *Client) SetupCheck(req *Request) (*Response, error)

func (*Client) SetupInit

func (client *Client) SetupInit(req *Request) (*Response, error)

func (*Client) SuccessCount

func (client *Client) SuccessCount() int64

func (*Client) TestLicense added in v0.1.6

func (client *Client) TestLicense(req *Request) (*Response, error)

func (*Client) ToggleFeaturedInstanceType added in v0.1.5

func (client *Client) ToggleFeaturedInstanceType(id int64, req *Request) (*Response, error)

func (*Client) ToggleMaintenanceMode added in v0.1.6

func (client *Client) ToggleMaintenanceMode(req *Request) (*Response, error)

func (*Client) UninstallLicense added in v0.1.6

func (client *Client) UninstallLicense(id int64, req *Request) (*Response, error)

func (*Client) UnlockInstance added in v0.4.0

func (client *Client) UnlockInstance(id int64, req *Request) (*Response, error)

func (*Client) UpdateAlert added in v0.2.0

func (client *Client) UpdateAlert(id int64, req *Request) (*Response, error)

UpdateAlert updates an existing alert

func (*Client) UpdateApp

func (client *Client) UpdateApp(id int64, req *Request) (*Response, error)

func (*Client) UpdateAppWiki added in v0.1.1

func (client *Client) UpdateAppWiki(id int64, req *Request) (*Response, error)

UpdateAppWiki updates an existing app wiki https://apidocs.morpheusdata.com/#update-a-wiki-page-for-app

func (*Client) UpdateApplianceSettings added in v0.1.6

func (client *Client) UpdateApplianceSettings(req *Request) (*Response, error)

func (*Client) UpdateApprovalItem added in v0.2.6

func (client *Client) UpdateApprovalItem(id int64, action string, req *Request) (*Response, error)

UpdateApproval updates an existing approval

func (*Client) UpdateArchive added in v0.1.10

func (client *Client) UpdateArchive(id int64, req *Request) (*Response, error)

UpdateArchive updates an existing archive

func (*Client) UpdateBackupSettings added in v0.1.6

func (client *Client) UpdateBackupSettings(req *Request) (*Response, error)

func (*Client) UpdateBlueprint

func (client *Client) UpdateBlueprint(id int64, req *Request) (*Response, error)

UpdateBlueprint updates an existing blueprint

func (client *Client) UpdateBlueprintLogo(id int64, filePayload []*FilePayload, req *Request) (*Response, error)

UpdateBlueprintLogo updates an existing blueprint logo

func (*Client) UpdateBootScript added in v0.1.9

func (client *Client) UpdateBootScript(id int64, req *Request) (*Response, error)

UpdateBootScript updates an existing bootScript

func (*Client) UpdateBudget added in v0.1.5

func (client *Client) UpdateBudget(id int64, req *Request) (*Response, error)

func (*Client) UpdateCatalogItem

func (client *Client) UpdateCatalogItem(id int64, req *Request) (*Response, error)

UpdateCatalogItem updates an existing catalog item

func (client *Client) UpdateCatalogItemLogo(id int64, filePayload []*FilePayload, req *Request) (*Response, error)

func (*Client) UpdateCheck added in v0.1.1

func (client *Client) UpdateCheck(id int64, req *Request) (*Response, error)

UpdateCheck updates an existing check

func (*Client) UpdateCheckApp added in v0.2.0

func (client *Client) UpdateCheckApp(id int64, req *Request) (*Response, error)

UpdateCheckApp updates an existing check app

func (*Client) UpdateCheckGroup added in v0.1.1

func (client *Client) UpdateCheckGroup(id int64, req *Request) (*Response, error)

UpdateCheckGroup updates an existing check group

func (*Client) UpdateCloud

func (client *Client) UpdateCloud(id int64, req *Request) (*Response, error)

UpdateCloud updates an existing cloud

func (*Client) UpdateCloudDatastore added in v0.3.5

func (client *Client) UpdateCloudDatastore(zoneId int64, id int64, req *Request) (*Response, error)
func (client *Client) UpdateCloudLogo(id int64, filePayload []*FilePayload, req *Request) (*Response, error)

func (*Client) UpdateCloudResourceFolder added in v0.3.5

func (client *Client) UpdateCloudResourceFolder(zoneId int64, id int64, req *Request) (*Response, error)

func (*Client) UpdateCloudResourcePool added in v0.3.6

func (client *Client) UpdateCloudResourcePool(zoneId int64, id int64, req *Request) (*Response, error)

UpdateCloudResourcePool updates an existing cloud resource pool

func (*Client) UpdateCloudWiki added in v0.1.1

func (client *Client) UpdateCloudWiki(id int64, req *Request) (*Response, error)

UpdateCloudWiki updates an existing cloud wiki https://apidocs.morpheusdata.com/#update-a-wiki-page-for-cloud

func (*Client) UpdateCluster

func (client *Client) UpdateCluster(id int64, req *Request) (*Response, error)

UpdateCluster updates an existing cluster

func (*Client) UpdateClusterLayout added in v0.1.4

func (client *Client) UpdateClusterLayout(id int64, req *Request) (*Response, error)

func (*Client) UpdateClusterPackage added in v0.3.7

func (client *Client) UpdateClusterPackage(id int64, req *Request) (*Response, error)

UpdateClusterPackage updates an existing cluster package

func (*Client) UpdateClusterWiki added in v0.1.1

func (client *Client) UpdateClusterWiki(id int64, req *Request) (*Response, error)

https://apidocs.morpheusdata.com/#update-a-wiki-page-for-cluster

func (*Client) UpdateContact

func (client *Client) UpdateContact(id int64, req *Request) (*Response, error)

UpdateContact updates an existing contact

func (*Client) UpdateCredential added in v0.1.5

func (client *Client) UpdateCredential(id int64, req *Request) (*Response, error)

func (*Client) UpdateDeployment added in v0.2.0

func (client *Client) UpdateDeployment(id int64, req *Request) (*Response, error)

UpdateDeployment updates an existing deployment

func (*Client) UpdateEmailTemplate added in v0.4.0

func (client *Client) UpdateEmailTemplate(id int64, req *Request) (*Response, error)

UpdateEmailTemplate updates an existing email template

func (*Client) UpdateEnvironment

func (client *Client) UpdateEnvironment(id int64, req *Request) (*Response, error)

UpdateEnvironment updates an existing environment

func (*Client) UpdateExecuteSchedule

func (client *Client) UpdateExecuteSchedule(id int64, req *Request) (*Response, error)

UpdateExecuteSchedule updates an existing execution schedule

func (*Client) UpdateFileTemplate added in v0.1.4

func (client *Client) UpdateFileTemplate(id int64, req *Request) (*Response, error)

func (*Client) UpdateForm added in v0.3.7

func (client *Client) UpdateForm(id int64, req *Request) (*Response, error)

func (*Client) UpdateGroup

func (client *Client) UpdateGroup(id int64, req *Request) (*Response, error)

func (*Client) UpdateGroupClouds

func (client *Client) UpdateGroupClouds(id int64, req *Request) (*Response, error)

func (*Client) UpdateGroupWiki added in v0.1.1

func (client *Client) UpdateGroupWiki(id int64, req *Request) (*Response, error)

UpdateGroupWiki updates an existing group wiki https://apidocs.morpheusdata.com/#update-a-wiki-page-for-group

func (*Client) UpdateGroupZones

func (client *Client) UpdateGroupZones(id int64, req *Request) (*Response, error)

func (*Client) UpdateGuidanceSettings added in v0.3.0

func (client *Client) UpdateGuidanceSettings(req *Request) (*Response, error)

func (*Client) UpdateIdentitySource added in v0.1.5

func (client *Client) UpdateIdentitySource(id int64, req *Request) (*Response, error)

func (*Client) UpdateIdentitySourceSubdomain added in v0.1.5

func (client *Client) UpdateIdentitySourceSubdomain(id int64, req *Request) (*Response, error)

func (*Client) UpdateIncident added in v0.1.1

func (client *Client) UpdateIncident(id int64, req *Request) (*Response, error)

func (*Client) UpdateInstance

func (client *Client) UpdateInstance(id int64, req *Request) (*Response, error)

func (*Client) UpdateInstanceLayout

func (client *Client) UpdateInstanceLayout(id int64, req *Request) (*Response, error)

func (*Client) UpdateInstanceSecurityGroups added in v0.4.0

func (client *Client) UpdateInstanceSecurityGroups(id int64, req *Request) (*Response, error)

func (*Client) UpdateInstanceType

func (client *Client) UpdateInstanceType(id int64, req *Request) (*Response, error)
func (client *Client) UpdateInstanceTypeLogo(id int64, filePayload []*FilePayload, req *Request) (*Response, error)

func (*Client) UpdateInstanceWiki added in v0.1.1

func (client *Client) UpdateInstanceWiki(id int64, req *Request) (*Response, error)

UpdateInstanceWiki updates an existing instance wiki https://apidocs.morpheusdata.com/#update-a-wiki-page-for-instance

func (*Client) UpdateIntegration

func (client *Client) UpdateIntegration(id int64, req *Request) (*Response, error)

func (*Client) UpdateJob

func (client *Client) UpdateJob(id int64, req *Request) (*Response, error)

func (*Client) UpdateLoadBalancer added in v0.2.6

func (client *Client) UpdateLoadBalancer(id int64, req *Request) (*Response, error)

UpdateLoadBalancer updates an existing load balancer

func (*Client) UpdateLoadBalancerMonitor added in v0.2.6

func (client *Client) UpdateLoadBalancerMonitor(loadBalancerId int64, id int64, req *Request) (*Response, error)

UpdateLoadBalancerMonitor updates an existing load balancer monitor

func (*Client) UpdateLoadBalancerPool added in v0.2.6

func (client *Client) UpdateLoadBalancerPool(loadBalancerId int64, id int64, req *Request) (*Response, error)

UpdateLoadBalancerPool updates an existing load balancer pool

func (*Client) UpdateLoadBalancerProfile added in v0.2.6

func (client *Client) UpdateLoadBalancerProfile(loadBalancerId int64, id int64, req *Request) (*Response, error)

UpdateLoadBalancerProfile updates an existing load balancer profile

func (*Client) UpdateLoadBalancerVirtualServer added in v0.2.6

func (client *Client) UpdateLoadBalancerVirtualServer(loadBalancerId int64, id int64, req *Request) (*Response, error)

UpdateLoadBalancerVirtualServer updates an existing load balancer virtual server

func (*Client) UpdateLogSettings added in v0.1.3

func (client *Client) UpdateLogSettings(req *Request) (*Response, error)

UpdateLogSettings updates the appliance log settings https://apidocs.morpheusdata.com/#update-log-settings

func (*Client) UpdateMonitoringApp added in v0.1.1

func (client *Client) UpdateMonitoringApp(id int64, req *Request) (*Response, error)

func (*Client) UpdateMonitoringSettings added in v0.3.0

func (client *Client) UpdateMonitoringSettings(req *Request) (*Response, error)

func (*Client) UpdateNetwork

func (client *Client) UpdateNetwork(id int64, req *Request) (*Response, error)

UpdateNetwork updates an existing network

func (*Client) UpdateNetworkDomain

func (client *Client) UpdateNetworkDomain(id int64, req *Request) (*Response, error)

func (*Client) UpdateNetworkGroup added in v0.2.9

func (client *Client) UpdateNetworkGroup(id int64, req *Request) (*Response, error)

UpdateNetworkGroup updates an existing network group

func (*Client) UpdateNetworkPool added in v0.2.7

func (client *Client) UpdateNetworkPool(id int64, req *Request) (*Response, error)

UpdateNetworkPool updates an existing network pool

func (*Client) UpdateNetworkPoolServer added in v0.2.7

func (client *Client) UpdateNetworkPoolServer(id int64, req *Request) (*Response, error)

UpdateNetworkPoolServer updates an existing network pool server

func (*Client) UpdateNetworkProxy added in v0.2.6

func (client *Client) UpdateNetworkProxy(id int64, req *Request) (*Response, error)

UpdateNetworkProxy updates an existing network proxy

func (*Client) UpdateNetworkStaticRoute added in v0.2.7

func (client *Client) UpdateNetworkStaticRoute(networkId int64, routeId int64, req *Request) (*Response, error)

UpdateNetworkStaticRoute updates an existing network static route

func (*Client) UpdateNetworkSubnet added in v0.2.7

func (client *Client) UpdateNetworkSubnet(id int64, req *Request) (*Response, error)

UpdateNetworkSubnet updates an existing network subnet

func (*Client) UpdateNodeType

func (client *Client) UpdateNodeType(id int64, req *Request) (*Response, error)

func (*Client) UpdateOauthClient added in v0.2.9

func (client *Client) UpdateOauthClient(id int64, req *Request) (*Response, error)

UpdateOauthClient updates an existing oauth client

func (*Client) UpdateOptionList

func (client *Client) UpdateOptionList(id int64, req *Request) (*Response, error)

UpdateOptionList updates an existing option list

func (*Client) UpdateOptionType

func (client *Client) UpdateOptionType(id int64, req *Request) (*Response, error)

UpdateOptionType updates an existing option type

func (*Client) UpdatePlan

func (client *Client) UpdatePlan(id int64, req *Request) (*Response, error)

UpdatePlan updates an existing plan

func (*Client) UpdatePlugin added in v0.2.6

func (client *Client) UpdatePlugin(id int64, req *Request) (*Response, error)

UpdatePlugin updates an existing plugin

func (*Client) UpdatePolicy

func (client *Client) UpdatePolicy(id int64, req *Request) (*Response, error)

UpdatePolicy updates an existing policy

func (*Client) UpdatePowerSchedule added in v0.1.1

func (client *Client) UpdatePowerSchedule(id int64, req *Request) (*Response, error)

UpdatePowerSchedule updates an existing power schedule https://apidocs.morpheusdata.com/#update-a-power-schedule

func (*Client) UpdatePreseedScript added in v0.1.9

func (client *Client) UpdatePreseedScript(id int64, req *Request) (*Response, error)

UpdatePreseedScript updates an existing preseedScript

func (*Client) UpdatePrice added in v0.1.1

func (client *Client) UpdatePrice(id int64, req *Request) (*Response, error)

UpdatePrice updates an existing price https://apidocs.morpheusdata.com/#update-a-price

func (*Client) UpdatePriceSet added in v0.1.1

func (client *Client) UpdatePriceSet(id int64, req *Request) (*Response, error)

UpdatePriceSet updates an existing priceSet https://apidocs.morpheusdata.com/#update-a-priceSet

func (*Client) UpdateProvisioningSettings added in v0.1.6

func (client *Client) UpdateProvisioningSettings(req *Request) (*Response, error)

func (*Client) UpdateResourcePool

func (client *Client) UpdateResourcePool(cloudId int64, id int64, req *Request) (*Response, error)

func (*Client) UpdateResourcePoolGroup added in v0.3.1

func (client *Client) UpdateResourcePoolGroup(id int64, req *Request) (*Response, error)

func (*Client) UpdateRole

func (client *Client) UpdateRole(id int64, req *Request) (*Response, error)

func (*Client) UpdateRoleBlueprintAccess added in v0.2.1

func (client *Client) UpdateRoleBlueprintAccess(id int64, req *Request) (*Response, error)

func (*Client) UpdateRoleCatalogItemTypeAccess added in v0.2.1

func (client *Client) UpdateRoleCatalogItemTypeAccess(id int64, req *Request) (*Response, error)

func (*Client) UpdateRoleCloudAccess added in v0.2.1

func (client *Client) UpdateRoleCloudAccess(id int64, req *Request) (*Response, error)

func (*Client) UpdateRoleFeaturePermission added in v0.2.1

func (client *Client) UpdateRoleFeaturePermission(id int64, req *Request) (*Response, error)

func (*Client) UpdateRoleGroupAccess added in v0.2.1

func (client *Client) UpdateRoleGroupAccess(id int64, req *Request) (*Response, error)

func (*Client) UpdateRoleInstanceTypeAccess added in v0.2.1

func (client *Client) UpdateRoleInstanceTypeAccess(id int64, req *Request) (*Response, error)

func (*Client) UpdateRolePersonaAccess added in v0.2.1

func (client *Client) UpdateRolePersonaAccess(id int64, req *Request) (*Response, error)

func (*Client) UpdateRoleReportTypeAccess added in v0.2.1

func (client *Client) UpdateRoleReportTypeAccess(id int64, req *Request) (*Response, error)

func (*Client) UpdateRoleTaskAccess added in v0.2.10

func (client *Client) UpdateRoleTaskAccess(id int64, req *Request) (*Response, error)

func (*Client) UpdateRoleVDIPoolAccess added in v0.2.1

func (client *Client) UpdateRoleVDIPoolAccess(id int64, req *Request) (*Response, error)

func (*Client) UpdateRoleWorkflowAccess added in v0.2.10

func (client *Client) UpdateRoleWorkflowAccess(id int64, req *Request) (*Response, error)

func (*Client) UpdateScaleThreshold added in v0.1.5

func (client *Client) UpdateScaleThreshold(id int64, req *Request) (*Response, error)

func (*Client) UpdateScriptTemplate added in v0.1.4

func (client *Client) UpdateScriptTemplate(id int64, req *Request) (*Response, error)

func (*Client) UpdateSecurityGroup added in v0.4.0

func (client *Client) UpdateSecurityGroup(id int64, req *Request) (*Response, error)

func (*Client) UpdateSecurityGroupRule added in v0.4.0

func (client *Client) UpdateSecurityGroupRule(id int64, ruleId int64, req *Request) (*Response, error)

func (*Client) UpdateSecurityPackage added in v0.2.6

func (client *Client) UpdateSecurityPackage(id int64, req *Request) (*Response, error)

func (*Client) UpdateServerWiki added in v0.1.1

func (client *Client) UpdateServerWiki(id int64, req *Request) (*Response, error)

UpdateServerWiki updates an existing server wiki https://apidocs.morpheusdata.com/#update-a-wiki-page-for-server

func (*Client) UpdateServicePlan added in v0.1.1

func (client *Client) UpdateServicePlan(id int64, req *Request) (*Response, error)

UpdateServicePlan updates an existing servicePlan https://apidocs.morpheusdata.com/#update-a-servicePlan

func (*Client) UpdateSoftwareLicense added in v0.1.5

func (client *Client) UpdateSoftwareLicense(id int64, req *Request) (*Response, error)

func (*Client) UpdateSpecTemplate

func (client *Client) UpdateSpecTemplate(id int64, req *Request) (*Response, error)

func (*Client) UpdateStorageBucket added in v0.1.5

func (client *Client) UpdateStorageBucket(id int64, req *Request) (*Response, error)

func (*Client) UpdateStorageServer added in v0.2.8

func (client *Client) UpdateStorageServer(id int64, req *Request) (*Response, error)

func (*Client) UpdateStorageVolume added in v0.4.0

func (client *Client) UpdateStorageVolume(id int64, req *Request) (*Response, error)

func (*Client) UpdateSubtenantGroup added in v0.3.6

func (client *Client) UpdateSubtenantGroup(tenantId int64, groupId int64, req *Request) (*Response, error)

UpdateSubtenantGroup updates an existing Morpheus group in a subtenant

func (*Client) UpdateSubtenantGroupZones added in v0.3.6

func (client *Client) UpdateSubtenantGroupZones(tenantId int64, groupId int64, req *Request) (*Response, error)

UpdateSubtenantGroup updates an existing Morpheus group in a subtenant

func (*Client) UpdateTask

func (client *Client) UpdateTask(id int64, req *Request) (*Response, error)

UpdateTask updates an existing task

func (*Client) UpdateTaskSet

func (client *Client) UpdateTaskSet(id int64, req *Request) (*Response, error)

UpdateTaskSet updates an existing task set

func (*Client) UpdateTenant

func (client *Client) UpdateTenant(id int64, req *Request) (*Response, error)

UpdateTenant updates an existing Morpheus tenant

func (*Client) UpdateUser added in v0.1.8

func (client *Client) UpdateUser(id int64, req *Request) (*Response, error)

func (*Client) UpdateUserGroup added in v0.1.8

func (client *Client) UpdateUserGroup(id int64, req *Request) (*Response, error)

func (*Client) UpdateVDIApp added in v0.1.6

func (client *Client) UpdateVDIApp(id int64, req *Request) (*Response, error)

func (*Client) UpdateVDIGateway added in v0.1.5

func (client *Client) UpdateVDIGateway(id int64, req *Request) (*Response, error)

func (*Client) UpdateVDIPool added in v0.1.5

func (client *Client) UpdateVDIPool(id int64, req *Request) (*Response, error)

func (*Client) UpdateVirtualImage added in v0.1.4

func (client *Client) UpdateVirtualImage(id int64, req *Request) (*Response, error)

UpdateVirtualImage updates an existing virtual image

func (*Client) UpdateWhitelabelImages added in v0.1.8

func (client *Client) UpdateWhitelabelImages(id int64, filePayload []*FilePayload, req *Request) (*Response, error)

func (*Client) UpdateWhitelabelSettings added in v0.1.8

func (client *Client) UpdateWhitelabelSettings(req *Request) (*Response, error)

func (*Client) UpdateWiki added in v0.1.1

func (client *Client) UpdateWiki(id int64, req *Request) (*Response, error)

UpdateWiki updates an existing wiki https://apidocs.morpheusdata.com/#update-a-wiki-page

func (*Client) UploadPlugin added in v0.2.6

func (client *Client) UploadPlugin(filePayload []*FilePayload, req *Request) (*Response, error)

UploadPlugin uploads a new plugin

func (client *Client) UploadVDIAppLogo(id int64, filePayload []*FilePayload, req *Request) (*Response, error)
func (client *Client) UploadVDIPoolLogo(id int64, filePayload []*FilePayload, req *Request) (*Response, error)

func (*Client) UploadVirtualImage added in v0.4.0

func (client *Client) UploadVirtualImage(id int64, req *Request) (*Response, error)

func (*Client) Whoami

func (client *Client) Whoami() (*Response, error)

type Cloud

type Cloud struct {
	ID         int64    `json:"id"`
	UUID       string   `json:"uuid"`
	ExternalID string   `json:"externalId"`
	Name       string   `json:"name"`
	Code       string   `json:"code"`
	Labels     []string `json:"labels"`
	Location   string   `json:"location"`
	Owner      struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"owner"`
	AccountID int64 `json:"accountId"`
	Account   struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	Visibility           string    `json:"visibility"`
	Enabled              bool      `json:"enabled"`
	Status               string    `json:"status"`
	StatusMessage        string    `json:"statusMessage"`
	StatusDate           string    `json:"statusDate"`
	LastSync             string    `json:"lastSync"`
	NextRunDate          string    `json:"nextRunDate"`
	LastSyncDuration     int64     `json:"lastSyncDuration"`
	CostStatus           string    `json:"costStatus"`
	CostStatusMessage    string    `json:"costStatusMessage"`
	CostStatusDate       string    `json:"costStatusDate"`
	CostLastSyncDuration int64     `json:"costLastSyncDuration"`
	CostLastSync         string    `json:"costLastSync"`
	CloudType            CloudType `json:"zoneType"`
	CloudTypeID          int64     `json:"zoneTypeId"`
	GuidanceMode         string    `json:"guidanceMode"`
	StorageMode          string    `json:"storageMode"`
	AgentMode            string    `json:"agentMode"`
	ConsoleKeymap        string    `json:"consoleKeymap"`
	ContainerMode        string    `json:"containerMode"`
	CostingMode          string    `json:"costingMode"`
	ServiceVersion       string    `json:"serviceVersion"`
	SecurityMode         string    `json:"securityMode"`
	InventoryLevel       string    `json:"inventoryLevel"`
	TimeZone             string    `json:"timezone"`
	NetworkDomain        struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"networkDomain"`
	DomainName            string `json:"domainName"`
	RegionCode            string `json:"regionCode"`
	AutoRecoverPowerState bool   `json:"autoRecoverPowerState"`
	ScalePriority         int64  `json:"scalePriority"`
	Config                struct {
		// AWS
		Endpoint             string `json:"endpoint"`
		IsVpc                string `json:"isVpc"`
		ImageStoreId         string `json:"imageStoreId"`
		EbsEncryption        string `json:"ebsEncryption"`
		CostingReport        string `json:"costingReport"`
		CostingRegion        string `json:"costingRegion"`
		CostingSecretKeyHash string `json:"costingSecretKeyHash"`
		SecretKeyHash        string `json:"secretKeyHash"`
		AccessKey            string `json:"accessKey"`
		SecretKey            string `json:"secretKey"`
		VPC                  string `json:"vpc"`
		StsAssumeRole        string `json:"stsAssumeRole"`
		UseHostCredentials   string `json:"useHostCredentials"`
		CostingAccessKey     string `json:"costingAccessKey"`
		CostingBucketName    string `json:"costingBucketName"`
		CostingFolder        string `json:"costingFolder"`
		CostingReportName    string `json:"costingReportName"`
		CostingSecretKey     string `json:"costingSecretKey"`

		// vSphere
		APIUrl                     string `json:"apiUrl"`
		APIVersion                 string `json:"apiVersion"`
		Datacenter                 string `json:"datacenter"`
		Cluster                    string `json:"cluster"`
		DiskStorageType            string `json:"diskStorageType"`
		DatacenterID               string `json:"datacenterId"`
		EnableVNC                  string `json:"enableVnc"`
		DiskEncryption             string `json:"diskEncryption"`
		EnableDiskTypeSelection    string `json:"enableDiskTypeSelection"`
		EnableStorageTypeSelection string `json:"enableStorageTypeSelection"`
		EnableNetworkTypeSelection string `json:"enableNetworkTypeSelection"`
		ResourcePool               string `json:"resourcePool"`
		ResourcePoolId             string `json:"resourcePoolId"`
		HideHostSelection          string `json:"hideHostSelection"`

		// Azure
		AzureCostingMode    string `json:"azureCostingMode"`
		SubscriberID        string `json:"subscriberId"`
		TenantID            string `json:"tenantId"`
		ClientID            string `json:"clientId"`
		ClientSecret        string `json:"clientSecret"`
		ClientSecretHash    string `json:"clientSecretHash"`
		ResourceGroup       string `json:"resourceGroup"`
		CSPCustomer         string `json:"cspCustomer"`
		CSPTenantID         string `json:"cspTenantId"`
		CSPClientID         string `json:"cspClientId"`
		CSPClientSecret     string `json:"cspClientSecret"`
		CSPClientSecretHash string `json:"cspClientSecretHash"`

		// GCP
		GoogleRegionID string `json:"googleRegionId"`
		GoogleBucket   string `json:"googleBucket"`
		PrivateKey     string `json:"privateKey"`
		PrivateKeyHash string `json:"privateKeyHash"`
		ClientEmail    string `json:"clientEmail"`

		// Hyperv
		Provider    string `json:"provider"`
		Host        string `json:"host"`
		WorkingPath string `json:"workingPath"`
		VMPath      string `json:"vmPath"`
		DiskPath    string `json:"diskPath"`

		// OpenStack
		IdentityApi                  string `json:"identityApi"`
		DomainId                     string `json:"domainId"`
		ProjectName                  string `json:"projectName"`
		OsRelease                    string `json:"osRelease"`
		DiskMode                     string `json:"diskMode"`
		IdentityVersion              string `json:"identityVersion"`
		ComputeApi                   string `json:"computeApi"`
		ComputeVersion               string `json:"computeVersion"`
		ImageApi                     string `json:"imageApi"`
		ImageVersion                 string `json:"imageVersion"`
		StorageApi                   string `json:"storageApi"`
		StorageVersion               string `json:"storageVersion"`
		NetworkApi                   string `json:"networkApi"`
		NetworkVersion               string `json:"networkVersion"`
		ApiProjectId                 string `json:"apiProjectId"`
		ApiTokenExpiresAt            string `json:"apiTokenExpiresAt"`
		LbaasType                    string `json:"lbaasType"`
		ApiDomainId                  string `json:"apiDomainId"`
		ApiUserId                    string `json:"apiUserId"`
		ProvisionMethod              string `json:"provisionMethod"`
		ComputeMicroVersion          string `json:"computeMicroVersion"`
		ImageMicroVersion            string `json:"imageMicroVersion"`
		StorageMicroVersion          string `json:"storageMicroVersion"`
		NetworkMicroVersion          string `json:"networkMicroVersion"`
		LoadBalancerApi              string `json:"loadBalancerApi"`
		LoadBalancerVersion          string `json:"loadBalancerVersion"`
		LoadBalancerMicroVersion     string `json:"loadBalancerMicroVersion"`
		LoadBalancerV1Api            string `json:"loadBalancerV1Api"`
		LoadBalancerV1Version        string `json:"loadBalancerV1Version"`
		LoadBalancerV1MicroVersion   string `json:"loadBalancerV1MicroVersion"`
		ObjectStorageApi             string `json:"objectStorageApi"`
		ObjectStorageVersion         string `json:"objectStorageVersion"`
		ObjectStorageMicroVersion    string `json:"objectStorageMicroVersion"`
		SharedFileSystemApi          string `json:"sharedFileSystemApi"`
		SharedFileSystemVersion      string `json:"sharedFileSystemVersion"`
		SharedFileSystemMicroVersion string `json:"sharedFileSystemMicroVersion"`

		// VCD
		OrgID                 string `json:"orgId"`
		VDCID                 string `json:"vdcId"`
		VCDVersion            string `json:"vcdVersion"`
		DefaultStorageProfile string `json:"defaultStorageProfile"`
		Catalog               string `json:"catalog"`

		// General
		ClusterRef      string `json:"clusterRef"`
		ProjectID       string `json:"projectId"`
		ApplianceUrl    string `json:"applianceUrl"`
		DatacenterName  string `json:"datacenterName"`
		ImportExisting  string `json:"importExisting"`
		InventoryLevel  string `json:"inventoryLevel"`
		NetworkServerID string `json:"networkServer.id"`
		NetworkServer   struct {
			ID string `json:"id"`
		} `json:"networkServer"`
		SecurityMode        string      `json:"securityMode"`
		CertificateProvider string      `json:"certificateProvider"`
		BackupMode          string      `json:"backupMode"`
		ReplicationMode     string      `json:"replicationMode"`
		DnsIntegrationID    string      `json:"dnsIntegrationId"`
		ServiceRegistryID   string      `json:"serviceRegistryId"`
		ConfigManagementID  string      `json:"configManagementId"`
		ConfigCmdbID        interface{} `json:"configCmdbId"`
		SecurityServer      string      `json:"securityServer"`
		CloudType           string      `json:"cloudType"`
		AccountType         string      `json:"accountType"`
		RPCMode             string      `json:"rpcMode"`
		EncryptionSet       string      `json:"encryptionSet"`
		ConfigCmID          string      `json:"configCmId"`
		KubeURL             string      `json:"kubeUrl"`
		CostingProjectID    string      `json:"costingProjectId"`
		ConfigCMDBDiscovery bool        `json:"configCmdbDiscovery"`
		CostingDatasetID    string      `json:"costingDatasetId"`
		Username            string      `json:"username"`
		Password            string      `json:"password"`
		DistributedWorkerId string      `json:"distributedWorkerId"`
		PasswordHash        string      `json:"passwordHash"`
	} `json:"config"`
	Credential struct {
		Type string `json:"type"`
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"credential"`
	ImagePath     string `json:"imagePath"`
	DarkImagePath string `json:"darkImagePath"`
	DateCreated   string `json:"dateCreated"`
	LastUpdated   string `json:"lastUpdated"`
	Groups        []struct {
		ID        int64  `json:"id"`
		Name      string `json:"name"`
		AccountID int64  `json:"accountId"`
	} `json:"groups"`
}

Cloud structures for use in request and response payloads

type CloudType

type CloudType struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
	Code string `json:"code"`
}

type Cloudformation

type Cloudformation struct {
	Iam                  string `json:"IAM"`
	CapabilityNamedIam   string `json:"CAPABILITY_NAMED_IAM"`
	CapabilityAutoExpand string `json:"CAPABILITY_AUTO_EXPAND"`
}

type Cluster

type Cluster struct {
	ID                  int64    `json:"id"`
	Name                string   `json:"name"`
	Code                string   `json:"code"`
	Category            string   `json:"category"`
	Visibility          string   `json:"visibility"`
	Description         string   `json:"description"`
	Location            string   `json:"location"`
	Enabled             bool     `json:"enabled"`
	ServiceUrl          string   `json:"serviceUrl"`
	ServiceHost         string   `json:"serviceHost"`
	ServicePath         string   `json:"servicePath"`
	ServiceHostname     string   `json:"serviceHostname"`
	ServicePort         int64    `json:"servicePort"`
	ServiceUsername     string   `json:"serviceUsername"`
	ServicePassword     string   `json:"servicePassword"`
	ServicePasswordHash string   `json:"servicePasswordHash"`
	ServiceToken        string   `json:"serviceToken"`
	ServiceTokenHash    string   `json:"serviceTokenHash"`
	ServiceAccess       string   `json:"serviceAccess"`
	ServiceAccessHash   string   `json:"serviceAccessHash"`
	ServiceCert         string   `json:"serviceCert"`
	ServiceCertHash     string   `json:"serviceCertHash"`
	ServiceVersion      string   `json:"serviceVersion"`
	SearchDomains       string   `json:"searchDomains"`
	EnableInternalDns   bool     `json:"enableInternalDns"`
	InternalId          string   `json:"internalId"`
	ExternalId          string   `json:"externalId"`
	DatacenterId        string   `json:"datacenterId"`
	StatusMessage       string   `json:"statusMessage"`
	InventoryLevel      string   `json:"inventoryLevel"`
	LastSyncDuration    int64    `json:"lastSyncDuration"`
	Labels              []string `json:"labels"`
	Type                struct {
		Id   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"type"`
	Layout struct {
		Id                int64  `json:"id"`
		Name              string `json:"name"`
		ProvisionTypeCode string `json:"provisionTypeCode"`
	} `json:"layout"`
	Group map[string]interface{} `json:"group"`
	Site  struct {
		Id   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"site"`
	Zone struct {
		Id       int64  `json:"id"`
		Name     string `json:"name"`
		ZoneType struct {
			Id int64 `json:"id"`
		} `json:"zoneType"`
	} `json:"zone"`
	Servers      []Server `json:"servers"`
	Status       string   `json:"status"`
	Managed      bool     `json:"managed"`
	ServiceEntry string   `json:"serviceEntry"`
	CreatedBy    struct {
		Id       int64  `json:"id"`
		Username string `json:"username"`
	} `json:"createdBy"`
	UserGroup string `json:"userGroup"`
	Owner     struct {
		Id   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"owner"`
	WorkerStats struct {
		UsedStorage  int64   `json:"usedStorage"`
		MaxStorage   int64   `json:"maxStorage"`
		UsedMemory   int64   `json:"usedMemory"`
		MaxMemory    int64   `json:"maxMemory"`
		UsedCpu      float64 `json:"usedCpu"`
		CpuUsage     float64 `json:"cpuUsage"`
		CpuUsagePeak float64 `json:"cpuUsagePeak"`
		CpuUsageAvg  float64 `json:"cpuUsageAvg"`
	}
	ContainersCount  int64 `json:"containersCount"`
	DeploymentsCount int64 `json:"deploymentsCount"`
	PodsCount        int64 `json:"podsCount"`
	JobsCount        int64 `json:"jobsCount"`
	VolumesCount     int64 `json:"volumesCount"`
	NamespacesCount  int64 `json:"namespacesCount"`
	WorkersCount     int64 `json:"workersCount"`
	ServicesCount    int64 `json:"servicesCount"`
}

Cluster structures for use in request and response payloads

type ClusterLayout added in v0.1.4

type ClusterLayout struct {
	ID                int64     `json:"id"`
	ServerCount       int       `json:"serverCount"`
	DateCreated       time.Time `json:"dateCreated"`
	Code              string    `json:"code"`
	LastUpdated       time.Time `json:"lastUpdated"`
	HasAutoScale      bool      `json:"hasAutoScale"`
	MemoryRequirement int       `json:"memoryRequirement"`
	ComputeVersion    string    `json:"computeVersion"`
	ProvisionType     struct {
		ID   int    `json:"id"`
		Name string `json:"name"`
		Code string `json:"code"`
	} `json:"provisionType"`
	Config      string `json:"config"`
	HasSettings bool   `json:"hasSettings"`
	SortOrder   int    `json:"sortOrder"`
	HasConfig   bool   `json:"hasConfig"`
	GroupType   struct {
		ID   int    `json:"id"`
		Code string `json:"code"`
		Name string `json:"name"`
	} `json:"groupType"`
	Name   string   `json:"name"`
	Labels []string `json:"labels"`
	Type   struct {
		ID   int    `json:"id"`
		Code string `json:"code"`
		Name string `json:"name"`
	} `json:"type"`
	Account struct {
		ID int `json:"id"`
	} `json:"account"`
	Creatable            bool          `json:"creatable"`
	Enabled              bool          `json:"enabled"`
	Description          string        `json:"description"`
	EnvironmentVariables []interface{} `json:"environmentVariables"`
	OptionTypes          []struct {
		ID                 int         `json:"id"`
		Name               string      `json:"name"`
		Description        interface{} `json:"description"`
		Code               string      `json:"code"`
		FieldName          string      `json:"fieldName"`
		FieldLabel         string      `json:"fieldLabel"`
		FieldCode          string      `json:"fieldCode"`
		FieldContext       string      `json:"fieldContext"`
		FieldGroup         string      `json:"fieldGroup"`
		FieldClass         interface{} `json:"fieldClass"`
		FieldAddon         interface{} `json:"fieldAddOn"`
		FieldComponent     interface{} `json:"fieldComponent"`
		FieldInput         interface{} `json:"fieldInput"`
		PlaceHolder        interface{} `json:"placeHolder"`
		VerifyPattern      interface{} `json:"verifyPattern"`
		HelpBlock          string      `json:"helpBlock"`
		HelpBlockFieldCode interface{} `json:"helpBlockFieldCode"`
		DefaultValue       string      `json:"defaultValue"`
		OptionSource       interface{} `json:"optionSource"`
		OptionSourceType   interface{} `json:"optionSourceType"`
		OptionList         interface{} `json:"optionList"`
		Type               string      `json:"type"`
		Advanced           bool        `json:"advanced"`
		Required           bool        `json:"required"`
		ExportMeta         bool        `json:"exportMeta"`
		Editable           bool        `json:"editable"`
		Creatable          bool        `json:"creatable"`
		Config             struct {
		} `json:"config"`
		DisplayOrder          int         `json:"displayOrder"`
		WrapperClass          interface{} `json:"wrapperClass"`
		Enabled               bool        `json:"enabled"`
		NoBlank               bool        `json:"noBlank"`
		DependsOnCode         interface{} `json:"dependsOnCode"`
		VisibleOnCode         interface{} `json:"visibleOnCode"`
		RequireOnCode         interface{} `json:"requireOnCode"`
		ContextualDefault     bool        `json:"contextualDefault"`
		DisplayValueOnDetails bool        `json:"displayValueOnDetails"`
		ShowOnCreate          bool        `json:"showOnCreate"`
		ShowOnEdit            bool        `json:"showOnEdit"`
		LocalCredential       interface{} `json:"localCredential"`
	} `json:"optionTypes"`
	Actions        []interface{} `json:"actions"`
	ComputeServers []struct {
		ID                      int         `json:"id"`
		PriorityOrder           int         `json:"priorityOrder"`
		NodeCount               int         `json:"nodeCount"`
		NodeType                string      `json:"nodeType"`
		MinNodeCount            int         `json:"minNodeCount"`
		MaxNodeCount            interface{} `json:"maxNodeCount"`
		DynamicCount            bool        `json:"dynamicCount"`
		InstallContainerRuntime bool        `json:"installContainerRuntime"`
		InstallStorageRuntime   bool        `json:"installStorageRuntime"`
		Name                    string      `json:"name"`
		Code                    string      `json:"code"`
		Category                interface{} `json:"category"`
		Config                  interface{} `json:"config"`
		ContainerType           struct {
			ID               int         `json:"id"`
			Account          interface{} `json:"account"`
			Name             string      `json:"name"`
			Shortname        string      `json:"shortName"`
			Code             string      `json:"code"`
			ContainerVersion string      `json:"containerVersion"`
			ProvisionType    struct {
				ID   int    `json:"id"`
				Name string `json:"name"`
				Code string `json:"code"`
			} `json:"provisionType"`
			VirtualImage struct {
				ID   int    `json:"id"`
				Name string `json:"name"`
			} `json:"virtualImage"`
			Category string `json:"category"`
			Config   struct {
			} `json:"config"`
			Containerports []struct {
				ID                  int         `json:"id"`
				Name                string      `json:"name"`
				Port                int         `json:"port"`
				LoadBalanceProtocol interface{} `json:"loadBalanceProtocol"`
				ExportName          string      `json:"exportName"`
			} `json:"containerPorts"`
			ContainerScripts []struct {
				ID   int    `json:"id"`
				Name string `json:"name"`
			} `json:"containerScripts"`
			ContainerTemplates   []interface{} `json:"containerTemplates"`
			EnvironmentVariables []interface{} `json:"environmentVariables"`
		} `json:"containerType"`
		Computeservertype struct {
			ID             int    `json:"id"`
			Code           string `json:"code"`
			Name           string `json:"name"`
			Managed        bool   `json:"managed"`
			ExternalDelete bool   `json:"externalDelete"`
		} `json:"computeServerType"`
		ProvisionService interface{} `json:"provisionService"`
		PlanCategory     interface{} `json:"planCategory"`
		NamePrefix       interface{} `json:"namePrefix"`
		NameSuffix       string      `json:"nameSuffix"`
		ForceNameIndex   bool        `json:"forceNameIndex"`
		LoadBalance      bool        `json:"loadBalance"`
	} `json:"computeServers"`
	InstallContainerRuntime bool `json:"installContainerRuntime"`
	SpecTemplates           []struct {
		ID      int `json:"id"`
		Account struct {
			ID   int    `json:"id"`
			Name string `json:"name"`
		} `json:"account"`
		Name string      `json:"name"`
		Code interface{} `json:"code"`
		Type struct {
			ID   int    `json:"id"`
			Name string `json:"name"`
			Code string `json:"code"`
		} `json:"type"`
		ExternalID   interface{} `json:"externalId"`
		ExternalType interface{} `json:"externalType"`
		DeploymentID interface{} `json:"deploymentId"`
		Status       interface{} `json:"status"`
		File         struct {
			ID          int         `json:"id"`
			SourceType  string      `json:"sourceType"`
			ContentRef  interface{} `json:"contentRef"`
			ContentPath interface{} `json:"contentPath"`
			Repository  interface{} `json:"repository"`
			Content     string      `json:"content"`
		} `json:"file"`
		Config struct {
			CloudFormation struct {
				Iam                  string `json:"IAM"`
				CapabilityAutoExpand string `json:"CAPABILITY_AUTO_EXPAND"`
				CapabilityNamedIam   string `json:"CAPABILITY_NAMED_IAM"`
			} `json:"cloudformation"`
		} `json:"config"`
		CreatedBy   string      `json:"createdBy"`
		UpdatedBy   interface{} `json:"updatedBy"`
		DateCreated time.Time   `json:"dateCreated"`
		LastUpdated time.Time   `json:"lastUpdated"`
	} `json:"specTemplates"`
	TaskSets []struct {
		ID   int         `json:"id"`
		Code interface{} `json:"code"`
		Name string      `json:"name"`
	} `json:"taskSets"`
}

ClusterLayout structures for use in request and response payloads

type ClusterPackage added in v0.3.7

type ClusterPackage struct {
	ID             int64       `json:"id"`
	Code           string      `json:"code"`
	Name           string      `json:"name"`
	Description    string      `json:"description"`
	Enabled        bool        `json:"enabled"`
	PackageVersion string      `json:"packageVersion"`
	PackageType    string      `json:"packageType"`
	Type           string      `json:"type"`
	Account        interface{} `json:"account"`
	RepeatInstall  bool        `json:"repeatInstall"`
	SortOrder      int64       `json:"sortOrder"`
	SpecTemplates  []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
		Code string `json:"code"`
	} `json:"specTemplates"`
}

ClusterPackage structures for use in request and response payloads

type ClusterType added in v0.1.6

type ClusterType struct {
	ID                   int64         `json:"id"`
	DeployTargetService  string        `json:"deployTargetService"`
	ShortName            string        `json:"shortName"`
	ProviderType         string        `json:"providerType"`
	Code                 string        `json:"code"`
	HostService          string        `json:"hostService"`
	Managed              bool          `json:"managed"`
	HasMasters           bool          `json:"hasMasters"`
	HasWorkers           bool          `json:"hasWorkers"`
	ViewSet              string        `json:"viewSet"`
	ImageCode            string        `json:"imageCode"`
	KubeCtlLocal         bool          `json:"kubeCtlLocal"`
	HasDatastore         bool          `json:"hasDatastore"`
	SupportsCloudScaling bool          `json:"supportsCloudScaling"`
	Name                 string        `json:"name"`
	HasDefaultDataDisk   bool          `json:"hasDefaultDataDisk"`
	CanManage            bool          `json:"canManage"`
	HasCluster           bool          `json:"hasCluster"`
	Description          string        `json:"description"`
	OptionTypes          []interface{} `json:"optionTypes"`
	ControllerTypes      []struct {
		ID          int64  `json:"id"`
		Name        string `json:"name"`
		Code        string `json:"code"`
		Description string `json:"description"`
	} `json:"controllerTypes"`
	WorkerTypes []struct {
		ID          int64  `json:"id"`
		Name        string `json:"name"`
		Code        string `json:"code"`
		Description string `json:"description"`
	} `json:"workerTypes"`
}

ClusterType structures for use in request and response payloads

type Config

type Config struct {
	Cloudformation Cloudformation `json:"cloudformation"`
	Terraform      struct {
		TfVersion string `json:"tfVersion"`
	} `json:"terraform"`
}

type Contact

type Contact struct {
	ID           int64  `json:"id"`
	Name         string `json:"name"`
	EmailAddress string `json:"emailAddress"`
	SmsAddress   string `json:"smsAddress"`
	SlackHook    string `json:"slackHook"`
}

Contact structures for use in request and response payloads

type ContainerDetails added in v0.3.3

type ContainerDetails struct {
	ID               int64  `json:"id"`
	UUID             string `json:"uuid"`
	Name             string `json:"name"`
	IP               string `json:"ip"`
	InternalIp       string `json:"internalIp"`
	InternalHostname string `json:"internalHostname"`
	ExternalHostname string `json:"externalHostname"`
	ExternalDomain   string `json:"externalDomain"`
	ExternalFqdn     string `json:"externalFqdn"`
	AccountId        int64  `json:"accountId"`
	Instance         struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"instance"`
	ContainerType struct {
		ID       int64  `json:"id"`
		Name     string `json:"name"`
		Code     string `json:"code"`
		Category string `json:"category"`
	} `json:"containerType"`
	Server struct {
		ID               int64  `json:"id"`
		UUID             string `json:"uuid"`
		ExternalId       string `json:"externalId"`
		InternalId       string `json:"internalId"`
		ExternalUniqueId string `json:"externalUniqueId"`
		Name             string `json:"name"`
		ExternalName     string `json:"externalName"`
		Hostname         string `json:"hostname"`
		AccountId        int64  `json:"accountId"`
		SshHost          string `json:"sshHost"`
		ExternalIp       string `json:"externalIp"`
		InternalIp       string `json:"internalIp"`
		Platform         string `json:"platform"`
		PlatformVersion  string `json:"platformVersion"`
		AgentInstalled   bool   `json:"agentInstalled"`
		AgentVersion     string `json:"agentVersion"`
		SourceImage      struct {
			ID   int64  `json:"id"`
			Name string `json:"name"`
			Code string `json:"code"`
		} `json:"sourceImage"`
	} `json:"server"`
}

type ContainerPort added in v0.1.6

type ContainerPort struct {
	ID                  int64  `json:"id"`
	Name                string `json:"name"`
	Port                int64  `json:"port"`
	LoadBalanceProtocol string `json:"loadBalanceProtocol"`
	ExportName          string `json:"exportName"`
}

type CreateAlertResult added in v0.2.0

type CreateAlertResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Alert   *Alert            `json:"alert"`
}

CreateAlertResult structure parses the create alert response payload

type CreateAppResult

type CreateAppResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	App     *App              `json:"app"`
}

type CreateArchiveResult added in v0.1.10

type CreateArchiveResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Archive *Archive          `json:"archiveBucket"`
}

type CreateBlueprintResult

type CreateBlueprintResult struct {
	Success   bool              `json:"success"`
	Message   string            `json:"msg"`
	Errors    map[string]string `json:"errors"`
	Blueprint *Blueprint        `json:"blueprint"`
}

type CreateBootScriptResult added in v0.1.9

type CreateBootScriptResult struct {
	Success    bool              `json:"success"`
	Message    string            `json:"msg"`
	Errors     map[string]string `json:"errors"`
	BootScript *BootScript       `json:"bootScript"`
}

CreateBootScriptResult structure parses the create bootScript response payload

type CreateBudgetResult added in v0.1.5

type CreateBudgetResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Budget  *Budget           `json:"budget"`
}

type CreateCatalogItemResult

type CreateCatalogItemResult struct {
	Success     bool              `json:"success"`
	Message     string            `json:"msg"`
	Errors      map[string]string `json:"errors"`
	CatalogItem *CatalogItem      `json:"catalogItemType"`
}

type CreateCheckAppResult added in v0.2.0

type CreateCheckAppResult struct {
	Success  bool              `json:"success"`
	Message  string            `json:"msg"`
	Errors   map[string]string `json:"errors"`
	CheckApp *CheckApp         `json:"monitorApp"`
}

type CreateCheckGroupResult added in v0.1.1

type CreateCheckGroupResult struct {
	Success    bool              `json:"success"`
	Message    string            `json:"msg"`
	Errors     map[string]string `json:"errors"`
	CheckGroup *CheckGroup       `json:"checkGroup"`
}

type CreateCheckResult added in v0.1.1

type CreateCheckResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Check   *Check            `json:"check"`
}

type CreateCloudResourcePoolResult added in v0.3.6

type CreateCloudResourcePoolResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Cloud   *Cloud            `json:"zone"`
}

type CreateCloudResult

type CreateCloudResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Cloud   *Cloud            `json:"zone"`
}

type CreateClusterLayoutResult added in v0.1.4

type CreateClusterLayoutResult struct {
	Success       bool              `json:"success"`
	Message       string            `json:"msg"`
	Errors        map[string]string `json:"errors"`
	ClusterLayout *ClusterLayout    `json:"layout"`
}

type CreateClusterPackageResult added in v0.3.7

type CreateClusterPackageResult struct {
	Success        bool              `json:"success"`
	Message        string            `json:"msg"`
	Errors         map[string]string `json:"errors"`
	ClusterPackage *ClusterPackage   `json:"clusterPackage"`
}

type CreateClusterResult

type CreateClusterResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Cluster *Cluster          `json:"cluster"`
}

type CreateContactResult

type CreateContactResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Contact *Contact          `json:"contact"`
}

type CreateCredentialResult added in v0.1.5

type CreateCredentialResult struct {
	Success    bool              `json:"success"`
	Message    string            `json:"msg"`
	Errors     map[string]string `json:"errors"`
	Credential *Credential       `json:"credential"`
}

type CreateCypherResult added in v0.3.5

type CreateCypherResult struct {
	Success       bool              `json:"success"`
	Data          string            `json:"data"`
	Type          string            `json:"type"`
	LeaseDuration int64             `json:"lease_duration"`
	Message       string            `json:"msg"`
	Errors        map[string]string `json:"errors"`
	Cypher        *Cypher           `json:"cypher"`
}

type CreateDeploymentResult added in v0.2.0

type CreateDeploymentResult struct {
	Success    bool              `json:"success"`
	Message    string            `json:"msg"`
	Errors     map[string]string `json:"errors"`
	Deployment *Deployment       `json:"deployment"`
}

CreateDeploymentResult structure parses the create deployment response payload

type CreateEmailTemplateResult added in v0.4.0

type CreateEmailTemplateResult struct {
	Success       bool              `json:"success"`
	Message       string            `json:"msg"`
	Errors        map[string]string `json:"errors"`
	EmailTemplate *EmailTemplate    `json:"emailTemplate"`
}

CreateEmailTemplateResult structure parses the create email template response payload

type CreateEnvironmentResult

type CreateEnvironmentResult struct {
	Success     bool              `json:"success"`
	Message     string            `json:"msg"`
	Errors      map[string]string `json:"errors"`
	Environment *Environment      `json:"environment"`
}

type CreateExecuteScheduleResult

type CreateExecuteScheduleResult struct {
	Success         bool              `json:"success"`
	Message         string            `json:"msg"`
	Errors          map[string]string `json:"errors"`
	ExecuteSchedule *ExecuteSchedule  `json:"schedule"`
}

type CreateFileTemplateResult added in v0.1.4

type CreateFileTemplateResult struct {
	Success      bool              `json:"success"`
	Message      string            `json:"msg"`
	Errors       map[string]string `json:"errors"`
	FileTemplate *FileTemplate     `json:"containerTemplate"`
}

type CreateFormResult added in v0.3.7

type CreateFormResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Form    *Form             `json:"optionTypeForm"`
}

type CreateGroupResult

type CreateGroupResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Group   *Group            `json:"group"`
}

type CreateIdentitySourceResult added in v0.1.5

type CreateIdentitySourceResult struct {
	Success        bool              `json:"success"`
	Message        string            `json:"msg"`
	Errors         map[string]string `json:"errors"`
	IdentitySource *IdentitySource   `json:"userSource"`
}

type CreateIncidentResult added in v0.1.1

type CreateIncidentResult struct {
	Success  bool              `json:"success"`
	Message  string            `json:"msg"`
	Errors   map[string]string `json:"errors"`
	Incident *Incident         `json:"incident"`
}

type CreateInstanceLayoutResult

type CreateInstanceLayoutResult struct {
	Success        bool              `json:"success"`
	Message        string            `json:"msg"`
	Errors         map[string]string `json:"errors"`
	InstanceLayout *InstanceLayout   `json:"instanceTypeLayout"`
}

type CreateInstanceResult

type CreateInstanceResult struct {
	Success  bool              `json:"success"`
	Message  string            `json:"msg"`
	Errors   map[string]string `json:"errors"`
	Instance *Instance         `json:"instance"`
}

type CreateInstanceTypeResult

type CreateInstanceTypeResult struct {
	Success      bool              `json:"success"`
	Message      string            `json:"msg"`
	Errors       map[string]string `json:"errors"`
	InstanceType *InstanceType     `json:"instanceType"`
}

type CreateIntegrationObjectResult added in v0.1.8

type CreateIntegrationObjectResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Object  struct {
		ID int64 `json:"id"`
	} `json:"object"`
}

type CreateIntegrationResult

type CreateIntegrationResult struct {
	Success     bool              `json:"success"`
	Message     string            `json:"msg"`
	Errors      map[string]string `json:"errors"`
	Integration *Integration      `json:"integration"`
}

type CreateJobResult

type CreateJobResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Job     *Job              `json:"job"`
}

type CreateKeyPairResult

type CreateKeyPairResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	KeyPair *KeyPair          `json:"keyPair"`
}

type CreateLoadBalancerMonitorResult added in v0.2.6

type CreateLoadBalancerMonitorResult struct {
	Success             bool                 `json:"success"`
	Message             string               `json:"msg"`
	Errors              map[string]string    `json:"errors"`
	LoadBalancerMonitor *LoadBalancerMonitor `json:"loadBalancerMonitor"`
}

type CreateLoadBalancerPoolResult added in v0.2.6

type CreateLoadBalancerPoolResult struct {
	Success          bool              `json:"success"`
	Message          string            `json:"msg"`
	Errors           map[string]string `json:"errors"`
	LoadBalancerPool *LoadBalancerPool `json:"loadBalancerPool"`
}

type CreateLoadBalancerProfileResult added in v0.2.6

type CreateLoadBalancerProfileResult struct {
	Success             bool                 `json:"success"`
	Message             string               `json:"msg"`
	Errors              map[string]string    `json:"errors"`
	LoadBalancerProfile *LoadBalancerProfile `json:"loadBalancerProfile"`
}

type CreateLoadBalancerResult added in v0.2.6

type CreateLoadBalancerResult struct {
	Success      bool              `json:"success"`
	Message      string            `json:"msg"`
	Errors       map[string]string `json:"errors"`
	LoadBalancer *LoadBalancer     `json:"loadBalancer"`
}

type CreateLoadBalancerVirtualServerResult added in v0.2.6

type CreateLoadBalancerVirtualServerResult struct {
	Success                   bool                       `json:"success"`
	Message                   string                     `json:"msg"`
	Errors                    map[string]string          `json:"errors"`
	LoadBalancerVirtualServer *LoadBalancerVirtualServer `json:"loadBalancerInstance"`
}

type CreateMonitoringAppResult added in v0.1.1

type CreateMonitoringAppResult struct {
	Success       bool              `json:"success"`
	Message       string            `json:"msg"`
	Errors        map[string]string `json:"errors"`
	MonitoringApp *MonitoringApp    `json:"monitorApp"`
}

type CreateNetworkDomainPayload

type CreateNetworkDomainPayload struct {
	NetworkDomainPayload *NetworkDomainPayload `json:"networkDomain"`
}

type CreateNetworkDomainResult

type CreateNetworkDomainResult struct {
	Success       bool              `json:"success"`
	Message       string            `json:"msg"`
	Errors        map[string]string `json:"errors"`
	NetworkDomain *NetworkDomain    `json:"networkDomain"`
}

type CreateNetworkGroupResult added in v0.2.9

type CreateNetworkGroupResult struct {
	Success      bool              `json:"success"`
	Message      string            `json:"msg"`
	Errors       map[string]string `json:"errors"`
	NetworkGroup *NetworkGroup     `json:"networkGroup"`
	IsOwner      bool              `json:"isOwner"`
}

type CreateNetworkPayload

type CreateNetworkPayload struct {
	NetworkPayload *NetworkPayload `json:"network"`
}

type CreateNetworkPoolResult added in v0.2.7

type CreateNetworkPoolResult struct {
	Success     bool              `json:"success"`
	Message     string            `json:"msg"`
	Errors      map[string]string `json:"errors"`
	NetworkPool *NetworkPool      `json:"networkPool"`
}

type CreateNetworkPoolServerResult added in v0.2.7

type CreateNetworkPoolServerResult struct {
	Success           bool               `json:"success"`
	Message           string             `json:"msg"`
	Errors            map[string]string  `json:"errors"`
	NetworkPoolServer *NetworkPoolServer `json:"networkPoolServer"`
}

type CreateNetworkProxyResult added in v0.2.6

type CreateNetworkProxyResult struct {
	Success      bool              `json:"success"`
	Message      string            `json:"msg"`
	Errors       map[string]string `json:"errors"`
	NetworkProxy *NetworkProxy     `json:"networkProxy"`
}

type CreateNetworkResult

type CreateNetworkResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Network *Network          `json:"network"`
}

type CreateNetworkStaticRouteResult added in v0.2.7

type CreateNetworkStaticRouteResult struct {
	Success      bool              `json:"success"`
	Message      string            `json:"msg"`
	Errors       map[string]string `json:"errors"`
	NetworkRoute *NetworkRoute     `json:"networkRoute"`
}

type CreateNetworkSubnetResult added in v0.2.7

type CreateNetworkSubnetResult struct {
	Success       bool              `json:"success"`
	Message       string            `json:"msg"`
	Errors        map[string]string `json:"errors"`
	NetworkSubnet *NetworkSubnet    `json:"subnet"`
}

type CreateNodeTypeResult

type CreateNodeTypeResult struct {
	Success  bool              `json:"success"`
	Message  string            `json:"msg"`
	Errors   map[string]string `json:"errors"`
	NodeType *NodeType         `json:"containerType"`
}

type CreateOauthClientResult added in v0.2.9

type CreateOauthClientResult struct {
	Success     bool              `json:"success"`
	Message     string            `json:"msg"`
	Errors      map[string]string `json:"errors"`
	OauthClient *OauthClient      `json:"client"`
}

type CreateOptionListResult

type CreateOptionListResult struct {
	Success    bool              `json:"success"`
	Message    string            `json:"msg"`
	Errors     map[string]string `json:"errors"`
	OptionList *OptionList       `json:"optionTypeList"`
}

type CreateOptionTypeResult

type CreateOptionTypeResult struct {
	Success    bool              `json:"success"`
	Message    string            `json:"msg"`
	Errors     map[string]string `json:"errors"`
	OptionType *OptionType       `json:"optionType"`
}

type CreatePlanResult

type CreatePlanResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Plan    *Plan             `json:"servicePlan"`
}

type CreatePluginResult added in v0.2.6

type CreatePluginResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Plugin  *Plugin           `json:"plugin"`
}

type CreatePolicyResult

type CreatePolicyResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Policy  *Policy           `json:"policy"`
}

type CreatePowerScheduleResult added in v0.1.1

type CreatePowerScheduleResult struct {
	Success       bool              `json:"success"`
	Message       string            `json:"msg"`
	Errors        map[string]string `json:"errors"`
	PowerSchedule *PowerSchedule    `json:"schedule"`
}

CreatePowerScheduleResult structure parses the create power schedule response payload

type CreatePreseedScriptResult added in v0.1.9

type CreatePreseedScriptResult struct {
	Success       bool              `json:"success"`
	Message       string            `json:"msg"`
	Errors        map[string]string `json:"errors"`
	PreseedScript *PreseedScript    `json:"preseedScript"`
}

CreatePreseedScriptResult structure parses the create preseedScript response payload

type CreatePriceResult added in v0.1.1

type CreatePriceResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	ID      int64             `json:"id"`
}

CreatePriceResult structure parses the create price response payload

type CreatePriceSetResult added in v0.1.1

type CreatePriceSetResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	ID      int64             `json:"id"`
}

CreatePriceSetResult structure parses the create priceSet response payload

type CreateResourcePoolGroupResult added in v0.3.1

type CreateResourcePoolGroupResult struct {
	Success           bool               `json:"success"`
	Message           string             `json:"msg"`
	Errors            map[string]string  `json:"errors"`
	ResourcePoolGroup *ResourcePoolGroup `json:"resourcePoolGroup"`
}

type CreateResourcePoolPayload

type CreateResourcePoolPayload struct {
	ResourcePoolPayload *ResourcePoolPayload `json:"resourcePool"`
}

type CreateResourcePoolResult

type CreateResourcePoolResult struct {
	Success      bool              `json:"success"`
	Message      string            `json:"msg"`
	Errors       map[string]string `json:"errors"`
	ResourcePool *ResourcePool     `json:"resourcePool"`
}

type CreateRoleResult

type CreateRoleResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Role    *Role             `json:"role"`
}

type CreateScaleThresholdResult added in v0.1.5

type CreateScaleThresholdResult struct {
	Success        bool              `json:"success"`
	Message        string            `json:"msg"`
	Errors         map[string]string `json:"errors"`
	ScaleThreshold *ScaleThreshold   `json:"scaleThreshold"`
}

type CreateScriptTemplateResult added in v0.1.4

type CreateScriptTemplateResult struct {
	Success        bool              `json:"success"`
	Message        string            `json:"msg"`
	Errors         map[string]string `json:"errors"`
	ScriptTemplate *ScriptTemplate   `json:"containerScript"`
}

type CreateSecurityGroupLocationResult added in v0.4.0

type CreateSecurityGroupLocationResult struct {
	Success               bool                   `json:"success"`
	Message               string                 `json:"msg"`
	Errors                map[string]string      `json:"errors"`
	SecurityGroupLocation *SecurityGroupLocation `json:"location"`
}

type CreateSecurityGroupResult added in v0.4.0

type CreateSecurityGroupResult struct {
	Success       bool              `json:"success"`
	Message       string            `json:"msg"`
	Errors        map[string]string `json:"errors"`
	SecurityGroup *SecurityGroup    `json:"securityGroup"`
}

type CreateSecurityGroupRuleResult added in v0.4.0

type CreateSecurityGroupRuleResult struct {
	Success           bool               `json:"success"`
	Message           string             `json:"msg"`
	Errors            map[string]string  `json:"errors"`
	SecurityGroupRule *SecurityGroupRule `json:"rule"`
}

type CreateSecurityPackageResult added in v0.2.6

type CreateSecurityPackageResult struct {
	Success         bool              `json:"success"`
	Message         string            `json:"msg"`
	Errors          map[string]string `json:"errors"`
	SecurityPackage *SecurityPackage  `json:"securityPackage"`
}

type CreateServicePlanResult added in v0.1.1

type CreateServicePlanResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	ID      int64             `json:"id"`
}

CreateServicePlanResult structure parses the create servicePlan response payload

type CreateSoftwareLicenseResult added in v0.1.5

type CreateSoftwareLicenseResult struct {
	Success         bool              `json:"success"`
	Message         string            `json:"msg"`
	Errors          map[string]string `json:"errors"`
	SoftwareLicense *SoftwareLicense  `json:"license"`
}

type CreateSpecTemplateResult

type CreateSpecTemplateResult struct {
	Success      bool              `json:"success"`
	Message      string            `json:"msg"`
	Errors       map[string]string `json:"errors"`
	SpecTemplate *SpecTemplate     `json:"specTemplate"`
}

type CreateStorageBucketResult added in v0.1.5

type CreateStorageBucketResult struct {
	Success       bool              `json:"success"`
	Message       string            `json:"msg"`
	Errors        map[string]string `json:"errors"`
	StorageBucket *StorageBucket    `json:"storageBucket"`
}

type CreateStorageServerResult added in v0.2.8

type CreateStorageServerResult struct {
	Success       bool              `json:"success"`
	Message       string            `json:"msg"`
	Errors        map[string]string `json:"errors"`
	StorageServer *StorageServer    `json:"storageServer"`
}

type CreateStorageVolumeResult added in v0.4.0

type CreateStorageVolumeResult struct {
	Success       bool              `json:"success"`
	Message       string            `json:"msg"`
	Errors        map[string]string `json:"errors"`
	StorageVolume *StorageVolume    `json:"storageVolume"`
}

type CreateSubtenantGroupResult added in v0.3.6

type CreateSubtenantGroupResult struct {
	Group Group `json:"group"`
	StandardResult
}

type CreateSubtenantUserResult added in v0.3.6

type CreateSubtenantUserResult struct {
	User User `json:"user"`
	StandardResult
}

type CreateTaskResult

type CreateTaskResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Task    *Task             `json:"task"`
}

type CreateTaskSetResult

type CreateTaskSetResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	TaskSet *TaskSet          `json:"taskSet"`
}

type CreateTenantResult

type CreateTenantResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Tenant  *Tenant           `json:"account"`
}

CreateTenantResult structure parses the create tenant response payload

type CreateUserGroupResult added in v0.1.8

type CreateUserGroupResult struct {
	Success   bool              `json:"success"`
	Message   string            `json:"msg"`
	Errors    map[string]string `json:"errors"`
	UserGroup *UserGroup        `json:"userGroup"`
}

type CreateUserResult added in v0.1.8

type CreateUserResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	User    *User             `json:"user"`
}

type CreateVDIAppResult added in v0.1.6

type CreateVDIAppResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	VDIApp  *VDIApp           `json:"vdiApp"`
}

type CreateVDIGatewayResult added in v0.1.5

type CreateVDIGatewayResult struct {
	Success    bool              `json:"success"`
	Message    string            `json:"msg"`
	Errors     map[string]string `json:"errors"`
	VDIGateway *VDIGateway       `json:"vdiGateway"`
}

type CreateVDIPoolResult added in v0.1.5

type CreateVDIPoolResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	VDIPool *VDIPool          `json:"vdiPool"`
}

type CreateVirtualImageResult added in v0.1.4

type CreateVirtualImageResult struct {
	Success      bool              `json:"success"`
	Message      string            `json:"msg"`
	Errors       map[string]string `json:"errors"`
	VirtualImage *VirtualImage     `json:"virtualImage"`
}

type CreateWiki added in v0.1.1

type CreateWiki struct {
	Name     string `json:"name"`
	Category string `json:"category"`
	Content  string `json:"content"`
}

CreateWiki structure defines the create wiki payload

type CreateWikiResult added in v0.1.1

type CreateWikiResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Wiki    *Wiki             `json:"page"`
}

type Credential added in v0.1.5

type Credential struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
	Type struct {
		ID   int64  `json:"id"`
		Code string `json:"code"`
		Name string `json:"name"`
	} `json:"type"`
	Integration struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"integration"`
	Description  string `json:"description"`
	Username     string `json:"username"`
	Password     string `json:"password"`
	PasswordHash string `json:"passwordHash"`
	AuthKey      struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"authKey"`
	AuthPath      string      `json:"authPath"`
	ExternalID    interface{} `json:"externalId"`
	RefType       interface{} `json:"refType"`
	RefID         interface{} `json:"refId"`
	Category      interface{} `json:"category"`
	Scope         string      `json:"scope"`
	Status        string      `json:"status"`
	StatusMessage interface{} `json:"statusMessage"`
	StatusDate    interface{} `json:"statusDate"`
	Enabled       bool        `json:"enabled"`
	Account       struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	User struct {
		ID          int64  `json:"id"`
		Username    string `json:"username"`
		DisplayName string `json:"displayName"`
	} `json:"user"`
	DateCreated time.Time `json:"dateCreated"`
	LastUpdated time.Time `json:"lastUpdated"`
	Config      struct {
		GrantType        string `json:"grantType"`
		AccessTokenUrl   string `json:"accessTokenUrl"`
		ClientAuth       string `json:"clientAuth"`
		ClientSecret     string `json:"clientSecret"`
		Scope            string `json:"scope"`
		ClientId         string `json:"clientId"`
		ClientSecretHash string `json:"clientSecretHash"`
	} `json:"config"`
}

Credential structures for use in request and response payloads

type Current added in v0.1.5

type Current struct {
	EstimatedCost float64 `json:"estimatedCost"`
	LastCost      float64 `json:"lastCost"`
}

type Cypher added in v0.3.5

type Cypher struct {
	ID           int64     `json:"id"`
	ItemKey      string    `json:"itemKey"`
	LeaseTimeout int64     `json:"leaseTimeout"`
	ExpireDate   time.Time `json:"expireDate"`
	DateCreated  time.Time `json:"dateCreated"`
	LastUpdated  time.Time `json:"lastUpdated"`
	LastAccessed time.Time `json:"lastAccessed"`
	CreatedBy    string    `json:"createdBy"`
}

Cypher structures for use in request and response payloads

type CypherData added in v0.3.5

type CypherData struct {
	Keys []string `json:"keys"`
}

type Datastore added in v0.3.5

type Datastore struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
	Zone struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"zone"`
	Type       string `json:"type"`
	FreeSpace  int64  `json:"freeSpace"`
	Online     bool   `json:"online"`
	Active     bool   `json:"active"`
	Visibility string `json:"visibility"`
	Tenants    []struct {
		ID            int    `json:"id"`
		Name          string `json:"name"`
		DefaultStore  bool   `json:"defaultStore"`
		DefaultTarget bool   `json:"defaultTarget"`
	} `json:"tenants"`
	ResourcePermission struct {
		All   bool `json:"all"`
		Sites []struct {
			ID      int    `json:"id"`
			Name    string `json:"name"`
			Default bool   `json:"default"`
		} `json:"sites"`
		AllPlans bool          `json:"allPlans"`
		Plans    []interface{} `json:"plans"`
	} `json:"resourcePermission"`
}

Datastores

type DeleteAlertResult added in v0.2.0

type DeleteAlertResult struct {
	DeleteResult
}

DeleteAlertResult structure parses the delete alert response payload

type DeleteAppResult

type DeleteAppResult struct {
	DeleteResult
}

type DeleteArchiveResult added in v0.1.10

type DeleteArchiveResult struct {
	DeleteResult
}

type DeleteBlueprintResult

type DeleteBlueprintResult struct {
	DeleteResult
}

type DeleteBootScriptResult added in v0.1.9

type DeleteBootScriptResult struct {
	DeleteResult
}

DeleteBootScriptResult structure parses the delete bootScript response payload

type DeleteBudgetResult added in v0.1.5

type DeleteBudgetResult struct {
	DeleteResult
}

type DeleteCatalogInventoryItemResult added in v0.3.4

type DeleteCatalogInventoryItemResult struct {
	DeleteResult
}

DeleteServiceCatalogInventoryItemResult structure parses the delete catalog inventory item response payload

type DeleteCatalogItemResult

type DeleteCatalogItemResult struct {
	DeleteResult
}

type DeleteCheckAppResult added in v0.2.0

type DeleteCheckAppResult struct {
	DeleteResult
}

type DeleteCheckGroupResult added in v0.1.1

type DeleteCheckGroupResult struct {
	DeleteResult
}

type DeleteCheckResult added in v0.1.1

type DeleteCheckResult struct {
	DeleteResult
}

type DeleteCloudResourcePoolResult added in v0.3.6

type DeleteCloudResourcePoolResult struct {
	DeleteResult
}

type DeleteCloudResult

type DeleteCloudResult struct {
	DeleteResult
}

type DeleteClusterLayoutResult added in v0.1.4

type DeleteClusterLayoutResult struct {
	DeleteResult
}

type DeleteClusterPackageResult added in v0.3.7

type DeleteClusterPackageResult struct {
	DeleteResult
}

type DeleteClusterResult

type DeleteClusterResult struct {
	DeleteResult
}

type DeleteContactResult

type DeleteContactResult struct {
	DeleteResult
}

type DeleteCredentialResult added in v0.1.5

type DeleteCredentialResult struct {
	DeleteResult
}

type DeleteCypherResult added in v0.3.5

type DeleteCypherResult struct {
	DeleteResult
}

type DeleteDeploymentResult added in v0.2.0

type DeleteDeploymentResult struct {
	DeleteResult
}

type DeleteEmailTemplateResult added in v0.4.0

type DeleteEmailTemplateResult struct {
	DeleteResult
}

type DeleteEnvironmentResult

type DeleteEnvironmentResult struct {
	DeleteResult
}

type DeleteExecuteScheduleResult

type DeleteExecuteScheduleResult struct {
	DeleteResult
}

type DeleteFileTemplateResult added in v0.1.4

type DeleteFileTemplateResult struct {
	DeleteResult
}

type DeleteFormResult added in v0.3.7

type DeleteFormResult struct {
	DeleteResult
}

type DeleteGroupResult

type DeleteGroupResult struct {
	DeleteResult
}

type DeleteIdentitySourceResult added in v0.1.5

type DeleteIdentitySourceResult struct {
	DeleteResult
}

type DeleteIncidentResult added in v0.1.1

type DeleteIncidentResult struct {
	DeleteResult
}

type DeleteInstanceLayoutResult

type DeleteInstanceLayoutResult struct {
	DeleteResult
}

type DeleteInstanceResult

type DeleteInstanceResult struct {
	DeleteResult
}

type DeleteInstanceTypeResult

type DeleteInstanceTypeResult struct {
	DeleteResult
}

type DeleteIntegrationResult

type DeleteIntegrationResult struct {
	DeleteResult
}

type DeleteJobResult

type DeleteJobResult struct {
	DeleteResult
}

type DeleteKeyPairResult

type DeleteKeyPairResult struct {
	DeleteResult
}

type DeleteLoadBalancerMonitorResult added in v0.2.6

type DeleteLoadBalancerMonitorResult struct {
	DeleteResult
}

type DeleteLoadBalancerPoolResult added in v0.2.6

type DeleteLoadBalancerPoolResult struct {
	DeleteResult
}

type DeleteLoadBalancerProfileResult added in v0.2.6

type DeleteLoadBalancerProfileResult struct {
	DeleteResult
}

type DeleteLoadBalancerResult added in v0.2.6

type DeleteLoadBalancerResult struct {
	DeleteResult
}

type DeleteLoadBalancerVirtualServerResult added in v0.2.6

type DeleteLoadBalancerVirtualServerResult struct {
	DeleteResult
}

type DeleteMonitoringAppResult added in v0.1.1

type DeleteMonitoringAppResult struct {
	DeleteResult
}

type DeleteNetworkDomainResult

type DeleteNetworkDomainResult struct {
	DeleteResult
}

type DeleteNetworkGroupResult added in v0.2.9

type DeleteNetworkGroupResult struct {
	DeleteResult
}

type DeleteNetworkPoolResult added in v0.2.7

type DeleteNetworkPoolResult struct {
	DeleteResult
}

type DeleteNetworkPoolServerResult added in v0.2.7

type DeleteNetworkPoolServerResult struct {
	DeleteResult
}

type DeleteNetworkProxyResult added in v0.2.6

type DeleteNetworkProxyResult struct {
	DeleteResult
}

type DeleteNetworkResult

type DeleteNetworkResult struct {
	DeleteResult
}

type DeleteNetworkStaticRouteResult added in v0.2.7

type DeleteNetworkStaticRouteResult struct {
	DeleteResult
}

type DeleteNetworkSubnetResult added in v0.2.7

type DeleteNetworkSubnetResult struct {
	DeleteResult
}

type DeleteNodeTypeResult

type DeleteNodeTypeResult struct {
	DeleteResult
}

type DeleteOauthClientResult added in v0.2.9

type DeleteOauthClientResult struct {
	DeleteResult
}

type DeleteOptionListResult

type DeleteOptionListResult struct {
	DeleteResult
}

type DeleteOptionTypeResult

type DeleteOptionTypeResult struct {
	DeleteResult
}

type DeletePlanResult

type DeletePlanResult struct {
	DeleteResult
}

type DeletePluginResult added in v0.2.6

type DeletePluginResult struct {
	DeleteResult
}

type DeletePolicyResult

type DeletePolicyResult struct {
	DeleteResult
}

type DeletePowerScheduleResult added in v0.1.1

type DeletePowerScheduleResult struct {
	DeleteResult
}

DeletePowerScheduleResult structure parses the delete power schedule response payload

type DeletePreseedScriptResult added in v0.1.9

type DeletePreseedScriptResult struct {
	DeleteResult
}

DeletePreseedScriptResult structure parses the delete preseedScript response payload

type DeletePriceResult added in v0.1.1

type DeletePriceResult struct {
	DeleteResult
}

DeletePriceResult structure parses the delete price response payload

type DeletePriceSetResult added in v0.1.1

type DeletePriceSetResult struct {
	DeleteResult
}

DeletePriceSetResult structure parses the delete priceSet response payload

type DeleteResourcePoolGroupResult added in v0.3.1

type DeleteResourcePoolGroupResult struct {
	DeleteResult
}

type DeleteResourcePoolResult

type DeleteResourcePoolResult struct {
	DeleteResult
}

type DeleteResult

type DeleteResult struct {
	StandardResult
}

A standard format for Delete actions

type DeleteRoleResult

type DeleteRoleResult struct {
	DeleteResult
}

type DeleteScaleThresholdResult added in v0.1.5

type DeleteScaleThresholdResult struct {
	DeleteResult
}

type DeleteScriptTemplateResult added in v0.1.4

type DeleteScriptTemplateResult struct {
	DeleteResult
}

type DeleteSecurityGroupLocationResult added in v0.4.0

type DeleteSecurityGroupLocationResult struct {
	DeleteResult
}

type DeleteSecurityGroupResult added in v0.4.0

type DeleteSecurityGroupResult struct {
	DeleteResult
}

type DeleteSecurityGroupRuleResult added in v0.4.0

type DeleteSecurityGroupRuleResult struct {
	DeleteResult
}

type DeleteSecurityPackageResult added in v0.2.6

type DeleteSecurityPackageResult struct {
	DeleteResult
}

type DeleteServicePlanResult added in v0.1.1

type DeleteServicePlanResult struct {
	DeleteResult
}

DeleteServicePlanResult structure parses the delete servicePlan response payload

type DeleteSoftwareLicenseResult added in v0.1.5

type DeleteSoftwareLicenseResult struct {
	DeleteResult
}

type DeleteSpecTemplateResult

type DeleteSpecTemplateResult struct {
	DeleteResult
}

type DeleteStorageBucketResult added in v0.1.5

type DeleteStorageBucketResult struct {
	DeleteResult
}

type DeleteStorageServerResult added in v0.2.8

type DeleteStorageServerResult struct {
	DeleteResult
}

type DeleteStorageVolumeResult added in v0.4.0

type DeleteStorageVolumeResult struct {
	DeleteResult
}

type DeleteSubtenantGroupResult added in v0.3.6

type DeleteSubtenantGroupResult struct {
	StandardResult
}

type DeleteTaskResult

type DeleteTaskResult struct {
	DeleteResult
}

type DeleteTaskSetResult

type DeleteTaskSetResult struct {
	DeleteResult
}

type DeleteTenantResult

type DeleteTenantResult struct {
	DeleteResult
}

DeleteTenantResult structure parses the delete tenant response payload

type DeleteUserGroupResult added in v0.1.8

type DeleteUserGroupResult struct {
	DeleteResult
}

type DeleteUserResult added in v0.1.8

type DeleteUserResult struct {
	DeleteResult
}

type DeleteVDIAppResult added in v0.1.6

type DeleteVDIAppResult struct {
	DeleteResult
}

type DeleteVDIGatewayResult added in v0.1.5

type DeleteVDIGatewayResult struct {
	DeleteResult
}

type DeleteVDIPoolResult added in v0.1.5

type DeleteVDIPoolResult struct {
	DeleteResult
}

type DeleteVirtualImageResult added in v0.1.4

type DeleteVirtualImageResult struct {
	DeleteResult
}

type DeleteWikiResult added in v0.1.1

type DeleteWikiResult struct {
	DeleteResult
}

type Deployment added in v0.2.0

type Deployment struct {
	ID           int64       `json:"id"`
	Name         string      `json:"name"`
	Description  string      `json:"description"`
	AccountID    int64       `json:"accountId"`
	ExternalID   interface{} `json:"externalId"`
	DateCreated  time.Time   `json:"dateCreated"`
	LastUpdated  time.Time   `json:"lastUpdated"`
	VersionCount int64       `json:"versionCount"`
}

Deployment structures for use in request and response payloads

type EmailTemplate added in v0.4.0

type EmailTemplate struct {
	ID    int64  `json:"id"`
	Name  string `json:"name"`
	Owner struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"owner"`
	Accounts []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"accounts"`
	Code     string `json:"code"`
	Template string `json:"template"`
	Enabled  bool   `json:"enabled"`
}

EmailTemplate structures for use in request and response payloads

type Environment

type Environment struct {
	ID          int64  `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Code        string `json:"code"`
	Active      bool   `json:"active"`
	Visibility  string `json:"visibility"`
}

Environment structures for use in request and response payloads

type ExecuteSchedule

type ExecuteSchedule struct {
	ID               int64  `json:"id"`
	Name             string `json:"name"`
	Enabled          bool   `json:"enabled"`
	ScheduleType     string `json:"scheduleType"`
	ScheduleTimeZone string `json:"scheduleTimezone"`
	Desription       string `json:"description"`
	Cron             string `json:"cron"`
	DateCreated      string `json:"dateCreated"`
	LastUpdated      string `json:"lastUpdated"`
}

ExecuteSchedule structures for use in request and response payloads

type ExecutionRequest added in v0.2.9

type ExecutionRequest struct {
	ID            int64    `json:"id"`
	UniqueID      string   `json:"uniqueId"`
	ContainerID   int64    `json:"containerId"`
	ServerID      int64    `json:"serverId"`
	InstanceID    int64    `json:"instanceId"`
	ResourceID    int64    `json:"resourceId"`
	AppID         int64    `json:"appId"`
	StdOut        string   `json:"stdOut"`
	StdErr        string   `json:"stdErr"`
	ExitCode      int64    `json:"exitCode"`
	Status        string   `json:"status"`
	ExpiresAt     string   `json:"expiresAt"`
	CreatedById   int64    `json:"createdById"`
	StatusMessage string   `json:"statusMessage"`
	ErrorMessage  string   `json:"errorMessage"`
	Config        struct{} `json:"config"`
	RawData       string   `json:"rawData"`
}

ExeuctionRequestResult structure parses the response from the server when running or retrieving an exeuction request

type ExecutionRequestResult added in v0.2.9

type ExecutionRequestResult struct {
	ExecutionRequest ExecutionRequest `json:"executionRequest"`
}

type FieldGroup added in v0.3.7

type FieldGroup struct {
	Name             string   `json:"name"`
	Code             string   `json:"code"`
	Description      string   `json:"description"`
	LocalizedName    string   `json:"localizedName"`
	Collapsible      bool     `json:"collapsible"`
	DefaultCollapsed bool     `json:"defaultCollapsed"`
	VisibleOnCode    string   `json:"visibleOnCode"`
	Options          []Option `json:"options"`
}

type File

type File struct {
	ID          int64      `json:"id"`
	Sourcetype  string     `json:"sourceType"`
	Content     string     `json:"content"`
	ContentPath string     `json:"contentPath"`
	ContentRef  string     `json:"contentRef"`
	Repository  Repository `json:"repository"`
}

type FilePayload added in v0.1.5

type FilePayload struct {
	ParameterName string
	FileName      string
	FileContent   []byte
}

type FileTemplate added in v0.1.4

type FileTemplate struct {
	ID      int64  `json:"id"`
	Code    string `json:"code"`
	Account struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	Name            string      `json:"name"`
	Labels          []string    `json:"labels"`
	FileName        string      `json:"fileName"`
	FilePath        string      `json:"filePath"`
	TemplateType    interface{} `json:"templateType"`
	TemplatePhase   string      `json:"templatePhase"`
	Template        string      `json:"template"`
	Category        interface{} `json:"category"`
	SettingCategory string      `json:"settingCategory"`
	SettingName     string      `json:"settingName"`
	AutoRun         bool        `json:"autoRun"`
	RunOnScale      bool        `json:"runOnScale"`
	RunOnDeploy     bool        `json:"runOnDeploy"`
	FileOwner       string      `json:"fileOwner"`
	FileGroup       interface{} `json:"fileGroup"`
	Permissions     interface{} `json:"permissions"`
	DateCreated     time.Time   `json:"dateCreated"`
	LastUpdated     time.Time   `json:"lastUpdated"`
}

FileTemplate structures for use in request and response payloads

type Folder added in v0.3.5

type Folder struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
	Zone struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"zone"`
	Parent struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"parent"`
	Type          string `json:"type"`
	ExternalId    string `json:"externalId"`
	Visibility    string `json:"visibility"`
	ReadOnly      bool   `json:"readOnly"`
	DefaultFolder bool   `json:"defaultFolder"`
	DefaultStore  bool   `json:"defaultStore"`
	Active        bool   `json:"active"`
	Tenants       []struct {
		ID            int64  `json:"id"`
		Name          string `json:"name"`
		DefaultStore  bool   `json:"defaultStore"`
		DefaultTarget bool   `json:"defaultTarget"`
	} `json:"tenants"`
	ResourcePermission struct {
		All      bool          `json:"all"`
		Sites    []interface{} `json:"sites"`
		AllPlans bool          `json:"allPlans"`
		Plans    []interface{} `json:"plans"`
	} `json:"resourcePermission"`
}

Resource Folder

type Form added in v0.3.7

type Form struct {
	ID          int64        `json:"id"`
	Name        string       `json:"name"`
	Description string       `json:"description"`
	Code        string       `json:"code"`
	Context     string       `json:"context"`
	Locked      bool         `json:"locked"`
	Labels      []string     `json:"labels"`
	Options     []Option     `json:"options"`
	FieldGroups []FieldGroup `json:"fieldGroups"`
}

Form structures for use in request and response payloads

type GetActivityResult added in v0.2.6

type GetActivityResult struct {
	Activity *[]Activity `json:"activity"`
	Meta     *MetaResult `json:"meta"`
}

GetActivityResult structure parses the list alerts response payload

type GetAlertResult added in v0.2.0

type GetAlertResult struct {
	Alert *Alert `json:"alert"`
}

GetAlertResult structure parses the get alert response payload

type GetAppResult

type GetAppResult struct {
	App *App `json:"app"`
}

type GetAppStateResult added in v0.3.9

type GetAppStateResult struct {
	Success   bool       `json:"success"`
	Workloads []Workload `json:"workloads"`
	IacDrift  bool       `json:"iacDrift"`
	Specs     []Spec     `json:"specs"`
	PlanData  string     `json:"planData"`
	Input     struct {
		Variables []struct {
			Name      string      `json:"name"`
			Sensitive bool        `json:"sensitive"`
			Value     interface{} `json:"value"`
			Type      interface{} `json:"type"`
		} `json:"variables"`
		Providers []struct {
			Name string `json:"name"`
		} `json:"providers"`
	} `json:"input"`
	Output struct {
		Outputs []struct {
			Name  string `json:"name"`
			Value struct {
				Sensitive bool        `json:"sensitive"`
				Value     interface{} `json:"value"`
				Type      interface{} `json:"type"`
			} `json:"value"`
		} `json:"outputs"`
	} `json:"output"`
}

type GetApplianceSettingsResult added in v0.1.6

type GetApplianceSettingsResult struct {
	ApplianceSettings *ApplianceSettings `json:"applianceSettings"`
}

type GetApprovalItemResult added in v0.2.6

type GetApprovalItemResult struct {
	ApprovalItem *ApprovalItem `json:"approvalItem"`
}

GetApprovalItemResult structure parses the get approval response payload

type GetApprovalResult added in v0.2.6

type GetApprovalResult struct {
	Approval *Approval `json:"approval"`
}

GetApprovalResult structure parses the get approval response payload

type GetArchiveResult added in v0.1.10

type GetArchiveResult struct {
	Archive *Archive `json:"archiveBucket"`
}

type GetBackupSettingsResult added in v0.1.6

type GetBackupSettingsResult struct {
	BackupSettings *BackupSettings `json:"backupSettings"`
}

type GetBlueprintResult

type GetBlueprintResult struct {
	Blueprint *Blueprint `json:"blueprint"`
}

type GetBootScriptResult added in v0.1.9

type GetBootScriptResult struct {
	BootScript *BootScript `json:"bootScript"`
}

GetBootScriptResult structure parses the get bootScript response payload

type GetBudgetResult added in v0.1.5

type GetBudgetResult struct {
	Budget *Budget `json:"budget"`
}

type GetByIdRequest

type GetByIdRequest struct {
	Request
	ID int64 `json:"id"`
}

Common request types

type GetCatalogCartResult added in v0.3.4

type GetCatalogCartResult struct {
	Cart *Cart `json:"cart"`
}

GetCatalogCartResult structure parses the get catalog response payload

type GetCatalogInventoryItemResult added in v0.3.4

type GetCatalogInventoryItemResult struct {
	CatalogInventoryItem *InventoryItem `json:"item"`
	Meta                 *MetaResult    `json:"meta"`
}

type GetCatalogItemResult

type GetCatalogItemResult struct {
	CatalogItem *CatalogItem `json:"catalogItemType"`
}

type GetCatalogItemTypeResult added in v0.3.4

type GetCatalogItemTypeResult struct {
	CatalogItemType *CatalogItemType `json:"catalogItemType"`
}

GetCatalogItemTypeResult structure parses the get catalog item type response payload

type GetCheckAppResult added in v0.2.0

type GetCheckAppResult struct {
	CheckApp *CheckApp `json:"monitorApp"`
}

type GetCheckGroupResult added in v0.1.1

type GetCheckGroupResult struct {
	CheckGroup *CheckGroup `json:"checkGroup"`
}

type GetCheckResult added in v0.1.1

type GetCheckResult struct {
	Check *Check `json:"check"`
}

type GetCloudDatastoreResult added in v0.3.5

type GetCloudDatastoreResult struct {
	Datastore *Datastore `json:"datastore"`
}

type GetCloudResourceFolderResult added in v0.3.5

type GetCloudResourceFolderResult struct {
	Folder *Folder `json:"folder"`
}

type GetCloudResourcePoolResult added in v0.3.6

type GetCloudResourcePoolResult struct {
	Pool *Pool `json:"resourcePool"`
}

type GetCloudResult

type GetCloudResult struct {
	Cloud *Cloud `json:"zone"`
}

type GetClusterApiConfigResult added in v0.3.2

type GetClusterApiConfigResult struct {
	ServiceUrl          string `json:"serviceUrl"`
	ServiceHost         string `json:"serviceHost"`
	ServicePath         string `json:"servicePath"`
	ServiceHostname     string `json:"serviceHostname"`
	ServicePort         int64  `json:"servicePort"`
	ServiceUsername     string `json:"serviceUsername"`
	ServicePassword     string `json:"servicePassword"`
	ServicePasswordHash string `json:"servicePasswordHash"`
	ServiceToken        string `json:"serviceToken"`
	ServiceAccess       string `json:"serviceAccess"`
	ServiceCert         string `json:"serviceCert"`
	ServiceVersion      string `json:"serviceVersion"`
}

type GetClusterLayoutResult added in v0.1.4

type GetClusterLayoutResult struct {
	ClusterLayout *ClusterLayout `json:"layout"`
}

type GetClusterPackageResult added in v0.3.7

type GetClusterPackageResult struct {
	ClusterPackage *ClusterPackage `json:"clusterPackage"`
}

type GetClusterResult

type GetClusterResult struct {
	Cluster *Cluster `json:"cluster"`
}

type GetClusterTypeResult added in v0.1.6

type GetClusterTypeResult struct {
	ClusterType *ClusterType `json:"clusterType"`
}

GetClusterTypeResult structure parses the get cluster type response payload

type GetContactResult

type GetContactResult struct {
	Contact *Contact `json:"contact"`
}

type GetCredentialResult added in v0.1.5

type GetCredentialResult struct {
	Credential *Credential `json:"credential"`
}

type GetCypherResult added in v0.3.5

type GetCypherResult struct {
	Success       bool              `json:"success"`
	Data          interface{}       `json:"data"`
	Type          string            `json:"type"`
	LeaseDuration int64             `json:"lease_duration"`
	Cypher        *Cypher           `json:"cypher"`
	Message       string            `json:"msg"`
	Errors        map[string]string `json:"errors"`
}

type GetDeploymentResult added in v0.2.0

type GetDeploymentResult struct {
	Deployment *Deployment `json:"deployment"`
}

GetDeploymentResult structure parses the deployment response payload

type GetEmailTemplateResult added in v0.4.0

type GetEmailTemplateResult struct {
	EmailTemplate *EmailTemplate `json:"emailTemplate"`
}

GetEmailTemplateResult structure parses the email template response payload

type GetEnvironmentResult

type GetEnvironmentResult struct {
	Environment *Environment `json:"environment"`
}

type GetExecuteScheduleResult

type GetExecuteScheduleResult struct {
	ExecuteSchedule *ExecuteSchedule `json:"schedule"`
}

type GetFileTemplateResult added in v0.1.4

type GetFileTemplateResult struct {
	FileTemplate *FileTemplate `json:"containerTemplate"`
}

type GetFormResult added in v0.3.7

type GetFormResult struct {
	Form *Form `json:"optionTypeForm"`
}

GetFormResult structure parses the get forms response payload

type GetGroupResult

type GetGroupResult struct {
	Group *Group `json:"group"`
}

type GetGuidanceSettingsResult added in v0.3.0

type GetGuidanceSettingsResult struct {
	GuidanceSettings *GuidanceSettings `json:"guidanceSettings"`
}

type GetIdentitySourceResult added in v0.1.5

type GetIdentitySourceResult struct {
	IdentitySource *IdentitySource `json:"userSource"`
}

type GetIncidentResult added in v0.1.1

type GetIncidentResult struct {
	Incident *Incident `json:"incident"`
}

type GetInstanceLayoutResult

type GetInstanceLayoutResult struct {
	InstanceLayout *InstanceLayout `json:"instanceTypeLayout"`
}

type GetInstancePlanResult

type GetInstancePlanResult struct {
	Plan *InstancePlan `json:"plan"`
}

type GetInstanceResult

type GetInstanceResult struct {
	Instance *Instance `json:"instance"`
}

type GetInstanceSecurityGroupsResult added in v0.4.0

type GetInstanceSecurityGroupsResult struct {
	SecurityGroups *[]SecurityGroup  `json:"securityGroups"`
	Success        bool              `json:"success"`
	Message        string            `json:"msg"`
	Errors         map[string]string `json:"errors"`
}

type GetInstanceTypeResult

type GetInstanceTypeResult struct {
	InstanceType *InstanceType `json:"instanceType"`
}

type GetIntegrationResult

type GetIntegrationResult struct {
	Integration *Integration `json:"integration"`
}

type GetJobExecutionEventResult added in v0.3.3

type GetJobExecutionEventResult struct {
	ProcessEvent *JobExecutionEvent `json:"processEvent"`
}

type GetJobExecutionResult added in v0.3.3

type GetJobExecutionResult struct {
	JobExecution *JobExecution `json:"jobExecution"`
}

type GetJobResult

type GetJobResult struct {
	Job *Job `json:"job"`
}

type GetKeyPairResult

type GetKeyPairResult struct {
	KeyPair *KeyPair `json:"keyPair"`
}

GetKeyPairResult structure parses the get key pair response payload

type GetLicenseResult added in v0.1.6

type GetLicenseResult struct {
	License struct {
		Producttier  string    `json:"productTier"`
		Startdate    time.Time `json:"startDate"`
		Enddate      time.Time `json:"endDate"`
		Maxinstances int       `json:"maxInstances"`
		Maxmemory    int       `json:"maxMemory"`
		Maxstorage   int       `json:"maxStorage"`
		Hardlimit    bool      `json:"hardLimit"`
		Freetrial    bool      `json:"freeTrial"`
		Multitenant  bool      `json:"multiTenant"`
		Whitelabel   bool      `json:"whitelabel"`
		Reportstatus bool      `json:"reportStatus"`
		Supportlevel string    `json:"supportLevel"`
		Accountname  string    `json:"accountName"`
		Config       struct {
		} `json:"config"`
		Amazonproductcodes interface{} `json:"amazonProductCodes"`
		Features           struct {
			Dashboard                bool `json:"dashboard"`
			Guidance                 bool `json:"guidance"`
			Discovery                bool `json:"discovery"`
			Analytics                bool `json:"analytics"`
			Scheduling               bool `json:"scheduling"`
			Approvals                bool `json:"approvals"`
			Usage                    bool `json:"usage"`
			Activity                 bool `json:"activity"`
			Instances                bool `json:"instances"`
			Apps                     bool `json:"apps"`
			Templates                bool `json:"templates"`
			Automation               bool `json:"automation"`
			Virtualimages            bool `json:"virtualImages"`
			Library                  bool `json:"library"`
			Migrations               bool `json:"migrations"`
			Deployments              bool `json:"deployments"`
			Groups                   bool `json:"groups"`
			Clouds                   bool `json:"clouds"`
			Hosts                    bool `json:"hosts"`
			Network                  bool `json:"network"`
			Loadbalancers            bool `json:"loadBalancers"`
			Storage                  bool `json:"storage"`
			Keypairs                 bool `json:"keyPairs"`
			Sslcertificates          bool `json:"sslCertificates"`
			Boot                     bool `json:"boot"`
			Backups                  bool `json:"backups"`
			Cypher                   bool `json:"cypher"`
			Archives                 bool `json:"archives"`
			Imagebuilder             bool `json:"imageBuilder"`
			Tenants                  bool `json:"tenants"`
			Plans                    bool `json:"plans"`
			Pricing                  bool `json:"pricing"`
			Users                    bool `json:"users"`
			Usergroups               bool `json:"userGroups"`
			Monitoring               bool `json:"monitoring"`
			Logging                  bool `json:"logging"`
			Monitoringservices       bool `json:"monitoringServices"`
			Loggingservices          bool `json:"loggingServices"`
			Backupservices           bool `json:"backupServices"`
			Dnsservices              bool `json:"dnsServices"`
			Codeservice              bool `json:"codeService"`
			Buildservices            bool `json:"buildServices"`
			Loadbalancerservices     bool `json:"loadBalancerServices"`
			Ipamservices             bool `json:"ipamServices"`
			Approvalservices         bool `json:"approvalServices"`
			Cmdbservices             bool `json:"cmdbServices"`
			Deploymentservices       bool `json:"deploymentServices"`
			Automationservices       bool `json:"automationServices"`
			Servicediscoveryservices bool `json:"serviceDiscoveryServices"`
			Identityservices         bool `json:"identityServices"`
			Trustservices            bool `json:"trustServices"`
			Securityservices         bool `json:"securityServices"`
		} `json:"features"`
		Zonetypes   interface{} `json:"zoneTypes"`
		Lastupdated time.Time   `json:"lastUpdated"`
		Datecreated time.Time   `json:"dateCreated"`
	} `json:"license"`
	Currentusage struct {
		Memory    int64 `json:"memory"`
		Storage   int64 `json:"storage"`
		Workloads int   `json:"workloads"`
	} `json:"currentUsage"`
}

GetLicenseResult structures for use in request and response payloads

type GetLoadBalancerMonitorResult added in v0.2.6

type GetLoadBalancerMonitorResult struct {
	LoadBalancerMonitor *LoadBalancerMonitor `json:"loadBalancerMonitor"`
}

type GetLoadBalancerPoolResult added in v0.2.6

type GetLoadBalancerPoolResult struct {
	LoadBalancerPool *LoadBalancerPool `json:"loadBalancerPool"`
}

type GetLoadBalancerProfileResult added in v0.2.6

type GetLoadBalancerProfileResult struct {
	LoadBalancerProfile *LoadBalancerProfile `json:"loadBalancerProfile"`
}

type GetLoadBalancerResult added in v0.2.6

type GetLoadBalancerResult struct {
	LoadBalancer *LoadBalancer `json:"loadBalancer"`
}

type GetLoadBalancerTypeResult added in v0.2.6

type GetLoadBalancerTypeResult struct {
	LoadBalancerType *LoadBalancerType `json:"loadBalancerType"`
}

type GetLoadBalancerVirtualServerResult added in v0.2.6

type GetLoadBalancerVirtualServerResult struct {
	LoadBalancerVirtualServer *LoadBalancerProfile `json:"loadBalancerInstance"`
}

type GetLogSettingsResult added in v0.1.3

type GetLogSettingsResult struct {
	LogSettings *LogSettings `json:"logSettings"`
}

GetLogSettingsResult structure parses the get logSettings response payload

type GetMonitoringAppResult added in v0.1.1

type GetMonitoringAppResult struct {
	MonitoringApp *MonitoringApp `json:"monitorApp"`
}

type GetMonitoringSettingsResult added in v0.3.0

type GetMonitoringSettingsResult struct {
	MonitoringSettings *MonitoringSettings `json:"monitoringSettings"`
}

type GetNetworkDomainResult

type GetNetworkDomainResult struct {
	NetworkDomain *NetworkDomain `json:"networkDomain"`
}

type GetNetworkGroupResult added in v0.2.9

type GetNetworkGroupResult struct {
	NetworkGroup *NetworkGroup `json:"networkGroup"`
}

type GetNetworkPoolResult added in v0.2.7

type GetNetworkPoolResult struct {
	NetworkPool *NetworkPool `json:"networkPool"`
}

type GetNetworkPoolServerResult added in v0.2.7

type GetNetworkPoolServerResult struct {
	NetworkPoolServer *NetworkPoolServer `json:"networkPoolServer"`
}

type GetNetworkProxyResult added in v0.2.6

type GetNetworkProxyResult struct {
	NetworkProxy *NetworkProxy `json:"networkProxy"`
}

type GetNetworkResult

type GetNetworkResult struct {
	Network *Network `json:"network"`
}

type GetNetworkStaticRouteResult added in v0.2.7

type GetNetworkStaticRouteResult struct {
	NetworkRoute *NetworkRoute `json:"networkRoute"`
}

type GetNetworkSubnetResult added in v0.2.7

type GetNetworkSubnetResult struct {
	NetworkSubnet *NetworkSubnet `json:"subnet"`
}

type GetNodeTypeResult

type GetNodeTypeResult struct {
	NodeType *NodeType `json:"containerType"`
}

type GetOauthClientResult added in v0.2.9

type GetOauthClientResult struct {
	OauthClient *OauthClient `json:"client"`
}

type GetOptionListResult

type GetOptionListResult struct {
	OptionList *OptionList `json:"optionTypeList"`
}

type GetOptionSourceLayoutsResult

type GetOptionSourceLayoutsResult struct {
	Data *[]LayoutOption `json:"data"`
}

type GetOptionSourceResult

type GetOptionSourceResult struct {
	Data *[]OptionSourceOption `json:"data"`
}

GetOptionSourceResult generic type of result returned by this endpoint

type GetOptionSourceZoneNetworkOptionsResult

type GetOptionSourceZoneNetworkOptionsResult struct {
	Data *ZoneNetworkOptionsData `json:"data"`
}

type GetOptionTypeResult

type GetOptionTypeResult struct {
	OptionType *OptionType `json:"optionType"`
}

type GetPlanResult

type GetPlanResult struct {
	Plan *Plan `json:"servicePlan"`
}

type GetPluginResult added in v0.2.6

type GetPluginResult struct {
	Plugin *Plugin `json:"plugin"`
}

type GetPolicyResult

type GetPolicyResult struct {
	Policy *Policy `json:"policy"`
}

type GetPowerScheduleResult added in v0.1.1

type GetPowerScheduleResult struct {
	PowerSchedule *PowerSchedule `json:"schedule"`
}

GetPowerScheduleResult structure parses the get power schedule response payload

type GetPreseedScriptResult added in v0.1.9

type GetPreseedScriptResult struct {
	PreseedScript *PreseedScript `json:"preseedScript"`
}

GetPreseedScriptResult structure parses the get preseedScript response payload

type GetPriceResult added in v0.1.1

type GetPriceResult struct {
	Price *Price `json:"price"`
}

GetPriceResult structure parses the get price response payload

type GetPriceSetResult added in v0.1.1

type GetPriceSetResult struct {
	PriceSet *PriceSet `json:"priceSet"`
}

GetPriceSetResult structure parses the get priceSet response payload

type GetProvisionTypeResult added in v0.1.2

type GetProvisionTypeResult struct {
	ProvisionType *ProvisionType `json:"provisionType"`
}

GetProvisionTypeResult structure parses the get provision type response payload

type GetProvisioningSettingsResult added in v0.1.8

type GetProvisioningSettingsResult struct {
	ProvisioningSettings *ProvisioningSettings `json:"provisioningSettings"`
}

type GetResourcePoolGroupResult added in v0.3.1

type GetResourcePoolGroupResult struct {
	ResourcePoolGroup *ResourcePoolGroup `json:"resourcePoolGroup"`
}

type GetResourcePoolResult

type GetResourcePoolResult struct {
	ResourcePool *ResourcePool `json:"resourcePool"`
}

type GetRoleResult

type GetRoleResult struct {
	Role               Role `json:"role"`
	FeaturePermissions []struct {
		ID          int64  `json:"id"`
		Code        string `json:"code"`
		Name        string `json:"name"`
		Access      string `json:"access"`
		SubCategory string `json:"subCategory"`
	} `json:"featurePermissions"`
	GlobalSiteAccess string `json:"globalSiteAccess"`
	Sites            []struct {
		ID     int64  `json:"id"`
		Name   string `json:"name"`
		Access string `json:"access"`
	} `json:"sites"`
	GlobalZoneAccess string `json:"globalZoneAccess"`
	Zones            []struct {
		ID     int64  `json:"id"`
		Code   string `json:"code"`
		Name   string `json:"name"`
		Access string `json:"access"`
	} `json:"zones"`
	GlobalInstanceTypeAccess string `json:"globalInstanceTypeAccess"`
	InstanceTypePermissions  []struct {
		ID     int64  `json:"id"`
		Code   string `json:"code"`
		Name   string `json:"name"`
		Access string `json:"access"`
	} `json:"instanceTypePermissions"`
	GlobalAppTemplateAccess string `json:"globalAppTemplateAccess"`
	AppTemplatePermissions  []struct {
		ID     int64  `json:"id"`
		Code   string `json:"code"`
		Name   string `json:"name"`
		Access string `json:"access"`
	} `json:"appTemplatePermissions"`
	GlobalCatalogItemTypeAccess string `json:"globalCatalogItemTypeAccess"`
	CatalogItemTypePermissions  []struct {
		ID     int64  `json:"id"`
		Name   string `json:"name"`
		Access string `json:"access"`
	} `json:"catalogItemTypePermissions"`
	PersonaPermissions []struct {
		ID     int64  `json:"id"`
		Code   string `json:"code"`
		Name   string `json:"name"`
		Access string `json:"access"`
	} `json:"personaPermissions"`
	GlobalVDIPoolAccess string `json:"globalVdiPoolAccess"`
	VDIPoolPermissions  []struct {
		ID     int64  `json:"id"`
		Code   string `json:"code"`
		Name   string `json:"name"`
		Access string `json:"access"`
	} `json:"vdiPoolPermissions"`
	GlobalReportTypeAccess string `json:"globalReportTypeAccess"`
	ReportTypePermissions  []struct {
		ID     int64  `json:"id"`
		Code   string `json:"code"`
		Name   string `json:"name"`
		Access string `json:"access"`
	} `json:"reportTypePermissions"`
	GlobalTaskAccess string `json:"globalTaskAccess"`
	TaskPermissions  []struct {
		ID     int64  `json:"id"`
		Code   string `json:"code"`
		Name   string `json:"name"`
		Access string `json:"access"`
	} `json:"taskPermissions"`
	GlobalTaskSetAccess string `json:"globalTaskSetAccess"`
	TaskSetPermissions  []struct {
		ID     int64  `json:"id"`
		Code   string `json:"code"`
		Name   string `json:"name"`
		Access string `json:"access"`
	} `json:"taskSetPermissions"`
	GlobalClusterTypeAccess string `json:"globalClusterTypeAccess"`
	ClusterTypePermissions  []struct {
		ID     int64  `json:"id"`
		Code   string `json:"code"`
		Name   string `json:"name"`
		Access string `json:"access"`
	} `json:"clusterTypePermissions"`
}

Role structures for use in request and response payloads

type GetScaleThresholdResult added in v0.1.5

type GetScaleThresholdResult struct {
	ScaleThreshold *ScaleThreshold `json:"scaleThreshold"`
}

type GetScriptTemplateResult added in v0.1.4

type GetScriptTemplateResult struct {
	ScriptTemplate *ScriptTemplate `json:"containerScript"`
}

type GetSecurityGroupResult added in v0.4.0

type GetSecurityGroupResult struct {
	SecurityGroup *SecurityGroup `json:"securityGroup"`
}

type GetSecurityGroupRuleResult added in v0.4.0

type GetSecurityGroupRuleResult struct {
	SecurityGroupRule *SecurityGroupRule `json:"rule"`
}

type GetSecurityPackageResult added in v0.2.6

type GetSecurityPackageResult struct {
	SecurityPackage *SecurityPackage `json:"securityPackage"`
}

type GetSecurityScanResult added in v0.3.0

type GetSecurityScanResult struct {
	SecurityScan *SecurityScan `json:"securityScan"`
}

type GetServicePlanResult added in v0.1.1

type GetServicePlanResult struct {
	ServicePlan *ServicePlan `json:"servicePlan"`
}

GetServicePlanResult structure parses the get servicePlan response payload

type GetSoftwareLicenseReservationsResult added in v0.1.5

type GetSoftwareLicenseReservationsResult struct {
	SoftwareLicenses *[]Reservation `json:"licenses"`
}

type GetSoftwareLicenseResult added in v0.1.5

type GetSoftwareLicenseResult struct {
	SoftwareLicense *SoftwareLicense `json:"license"`
}

type GetSpecTemplateResult

type GetSpecTemplateResult struct {
	SpecTemplate *SpecTemplate `json:"specTemplate"`
}

type GetStorageBucketResult added in v0.1.5

type GetStorageBucketResult struct {
	StorageBucket *StorageBucket `json:"storageBucket"`
}

type GetStorageServerResult added in v0.2.8

type GetStorageServerResult struct {
	StorageServer *StorageServer `json:"storageServer"`
}

type GetStorageServerTypeResult added in v0.4.0

type GetStorageServerTypeResult struct {
	StorageServerType *StorageServerType `json:"storageServerType"`
}

type GetStorageVolumeResult added in v0.4.0

type GetStorageVolumeResult struct {
	StorageVolume *StorageVolume `json:"storageVolume"`
}

type GetStorageVolumeTypeResult added in v0.4.0

type GetStorageVolumeTypeResult struct {
	StorageVolumeType *StorageVolumeType `json:"storageVolumeType"`
}

type GetSubtenantGroupsResult added in v0.3.6

type GetSubtenantGroupsResult struct {
	Group Group `json:"group"`
	StandardResult
}

type GetTaskResult

type GetTaskResult struct {
	Task *Task `json:"task"`
}

type GetTaskSetResult

type GetTaskSetResult struct {
	TaskSet *TaskSet `json:"taskSet"`
}

type GetTaskTypeResult added in v0.4.0

type GetTaskTypeResult struct {
	TaskType *TaskType `json:"taskType"`
}

type GetTenantResult

type GetTenantResult struct {
	Tenant *Tenant `json:"account"`
}

GetTenantResult structure parses the get tenant response payload

type GetUserGroupResult added in v0.1.8

type GetUserGroupResult struct {
	UserGroup *UserGroup `json:"userGroup"`
}

type GetUserResult added in v0.1.8

type GetUserResult struct {
	User *User `json:"user"`
}

type GetVDIAllocationResult added in v0.1.6

type GetVDIAllocationResult struct {
	VDIAllocation *VDIAllocation `json:"vdiAllocation"`
}

type GetVDIAppResult added in v0.1.6

type GetVDIAppResult struct {
	VDIApp *VDIApp `json:"vdiApp"`
}

type GetVDIGatewayResult added in v0.1.5

type GetVDIGatewayResult struct {
	VDIGateway *VDIGateway `json:"vdiGateway"`
}

type GetVDIPoolResult added in v0.1.5

type GetVDIPoolResult struct {
	VDIPool *VDIPool `json:"vdiPool"`
}

type GetVirtualImageResult added in v0.1.4

type GetVirtualImageResult struct {
	VirtualImage *VirtualImage `json:"virtualImage"`
}

type GetWhitelabelSettingsResult added in v0.1.8

type GetWhitelabelSettingsResult struct {
	WhitelabelSettings *WhitelabelSettings `json:"whitelabelSettings"`
}

type GetWikiResult added in v0.1.1

type GetWikiResult struct {
	Wiki *Wiki `json:"page"`
}

type Group

type Group struct {
	ID        int64    `json:"id"`
	UUID      string   `json:"uuid"`
	Name      string   `json:"name"`
	Code      string   `json:"code"`
	Labels    []string `json:"labels"`
	Location  string   `json:"location"`
	AccountID int64    `json:"accountId"`
	Config    struct {
		DNSIntegrationID    string `json:"dnsIntegrationId"`
		ConfigCMDBID        string `json:"configCmdbId"`
		ConfigCMID          string `json:"configCmId"`
		ServiceRegistryID   string `json:"serviceRegistryId"`
		ConfigManagementID  string `json:"configManagementId"`
		ConfigCMDBDiscovery bool   `json:"configCmdbDiscovery"`
	} `json:"config"`
	Clouds      []Zone `json:"zones"`
	DateCreated string `json:"dateCreated"`
	LastUpdated string `json:"lastUpdated"`
	Stats       struct {
		InstanceCounts struct {
			All int64 `json:"all"`
		} `json:"instanceCounts"`
		ServerCounts struct {
			All           int64 `json:"all"`
			Host          int64 `json:"host"`
			Hypervisor    int64 `json:"hypervisor"`
			ContainerHost int64 `json:"containerHost"`
			VM            int64 `json:"vm"`
			Baremetal     int64 `json:"baremetal"`
			Unmanaged     int64 `json:"unmanaged"`
		} `json:"serverCounts"`
	} `json:"stats"`
	ServerCount int64 `json:"serverCount"`
}

Group structures for use in request and response payloads

type GuidanceSettings added in v0.3.0

type GuidanceSettings struct {
	CpuAvgCutoffPower                    int64 `json:"cpuAvgCutoffPower"`
	CpuMaxCutoffPower                    int64 `json:"cpuMaxCutoffPower"`
	NetworkCutoffPower                   int64 `json:"networkCutoffPower"`
	CpuUpAvgStandardCutoffRightSize      int64 `json:"cpuUpAvgStandardCutoffRightSize"`
	CpuUpMaxStandardCutoffRightSize      int64 `json:"cpuUpMaxStandardCutoffRightSize"`
	MemoryUpAvgStandardCutoffRightSize   int64 `json:"memoryUpAvgStandardCutoffRightSize"`
	MemoryDownAvgStandardCutoffRightSize int64 `json:"memoryDownAvgStandardCutoffRightSize"`
	MemoryDownMaxStandardCutoffRightSize int64 `json:"memoryDownMaxStandardCutoffRightSize"`
}

GuidanceSettings structures for use in request and response payloads

type IdentitySource added in v0.1.5

type IdentitySource struct {
	ID                  int64  `json:"id"`
	Name                string `json:"name"`
	Description         string `json:"description"`
	Code                string `json:"code"`
	Type                string `json:"type"`
	Active              bool   `json:"active"`
	Deleted             bool   `json:"deleted"`
	AutoSyncOnLogin     bool   `json:"autoSyncOnLogin"`
	ExternalLogin       bool   `json:"externalLogin"`
	AllowCustomMappings bool   `json:"allowCustomMappings"`
	Account             struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	DefaultAccountRole struct {
		ID        int64  `json:"id"`
		Name      string `json:"name"`
		Authority string `json:"authority"`
	} `json:"defaultAccountRole"`
	Config struct {
		URL                            string `json:"url"`
		Domain                         string `json:"domain"`
		UseSSL                         string `json:"useSSL"`
		BindingUsername                string `json:"bindingUsername"`
		BindingPassword                string `json:"bindingPassword"`
		BindingPasswordHash            string `json:"bindingPasswordHash"`
		RequiredGroup                  string `json:"requiredGroup"`
		SearchMemberGroups             bool   `json:"searchMemberGroups"`
		RequiredGroupDN                string `json:"requiredGroupDN"`
		UserFqnExpression              string `json:"userFqnExpression"`
		RequiredRoleFqn                string `json:"requiredRoleFqn"`
		UsernameAttribute              string `json:"usernameAttribute"`
		CommonNameAttribute            string `json:"commonNameAttribute"`
		FirstNameAttribute             string `json:"firstNameAttribute"`
		LastNameAttribute              string `json:"lastNameAttribute"`
		EmailAttribute                 string `json:"emailAttribute"`
		UniqueMemberAttribute          string `json:"uniqueMemberAttribute"`
		MemberOfAttribute              string `json:"memberOfAttribute"`
		OrganizationID                 string `json:"organizationId"`
		RequiredRole                   string `json:"requiredRole"`
		AdministratorAPIToken          string `json:"administratorAPIToken"`
		RequiredGroupID                string `json:"requiredGroupId"`
		Subdomain                      string `json:"subdomain"`
		Region                         string `json:"region"`
		ClientSecret                   string `json:"clientSecret"`
		ClientID                       string `json:"clientId"`
		RequiredRoleID                 string `json:"requiredRoleId"`
		RoleAttributeName              string `json:"roleAttributeName"`
		RequiredAttributeValue         string `json:"requiredAttributeValue"`
		GivenNameAttribute             string `json:"givenNameAttribute"`
		SurnameAttribute               string `json:"surnameAttribute"`
		LogoutURL                      string `json:"logoutUrl"`
		LoginURL                       string `json:"loginUrl"`
		EncryptionAlgorithim           string `json:"encryptionAlgo"`
		EncryptionKey                  string `json:"encryptionKey"`
		APIStyle                       string `json:"apiStyle"`
		DoNotIncludeSAMLRequest        bool   `json:"doNotIncludeSAMLRequest"`
		DoNotValidateSignature         bool   `json:"doNotValidateSignature"`
		DoNotValidateStatusCode        bool   `json:"doNotValidateStatusCode"`
		DoNotValidateDestination       bool   `json:"doNotValidateDestination"`
		DoNotValidateIssueInstants     bool   `json:"doNotValidateIssueInstants"`
		DoNotValidateAssertions        bool   `json:"doNotValidateAssertions"`
		DoNotValidateAuthStatements    bool   `json:"doNotValidateAuthStatements"`
		DoNotValidateSubject           bool   `json:"doNotValidateSubject"`
		DoNotValidateConditions        bool   `json:"doNotValidateConditions"`
		DoNotValidateAudiences         bool   `json:"doNotValidateAudiences"`
		DoNotValidateSubjectRecipients bool   `json:"doNotValidateSubjectRecipients"`
		SAMLSignatureMode              string `json:"SAMLSignatureMode"`
		Endpoint                       string `json:"endpoint"`
		Logout                         string `json:"logout"`
		Request509Certificate          string `json:"request509Certificate"`
		RequestPrivateKey              string `json:"requestPrivateKey"`
		PublicKey                      string `json:"publicKey"`
		PrivateKey                     string `json:"privateKey"`
	} `json:"config"`
	RoleMappings []struct {
		SourceRoleName string `json:"sourceRoleName"`
		SourceRoleFqn  string `json:"sourceRoleFqn"`
		MappedRole     struct {
			ID        int64  `json:"id"`
			Name      string `json:"string"`
			Authority string `json:"authority"`
		} `json:"mappedRole"`
	} `json:"roleMappings"`
	Subdomain        string `json:"subdomain"`
	LoginURL         string `json:"loginURL"`
	ProviderSettings struct {
	} `json:"providerSettings"`
	DateCreated time.Time `json:"dateCreated"`
	LastUpdated time.Time `json:"lastUpdated"`
}

IdentitySource structures for use in request and response payloads

type Incident added in v0.1.1

type Incident struct {
	ID         int64  `json:"id"`
	Name       string `json:"name"`
	Comment    string `json:"comment"`
	Resolution string `json:"resolution"`
	Status     string `json:"status"`
	Severity   string `json:"severity"`
	InUptime   bool   `json:"inUptime"`
	StartDate  string `json:"startDate"`
	EndDate    string `json:"endDate"`
}

Incident structures for use in request and response payloads

type Instance

type Instance struct {
	ID        int64  `json:"id"`
	UUID      string `json:"uuid"`
	AccountId int64  `json:"accountId"`
	Tenant    struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"tenant"`
	Name         string `json:"name"`
	Description  string `json:"description"`
	DisplayName  string `json:"displayName"`
	InstanceType struct {
		ID       int64  `json:"id"`
		Name     string `json:"name"`
		Code     string `json:"code"`
		Category string `json:"category"`
		Image    string `json:"image"`
	} `json:"instanceType"`
	Layout struct {
		ID                int64  `json:"id"`
		Name              string `json:"name"`
		ProvisionTypeId   int64  `json:"provisionTypeId"`
		ProvisionTypeCode string `json:"provisionTypeCode"`
	} `json:"layout"`
	Group struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"group"`
	Cloud struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
		Type string `json:"type"`
	} `json:"cloud"`
	Containers []int64 `json:"containers"`
	Servers    []int64 `json:"servers"`
	Resources  []struct {
		ID              int64    `json:"id"`
		UUID            string   `json:"uuid"`
		Code            string   `json:"code"`
		Category        string   `json:"category"`
		Name            string   `json:"name"`
		DisplayName     string   `json:"displayName"`
		Labels          []string `json:"labels"`
		ResourceVersion string   `json:"resourceVersion"`
		ResourceContext string   `json:"resourceContext"`
		Owner           struct {
			Id   int64  `json:"id"`
			Name string `json:"name"`
		} `json:"owner"`
		ResourceType string `json:"resourceType"`
		ResourceIcon string `json:"resourceIcon"`
		Type         struct {
			Id   int64  `json:"id"`
			Code string `json:"code"`
			Name string `json:"name"`
		} `json:"type"`
		Status     string `json:"status"`
		Enabled    bool   `json:"enabled"`
		ExternalId string `json:"externalId"`
	} `json:"resources"`
	ConnectionInfo []struct {
		Ip   string `json:"ip"`
		Port int64  `json:"port"`
	} `json:"connectionInfo"`
	Environment string                   `json:"environment"`
	Plan        InstancePlan             `json:"plan"`
	Config      map[string]interface{}   `json:"config"`
	Labels      []string                 `json:"labels"`
	Version     string                   `json:"instanceVersion"`
	Status      string                   `json:"status"`
	Owner       Owner                    `json:"owner"`
	Volumes     []map[string]interface{} `json:"volumes"`
	Interfaces  []map[string]interface{} `json:"interfaces"`
	Controllers []map[string]interface{} `json:"controllers"`
	Tags        []struct {
		Id    int64  `json:"id"`
		Name  string `json:"name"`
		Value string `json:"value"`
	} `json:"tags"`
	Metadata             []map[string]interface{} `json:"metadata"`
	EnvironmentVariables []struct {
		Name   string `json:"name"`
		Value  string `json:"value"`
		Export bool   `json:"export"`
		Masked bool   `json:"masked"`
	} `json:"evars"`
	CustomOptions  map[string]interface{} `json:"customOptions"`
	MaxMemory      int64                  `json:"maxMemory"`
	MaxStorage     int64                  `json:"maxStorage"`
	MaxCores       int64                  `json:"maxCores"`
	CoresPerSocket int64                  `json:"coresPerSocket"`
	MaxCpu         int64                  `json:"maxCpu"`
	HourlyCost     float64                `json:"hourlyCost"`
	HourlyPrice    float64                `json:"hourlyPrice"`
	InstancePrice  struct {
		Price    float64 `json:"price"`
		Cost     float64 `json:"cost"`
		Currency string  `json:"currency"`
		Unit     string  `json:"unit"`
	} `json:"instancePrice"`
	DateCreated   string `json:"dateCreated"`
	LastUpdated   string `json:"lastUpdated"`
	HostName      string `json:"hostName"`
	DomainName    string `json:"domainName"`
	NetworkDomain struct {
		Id int64 `json:"id"`
	} `json:"networkDomain"`
	EnvironmentPrefix string `json:"environmentPrefix"`
	FirewallEnabled   bool   `json:"firewallEnabled"`
	NetworkLevel      string `json:"networkLevel"`
	AutoScale         bool   `json:"autoScale"`
	InstanceContext   string `json:"instanceContext"`
	Locked            bool   `json:"locked"`
	IsScalable        bool   `json:"isScalable"`
	CreatedBy         struct {
		Id       int64  `json:"id"`
		Username string `json:"username"`
	} `json:"createdBy"`
	Stats struct {
		UsedStorage  int64   `json:"usedStorage"`
		MaxStorage   int64   `json:"maxStorage"`
		UsedMemory   int64   `json:"usedMemory"`
		MaxMemory    int64   `json:"maxMemory"`
		UsedCpu      float64 `json:"usedCpu"`
		CpuUsage     float64 `json:"cpuUsage"`
		CpuUsagePeak float64 `json:"cpuUsagePeak"`
		CpuUsageAvg  float64 `json:"cpuUsageAvg"`
	} `json:"stats"`
}

Instance structures for use in request and response payloads

type InstanceLayout

type InstanceLayout struct {
	ID           int64 `json:"id"`
	InstanceType struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
		Code string `json:"code"`
	} `json:"instanceType"`
	Account struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	Name                     string   `json:"name"`
	Labels                   []string `json:"labels"`
	Description              string   `json:"description"`
	Code                     string   `json:"code"`
	ContainerVersion         string   `json:"instanceVersion"`
	Creatable                bool     `json:"creatable"`
	MemoryRequirement        int64    `json:"memoryRequirement"`
	SupportsConvertToManaged bool     `json:"supportsConvertToManaged"`
	SortOrder                int64    `json:"sortOrder"`
	ProvisionType            struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
		Code string `json:"code"`
	} `json:"provisionType"`
	TaskSets []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"taskSets"`
	ContainerTypes []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"containerTypes"`
	ContainerScripts []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"containerScripts"`
	Mounts []struct {
		ID         int64  `json:"id"`
		Name       string `json:"name"`
		Code       string `json:"code"`
		ShortName  string `json:"shortName"`
		MountType  string `json:"mountType"`
		SortOrder  int64  `json:"sortOrder"`
		Required   bool   `json:"required"`
		Visible    bool   `json:"visible"`
		Deployable bool   `json:"deployable"`
		CanPersist bool   `json:"canPersist"`
	} `json:"mounts"`
	Ports []struct {
		ID                  int64  `json:"id"`
		Name                string `json:"name"`
		Code                string `json:"code"`
		ShortName           string `json:"shortName"`
		InternalPort        int64  `json:"internalPort"`
		ExternalPort        int64  `json:"externalPort"`
		LoadBalancePort     int64  `json:"loadBalancePort"`
		SortOrder           int64  `json:"sortOrder"`
		LoadBalanceProtocol string `json:"loadBalanceProtocol"`
		LoadBalance         bool   `json:"loadBalance"`
		Visible             bool   `json:"visible"`
	} `json:"ports"`
	PriceSets []struct {
		ID        int64  `json:"id"`
		Name      string `json:"name"`
		Code      string `json:"code"`
		PriceUnit string `json:"priceUnit"`
	} `json:"priceSets"`
	SpecTemplates []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"specTemplates"`
	OptionTypes []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"optionTypes"`
	EnvironmentVariables []struct {
		EvarName         string `json:"evarName"`
		Name             string `json:"name"`
		DefaultValue     string `json:"defaultValue"`
		DefaultValueHash string `json:"defaultValueHash"`
		ValueType        string `json:"valueType"`
		Export           bool   `json:"export"`
		Masked           bool   `json:"masked"`
	} `json:"environmentVariables"`
	TfVarSecret string `json:"tfvarSecret"`
	Permissions struct {
		ResourcePermissions struct {
			DefaultStore  bool `json:"defaultStore"`
			AllPlans      bool `json:"allPlans"`
			DefaultTarget bool `json:"defaultTarget"`
			CanManage     bool `json:"canManage"`
			All           bool `json:"all"`
			Account       struct {
				ID int64 `json:"id"`
			} `json:"account"`
		} `json:"resourcePermissions"`
	} `json:"permissions"`
}

InstanceLayout structures for use in request and response payloads

type InstancePlan

type InstancePlan struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
	Code string `json:"code"`
}

type InstanceType

type InstanceType struct {
	ID      int64 `json:"id"`
	Account struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	Name                string      `json:"name"`
	Labels              []string    `json:"labels"`
	Code                string      `json:"code"`
	Description         string      `json:"description"`
	ProvisionTypeCode   string      `json:"provisionTypeCode"`
	Category            string      `json:"category"`
	Active              bool        `json:"active"`
	HasProvisioningStep bool        `json:"hasProvisioningStep"`
	HasDeployment       bool        `json:"hasDeployment"`
	HasConfig           bool        `json:"hasConfig"`
	HasSettings         bool        `json:"hasSettings"`
	HasAutoscale        bool        `json:"hasAutoScale"`
	ProxyType           interface{} `json:"proxyType"`
	ProxyPort           interface{} `json:"proxyPort"`
	ProxyProtocol       interface{} `json:"proxyProtocol"`
	EnvironmentPrefix   string      `json:"environmentPrefix"`
	BackupType          interface{} `json:"backupType"`
	Config              struct {
	} `json:"config"`
	Visibility          string   `json:"visibility"`
	Featured            bool     `json:"featured"`
	Versions            []string `json:"versions"`
	InstanceTypeLayouts []struct {
		ID           int64 `json:"id"`
		InstanceType struct {
			ID   int64  `json:"id"`
			Name string `json:"name"`
			Code string `json:"code"`
		} `json:"instanceType"`
		Account struct {
			ID   int64  `json:"id"`
			Name string `json:"name"`
		} `json:"account"`
		Code                     string      `json:"code"`
		Name                     string      `json:"name"`
		InstanceVersion          string      `json:"instanceVersion"`
		Description              interface{} `json:"description"`
		Creatable                bool        `json:"creatable"`
		MemoryRequirement        interface{} `json:"memoryRequirement"`
		SortOrder                int64       `json:"sortOrder"`
		SupportsConvertToManaged bool        `json:"supportsConvertToManaged"`
	} `json:"instanceTypeLayouts"`
	OptionTypes []struct {
		ID                 int64       `json:"id"`
		Name               string      `json:"name"`
		Description        interface{} `json:"description"`
		Code               string      `json:"code"`
		FieldName          string      `json:"fieldName"`
		FieldLabel         string      `json:"fieldLabel"`
		FieldCode          interface{} `json:"fieldCode"`
		FieldContext       string      `json:"fieldContext"`
		FieldGroup         interface{} `json:"fieldGroup"`
		FieldClass         interface{} `json:"fieldClass"`
		FieldAddon         interface{} `json:"fieldAddOn"`
		FieldComponent     interface{} `json:"fieldComponent"`
		FieldInput         interface{} `json:"fieldInput"`
		Placeholder        interface{} `json:"placeHolder"`
		VerifyPattern      interface{} `json:"verifyPattern"`
		HelpBlock          interface{} `json:"helpBlock"`
		HelpBlockFieldCode interface{} `json:"helpBlockFieldCode"`
		DefaultValue       interface{} `json:"defaultValue"`
		OptionSource       string      `json:"optionSource"`
		OptionSourceType   interface{} `json:"optionSourceType"`
		OptionList         struct {
			ID   int64  `json:"id"`
			Name string `json:"name"`
		} `json:"optionList"`
		Type       string `json:"type"`
		Advanced   bool   `json:"advanced"`
		Required   bool   `json:"required"`
		ExportMeta bool   `json:"exportMeta"`
		Editable   bool   `json:"editable"`
		Creatable  bool   `json:"creatable"`
		Config     struct {
		} `json:"config"`
		DisplayOrder          int64       `json:"displayOrder"`
		WrapperClass          interface{} `json:"wrapperClass"`
		Enabled               bool        `json:"enabled"`
		NoBlank               bool        `json:"noBlank"`
		DependsOnCode         interface{} `json:"dependsOnCode"`
		VisibleOnCode         interface{} `json:"visibleOnCode"`
		RequireOnCode         interface{} `json:"requireOnCode"`
		ContextualDefault     bool        `json:"contextualDefault"`
		DisplayValueOnDetails bool        `json:"displayValueOnDetails"`
		ShowOnCreate          bool        `json:"showOnCreate"`
		ShowOnEdit            bool        `json:"showOnEdit"`
		LocalCredential       interface{} `json:"localCredential"`
	} `json:"optionTypes"`
	EnvironmentVariables []struct {
		EvarName         string `json:"evarName"`
		Name             string `json:"name"`
		DefaultValue     string `json:"defaultValue"`
		DefaultValueHash string `json:"defaultValueHash"`
		ValueType        string `json:"valueType"`
		Export           bool   `json:"export"`
		Masked           bool   `json:"masked"`
	} `json:"environmentVariables"`
	ImagePath     string `json:"imagePath"`
	DarkImagePath string `json:"darkImagePath"`
	PriceSets     []struct {
		ID        int64  `json:"id"`
		Name      string `json:"name"`
		Code      string `json:"code"`
		PriceUnit string `json:"priceUnit"`
	} `json:"priceSets"`
}

InstanceType structures for use in request and response payloads

type Integration

type Integration struct {
	ID              int64  `json:"id"`
	Name            string `json:"name"`
	Enabled         bool   `json:"enabled"`
	Type            string `json:"type"`
	Username        string `json:"username"`
	Password        string `json:"password"`
	PasswordHash    string `json:"passwordHash"`
	Port            string `json:"port"`
	Version         string `json:"version"`
	IntegrationType struct {
		ID   int64  `json:"id"`
		Code string `json:"code"`
		Name string `json:"name"`
	}
	URL             string `json:"url"`
	ServiceUrl      string `json:"serviceUrl"`
	ServiceUsername string `json:"serviceUsername"`
	ServicePassword string `json:"servicePassword"`
	Token           string `json:"token"`
	TokenHash       string `json:"tokenHash"`
	AuthType        string `json:"authType"`
	AuthId          string `json:"authId"`
	Config          struct {
		Inventory                       string                            `json:"inventory"`
		DefaultBranch                   string                            `json:"defaultBranch"`
		CacheEnabled                    interface{}                       `json:"cacheEnabled"`
		AnsiblePlaybooks                string                            `json:"ansiblePlaybooks"`
		AnsibleRoles                    string                            `json:"ansibleRoles"`
		AnsibleGroupVars                string                            `json:"ansibleGroupVars"`
		AnsibleHostVars                 string                            `json:"ansibleHostVars"`
		AnsibleCommandBus               interface{}                       `json:"ansibleCommandBus"`
		AnsibleVerbose                  interface{}                       `json:"ansibleVerbose"`
		AnsibleGalaxyEnabled            interface{}                       `json:"ansibleGalaxyEnabled"`
		AnsibleDefaultBranch            string                            `json:"ansibleDefaultBranch"`
		Plugin                          interface{}                       `json:"plugin"`
		IncidentAccess                  bool                              `json:"incidentAccess"`
		RequestAccess                   bool                              `json:"requestAccess"`
		ServiceNowCMDBMode              string                            `json:"cmdbMode"`
		ServiceNowIgnoreCertErrors      bool                              `json:"ignoreCertErrors"`
		ServiceNowCMDBBusinessObject    string                            `json:"serviceNowCMDBBusinessObject"`
		ServiceNowCustomCmdbMapping     string                            `json:"serviceNowCustomCmdbMapping"`
		ServiceNowCmdbClassMapping      []serviceNowCmdbClassMappingEntry `json:"serviceNowCmdbClassMapping"`
		ServiceNowCmdbClassMappingInput []string                          `json:"serviceNowCmdbClassMapping.input"`
		PreparedForSync                 bool                              `json:"preparedForSync"`
		Databags                        []chefDatabagEntry                `json:"databags"`
		ApprovalUser                    string                            `json:"approvalUser"`
		Company                         string                            `json:"company"`
		AppID                           string                            `json:"appId"`
		InventoryExisting               string                            `json:"inventoryExisting"`
		ExtraAttributes                 string                            `json:"extraAttributes"`
		EngineMount                     string                            `json:"engineMount"`
		SecretPath                      string                            `json:"secretPath"`
		SecretEngine                    string                            `json:"secretEngine"`
		SecretPathHash                  string                            `json:"secretPathHash"`
		SecretEngineHash                string                            `json:"secretEngineHash"`
		ChefUser                        string                            `json:"chefUser"`
		Endpoint                        string                            `json:"endpoint"`
		Org                             string                            `json:"org"`
		OrgKey                          string                            `json:"orgKey"`
		UserKey                         string                            `json:"userKey"`
		Version                         string                            `json:"version"`
		ChefUseFQDN                     bool                              `json:"chefUseFqdn"`
		WindowsVersion                  string                            `json:"windowsVersion"`
		WindowsInstallURL               string                            `json:"windowsInstallUrl"`
		OrgKeyHash                      string                            `json:"orgKeyHash"`
		UserKeyHash                     string                            `json:"userKeyHash"`
		PuppetMaster                    string                            `json:"puppetMaster"`
		PuppetFireNow                   string                            `json:"puppetFireNow"`
		PuppetSshUser                   string                            `json:"puppetSshUser"`
		PuppetSshPassword               string                            `json:"puppetSshPassword"`
		PuppetSshPasswordHash           string                            `json:"puppetSshPasswordHash"`
		CherwellCustomCmdbMapping       string                            `json:"cherwellCustomCmdbMapping"`
		CherwellClientKey               string                            `json:"cherwellClientKey"`
		CherwellCreatedBy               string                            `json:"cherwellCreatedBy"`
		CherwellStartDate               string                            `json:"cherwellStartDate"`
		CherwellEndDate                 string                            `json:"cherwellEndDate"`
		CherwellIgnoreSSLErrors         string                            `json:"cherwellIgnoreSSLErrors"`
		CherwellBusinessObject          string                            `json:"cherwellBusinessObject"`
	}
	Status     string `json:"status"`
	StatusDate string `json:"statusDate"`
	IsPlugin   bool   `json:"isPlugin"`
	ServiceKey struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	}
	ServiceMode string `json:"serviceMode"`
	ServiceFlag bool   `json:"serviceFlag"`
	Credential  struct {
		ID    int64    `json:"id"`
		Name  string   `json:"name"`
		Type  string   `json:"type"`
		Types []string `json:"types"`
	}
}

Integration structures for use in request and response payloads

type Intervals added in v0.1.5

type Intervals struct {
	Index     int64   `json:"index"`
	Year      string  `json:"year"`
	ShortYear string  `json:"shortYear"`
	Budget    float64 `json:"budget"`
	Cost      float64 `json:"cost"`
}

type InventoryItem added in v0.3.4

type InventoryItem struct {
	ID            int64  `json:"id"`
	Name          string `json:"name"`
	Quantity      int64  `json:"quantity"`
	Status        string `json:"status"`
	StatusMessage string `json:"statusMessage"`
	RefType       string `json:"refType"`
	Execution     struct {
		ID        int64  `json:"id"`
		JobID     int64  `json:"jobId"`
		Status    string `json:"status"`
		StartDate string `json:"startDate"`
		EndDate   string `json:"endDate"`
		Duration  int64  `json:"duration"`
	} `json:"execution"`
	App struct {
		ID        int64  `json:"id"`
		Name      string `json:"name"`
		Status    string `json:"status"`
		Instances []struct {
			ID              int64    `json:"id"`
			Name            string   `json:"name"`
			Status          string   `json:"status"`
			Locations       []string `json:"locations"`
			Virtualmachines int64    `json:"virtualMachines"`
			Version         string   `json:"version"`
		} `json:"instances"`
	} `json:"app"`
	Instance struct {
		ID              int64    `json:"id"`
		Name            string   `json:"name"`
		Status          string   `json:"status"`
		Locations       []string `json:"locations"`
		Virtualmachines int64    `json:"virtualMachines"`
		Version         string   `json:"version"`
	} `json:"instance"`
	OrderDate   string `json:"orderDate"`
	DateCreated string `json:"dateCreated"`
	LastUpdated string `json:"lastUpdated"`
}

type Job

type Job struct {
	ID         int64    `json:"id"`
	Name       string   `json:"name"`
	Labels     []string `json:"labels"`
	Enabled    bool     `json:"enabled"`
	TargetType string   `json:"targetType"`
	Task       struct {
		ID int64 `json:"id"`
	} `json:"task"`
	Workflow struct {
		ID int64 `json:"id"`
	} `json:"workflow"`
	Category  string `json:"category"`
	CreatedBy struct {
		DisplayName string `json:"displayName"`
		ID          int64  `json:"id"`
		Username    string `json:"username"`
	} `json:"createdBy"`
	CustomConfig  string      `json:"customConfig"`
	CustomOptions interface{} `json:"customOptions"`
	DateCreated   time.Time   `json:"dateCreated"`
	DateTime      interface{} `json:"dateTime"`
	Description   string      `json:"description"`
	JobSummary    string      `json:"jobSummary"`
	LastResult    string      `json:"lastResult"`
	LastRun       time.Time   `json:"lastRun"`
	LastUpdated   time.Time   `json:"lastUpdated"`
	Namespace     interface{} `json:"namespace"`
	ScheduleMode  string      `json:"scheduleMode"`
	Status        string      `json:"status"`
	Targets       []struct {
		ID         int64  `json:"id"`
		Name       string `json:"name"`
		RefId      int64  `json:"refId"`
		TargetType string `json:"targetType"`
	} `json:"targets"`
	Type struct {
		Code string `json:"code"`
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"type"`
	SecurityProfile string `json:"securityProfile"`
	ScanPath        string `json:"scanPath"`
}

Job structures for use in request and response payloads

type JobExecution added in v0.3.3

type JobExecution struct {
	ID      int64  `json:"id"`
	Name    string `json:"name"`
	Process struct {
		ID          int64  `json:"id"`
		AccountId   int64  `json:"accountId"`
		UniqueId    string `json:"uniqueId"`
		ProcessType struct {
			Code string `json:"code"`
			Name string `json:"name"`
		} `json:"processType"`
		DisplayName   string  `json:"displayName"`
		Description   string  `json:"description"`
		SubType       string  `json:"subType"`
		SubId         string  `json:"subId"`
		ZoneId        int64   `json:"zoneId"`
		IntegrationId string  `json:"integrationId"`
		AppId         int64   `json:"appId"`
		InstanceId    int64   `json:"instanceId"`
		ContainerId   int64   `json:"containerId"`
		ServerId      int64   `json:"serverId"`
		ContainerName string  `json:"containerName"`
		Status        string  `json:"status"`
		Reason        string  `json:"reason"`
		Percent       float64 `json:"percent"`
		StatusEta     int64   `json:"statusEta"`
		Message       string  `json:"message"`
		Output        string  `json:"output"`
		Error         string  `json:"error"`
		StartDate     string  `json:"startDate"`
		EndDate       string  `json:"endDate"`
		Duration      int64   `json:"duration"`
		DateCreated   string  `json:"dateCreated"`
		LastUpdated   string  `json:"lastUpdated"`
		CreatedBy     struct {
			Username    string `json:"username"`
			DisplayName string `json:"displayName"`
		} `json:"createdBy"`
		UpdatedBy struct {
			Username    string `json:"username"`
			DisplayName string `json:"displayName"`
		} `json:"updatedBy"`
		Events []struct {
			ID          int64  `json:"id"`
			ProcessId   int64  `json:"processId"`
			AccountId   int64  `json:"accountId"`
			UniqueId    string `json:"uniqueId"`
			ProcessType struct {
				Code string `json:"code"`
				Name string `json:"name"`
			} `json:"processType"`
			Description   string  `json:"description"`
			RefType       string  `json:"refType"`
			RefId         int64   `json:"refId"`
			SubType       string  `json:"subType"`
			SubId         string  `json:"subId"`
			ZoneId        int64   `json:"zoneId"`
			IntegrationId string  `json:"integrationId"`
			InstanceId    int64   `json:"instanceId"`
			ContainerId   int64   `json:"containerId"`
			ServerId      int64   `json:"serverId"`
			ContainerName string  `json:"containerName"`
			DisplayName   string  `json:"displayName"`
			Status        string  `json:"status"`
			Reason        string  `json:"reason"`
			Percent       float64 `json:"percent"`
			StatusEta     int64   `json:"statusEta"`
			Message       string  `json:"message"`
			Output        string  `json:"output"`
			Error         string  `json:"error"`
			StartDate     string  `json:"startDate"`
			EndDate       string  `json:"endDate"`
			Duration      int64   `json:"duration"`
			DateCreated   string  `json:"dateCreated"`
			LastUpdated   string  `json:"lastUpdated"`
			CreatedBy     struct {
				Username    string `json:"username"`
				DisplayName string `json:"displayName"`
			} `json:"createdBy"`
			UpdatedBy struct {
				Username    string `json:"username"`
				DisplayName string `json:"displayName"`
			} `json:"updatedBy"`
		} `json:"events"`
	} `json:"process"`
	Job struct {
		ID          int64  `json:"id"`
		Name        string `json:"name"`
		Description string `json:"description"`
		Type        struct {
			ID   int64  `json:"id"`
			Code string `json:"code"`
			Name string `json:"name"`
		} `json:"type"`
	} `json:"job"`
	Description   string `json:"description"`
	DateCreated   string `json:"dateCreated"`
	StartDate     string `json:"startDate"`
	EndDate       string `json:"endDate"`
	Duration      int64  `json:"duration"`
	ResultData    string `json:"resultData"`
	Status        string `json:"status"`
	StatusMessage string `json:"statusMessage"`
	CreatedBy     struct {
		Id          int64  `json:"id"`
		Username    string `json:"username"`
		DisplayName string `json:"displayName"`
	} `json:"createdBy"`
}

JobExecution structures for use in request and response payloads

type JobExecutionEvent added in v0.3.3

type JobExecutionEvent struct {
	ID          int64  `json:"id"`
	ProcessId   int64  `json:"processId"`
	AccountId   int64  `json:"accountId"`
	UniqueId    string `json:"uniqueId"`
	ProcessType struct {
		Code string `json:"code"`
		Name string `json:"name"`
	} `json:"processType"`
	Description   string `json:"description"`
	RefType       string `json:"refType"`
	RefId         int64  `json:"refId"`
	SubType       string `json:"subType"`
	SubId         string `json:"subId"`
	ZoneId        int64  `json:"zoneId"`
	IntegrationId string `json:"integrationId"`
	InstanceId    int64  `json:"instanceId"`
	ContainerId   int64  `json:"containerId"`
	ServerId      int64  `json:"serverId"`
	ContainerName string `json:"containerName"`
	DisplayName   string `json:"displayName"`
	Status        string `json:"status"`
	Reason        string `json:"reason"`
	Percent       int64  `json:"percent"`
	StatusEta     int64  `json:"statusEta"`
	Message       string `json:"message"`
	Output        string `json:"output"`
	Error         string `json:"error"`
	StartDate     string `json:"startDate"`
	EndDate       string `json:"endDate"`
	Duration      int64  `json:"duration"`
	DateCreated   string `json:"dateCreated"`
	LastUpdated   string `json:"lastUpdated"`
	CreatedBy     struct {
		Username    string `json:"username"`
		DisplayName string `json:"displayName"`
	} `json:"createdBy"`
	UpdatedBy struct {
		Username    string `json:"username"`
		DisplayName string `json:"displayName"`
	} `json:"updatedBy"`
}

type KeyPair

type KeyPair struct {
	ID             int64  `json:"id"`
	Name           string `json:"name"`
	AccountId      int64  `json:"accountId"`
	PublicKey      string `json:"publicKey"`
	HasPrivateKey  bool   `json:"hasPrivateKey"`
	PrivateKeyHash string `json:"privateKeyHash"`
	Fingerprint    string `json:"fingerprint"`
	PrivateKey     string `json:"privateKey"`
	DateCreated    string `json:"dateCreated"`
	LastUpdated    string `json:"lastUpdated"`
}

KeyPair structures for use in request and response payloads

type LayoutOption

type LayoutOption struct {
	OptionSourceOption
	Version string `json:"version"`
}

type LicenseType added in v0.1.5

type LicenseType struct {
	ID   int64  `json:"id"`
	Code string `json:"code"`
	Name string `json:"name"`
}

type ListAlertsResult added in v0.2.0

type ListAlertsResult struct {
	Alerts *[]Alert    `json:"alerts"`
	Meta   *MetaResult `json:"meta"`
}

ListAlertsResult structure parses the list alerts response payload

type ListApprovalsResult added in v0.2.6

type ListApprovalsResult struct {
	Approvals *[]Approval `json:"approvals"`
	Meta      *MetaResult `json:"meta"`
}

ListApprovalsResult structure parses the list approvals response payload

type ListAppsResult

type ListAppsResult struct {
	Apps *[]App      `json:"apps"`
	Meta *MetaResult `json:"meta"`
}

ListAppsResult structure parses the list apps response payload

type ListArchivesResult added in v0.1.10

type ListArchivesResult struct {
	Archives *[]Archive  `json:"archiveBuckets"`
	Meta     *MetaResult `json:"meta"`
}

ListArchivesResult structure parses the list archives response payload

type ListAvailableTenantRolesResult added in v0.3.6

type ListAvailableTenantRolesResult struct {
	Roles []struct {
		ID          int64  `json:"id"`
		Authority   string `json:"authority"`
		Description string `json:"description"`
		RoleType    string `json:"roleType"`
		Owner       struct {
			ID   int64  `json:"id"`
			Name string `json:"name"`
		} `json:"owner"`
	} `json:"roles"`
	Meta *MetaResult `json:"meta"`
}

ListAvailableTenantRolesResult structure parses the list availabe tenant roles response payload

type ListBlueprintsResult

type ListBlueprintsResult struct {
	Blueprints *[]Blueprint `json:"blueprints"`
	Meta       *MetaResult  `json:"meta"`
}

ListBlueprintsResult structure parses the list blueprints response payload

type ListBootScriptsResult added in v0.1.9

type ListBootScriptsResult struct {
	BootScripts *[]BootScript `json:"bootScripts"`
	Meta        *MetaResult   `json:"meta"`
}

ListBootScriptsResult structure parses the list bootScript response payload

type ListBudgetsResult added in v0.1.5

type ListBudgetsResult struct {
	Budgets *[]Budget   `json:"budgets"`
	Meta    *MetaResult `json:"meta"`
}

type ListCatalogInventoryItemsResult added in v0.3.4

type ListCatalogInventoryItemsResult struct {
	CatalogInventoryItems *[]InventoryItem `json:"items"`
	Meta                  *MetaResult      `json:"meta"`
}

type ListCatalogItemTypesResult added in v0.3.4

type ListCatalogItemTypesResult struct {
	CatalogItemTypes *[]CatalogItemType `json:"catalogItemTypes"`
	Meta             *MetaResult        `json:"meta"`
}

ListCatalogTypesResult structure parses the list catalog item types response payload

type ListCatalogItemsResult

type ListCatalogItemsResult struct {
	CatalogItems *[]CatalogItem `json:"catalogItemTypes"`
	Meta         *MetaResult    `json:"meta"`
}

ListCatalogItemsResult structure parses the list catalog items response payload

type ListCheckAppsResult added in v0.2.0

type ListCheckAppsResult struct {
	CheckApps *[]CheckApp `json:"monitorApps"`
	Meta      *MetaResult `json:"meta"`
}

ListCheckAppsResult structure parses the list check apps response payload

type ListCheckGroupsResult added in v0.1.1

type ListCheckGroupsResult struct {
	CheckGroups *[]CheckGroup `json:"checkGroups"`
	Meta        *MetaResult   `json:"meta"`
}

ListCheckGroupsResult structure parses the list check groups response payload

type ListChecksResult added in v0.1.1

type ListChecksResult struct {
	Checks *[]Check    `json:"checks"`
	Meta   *MetaResult `json:"meta"`
}

ListChecksResult structure parses the list check response payload

type ListCloudDatastoresResult added in v0.3.5

type ListCloudDatastoresResult struct {
	Datastores *[]Datastore `json:"datastores"`
	Meta       *MetaResult  `json:"meta"`
}

type ListCloudResourceFoldersResult added in v0.3.5

type ListCloudResourceFoldersResult struct {
	Folders *[]Folder   `json:"folders"`
	Meta    *MetaResult `json:"meta"`
}

type ListCloudResourcePoolsResult added in v0.3.6

type ListCloudResourcePoolsResult struct {
	Pools *[]Pool     `json:"resourcePools"`
	Meta  *MetaResult `json:"meta"`
}

type ListCloudsResult

type ListCloudsResult struct {
	Clouds *[]Cloud    `json:"zones"`
	Meta   *MetaResult `json:"meta"`
}

ListCloudsResult structure parses the list clouds response payload

type ListClusterLayoutsResult added in v0.1.4

type ListClusterLayoutsResult struct {
	ClusterLayouts *[]ClusterLayout `json:"layouts"`
	Meta           *MetaResult      `json:"meta"`
}

type ListClusterNamespacesResults added in v0.3.2

type ListClusterNamespacesResults struct {
	Namespaces []struct {
		Id          int64  `json:"id"`
		Name        string `json:"name"`
		Description string `json:"description"`
		RegionCode  string `json:"regionCode"`
		ExternalId  string `json:"externalId"`
		Status      string `json:"status"`
		Visibility  string `json:"visibility"`
		Active      bool   `json:"active"`
	} `json:"namespaces"`
	Meta *MetaResult `json:"meta"`
}

type ListClusterPackagesResult added in v0.3.7

type ListClusterPackagesResult struct {
	ClusterPackages *[]ClusterPackage `json:"clusterPackages"`
	Meta            *MetaResult       `json:"meta"`
}

ListClusterPackagesResult structure parses the list cluster packages response payload

type ListClusterTypesResult added in v0.1.6

type ListClusterTypesResult struct {
	ClusterTypes *[]ClusterType `json:"clusterTypes"`
	Meta         *MetaResult    `json:"meta"`
}

ListClusterTypeResult structure parses the list cluster types response payload

type ListClustersResult

type ListClustersResult struct {
	Clusters *[]Cluster  `json:"clusters"`
	Meta     *MetaResult `json:"meta"`
}

ListClustersResult structure parses the list clusters response payload

type ListContactsResult

type ListContactsResult struct {
	Contacts *[]Contact  `json:"contacts"`
	Meta     *MetaResult `json:"meta"`
}

ListContactsResult structure parses the list contacts response payload

type ListCredentialsResult added in v0.1.5

type ListCredentialsResult struct {
	Credentials *[]Credential `json:"credentials"`
	Meta        *MetaResult   `json:"meta"`
}

type ListCypherResult added in v0.3.5

type ListCypherResult struct {
	Success bool        `json:"success"`
	Data    CypherData  `json:"data"`
	Cyphers *[]Cypher   `json:"cyphers"`
	Meta    *MetaResult `json:"meta"`
}

type ListDeploymentsResult added in v0.2.0

type ListDeploymentsResult struct {
	Deployments *[]Deployment `json:"deployments"`
	Meta        *MetaResult   `json:"meta"`
}

ListDeploymentsResult structure parses the list deployments response payload

type ListEmailTemplatesResult added in v0.4.0

type ListEmailTemplatesResult struct {
	EmailTemplates *[]EmailTemplate `json:"emailTemplates"`
	Meta           *MetaResult      `json:"meta"`
}

ListEmailTemplatesResult structure parses the list email templates response payload

type ListEnvironmentsResult

type ListEnvironmentsResult struct {
	Environments *[]Environment `json:"environments"`
	Meta         *MetaResult    `json:"meta"`
}

ListEnvironmentsResult structure parses the list environments response payload

type ListExecuteSchedulesResult

type ListExecuteSchedulesResult struct {
	ExecuteSchedules *[]ExecuteSchedule `json:"schedules"`
	Meta             *MetaResult        `json:"meta"`
}

ListExecuteSchedulesResult structure parses the list execute schedules response payload

type ListFileTemplatesResult added in v0.1.4

type ListFileTemplatesResult struct {
	FileTemplates *[]FileTemplate `json:"containerTemplates"`
	Meta          *MetaResult     `json:"meta"`
}

type ListFormsResult added in v0.3.7

type ListFormsResult struct {
	Forms *[]Form     `json:"optionTypeForms"`
	Meta  *MetaResult `json:"meta"`
}

ListFormsResult structure parses the list forms response payload

type ListGroupsResult

type ListGroupsResult struct {
	Groups *[]Group    `json:"groups"`
	Meta   *MetaResult `json:"meta"`
}

ListGroupsResult structure parses the list groups response payload

type ListIdentitySourcesResult added in v0.1.5

type ListIdentitySourcesResult struct {
	IdentitySources *[]IdentitySource `json:"userSources"`
	Meta            *MetaResult       `json:"meta"`
}

ListIdentitySourcesResult structure parses the list identity source response payload

type ListIncidentsResult added in v0.1.1

type ListIncidentsResult struct {
	Incidents *[]Incident `json:"incidents"`
	Meta      *MetaResult `json:"meta"`
}

ListIncidentsResult structure parses the list incidents response payload

type ListInstanceLayoutsResult

type ListInstanceLayoutsResult struct {
	InstanceLayouts *[]InstanceLayout `json:"instanceTypeLayouts"`
	Meta            *MetaResult       `json:"meta"`
}

ListInstanceLayoutsResult structure parses the list instance layouts response payload

type ListInstancePlansResult

type ListInstancePlansResult struct {
	Plans *[]InstancePlan `json:"plans"`
	Meta  *MetaResult     `json:"meta"`
}

type ListInstanceTypesResult

type ListInstanceTypesResult struct {
	InstanceTypes *[]InstanceType `json:"instanceTypes"`
	Meta          *MetaResult     `json:"meta"`
}

ListInstanceTypesResult structure parses the list instance types response payload

type ListInstancesResult

type ListInstancesResult struct {
	Instances *[]Instance `json:"instances"`
	Meta      *MetaResult `json:"meta"`
}

ListInstancesResult structure parses the list instances response payload

type ListIntegrationObjectsResult added in v0.1.8

type ListIntegrationObjectsResult struct {
	Objects []struct {
		ID              int64  `json:"id"`
		Name            string `json:"name"`
		Type            string `json:"type"`
		RefType         string `json:"refType"`
		RefID           int64  `json:"refId"`
		CatalogItemType struct {
			ID   int64  `json:"id"`
			Name string `json:"name"`
		}
	} `json:"objects"`
	Meta *MetaResult `json:"meta"`
}

type ListIntegrationsResult

type ListIntegrationsResult struct {
	Integrations *[]Integration `json:"integrations"`
	Meta         *MetaResult    `json:"meta"`
}

ListIntegrationsResult structure parses the list integrations response payload

type ListJobExecutionsResult added in v0.3.3

type ListJobExecutionsResult struct {
	JobExecutions *[]JobExecution `json:"jobExecutions"`
	Meta          *MetaResult     `json:"meta"`
}

ListJobExecutionsResult structure parses the list job executions response payload

type ListJobsResult

type ListJobsResult struct {
	Jobs *[]Job      `json:"jobs"`
	Meta *MetaResult `json:"meta"`
}

ListJobsResult structure parses the list jobs response payload

type ListKeyPairsResult

type ListKeyPairsResult struct {
	KeyPairs *[]KeyPair  `json:"keyPairs"`
	Meta     *MetaResult `json:"meta"`
}

ListKeyPairsResult structure parses the list key pairs response payload

type ListLoadBalancerMonitorsResult added in v0.2.6

type ListLoadBalancerMonitorsResult struct {
	LoadBalancerMonitors *[]LoadBalancerMonitor `json:"loadBalancerMonitors"`
	Meta                 *MetaResult            `json:"meta"`
}

ListLoadBalancerMonitorsResult structure parses the list load balancers response payload

type ListLoadBalancerPoolsResult added in v0.2.6

type ListLoadBalancerPoolsResult struct {
	LoadBalancerPools *[]LoadBalancerPool `json:"loadBalancerPools"`
	Meta              *MetaResult         `json:"meta"`
}

ListLoadBalancerPoolsResult structure parses the list load balancers response payload

type ListLoadBalancerProfilesResult added in v0.2.6

type ListLoadBalancerProfilesResult struct {
	LoadBalancerProfiles *[]LoadBalancerProfile `json:"loadBalancerProfiles"`
	Meta                 *MetaResult            `json:"meta"`
}

ListLoadBalancerProfilesResult structure parses the list load balancers response payload

type ListLoadBalancerTypesResult added in v0.2.6

type ListLoadBalancerTypesResult struct {
	LoadBalancerTypes *[]LoadBalancerType `json:"loadBalancerTypes"`
	Meta              *MetaResult         `json:"meta"`
}

ListLoadBalancerTypesResult structure parses the list load balancer types response payload

type ListLoadBalancerVirtualServersResult added in v0.2.6

type ListLoadBalancerVirtualServersResult struct {
	LoadBalancerVirtualServers *[]LoadBalancerVirtualServer `json:"loadBalancerInstances"`
	Meta                       *MetaResult                  `json:"meta"`
}

ListLoadBalancerVirtualServersResult structure parses the list load balancers response payload

type ListLoadBalancersResult added in v0.2.6

type ListLoadBalancersResult struct {
	LoadBalancers *[]LoadBalancer `json:"loadBalancers"`
	Meta          *MetaResult     `json:"meta"`
}

ListLoadBalancersResult structure parses the list load balancers response payload

type ListMonitoringAppsResult added in v0.1.1

type ListMonitoringAppsResult struct {
	MonitoringApps *[]MonitoringApp `json:"monitorApps"`
	Meta           *MetaResult      `json:"meta"`
}

type ListNetworkDomainsResult

type ListNetworkDomainsResult struct {
	NetworkDomains *[]NetworkDomain `json:"networkDomains"`
	Meta           *MetaResult      `json:"meta"`
}

type ListNetworkGroupsResult added in v0.2.9

type ListNetworkGroupsResult struct {
	NetworkGroups *[]NetworkGroup `json:"networkGroups"`
	Meta          *MetaResult     `json:"meta"`
}

ListNetworkGroupsResult structure parses the list network groups response payload

type ListNetworkPoolServersResult added in v0.2.7

type ListNetworkPoolServersResult struct {
	NetworkPoolServers *[]NetworkPoolServer `json:"networkPoolServers"`
	Meta               *MetaResult          `json:"meta"`
}

ListNetworkPoolsResult structure parses the list network pools response payload

type ListNetworkPoolsResult added in v0.2.7

type ListNetworkPoolsResult struct {
	NetworkPools *[]NetworkPool `json:"networkPools"`
	Meta         *MetaResult    `json:"meta"`
}

ListNetworkPoolsResult structure parses the list network pools response payload

type ListNetworkProxiesResult added in v0.2.6

type ListNetworkProxiesResult struct {
	NetworkProxies *[]NetworkProxy `json:"networkProxies"`
	Meta           *MetaResult     `json:"meta"`
}

ListNetowrkProxiesResult structure parses the list network proxies response payload

type ListNetworkStaticRoutesResult added in v0.2.7

type ListNetworkStaticRoutesResult struct {
	NetworkRoutes *[]NetworkRoute `json:"networkRoutes"`
	Meta          *MetaResult     `json:"meta"`
}

ListNetworkStaticRoutesResult structure parses the list network static routes response payload

type ListNetworkSubnetsByNetworkResult added in v0.3.9

type ListNetworkSubnetsByNetworkResult struct {
	NetworkSubnets *[]NetworkSubnet `json:"subnets"`
	Meta           *MetaResult      `json:"meta"`
}

ListNetowrkSubnetsResult structure parses the list network subnets response payload

type ListNetworkSubnetsResult added in v0.2.7

type ListNetworkSubnetsResult struct {
	NetworkSubnets *[]NetworkSubnet `json:"subnets"`
	Meta           *MetaResult      `json:"meta"`
}

ListNetowrkSubnetsResult structure parses the list network subnets response payload

type ListNetworksResult

type ListNetworksResult struct {
	Networks *[]Network  `json:"networks"`
	Meta     *MetaResult `json:"meta"`
}

type ListNodeTypesResult

type ListNodeTypesResult struct {
	NodeTypes *[]NodeType `json:"containerTypes"`
	Meta      *MetaResult `json:"meta"`
}

type ListOauthClientsResult added in v0.2.9

type ListOauthClientsResult struct {
	OauthClients *[]OauthClient `json:"clients"`
	Meta         *MetaResult    `json:"meta"`
}

ListOauthClientsResult structure parses the list oauth client response payload

type ListOptionListItemsResult added in v0.2.8

type ListOptionListItemsResult struct {
	OptionListItems *[]struct {
		Name  string `json:"name"`
		Value string `json:"value"`
	} `json:"listItems"`
}

type ListOptionListsResult

type ListOptionListsResult struct {
	OptionLists *[]OptionList `json:"optionTypeLists"`
	Meta        *MetaResult   `json:"meta"`
}

type ListOptionTypesResult

type ListOptionTypesResult struct {
	OptionTypes *[]OptionType `json:"optionTypes"`
	Meta        *MetaResult   `json:"meta"`
}

type ListPlansResult

type ListPlansResult struct {
	Plans *[]Plan     `json:"servicePlans"`
	Meta  *MetaResult `json:"meta"`
}

type ListPluginsResult added in v0.2.6

type ListPluginsResult struct {
	Plugins *[]Plugin   `json:"plugins"`
	Meta    *MetaResult `json:"meta"`
}

ListPluginsResult structure parses the list plugins response payload

type ListPoliciesResult

type ListPoliciesResult struct {
	Policies *[]Policy   `json:"policies"`
	Meta     *MetaResult `json:"meta"`
}

type ListPowerSchedulesResult added in v0.1.1

type ListPowerSchedulesResult struct {
	PowerSchedules *[]PowerSchedule `json:"schedules"`
	Meta           *MetaResult      `json:"meta"`
}

ListPowerSchedulesResult structure parses the list power schedules response payload

type ListPreseedScriptsResult added in v0.1.9

type ListPreseedScriptsResult struct {
	PreseedScripts *[]PreseedScript `json:"preseedScripts"`
	Meta           *MetaResult      `json:"meta"`
}

ListPreseedScriptsResult structure parses the list preseedScript response payload

type ListPriceSetsResult added in v0.1.1

type ListPriceSetsResult struct {
	PriceSets *[]PriceSet `json:"priceSets"`
	Meta      *MetaResult `json:"meta"`
}

ListPriceSetsResult structure parses the list priceSets response payload

type ListPricesResult added in v0.1.1

type ListPricesResult struct {
	Prices *[]Price    `json:"prices"`
	Meta   *MetaResult `json:"meta"`
}

ListPricesResult structure parses the list prices response payload

type ListProvisionTypesResult added in v0.1.6

type ListProvisionTypesResult struct {
	ProvisionTypes *[]ProvisionType `json:"provisionTypes"`
	Meta           *MetaResult      `json:"meta"`
}

ListProvisionTypeResult structure parses the list provision types response payload

type ListReportTypesResult added in v0.2.1

type ListReportTypesResult struct {
	ReportTypes *[]ReportType `json:"reportTypes"`
	Meta        *MetaResult   `json:"meta"`
}

type ListResourcePoolGroupsResult added in v0.3.1

type ListResourcePoolGroupsResult struct {
	ResourcePoolGroups *[]ResourcePoolGroup `json:"resourcePoolGroups"`
	Meta               *MetaResult          `json:"meta"`
}

type ListResourcePoolsResult

type ListResourcePoolsResult struct {
	ResourcePools *[]ResourcePool `json:"resourcePools"`
	Meta          *MetaResult     `json:"meta"`
}

type ListRolesResult

type ListRolesResult struct {
	Roles *[]Role     `json:"roles"`
	Meta  *MetaResult `json:"meta"`
}

type ListScaleThresholdsResult added in v0.1.5

type ListScaleThresholdsResult struct {
	ScaleThresholds *[]ScaleThreshold `json:"scaleThresholds"`
	Meta            *MetaResult       `json:"meta"`
}

type ListScriptTemplatesResult added in v0.1.4

type ListScriptTemplatesResult struct {
	ScriptTemplates *[]ScriptTemplate `json:"containerScripts"`
	Meta            *MetaResult       `json:"meta"`
}

type ListSecurityGroupRulesResult added in v0.4.0

type ListSecurityGroupRulesResult struct {
	SecurityGroupRules *[]SecurityGroupRule `json:"rules"`
	Meta               *MetaResult          `json:"meta"`
}

type ListSecurityGroupsResult added in v0.4.0

type ListSecurityGroupsResult struct {
	SecurityGroups *[]SecurityGroup `json:"securityGroups"`
	Meta           *MetaResult      `json:"meta"`
}

type ListSecurityPackagesResult added in v0.2.6

type ListSecurityPackagesResult struct {
	SecurityPackages *[]SecurityPackage `json:"securityPackages"`
	Meta             *MetaResult        `json:"meta"`
}

type ListSecurityScansResult added in v0.3.0

type ListSecurityScansResult struct {
	SecurityScans *[]SecurityScan `json:"securityScans"`
	Meta          *MetaResult     `json:"meta"`
}

ListSecurityScansResult structure parses the list securityScans response payload

type ListServicePlansResult added in v0.1.1

type ListServicePlansResult struct {
	ServicePlans *[]ServicePlan `json:"servicePlans"`
	Meta         *MetaResult    `json:"meta"`
}

ListServicePlansResult structure parses the list servicePlans response payload

type ListSoftwareLicensesResult added in v0.1.5

type ListSoftwareLicensesResult struct {
	SoftwareLicenses *[]SoftwareLicense `json:"licenses"`
	Meta             *MetaResult        `json:"meta"`
}

type ListSpecTemplatesResult

type ListSpecTemplatesResult struct {
	SpecTemplates *[]SpecTemplate `json:"specTemplates"`
	Meta          *MetaResult     `json:"meta"`
}

type ListStorageBucketsResult added in v0.1.5

type ListStorageBucketsResult struct {
	StorageBuckets *[]StorageBucket `json:"storageBuckets"`
	Meta           *MetaResult      `json:"meta"`
}

type ListStorageServerTypesResult added in v0.4.0

type ListStorageServerTypesResult struct {
	StorageServerTypes *[]StorageServerType `json:"storageServerTypes"`
	Meta               *MetaResult          `json:"meta"`
}

type ListStorageServersResult added in v0.2.8

type ListStorageServersResult struct {
	StorageServers *[]StorageServer `json:"storageServers"`
	Meta           *MetaResult      `json:"meta"`
}

type ListStorageVolumeTypesResult added in v0.4.0

type ListStorageVolumeTypesResult struct {
	StorageVolumeTypes *[]StorageVolumeType `json:"storageVolumeTypes"`
	Meta               *MetaResult          `json:"meta"`
}

type ListStorageVolumesResult added in v0.4.0

type ListStorageVolumesResult struct {
	StorageVolumes *[]StorageVolume `json:"storageVolumes"`
	Meta           *MetaResult      `json:"meta"`
}

type ListSubtenantGroupsResult added in v0.3.6

type ListSubtenantGroupsResult struct {
	Groups []Group     `json:"groups"`
	Meta   *MetaResult `json:"meta"`
}

type ListTaskSetsResult

type ListTaskSetsResult struct {
	TaskSets *[]TaskSet  `json:"taskSets"`
	Meta     *MetaResult `json:"meta"`
}

type ListTaskTypesResult added in v0.4.0

type ListTaskTypesResult struct {
	TaskTypes *[]TaskType `json:"taskTypes"`
	Meta      *MetaResult `json:"meta"`
}

type ListTasksResult

type ListTasksResult struct {
	Tasks *[]Task     `json:"tasks"`
	Meta  *MetaResult `json:"meta"`
}

type ListTenantsResult

type ListTenantsResult struct {
	Accounts *[]Tenant   `json:"accounts"`
	Meta     *MetaResult `json:"meta"`
}

ListTenantsResult structure parses the list tenants response payload

type ListUserGroupsResult added in v0.1.8

type ListUserGroupsResult struct {
	UserGroups *[]UserGroup `json:"userGroups"`
	Meta       *MetaResult  `json:"meta"`
}

type ListUsersResult added in v0.1.8

type ListUsersResult struct {
	Users *[]User     `json:"users"`
	Meta  *MetaResult `json:"meta"`
}

type ListVDIAllocationsResult added in v0.1.6

type ListVDIAllocationsResult struct {
	VDIAllocations *[]VDIAllocation `json:"vdiAllocations"`
	Meta           *MetaResult      `json:"meta"`
}

type ListVDIAppsResult added in v0.1.6

type ListVDIAppsResult struct {
	VDIApps *[]VDIApp   `json:"vdiApps"`
	Meta    *MetaResult `json:"meta"`
}

type ListVDIGatewaysResult added in v0.1.5

type ListVDIGatewaysResult struct {
	VDIGateways *[]VDIGateway `json:"vdiGateways"`
	Meta        *MetaResult   `json:"meta"`
}

type ListVDIPoolsResult added in v0.1.5

type ListVDIPoolsResult struct {
	VDIPools *[]VDIPool  `json:"vdiPools"`
	Meta     *MetaResult `json:"meta"`
}

type ListVirtualImageLocationResult added in v0.4.0

type ListVirtualImageLocationResult struct {
	VirtualImageLocations *[]VirtualImageLocation `json:"locations"`
}

type ListVirtualImagesResult added in v0.1.4

type ListVirtualImagesResult struct {
	VirtualImages *[]VirtualImage `json:"virtualImages"`
	Meta          *MetaResult     `json:"meta"`
}

type ListWikiCategoriesResult added in v0.1.1

type ListWikiCategoriesResult struct {
	WikiCategories *[]WikiCategory `json:"categories"`
	Meta           *MetaResult     `json:"meta"`
}

type ListWikisResult added in v0.1.1

type ListWikisResult struct {
	Wikis *[]Wiki     `json:"pages"`
	Meta  *MetaResult `json:"meta"`
}

type LoadBalancer added in v0.2.6

type LoadBalancer struct {
	ID        int64  `json:"id"`
	Name      string `json:"name"`
	AccountId int64  `json:"accountId"`
	Cloud     struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"cloud"`
	Type struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
		Code string `json:"code"`
	} `json:"type"`
	Visibility   string `json:"visibility"`
	Description  string `json:"description"`
	Host         string `json:"host"`
	Port         int64  `json:"port"`
	Username     string `json:"username"`
	Password     string `json:"password"`
	PasswordHash string `json:"passwordHash"`
	IP           string `json:"ip"`
	InternalIp   string `json:"internalIp"`
	ExternalIp   string `json:"externalIp"`
	ApiPort      int64  `json:"apiPort"`
	AdminPort    int64  `json:"adminPort"`
	SslEnabled   bool   `json:"sslEnabled"`
	SslCert      string `json:"sslCert"`
	Enabled      bool   `json:"enabled"`
	Config       struct {
		Scheme                    string   `json:"scheme"`
		Arn                       string   `json:"arn"`
		AmazonVpc                 string   `json:"amazonVpc"`
		SubnetIds                 []int64  `json:"subnetIds"`
		SecurityGroupIds          []string `json:"securityGroupIds"`
		CreatedDuringProvisioning bool     `json:"createdDuringProvisioning"`
		Loglevel                  string   `json:"loglevel"`
		Tier1                     string   `json:"tier1"`
		Size                      string   `json:"size"`
		AdminState                bool     `json:"adminState"`
		ServerVersion             string   `json:"serverVersion"`
		SystemVersion             string   `json:"systemVersion"`
		ResourceGroup             string   `json:"resourceGroup"`
	}
	DateCreated string `json:"dateCreated"`
	LastUpdated string `json:"lastUpdated"`
}

LoadBalancer structures for use in request and response payloads

type LoadBalancerMonitor added in v0.2.6

type LoadBalancerMonitor struct {
	ID           int64  `json:"id"`
	Name         string `json:"name"`
	LoadBalancer struct {
		ID   int64 `json:"id"`
		Type struct {
			ID   int64  `json:"id"`
			Name string `json:"name"`
			Code string `json:"code"`
		} `json:"type"`
		Name string `json:"name"`
		IP   string `json:"ip"`
	} `json:"loadBalancer"`
	Code                string `json:"code"`
	Category            string `json:"category"`
	Visibility          string `json:"visibility"`
	Description         string `json:"description"`
	MonitorType         string `json:"monitorType"`
	MonitorInterval     int64  `json:"monitorInterval"`
	MonitorTimeout      int64  `json:"monitorTimeout"`
	SendData            string `json:"sendData"`
	SendVersion         string `json:"sendVersion"`
	SendType            string `json:"sendType"`
	ReceiveData         string `json:"receiveData"`
	ReceiveCode         string `json:"receiveCode"`
	DisabledData        string `json:"disabledData"`
	MonitorUsername     string `json:"monitorUsername"`
	MonitorPassword     string `json:"monitorPassword"`
	MonitorPasswordHash string `json:"monitorPasswordHash"`
	MonitorDestination  string `json:"monitorDestination"`
	MonitorReverse      bool   `json:"monitorReverse"`
	MonitorTransparent  bool   `json:"monitorTransparent"`
	MonitorAdaptive     bool   `json:"monitorAdaptive"`
	AliasAddress        string `json:"aliasAddress"`
	AliasPort           int64  `json:"aliasPort"`
	InternalId          string `json:"internalId"`
	ExternalId          string `json:"externalId"`
	MonitorSource       string `json:"monitorSource"`
	Status              string `json:"status"`
	StatusMessage       string `json:"statusMessage"`
	StatusDate          string `json:"statusDate"`
	Enabled             bool   `json:"enabled"`
	MaxRetry            int64  `json:"maxRetry"`
	FallCount           int64  `json:"fallCount"`
	RiseCount           int64  `json:"riseCount"`
	DataLength          string `json:"dataLength"`
	Config              struct {
		Kind         string `json:"kind"`
		Name         string `json:"name"`
		Partition    string `json:"partition"`
		FullPath     string `json:"fullPath"`
		Generation   int64  `json:"generation"`
		SelfLink     string `json:"selfLink"`
		Count        string `json:"count"`
		Debug        string `json:"debug"`
		Destination  string `json:"destination"`
		Interval     int64  `json:"interval"`
		ManualResume string `json:"manualResume"`
		TimeUntilUp  int64  `json:"timeUntilUp"`
		Timeout      int64  `json:"timeout"`
		UpInterval   int64  `json:"upInterval"`
		ExternalId   string `json:"externalId"`
		ServiceType  string `json:"serviceType"`
	} `json:"config"`
	CreatedBy   interface{} `json:"createdBy"`
	DateCreated string      `json:"dateCreated"`
	LastUpdated string      `json:"lastUpdated"`
}

LoadBalancer structures for use in request and response payloads

type LoadBalancerPool added in v0.2.6

type LoadBalancerPool struct {
	ID           int64  `json:"id"`
	Name         string `json:"name"`
	LoadBalancer struct {
		ID   int64 `json:"id"`
		Type struct {
			ID   int64  `json:"id"`
			Name string `json:"name"`
			Code string `json:"code"`
		} `json:"type"`
		Name string `json:"name"`
		IP   string `json:"ip"`
	} `json:"loadBalancer"`
	Category         string      `json:"category"`
	Visibility       string      `json:"visibility"`
	Description      string      `json:"description"`
	InternalId       string      `json:"internalId"`
	ExternalId       string      `json:"externalId"`
	Enabled          bool        `json:"enabled"`
	VipSticky        interface{} `json:"vipSticky"`
	VipBalance       string      `json:"vipBalance"`
	AllowNat         bool        `json:"allowNat"`
	AllowSnat        bool        `json:"allowSnat"`
	VipClientIpMode  string      `json:"vipClientIpMode"`
	VipServerIpMode  string      `json:"vipServerIpMode"`
	MinActive        int64       `json:"minActive"`
	MinInService     int64       `json:"minInService"`
	MinUpMonitor     string      `json:"minUpMonitor"`
	MinUpAction      string      `json:"minUpAction"`
	MaxQueueDepth    int64       `json:"maxQueueDepth"`
	MaxQueueTime     int64       `json:"maxQueueTime"`
	NumberActive     int64       `json:"numberActive"`
	NumberInService  int64       `json:"numberInService"`
	HealthScore      float64     `json:"healthScore"`
	PerformanceScore float64     `json:"performanceScore"`
	HealthPenalty    float64     `json:"healthPenalty"`
	SecurityPenalty  float64     `json:"securityPenalty"`
	ErrorPenalty     float64     `json:"errorPenalty"`
	DownAction       string      `json:"downAction"`
	RampTime         int64       `json:"rampTime"`
	Port             int64       `json:"port"`
	PortType         string      `json:"portType"`
	Status           string      `json:"status"`
	Monitors         []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"monitors"`
	Members []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"members"`
	Config struct {
		Kind                   string `json:"kind"`
		Name                   string `json:"name"`
		Partition              string `json:"partition"`
		FullPath               string `json:"fullPath"`
		Generation             int64  `json:"generation"`
		SelfLink               string `json:"selfLink"`
		AllowNat               bool   `json:"allowNat"`
		AllowSnat              bool   `json:"allowSnat"`
		Description            string `json:"description"`
		IgnorePersistedWeight  string `json:"ignorePersistedWeight"`
		IpTosToClient          string `json:"ipTosToClient"`
		IpTosToServer          string `json:"ipTosToServer"`
		LinkQosToClient        string `json:"linkQosToClient"`
		LinkQosToServer        string `json:"linkQosToServer"`
		LoadBalancingMode      string `json:"loadBalancingMode"`
		MinActiveMembers       int64  `json:"minActiveMembers"`
		MinUpMembers           int64  `json:"minUpMembers"`
		MinUpMembersAction     int64  `json:"minUpMembersAction"`
		MinUpMembersChecking   int64  `json:"minUpMembersChecking"`
		Monitor                string `json:"monitor"`
		QueueDepthLimit        int64  `json:"queueDepthLimit"`
		QueueOnConnectionLimit string `json:"queueOnConnectionLimit"`
		QueueTimeLimit         int64  `json:"queueTimeLimit"`
		ReselectTries          int64  `json:"reselectTries"`
		ServiceDownAction      string `json:"serviceDownAction"`
		SlowRampTime           int64  `json:"slowRampTime"`
		SnatTranslationType    string `json:"snatTranslationType"`
		TcpMultiplexing        bool   `json:"tcpMultiplexing"`
		TcpMultiplexingNumber  int64  `json:"tcpMultiplexingNumber"`
		ActiveMonitorPaths     int64  `json:"activeMonitorPaths"`
		PassiveMonitorPath     int64  `json:"passiveMonitorPath"`
		MemberGroup            struct {
			Name             string `json:"name"`
			Path             string `json:"path"`
			Port             int64  `json:"port"`
			MaxIpListSize    int64  `json:"maxIpListSize"`
			IpRevisionFilter string `json:"ipRevisionFilter"`
		} `json:"memberGroup"`
		MembersReference struct {
			Link            string `json:"link"`
			IsSubcollection bool   `json:"isSubcollection"`
		} `json:"membersReference"`
		ExternalId string `json:"externalId"`
	} `json:"config"`
	CreatedBy   interface{} `json:"createdBy"`
	DateCreated string      `json:"dateCreated"`
	LastUpdated string      `json:"lastUpdated"`
}

LoadBalancerPool structures for use in request and response payloads

type LoadBalancerProfile added in v0.2.6

type LoadBalancerProfile struct {
	ID           int64  `json:"id"`
	Name         string `json:"name"`
	LoadBalancer struct {
		ID   int64 `json:"id"`
		Type struct {
			ID   int64  `json:"id"`
			Name string `json:"name"`
			Code string `json:"code"`
		} `json:"type"`
		Name string `json:"name"`
		IP   string `json:"ip"`
	} `json:"loadBalancer"`
	Code                  string      `json:"code"`
	Category              string      `json:"category"`
	ServiceType           string      `json:"serviceType"`
	ServiceTypeDisplay    string      `json:"serviceTypeDisplay"`
	Visibility            string      `json:"visibility"`
	Description           string      `json:"description"`
	InternalId            string      `json:"internalId"`
	ExternalId            string      `json:"externalId"`
	ProxyType             string      `json:"ProxyType"`
	RedirectRewrite       interface{} `json:"RedirectRewrite"`
	PersistenceType       string      `json:"PersistenceType"`
	SslEnabled            bool        `json:"SslEnabled"`
	SslCert               string      `json:"SslCert"`
	SslCertHash           string      `json:"SslCertHash"`
	AccountCertificate    string      `json:"AccountCertificate"`
	Enabled               bool        `json:"enabled"`
	RedirectUrl           string      `json:"RedirectUrl"`
	InsertXforwardedFor   bool        `json:"insertXforwardedFor"`
	PersistenceCookieName string      `json:"persistenceCookieName"`
	PersistenceExpiresIn  int64       `json:"persistenceExpiresIn"`
	Editable              bool        `json:"editable"`
	Config                struct {
		Kind                    string      `json:"kind"`
		Name                    string      `json:"name"`
		Partition               string      `json:"partition"`
		FullPath                string      `json:"fullPath"`
		Generation              int         `json:"generation"`
		SelfLink                string      `json:"selfLink"`
		AppService              string      `json:"appService"`
		ConnectionTimeout       int64       `json:"connectionTimeout"`
		EntryVirtualServer      string      `json:"entryVirtualServer"`
		ServiceDownAction       string      `json:"serviceDownAction"`
		ConnectionCloseTimeout  int64       `json:"connectionCloseTimeout"`
		FastTcpIdleTimeout      int64       `json:"fastTcpIdleTimeout"`
		FastUdpIdleTimeout      int64       `json:"fastUdpIdleTimeout"`
		HaFlowMirroring         bool        `json:"haFlowMirroring"`
		ProfileType             string      `json:"profileType"`
		XForwardedFor           string      `json:"xForwardedFor"`
		SharePersistence        bool        `json:"sharePersistence"`
		HaPersistenceMirroring  bool        `json:"haPersistenceMirroring"`
		PersistenceEntryTimeout int64       `json:"persistenceEntryTimeout"`
		ResponseTimeout         int64       `json:"responseTimeout"`
		ResponseHeaderSize      int64       `json:"responseHeaderSize"`
		RequestHeaderSize       int64       `json:"requestHeaderSize"`
		NtlmAuthentication      bool        `json:"ntlmAuthentication"`
		HttpIdleTimeout         int64       `json:"httpIdleTimeout"`
		HttpsRedirect           interface{} `json:"httpsRedirect"`
		SslSuite                string      `json:"sslSuite"`
		SupportedSslCiphers     []string    `json:"supportedSslCiphers"`
		SupportedSslProtocols   []string    `json:"supportedSslProtocols"`
		SessionCache            bool        `json:"sessionCache"`
		SessionCacheTimeout     int64       `json:"sessionCacheTimeout"`
		PreferServerCipher      bool        `json:"preferServerCipher"`
		CookieFallback          bool        `json:"cookieFallback"`
		CookieGarbling          bool        `json:"cookieGarbling"`
		CookieMode              string      `json:"cookieMode"`
		CookieName              string      `json:"cookieName"`
		Purge                   bool        `json:"purge"`
		ResourceType            string      `json:"resource_type"`
	} `json:"config"`
	CreatedBy   interface{} `json:"createdBy"`
	DateCreated string      `json:"dateCreated"`
	LastUpdated string      `json:"lastUpdated"`
}

LoadBalancer structures for use in request and response payloads

type LoadBalancerType added in v0.2.6

type LoadBalancerType struct {
	ID                          int64       `json:"id"`
	Name                        string      `json:"name"`
	Code                        string      `json:"code"`
	Enabled                     bool        `json:"enabled"`
	Internal                    bool        `json:"internal"`
	Creatable                   bool        `json:"creatable"`
	SupportsCerts               bool        `json:"supportsCerts"`
	SupportsHostname            bool        `json:"supportsHostname"`
	SupportsVip                 bool        `json:"supportsVip"`
	SupportsSticky              bool        `json:"supportsSticky"`
	SupportsBalancing           bool        `json:"supportsBalancing"`
	SupportsScheme              bool        `json:"supportsScheme"`
	SupportsFloatingIp          bool        `json:"supportsFloatingIp"`
	SupportsMonitor             bool        `json:"supportsMonitor"`
	SupportsPoolDetail          bool        `json:"supportsPoolDetail"`
	Editable                    bool        `json:"editable"`
	Removable                   bool        `json:"removable"`
	SharedVipMode               string      `json:"sharedVipMode"`
	CreateType                  string      `json:"createType"`
	Format                      string      `json:"format"`
	ZoneType                    interface{} `json:"zoneType"`
	CertSize                    interface{} `json:"certSize"`
	HasVirtualServers           bool        `json:"hasVirtualServers"`
	HasVirtualServerPolicies    interface{} `json:"hasVirtualServerPolicies"`
	HasMonitors                 bool        `json:"hasMonitors"`
	HasNodes                    bool        `json:"hasNodes"`
	HasNodeMonitors             bool        `json:"hasNodeMonitors"`
	HasNodeWeight               bool        `json:"hasNodeWeight"`
	HasPolicies                 bool        `json:"hasPolicies"`
	HasProfiles                 bool        `json:"hasProfiles"`
	HasRules                    bool        `json:"hasRules"`
	HasScripts                  bool        `json:"hasScripts"`
	HasServices                 bool        `json:"hasServices"`
	HasPools                    bool        `json:"hasPools"`
	HasPrivateVip               bool        `json:"hasPrivateVip"`
	CreateVirtualServers        bool        `json:"createVirtualServers"`
	CreateVirtualServerPolicies interface{} `json:"createVirtualServerPolicies"`
	CreateMonitors              bool        `json:"createMonitors"`
	CreateNodes                 bool        `json:"createNodes"`
	CreatePolicies              bool        `json:"createPolicies"`
	CreateProfiles              bool        `json:"createProfiles"`
	CreateRules                 bool        `json:"createRules"`
	CreateScripts               bool        `json:"createScripts"`
	CreateServices              bool        `json:"createServices"`
	CreatePools                 bool        `json:"createPools"`
	NameEditable                bool        `json:"nameEditable"`
	PoolMemberType              interface{} `json:"poolMemberType"`
	NodeResourceType            interface{} `json:"nodeResourceType"`
	ImageCode                   string      `json:"imageCode"`
	PoolSupportsStatus          interface{} `json:"poolSupportsStatus"`
	NodeSupportsStatus          bool        `json:"nodeSupportsStatus"`
	InstanceSupportsStatus      interface{} `json:"instanceSupportsStatus"`
	ProfileSupportsProxy        bool        `json:"profileSupportsProxy"`
	CreatePricePlans            bool        `json:"createPricePlans"`
	ProfileSupportsPersistence  interface{} `json:"profileSupportsPersistence"`
	ProfilesEditable            interface{} `json:"profilesEditable"`
	OptionTypes                 interface{} `json:"optionTypes"`
	VipOptionTypes              interface{} `json:"vipOptionTypes"`
}

LoadBalancerType structures for use in request and response payloads

type LoadBalancerVirtualServer added in v0.2.6

type LoadBalancerVirtualServer struct {
	ID           int64  `json:"id"`
	Name         string `json:"name"`
	LoadBalancer struct {
		ID   int64 `json:"id"`
		Type struct {
			ID   int64  `json:"id"`
			Name string `json:"name"`
			Code string `json:"code"`
		} `json:"type"`
		Name string `json:"name"`
		IP   string `json:"ip"`
	} `json:"loadBalancer"`
	Code            string      `json:"code"`
	Category        string      `json:"category"`
	Visibility      string      `json:"visibility"`
	Instance        interface{} `json:"instance"`
	Description     string      `json:"description"`
	InternalId      string      `json:"internalId"`
	ExternalId      string      `json:"externalId"`
	Active          bool        `json:"active"`
	Sticky          bool        `json:"sticky"`
	SslEnabled      interface{} `json:"sslEnabled"`
	ExternalAddress bool        `json:"externalAddress"`
	BackendPort     interface{} `json:"backendPort"`
	VipType         interface{} `json:"vipType"`
	VipAddress      string      `json:"vipAddress"`
	VipHostname     string      `json:"vipHostname"`
	VipProtocol     string      `json:"vipProtocol"`
	VipScheme       interface{} `json:"vipScheme"`
	VipMode         string      `json:"vipMode"`
	VipName         string      `json:"vipName"`
	VipPort         int         `json:"vipPort"`
	VipSticky       interface{} `json:"vipSticky"`
	VipBalance      interface{} `json:"vipBalance"`
	ServicePort     interface{} `json:"servicePort"`
	SourceAddress   interface{} `json:"sourceAddress"`
	SslCert         struct {
		ID   int    `json:"id"`
		Name string `json:"name"`
	} `json:"sslCert"`
	SslMode          interface{} `json:"sslMode"`
	SslRedirectMode  interface{} `json:"sslRedirectMode"`
	VipShared        bool        `json:"vipShared"`
	VipDirectAddress interface{} `json:"vipDirectAddress"`
	ServerName       interface{} `json:"serverName"`
	PoolName         interface{} `json:"poolName"`
	Removing         bool        `json:"removing"`
	VipSource        string      `json:"vipSource"`
	ExtraConfig      interface{} `json:"extraConfig"`
	ServiceAccess    interface{} `json:"serviceAccess"`
	NetworkId        interface{} `json:"networkId"`
	SubnetId         interface{} `json:"subnetId"`
	ExternalPortId   interface{} `json:"externalPortId"`
	Status           string      `json:"status"`
	VipStatus        string      `json:"vipStatus"`
	DateCreated      string      `json:"dateCreated"`
	LastUpdated      string      `json:"lastUpdated"`
}

LoadBalancerVirtualServer structures for use in request and response payloads

type LogSettings added in v0.1.3

type LogSettings struct {
	Enabled       bool          `json:"enabled"`
	Retentiondays string        `json:"retentionDays"`
	SyslogRules   []SyslogRule  `json:"syslogRules"`
	Integrations  []interface{} `json:"integrations"`
}

LogSettings structures for use in request and response payloads

type LoginResult

type LoginResult struct {
	AccessToken  string `json:"access_token"`
	RefreshToken string `json:"refresh_token"`
	ExpiresIn    int64  `json:"expires_in"`
	Scope        string `json:"scope"`
}

type MetaResult

type MetaResult struct {
	Total  int64       `json:"total"`
	Size   int64       `json:"size"`
	Max    interface{} `json:"max"`
	Offset int64       `json:"offset"`
}

MetaResult is a response format for describing a list of objects returned. This is present in most list results.

type MonitoringApp added in v0.1.1

type MonitoringApp struct {
	ID          int64   `json:"id"`
	Name        string  `json:"name"`
	Description string  `json:"description"`
	Active      bool    `json:"active"`
	MinHappy    string  `json:"minHappy"`
	Severity    string  `json:"severity"`
	InUptime    bool    `json:"inUptime"`
	Checks      []int64 `json:"checks"`
	CheckGroups []int64 `json:"checkGroups"`
}

MonitorApp structures for use in request and response payloads

type MonitoringSettings added in v0.3.0

type MonitoringSettings struct {
	AutoManageChecks      bool  `json:"autoManageChecks"`
	AvailabilityTimeFrame int64 `json:"availabilityTimeFrame"`
	AvailabilityPrecision int64 `json:"availabilityPrecision"`
	DefaultCheckInterval  int64 `json:"defaultCheckInterval"`
	ServiceNow            struct {
		Enabled     bool `json:"enabled"`
		Integration struct {
			ID   int64  `json:"id"`
			Name string `json:"name"`
		} `json:"integration"`
		NewIncidentAction   string `json:"newIncidentAction"`
		CloseIncidentAction string `json:"closeIncidentAction"`
		InfoMapping         string `json:"infoMapping"`
		WarningMapping      string `json:"warningMapping"`
		CriticalMapping     string `json:"criticalMapping"`
	} `json:"serviceNow"`
	NewRelic struct {
		Enabled    bool   `json:"enabled"`
		LicenseKey string `json:"licenseKey"`
	} `json:"newRelic"`
}

MonitoringSettings structures for use in request and response payloads

type Network

type Network struct {
	ID          int64    `json:"id"`
	Name        string   `json:"name"`
	DisplayName string   `json:"displayName"`
	Labels      []string `json:"labels"`
	Zone        struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"zone"`
	Type struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
		Code string `json:"code"`
	} `json:"type"`
	Owner struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"owner"`
	Code                    string      `json:"code"`
	Category                string      `json:"category"`
	InterfaceName           string      `json:"interfaceName"`
	BridgeName              string      `json:"bridgeName"`
	BridgeInterface         string      `json:"bridgeInterface"`
	Description             string      `json:"description"`
	ExternalId              string      `json:"externalId"`
	InternalId              string      `json:"internalId"`
	UniqueId                string      `json:"uniqueId"`
	ExternalType            string      `json:"externalType"`
	RefUrl                  string      `json:"refUrl"`
	RefType                 string      `json:"refType"`
	RefId                   int64       `json:"refId"`
	VlanId                  int64       `json:"vlanId"`
	VswitchName             string      `json:"vswitchName"`
	DhcpServer              bool        `json:"dhcpServer"`
	DhcpIp                  string      `json:"dhcpIp"`
	Gateway                 string      `json:"gateway"`
	Netmask                 string      `json:"netmask"`
	Broadcast               string      `json:"broadcast"`
	SubnetAddress           string      `json:"subnetAddress"`
	DnsPrimary              string      `json:"dnsPrimary"`
	DnsSecondary            string      `json:"dnsSecondary"`
	Cidr                    string      `json:"cidr"`
	TftpServer              string      `json:"tftpServer"`
	BootFile                string      `json:"bootFile"`
	SwitchId                int64       `json:"switchId"`
	FabricId                int64       `json:"fabricId"`
	NetworkRole             string      `json:"networkRole"`
	Status                  string      `json:"status"`
	AvailabilityZone        string      `json:"availabilityZone"`
	Pool                    string      `json:"pool"`
	NetworkProxy            string      `json:"networkProxy"`
	NetworkDomain           string      `json:"networkDomain"`
	SearchDomains           interface{} `json:"searchDomains"`
	PrefixLength            string      `json:"prefixLength"`
	Visibility              string      `json:"visibility"`
	EnableAdmin             bool        `json:"enableAdmin"`
	ScanNetwork             bool        `json:"scanNetwork"`
	Active                  bool        `json:"active"`
	DefaultNetwork          bool        `json:"defaultNetwork"`
	AssignPublicIp          bool        `json:"assignPublicIp"`
	ApplianceUrlProxyBypass bool        `json:"applianceUrlProxyBypass"`
	ZonePool                struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"zonePool"`
	AllowStaticOverride bool `json:"allowStaticOverride"`
	Tenants             []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"tenants"`
	Subnets []struct {
		ID         int64  `json:"id"`
		Name       string `json:"name"`
		Cidr       string `json:"cidr"`
		DhcpServer bool   `json:"dhcpServer"`
		Visibility string `json:"visibility"`
		Active     bool   `json:"active"`
		Pool       string `json:"pool"`
	} `json:"subnets"`
	ResourcePermission struct {
		All      bool `json:"all"`
		AllPlans bool `json:"allPlans"`
	}
	Config struct {
		VlanIDs                 string `json:"vlanIDs"`
		ConnectedGateway        bool   `json:"connectedGateway"`
		SubnetIpManagementType  string `json:"subnetIpManagementType"`
		SubnetIpServerId        int64  `json:"subnetIpServerId"`
		DhcpRange               string `json:"dhcpRange"`
		SubnetDhcpServerAddress string `json:"subnetDhcpServerAddress"`
		SubnetDhcpLeaseTime     string `json:"subnetDhcpLeaseTime"`
	} `json:"config"`
}

Network structures for use in request and response payloads

type NetworkDomain

type NetworkDomain struct {
	ID               int64         `json:"id"`
	Name             string        `json:"name"`
	Fqdn             string        `json:"fqdn"`
	Description      string        `json:"description"`
	Active           bool          `json:"active"`
	Visibility       string        `json:"visibility"`
	PublicZone       bool          `json:"publicZone"`
	DomainController bool          `json:"domainController"`
	DomainUsername   string        `json:"domainUsername"`
	DomainPassword   string        `json:"domainPassword"`
	DcServer         string        `json:"dcServer"`
	OuPath           string        `json:"ouPath"`
	Account          *TenantAbbrev `json:"account"`
	Owner            *TenantAbbrev `json:"owner"`
	RefSource        string        `json:"refSource"`
	RefType          string        `json:"refType"`
	RefId            int64         `json:"refId"`
}

NetworkDomain structures for use in request and response payloads

type NetworkDomainPayload

type NetworkDomainPayload struct {
	Name             string        `json:"name"`
	Fqdn             string        `json:"fqdn"`
	Description      string        `json:"description"`
	Active           bool          `json:"active"`
	Visibility       string        `json:"visibility"`
	PublicZone       bool          `json:"publicZone"`
	DomainController bool          `json:"domainController"`
	DomainUsername   string        `json:"domainUsername"`
	DomainPassword   string        `json:"domainPassword"`
	DcServer         string        `json:"dcServer"`
	OuPath           string        `json:"ouPath"`
	Account          *TenantAbbrev `json:"account"`
	Owner            *TenantAbbrev `json:"owner"`
}

type NetworkGroup added in v0.2.9

type NetworkGroup struct {
	ID          int64   `json:"id"`
	Name        string  `json:"name"`
	Description string  `json:"description"`
	Visibility  string  `json:"visibility"`
	Active      bool    `json:"active"`
	Networks    []int64 `json:"networks"`
	Subnets     []int64 `json:"subnets"`
	Tenants     []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	}
	ResourcePermission struct {
		All   bool `json:"all"`
		Sites []struct {
			ID      int64  `json:"id"`
			Name    string `json:"name"`
			Default bool   `json:"default"`
		} `json:"sites"`
		AllPlans bool `json:"allPlans"`
	} `json:"resourcePermission"`
}

NetworkGroup structures for use in request and response payloads

type NetworkGroupOption

type NetworkGroupOption struct {
	ID   string `json:"id"` // like networkGroup-55
	Name string `json:"name"`
}

type NetworkOption

type NetworkOption struct {
	ID         string `json:"id"` // like network-45
	Name       string `json:"name"`
	DhcpServer bool   `json:"dchpServer"`
}

type NetworkPayload

type NetworkPayload struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Active      bool   `json:"active"`
	Visibility  string `json:"visibility"`
}

type NetworkPool added in v0.2.7

type NetworkPool struct {
	ID   int64 `json:"id"`
	Type struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
		Code string `json:"code"`
	} `json:"type"`
	Account struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	Category      interface{} `json:"category"`
	Code          string      `json:"code"`
	Name          string      `json:"name"`
	DisplayName   string      `json:"displayName"`
	InternalId    interface{} `json:"internalId"`
	ExternalId    string      `json:"externalId"`
	DnsDomain     string      `json:"dnsDomain"`
	DnsSearchPath string      `json:"dnsSearchPath"`
	HostPrefix    interface{} `json:"hostPrefix"`
	HttpProxy     interface{} `json:"httpProxy"`
	DnsServers    []string    `json:"dnsServers"`
	DnsSuffixlist []string    `json:"dnsSuffixList"`
	DhcpServer    bool        `json:"dhcpServer"`
	DhcpIp        interface{} `json:"dhcpIp"`
	Gateway       string      `json:"gateway"`
	Netmask       string      `json:"netmask"`
	SubnetAddress string      `json:"subnetAddress"`
	IpCount       int64       `json:"ipCount"`
	FreeCount     int64       `json:"freeCount"`
	PoolEnabled   bool        `json:"poolEnabled"`
	TftpServer    interface{} `json:"tftpServer"`
	BootFile      interface{} `json:"bootFile"`
	RefType       string      `json:"refType"`
	RefId         string      `json:"refId"`
	ParentType    string      `json:"parentType"`
	ParentId      string      `json:"parentId"`
	PoolGroup     interface{} `json:"poolGroup"`
	IpRanges      []struct {
		ID           int64       `json:"id"`
		StartAddress string      `json:"startAddress"`
		EndAddress   string      `json:"endAddress"`
		InternalId   interface{} `json:"internalId"`
		ExternalId   interface{} `json:"externalId"`
		Description  interface{} `json:"description"`
		AddressCount int64       `json:"addressCount"`
		Active       bool        `json:"active"`
		DateCreated  string      `json:"dateCreated"`
		LastUpdated  string      `json:"lastUpdated"`
		Cidr         interface{} `json:"cidr"`
	} `json:"ipRanges"`
}

NetworkPool structures for use in request and response payloads

type NetworkPoolServer added in v0.2.7

type NetworkPoolServer struct {
	ID   int64 `json:"id"`
	Type struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
		Code string `json:"code"`
	} `json:"type"`
	Name                string `json:"name"`
	Enabled             bool   `json:"enabled"`
	ServiceUrl          string `json:"serviceUrl"`
	ServiceHost         string `json:"serviceHost"`
	ServicePort         int64  `json:"servicePort"`
	ServiceMode         string `json:"serviceMode"`
	ServiceUsername     string `json:"serviceUsername"`
	ServicePassword     string `json:"servicePassword"`
	Status              string `json:"status"`
	StatusMessage       string `json:"statusMessage"`
	StatusDate          string `json:"statusDate"`
	ServiceThrottleRate int64  `json:"serviceThrottleRate"`
	IgnoreSsl           bool   `json:"ignoreSsl"`
	Config              struct {
		AppId             string `json:"appId"`
		InventoryExisting string `json:"inventoryExisting"`
		ExtraAttributes   string `json:"extraAttributes"`
	} `json:"config"`
	NetworkFilter string `json:"networkFilter"`
	ZoneFilter    string `json:"zoneFilter"`
	TenantMatch   string `json:"tenantMatch"`
	DateCreated   string `json:"dateCreated"`
	LastUpdated   string `json:"lastUpdated"`
	Account       struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	Integration struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"integration"`
	Pools []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"pools"`
	Credential struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
		Type string `json:"type"`
	}
}

NetworkPoolServer structures for use in request and response payloads

type NetworkProxy added in v0.2.6

type NetworkProxy struct {
	ID               int64  `json:"id"`
	Name             string `json:"name"`
	ProxyHost        string `json:"proxyHost"`
	ProxyPort        int64  `json:"proxyPort"`
	ProxyUser        string `json:"proxyUser"`
	ProxyPassword    string `json:"proxyPassword"`
	ProxyWorkstation string `json:"proxyWorkstation"`
	ProxyDomain      string `json:"proxyDomain"`
	Visibility       string `json:"visibility"`
	Account          struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	Owner struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"owner"`
}

NetworkProxy structures for use in request and response payloads

type NetworkRoute added in v0.2.7

type NetworkRoute struct {
	ID                int64       `json:"id"`
	Name              string      `json:"name"`
	Code              string      `json:"code"`
	Description       string      `json:"description"`
	Priority          string      `json:"priority"`
	RouteType         string      `json:"routeType"`
	Source            string      `json:"source"`
	SourceType        string      `json:"sourceType"`
	Destination       string      `json:"destination"`
	DestinationType   string      `json:"destinationType"`
	DefaultRoute      bool        `json:"defaultRoute"`
	NetworkMtu        interface{} `json:"networkMtu"`
	ExternalInterface string      `json:"externalInterface"`
	InternalId        string      `json:"internalId"`
	UniqueId          string      `json:"uniqueId"`
	ExternalType      string      `json:"externalType"`
	Enabled           bool        `json:"enabled"`
	Visible           bool        `json:"visible"`
}

NetworkRoute structures for use in request and response payloads

type NetworkSubnet added in v0.2.7

type NetworkSubnet struct {
	ID             int64       `json:"id"`
	Name           string      `json:"name"`
	Code           string      `json:"code"`
	Labels         []string    `json:"labels"`
	Active         bool        `json:"active"`
	Description    string      `json:"description"`
	ExternalId     string      `json:"externalId"`
	UniqueId       string      `json:"uniqueId"`
	AddressPrefix  string      `json:"addressPrefix"`
	Cidr           string      `json:"cidr"`
	Gateway        string      `json:"gateway"`
	Netmask        string      `json:"netmask"`
	SubnetAddress  string      `json:"subnetAddress"`
	TftpServer     string      `json:"tftpServer"`
	BootFile       string      `json:"bootFile"`
	Pool           interface{} `json:"pool"`
	Dhcpserver     bool        `json:"dhcpServer"`
	Hasfloatingips bool        `json:"hasFloatingIps"`
	DhcpIp         string      `json:"dhcpIp"`
	DnsPrimary     string      `json:"dnsPrimary"`
	DnsSecondary   string      `json:"dnsSecondary"`
	DhcpStart      string      `json:"dhcpStart"`
	DhcpEnd        string      `json:"dhcpEnd"`
	DhcpRange      interface{} `json:"dhcpRange"`
	NetworkSubnet  interface{} `json:"networkSubnet"`
	NetworkDomain  interface{} `json:"networkDomain"`
	SearchDomains  interface{} `json:"searchDomains"`
	DefaultNetwork bool        `json:"defaultNetwork"`
	AssignPublicIp bool        `json:"assignPublicIp"`
	Status         struct {
		Name     string `json:"name"`
		EnumType string `json:"enumType"`
	} `json:"status"`
	Network struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"network"`
	Type struct {
		ID   int64  `json:"id"`
		Code string `json:"code"`
		Name string `json:"name"`
	} `json:"type"`
	Account struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	Securitygroups []interface{} `json:"securityGroups"`
	Tenants        []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"tenants"`
	ResourcePermission struct {
		All      bool          `json:"all"`
		Sites    []interface{} `json:"sites"`
		AllPlans bool          `json:"allPlans"`
		Plans    []interface{} `json:"plans"`
	} `json:"resourcePermission"`
	Visibility string `json:"visibility"`
}

NetworkSubnet structures for use in request and response payloads

type NetworkTypeOption

type NetworkTypeOption struct {
	ID          int64  `json:"id"`
	Name        string `json:"name"`
	Code        string `json:"code"`
	ExternalId  string `json:"externalId"`
	Enabled     bool   `json:"enabled"`
	DefaultType bool   `json:"defaultType"`
}

type NodeType

type NodeType struct {
	ID      int64 `json:"id"`
	Account struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	Name             string   `json:"name"`
	Labels           []string `json:"labels"`
	ShortName        string   `json:"shortName"`
	Code             string   `json:"code"`
	ContainerVersion string   `json:"containerVersion"`
	ProvisionType    struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
		Code string `json:"code"`
	} `json:"provisionType"`
	VirtualImage struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"virtualImage"`
	Category string `json:"category"`
	Config   struct {
		ExtraOptions map[string]interface{} `json:"extraOptions"`
	} `json:"config"`
	ContainerPorts   []ContainerPort `json:"containerPorts"`
	ContainerScripts []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"containerScripts"`
	ContainerTemplates []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"containerTemplates"`
	EnvironmentVariables []struct {
		EvarName     string `json:"evarName"`
		Name         string `json:"name"`
		DefaultValue string `json:"defaultValue"`
		ValueType    string `json:"valueType"`
		Export       bool   `json:"export"`
		Masked       bool   `json:"masked"`
	} `json:"environmentVariables"`
}

NodeType structures for use in request and response payloads

type OauthClient added in v0.2.9

type OauthClient struct {
	ID                          int64    `json:"id"`
	ClientID                    string   `json:"clientId"`
	AccessTokenValiditySeconds  int64    `json:"accessTokenValiditySeconds"`
	RefreshTokenValiditySeconds int64    `json:"refreshTokenValiditySeconds"`
	Authorities                 []string `json:"authorities"`
	AuthorizedGrantTypes        []string `json:"authorizedGrantTypes"`
	Scopes                      []string `json:"scopes"`
}

OauthClient structures for use in request and response payloads

type Option added in v0.3.7

type Option struct {
	ID                 int64       `json:"id"`
	Name               string      `json:"name"`
	Description        string      `json:"description"`
	Labels             []string    `json:"labels"`
	Code               string      `json:"code"`
	FieldName          string      `json:"fieldName"`
	FieldLabel         string      `json:"fieldLabel"`
	FieldCode          string      `json:"fieldCode"`
	FieldContext       string      `json:"fieldContext"`
	FieldGroup         interface{} `json:"fieldGroup"`
	FieldClass         interface{} `json:"fieldClass"`
	FieldAddOn         interface{} `json:"fieldAddOn"`
	FieldComponent     interface{} `json:"fieldComponent"`
	FieldInput         interface{} `json:"fieldInput"`
	PlaceHolder        string      `json:"placeHolder"`
	VerifyPattern      string      `json:"verifyPattern"`
	HelpBlock          string      `json:"helpBlock"`
	HelpBlockFieldCode string      `json:"helpBlockFieldCode"`
	DefaultValue       string      `json:"defaultValue"`
	OptionSource       string      `json:"optionSource"`
	OptionSourceType   string      `json:"optionSourceType"`
	OptionList         struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"optionList"`
	Type       string `json:"type"`
	Advanced   bool   `json:"advanced"`
	Required   bool   `json:"required"`
	ExportMeta bool   `json:"exportMeta"`
	Editable   bool   `json:"editable"`
	Creatable  bool   `json:"creatable"`
	Config     struct {
		AddOn                      string `json:"addon"`
		AddOnPosition              string `json:"addonPosition"`
		AllowDuplicates            bool   `json:"allowDuplicates"`
		AsObject                   bool   `json:"asObject"`
		CanPeek                    bool   `json:"canPeek"`
		CloudCodeField             string `json:"cloudCodeField"`
		CloudField                 string `json:"cloudField"`
		CloudFieldType             string `json:"cloudFieldType"`
		CloudType                  string `json:"cloudType"`
		CloudId                    string `json:"cloudId"`
		CustomData                 string `json:"customData"`
		DefaultValue               string `json:"defaultValue"`
		DiskField                  string `json:"diskField"`
		Display                    string `json:"display"`
		EnableDatastoreSelection   bool   `json:"enableDatastoreSelection"`
		EnableDiskTypeSelection    bool   `json:"enableDiskTypeSelection"`
		EnableIPModeSelection      bool   `json:"enableIPModeSelection"`
		EnableStorageTypeSelection bool   `json:"enableStorageTypeSelection"`
		FilterResource             bool   `json:"filterResource"`
		Group                      string `json:"group"`
		GroupId                    string `json:"groupId"`
		GroupFieldType             string `json:"groupFieldType"`
		InstanceTypeCode           string `json:"instanceTypeCode"`
		InstanceTypeFieldCode      string `json:"instanceTypeFieldCode"`
		InstanceTypeFieldType      string `json:"instanceTypeFieldType"`
		Lang                       string `json:"lang"`
		LayoutId                   string `json:"layoutId"`
		LayoutField                string `json:"layoutField"`
		LayoutFieldType            string `json:"layoutFieldType"`
		LockDisplay                bool   `json:"lockDisplay"`
		Sortable                   bool   `json:"sortable"`
		MultiSelect                bool   `json:"multiSelect"`
		PlanFieldType              string `json:"planFieldType"`
		PlanField                  string `json:"planField"`
		PlanId                     string `json:"planId"`
		PoolId                     string `json:"poolId"`
		PoolField                  string `json:"poolField"`
		PoolFieldType              string `json:"poolFieldType"`
		ResourcePoolField          string `json:"resourcePoolField"`
		Separator                  string `json:"separator"`
		ShowLineNumbers            bool   `json:"showLineNumbers"`
		ShowNetworkTypeSelection   bool   `json:"showNetworkTypeSelection"`
		ShowPricing                bool   `json:"showPricing"`
		Step                       int64  `json:"step"`
		Rows                       int64  `json:"rows"`
	} `json:"config"`
	DisplayOrder          int64       `json:"displayOrder"`
	WrapperClass          interface{} `json:"wrapperClass"`
	Enabled               bool        `json:"enabled"`
	NoBlank               bool        `json:"noBlank"`
	DependsOnCode         string      `json:"dependsOnCode"`
	VisibleOnCode         string      `json:"visibleOnCode"`
	RequireOnCode         string      `json:"requireOnCode"`
	ContextualDefault     bool        `json:"contextualDefault"`
	DisplayValueOnDetails bool        `json:"displayValueOnDetails"`
	ShowOnCreate          bool        `json:"showOnCreate"`
	ShowOnEdit            bool        `json:"showOnEdit"`
	LocalCredential       bool        `json:"localCredential"`
	FormField             bool        `json:"formField"`
	ExcludeFromSearch     bool        `json:"excludeFromSearch"`
	IsHidden              bool        `json:"isHidden"`
	IsLocked              bool        `json:"isLocked"`
	MinVal                int64       `json:"minVal"`
	MaxVal                int64       `json:"maxVal"`
}

type OptionList

type OptionList struct {
	ID                  int64    `json:"id"`
	Name                string   `json:"name"`
	Labels              []string `json:"labels"`
	Description         string   `json:"description"`
	Type                string   `json:"type"`
	SourceURL           string   `json:"sourceUrl"`
	Visibility          string   `json:"visibility"`
	SourceMethod        string   `json:"sourceMethod"`
	APIType             string   `json:"apiType,omitempty"`
	IgnoreSSLErrors     bool     `json:"ignoreSSLErrors"`
	RealTime            bool     `json:"realTime"`
	InitialDataset      string   `json:"initialDataset"`
	TranslationScript   string   `json:"translationScript"`
	RequestScript       string   `json:"requestScript"`
	ServiceUsername     string   `json:"serviceUsername"`
	ServicePassword     string   `json:"servicePassword"`
	ServicePasswordHash string   `json:"servicePasswordHash"`
	Config              struct {
		SourceHeaders []SourceHeader `json:"sourceHeaders"`
	} `json:"config"`
	Credential struct {
		Type string `json:"type"`
	} `json:"credential"`
	Account struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
}

OptionLists structures for use in request and response payloads

type OptionSourceOption

type OptionSourceOption struct {
	Name  string      `json:"name"`
	Value interface{} `json:"value"` // ugh, this can be a number or a string
	// sometimes ID and Code are also returned as a convenience
	ID         int64  `json:"id"`
	Code       string `json:"code"`
	ExternalId string `json:"externalId"`
}

type OptionType

type OptionType struct {
	ID           int64    `json:"id"`
	Name         string   `json:"name"`
	Description  string   `json:"description"`
	Labels       []string `json:"labels"`
	Code         string   `json:"code"`
	Type         string   `json:"type"`
	FieldName    string   `json:"fieldName"`
	FieldLabel   string   `json:"fieldLabel"`
	PlaceHolder  string   `json:"placeHolder"`
	DefaultValue string   `json:"defaultValue"`
	Required     bool     `json:"required"`
	ExportMeta   bool     `json:"exportMeta"`
	OptionSource string   `json:"optionSource"`
	OptionList   struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"optionList"`
	HelpBlock             string `json:"helpBlock"`
	Editable              bool   `json:"editable"`
	Creatable             bool   `json:"creatable"`
	DependsOnCode         string `json:"dependsOnCode"`
	VerifyPattern         string `json:"verifyPattern"`
	VisibleOnCode         string `json:"visibleOnCode"`
	RequireOnCode         string `json:"requireOnCode"`
	ContextualDefault     bool   `json:"contextualDefault"`
	DisplayValueOnDetails bool   `json:"displayValueOnDetails"`
	ShowOnCreate          bool   `json:"showOnCreate"`
	ShowOnEdit            bool   `json:"showOnEdit"`
	Config                struct {
		Rows        string      `json:"rows"`
		MultiSelect interface{} `json:"multiSelect"`
	} `json:"config"`
}

OptionType structures for use in request and response payloads

type Output added in v0.3.9

type Output struct {
}

type Owner added in v0.2.5

type Owner struct {
	ID       int64  `json:"id"`
	Username string `json:"username"`
}

type PlaceCatalogOrderResult added in v0.3.4

type PlaceCatalogOrderResult struct {
	Success    bool                   `json:"success"`
	Msg        string                 `json:"msg"`
	Errors     map[string]interface{} `json:"errors"`
	ItemErrors interface{}            `json:"itemErrors"`
	Order      CatalogOrder           `json:"order"`
}

PlaceCatalogOrderResult structure parses the place catalog order response payload

type Plan

type Plan struct {
	ID          int64  `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Code        string `json:"code"`
	Visibility  string `json:"visibility"`
}

Plan structures for use in request and response payloads

type Plugin added in v0.2.6

type Plugin struct {
	ID                    int64  `json:"id"`
	Name                  string `json:"name"`
	Description           string `json:"description"`
	Version               string `json:"version"`
	RefType               string `json:"refType"`
	Enabled               bool   `json:"enabled"`
	Author                string `json:"author"`
	WebsiteUrl            string `json:"websiteUrl"`
	SourceCodeLocationUrl string `json:"sourceCodeLocationUrl"`
	IssueTrackerUrl       string `json:"issueTrackerUrl"`
	Valid                 bool   `json:"valid"`
	Status                string `json:"status"`
	StatusMessage         string `json:"statusMessage"`
	Providers             []struct {
		Type string `json:"type"`
		Name string `json:"name"`
	} `json:"providers"`
	Config      interface{}   `json:"config"`
	OptionTypes []interface{} `json:"optionTypes"`
	DateCreated time.Time     `json:"dateCreated"`
	LastUpdated time.Time     `json:"lastUpdated"`
}

Plugin structures for use in request and response payloads

type Policy

type Policy struct {
	ID          int64  `json:"id"`
	Name        string `json:"name"`
	Enabled     bool   `json:"enabled"`
	Description string `json:"description"`
	EachUser    bool   `json:"eachUser"`
	PolicyType  struct {
		ID   int64  `json:"id"`
		Code string `json:"code"`
		Name string `json:"name"`
	} `json:"policyType"`
	Config struct {
		ShutdownType                     string      `json:"shutdownType"`
		ShutdownAge                      string      `json:"shutdownAge"`
		ShutdownRenewal                  string      `json:"shutdownRenewal"`
		ShutdownNotify                   string      `json:"shutdownNotify"`
		ShutdownMessage                  string      `json:"shutdownMessage"`
		ShutdownAutoRenew                string      `json:"shutdownAutoRenew"`
		ShutdownExtensionsBeforeApproval string      `json:"shutdownExtensionsBeforeApproval"`
		ShutdownHideFixed                bool        `json:"shutdownHideFixed"`
		Strict                           bool        `json:"strict"`
		Key                              string      `json:"key"`
		ValueListId                      string      `json:"valueListId"`
		Value                            string      `json:"value"`
		PowerSchedule                    string      `json:"powerSchedule"`
		PowerScheduleType                string      `json:"powerScheduleType"`
		AccountIntegrationId             int64       `json:"accountIntegrationId"`
		WorkflowID                       int64       `json:"workflowId"`
		CreateUser                       string      `json:"createUser"`
		CreateUserType                   string      `json:"createUserType"`
		MaxSnapshots                     string      `json:"maxSnapshots"`
		ExcludeContainers                string      `json:"excludeContainers"`
		MaxRouters                       string      `json:"maxRouters"`
		MaxNetworks                      string      `json:"maxNetworks"`
		MaxVms                           string      `json:"maxVms"`
		MaxStorage                       string      `json:"maxStorage"`
		MaxPools                         string      `json:"maxPools"`
		MaxPoolMembers                   string      `json:"maxPoolMembers"`
		MaxMemory                        string      `json:"maxMemory"`
		MaxHosts                         string      `json:"maxHosts"`
		MaxCores                         string      `json:"maxCores"`
		MaxContainers                    string      `json:"maxContainers"`
		MaxVirtualServers                string      `json:"maxVirtualServers"`
		NamingType                       string      `json:"namingType"`
		NamingPattern                    string      `json:"namingPattern"`
		NamingConflict                   string      `json:"namingConflict"`
		HostNamingType                   string      `json:"hostNamingType"`
		HostNamingPattern                string      `json:"hostNamingPattern"`
		MaxPrice                         string      `json:"maxPrice"`
		MaxPriceCurrency                 string      `json:"maxPriceCurrency"`
		MaxPriceUnit                     string      `json:"maxPriceUnit"`
		RemovalAge                       string      `json:"removalAge"`
		MotdTitle                        string      `json:"motd.title"`
		MotdMessage                      string      `json:"motd.message"`
		MotdType                         string      `json:"motd.type"`
		MotdFullPage                     interface{} `json:"motd.fullPage"`
		MotdDate                         string      `json:"motd.date"`
		Motd                             struct {
			Title    string `json:"title"`
			Message  string `json:"message"`
			Type     string `json:"type"`
			FullPage string `json:"fullPage"`
		} `json:"motd"`
		KeyPattern                        string      `json:"keyPattern"`
		Read                              string      `json:"read"`
		Write                             string      `json:"write"`
		Update                            string      `json:"update"`
		Delete                            string      `json:"delete"`
		List                              string      `json:"list"`
		UserGroup                         string      `json:"userGroup"`
		ServerNamingType                  string      `json:"serverNamingType"`
		ServerNamingPattern               string      `json:"serverNamingPattern"`
		ServerNamingConflict              interface{} `json:"serverNamingConflict"`
		CreateBackup                      string      `json:"createBackup"`
		CreateBackupType                  string      `json:"createBackupType"`
		LifecycleType                     string      `json:"lifecycleType"`
		LifecycleAge                      string      `json:"lifecycleAge"`
		LifecycleRenewal                  string      `json:"lifecycleRenewal"`
		LifecycleNotify                   string      `json:"lifecycleNotify"`
		LifecycleMessage                  string      `json:"lifecycleMessage"`
		LifecycleExtensionsBeforeApproval string      `json:"lifecycleExtensionsBeforeApproval"`
		LifecycleAutoRenew                interface{} `json:"lifecycleAutoRenew"`
		LifecycleHideFixed                bool        `json:"lifecycleHideFixed"`
	} `json:"config"`
	Owner struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"owner"`
	RefID   int64  `json:"refId"`
	RefType string `json:"refType"`
	Role    struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"role"`
	Site struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"site"`
	User struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"user"`
	Zone struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"zone"`
	Accounts []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	}
}

Policy structures for use in request and response payloads

type Pool added in v0.3.6

type Pool struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
	Zone struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"zone"`
	Parent struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"parent"`
	Type        string      `json:"type"`
	ExternalId  string      `json:"externalId"`
	RegionCode  string      `json:"regionCode"`
	Visibility  string      `json:"visibility"`
	ReadOnly    bool        `json:"readOnly"`
	DefaultPool bool        `json:"defaultPool"`
	Active      bool        `json:"active"`
	Status      string      `json:"status"`
	Inventory   bool        `json:"inventory"`
	Config      interface{} `json:"config"`
	Tenants     []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"tenants"`
	ResourcePermission struct {
		All   bool `json:"all"`
		Sites []struct {
			ID      int64  `json:"id"`
			Name    string `json:"name"`
			Default bool   `json:"default"`
		} `json:"sites"`
		AllPlans bool `json:"allPlans"`
		Plans    []struct {
			ID      int64  `json:"id"`
			Name    string `json:"name"`
			Default bool   `json:"default"`
		} `json:"plans"`
	} `json:"resourcePermission"`
	Depth int64 `json:"depth"`
}

Resource Pool

type PowerSchedule added in v0.1.1

type PowerSchedule struct {
	ID               int64   `json:"id"`
	Name             string  `json:"name"`
	Description      string  `json:"description"`
	ScheduleType     string  `json:"scheduleType"`
	ScheduleTimeZone string  `json:"scheduleTimezone"`
	Enabled          bool    `json:"enabled"`
	SundayOn         float64 `json:"sundayOn"`
	SundayOff        float64 `json:"sundayOff"`
	MondayOn         float64 `json:"mondayOn"`
	MondayOff        float64 `json:"mondayOff"`
	TuesdayOn        float64 `json:"tuesdayOn"`
	TuesdayOff       float64 `json:"tuesdayOff"`
	WednesdayOn      float64 `json:"wednesdayOn"`
	WednesdayOff     float64 `json:"wednesdayOff"`
	ThursdayOn       float64 `json:"thursdayOn"`
	ThursdayOff      float64 `json:"thursdayOff"`
	FridayOn         float64 `json:"fridayOn"`
	FridayOff        float64 `json:"fridayOff"`
	SaturdayOn       float64 `json:"saturdayOn"`
	SaturdayOff      float64 `json:"saturdayOff"`
}

PowerSchedule structures for use in request and response payloads

type PreseedScript added in v0.1.9

type PreseedScript struct {
	ID      int64 `json:"id"`
	Account struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	FileName    string      `json:"fileName"`
	Description interface{} `json:"description"`
	Content     string      `json:"content"`
	CreatedBy   struct {
		Username string `json:"username"`
	} `json:"createdBy"`
}

PreseedScript structures for use in request and response payloads

type Price added in v0.1.1

type Price struct {
	ID                  int64   `json:"id"`
	Name                string  `json:"name"`
	Code                string  `json:"code"`
	Active              bool    `json:"active"`
	PriceType           string  `json:"priceType"`
	PriceUnit           string  `json:"priceUnit"`
	AdditionalPriceUnit string  `json:"additionalPriceUnit"`
	Price               float64 `json:"price"`
	CustomPrice         float64 `json:"customPrice"`
	MarkupType          string  `json:"markupType"`
	Markup              float64 `json:"markup"`
	MarkupPercent       float64 `json:"markupPercent"`
	Cost                float64 `json:"cost"`
	Currency            string  `json:"currency"`
	IncurCharges        string  `json:"incurCharges"`
	Platform            string  `json:"platform"`
	Software            string  `json:"software"`
	RestartUsage        bool    `json:"restartUsage"`
	Volumetype          struct {
		ID   int64  `json:"id"`
		Code string `json:"code"`
		Name string `json:"name"`
	} `json:"volumeType"`
	Datastore struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"datastore"`
	CrossCloudApply bool `json:"crossCloudApply"`
	Zone            struct {
		ID int64 `json:"id"`
	} `json:"zone"`
	Zonepool struct {
		ID int64 `json:"id"`
	} `json:"zonePool"`
	Account interface{} `json:"account"`
}

Prices structures for use in request and response payloads

type PriceSet added in v0.1.1

type PriceSet struct {
	ID            int64                  `json:"id"`
	Name          string                 `json:"name"`
	Code          string                 `json:"code"`
	Active        bool                   `json:"active"`
	PriceUnit     string                 `json:"priceUnit"`
	Type          string                 `json:"type"`
	RegionCode    string                 `json:"regionCode"`
	SystemCreated bool                   `json:"systemCreated"`
	Zone          map[string]interface{} `json:"zone"`
	ZonePool      map[string]interface{} `json:"zonePool"`
	Prices        []Price                `json:"prices"`
	RestartUsage  bool                   `json:"restartUsage"`
}

PriceSets structures for use in request and response payloads

type ProvisionType added in v0.1.2

type ProvisionType struct {
	ID                   int64       `json:"id"`
	Name                 string      `json:"name"`
	Description          interface{} `json:"description"`
	Code                 string      `json:"code"`
	Aclenabled           bool        `json:"aclEnabled"`
	Multitenant          bool        `json:"multiTenant"`
	Managed              bool        `json:"managed"`
	Hostnetwork          bool        `json:"hostNetwork"`
	Customsupported      bool        `json:"customSupported"`
	Mapports             bool        `json:"mapPorts"`
	Exportserver         interface{} `json:"exportServer"`
	Viewset              string      `json:"viewSet"`
	Servertype           string      `json:"serverType"`
	Hosttype             string      `json:"hostType"`
	Addvolumes           bool        `json:"addVolumes"`
	Hasdatastore         bool        `json:"hasDatastore"`
	Hasnetworks          interface{} `json:"hasNetworks"`
	Maxnetworks          interface{} `json:"maxNetworks"`
	Customizevolume      bool        `json:"customizeVolume"`
	Rootdiskcustomizable bool        `json:"rootDiskCustomizable"`
	Lvmsupported         bool        `json:"lvmSupported"`
	Hostdiskmode         string      `json:"hostDiskMode"`
	Mindisk              int64       `json:"minDisk"`
	Maxdisk              interface{} `json:"maxDisk"`
	Resizecopiesvolumes  bool        `json:"resizeCopiesVolumes"`
	Optiontypes          []struct {
		Name         string      `json:"name"`
		Description  interface{} `json:"description"`
		Fieldname    string      `json:"fieldName"`
		Fieldlabel   string      `json:"fieldLabel"`
		Fieldcontext string      `json:"fieldContext"`
		Fieldaddon   interface{} `json:"fieldAddOn"`
		Placeholder  interface{} `json:"placeHolder"`
		Helpblock    string      `json:"helpBlock"`
		Defaultvalue interface{} `json:"defaultValue"`
		Optionsource string      `json:"optionSource"`
		Type         string      `json:"type"`
		Advanced     bool        `json:"advanced"`
		Required     bool        `json:"required"`
		Editable     bool        `json:"editable"`
		Displayorder int64       `json:"displayOrder"`
	} `json:"optionTypes"`
	Customoptiontypes []interface{} `json:"customOptionTypes"`
	Networktypes      []interface{} `json:"networkTypes"`
	Storagetypes      []struct {
		ID                int64       `json:"id"`
		Code              string      `json:"code"`
		Name              string      `json:"name"`
		Displayorder      int64       `json:"displayOrder"`
		Defaulttype       bool        `json:"defaultType"`
		Customlabel       bool        `json:"customLabel"`
		Customsize        bool        `json:"customSize"`
		Customsizeoptions interface{} `json:"customSizeOptions"`
	} `json:"storageTypes"`
	Rootstoragetypes []struct {
		ID                int64       `json:"id"`
		Code              string      `json:"code"`
		Name              string      `json:"name"`
		Displayorder      int64       `json:"displayOrder"`
		Defaulttype       bool        `json:"defaultType"`
		Customlabel       bool        `json:"customLabel"`
		Customsize        bool        `json:"customSize"`
		Customsizeoptions interface{} `json:"customSizeOptions"`
	} `json:"rootStorageTypes"`
	Controllertypes []interface{} `json:"controllerTypes"`
}

Provision Type structures for use in request and response payloads

type ProvisioningSettings added in v0.1.6

type ProvisioningSettings struct {
	AllowZoneSelection          bool   `json:"allowZoneSelection"`
	AllowServerSelection        bool   `json:"allowServerSelection"`
	RequireEnvironments         bool   `json:"requireEnvironments"`
	ShowPricing                 bool   `json:"showPricing"`
	HideDatastoreStats          bool   `json:"hideDatastoreStats"`
	CrossTenantNamingPolicies   bool   `json:"crossTenantNamingPolicies"`
	ReuseSequence               bool   `json:"reuseSequence"`
	ShowConsoleKeyboardSettings bool   `json:"showConsoleKeyboardSettings"`
	CloudInitUsername           string `json:"cloudInitUsername"`
	CloudInitPassword           string `json:"cloudInitPassword"`
	CloudInitPasswordHash       string `json:"cloudInitPasswordHash"`
	Cloudinitkeypair            struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"cloudInitKeyPair"`
	WindowsPassword     string `json:"windowsPassword"`
	WindowsPasswordHash string `json:"windowsPasswordHash"`
	PXERootPassword     string `json:"pxeRootPassword"`
	PXERootPasswordHash string `json:"pxeRootPasswordHash"`
	DefaultTemplateType struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
		Code string `json:"code"`
	} `json:"defaultTemplateType"`
	DeployStorageProvider struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"deployStorageProvider"`
}

ProvisioningSettings structures for use in request and response payloads

type RefreshCloudResult added in v0.3.6

type RefreshCloudResult struct {
	StandardResult
}

type ReindexSearchResult added in v0.4.0

type ReindexSearchResult struct {
	StandardResult
}

type RemoveCatalogItemCartResult added in v0.3.4

type RemoveCatalogItemCartResult struct {
	DeleteResult
}

RemoveCatalogItemCartResult structure parses the remove catalog item response payload

type ReportType added in v0.2.1

type ReportType struct {
	ID                   int64  `json:"id"`
	Code                 string `json:"code"`
	Name                 string `json:"name"`
	Description          string `json:"description"`
	Category             string `json:"category"`
	Visible              bool   `json:"visible"`
	MasterOnly           bool   `json:"masterOnly"`
	OwnerOnly            bool   `json:"ownerOnly"`
	SupportsAllZoneTypes bool   `json:"supportsAllZoneTypes"`
	IsPlugin             bool   `json:"isPlugin"`
	DateCreated          string `json:"dateCreated"`
	OptionTypes          []struct {
		ID   int64  `json:"id"`
		Code string `json:"code"`
		Name string `json:"name"`
	} `json:"optionTypes"`
	SupportedZoneTypes []struct {
		ID   int64  `json:"id"`
		Code string `json:"code"`
		Name string `json:"name"`
	} `json:"supportedZoneTypes"`
}

ReportType structures for use in request and response payloads

type Repository

type Repository struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
}

type Request

type Request struct {
	Method      string
	Path        string
	QueryParams map[string]string
	Headers     map[string]string
	Body        map[string]interface{}
	// FormData interface{}
	// FormData map[string]interface{}
	FormData map[string]string

	// Client Client
	SkipLogin         bool // used for anonymous api calls, otherwise Login() is always called to get token
	SkipAuthorization bool // do not automatically add header for Authorization: Bearer AccessToken
	Timeout           int  // todo:  dictate request timeout

	Result interface{}

	IsMultiPart bool

	IsStream   bool
	StreamBody string
	// setContentLength    bool
	// isSaveResponse      bool
	// notParseResponse    bool
	// jsonEscapeHTML      bool
	// trace               bool
	// outputFile          string
	// fallbackContentType string
	// ctx                 context.Context
	// pathParams          map[string]string
	// values              map[string]interface{}
	// client              *Client
	// bodyBuf             *bytes.Buffer
	// clientTrace         *clientTrace
	MultiPartFiles []*FilePayload
	// contains filtered or unexported fields
}

func (*Request) String

func (req *Request) String() string

type Reservation added in v0.1.5

type Reservation struct {
	ResourceID   int64  `json:"resourceId"`
	ResourceType string `json:"resourceType"`
}

type ResourcePool

type ResourcePool struct {
	ID          int64  `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Zone        struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"zone"`
	Active      bool        `json:"active"`
	Type        string      `json:"type"`
	ExternalId  string      `json:"externalId"`
	ReadOnly    bool        `json:"readOnly"`
	DefaultPool bool        `json:"defaultPool"`
	RegionCode  interface{} `json:"regionCode"`
	IacId       interface{} `json:"iacId"`
	Status      string      `json:"status"`
	Inventory   bool        `json:"inventory"`
	Visibility  string      `json:"visibility"`
	Config      struct {
		CidrBlock string `json:"cidrBlock"`
		Tenancy   string `json:"tenancy"`
	} `json:"config"`
	Tenants []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"tenants"`
	ResourcePermission struct {
		All      string        `json:"all"`
		Sites    []interface{} `json:"sites"`
		Plans    []interface{} `json:"plans"`
		AllPlans string        `json:"allPlans"`
	} `json:"resourcePermission"`
}

ResourcePool structures for use in request and response payloads

type ResourcePoolGroup added in v0.3.1

type ResourcePoolGroup struct {
	ID          int64   `json:"id"`
	Name        string  `json:"name"`
	Description string  `json:"description"`
	Visibility  string  `json:"visibility"`
	Mode        string  `json:"mode"`
	Pools       []int64 `json:"pools"`
	Tenants     []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"tenants"`
	ResourcePermission struct {
		All   bool `json:"all"`
		Sites []struct {
			ID      int64  `json:"id"`
			Name    string `json:"name"`
			Default bool   `json:"default"`
		} `json:"sites"`
	} `json:"resourcePermission"`
}

ResourcePoolGroup structures for use in request and response payloads

type ResourcePoolPayload

type ResourcePoolPayload struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Active      bool   `json:"active"`
	Visibility  string `json:"visibility"`
}

type Response

type Response struct {
	RestyResponse *resty.Response
	Success       bool
	StatusCode    int
	Status        string
	Body          []byte
	Error         error
	ReceivedAt    time.Time
	Size          int64

	// This holds the parsed JSON for convenience
	JsonData interface{}

	// This holds any error encountering JsonData
	JsonParseError error

	Result interface{}
	// contains filtered or unexported fields
}

func (*Response) GetRequest

func (resp *Response) GetRequest() (req *Request)

func (*Response) SetRequest

func (resp *Response) SetRequest(req *Request) *Response

func (*Response) String

func (resp *Response) String() string

type Role

type Role struct {
	ID                int64  `json:"id"`
	Name              string `json:"name"`
	Description       string `json:"description"`
	LandingUrl        string `json:"landingUrl"`
	Scope             string `json:"scope"`
	RoleType          string `json:"roleType"`
	MultiTenant       bool   `json:"multitenant"`
	MultiTenantLocked bool   `json:"multitenantLocked"`
	Diverged          bool   `json:"diverged"`
	OwnerId           int64  `json:"ownerId"`
	Authority         string `json:"authority"`
	Owner             struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"owner"`
	DefaultPersona struct {
		ID   int    `json:"id"`
		Code string `json:"code"`
		Name string `json:"name"`
	} `json:"defaultPersona"`
	DateCreated time.Time `json:"dateCreated"`
	LastUpdated time.Time `json:"lastUpdated"`
}

type ScaleThreshold added in v0.1.5

type ScaleThreshold struct {
	ID             int64     `json:"id"`
	Name           string    `json:"name"`
	Type           string    `json:"type"`
	AutoUp         bool      `json:"autoUp"`
	AutoDown       bool      `json:"autoDown"`
	MinCount       int64     `json:"minCount"`
	MaxCount       int64     `json:"maxCount"`
	ScaleIncrement int64     `json:"scaleIncrement"`
	CpuEnabled     bool      `json:"cpuEnabled"`
	MinCpu         float64   `json:"minCpu"`
	MaxCpu         float64   `json:"maxCpu"`
	MemoryEnabled  bool      `json:"memoryEnabled"`
	MinMemory      float64   `json:"minMemory"`
	MaxMemory      float64   `json:"maxMemory"`
	DiskEnabled    bool      `json:"diskEnabled"`
	MinDisk        float64   `json:"minDisk"`
	MaxDisk        float64   `json:"maxDisk"`
	DateCreated    time.Time `json:"dateCreated"`
	LastUpdated    time.Time `json:"lastUpdated"`
}

ScaleThreshold structures for use in request and response payloads

type ScriptTemplate added in v0.1.4

type ScriptTemplate struct {
	ID      int64    `json:"id"`
	Name    string   `json:"name"`
	Labels  []string `json:"labels"`
	Account struct {
		ID   int    `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	Code          string      `json:"code"`
	Category      interface{} `json:"category"`
	SortOrder     int         `json:"sortOrder"`
	ScriptVersion string      `json:"scriptVersion"`
	Script        string      `json:"script"`
	Scriptservice interface{} `json:"scriptService"`
	Scriptmethod  interface{} `json:"scriptMethod"`
	ScriptType    string      `json:"scriptType"`
	ScriptPhase   string      `json:"scriptPhase"`
	RunAsUser     string      `json:"runAsUser"`
	Runaspassword interface{} `json:"runAsPassword"`
	SudoUser      bool        `json:"sudoUser"`
	FailOnError   bool        `json:"failOnError"`
	Datecreated   time.Time   `json:"dateCreated"`
	Lastupdated   time.Time   `json:"lastUpdated"`
}

ScriptTemplate structures for use in request and response payloads

type SecurityGroup added in v0.4.0

type SecurityGroup struct {
	ID          int64       `json:"id"`
	Name        string      `json:"name"`
	Description string      `json:"description"`
	AccountId   int64       `json:"accountId"`
	GroupSource interface{} `json:"groupSource"`
	ExternalId  string      `json:"externalId"`
	Enabled     bool        `json:"enabled"`
	SyncSource  string      `json:"syncSource"`
	Visibility  string      `json:"visibility"`
	Active      bool        `json:"active"`
	Zone        struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"zone"`
	Locations []SecurityGroupLocation `json:"locations"`
	Rules     []SecurityGroupRule     `json:"rules"`
	Tenants   []struct {
		ID        int64  `json:"id"`
		Name      string `json:"name"`
		CanManage bool   `json:"canManage"`
	} `json:"tenants"`
	ResourcePermission struct {
		DefaultStore  bool `json:"defaultStore"`
		AllPlans      bool `json:"allPlans"`
		DefaultTarget bool `json:"defaultTarget"`
		CanManage     bool `json:"canManage"`
		All           bool `json:"all"`
		Account       struct {
			ID int64 `json:"id"`
		} `json:"account"`
		Sites []struct {
			ID      int64  `json:"id"`
			Name    string `json:"name"`
			Default bool   `json:"default"`
		} `json:"sites"`
		Plans []struct {
			ID      int64  `json:"id"`
			Name    string `json:"name"`
			Default bool   `json:"default"`
		} `json:"plans"`
	} `json:"resourcePermission"`
}

SecurityGroup structures for use in request and response payloads

type SecurityGroupLocation added in v0.4.0

type SecurityGroupLocation struct {
	ID          int64       `json:"id"`
	Name        string      `json:"name"`
	Description string      `json:"description"`
	Externalid  string      `json:"externalId"`
	IacId       interface{} `json:"iacId"`
	Zone        struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"zone"`
	ZonePool struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"zonePool"`
	Status     string      `json:"status"`
	Priority   interface{} `json:"priority"`
	GroupLayer interface{} `json:"groupLayer"`
}

type SecurityGroupRule added in v0.4.0

type SecurityGroupRule struct {
	ID               int64  `json:"id"`
	Name             string `json:"name"`
	RuleType         string `json:"ruleType"`
	CustomRule       bool   `json:"customRule"`
	InstanceTypeId   int64  `json:"instanceTypeId"`
	Direction        string `json:"direction"`
	Policy           string `json:"policy"`
	SourceType       string `json:"sourceType"`
	Source           string `json:"source"`
	SourceGroup      string `json:"sourceGroup"`
	SourceTier       string `json:"sourceTier"`
	PortRange        string `json:"portRange"`
	Protocol         string `json:"protocol"`
	DestinationType  string `json:"destinationType"`
	Destination      string `json:"destination"`
	DestinationGroup string `json:"destinationGroup"`
	DestinationTier  string `json:"destinationTier"`
	ExternalId       string `json:"externalId"`
	Enabled          bool   `json:"enabled"`
}

type SecurityPackage added in v0.2.6

type SecurityPackage struct {
	ID     int64    `json:"id"`
	Name   string   `json:"name"`
	Labels []string `json:"labels"`
	Type   struct {
		ID   int    `json:"id"`
		Code string `json:"code"`
		Name string `json:"name"`
	} `json:"account"`
	Description string      `json:"description"`
	Enabled     bool        `json:"enabled"`
	Url         string      `json:"url"`
	UUID        string      `json:"uuid"`
	Config      interface{} `json:"config"`
	DateCreated string      `json:"dateCreated"`
	LastUpdated string      `json:"lastUpdated"`
}

SecurityPackage structures for use in request and response payloads

type SecurityScan added in v0.3.0

type SecurityScan struct {
	ID              int64 `json:"id"`
	SecurityPackage struct {
		ID          int64  `json:"id"`
		Name        string `json:"name"`
		Description string `json:"description"`
		Type        struct {
			ID   int64  `json:"id"`
			Code string `json:"code"`
			Name string `json:"name"`
		} `json:"type"`
	} `json:"securityPackage"`
	Server struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"server"`
	Status       string      `json:"status"`
	ScanDate     time.Time   `json:"scanDate"`
	ScanDuration int64       `json:"scanDuration"`
	TestCount    int64       `json:"testCount"`
	RunCount     int64       `json:"runCount"`
	PassCount    int64       `json:"passCount"`
	FailCount    int64       `json:"failCount"`
	OtherCount   int64       `json:"otherCount"`
	ScanScore    int64       `json:"scanScore"`
	ExternalId   interface{} `json:"externalId"`
	CreatedBy    string      `json:"createdBy"`
	UpdatedBy    string      `json:"updatedBy"`
	DateCreated  time.Time   `json:"dateCreated"`
	LastUpdated  time.Time   `json:"lastUpdated"`
}

SecurityScan structures for use in request and response payloads

type Server

type Server struct {
	Id      int64  `json:"id"`
	Name    string `json:"name"`
	TypeSet struct {
		Id   int64  `json:"id"`
		Code string `json:"code"`
		Name string `json:"name"`
	} `json:"typeSet"`
	ComputeServerType struct {
		Id       int64  `json:"id"`
		Code     string `json:"code"`
		NodeType string `json:"nodeType"`
	} `json:"computeServerType"`
}

type ServicePlan added in v0.1.1

type ServicePlan struct {
	ID                   int64       `json:"id"`
	Name                 string      `json:"name"`
	Code                 string      `json:"code"`
	Active               bool        `json:"active"`
	SortOrder            int64       `json:"sortOrder"`
	Description          string      `json:"description"`
	CoresPerSocket       int64       `json:"coresPerSocket"`
	MaxStorage           int64       `json:"maxStorage"`
	MaxMemory            int64       `json:"maxMemory"`
	MaxCpu               int64       `json:"maxCpu"`
	MaxCores             int64       `json:"maxCores"`
	MaxDisks             int64       `json:"maxDisks"`
	CustomCpu            bool        `json:"customCpu"`
	CustomCores          bool        `json:"customCores"`
	CustomMaxStorage     bool        `json:"customMaxStorage"`
	CustomMaxDataStorage bool        `json:"customMaxDataStorage"`
	CustomMaxMemory      bool        `json:"customMaxMemory"`
	AddVolumes           bool        `json:"addVolumes"`
	MemoryOptionSource   interface{} `json:"memoryOptionSource"`
	CpuOptionSource      interface{} `json:"cpuOptionSource"`
	DateCreated          time.Time   `json:"dateCreated"`
	LastUpdated          time.Time   `json:"lastUpdated"`
	RegionCode           string      `json:"regionCode"`
	Visibility           string      `json:"visibility"`
	Editable             bool        `json:"editable"`
	Provisiontype        struct {
		ID                        int64  `json:"id"`
		Name                      string `json:"name"`
		Code                      string `json:"code"`
		RootDiskCustomizable      bool   `json:"rootDiskCustomizable"`
		AddVolumes                bool   `json:"addVolumes"`
		CustomizeVolume           bool   `json:"customizeVolume"`
		HasConfigurableCpuSockets bool   `json:"hasConfigurableCpuSockets"`
	} `json:"provisionType"`
	Tenants   string     `json:"tenants"`
	PriceSets []PriceSet `json:"priceSets"`
	Config    struct {
		StorageSizeType string `json:"storageSizeType"`
		MemorySizeType  string `json:"memorySizeType"`
		Ranges          struct {
			MinStorage string `json:"minStorage"`
			MaxStorage string `json:"maxStorage"`
			MinMemory  int64  `json:"minMemory"`
			MaxMemory  int64  `json:"maxMemory"`
			MinCores   string `json:"minCores"`
			MaxCores   string `json:"maxCores"`
		} `json:"ranges"`
	} `json:"config"`
	Zones []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
		Code string `json:"code"`
	} `json:"zones"`
	Permissions struct {
		ResourcePermissions struct {
			DefaultStore  bool `json:"defaultStore"`
			AllPlans      bool `json:"allPlans"`
			DefaultTarget bool `json:"defaultTarget"`
			CanManage     bool `json:"canManage"`
			All           bool `json:"all"`
			Account       struct {
				ID int64 `json:"id"`
			} `json:"account"`
			Sites []struct {
				ID      int64  `json:"id"`
				Name    string `json:"name"`
				Default bool   `json:"default"`
			} `json:"sites"`
			Plans []interface{} `json:"plans"`
		} `json:"resourcePermissions"`
	} `json:"permissions"`
	TenantPermission struct {
		Accounts []int64 `json:"accounts"`
	} `json:"tenantPermissions"`
}

ServicePlans structures for use in request and response payloads

type SetupCheckResult

type SetupCheckResult struct {
	Success      bool   `json:"success"`
	Message      string `json:"msg"`
	BuildVersion string `json:"buildVersion"`
	SetupNeeded  bool   `json:"setupNeeded"`
}

type SetupInitPayload

type SetupInitPayload struct {
	// Request
	AccountName string `json:"accountName"`
	FirstName   string `json:"firstName"`
	LastName    string `json:"lastName"`
	Username    string `json:"username"`
	Password    string `json:"password"`
}

type SetupInitResult

type SetupInitResult struct {
	StandardResult
}

type SoftwareLicense added in v0.1.5

type SoftwareLicense struct {
	ID               int64           `json:"id"`
	Name             string          `json:"name"`
	Description      string          `json:"description"`
	LicenseType      LicenseType     `json:"licenseType"`
	LicenseKey       string          `json:"licenseKey"`
	OrgName          string          `json:"orgName"`
	FullName         string          `json:"fullName"`
	LicenseVersion   string          `json:"licenseVersion"`
	Account          Account         `json:"account"`
	Copies           int64           `json:"copies"`
	Reservationcount int64           `json:"reservationCount"`
	Tenants          []interface{}   `json:"tenants"`
	Virtualimages    []Virtualimages `json:"virtualImages"`
}

SoftwareLicense structures for use in request and response payloads

type SourceHeader

type SourceHeader struct {
	Name   string `json:"name"`
	Value  string `json:"value"`
	Masked bool   `json:"masked"`
}

type Spec added in v0.3.9

type Spec struct {
	ID       int64  `json:"id"`
	Name     string `json:"name"`
	Template struct {
		Name string `json:"name"`
		Type string `json:"type"`
	} `json:"template"`
	Isolated bool `json:"isolated"`
}

type SpecTemplate

type SpecTemplate struct {
	ID      int64 `json:"id"`
	Account struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	Name         string      `json:"name"`
	Labels       []string    `json:"labels"`
	Externalid   interface{} `json:"externalId"`
	Externaltype interface{} `json:"externalType"`
	Deploymentid interface{} `json:"deploymentId"`
	Status       interface{} `json:"status"`
	Type         Type        `json:"type"`
	Config       Config      `json:"config"`
	File         File        `json:"file"`
	Createdby    string      `json:"createdBy"`
	Updatedby    string      `json:"updatedBy"`
}

SpecTemplate structures for use in request and response payloads

type StandardErrorResult

type StandardErrorResult struct {
	StandardResult
}

StandardErrorResult is a format for request errors eg. http 400, 401, 500

type StandardResult

type StandardResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
}

StandardResult is a response format for most actions

type Stats added in v0.1.5

type Stats struct {
	AverageCost    float64     `json:"averageCost"`
	TotalCost      float64     `json:"totalCost"`
	Currency       string      `json:"currency"`
	ConversionRate int64       `json:"conversionRate"`
	Intervals      []Intervals `json:"intervals"`
	Current        Current     `json:"current"`
}

type StorageBucket added in v0.1.5

type StorageBucket struct {
	ID           int64  `json:"id"`
	Name         string `json:"name"`
	Active       bool   `json:"active"`
	AccountID    int64  `json:"accountId"`
	ProviderType string `json:"providerType"`
	Config       struct {
		LocationType       string      `json:"locationType"`
		Location           string      `json:"location"`
		StorageClass       string      `json:"storageClass"`
		ClientEmail        string      `json:"clientEmail"`
		PrivateKey         string      `json:"privateKey"`
		ProjectId          string      `json:"projectId"`
		AccessKey          string      `json:"accessKey"`
		SecretKey          string      `json:"secretKey"`
		SecretKeyHash      string      `json:"secretKeyHash"`
		Endpoint           string      `json:"endpoint"`
		BasePath           string      `json:"basePath"`
		Host               string      `json:"host"`
		StsAssumeRole      string      `json:"stsAssumeRole"`
		UseHostCredentials interface{} `json:"useHostCredentials"`
		ExportFolder       string      `json:"exportFolder"`
		Permissions        []string    `json:"permissions"`
		AdminPermissions   []string    `json:"adminPermissions"`
	} `json:"config"`
	BucketName                string      `json:"bucketName"`
	ReadOnly                  bool        `json:"readOnly"`
	DefaultBackupTarget       bool        `json:"defaultBackupTarget"`
	DefaultDeploymentTarget   bool        `json:"defaultDeploymentTarget"`
	DefaultVirtualImageTarget bool        `json:"defaultVirtualImageTarget"`
	CopyToStore               bool        `json:"copyToStore"`
	RetentionPolicyType       interface{} `json:"retentionPolicyType"`
	RetentionPolicyDays       interface{} `json:"retentionPolicyDays"`
	RetentionProvider         interface{} `json:"retentionProvider"`
}

StorageBucket structures for use in request and response payloads

type StorageServer added in v0.2.8

type StorageServer struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
	Type struct {
		ID   int64  `json:"id"`
		Code string `json:"code"`
		Name string `json:"name"`
	} `json:"type"`
	Chassis             string      `json:"chassis"`
	Visibility          string      `json:"visibility"`
	Description         string      `json:"description"`
	InternalId          string      `json:"internalId"`
	ExternalId          string      `json:"externalId"`
	ServiceUrl          string      `json:"serviceUrl"`
	ServiceHost         string      `json:"serviceHost"`
	ServicePath         string      `json:"servicePath"`
	ServiceToken        string      `json:"serviceToken"`
	ServiceTokenHash    string      `json:"serviceTokenHash"`
	ServiceVersion      string      `json:"serviceVersion"`
	ServiceUsername     string      `json:"serviceUsername"`
	ServicePassword     string      `json:"servicePassword"`
	ServicePasswordHash string      `json:"servicePasswordHash"`
	InternalIp          string      `json:"internalIp"`
	ExternalIp          string      `json:"externalIp"`
	ApiPort             interface{} `json:"apiPort"`
	AdminPort           interface{} `json:"adminPort"`
	Config              struct {
		Permissions      []string `json:"permissions"`
		StorageUser      string   `json:"storageUser"`
		StorageGroup     string   `json:"storageGroup"`
		ReadPermissions  []string `json:"readPermissions"`
		AdminPermissions []string `json:"adminPermissions"`
	} `json:"config"`
	RefType       string      `json:"refType"`
	RefId         int64       `json:"refId"`
	Category      string      `json:"category"`
	ServerVendor  string      `json:"serverVendor"`
	ServerModel   interface{} `json:"serverModel"`
	SerialNumber  interface{} `json:"serialNumber"`
	Status        string      `json:"status"`
	StatusMessage string      `json:"statusMessage"`
	StatusDate    string      `json:"statusDate"`
	Errormessage  string      `json:"errorMessage"`
	MaxStorage    interface{} `json:"maxStorage"`
	UsedStorage   interface{} `json:"usedStorage"`
	DiskCount     interface{} `json:"diskCount"`
	DateCreated   string      `json:"dateCreated"`
	LastUpdated   string      `json:"lastUpdated"`
	Enabled       bool        `json:"enabled"`
	Groups        []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"groups"`
	HostGroups []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"hostGroups"`
	Hosts []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"hosts"`
	Tenants []interface{} `json:"tenants"`
	Owner   struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"owner"`
	Credential struct {
		Type string `json:"type"`
	} `json:"credential"`
}

StorageServer structures for use in request and response payloads

type StorageServerType added in v0.4.0

type StorageServerType struct {
	ID                     int64               `json:"id"`
	Code                   string              `json:"code"`
	Name                   string              `json:"name"`
	Description            string              `json:"description"`
	Enabled                bool                `json:"enabled"`
	Creatable              bool                `json:"creatable"`
	HasNamespaces          bool                `json:"hasNamespaces"`
	HasGroups              bool                `json:"hasGroups"`
	HasBlock               bool                `json:"hasBlock"`
	HasObject              bool                `json:"hasObject"`
	HasFile                bool                `json:"hasFile"`
	HasDatastore           bool                `json:"hasDatastore"`
	HasDisks               bool                `json:"hasDisks"`
	HasHosts               bool                `json:"hasHosts"`
	CreateNamespaces       bool                `json:"createNamespaces"`
	CreateGroup            bool                `json:"createGroup"`
	CreateBlock            bool                `json:"createBlock"`
	CreateObject           bool                `json:"createObject"`
	CreateFile             bool                `json:"createFile"`
	CreateDatastore        bool                `json:"createDatastore"`
	CreateDisk             bool                `json:"createDisk"`
	CreateHost             bool                `json:"createHost"`
	IconCode               string              `json:"iconCode"`
	HasFileBrowser         bool                `json:"hasFileBrowser"`
	OptionTypes            []OptionType        `json:"optionTypes"`
	GroupOptionTypes       []OptionType        `json:"groupOptionTypes"`
	BucketOptionTypes      []OptionType        `json:"bucketOptionTypes"`
	ShareOptionTypes       []OptionType        `json:"shareOptionTypes"`
	ShareAccessOptionTypes []OptionType        `json:"shareAccessOptionTypes"`
	StorageVolumeTypes     []StorageVolumeType `json:"storageVolumeTypes"`
}

StorageServerType structures for use in request and response payloads

type StorageVolume added in v0.4.0

type StorageVolume struct {
	ID                   int64  `json:"id"`
	Name                 string `json:"name"`
	Description          string `json:"description"`
	ControllerId         int64  `json:"controllerId"`
	ControllerMountPoint string `json:"controllerMountPoint"`
	Resizeable           bool   `json:"resizeable"`
	RootVolume           bool   `json:"rootVolume"`
	UnitNumber           string `json:"unitNumber"`
	DeviceName           string `json:"deviceName"`
	DeviceDisplayName    string `json:"deviceDisplayName"`
	Type                 struct {
		ID   int64  `json:"id"`
		Code string `json:"code"`
		Name string `json:"name"`
	} `json:"type"`
	TypeId           int64  `json:"typeId"`
	Category         string `json:"category"`
	Status           string `json:"status"`
	StatusMessage    string `json:"statusMessage"`
	ConfigurableIOPS bool   `json:"configurableIOPS"`
	MaxStorage       int64  `json:"maxStorage"`
	DisplayOrder     int64  `json:"displayOrder"`
	MaxIOPS          string `json:"maxIOPS"`
	Uuid             string `json:"uuid"`
	Active           bool   `json:"active"`
	Zone             struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"zone"`
	ZoneId    int64 `json:"zoneId"`
	Datastore struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"datastore"`
	DatastoreId   int64  `json:"datastoreId"`
	StorageGroup  string `json:"storageGroup"`
	Namespace     string `json:"namespace"`
	StorageServer string `json:"storageServer"`
	Source        string `json:"source"`
	Owner         struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"owner"`
}

StorageVolume structures for use in request and response payloads

type StorageVolumeType added in v0.4.0

type StorageVolumeType struct {
	ID      int64  `json:"id"`
	Code    string `json:"code"`
	Account struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	Name              string `json:"name"`
	Description       string `json:"description"`
	DisplayOrder      int64  `json:"displayOrder"`
	DefaultType       bool   `json:"defaultType"`
	CustomLabel       bool   `json:"customLabel"`
	CustomSize        bool   `json:"customSize"`
	CustomSizeOptions []struct {
		Key   string `json:"key"`
		Value string `json:"value"`
		Size  string `json:"size"`
	} `json:"customSizeOptions"`
	ConfigurableIOPS bool         `json:"configurableIOPS"`
	HasDatastore     bool         `json:"hasDatastore"`
	Category         string       `json:"category"`
	Enabled          bool         `json:"enabled"`
	OptionTypes      []OptionType `json:"optionTypes"`
}

StorageVolumeType structures for use in request and response payloads

type SyslogRule added in v0.1.3

type SyslogRule struct {
	ID   int    `json:"id"`
	Name string `json:"name"`
	Rule string `json:"rule"`
}

type Task

type Task struct {
	ID        int64    `json:"id"`
	AccountId int64    `json:"accountId"`
	Name      string   `json:"name"`
	Labels    []string `json:"labels"`
	Code      string   `json:"code"`
	TaskType  struct {
		ID   int64  `json:"id"`
		Code string `json:"code"`
		Name string `json:"name"`
	} `json:"taskType"`
	TaskOptions struct {
		AnsibleTowerGitRef        string `json:"ansibleTowerGitRef"`
		AnsibleTowerInventoryId   string `json:"ansibleTowerInventoryId"`
		AnsibleTowerIntegrationId string `json:"ansibleTowerIntegrationId"`
		AnsibleTowerJobTemplateId string `json:"ansibleTowerJobTemplateId"`
		AnsibleTowerExecuteMode   string `json:"ansibleTowerExecuteMode"`
		AnsibleGroup              string `json:"ansibleGroup"`
		AnsibleOptions            string `json:"ansibleOptions"`
		AnsibleTags               string `json:"ansibleTags"`
		AnsiblePlaybook           string `json:"ansiblePlaybook"`
		AnsibleGitRef             string `json:"ansibleGitRef"`
		AnsibleSkipTags           string `json:"ansibleSkipTags"`
		AnsibleGitId              string `json:"ansibleGitId"`
		JsScript                  string `json:"jsScript"`
		WinrmElevated             string `json:"winrm.elevated"`
		PythonBinary              string `json:"pythonBinary"`
		PythonArgs                string `json:"pythonArgs"`
		PythonAdditionalPackages  string `json:"pythonAdditionalPackages"`
		ShellSudo                 string `json:"shell.sudo"`
		Username                  string `json:"username"`
		Host                      string `json:"host"`
		LocalScriptGitRef         string `json:"localScriptGitRef"`
		LocalScriptGitId          string `json:"localScriptGitId"`
		Password                  string `json:"password"`
		PasswordHash              string `json:"passwordHash"`
		WriteAttributesAttributes string `json:"writeAttributes.attributes"`
		Port                      string `json:"port"`
		OperationalWorkflowId     string `json:"operationalWorkflowId"`
		OperationalWorkflowName   string `json:"operationalWorkflowName"`
		WebBody                   string `json:"webBody"`
		WebUrl                    string `json:"webUrl"`
		WebUser                   string `json:"webUser"`
		IgnoreSSL                 string `json:"ignoreSSL"`
		WebPassword               string `json:"webPassword"`
		WebPasswordHash           string `json:"webPasswordHash"`
		WebMethod                 string `json:"webMethod"`
		WebHeaders                string `json:"webHeaders"`
		ContainerScript           string `json:"containerScript"`
		ContainerScriptId         string `json:"containerScriptId"`
		ContainerTemplate         string `json:"containerTemplate"`
		ContainerTemplateId       string `json:"containerTemplateId"`
		ChefDataKey               string `json:"chefDataKey"`
		ChefDataKeyHash           string `json:"chefDataKeyHash"`
		ChefRunList               string `json:"chefRunList"`
		ChefDataKeyPath           string `json:"chefDataKeyPath"`
		ChefEnv                   string `json:"chefEnv"`
		ChefNodeName              string `json:"chefNodeName"`
		ChefAttributes            string `json:"chefAttributes"`
		ChefServerId              string `json:"chefServerId"`
		PuppetEnvironment         string `json:"puppetEnvironment"`
		PuppetNodeName            string `json:"puppetNodeName"`
		PuppetMasterId            string `json:"puppetMasterId"`
		SshKey                    string `json:"sshKey"`
		VroIntegrationId          string `json:"vroIntegrationId"`
		VroWorkflow               string `json:"vroWorkflow"`
		VroBody                   string `json:"vroBody"`
		EmailAddress              string `json:"emailAddress"`
		EmailSubject              string `json:"emailSubject"`
		EmailSkipTemplate         string `json:"emailSkipTemplate"`
	} `json:"taskOptions"`
	File struct {
		ID          int64  `json:"id"`
		SourceType  string `json:"sourceType"`
		ContentRef  string `json:"contentRef"`
		ContentPath string `json:"contentPath"`
		Repository  struct {
			ID   int64  `json:"id"`
			Name string `json:"name"`
		} `json:"repository"`
		Content string `json:"content"`
	} `json:"file"`
	ResultType        string `json:"resultType"`
	ExecuteTarget     string `json:"executeTarget"`
	Retryable         bool   `json:"retryable"`
	RetryCount        int64  `json:"retryCount"`
	RetryDelaySeconds int64  `json:"retryDelaySeconds"`
	AllowCustomConfig bool   `json:"allowCustomConfig"`
	Credential        struct {
		ID   int64  `json:"id"`
		Type string `json:"type"`
		Name string `json:"name"`
	} `json:"credential"`
	DateCreated time.Time `json:"dateCreated"`
	LastUpdated time.Time `json:"lastUpdated"`
	Visibility  string    `json:"visibility"`
}

Task structures for use in request and response payloads

type TaskSet

type TaskSet struct {
	ID                int64         `json:"id"`
	Name              string        `json:"name"`
	Labels            []string      `json:"labels"`
	Description       string        `json:"description"`
	Type              string        `json:"type"`
	AccountID         int64         `json:"accountId"`
	Visibility        string        `json:"visibility"`
	Platform          string        `json:"platform"`
	AllowCustomConfig bool          `json:"allowCustomConfig"`
	OptionTypes       []interface{} `json:"optionTypes"`
	Tasks             []int64       `json:"tasks"`
	TaskSetTasks      []TaskSetTask `json:"taskSetTasks"`
}

TaskSet structures for use in request and response payloads

type TaskSetTask added in v0.2.5

type TaskSetTask struct {
	ID        int64  `json:"id"`
	TaskPhase string `json:"taskPhase"`
	TaskOrder int64  `json:"taskOrder"`
	Task      Task   `json:"task"`
}

type TaskType added in v0.4.0

type TaskType struct {
	ID                   int64        `json:"id"`
	Code                 string       `json:"code"`
	Name                 string       `json:"name"`
	Category             string       `json:"category"`
	Description          string       `json:"description"`
	Scriptable           bool         `json:"scriptable"`
	Enabled              bool         `json:"enabled"`
	HasResults           bool         `json:"hasResults"`
	AllowExecuteLocal    bool         `json:"allowExecuteLocal"`
	AllowExecuteRemote   bool         `json:"allowExecuteRemote"`
	AllowExecuteResource bool         `json:"allowExecuteResource"`
	AllowLocalRepo       bool         `json:"allowLocalRepo"`
	AllowRemoteKeyAuth   bool         `json:"allowRemoteKeyAuth"`
	OptionTypes          []OptionType `json:"optionTypes"`
}

TaskType structures for use in request and response payloads

type Tenant

type Tenant struct {
	ID          int64  `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Subdomain   string `json:"subdomain"`
	Master      bool   `json:"master"`
	Role        struct {
		ID          int64  `json:"id"`
		Authority   string `json:"authority"`
		Description string `json:"description"`
	} `json:"role"`
	Active         bool   `json:"active"`
	CustomerNumber string `json:"customerNumber"`
	AccountNumber  string `json:"accountNumber"`
	Currency       string `json:"currency"`
	AccountName    string `json:"accountName"`
	Stats          struct {
		InstanceCount int64 `json:"instanceCount"`
		UserCount     int64 `json:"userCount"`
	} `json:"stats"`
	DateCreated string `json:"dateCreated"`
	LastUpdated string `json:"lastUpdated"`
}

Tenant structures for use in request and response payloads

type TenantAbbrev

type TenantAbbrev struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
}

tenantAbbrev is a response format for describing a list of objects returned. Could maybe replace use of this with Account for this, it can unmarshal just id and name

type ToggleMaintenanceResult added in v0.1.6

type ToggleMaintenanceResult struct {
	StandardResult
}

type Type

type Type struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
	Code string `json:"code"`
}

type UninstallLicenseResult added in v0.1.6

type UninstallLicenseResult struct {
	DeleteResult
}

type UpdateAlertResult added in v0.2.0

type UpdateAlertResult struct {
	CreateAlertResult
}

UpdateAlertResult structure parses the update alert response payload

type UpdateAppResult

type UpdateAppResult struct {
	CreateAppResult
}

type UpdateApplianceSettingsResult added in v0.1.6

type UpdateApplianceSettingsResult struct {
	Success           bool               `json:"success"`
	Message           string             `json:"msg"`
	Errors            map[string]string  `json:"errors"`
	ApplianceSettings *ApplianceSettings `json:"applianceSettings"`
}

type UpdateApprovalItemResult added in v0.2.6

type UpdateApprovalItemResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
}

UpdateApprovalItemResult structure parses the create approval response payload

type UpdateArchiveResult added in v0.1.10

type UpdateArchiveResult struct {
	CreateArchiveResult
}

type UpdateBackupSettingsResult added in v0.1.6

type UpdateBackupSettingsResult struct {
	Success        bool              `json:"success"`
	Message        string            `json:"msg"`
	Errors         map[string]string `json:"errors"`
	BackupSettings *BackupSettings   `json:"backupSettings"`
}

type UpdateBlueprintResult

type UpdateBlueprintResult struct {
	CreateBlueprintResult
}

type UpdateBootScriptResult added in v0.1.9

type UpdateBootScriptResult struct {
	CreateBootScriptResult
}

UpdateBootScriptResult structure parses the update bootScript response payload

type UpdateBudgetResult added in v0.1.5

type UpdateBudgetResult struct {
	CreateBudgetResult
}

type UpdateCatalogItemResult

type UpdateCatalogItemResult struct {
	CreateCatalogItemResult
}

type UpdateCheckAppResult added in v0.2.0

type UpdateCheckAppResult struct {
	CreateCheckAppResult
}

type UpdateCheckGroupResult added in v0.1.1

type UpdateCheckGroupResult struct {
	CreateCheckGroupResult
}

type UpdateCheckResult added in v0.1.1

type UpdateCheckResult struct {
	CreateCheckResult
}

type UpdateCloudDatastoreResult added in v0.3.5

type UpdateCloudDatastoreResult struct {
	Success   bool              `json:"success"`
	Message   string            `json:"msg"`
	Errors    map[string]string `json:"errors"`
	Datastore *Datastore        `json:"datastore"`
}

type UpdateCloudLogoResult added in v0.3.6

type UpdateCloudLogoResult struct {
	StandardResult
}

type UpdateCloudResourceFolderResult added in v0.3.5

type UpdateCloudResourceFolderResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Folder  *Folder           `json:"folder"`
}

type UpdateCloudResourcePoolResult added in v0.3.6

type UpdateCloudResourcePoolResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Pool    *Pool             `json:"resourcePool"`
}

type UpdateCloudResult

type UpdateCloudResult struct {
	CreateCloudResult
}

type UpdateClusterLayoutResult added in v0.1.4

type UpdateClusterLayoutResult struct {
	CreateClusterLayoutResult
}

type UpdateClusterPackageResult added in v0.3.7

type UpdateClusterPackageResult struct {
	CreateClusterPackageResult
}

type UpdateClusterResult

type UpdateClusterResult struct {
	CreateClusterResult
}

type UpdateContactResult

type UpdateContactResult struct {
	CreateContactResult
}

type UpdateCredentialResult added in v0.1.5

type UpdateCredentialResult struct {
	CreateCredentialResult
}

type UpdateDeploymentResult added in v0.2.0

type UpdateDeploymentResult struct {
	CreateDeploymentResult
}

type UpdateEmailTemplateResult added in v0.4.0

type UpdateEmailTemplateResult struct {
	CreateEmailTemplateResult
}

type UpdateEnvironmentResult

type UpdateEnvironmentResult struct {
	CreateEnvironmentResult
}

type UpdateExecuteScheduleResult

type UpdateExecuteScheduleResult struct {
	CreateExecuteScheduleResult
}

type UpdateFileTemplateResult added in v0.1.4

type UpdateFileTemplateResult struct {
	CreateFileTemplateResult
}

type UpdateFormResult added in v0.3.7

type UpdateFormResult struct {
	CreateFormResult
}

type UpdateGroupResult

type UpdateGroupResult struct {
	CreateGroupResult
}

type UpdateGuidanceSettingsResult added in v0.3.0

type UpdateGuidanceSettingsResult struct {
	Success          bool              `json:"success"`
	Message          string            `json:"msg"`
	Errors           map[string]string `json:"errors"`
	GuidanceSettings *GuidanceSettings `json:"guidanceSettings"`
}

type UpdateIdentitySourceResult added in v0.1.5

type UpdateIdentitySourceResult struct {
	CreateIdentitySourceResult
}

type UpdateIncidentResult added in v0.1.1

type UpdateIncidentResult struct {
	CreateIncidentResult
}

type UpdateInstanceLayoutResult

type UpdateInstanceLayoutResult struct {
	CreateInstanceLayoutResult
}

type UpdateInstanceResult

type UpdateInstanceResult struct {
	CreateInstanceResult
}

type UpdateInstanceSecurityGroupsResult added in v0.4.0

type UpdateInstanceSecurityGroupsResult struct {
	SecurityGroups *[]SecurityGroup  `json:"securityGroups"`
	Success        bool              `json:"success"`
	Message        string            `json:"msg"`
	Errors         map[string]string `json:"errors"`
}

type UpdateInstanceTypeResult

type UpdateInstanceTypeResult struct {
	CreateInstanceTypeResult
}

type UpdateIntegrationResult

type UpdateIntegrationResult struct {
	CreateIntegrationResult
}

type UpdateJobResult

type UpdateJobResult struct {
	CreateJobResult
}

type UpdateKeyPairResult

type UpdateKeyPairResult struct {
	CreateKeyPairResult
}

type UpdateLoadBalancerMonitorResult added in v0.2.6

type UpdateLoadBalancerMonitorResult struct {
	CreateLoadBalancerMonitorResult
}

type UpdateLoadBalancerPoolResult added in v0.2.6

type UpdateLoadBalancerPoolResult struct {
	CreateLoadBalancerPoolResult
}

type UpdateLoadBalancerProfileResult added in v0.2.6

type UpdateLoadBalancerProfileResult struct {
	CreateLoadBalancerProfileResult
}

type UpdateLoadBalancerResult added in v0.2.6

type UpdateLoadBalancerResult struct {
	CreateLoadBalancerResult
}

type UpdateLoadBalancerVirtualServerResult added in v0.2.6

type UpdateLoadBalancerVirtualServerResult struct {
	CreateLoadBalancerVirtualServerResult
}

type UpdateLogSettingsResult added in v0.1.3

type UpdateLogSettingsResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
}

UpdateLogSettingsResult structure parses the get logSettings response payload

type UpdateMonitoringAppResult added in v0.1.1

type UpdateMonitoringAppResult struct {
	CreateMonitoringAppResult
}

type UpdateMonitoringSettingsResult added in v0.3.0

type UpdateMonitoringSettingsResult struct {
	Success            bool                `json:"success"`
	Message            string              `json:"msg"`
	Errors             map[string]string   `json:"errors"`
	MonitoringSettings *MonitoringSettings `json:"monitoringSettings"`
}

type UpdateNetworkDomainPayload

type UpdateNetworkDomainPayload struct {
	CreateNetworkDomainPayload
}

type UpdateNetworkDomainResult

type UpdateNetworkDomainResult struct {
	CreateNetworkDomainResult
}

type UpdateNetworkGroupResult added in v0.2.9

type UpdateNetworkGroupResult struct {
	CreateNetworkGroupResult
}

type UpdateNetworkPayload

type UpdateNetworkPayload struct {
	CreateNetworkPayload
}

type UpdateNetworkPoolResult added in v0.2.7

type UpdateNetworkPoolResult struct {
	CreateNetworkPoolResult
}

type UpdateNetworkPoolServerResult added in v0.2.7

type UpdateNetworkPoolServerResult struct {
	CreateNetworkPoolServerResult
}

type UpdateNetworkProxyResult added in v0.2.6

type UpdateNetworkProxyResult struct {
	CreateNetworkProxyResult
}

type UpdateNetworkResult

type UpdateNetworkResult struct {
	CreateNetworkResult
}

type UpdateNetworkStaticRouteResult added in v0.2.7

type UpdateNetworkStaticRouteResult struct {
	CreateNetworkStaticRouteResult
}

type UpdateNetworkSubnetResult added in v0.2.7

type UpdateNetworkSubnetResult struct {
	CreateNetworkSubnetResult
}

type UpdateNodeTypeResult

type UpdateNodeTypeResult struct {
	CreateNodeTypeResult
}

type UpdateOauthClientResult added in v0.2.9

type UpdateOauthClientResult struct {
	CreateOauthClientResult
}

type UpdateOptionListResult

type UpdateOptionListResult struct {
	CreateOptionListResult
}

type UpdateOptionTypeResult

type UpdateOptionTypeResult struct {
	CreateOptionTypeResult
}

type UpdatePlanResult

type UpdatePlanResult struct {
	CreatePlanResult
}

type UpdatePluginResult added in v0.2.6

type UpdatePluginResult struct {
	CreatePluginResult
}

type UpdatePolicyResult

type UpdatePolicyResult struct {
	CreatePolicyResult
}

type UpdatePowerScheduleResult added in v0.1.1

type UpdatePowerScheduleResult struct {
	CreatePowerScheduleResult
}

UpdatePowerScheduleResult structure parses the update power schedule response payload

type UpdatePreseedScriptResult added in v0.1.9

type UpdatePreseedScriptResult struct {
	CreatePreseedScriptResult
}

UpdatePreseedScriptResult structure parses the update preseedScript response payload

type UpdatePriceResult added in v0.1.1

type UpdatePriceResult struct {
	CreatePriceResult
}

UpdatePriceResult structure parses the update price response payload

type UpdatePriceSetResult added in v0.1.1

type UpdatePriceSetResult struct {
	CreatePriceSetResult
}

UpdatePriceSetResult structure parses the update priceSet response payload

type UpdateProvisioningSettingsResult added in v0.1.6

type UpdateProvisioningSettingsResult struct {
	Success              bool                  `json:"success"`
	Message              string                `json:"msg"`
	Errors               map[string]string     `json:"errors"`
	ProvisioningSettings *ProvisioningSettings `json:"provisioningSettings"`
}

type UpdateResourcePoolGroupResult added in v0.3.1

type UpdateResourcePoolGroupResult struct {
	CreateResourcePoolGroupResult
}

type UpdateResourcePoolPayload

type UpdateResourcePoolPayload struct {
	CreateResourcePoolPayload
}

type UpdateResourcePoolResult

type UpdateResourcePoolResult struct {
	CreateResourcePoolResult
}

type UpdateRolePermissionResult added in v0.2.1

type UpdateRolePermissionResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
	Access  string            `json:"access"`
}

type UpdateRoleResult

type UpdateRoleResult struct {
	CreateRoleResult
}

type UpdateScaleThresholdResult added in v0.1.5

type UpdateScaleThresholdResult struct {
	CreateScaleThresholdResult
}

type UpdateScriptTemplateResult added in v0.1.4

type UpdateScriptTemplateResult struct {
	CreateScriptTemplateResult
}

type UpdateSecurityGroupResult added in v0.4.0

type UpdateSecurityGroupResult struct {
	CreateSecurityGroupResult
}

type UpdateSecurityGroupRuleResult added in v0.4.0

type UpdateSecurityGroupRuleResult struct {
	CreateSecurityGroupRuleResult
}

type UpdateSecurityPackageResult added in v0.2.6

type UpdateSecurityPackageResult struct {
	CreateSecurityPackageResult
}

type UpdateServicePlanResult added in v0.1.1

type UpdateServicePlanResult struct {
	CreateServicePlanResult
}

UpdateServicePlanResult structure parses the update servicePlan response payload

type UpdateSoftwareLicenseResult added in v0.1.5

type UpdateSoftwareLicenseResult struct {
	CreateSoftwareLicenseResult
}

type UpdateSpecTemplateResult

type UpdateSpecTemplateResult struct {
	CreateSpecTemplateResult
}

type UpdateStorageBucketResult added in v0.1.5

type UpdateStorageBucketResult struct {
	CreateStorageBucketResult
}

type UpdateStorageServerResult added in v0.2.8

type UpdateStorageServerResult struct {
	CreateStorageServerResult
}

type UpdateStorageVolumeResult added in v0.4.0

type UpdateStorageVolumeResult struct {
	CreateStorageVolumeResult
}

type UpdateSubtenantGroupZonesResult added in v0.3.6

type UpdateSubtenantGroupZonesResult struct {
	StandardResult
}

type UpdateTaskResult

type UpdateTaskResult struct {
	CreateTaskResult
}

type UpdateTaskSetResult

type UpdateTaskSetResult struct {
	CreateTaskSetResult
}

type UpdateTenantResult

type UpdateTenantResult struct {
	CreateTenantResult
}

UpdateTenantResult structure parses the update tenant response payload

type UpdateUserGroupResult added in v0.1.8

type UpdateUserGroupResult struct {
	CreateUserGroupResult
}

type UpdateUserResult added in v0.1.8

type UpdateUserResult struct {
	CreateUserResult
}

type UpdateVDIAppResult added in v0.1.6

type UpdateVDIAppResult struct {
	CreateVDIAppResult
}

type UpdateVDIGatewayResult added in v0.1.5

type UpdateVDIGatewayResult struct {
	CreateVDIGatewayResult
}

type UpdateVDIPoolResult added in v0.1.5

type UpdateVDIPoolResult struct {
	CreateVDIPoolResult
}

type UpdateVirtualImageResult added in v0.1.4

type UpdateVirtualImageResult struct {
	CreateVirtualImageResult
}

type UpdateWhiteLabelImageResult added in v0.4.0

type UpdateWhiteLabelImageResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
}

type UpdateWhitelabelSettingsResult added in v0.1.8

type UpdateWhitelabelSettingsResult struct {
	Success            bool                `json:"success"`
	Message            string              `json:"msg"`
	Errors             map[string]string   `json:"errors"`
	WhitelabelSettings *WhitelabelSettings `json:"whitelabelSettings"`
}

type UpdateWikiResult added in v0.1.1

type UpdateWikiResult struct {
	CreateWikiResult
}

type UploadVirtualImageResult added in v0.4.0

type UploadVirtualImageResult struct {
	Success bool              `json:"success"`
	Message string            `json:"msg"`
	Errors  map[string]string `json:"errors"`
}

type User added in v0.1.8

type User struct {
	ID                   int64     `json:"id"`
	AccountID            int64     `json:"accountId"`
	Username             string    `json:"username"`
	DisplayName          string    `json:"displayName"`
	Email                string    `json:"email"`
	FirstName            string    `json:"firstName"`
	LastName             string    `json:"lastName"`
	Enabled              bool      `json:"enabled"`
	ReceiveNotifications bool      `json:"receiveNotifications"`
	Isusing2FA           bool      `json:"isUsing2FA"`
	AccountExpired       bool      `json:"accountExpired"`
	AccountLocked        bool      `json:"accountLocked"`
	PasswordExpired      bool      `json:"passwordExpired"`
	LoginCount           int64     `json:"loginCount"`
	LoginAttempts        int64     `json:"loginAttempts"`
	LastLoginDate        time.Time `json:"lastLoginDate"`
	Roles                []struct {
		ID          int64  `json:"id"`
		Name        string `json:"name"`
		Authority   string `json:"authority"`
		Description string `json:"description"`
	} `json:"roles"`
	Account struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	LinuxUsername   string      `json:"linuxUsername"`
	LinuxPassword   string      `json:"linuxPassword"`
	LinuxKeyPairID  int64       `json:"linuxKeyPairId"`
	WindowsUsername interface{} `json:"windowsUsername"`
	WindowsPassword interface{} `json:"windowsPassword"`
	DefaultPersona  interface{} `json:"defaultPersona"`
	DateCreated     time.Time   `json:"dateCreated"`
	LastUpdated     time.Time   `json:"lastUpdated"`
}

User structures for use in request and response payloads

type UserGroup added in v0.1.8

type UserGroup struct {
	ID          int64  `json:"id"`
	AccountID   int64  `json:"accountId"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Enabled     bool   `json:"enabled"`
	SudoUser    bool   `json:"sudoUser"`
	ServerGroup string `json:"serverGroup"`
	Users       []struct {
		ID          int64  `json:"id"`
		Username    string `json:"username"`
		DisplayName string `json:"displayName"`
	} `json:"users"`
	Account struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	DateCreated time.Time `json:"dateCreated"`
	LastUpdated time.Time `json:"lastUpdated"`
}

UserGroup structures for use in request and response payloads

type VDIAllocation added in v0.1.6

type VDIAllocation struct {
	ID   int64 `json:"id"`
	Pool struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"pool"`
	Instance struct {
		ID     int64  `json:"id"`
		Name   string `json:"name"`
		Status string `json:"status"`
	} `json:"instance"`
	User struct {
		ID       int64  `json:"id"`
		Name     string `json:"name"`
		Username string `json:"username"`
	} `json:"user"`
	Localusercreated bool        `json:"localUserCreated"`
	Persistent       bool        `json:"persistent"`
	Recyclable       bool        `json:"recyclable"`
	Status           string      `json:"status"`
	Datecreated      time.Time   `json:"dateCreated"`
	Lastupdated      time.Time   `json:"lastUpdated"`
	Lastreserved     interface{} `json:"lastReserved"`
	Releasedate      time.Time   `json:"releaseDate"`
}

VDIAllocation structures for use in request and response payloads

type VDIApp added in v0.1.6

type VDIApp struct {
	ID           int64     `json:"id"`
	Name         string    `json:"name"`
	Description  string    `json:"description"`
	LaunchPrefix string    `json:"launchPrefix"`
	DateCreated  time.Time `json:"dateCreated"`
	LastUpdated  time.Time `json:"lastUpdated"`
}

VDIApp structures for use in request and response payloads

type VDIGateway added in v0.1.5

type VDIGateway struct {
	ID          int64     `json:"id"`
	Name        string    `json:"name"`
	Description string    `json:"description"`
	GatewayURL  string    `json:"gatewayUrl"`
	ApiKey      string    `json:"apiKey"`
	DateCreated time.Time `json:"dateCreated"`
	LastUpdated time.Time `json:"lastUpdated"`
}

VDIGateway structures for use in request and response payloads

type VDIPool added in v0.1.5

type VDIPool struct {
	ID                               int64       `json:"id"`
	Name                             string      `json:"name"`
	Description                      string      `json:"description"`
	MinIdle                          int64       `json:"minIdle"`
	MaxIdle                          int64       `json:"maxIdle"`
	InitialPoolSize                  int64       `json:"initialPoolSize"`
	MaxPoolSize                      int64       `json:"maxPoolSize"`
	AllocationTimeoutMinutes         int64       `json:"allocationTimeoutMinutes"`
	PersistentUser                   bool        `json:"persistentUser"`
	Recyclable                       bool        `json:"recyclable"`
	Enabled                          bool        `json:"enabled"`
	AutoCreateLocalUserOnReservation bool        `json:"autoCreateLocalUserOnReservation"`
	AllowHypervisorConsole           bool        `json:"allowHypervisorConsole"`
	AllowCopy                        bool        `json:"allowCopy"`
	AllowPrinter                     bool        `json:"allowPrinter"`
	AllowFileShare                   bool        `json:"allowFileshare"`
	GuestConsoleJumpHost             interface{} `json:"guestConsoleJumpHost"`
	GuestConsoleJumpPort             interface{} `json:"guestConsoleJumpPort"`
	GuestConsoleJumpUsername         interface{} `json:"guestConsoleJumpUsername"`
	GuestConsoleJumpPassword         interface{} `json:"guestConsoleJumpPassword"`
	GuestConsoleJumpKeyPair          interface{} `json:"guestConsoleJumpKeypair"`
	Gateway                          interface{} `json:"gateway"`
	IconPath                         string      `json:"iconPath"`
	Apps                             []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"apps"`
	Owner struct {
		ID       int64  `json:"id"`
		Name     string `json:"name"`
		Username string `json:"username"`
	} `json:"owner"`
	Config struct {
		Group struct {
			ID   interface{} `json:"id"`
			Name string      `json:"name"`
		} `json:"group"`
		Cloud struct {
			ID   int64  `json:"id"`
			Name string `json:"name"`
		} `json:"cloud"`
		Type   string `json:"type"`
		Config struct {
			IsEc2           bool  `json:"isEC2"`
			IsVpcSelectable bool  `json:"isVpcSelectable"`
			NoAgent         bool  `json:"noAgent"`
			ResourcePoolID  int64 `json:"resourcePoolId"`
		} `json:"config"`
		Name    string `json:"name"`
		Volumes []struct {
			Name        string `json:"name"`
			RootVolume  bool   `json:"rootVolume"`
			TypeID      int64  `json:"typeId"`
			Size        int64  `json:"size"`
			StorageType int64  `json:"storageType"`
			DatastoreID string `json:"datastoreId"`
		} `json:"volumes"`
		HostName string `json:"hostName"`
		Layout   struct {
			ID   int64  `json:"id"`
			Code string `json:"code"`
		} `json:"layout"`
		NetworkInterfaces []struct {
			PrimaryInterface bool `json:"primaryInterface"`
			Network          struct {
				ID string `json:"id"`
			} `json:"network"`
			NetworkInterfaceTypeID     int64  `json:"networkInterfaceTypeId"`
			NetworkInterfaceTypeIDName string `json:"networkInterfaceTypeIdName"`
		} `json:"networkInterfaces"`
		Plan struct {
			ID   int64  `json:"id"`
			Code string `json:"code"`
		} `json:"plan"`
		Version string `json:"version"`
	} `json:"config"`
	Group struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"group"`
	Cloud struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"cloud"`
	UsedCount      int64     `json:"usedCount"`
	ReservedCount  int64     `json:"reservedCount"`
	PreparingCount int64     `json:"preparingCount"`
	IdleCount      int64     `json:"idleCount"`
	Status         string    `json:"status"`
	DateCreated    time.Time `json:"dateCreated"`
	LastUpdated    time.Time `json:"lastUpdated"`
}

VDIPool structures for use in request and response payloads

type VirtualImage added in v0.1.4

type VirtualImage struct {
	ID          int64    `json:"id"`
	Name        string   `json:"name"`
	Labels      []string `json:"labels"`
	Description string   `json:"description"`
	OwnerID     int64    `json:"ownerId"`
	Tenant      struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"tenant"`
	ImageType       string `json:"imageType"`
	UserUploaded    bool   `json:"userUploaded"`
	UserDefined     bool   `json:"userDefined"`
	SystemImage     bool   `json:"systemImage"`
	IsCloudInit     bool   `json:"isCloudInit"`
	SshUsername     string `json:"sshUsername"`
	SshPassword     string `json:"sshPassword"`
	SshPasswordHash string `json:"sshPasswordHash"`
	SshKey          string `json:"sshKey"`
	OsType          struct {
		ID          int64  `json:"id"`
		Code        string `json:"code"`
		Name        string `json:"name"`
		Description string `json:"description"`
		Vendor      string `json:"vendor"`
		Category    string `json:"category"`
		OsFamily    string `json:"osFamily"`
		OsVersion   string `json:"osVersion"`
		BitCount    int64  `json:"bitCount"`
		Platform    string `json:"platform"`
	} `json:"osType"`
	MinRam                   int64   `json:"minRam"`
	MinRamGB                 float32 `json:"minRamGB"`
	MinDisk                  int64   `json:"minDisk"`
	MinDiskGB                float32 `json:"minDiskGB"`
	RawSize                  int64   `json:"rawSize"`
	RawSizeGB                float32 `json:"rawSizeGB"`
	TrialVersion             bool    `json:"trialVersion"`
	VirtioSupported          bool    `json:"virtioSupported"`
	Uefi                     bool    `json:"uefi"`
	IsAutoJoinDomain         bool    `json:"isAutoJoinDomain"`
	VmtoolsInstalled         bool    `json:"vmToolsInstalled"`
	InstallAgent             bool    `json:"installAgent"`
	IsForceCustomization     bool    `json:"isForceCustomization"`
	IsSysprep                bool    `json:"isSysprep"`
	FipsEnabled              bool    `json:"fipsEnabled"`
	UserData                 string  `json:"userData"`
	ConsoleKeymap            string  `json:"consoleKeymap"`
	GuestConsoleType         string  `json:"guestConsoleType"`
	GuestConsoleUsername     string  `json:"guestConsoleUsername"`
	GuestConsolePassword     string  `json:"guestConsolePassword"`
	GuestConsolePasswordHash string  `json:"guestConsolePasswordHash"`
	GuestConsolePort         int64   `json:"guestConsolePort"`
	LinkedClone              bool    `json:"linkedClone"`
	StorageProvider          struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"storageProvider"`
	ExternalID string `json:"externalId"`
	Visibility string `json:"visibility"`
	Accounts   []struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"accounts"`
	Config struct {
		MemorySizeType string `json:"memorySizeType"`
		Generation     string `json:"generation"`
		Publisher      string `json:"publisher"`
		Offer          string `json:"offer"`
		SKU            string `json:"sku"`
		Version        string `json:"version"`
		DiskIds        []struct {
			Name     string `json:"name"`
			Path     string `json:"path"`
			UniqueId string `json:"uniqueId"`
		} `json:"diskIds"`
		ImageMetaData []struct {
			File            string `json:"file"`
			GuestDeviceName string `json:"guestDeviceName"`
			Position        int64  `json:"position"`
			Name            string `json:"name"`
			Capacity        int64  `json:"capacity"`
			ImageId         string `json:"imageId"`
		} `json:"imageMetaData"`
	} `json:"config"`
	Volumes []struct {
		Name       string `json:"name"`
		MaxStorage int64  `json:"maxStorage"`
		RawSize    int64  `json:"rawSize"`
		Size       int64  `json:"size"`
		RootVolume bool   `json:"rootVolume"`
		Resizeable bool   `json:"resizeable"`
	} `json:"volumes"`
	StorageControllers []struct {
		Name string `json:"name"`
		Type struct {
			ID   int64  `json:"id"`
			Code string `json:"code"`
			Name string `json:"name"`
		} `json:"type"`
		MaxDevices         int64 `json:"maxDevices"`
		ReservedUnitNumber int64 `json:"reservedUnitNumber"`
	} `json:"storageControllers"`
	NetworkInterfaces []interface{} `json:"networkInterfaces"`
	Tags              []interface{} `json:"tags"`
	Locations         []struct {
		ID    int64 `json:"id"`
		Cloud struct {
			ID   int64  `json:"id"`
			Code string `json:"code"`
			Name string `json:"name"`
		} `json:"cloud"`
		Code           string      `json:"code"`
		InternalID     string      `json:"internalId"`
		ExternalID     string      `json:"externalId"`
		ExternalDiskID interface{} `json:"externalDiskId"`
		RemotePath     interface{} `json:"remotePath"`
		ImagePath      interface{} `json:"imagePath"`
		ImageName      string      `json:"imageName"`
		ImageRegion    string      `json:"imageRegion"`
		ImageFolder    interface{} `json:"imageFolder"`
		RefType        string      `json:"refType"`
		RefID          int64       `json:"refId"`
		NodeRefType    interface{} `json:"nodeRefType"`
		NodeRefID      interface{} `json:"nodeRefId"`
		SubRefType     interface{} `json:"subRefType"`
		SubRefID       interface{} `json:"subRefId"`
		IsPublic       bool        `json:"isPublic"`
		SystemImage    bool        `json:"systemImage"`
		DiskIndex      int64       `json:"diskIndex"`
	} `json:"locations"`
	DateCreated time.Time `json:"dateCreated"`
	LastUpdated time.Time `json:"lastUpdated"`
	Status      string    `json:"status"`
}

VirtualImage structures for use in request and response payloads

type VirtualImageLocation added in v0.4.0

type VirtualImageLocation struct {
	ID    int64 `json:"id"`
	Cloud struct {
		ID   int64  `json:"id"`
		Code string `json:"code"`
		Name string `json:"name"`
	} `json:"cloud"`
	Code               string        `json:"code"`
	InternalId         interface{}   `json:"internalId"`
	ExternalId         string        `json:"externalId"`
	ExternalDiskId     string        `json:"externalDiskId"`
	RemotePath         interface{}   `json:"remotePath"`
	ImagePath          interface{}   `json:"imagePath"`
	ImageName          string        `json:"imageName"`
	ImageRegion        string        `json:"imageRegion"`
	ImageFolder        interface{}   `json:"imageFolder"`
	RefType            string        `json:"refType"`
	RefId              int64         `json:"refId"`
	NodeRefType        interface{}   `json:"nodeRefType"`
	NodeRefId          interface{}   `json:"nodeRefId"`
	SubRefType         interface{}   `json:"subRefType"`
	SubRefId           interface{}   `json:"subRefId"`
	IsPublic           bool          `json:"isPublic"`
	SystemImage        bool          `json:"systemImage"`
	DiskIndex          int64         `json:"diskIndex"`
	PricePlan          interface{}   `json:"pricePlan"`
	Volumes            []interface{} `json:"volumes"`
	StorageControllers []interface{} `json:"storageControllers"`
	NetworkInterfaces  []interface{} `json:"networkInterfaces"`
	VirtualImage       struct {
		ID        int64  `json:"id"`
		Code      string `json:"code"`
		Name      string `json:"name"`
		ImageType string `json:"imageType"`
	} `json:"virtualImage"`
}

type Virtualimages added in v0.1.5

type Virtualimages struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
}

type WhitelabelSettings added in v0.1.8

type WhitelabelSettings struct {
	Account struct {
		ID   int64  `json:"id"`
		Name string `json:"name"`
	} `json:"account"`
	Enabled                   bool   `json:"enabled"`
	ApplianceName             string `json:"applianceName"`
	DisableSupportMenu        bool   `json:"disableSupportMenu"`
	Favicon                   string `json:"favicon"`
	HeaderBgColor             string `json:"headerBgColor"`
	HeaderFgColor             string `json:"headerFgColor"`
	NavBgColor                string `json:"navBgColor"`
	NavFgColor                string `json:"navFgColor"`
	NavHoverColor             string `json:"navHoverColor"`
	PrimaryButtonBgColor      string `json:"primaryButtonBgColor"`
	PrimaryButtonFgColor      string `json:"primaryButtonFgColor"`
	PrimaryButtonHoverBgColor string `json:"primaryButtonHoverBgColor"`
	PrimaryButtonHoverFgColor string `json:"primaryButtonHoverFgColor"`
	FooterBgColor             string `json:"footerBgColor"`
	FooterFgColor             string `json:"footerFgColor"`
	LoginBgColor              string `json:"loginBgColor"`
	OverrideCSS               string `json:"overrideCss"`
	CopyrightString           string `json:"copyrightString"`
	TermsOfUse                string `json:"termsOfUse"`
	PrivacyPolicy             string `json:"privacyPolicy"`
	SupportMenuLinks          []struct {
		URL       string `json:"url"`
		Label     string `json:"label"`
		LabelCode string `json:"labelCode"`
	} `json:"supportMenuLinks"`
}

WhitelabelSettings structures for use in request and response payloads

type WhoamiApplianceResult

type WhoamiApplianceResult struct {
	BuildVersion string `json:"buildVersion"`
}

type WhoamiPermissionObject

type WhoamiPermissionObject struct {
	Name   string `json:"name"`
	Code   string `json:"code"`
	Access string `json:"access"`
}

type WhoamiResult

type WhoamiResult struct {
	User            *WhoamiUserResult         `json:"user"`
	IsMasterAccount bool                      `json:"isMasterAccount"`
	Permissions     *[]WhoamiPermissionObject `json:"permissions"`
	Appliance       WhoamiApplianceResult     `json:"appliance"`
}

type WhoamiUserResult

type WhoamiUserResult struct {
	ID        int64  `json:"id"`
	Username  string `json:"username"`
	FirstName string `json:"firstName"`
	LastName  string `json:"lastName"`
}

type Wiki added in v0.1.1

type Wiki struct {
	ID        int64  `json:"id"`
	Name      string `json:"name"`
	UrlName   string `json:"urlName"`
	Category  string `json:"category"`
	RefID     int64  `json:"refId"`
	RefType   string `json:"refType"`
	Format    string `json:"format"`
	Content   string `json:"content"`
	CreatedBy struct {
		ID       int64  `json:"id"`
		Username string `json:"username"`
	}
	UpdatedBy struct {
		ID       int64  `json:"id"`
		Username string `json:"username"`
	}
	DateCreated string `json:"dateCreated"`
	LastUpdated string `json:"lastUpdated"`
}

Wiki structures for use in request and response payloads

type WikiCategory added in v0.1.1

type WikiCategory struct {
	Name      string `json:"name"`
	PageCount int64  `json:"pageCount"`
}

WikiCategory structure defines the wiki category payload

type Workload added in v0.3.9

type Workload struct {
	RefType    string `json:"refType"`
	RefId      int64  `json:"refId"`
	RefName    string `json:"refName"`
	SubRefName string `json:"subRefName"`
	StateDate  string `json:"stateDate"`
	Status     string `json:"status"`
	IacDrift   bool   `json:"iacDrift"`
}

type Zone

type Zone struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
}

type ZoneNetworkOptionsData

type ZoneNetworkOptionsData struct {
	Networks      *[]NetworkOption      `json:"networks"`
	NetworkGroups *[]NetworkGroupOption `json:"networkGroups"`
	NetworkTypes  *[]NetworkTypeOption  `json:"networkTypes"`
}

Source Files

Jump to

Keyboard shortcuts

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