Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AccessData
- type Account
- type AccountApiService
- func (a *AccountApiService) AccountDeleteSshKey(ctx context.Context, sshKeyId int32) (*http.Response, error)
- func (a *AccountApiService) AccountGet(ctx context.Context, localVarOptionals map[string]interface{}) (Account, *http.Response, error)
- func (a *AccountApiService) AccountGetSshKey(ctx context.Context, sshKeyId int32, localVarOptionals map[string]interface{}) (SshKey, *http.Response, error)
- func (a *AccountApiService) AccountGetSshKeys(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionSshKey, *http.Response, error)
- func (a *AccountApiService) AccountPostSshKey(ctx context.Context, command CreateSshKeyCommand) (SshKey, *http.Response, error)
- type Address
- type ApiCollectionClientStatistics
- type ApiCollectionDictionary
- type ApiCollectionDictionaryItem
- type ApiCollectionDisk
- type ApiCollectionExport
- type ApiCollectionGroup
- type ApiCollectionGroupAssignment
- type ApiCollectionGroupScheduler
- type ApiCollectionHealthCheck
- type ApiCollectionHealthCheckNotification
- type ApiCollectionImport
- type ApiCollectionImportDisk
- type ApiCollectionInstance
- type ApiCollectionInstanceEvent
- type ApiCollectionInstanceScheduler
- type ApiCollectionInstanceSshKey
- type ApiCollectionInstanceStatistics
- type ApiCollectionInstanceType
- type ApiCollectionIp
- type ApiCollectionLoadBalancer
- type ApiCollectionMetadata
- type ApiCollectionOcsProject
- type ApiCollectionOpn
- type ApiCollectionSnapshot
- type ApiCollectionSoftware
- type ApiCollectionSshKey
- type ApiCollectionSubregion
- type ApiCollectionTemplate
- type ApiCollectionTicket
- type AssignNewMonitoringSensorCommand
- type AttachFloatingIpToInstanceCommand
- type AttachInstanceToOpnCommand
- type AttachIpToInstanceCommand
- type Autoscaler
- type AutoscalerUpdateCommand
- type BaseResource
- type BaseSearchParams
- type BaseSearchParamsWithQuery
- type BasicAuth
- type BookIpCommand
- type ChangeContainerAssignmentsCommand
- type ChangeContainerServiceStateCommand
- type ChangeDiskTierCommand
- type ChangeFloatingIpSubregionCommand
- type ChangeHotPlugSettingCommand
- type ChangeInstanceNameCommand
- type ChangeInstanceScsiControllerTypeCommand
- type ChangeInstanceSubregionCommand
- type ChangeInstanceTypeCommand
- type ChangeIpSubregionCommand
- type ChangeOpnCommand
- type ClientStatistics
- type ClientStatisticsSearchParams
- type CloneInstanceCommand
- type CompanyDetails
- type Configuration
- type ContainerAssignmentCommand
- type ConvertInstanceToTemplateCommand
- type CreateDiskCommand
- type CreateExportCommand
- type CreateGroupCommand
- type CreateImportCommand
- type CreateInstanceCommand
- type CreateOpnCommand
- type CreateSshKeyCommand
- type CreateUpdateGroupSchedulerCommand
- type CreateUpdateHealthCheckDnsCommand
- type CreateUpdateHealthCheckFullPageCommand
- type CreateUpdateHealthCheckFullPageHttpsCommand
- type CreateUpdateHealthCheckHttpCommand
- type CreateUpdateHealthCheckHttpsCommand
- type CreateUpdateHealthCheckImapCommand
- type CreateUpdateHealthCheckImapSslCommand
- type CreateUpdateHealthCheckNotificationCommand
- type CreateUpdateHealthCheckPingCommand
- type CreateUpdateHealthCheckSipCommand
- type CreateUpdateHealthCheckSmtpCommand
- type CreateUpdateHealthCheckTcpCommand
- type CreateUpdateInstanceSchedulerCommand
- type CreateUpdateSnapshotCommand
- type CreateUpdateVncConnectionCommand
- type DeleteEventsCommand
- type DeleteSnapshotsCommand
- type DetachFloatingIpFromInstanceCommand
- type DetachInstanceFromOpnCommand
- type DetachIpFromInstanceCommand
- type DictionariesApiService
- func (a *DictionariesApiService) DictionariesGetDictionaries(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionDictionary, *http.Response, error)
- func (a *DictionariesApiService) DictionariesGetDictionariesItems(ctx context.Context, ids string, localVarOptionals map[string]interface{}) (ApiCollectionDictionaryItem, *http.Response, error)
- func (a *DictionariesApiService) DictionariesGetLanguages(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionDictionaryItem, *http.Response, error)
- type Dictionary
- type DictionaryItem
- type Disk
- type DiskConnection
- type DisksSearchParams
- type EventsSearchParams
- type Export
- type ExportsSearchParams
- type FloatingIPsApiService
- func (a *FloatingIPsApiService) FloatingIpsBookNewIp(ctx context.Context, command BookIpCommand) (Ip, *http.Response, error)
- func (a *FloatingIPsApiService) FloatingIpsChangeIpSubregionTicket(ctx context.Context, ipV4 string, localVarOptionals map[string]interface{}) (Ticket, *http.Response, error)
- func (a *FloatingIPsApiService) FloatingIpsDeleteIp(ctx context.Context, ip string) (Object, *http.Response, error)
- func (a *FloatingIPsApiService) FloatingIpsGetIp(ctx context.Context, ip string, localVarOptionals map[string]interface{}) (Ip, *http.Response, error)
- func (a *FloatingIPsApiService) FloatingIpsGetIps(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionIp, *http.Response, error)
- func (a *FloatingIPsApiService) FloatingIpsPostAttachIpTicket(ctx context.Context, instanceId int32, ...) (Ticket, *http.Response, error)
- func (a *FloatingIPsApiService) FloatingIpsPostDetachIpTicket(ctx context.Context, ipV4 string, instanceId int32) (Ticket, *http.Response, error)
- func (a *FloatingIPsApiService) FloatingIpsUpdateIp(ctx context.Context, ip string, command UpdateIpCommand) (Object, *http.Response, error)
- type GetScreenshotCommand
- type Group
- type GroupAssignment
- type GroupAutoscaler
- type GroupAutoscalerInstance
- type GroupScheduler
- type HealthCheck
- type HealthCheckDns
- type HealthCheckFullPage
- type HealthCheckHttp
- type HealthCheckImap
- type HealthCheckNotification
- type HealthCheckPing
- type HealthCheckSip
- type HealthCheckSmtp
- type HealthCheckTcp
- type ImportDisk
- type Instance
- type InstanceAutoscalingParameter
- type InstanceEvent
- type InstanceExportsSearchParams
- type InstanceScheduler
- type InstanceSchedulersSearchParams
- type InstanceSshKey
- type InstanceStatistics
- type InstanceStatisticsSearchParams
- type InstanceType
- type InstancesSearchParams
- type InstancesTypesSearchParams
- type Ip
- type IpsSearchParams
- type Link
- type LoadBalancer
- type LoadBalancerServer
- type LoadBalancerService
- type ModelImport
- type MonitoringSensor
- type NamedResource
- type NetworkInterface
- type NetworkingApiService
- func (a *NetworkingApiService) OpnsDelete(ctx context.Context, id int32) (Ticket, *http.Response, error)
- func (a *NetworkingApiService) OpnsGet(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionOpn, *http.Response, error)
- func (a *NetworkingApiService) OpnsGet_1(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Opn, *http.Response, error)
- func (a *NetworkingApiService) OpnsPost(ctx context.Context, command CreateOpnCommand) (Ticket, *http.Response, error)
- func (a *NetworkingApiService) OpnsPut(ctx context.Context, id int32, command UpdateOpnCommand) (Object, *http.Response, error)
- type NullableTime
- type OCIApiService
- func (a *OCIApiService) InstancesChangeHotPlugSetting(ctx context.Context, id int32, hotPlugEnabled bool) (Ticket, *http.Response, error)
- func (a *OCIApiService) InstancesChangeName(ctx context.Context, id int32, name string) (Ticket, *http.Response, error)
- func (a *OCIApiService) InstancesChangeSubregion(ctx context.Context, id int32, command ChangeInstanceSubregionCommand) (Ticket, *http.Response, error)
- func (a *OCIApiService) InstancesChangeType(ctx context.Context, id int32, scsiControllerTypeId int32) (Ticket, *http.Response, error)
- func (a *OCIApiService) InstancesChangeType_1(ctx context.Context, id int32, typeId int32) (Ticket, *http.Response, error)
- func (a *OCIApiService) InstancesClone(ctx context.Context, id int32, command CloneInstanceCommand) (Ticket, *http.Response, error)
- func (a *OCIApiService) InstancesConvertToTemplate(ctx context.Context, id int32, command ConvertInstanceToTemplateCommand) (Ticket, *http.Response, error)
- func (a *OCIApiService) InstancesCreateVncConnection(ctx context.Context, id int32, command CreateUpdateVncConnectionCommand) (VncConnection, *http.Response, error)
- func (a *OCIApiService) InstancesDelete(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Ticket, *http.Response, error)
- func (a *OCIApiService) InstancesDeleteVncConnection(ctx context.Context, id int32) (Object, *http.Response, error)
- func (a *OCIApiService) InstancesGet(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionInstance, *http.Response, error)
- func (a *OCIApiService) InstancesGetAccessData(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (AccessData, *http.Response, error)
- func (a *OCIApiService) InstancesGetDisks(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionDisk, *http.Response, error)
- func (a *OCIApiService) InstancesGetInstanceInitScript(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (string, *http.Response, error)
- func (a *OCIApiService) InstancesGetInstanceSoftware(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionSoftware, *http.Response, error)
- func (a *OCIApiService) InstancesGetInstanceType(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionInstanceType, *http.Response, error)
- func (a *OCIApiService) InstancesGetInstancesTypes(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionInstanceType, *http.Response, error)
- func (a *OCIApiService) InstancesGetScreenshot(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (string, *http.Response, error)
- func (a *OCIApiService) InstancesGetSoftware(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionSoftware, *http.Response, error)
- func (a *OCIApiService) InstancesGetSshKeys(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionInstanceSshKey, *http.Response, error)
- func (a *OCIApiService) InstancesGetTemplateByBaseVirtualMachineId(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Template, *http.Response, error)
- func (a *OCIApiService) InstancesGetVncConnection(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (VncConnection, *http.Response, error)
- func (a *OCIApiService) InstancesGet_2(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Instance, *http.Response, error)
- func (a *OCIApiService) InstancesPost(ctx context.Context, command CreateInstanceCommand) (Ticket, *http.Response, error)
- func (a *OCIApiService) InstancesPowerOff(ctx context.Context, id int32) (Ticket, *http.Response, error)
- func (a *OCIApiService) InstancesPowerOn(ctx context.Context, id int32) (Ticket, *http.Response, error)
- func (a *OCIApiService) InstancesReboot(ctx context.Context, id int32) (Ticket, *http.Response, error)
- func (a *OCIApiService) InstancesReset(ctx context.Context, id int32) (Ticket, *http.Response, error)
- func (a *OCIApiService) InstancesShutdown(ctx context.Context, id int32) (Ticket, *http.Response, error)
- func (a *OCIApiService) InstancesUpdateVncConnection(ctx context.Context, id int32, command CreateUpdateVncConnectionCommand) (VncConnection, *http.Response, error)
- type OCIAutoscalerApiService
- func (a *OCIAutoscalerApiService) InstancesDisableInstanceAutoscaler(ctx context.Context, id int32) (Ticket, *http.Response, error)
- func (a *OCIAutoscalerApiService) InstancesEnableInstanceAutoscaler(ctx context.Context, id int32) (Ticket, *http.Response, error)
- func (a *OCIAutoscalerApiService) InstancesGetAutoscaler(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Autoscaler, *http.Response, error)
- func (a *OCIAutoscalerApiService) InstancesUpdateAutoscaler(ctx context.Context, id int32, command AutoscalerUpdateCommand) (Object, *http.Response, error)
- type OCIBackupsApiService
- func (a *OCIBackupsApiService) ExportsGet(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionExport, *http.Response, error)
- func (a *OCIBackupsApiService) ExportsGet_1(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Export, *http.Response, error)
- func (a *OCIBackupsApiService) ImportsCreateImport(ctx context.Context, command CreateImportCommand) (ModelImport, *http.Response, error)
- func (a *OCIBackupsApiService) ImportsDeleteImport(ctx context.Context, id int32) (*http.Response, error)
- func (a *OCIBackupsApiService) ImportsGetImport(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ModelImport, *http.Response, error)
- func (a *OCIBackupsApiService) ImportsGetImportDisks(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionImportDisk, *http.Response, error)
- func (a *OCIBackupsApiService) ImportsGetImports(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionImport, *http.Response, error)
- func (a *OCIBackupsApiService) ImportsRunImport(ctx context.Context, id int32, command RunImportCommand) (Ticket, *http.Response, error)
- func (a *OCIBackupsApiService) InstancesGetExports(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionExport, *http.Response, error)
- func (a *OCIBackupsApiService) InstancesPostExport(ctx context.Context, id int32, command CreateExportCommand) (Export, *http.Response, error)
- type OCIEventsApiService
- func (a *OCIEventsApiService) EventsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *OCIEventsApiService) EventsGetEvent(ctx context.Context, id int64, localVarOptionals map[string]interface{}) (ApiCollectionInstanceEvent, *http.Response, error)
- func (a *OCIEventsApiService) EventsGetEvents(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionInstanceEvent, *http.Response, error)
- func (a *OCIEventsApiService) InstancesDeleteEvents(ctx context.Context, id int32, command DeleteEventsCommand) (*http.Response, error)
- func (a *OCIEventsApiService) InstancesGetEvents(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionInstanceEvent, *http.Response, error)
- type OCIGroupsApiService
- func (a *OCIGroupsApiService) GroupsChangeAssignmentsInGroup(ctx context.Context, id int32, command ChangeContainerAssignmentsCommand) (ApiCollectionGroupAssignment, *http.Response, error)
- func (a *OCIGroupsApiService) GroupsCreate(ctx context.Context, command CreateGroupCommand) (Group, *http.Response, error)
- func (a *OCIGroupsApiService) GroupsCreateContainerScheduler(ctx context.Context, id int32, command CreateUpdateGroupSchedulerCommand) (GroupScheduler, *http.Response, error)
- func (a *OCIGroupsApiService) GroupsDelete(ctx context.Context, id int32) (Object, *http.Response, error)
- func (a *OCIGroupsApiService) GroupsDeleteGroupScheduler(ctx context.Context, id int32) (Object, *http.Response, error)
- func (a *OCIGroupsApiService) GroupsGetAssignmentsInGroup(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionGroupAssignment, *http.Response, error)
- func (a *OCIGroupsApiService) GroupsGetGroup(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Group, *http.Response, error)
- func (a *OCIGroupsApiService) GroupsGetGroupAutoscaler(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (GroupAutoscaler, *http.Response, error)
- func (a *OCIGroupsApiService) GroupsGetGroupScheduler(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (GroupScheduler, *http.Response, error)
- func (a *OCIGroupsApiService) GroupsGetGroupSchedulers(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionGroupScheduler, *http.Response, error)
- func (a *OCIGroupsApiService) GroupsGetGroups(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionGroup, *http.Response, error)
- func (a *OCIGroupsApiService) GroupsGetLoadBalancers(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionLoadBalancer, *http.Response, error)
- func (a *OCIGroupsApiService) GroupsSetGroupAutoscaler(ctx context.Context, id int32, command SetGroupAutoscalerCommand) (GroupAutoscaler, *http.Response, error)
- func (a *OCIGroupsApiService) GroupsTurnoffGroupAutoscaler(ctx context.Context, id int32) (Object, *http.Response, error)
- func (a *OCIGroupsApiService) GroupsUpdate(ctx context.Context, id int32, command CreateGroupCommand) (Group, *http.Response, error)
- func (a *OCIGroupsApiService) GroupsUpdateGroupScheduler(ctx context.Context, id int32, command CreateUpdateGroupSchedulerCommand) (GroupScheduler, *http.Response, error)
- func (a *OCIGroupsApiService) InstancesGetGroups(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionGroup, *http.Response, error)
- func (a *OCIGroupsApiService) LoadBalancersChangeServiceStatus(ctx context.Context, id int32, command ChangeContainerServiceStateCommand) (LoadBalancer, *http.Response, error)
- func (a *OCIGroupsApiService) LoadBalancersCreate(ctx context.Context, id int32, command SetLoadBalancerCommand) (LoadBalancer, *http.Response, error)
- func (a *OCIGroupsApiService) LoadBalancersDelete(ctx context.Context, id int32) (Object, *http.Response, error)
- func (a *OCIGroupsApiService) LoadBalancersGetLoadBalancer(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (LoadBalancer, *http.Response, error)
- func (a *OCIGroupsApiService) LoadBalancersGetLoadBalancerDetails(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (LoadBalancer, *http.Response, error)
- func (a *OCIGroupsApiService) LoadBalancersUpdate(ctx context.Context, id int32, command SetLoadBalancerCommand) (LoadBalancer, *http.Response, error)
- type OCIInterfacesApiService
- func (a *OCIInterfacesApiService) InstancesAttachOpn(ctx context.Context, id int32, command AttachInstanceToOpnCommand) (Ticket, *http.Response, error)
- func (a *OCIInterfacesApiService) InstancesBookNewIp(ctx context.Context, command BookIpCommand) (Ip, *http.Response, error)
- func (a *OCIInterfacesApiService) InstancesChangeIpSubregionTicket(ctx context.Context, ipId int32, localVarOptionals map[string]interface{}) (Ticket, *http.Response, error)
- func (a *OCIInterfacesApiService) InstancesChangeOpn(ctx context.Context, id int32, command ChangeOpnCommand) (Ticket, *http.Response, error)
- func (a *OCIInterfacesApiService) InstancesDeleteIp(ctx context.Context, id int32) (Object, *http.Response, error)
- func (a *OCIInterfacesApiService) InstancesDetachFromOpn(ctx context.Context, id int32, command DetachInstanceFromOpnCommand) (Ticket, *http.Response, error)
- func (a *OCIInterfacesApiService) InstancesGetAllNetworkInterfaces(ctx context.Context, localVarOptionals map[string]interface{}) (NetworkInterface, *http.Response, error)
- func (a *OCIInterfacesApiService) InstancesGetInstanceIp(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Ip, *http.Response, error)
- func (a *OCIInterfacesApiService) InstancesGetInstanceIps(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionIp, *http.Response, error)
- func (a *OCIInterfacesApiService) InstancesGetInstanceNetworkInterfaces(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (NetworkInterface, *http.Response, error)
- func (a *OCIInterfacesApiService) InstancesGetIps(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionIp, *http.Response, error)
- func (a *OCIInterfacesApiService) InstancesGetOpns(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionOpn, *http.Response, error)
- func (a *OCIInterfacesApiService) InstancesPostAttachIpTicket(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Ticket, *http.Response, error)
- func (a *OCIInterfacesApiService) InstancesPostDetachIpTicket(ctx context.Context, id int32, ipId int32) (Ticket, *http.Response, error)
- func (a *OCIInterfacesApiService) InstancesUpdateIp(ctx context.Context, id int32, command UpdateIpCommand) (Object, *http.Response, error)
- type OCISchedulersApiService
- func (a *OCISchedulersApiService) InstanceSchedulersDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *OCISchedulersApiService) InstanceSchedulersGet(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (InstanceScheduler, *http.Response, error)
- func (a *OCISchedulersApiService) InstanceSchedulersGetInstanceSchedulers(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionInstanceScheduler, *http.Response, error)
- func (a *OCISchedulersApiService) InstanceSchedulersPost(ctx context.Context, id int32, command CreateUpdateInstanceSchedulerCommand) (InstanceScheduler, *http.Response, error)
- func (a *OCISchedulersApiService) InstanceSchedulersPut(ctx context.Context, id int32, command CreateUpdateInstanceSchedulerCommand) (InstanceScheduler, *http.Response, error)
- func (a *OCISchedulersApiService) InstancesGetSchedulers(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionInstanceScheduler, *http.Response, error)
- type OCISnapshotsApiService
- func (a *OCISnapshotsApiService) InstancesGetSnapshots(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionSnapshot, *http.Response, error)
- func (a *OCISnapshotsApiService) InstancesPostSnapshot(ctx context.Context, id int32, command CreateUpdateSnapshotCommand) (Ticket, *http.Response, error)
- func (a *OCISnapshotsApiService) SnapshotsDelete(ctx context.Context, id int32) (Ticket, *http.Response, error)
- func (a *OCISnapshotsApiService) SnapshotsDeleteSnapshots(ctx context.Context, command DeleteSnapshotsCommand) (Ticket, *http.Response, error)
- func (a *OCISnapshotsApiService) SnapshotsGet(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionSnapshot, *http.Response, error)
- func (a *OCISnapshotsApiService) SnapshotsGet_1(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Snapshot, *http.Response, error)
- func (a *OCISnapshotsApiService) SnapshotsPut(ctx context.Context, id int32, command CreateUpdateSnapshotCommand) (Snapshot, *http.Response, error)
- func (a *OCISnapshotsApiService) SnapshotsRestore(ctx context.Context, id int32) (Ticket, *http.Response, error)
- type OCITemplatesApiService
- func (a *OCITemplatesApiService) TemplatesDelete(ctx context.Context, id int32) (Object, *http.Response, error)
- func (a *OCITemplatesApiService) TemplatesGet(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionTemplate, *http.Response, error)
- func (a *OCITemplatesApiService) TemplatesGet_1(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Template, *http.Response, error)
- func (a *OCITemplatesApiService) TemplatesPut(ctx context.Context, id int32, command UpdateTemplateCommand) (Template, *http.Response, error)
- type OCSApiService
- type OVSApiService
- func (a *OVSApiService) DisksAttachToInstance(ctx context.Context, id int32, instanceId int32) (Ticket, *http.Response, error)
- func (a *OVSApiService) DisksChangeSubregion(ctx context.Context, id int32, subregionId int32) (Ticket, *http.Response, error)
- func (a *OVSApiService) DisksChangeTier(ctx context.Context, id int32, tierId int32) (Ticket, *http.Response, error)
- func (a *OVSApiService) DisksDelete(ctx context.Context, id int32) (Ticket, *http.Response, error)
- func (a *OVSApiService) DisksDetachFromInstance(ctx context.Context, id int32, instanceId int32) (Ticket, *http.Response, error)
- func (a *OVSApiService) DisksExtend(ctx context.Context, id int32, spaceCapacity int32) (Ticket, *http.Response, error)
- func (a *OVSApiService) DisksGet(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Disk, *http.Response, error)
- func (a *OVSApiService) DisksGetDisks(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionDisk, *http.Response, error)
- func (a *OVSApiService) DisksPost(ctx context.Context, command CreateDiskCommand) (Ticket, *http.Response, error)
- func (a *OVSApiService) DisksPut(ctx context.Context, id int32, command UpdateDiskCommand) (Ticket, *http.Response, error)
- type Object
- type OcsProject
- type Opn
- type OpnSearchParams
- type PaymentDetails
- type PrivateIp
- type Resource
- type RunImportCommand
- type RunImportDiskCommand
- type RunImportNetworkCommand
- type SetGroupAutoscalerCommand
- type SetLoadBalancerCommand
- type Snapshot
- type SnapshotsSearchParams
- type Software
- type SshKey
- type StatisticsApiService
- func (a *StatisticsApiService) StatisticsGetClientStatistics(ctx context.Context, dateFrom time.Time, dateTo time.Time, ...) (ApiCollectionClientStatistics, *http.Response, error)
- func (a *StatisticsApiService) StatisticsGetInstanceStatistics(ctx context.Context, id int32, statisticInterval int32, dateFrom time.Time, ...) (ApiCollectionInstanceStatistics, *http.Response, error)
- func (a *StatisticsApiService) StatisticsGetStatisticIntervals(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionDictionaryItem, *http.Response, error)
- type Subregion
- type SubregionsApiService
- func (a *SubregionsApiService) SubregionsGet(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionSubregion, *http.Response, error)
- func (a *SubregionsApiService) SubregionsGet_1(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Subregion, *http.Response, error)
- type Template
- type TemplateDescription
- type TemplateDisk
- type TemplateIcon
- type TemplatesSearchParams
- type Ticket
- type TicketsApiService
- type TicketsSearchParams
- type UpdateDiskCommand
- type UpdateIpCommand
- type UpdateOpnCommand
- type UpdateTemplateCommand
- type UserResource
- type VmHistorySearchParams
- type VncConnection
- type WatchApiService
- func (a *WatchApiService) WatchAddSelectedMonitoringStations(ctx context.Context, station AssignNewMonitoringSensorCommand) (MonitoringSensor, *http.Response, error)
- func (a *WatchApiService) WatchCreateDnsHealthCheck(ctx context.Context, command CreateUpdateHealthCheckDnsCommand) (HealthCheckDns, *http.Response, error)
- func (a *WatchApiService) WatchCreateFullPageHealthCheck(ctx context.Context, command CreateUpdateHealthCheckFullPageCommand) (HealthCheckFullPage, *http.Response, error)
- func (a *WatchApiService) WatchCreateFullPageHttpsHealthCheck(ctx context.Context, command CreateUpdateHealthCheckFullPageHttpsCommand) (HealthCheckFullPage, *http.Response, error)
- func (a *WatchApiService) WatchCreateHealthCheckNotification(ctx context.Context, command CreateUpdateHealthCheckNotificationCommand) (HealthCheckNotification, *http.Response, error)
- func (a *WatchApiService) WatchCreateHttpHealthCheck(ctx context.Context, command CreateUpdateHealthCheckHttpCommand) (HealthCheckHttp, *http.Response, error)
- func (a *WatchApiService) WatchCreateHttpsHealthCheck(ctx context.Context, command CreateUpdateHealthCheckHttpsCommand) (HealthCheckHttp, *http.Response, error)
- func (a *WatchApiService) WatchCreateImapHealthCheck(ctx context.Context, command CreateUpdateHealthCheckImapCommand) (HealthCheckImap, *http.Response, error)
- func (a *WatchApiService) WatchCreateImapSslHealthCheck(ctx context.Context, command CreateUpdateHealthCheckImapSslCommand) (HealthCheckImap, *http.Response, error)
- func (a *WatchApiService) WatchCreatePingHealthCheck(ctx context.Context, command CreateUpdateHealthCheckPingCommand) (HealthCheckPing, *http.Response, error)
- func (a *WatchApiService) WatchCreateSipHealthCheck(ctx context.Context, command CreateUpdateHealthCheckSipCommand) (HealthCheckSip, *http.Response, error)
- func (a *WatchApiService) WatchCreateSmtpHealthCheck(ctx context.Context, command CreateUpdateHealthCheckSmtpCommand) (HealthCheckSmtp, *http.Response, error)
- func (a *WatchApiService) WatchCreateTcpHealthCheck(ctx context.Context, command CreateUpdateHealthCheckTcpCommand) (HealthCheckTcp, *http.Response, error)
- func (a *WatchApiService) WatchDeleteHealthCheck(ctx context.Context, id int32) (*http.Response, error)
- func (a *WatchApiService) WatchDeleteHealthCheckNotification(ctx context.Context, id int32) (*http.Response, error)
- func (a *WatchApiService) WatchDeleteSelectedMonitoringStations(ctx context.Context, id int32) (MonitoringSensor, *http.Response, error)
- func (a *WatchApiService) WatchGetAvailableMonitoringStations(ctx context.Context, localVarOptionals map[string]interface{}) (MonitoringSensor, *http.Response, error)
- func (a *WatchApiService) WatchGetDnsHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckDns, *http.Response, error)
- func (a *WatchApiService) WatchGetFullPageHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckFullPage, *http.Response, error)
- func (a *WatchApiService) WatchGetFullPageHttpsHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckFullPage, *http.Response, error)
- func (a *WatchApiService) WatchGetHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheck, *http.Response, error)
- func (a *WatchApiService) WatchGetHealthCheckNotification(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckNotification, *http.Response, error)
- func (a *WatchApiService) WatchGetHealthCheckNotifications(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionHealthCheckNotification, *http.Response, error)
- func (a *WatchApiService) WatchGetHealthChecks(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionHealthCheck, *http.Response, error)
- func (a *WatchApiService) WatchGetHttpHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckHttp, *http.Response, error)
- func (a *WatchApiService) WatchGetHttpsHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckHttp, *http.Response, error)
- func (a *WatchApiService) WatchGetImapHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckImap, *http.Response, error)
- func (a *WatchApiService) WatchGetImapSslHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckImap, *http.Response, error)
- func (a *WatchApiService) WatchGetPingHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckPing, *http.Response, error)
- func (a *WatchApiService) WatchGetSelectedMonitoringStation(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (MonitoringSensor, *http.Response, error)
- func (a *WatchApiService) WatchGetSelectedMonitoringStations(ctx context.Context, localVarOptionals map[string]interface{}) (MonitoringSensor, *http.Response, error)
- func (a *WatchApiService) WatchGetSipHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckSip, *http.Response, error)
- func (a *WatchApiService) WatchGetSmtpHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckSmtp, *http.Response, error)
- func (a *WatchApiService) WatchGetTcpHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckTcp, *http.Response, error)
- func (a *WatchApiService) WatchUpdateDnsHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckDnsCommand) (HealthCheckDns, *http.Response, error)
- func (a *WatchApiService) WatchUpdateFullPageHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckFullPageCommand) (HealthCheckFullPage, *http.Response, error)
- func (a *WatchApiService) WatchUpdateFullPageHttpsHealthCheck(ctx context.Context, id int32, ...) (HealthCheckFullPage, *http.Response, error)
- func (a *WatchApiService) WatchUpdateHealthCheckNotification(ctx context.Context, id int32, ...) (HealthCheckNotification, *http.Response, error)
- func (a *WatchApiService) WatchUpdateHttpHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckHttpCommand) (HealthCheckHttp, *http.Response, error)
- func (a *WatchApiService) WatchUpdateHttpsHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckHttpsCommand) (HealthCheckHttp, *http.Response, error)
- func (a *WatchApiService) WatchUpdateImapHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckImapCommand) (HealthCheckImap, *http.Response, error)
- func (a *WatchApiService) WatchUpdateImapHealthCheck_1(ctx context.Context, id int32, command CreateUpdateHealthCheckSipCommand) (HealthCheckSip, *http.Response, error)
- func (a *WatchApiService) WatchUpdateImapSslHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckImapSslCommand) (HealthCheckImap, *http.Response, error)
- func (a *WatchApiService) WatchUpdatePingHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckPingCommand) (HealthCheckPing, *http.Response, error)
- func (a *WatchApiService) WatchUpdateSmtpHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckSmtpCommand) (HealthCheckSmtp, *http.Response, error)
- func (a *WatchApiService) WatchUpdateTcpHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckTcpCommand) (HealthCheckTcp, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct {
// API Services
AccountApi *AccountApiService
DictionariesApi *DictionariesApiService
FloatingIPsApi *FloatingIPsApiService
NetworkingApi *NetworkingApiService
OCIApi *OCIApiService
OCIAutoscalerApi *OCIAutoscalerApiService
OCIBackupsApi *OCIBackupsApiService
OCIEventsApi *OCIEventsApiService
OCIGroupsApi *OCIGroupsApiService
OCIInterfacesApi *OCIInterfacesApiService
OCISchedulersApi *OCISchedulersApiService
OCISnapshotsApi *OCISnapshotsApiService
OCITemplatesApi *OCITemplatesApiService
OCSApi *OCSApiService
OVSApi *OVSApiService
StatisticsApi *StatisticsApiService
SubregionsApi *SubregionsApiService
TicketsApi *TicketsApiService
WatchApi *WatchApiService
// contains filtered or unexported fields
}
APIClient manages communication with the Oktawave API API vv1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the swagger operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type AccessData ¶
type AccessData struct {
// Administrator password
Password string `json:"Password,omitempty"`
// SSH keys uploaded to instances
SshKeys []InstanceSshKey `json:"SshKeys,omitempty"`
}
Instance access data
type Account ¶
type Account struct {
// Id of account (client)
Id int32 `json:"Id,omitempty"`
// Account addressess
Addresses []Address `json:"Addresses,omitempty"`
// Payment information
Payment *PaymentDetails `json:"Payment,omitempty"`
// Company information for company account
Company *CompanyDetails `json:"Company,omitempty"`
// Is Freemium enabled for account
FreemiumEnabled bool `json:"FreemiumEnabled,omitempty"`
}
Account model representing clients.
type AccountApiService ¶
type AccountApiService service
func (*AccountApiService) AccountDeleteSshKey ¶
func (a *AccountApiService) AccountDeleteSshKey(ctx context.Context, sshKeyId int32) (*http.Response, error)
AccountApiService Deletes SSH key * @param ctx context.Context for authentication, logging, tracing, etc. @param sshKeyId SSH key id @return
func (*AccountApiService) AccountGet ¶
func (a *AccountApiService) AccountGet(ctx context.Context, localVarOptionals map[string]interface{}) (Account, *http.Response, error)
AccountApiService Returns account details * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return Account
func (*AccountApiService) AccountGetSshKey ¶
func (a *AccountApiService) AccountGetSshKey(ctx context.Context, sshKeyId int32, localVarOptionals map[string]interface{}) (SshKey, *http.Response, error)
AccountApiService Returns SSH key * @param ctx context.Context for authentication, logging, tracing, etc. @param sshKeyId SSH key id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return SshKey
func (*AccountApiService) AccountGetSshKeys ¶
func (a *AccountApiService) AccountGetSshKeys(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionSshKey, *http.Response, error)
AccountApiService Returns SSH keys Acceptable order values are: OwnerUser, Name, Id * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionSshKey
func (*AccountApiService) AccountPostSshKey ¶
func (a *AccountApiService) AccountPostSshKey(ctx context.Context, command CreateSshKeyCommand) (SshKey, *http.Response, error)
AccountApiService Creates new SSH key for user * @param ctx context.Context for authentication, logging, tracing, etc. @param command Create SSH key command @return SshKey
type Address ¶
type Address struct {
// Id of address
Id int32 `json:"Id,omitempty"`
// Address type
AddressType *DictionaryItem `json:"AddressType,omitempty"`
// Street
Street string `json:"Street,omitempty"`
// City
City string `json:"City,omitempty"`
// Zip code
Zip string `json:"Zip,omitempty"`
// Country
Country *DictionaryItem `json:"Country,omitempty"`
// Region
Region string `json:"Region,omitempty"`
}
Address
type ApiCollectionClientStatistics ¶
type ApiCollectionClientStatistics struct {
Items []ClientStatistics `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionDictionary ¶
type ApiCollectionDictionary struct {
Items []Dictionary `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionDictionaryItem ¶
type ApiCollectionDictionaryItem struct {
Items []DictionaryItem `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionDisk ¶
type ApiCollectionDisk struct {
Items []Disk `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionExport ¶
type ApiCollectionExport struct {
Items []Export `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionGroup ¶
type ApiCollectionGroup struct {
Items []Group `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionGroupAssignment ¶
type ApiCollectionGroupAssignment struct {
Items []GroupAssignment `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionGroupScheduler ¶
type ApiCollectionGroupScheduler struct {
Items []GroupScheduler `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionHealthCheck ¶
type ApiCollectionHealthCheck struct {
Items []HealthCheck `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionHealthCheckNotification ¶
type ApiCollectionHealthCheckNotification struct {
Items []HealthCheckNotification `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionImport ¶
type ApiCollectionImport struct {
Items []ModelImport `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionImportDisk ¶
type ApiCollectionImportDisk struct {
Items []ImportDisk `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionInstance ¶
type ApiCollectionInstance struct {
Items []Instance `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionInstanceEvent ¶
type ApiCollectionInstanceEvent struct {
Items []InstanceEvent `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionInstanceScheduler ¶
type ApiCollectionInstanceScheduler struct {
Items []InstanceScheduler `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionInstanceSshKey ¶
type ApiCollectionInstanceSshKey struct {
Items []InstanceSshKey `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionInstanceStatistics ¶
type ApiCollectionInstanceStatistics struct {
Items []InstanceStatistics `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionInstanceType ¶
type ApiCollectionInstanceType struct {
Items []InstanceType `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionIp ¶
type ApiCollectionIp struct {
Items []Ip `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionLoadBalancer ¶
type ApiCollectionLoadBalancer struct {
Items []LoadBalancer `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionMetadata ¶
type ApiCollectionMetadata struct {
Total int32 `json:"Total,omitempty"`
}
type ApiCollectionOcsProject ¶
type ApiCollectionOcsProject struct {
Items []OcsProject `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionOpn ¶
type ApiCollectionOpn struct {
Items []Opn `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionSnapshot ¶
type ApiCollectionSnapshot struct {
Items []Snapshot `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionSoftware ¶
type ApiCollectionSoftware struct {
Items []Software `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionSshKey ¶
type ApiCollectionSshKey struct {
Items []SshKey `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionSubregion ¶
type ApiCollectionSubregion struct {
Items []Subregion `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionTemplate ¶
type ApiCollectionTemplate struct {
Items []Template `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type ApiCollectionTicket ¶
type ApiCollectionTicket struct {
Items []Ticket `json:"Items,omitempty"`
Meta *ApiCollectionMetadata `json:"Meta,omitempty"`
}
type AssignNewMonitoringSensorCommand ¶
type AssignNewMonitoringSensorCommand struct {
// Sensor id
SensorId int32 `json:"SensorId"`
}
Assign new monitoring sensor command
type AttachFloatingIpToInstanceCommand ¶ added in v1.4.0
type AttachFloatingIpToInstanceCommand struct {
// IPv4 address identifier. Optional value, if null random ip will be attached.
IpV4 string `json:"IpV4,omitempty"`
// If attach IPv6 only. Optional value, if null IPv4 and IPv6 will be attached.
IpV6Only bool `json:"IpV6Only,omitempty"`
// Instance identifier.
InstanceId int32 `json:"InstanceId"`
}
Attach IP to instance command
type AttachInstanceToOpnCommand ¶
type AttachInstanceToOpnCommand struct {
// OPN id
OpnId int32 `json:"OpnId"`
}
Attach instance to OPN command
type AttachIpToInstanceCommand ¶
type AttachIpToInstanceCommand struct {
// IP address identifier. Optional value, if null random ip will be attached.
IpId int32 `json:"IpId,omitempty"`
// If attach IPv6 only. Optional value, if null IPv4 and IPv6 will be attached.
IpV6 bool `json:"IpV6,omitempty"`
}
Attach IP to instance command
type Autoscaler ¶
type Autoscaler struct {
// Instance autoscaling mode
AutoscalingMode *DictionaryItem `json:"AutoscalingMode,omitempty"`
// Is hotplug enabled
HotPlugEnabled bool `json:"HotPlugEnabled,omitempty"`
// Instance autoscaling parameter
AutoscalingParameter *InstanceAutoscalingParameter `json:"AutoscalingParameter,omitempty"`
}
Instance autoscaler settings
type AutoscalerUpdateCommand ¶
type AutoscalerUpdateCommand struct {
// Autoscaling parameter type
AutoscalingParameterType int32 `json:"AutoscalingParameterType,omitempty"`
// Minimum RAM capacity in megabytes
MinRam int32 `json:"MinRam,omitempty"`
// Maximum RAM capacity in megabytes
MaxRam int32 `json:"MaxRam,omitempty"`
// Minimum CPU count
MinCpu int32 `json:"MinCpu,omitempty"`
// Maximum CPU count
MaxCpu int32 `json:"MaxCpu,omitempty"`
// Instance class increase agreement
HasAgreedToIncreaseClass bool `json:"HasAgreedToIncreaseClass,omitempty"`
// Instance class decrease agreement
HasAgreedToDecreaseClass bool `json:"HasAgreedToDecreaseClass,omitempty"`
// Restart agreement
HasAgreedToRestart bool `json:"HasAgreedToRestart,omitempty"`
// Restart time lower limit in HH:mm format
RestartTimeFrom string `json:"RestartTimeFrom,omitempty"`
// Restart time upper limit in HH:mm format
RestartTimeTo string `json:"RestartTimeTo,omitempty"`
// Timezone name
TimeZoneName string `json:"TimeZoneName,omitempty"`
}
Instance autoscaler configuration update command
type BaseResource ¶
type BaseResource struct {
// Resurce id
Id int32 `json:"Id,omitempty"`
}
Resource reference
type BaseSearchParams ¶
type BaseSearchParams struct {
// Page size
PageSize int32 `json:"PageSize,omitempty"`
// Page number
PageNumber int32 `json:"PageNumber,omitempty"`
// Order by
OrderBy string `json:"OrderBy,omitempty"`
// Sort expression
SortExpression string `json:"SortExpression,omitempty"`
// Sort direction
SortDirection string `json:"SortDirection,omitempty"`
}
Search params
type BaseSearchParamsWithQuery ¶
type BaseSearchParamsWithQuery struct {
// Query
Query string `json:"Query,omitempty"`
// Page size
PageSize int32 `json:"PageSize,omitempty"`
// Page number
PageNumber int32 `json:"PageNumber,omitempty"`
// Order by
OrderBy string `json:"OrderBy,omitempty"`
// Sort expression
SortExpression string `json:"SortExpression,omitempty"`
// Sort direction
SortDirection string `json:"SortDirection,omitempty"`
}
Search params
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BookIpCommand ¶
type BookIpCommand struct {
// Subregion Id
SubregionId int32 `json:"SubregionId"`
}
Assign new IP to client command
type ChangeContainerAssignmentsCommand ¶
type ChangeContainerAssignmentsCommand struct {
Assignments []ContainerAssignmentCommand `json:"Assignments,omitempty"`
}
Change container assignments Command
type ChangeContainerServiceStateCommand ¶
type ChangeContainerServiceStateCommand struct {
// Service ip address
IpAddress string `json:"IpAddress"`
// Service port
Port int32 `json:"Port"`
// Target state
Enabled bool `json:"Enabled"`
// If true - waits for closing all open connections on specific service before disabling
Graceful bool `json:"Graceful,omitempty"`
}
Change container service state command
type ChangeDiskTierCommand ¶
type ChangeDiskTierCommand struct {
// Tier id
TierId int32 `json:"TierId"`
}
Change disk tier command
type ChangeFloatingIpSubregionCommand ¶ added in v1.4.0
type ChangeFloatingIpSubregionCommand struct {
// IPv4 address identifier.
IpV4 string `json:"IpV4"`
// Subregion Id
SubregionId int32 `json:"SubregionId,omitempty"`
}
Change Ip address subregion command
type ChangeHotPlugSettingCommand ¶ added in v1.5.0
type ChangeHotPlugSettingCommand struct {
// Is hot plug enabled
HotPlugEnabled bool `json:"HotPlugEnabled"`
}
Change hot plug setting command
type ChangeInstanceNameCommand ¶
type ChangeInstanceNameCommand struct {
// Name of an instance
Name string `json:"Name"`
}
Change instance name commnad
type ChangeInstanceScsiControllerTypeCommand ¶
type ChangeInstanceScsiControllerTypeCommand struct {
// Type id
ScsiControllerTypeId int32 `json:"ScsiControllerTypeId"`
}
Change instance SCSI controller type command
type ChangeInstanceSubregionCommand ¶
type ChangeInstanceSubregionCommand struct {
// Subregion Id
SubregionId int32 `json:"SubregionId,omitempty"`
}
Change instance subregion command
type ChangeInstanceTypeCommand ¶
type ChangeInstanceTypeCommand struct {
// Type id
TypeId int32 `json:"TypeId"`
}
Change instance type command
type ChangeIpSubregionCommand ¶ added in v1.4.0
type ChangeIpSubregionCommand struct {
// IP address identifier
IpId int32 `json:"IpId"`
// Subregion Id
SubregionId int32 `json:"SubregionId,omitempty"`
}
Change Ip address subregion command
type ChangeOpnCommand ¶
type ChangeOpnCommand struct {
// Target OPN id
TargetOpnId int32 `json:"TargetOpnId"`
// Interface id
InterfaceId int32 `json:"InterfaceId"`
}
Change OPN command
type ClientStatistics ¶
type ClientStatistics struct {
// Statistic type
StatisticType *BaseResource `json:"StatisticType,omitempty"`
// Sample time
SampleTime time.Time `json:"SampleTime,omitempty"`
// Value
Value int64 `json:"Value,omitempty"`
}
Client statistics
type ClientStatisticsSearchParams ¶
type ClientStatisticsSearchParams struct {
// Date from (utc timezone)
DateFrom time.Time `json:"DateFrom"`
// Date to (utc timezone)
DateTo time.Time `json:"DateTo"`
// Statistic types
StatisticTypes []int32 `json:"StatisticTypes"`
}
Search params for client statistics
type CloneInstanceCommand ¶
type CloneInstanceCommand struct {
// Clone name
CloneName string `json:"CloneName"`
// Clone type
CloneType int32 `json:"CloneType"`
// Subregion Id
SubregionId int32 `json:"SubregionId,omitempty"`
// Instance should be power on after clone
PowerOn bool `json:"PowerOn,omitempty"`
}
Clone instance command
type CompanyDetails ¶
type CompanyDetails struct {
// Company id
Id int32 `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Nip
Nip string `json:"Nip,omitempty"`
// Regon
Regon string `json:"Regon,omitempty"`
// Krs
Krs string `json:"Krs,omitempty"`
// Email
Email string `json:"Email,omitempty"`
// Phone
Phone string `json:"Phone,omitempty"`
}
Company information
type Configuration ¶
type Configuration struct {
BasePath string `json:"basePath,omitempty"`
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
HTTPClient *http.Client
}
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type ContainerAssignmentCommand ¶
type ContainerAssignmentCommand struct {
// Id of an instance
InstanceId int32 `json:"InstanceId"`
// Id of instance ip
IpId int32 `json:"IpId"`
}
Container assignment
type ConvertInstanceToTemplateCommand ¶
type ConvertInstanceToTemplateCommand struct {
// Template name
TemplateName string `json:"TemplateName"`
// Template descriptions
TemplateDescriptions []TemplateDescription `json:"TemplateDescriptions"`
// Template icon
TemplateIcon *TemplateIcon `json:"TemplateIcon,omitempty"`
// Template version
TemplateVersion string `json:"TemplateVersion"`
// Template system category id
TemplateSystemCategoryId int32 `json:"TemplateSystemCategoryId"`
// Template windows type id
TemplateWindowsTypeId int32 `json:"TemplateWindowsTypeId,omitempty"`
// Template default type id
TemplateDefaultTypeId int32 `json:"TemplateDefaultTypeId"`
// Template minimum type id
TemplateMinimumTypeId int32 `json:"TemplateMinimumTypeId"`
// Account 'tech-support' password. Required for templates with initialization
TechSupportPassword string `json:"TechSupportPassword,omitempty"`
}
Convert instance to template command
type CreateDiskCommand ¶
type CreateDiskCommand struct {
// Name of disk
DiskName string `json:"DiskName"`
// Space capacity in GB
SpaceCapacity int32 `json:"SpaceCapacity"`
// Tier id
TierId int32 `json:"TierId"`
SharedDiskTypeId int32 `json:"SharedDiskTypeId,omitempty"`
// Subregion identifier
SubregionId int32 `json:"SubregionId,omitempty"`
// Instance ids list
InstanceIdsList []int32 `json:"InstanceIdsList,omitempty"`
}
Create disk command
type CreateExportCommand ¶
type CreateExportCommand struct {
// Name
Name string `json:"Name"`
// OCS location
OcsLocation string `json:"OcsLocation"`
// OCS Project Id
OcsProjectId string `json:"OcsProjectId"`
}
Create export command
type CreateGroupCommand ¶
type CreateGroupCommand struct {
// Name
Name string `json:"Name"`
// Instances affinity rule type
AffinityRuleType int32 `json:"AffinityRuleType"`
}
Create group command
type CreateImportCommand ¶
type CreateImportCommand struct {
// Name
Name string `json:"Name"`
// OCS location to OVF file
OcsFileLocation string `json:"OcsFileLocation"`
// OCS Project Id
OcsProjectId string `json:"OcsProjectId"`
}
Create import command
type CreateInstanceCommand ¶
type CreateInstanceCommand struct {
// Authorization method (Password)
AuthorizationMethodId int32 `json:"AuthorizationMethodId,omitempty"`
// Class of disk
DiskClass int32 `json:"DiskClass,omitempty"`
// Size of disk in gigabytes
DiskSize int32 `json:"DiskSize,omitempty"`
// Name of an instance
InstanceName string `json:"InstanceName"`
// Count of instances
InstancesCount int32 `json:"InstancesCount,omitempty"`
// Id of ip address
IPAddressId int32 `json:"IPAddressId,omitempty"`
// Id of ssh keys to be attached to the instance
SshKeysIds []int32 `json:"SshKeysIds,omitempty"`
// Id of opns where attach the instance
OpnsIds []int32 `json:"OpnsIds,omitempty"`
// Id of target subregion
SubregionId int32 `json:"SubregionId,omitempty"`
// Template id
TemplateId int32 `json:"TemplateId"`
// Type of an instance
TypeId int32 `json:"TypeId,omitempty"`
// Freemium
Freemium bool `json:"Freemium,omitempty"`
// InitScript
InitScript string `json:"InitScript,omitempty"`
// WithoutPublicIp
WithoutPublicIp bool `json:"WithoutPublicIp,omitempty"`
}
Create instance command
type CreateOpnCommand ¶
type CreateOpnCommand struct {
// OPN name
OpnName string `json:"OpnName"`
}
Create OPN command
type CreateSshKeyCommand ¶
type CreateSshKeyCommand struct {
// Name of SSH key
SshKeyName string `json:"SshKeyName"`
// SSH key
SshKey string `json:"SshKey"`
}
Create SSH key command
type CreateUpdateGroupSchedulerCommand ¶
type CreateUpdateGroupSchedulerCommand struct {
// Scheduler name
Name string `json:"Name"`
// Start date
StartDate time.Time `json:"StartDate"`
// IANA Time zone. To get a list of available timezones, visit (https://momentjs.com/timezone)
TimeZoneName string `json:"TimeZoneName"`
// Instance Id
InstanceId int32 `json:"InstanceId"`
// Action type id
ActionTypeId int32 `json:"ActionTypeId"`
// Scheduler type id
SchedulerTypeId int32 `json:"SchedulerTypeId"`
// Cycle type id
CycleTypeId int32 `json:"CycleTypeId,omitempty"`
// Cycle number
CycleNumber int32 `json:"CycleNumber,omitempty"`
}
Create group scheduler command
type CreateUpdateHealthCheckDnsCommand ¶
type CreateUpdateHealthCheckDnsCommand struct {
// Time the server has to complete the request in [ms]
Timeout int32 `json:"Timeout,omitempty"`
// Record type (Dictionary 186)
RecordTypeId int32 `json:"RecordTypeId"`
// Query domain
QueryDomain string `json:"QueryDomain"`
// Expected DNS record value
ExpectedResponseValue string `json:"ExpectedResponseValue,omitempty"`
// Recursive query
Recurse bool `json:"Recurse"`
// How many (%) locations have to report an error to consider it a breakdown
ErrorTolerance int32 `json:"ErrorTolerance"`
// Health check name
Name string `json:"Name"`
// URL or IP address of the monitored service
Address string `json:"Address"`
// Time interval between health checks, in seconds
Interval int32 `json:"Interval"`
// Is paused
Paused bool `json:"Paused"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled"`
// Notification types enabled for a health check
NotificationTypeIds []int32 `json:"NotificationTypeIds,omitempty"`
// Event types with enabled notification
NotificationEventTypeIds []int32 `json:"NotificationEventTypeIds,omitempty"`
// Time when notification is sent
NotificationTimeId int32 `json:"NotificationTimeId"`
// Description
Description string `json:"Description,omitempty"`
}
Create/update dns health check command
type CreateUpdateHealthCheckFullPageCommand ¶
type CreateUpdateHealthCheckFullPageCommand struct {
// Health check http method type (Dictionary 166)
HttpMethodId int32 `json:"HttpMethodId"`
// The content has to match the expression (GET and POST methods only)
ContentRegularExpression string `json:"ContentRegularExpression,omitempty"`
// The content cannot match the expression (GET and POST methods only)
ContentNegativeRegularExpression string `json:"ContentNegativeRegularExpression,omitempty"`
// Port
Port int32 `json:"Port"`
// Time limit for the main page body [ms]
PageTimeout int32 `json:"PageTimeout"`
// Time limit for each page elements [ms]
ElementTimeout int32 `json:"ElementTimeout"`
// Time limit for all page elements [ms]
ElementsTotalTimeout int32 `json:"ElementsTotalTimeout"`
// Fetch page elements
FetchPageElements bool `json:"FetchPageElements"`
// Maximum length of HTTP redirects sequence
MaxRedirects int32 `json:"MaxRedirects"`
// Maximum number of HTTP requests run in parallel
MaxParallelRequests int32 `json:"MaxParallelRequests"`
// Generate a HAR file for each check
GenerateHar bool `json:"GenerateHar"`
// Number of elements that may not be fetched correctly
AllowedElementErrorCount int32 `json:"AllowedElementErrorCount,omitempty"`
// Content size limit (bytes)
ContentSizeLimit int32 `json:"ContentSizeLimit,omitempty"`
// Ignore HTML code processing time in results
IgnoreHtmlParsingTime bool `json:"IgnoreHtmlParsingTime"`
// Save cookies between checks
SaveCookies bool `json:"SaveCookies"`
// Disable HTTP transfer compression
DisableContentEncoding bool `json:"DisableContentEncoding"`
// Content
Content string `json:"Content,omitempty"`
// Content type
ContentType string `json:"ContentType,omitempty"`
// Ignore errors for elements with URLs matching the expression (only if page elements are fetched)
IgnoredElementsFilter string `json:"IgnoredElementsFilter,omitempty"`
// Do not fetch elements with URLs that match the expression
ElementsFilter string `json:"ElementsFilter,omitempty"`
// How many (%) locations have to report an error to consider it a breakdown
ErrorTolerance int32 `json:"ErrorTolerance"`
// Health check name
Name string `json:"Name"`
// URL or IP address of the monitored service
Address string `json:"Address"`
// Time interval between health checks, in seconds
Interval int32 `json:"Interval"`
// Is paused
Paused bool `json:"Paused"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled"`
// Notification types enabled for a health check
NotificationTypeIds []int32 `json:"NotificationTypeIds,omitempty"`
// Event types with enabled notification
NotificationEventTypeIds []int32 `json:"NotificationEventTypeIds,omitempty"`
// Time when notification is sent
NotificationTimeId int32 `json:"NotificationTimeId"`
// Description
Description string `json:"Description,omitempty"`
}
Create/update FullPage health check command
type CreateUpdateHealthCheckFullPageHttpsCommand ¶
type CreateUpdateHealthCheckFullPageHttpsCommand struct {
// Health check http method type (Dictionary 166)
HttpMethodId int32 `json:"HttpMethodId"`
// The content has to match the expression (GET and POST methods only)
ContentRegularExpression string `json:"ContentRegularExpression,omitempty"`
// The content cannot match the expression (GET and POST methods only)
ContentNegativeRegularExpression string `json:"ContentNegativeRegularExpression,omitempty"`
// Port
Port int32 `json:"Port"`
// Time limit for the main page body [ms]
PageTimeout int32 `json:"PageTimeout"`
// Time limit for each page elements [ms]
ElementTimeout int32 `json:"ElementTimeout"`
// Time limit for all page elements [ms]
ElementsTotalTimeout int32 `json:"ElementsTotalTimeout"`
// Fetch page elements
FetchPageElements bool `json:"FetchPageElements"`
// Maximum length of HTTP redirects sequence
MaxRedirects int32 `json:"MaxRedirects"`
// Maximum number of HTTP requests run in parallel
MaxParallelRequests int32 `json:"MaxParallelRequests"`
// Generate a HAR file for each check
GenerateHar bool `json:"GenerateHar"`
// Number of elements that may not be fetched correctly
AllowedElementErrorCount int32 `json:"AllowedElementErrorCount,omitempty"`
// Content size limit (bytes)
ContentSizeLimit int32 `json:"ContentSizeLimit,omitempty"`
// Ignore HTML code processing time in results
IgnoreHtmlParsingTime bool `json:"IgnoreHtmlParsingTime"`
// Save cookies between checks
SaveCookies bool `json:"SaveCookies"`
// Disable HTTP transfer compression
DisableContentEncoding bool `json:"DisableContentEncoding"`
// Content
Content string `json:"Content,omitempty"`
// Content type
ContentType string `json:"ContentType,omitempty"`
// Ignore errors for elements with URLs matching the expression (only if page elements are fetched)
IgnoredElementsFilter string `json:"IgnoredElementsFilter,omitempty"`
// Do not fetch elements with URLs that match the expression
ElementsFilter string `json:"ElementsFilter,omitempty"`
// How many (%) locations have to report an error to consider it a breakdown
ErrorTolerance int32 `json:"ErrorTolerance"`
// Health check name
Name string `json:"Name"`
// URL or IP address of the monitored service
Address string `json:"Address"`
// Time interval between health checks, in seconds
Interval int32 `json:"Interval"`
// Is paused
Paused bool `json:"Paused"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled"`
// Notification types enabled for a health check
NotificationTypeIds []int32 `json:"NotificationTypeIds,omitempty"`
// Event types with enabled notification
NotificationEventTypeIds []int32 `json:"NotificationEventTypeIds,omitempty"`
// Time when notification is sent
NotificationTimeId int32 `json:"NotificationTimeId"`
// Description
Description string `json:"Description,omitempty"`
}
Create/update FullPage Https health check command
type CreateUpdateHealthCheckHttpCommand ¶
type CreateUpdateHealthCheckHttpCommand struct {
// Health check http method type (Dictionary 166)
HttpMethodId int32 `json:"HttpMethodId"`
// The content has to match the expression (GET and POST methods only)
ContentRegularExpression string `json:"ContentRegularExpression,omitempty"`
// The content cannot match the expression (GET and POST methods only)
ContentNegativeRegularExpression string `json:"ContentNegativeRegularExpression,omitempty"`
// Port
Port int32 `json:"Port"`
// Time the server has to complete the request in [ms]
Timeout int32 `json:"Timeout"`
// Content
Content string `json:"Content,omitempty"`
// Content type
ContentType string `json:"ContentType,omitempty"`
// How many (%) locations have to report an error to consider it a breakdown
ErrorTolerance int32 `json:"ErrorTolerance"`
// Health check name
Name string `json:"Name"`
// URL or IP address of the monitored service
Address string `json:"Address"`
// Time interval between health checks, in seconds
Interval int32 `json:"Interval"`
// Is paused
Paused bool `json:"Paused"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled"`
// Notification types enabled for a health check
NotificationTypeIds []int32 `json:"NotificationTypeIds,omitempty"`
// Event types with enabled notification
NotificationEventTypeIds []int32 `json:"NotificationEventTypeIds,omitempty"`
// Time when notification is sent
NotificationTimeId int32 `json:"NotificationTimeId"`
// Description
Description string `json:"Description,omitempty"`
}
Create/update http health check command
type CreateUpdateHealthCheckHttpsCommand ¶
type CreateUpdateHealthCheckHttpsCommand struct {
// Health check http method type (Dictionary 166)
HttpMethodId int32 `json:"HttpMethodId"`
// The content has to match the expression (GET and POST methods only)
ContentRegularExpression string `json:"ContentRegularExpression,omitempty"`
// The content cannot match the expression (GET and POST methods only)
ContentNegativeRegularExpression string `json:"ContentNegativeRegularExpression,omitempty"`
// Port
Port int32 `json:"Port"`
// Time the server has to complete the request in [ms]
Timeout int32 `json:"Timeout"`
// Content
Content string `json:"Content,omitempty"`
// Content type
ContentType string `json:"ContentType,omitempty"`
// How many (%) locations have to report an error to consider it a breakdown
ErrorTolerance int32 `json:"ErrorTolerance"`
// Health check name
Name string `json:"Name"`
// URL or IP address of the monitored service
Address string `json:"Address"`
// Time interval between health checks, in seconds
Interval int32 `json:"Interval"`
// Is paused
Paused bool `json:"Paused"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled"`
// Notification types enabled for a health check
NotificationTypeIds []int32 `json:"NotificationTypeIds,omitempty"`
// Event types with enabled notification
NotificationEventTypeIds []int32 `json:"NotificationEventTypeIds,omitempty"`
// Time when notification is sent
NotificationTimeId int32 `json:"NotificationTimeId"`
// Description
Description string `json:"Description,omitempty"`
}
Create/update http health check command
type CreateUpdateHealthCheckImapCommand ¶
type CreateUpdateHealthCheckImapCommand struct {
// Port
Port int32 `json:"Port"`
// Time the server has to complete the request in [ms]
Timeout int32 `json:"Timeout"`
// How many (%) locations have to report an error to consider it a breakdown
ErrorTolerance int32 `json:"ErrorTolerance"`
// Health check name
Name string `json:"Name"`
// URL or IP address of the monitored service
Address string `json:"Address"`
// Time interval between health checks, in seconds
Interval int32 `json:"Interval"`
// Is paused
Paused bool `json:"Paused"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled"`
// Notification types enabled for a health check
NotificationTypeIds []int32 `json:"NotificationTypeIds,omitempty"`
// Event types with enabled notification
NotificationEventTypeIds []int32 `json:"NotificationEventTypeIds,omitempty"`
// Time when notification is sent
NotificationTimeId int32 `json:"NotificationTimeId"`
// Description
Description string `json:"Description,omitempty"`
}
Create/update imap health check command
type CreateUpdateHealthCheckImapSslCommand ¶
type CreateUpdateHealthCheckImapSslCommand struct {
// Port
Port int32 `json:"Port"`
// Time the server has to complete the request in [ms]
Timeout int32 `json:"Timeout"`
// How many (%) locations have to report an error to consider it a breakdown
ErrorTolerance int32 `json:"ErrorTolerance"`
// Health check name
Name string `json:"Name"`
// URL or IP address of the monitored service
Address string `json:"Address"`
// Time interval between health checks, in seconds
Interval int32 `json:"Interval"`
// Is paused
Paused bool `json:"Paused"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled"`
// Notification types enabled for a health check
NotificationTypeIds []int32 `json:"NotificationTypeIds,omitempty"`
// Event types with enabled notification
NotificationEventTypeIds []int32 `json:"NotificationEventTypeIds,omitempty"`
// Time when notification is sent
NotificationTimeId int32 `json:"NotificationTimeId"`
// Description
Description string `json:"Description,omitempty"`
}
Create/update imap ssl health check command
type CreateUpdateHealthCheckNotificationCommand ¶
type CreateUpdateHealthCheckNotificationCommand struct {
// Address
Address string `json:"Address"`
// Health check notification type (Dictionary 178)
NotificationTypeId int32 `json:"NotificationTypeId"`
}
Create/update health check notification command
type CreateUpdateHealthCheckPingCommand ¶
type CreateUpdateHealthCheckPingCommand struct {
// Data package size [bytes]
PackageSize int32 `json:"PackageSize"`
// Maximum waiting time for a response [ms]
ReplyTimeout int32 `json:"ReplyTimeout"`
// How many (%) locations have to report an error to consider it a breakdown
ErrorTolerance int32 `json:"ErrorTolerance"`
// Health check name
Name string `json:"Name"`
// URL or IP address of the monitored service
Address string `json:"Address"`
// Time interval between health checks, in seconds
Interval int32 `json:"Interval"`
// Is paused
Paused bool `json:"Paused"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled"`
// Notification types enabled for a health check
NotificationTypeIds []int32 `json:"NotificationTypeIds,omitempty"`
// Event types with enabled notification
NotificationEventTypeIds []int32 `json:"NotificationEventTypeIds,omitempty"`
// Time when notification is sent
NotificationTimeId int32 `json:"NotificationTimeId"`
// Description
Description string `json:"Description,omitempty"`
}
Create/update ping health check command
type CreateUpdateHealthCheckSipCommand ¶
type CreateUpdateHealthCheckSipCommand struct {
// Sip user name
SipUserName string `json:"SipUserName,omitempty"`
// Sip password
SipPassword string `json:"SipPassword,omitempty"`
// Sip domain
SipDomain string `json:"SipDomain,omitempty"`
// Time the server has to complete the request in [ms]
Timeout int32 `json:"Timeout,omitempty"`
// Health check name
Name string `json:"Name"`
// URL or IP address of the monitored service
Address string `json:"Address"`
// Time interval between health checks, in seconds
Interval int32 `json:"Interval"`
// Is paused
Paused bool `json:"Paused"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled"`
// Notification types enabled for a health check
NotificationTypeIds []int32 `json:"NotificationTypeIds,omitempty"`
// Event types with enabled notification
NotificationEventTypeIds []int32 `json:"NotificationEventTypeIds,omitempty"`
// Time when notification is sent
NotificationTimeId int32 `json:"NotificationTimeId"`
// Description
Description string `json:"Description,omitempty"`
}
Create/update imap health check command
type CreateUpdateHealthCheckSmtpCommand ¶
type CreateUpdateHealthCheckSmtpCommand struct {
// Port
Port int32 `json:"Port"`
// Maximum waiting time for a response [ms]
ReplyTimeout int32 `json:"ReplyTimeout"`
// Time the server has to complete the request in [ms]
Timeout int32 `json:"Timeout"`
// How many (%) locations have to report an error to consider it a breakdown
ErrorTolerance int32 `json:"ErrorTolerance"`
// Health check name
Name string `json:"Name"`
// URL or IP address of the monitored service
Address string `json:"Address"`
// Time interval between health checks, in seconds
Interval int32 `json:"Interval"`
// Is paused
Paused bool `json:"Paused"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled"`
// Notification types enabled for a health check
NotificationTypeIds []int32 `json:"NotificationTypeIds,omitempty"`
// Event types with enabled notification
NotificationEventTypeIds []int32 `json:"NotificationEventTypeIds,omitempty"`
// Time when notification is sent
NotificationTimeId int32 `json:"NotificationTimeId"`
// Description
Description string `json:"Description,omitempty"`
}
Create/update ping health check command
type CreateUpdateHealthCheckTcpCommand ¶
type CreateUpdateHealthCheckTcpCommand struct {
// Port
Port int32 `json:"Port"`
// Time the server has to complete the request in [ms]
Timeout int32 `json:"Timeout"`
// How many (%) locations have to report an error to consider it a breakdown
ErrorTolerance int32 `json:"ErrorTolerance"`
// Health check name
Name string `json:"Name"`
// URL or IP address of the monitored service
Address string `json:"Address"`
// Time interval between health checks, in seconds
Interval int32 `json:"Interval"`
// Is paused
Paused bool `json:"Paused"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled"`
// Notification types enabled for a health check
NotificationTypeIds []int32 `json:"NotificationTypeIds,omitempty"`
// Event types with enabled notification
NotificationEventTypeIds []int32 `json:"NotificationEventTypeIds,omitempty"`
// Time when notification is sent
NotificationTimeId int32 `json:"NotificationTimeId"`
// Description
Description string `json:"Description,omitempty"`
}
Create/update ping health check command
type CreateUpdateInstanceSchedulerCommand ¶
type CreateUpdateInstanceSchedulerCommand struct {
// Name
Name string `json:"Name"`
// Type id
TypeId int32 `json:"TypeId"`
// Start date
StartDate time.Time `json:"StartDate"`
// IANA Time zone. To get a list of available timezones, visit (https://momentjs.com/timezone)
TimeZoneName string `json:"TimeZoneName"`
// Cycle type id
CycleTypeId int32 `json:"CycleTypeId,omitempty"`
// Cycle number beetwen scheduler launch
CycleNumber int32 `json:"CycleNumber,omitempty"`
// Action type
ActionTypeId int32 `json:"ActionTypeId"`
// New instance type. In case of \"Instance type change\" action type.
NewInstanceTypeId int32 `json:"NewInstanceTypeId,omitempty"`
// Snapshot name. In case of \"Create snapshot\" action type.
SnapshotName string `json:"SnapshotName,omitempty"`
// Snapshot description. In case of \"Create snapshot\" action type.
SnapshotDescription string `json:"SnapshotDescription,omitempty"`
// Snashot. In case of \"Delete snapshot\" action type.
SnapshotId int32 `json:"SnapshotId,omitempty"`
// Clone name. In case of \"Clone machine\" action type.
CloneName string `json:"CloneName,omitempty"`
// Storage path. In case of \"Create backup\" action type.
StoragePath string `json:"StoragePath,omitempty"`
// Storage project id. In case of \"Create backup\" action type.
StorageProjectId string `json:"StorageProjectId,omitempty"`
// Is backups days limit set. In case of \"Create backup\" action type.
IsBackupsDaysLimit bool `json:"IsBackupsDaysLimit,omitempty"`
// Backups days limit. In case of \"Create backup\" action type.
BackupsDaysLimit int32 `json:"BackupsDaysLimit,omitempty"`
}
Create/update instance scheduler command
type CreateUpdateSnapshotCommand ¶
type CreateUpdateSnapshotCommand struct {
// Name
Name string `json:"Name"`
// Description
Description string `json:"Description,omitempty"`
}
Create/update snapshot command
type CreateUpdateVncConnectionCommand ¶
type CreateUpdateVncConnectionCommand struct {
// Source ip - only connections from this source ip will be accepted
SourceIp string `json:"SourceIp,omitempty"`
// Connection will be closed after that period
TimeoutInMinutes int32 `json:"TimeoutInMinutes"`
}
Create/update VNC connection command
type DeleteEventsCommand ¶
type DeleteEventsCommand struct {
// Date from
DateFrom time.Time `json:"DateFrom"`
// Date to
DateTo time.Time `json:"DateTo"`
}
Delete events command
type DeleteSnapshotsCommand ¶ added in v1.4.0
type DeleteSnapshotsCommand struct {
// Ids
Ids []int32 `json:"Ids"`
}
Delet snapshots command
type DetachFloatingIpFromInstanceCommand ¶ added in v1.4.0
type DetachFloatingIpFromInstanceCommand struct {
// IPv4 address identifier
IpV4 string `json:"IpV4"`
// Instance identifier.
InstanceId int32 `json:"InstanceId"`
}
Detach IP from instance command
type DetachInstanceFromOpnCommand ¶
type DetachInstanceFromOpnCommand struct {
// OPN id
OpnId int32 `json:"OpnId"`
}
Detach instance from OPN command
type DetachIpFromInstanceCommand ¶
type DetachIpFromInstanceCommand struct {
// IP address identifier
IpId int32 `json:"IpId"`
}
Detach IP from instance command
type DictionariesApiService ¶
type DictionariesApiService service
func (*DictionariesApiService) DictionariesGetDictionaries ¶
func (a *DictionariesApiService) DictionariesGetDictionaries(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionDictionary, *http.Response, error)
DictionariesApiService Returns dictionaries * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionDictionary
func (*DictionariesApiService) DictionariesGetDictionariesItems ¶
func (a *DictionariesApiService) DictionariesGetDictionariesItems(ctx context.Context, ids string, localVarOptionals map[string]interface{}) (ApiCollectionDictionaryItem, *http.Response, error)
DictionariesApiService Returns dictionaries items * @param ctx context.Context for authentication, logging, tracing, etc. @param ids Dictionaries ids @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionDictionaryItem
func (*DictionariesApiService) DictionariesGetLanguages ¶
func (a *DictionariesApiService) DictionariesGetLanguages(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionDictionaryItem, *http.Response, error)
DictionariesApiService Returns languages * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionDictionaryItem
type Dictionary ¶
type Dictionary struct {
// Id
Id int32 `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
}
Dictionary
type DictionaryItem ¶
type DictionaryItem struct {
// ID
Id int32 `json:"Id,omitempty"`
// Label
Label string `json:"Label,omitempty"`
// Dictionary
Dictionary *Resource `json:"Dictionary,omitempty"`
}
Dictionary item
type Disk ¶
type Disk struct {
// Id
Id int32 `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Space capacity in GB
SpaceCapacity int32 `json:"SpaceCapacity,omitempty"`
// Tier
Tier *DictionaryItem `json:"Tier,omitempty"`
// Creation date
CreationDate time.Time `json:"CreationDate,omitempty"`
// User who created the disk
CreationUser *UserResource `json:"CreationUser,omitempty"`
IsShared bool `json:"IsShared,omitempty"`
SharedDiskType *DictionaryItem `json:"SharedDiskType,omitempty"`
// Subregion
Subregion *BaseResource `json:"Subregion,omitempty"`
// If the disk is locked by a running operation
IsLocked bool `json:"IsLocked,omitempty"`
// Locking date
LockingDate time.Time `json:"LockingDate,omitempty"`
// Connections to instances
Connections []DiskConnection `json:"Connections,omitempty"`
// Is freemium
IsFreemium bool `json:"IsFreemium,omitempty"`
}
OVS disk
type DiskConnection ¶
type DiskConnection struct {
// Instance
Instance *BaseResource `json:"Instance,omitempty"`
// Controller
Controller int32 `json:"Controller,omitempty"`
// Slot
Slot int32 `json:"Slot,omitempty"`
// If is system disk
IsSystemDisk bool `json:"IsSystemDisk,omitempty"`
}
Represents disk connection to instance
type DisksSearchParams ¶
type DisksSearchParams struct {
// Disk type
DiskType string `json:"DiskType,omitempty"`
// Show deleted
ShowDeleted bool `json:"ShowDeleted,omitempty"`
// Query
Query string `json:"Query,omitempty"`
// Page size
PageSize int32 `json:"PageSize,omitempty"`
// Page number
PageNumber int32 `json:"PageNumber,omitempty"`
// Order by
OrderBy string `json:"OrderBy,omitempty"`
// Sort expression
SortExpression string `json:"SortExpression,omitempty"`
// Sort direction
SortDirection string `json:"SortDirection,omitempty"`
}
Search params for disks
type EventsSearchParams ¶
type EventsSearchParams struct {
// User id
UserId int32 `json:"UserId,omitempty"`
// Date from
DateFrom time.Time `json:"DateFrom,omitempty"`
// Date to
DateTo time.Time `json:"DateTo,omitempty"`
// Operation type id
OperationTypeId int32 `json:"OperationTypeId,omitempty"`
// Page size
PageSize int32 `json:"PageSize,omitempty"`
// Page number
PageNumber int32 `json:"PageNumber,omitempty"`
// Order by
OrderBy string `json:"OrderBy,omitempty"`
// Sort expression
SortExpression string `json:"SortExpression,omitempty"`
// Sort direction
SortDirection string `json:"SortDirection,omitempty"`
}
Search params for instance events
type Export ¶
type Export struct {
// Id
Id int32 `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Creation date
CreationDate time.Time `json:"CreationDate,omitempty"`
// Start date
StartDate time.Time `json:"StartDate,omitempty"`
// End date
EndDate time.Time `json:"EndDate,omitempty"`
// Status
Status *DictionaryItem `json:"Status,omitempty"`
// Location in OCS
OcsLocation string `json:"OcsLocation,omitempty"`
// OCS Project Id
OcsProjectId string `json:"OcsProjectId,omitempty"`
// Total space capacity in GB
TotalSpaceCapacity int32 `json:"TotalSpaceCapacity,omitempty"`
// Instance
Instance *NamedResource `json:"Instance,omitempty"`
// Creation user
CreationUser *UserResource `json:"CreationUser,omitempty"`
// Origin
Origin *DictionaryItem `json:"Origin,omitempty"`
// Scheduler that launches export
Scheduler *BaseResource `json:"Scheduler,omitempty"`
}
Instance export task
type ExportsSearchParams ¶
type ExportsSearchParams struct {
// Instance id
InstanceId int32 `json:"InstanceId,omitempty"`
// Status id
StatusId int32 `json:"StatusId,omitempty"`
// Page size
PageSize int32 `json:"PageSize,omitempty"`
// Page number
PageNumber int32 `json:"PageNumber,omitempty"`
// Order by
OrderBy string `json:"OrderBy,omitempty"`
// Sort expression
SortExpression string `json:"SortExpression,omitempty"`
// Sort direction
SortDirection string `json:"SortDirection,omitempty"`
}
Exports search params
type FloatingIPsApiService ¶ added in v1.4.0
type FloatingIPsApiService service
func (*FloatingIPsApiService) FloatingIpsBookNewIp ¶ added in v1.4.0
func (a *FloatingIPsApiService) FloatingIpsBookNewIp(ctx context.Context, command BookIpCommand) (Ip, *http.Response, error)
FloatingIPsApiService Book new IP address * @param ctx context.Context for authentication, logging, tracing, etc. @param command @return Ip
func (*FloatingIPsApiService) FloatingIpsChangeIpSubregionTicket ¶ added in v1.4.0
func (a *FloatingIPsApiService) FloatingIpsChangeIpSubregionTicket(ctx context.Context, ipV4 string, localVarOptionals map[string]interface{}) (Ticket, *http.Response, error)
FloatingIPsApiService Change IP subregion * @param ctx context.Context for authentication, logging, tracing, etc. @param ipV4 IPv4 address identifier. @param optional (nil or map[string]interface{}) with one or more of:
@param "subregionId" (int32) Subregion Id
@return Ticket
func (*FloatingIPsApiService) FloatingIpsDeleteIp ¶ added in v1.4.0
func (a *FloatingIPsApiService) FloatingIpsDeleteIp(ctx context.Context, ip string) (Object, *http.Response, error)
FloatingIPsApiService Deletes IP address * @param ctx context.Context for authentication, logging, tracing, etc. @param ip IPv4 address @return Object
func (*FloatingIPsApiService) FloatingIpsGetIp ¶ added in v1.4.0
func (a *FloatingIPsApiService) FloatingIpsGetIp(ctx context.Context, ip string, localVarOptionals map[string]interface{}) (Ip, *http.Response, error)
FloatingIPsApiService Returns IP by Ipv4 address * @param ctx context.Context for authentication, logging, tracing, etc. @param ip @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return Ip
func (*FloatingIPsApiService) FloatingIpsGetIps ¶ added in v1.4.0
func (a *FloatingIPsApiService) FloatingIpsGetIps(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionIp, *http.Response, error)
FloatingIPsApiService Returns public ip list Acceptable order values are: Address, Subregion, Comment, Type. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "instanceId" (int32) Instance id @param "onlyFree" (bool) Only free @param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionIp
func (*FloatingIPsApiService) FloatingIpsPostAttachIpTicket ¶ added in v1.4.0
func (a *FloatingIPsApiService) FloatingIpsPostAttachIpTicket(ctx context.Context, instanceId int32, localVarOptionals map[string]interface{}) (Ticket, *http.Response, error)
FloatingIPsApiService Attach public IP to instance * @param ctx context.Context for authentication, logging, tracing, etc. @param instanceId Instance identifier. @param optional (nil or map[string]interface{}) with one or more of:
@param "ipV4" (string) IPv4 address identifier. Optional value, if null random ip will be attached. @param "ipV6Only" (bool) If attach IPv6 only. Optional value, if null IPv4 and IPv6 will be attached.
@return Ticket
func (*FloatingIPsApiService) FloatingIpsPostDetachIpTicket ¶ added in v1.4.0
func (a *FloatingIPsApiService) FloatingIpsPostDetachIpTicket(ctx context.Context, ipV4 string, instanceId int32) (Ticket, *http.Response, error)
FloatingIPsApiService Detach public IP from instance * @param ctx context.Context for authentication, logging, tracing, etc. @param ipV4 IPv4 address identifier @param instanceId Instance identifier. @return Ticket
func (*FloatingIPsApiService) FloatingIpsUpdateIp ¶ added in v1.4.0
func (a *FloatingIPsApiService) FloatingIpsUpdateIp(ctx context.Context, ip string, command UpdateIpCommand) (Object, *http.Response, error)
FloatingIPsApiService Updates IP address * @param ctx context.Context for authentication, logging, tracing, etc. @param ip @param command @return Object
type GetScreenshotCommand ¶
type GetScreenshotCommand struct {
// The pixel width of the scaled image
Width int32 `json:"Width,omitempty"`
// The pixel height of the scaled image
Height int32 `json:"Height,omitempty"`
}
Get screenshot command
type Group ¶
type Group struct {
// Id
Id int32 `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Is load balancing enabled
IsLoadBalancer bool `json:"IsLoadBalancer,omitempty"`
// Instances count in container
InstancesCount int32 `json:"InstancesCount,omitempty"`
// Schedulers count assigned to container
SchedulersCount int32 `json:"SchedulersCount,omitempty"`
// Instances affinity rule type
AffinityRuleType *DictionaryItem `json:"AffinityRuleType,omitempty"`
// Autoscaling type
AutoscalingType *DictionaryItem `json:"AutoscalingType,omitempty"`
// Last modified date
LastChangeDate time.Time `json:"LastChangeDate,omitempty"`
// User who created the group
CreationUser *UserResource `json:"CreationUser,omitempty"`
}
Group
type GroupAssignment ¶
type GroupAssignment struct {
// Id of an instance
InstanceId int32 `json:"InstanceId,omitempty"`
// Id of ip
IpId int32 `json:"IpId,omitempty"`
// Instance ip v4 address attached to group
IpV4 string `json:"IpV4,omitempty"`
// Instance ip v6 address attached to group
IpV6 string `json:"IpV6,omitempty"`
}
Group assignment
type GroupAutoscaler ¶
type GroupAutoscaler struct {
// Expansion type
ExpansionType *DictionaryItem `json:"ExpansionType,omitempty"`
// Minimum instance number in group
MinimumInstanceNumber int32 `json:"MinimumInstanceNumber,omitempty"`
// Minimum instance number in group
MaximumInstanceNumber int32 `json:"MaximumInstanceNumber,omitempty"`
// Instances to scaling
Instances []GroupAutoscalerInstance `json:"Instances,omitempty"`
}
Group autoscaler settings
type GroupAutoscalerInstance ¶
type GroupAutoscalerInstance struct {
// Instance
Instance *BaseResource `json:"Instance,omitempty"`
// Order number
OrderNumber int32 `json:"OrderNumber,omitempty"`
}
Instance used by group autoscaler
type GroupScheduler ¶
type GroupScheduler struct {
// ID
Id int32 `json:"Id,omitempty"`
// User who created the scheduler
CreationUser *UserResource `json:"CreationUser,omitempty"`
// Instance
Instance *BaseResource `json:"Instance,omitempty"`
// Group
Group *BaseResource `json:"Group,omitempty"`
// Creation date
CreationDate time.Time `json:"CreationDate,omitempty"`
// Last change date
LastChangeDate time.Time `json:"LastChangeDate,omitempty"`
// Start date
StartDate time.Time `json:"StartDate,omitempty"`
// Time zone name
TimeZoneName string `json:"TimeZoneName,omitempty"`
// Scheduler name
Name string `json:"Name,omitempty"`
// Status
Status *DictionaryItem `json:"Status,omitempty"`
// Type
Type_ *DictionaryItem `json:"Type,omitempty"`
// Action type
ActionType *DictionaryItem `json:"ActionType,omitempty"`
// Cycle type
CycleType *DictionaryItem `json:"CycleType,omitempty"`
// Cycle number beetwen scheduler launch
CycleNumber int32 `json:"CycleNumber,omitempty"`
}
Group scheduler
type HealthCheck ¶
type HealthCheck struct {
// Id
Id int32 `json:"Id,omitempty"`
// Interval
Interval int32 `json:"Interval,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Address
Address string `json:"Address,omitempty"`
// Type
ServiceType *DictionaryItem `json:"ServiceType,omitempty"`
// State
State *DictionaryItem `json:"State,omitempty"`
// Details url
DetailsLocation string `json:"DetailsLocation,omitempty"`
// Is paused
Paused bool `json:"Paused,omitempty"`
// Is suspended
Suspended bool `json:"Suspended,omitempty"`
// Last invalid check
LastInvalidCheck time.Time `json:"LastInvalidCheck,omitempty"`
// Last valid check
LastValidCheck time.Time `json:"LastValidCheck,omitempty"`
// Description
Description string `json:"Description,omitempty"`
}
Health check
type HealthCheckDns ¶
type HealthCheckDns struct {
// Timeout
Timeout int32 `json:"Timeout,omitempty"`
// Record type
RecordType *DictionaryItem `json:"RecordType,omitempty"`
// Query domain
QueryDomain string `json:"QueryDomain,omitempty"`
// Expected DNS record value
ExpectedResponseValue string `json:"ExpectedResponseValue,omitempty"`
// Recursive query
Recurse bool `json:"Recurse,omitempty"`
// Notification types enabled for a health check
NotificationTypes []DictionaryItem `json:"NotificationTypes,omitempty"`
// Event types with enabled notification
NotificationEventTypes []DictionaryItem `json:"NotificationEventTypes,omitempty"`
// Time when notification is sent
NotificationTime *DictionaryItem `json:"NotificationTime,omitempty"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled,omitempty"`
// How many (%) locations have to report an error to consider it a breakdown
ErrorTolerance int32 `json:"ErrorTolerance,omitempty"`
// Id
Id int32 `json:"Id,omitempty"`
// Interval
Interval int32 `json:"Interval,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Address
Address string `json:"Address,omitempty"`
// Type
ServiceType *DictionaryItem `json:"ServiceType,omitempty"`
// State
State *DictionaryItem `json:"State,omitempty"`
// Details url
DetailsLocation string `json:"DetailsLocation,omitempty"`
// Is paused
Paused bool `json:"Paused,omitempty"`
// Is suspended
Suspended bool `json:"Suspended,omitempty"`
// Last invalid check
LastInvalidCheck time.Time `json:"LastInvalidCheck,omitempty"`
// Last valid check
LastValidCheck time.Time `json:"LastValidCheck,omitempty"`
// Description
Description string `json:"Description,omitempty"`
}
Dns health check
type HealthCheckFullPage ¶
type HealthCheckFullPage struct {
// Health check http method type
HttpMethod *DictionaryItem `json:"HttpMethod,omitempty"`
// The content has to match the expression (GET and POST methods only)
ContentRegularExpression string `json:"ContentRegularExpression,omitempty"`
// The content cannot match the expression (GET and POST methods only)
ContentNegativeRegularExpression string `json:"ContentNegativeRegularExpression,omitempty"`
// Port
Port int32 `json:"Port,omitempty"`
// Time limit for the main page body [ms]
PageTimeout int32 `json:"PageTimeout,omitempty"`
// Time limit for each page elements [ms]
ElementTimeout int32 `json:"ElementTimeout,omitempty"`
// Time limit for all page elements [ms]
ElementsTotalTimeout int32 `json:"ElementsTotalTimeout,omitempty"`
// Fetch page elements
FetchPageElements bool `json:"FetchPageElements,omitempty"`
// Maximum length of HTTP redirects sequence
MaxRedirects int32 `json:"MaxRedirects,omitempty"`
// Maximum number of HTTP requests run in parallel
MaxParallelRequests int32 `json:"MaxParallelRequests,omitempty"`
// Generate a HAR file for each check
GenerateHar bool `json:"GenerateHar,omitempty"`
// Number of elements that may not be fetched correctly
AllowedElementErrorCount int32 `json:"AllowedElementErrorCount,omitempty"`
// Content size limit (bytes)
ContentSizeLimit int32 `json:"ContentSizeLimit,omitempty"`
// Ignore HTML code processing time in results
IgnoreHtmlParsingTime bool `json:"IgnoreHtmlParsingTime,omitempty"`
// Save cookies between checks
SaveCookies bool `json:"SaveCookies,omitempty"`
// Disable HTTP transfer compression
DisableContentEncoding bool `json:"DisableContentEncoding,omitempty"`
// Content
Content string `json:"Content,omitempty"`
// Content type
ContentType string `json:"ContentType,omitempty"`
// Ignore errors for elements with URLs matching the expression (only if page elements are fetched)
IgnoredElementsFilter string `json:"IgnoredElementsFilter,omitempty"`
// Do not fetch elements with URLs that match the expression
ElementsFilter string `json:"ElementsFilter,omitempty"`
// Notification types enabled for a health check
NotificationTypes []DictionaryItem `json:"NotificationTypes,omitempty"`
// Event types with enabled notification
NotificationEventTypes []DictionaryItem `json:"NotificationEventTypes,omitempty"`
// Time when notification is sent
NotificationTime *DictionaryItem `json:"NotificationTime,omitempty"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled,omitempty"`
// How many (%) locations have to report an error to consider it a breakdown
ErrorTolerance int32 `json:"ErrorTolerance,omitempty"`
// Id
Id int32 `json:"Id,omitempty"`
// Interval
Interval int32 `json:"Interval,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Address
Address string `json:"Address,omitempty"`
// Type
ServiceType *DictionaryItem `json:"ServiceType,omitempty"`
// State
State *DictionaryItem `json:"State,omitempty"`
// Details url
DetailsLocation string `json:"DetailsLocation,omitempty"`
// Is paused
Paused bool `json:"Paused,omitempty"`
// Is suspended
Suspended bool `json:"Suspended,omitempty"`
// Last invalid check
LastInvalidCheck time.Time `json:"LastInvalidCheck,omitempty"`
// Last valid check
LastValidCheck time.Time `json:"LastValidCheck,omitempty"`
// Description
Description string `json:"Description,omitempty"`
}
FullPage health check
type HealthCheckHttp ¶
type HealthCheckHttp struct {
// Health check http method type
HttpMethod *DictionaryItem `json:"HttpMethod,omitempty"`
// The content has to match the expression
ContentRegularExpression string `json:"ContentRegularExpression,omitempty"`
// The content cannot match the expression
ContentNegativeRegularExpression string `json:"ContentNegativeRegularExpression,omitempty"`
// Port
Port int32 `json:"Port,omitempty"`
// Timeout
Timeout int32 `json:"Timeout,omitempty"`
// Content
Content string `json:"Content,omitempty"`
// Content type
ContentType string `json:"ContentType,omitempty"`
// Notification types enabled for a health check
NotificationTypes []DictionaryItem `json:"NotificationTypes,omitempty"`
// Event types with enabled notification
NotificationEventTypes []DictionaryItem `json:"NotificationEventTypes,omitempty"`
// Time when notification is sent
NotificationTime *DictionaryItem `json:"NotificationTime,omitempty"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled,omitempty"`
// How many (%) locations have to report an error to consider it a breakdown
ErrorTolerance int32 `json:"ErrorTolerance,omitempty"`
// Id
Id int32 `json:"Id,omitempty"`
// Interval
Interval int32 `json:"Interval,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Address
Address string `json:"Address,omitempty"`
// Type
ServiceType *DictionaryItem `json:"ServiceType,omitempty"`
// State
State *DictionaryItem `json:"State,omitempty"`
// Details url
DetailsLocation string `json:"DetailsLocation,omitempty"`
// Is paused
Paused bool `json:"Paused,omitempty"`
// Is suspended
Suspended bool `json:"Suspended,omitempty"`
// Last invalid check
LastInvalidCheck time.Time `json:"LastInvalidCheck,omitempty"`
// Last valid check
LastValidCheck time.Time `json:"LastValidCheck,omitempty"`
// Description
Description string `json:"Description,omitempty"`
}
Http health check
type HealthCheckImap ¶
type HealthCheckImap struct {
// Port
Port int32 `json:"Port,omitempty"`
// Timeout
Timeout int32 `json:"Timeout,omitempty"`
// Notification types enabled for a health check
NotificationTypes []DictionaryItem `json:"NotificationTypes,omitempty"`
// Event types with enabled notification
NotificationEventTypes []DictionaryItem `json:"NotificationEventTypes,omitempty"`
// Time when notification is sent
NotificationTime *DictionaryItem `json:"NotificationTime,omitempty"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled,omitempty"`
// How many (%) locations have to report an error to consider it a breakdown
ErrorTolerance int32 `json:"ErrorTolerance,omitempty"`
// Id
Id int32 `json:"Id,omitempty"`
// Interval
Interval int32 `json:"Interval,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Address
Address string `json:"Address,omitempty"`
// Type
ServiceType *DictionaryItem `json:"ServiceType,omitempty"`
// State
State *DictionaryItem `json:"State,omitempty"`
// Details url
DetailsLocation string `json:"DetailsLocation,omitempty"`
// Is paused
Paused bool `json:"Paused,omitempty"`
// Is suspended
Suspended bool `json:"Suspended,omitempty"`
// Last invalid check
LastInvalidCheck time.Time `json:"LastInvalidCheck,omitempty"`
// Last valid check
LastValidCheck time.Time `json:"LastValidCheck,omitempty"`
// Description
Description string `json:"Description,omitempty"`
}
Imap health check
type HealthCheckNotification ¶
type HealthCheckNotification struct {
// Id
Id int32 `json:"Id,omitempty"`
// Address
Address string `json:"Address,omitempty"`
// Notification type
NotificationType *DictionaryItem `json:"NotificationType,omitempty"`
}
Heatlth check notification
type HealthCheckPing ¶
type HealthCheckPing struct {
// Package size
PackageSize int32 `json:"PackageSize,omitempty"`
// Reply timeout
ReplyTimeout int32 `json:"ReplyTimeout,omitempty"`
// Notification types enabled for a health check
NotificationTypes []DictionaryItem `json:"NotificationTypes,omitempty"`
// Event types with enabled notification
NotificationEventTypes []DictionaryItem `json:"NotificationEventTypes,omitempty"`
// Time when notification is sent
NotificationTime *DictionaryItem `json:"NotificationTime,omitempty"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled,omitempty"`
// How many (%) locations have to report an error to consider it a breakdown
ErrorTolerance int32 `json:"ErrorTolerance,omitempty"`
// Id
Id int32 `json:"Id,omitempty"`
// Interval
Interval int32 `json:"Interval,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Address
Address string `json:"Address,omitempty"`
// Type
ServiceType *DictionaryItem `json:"ServiceType,omitempty"`
// State
State *DictionaryItem `json:"State,omitempty"`
// Details url
DetailsLocation string `json:"DetailsLocation,omitempty"`
// Is paused
Paused bool `json:"Paused,omitempty"`
// Is suspended
Suspended bool `json:"Suspended,omitempty"`
// Last invalid check
LastInvalidCheck time.Time `json:"LastInvalidCheck,omitempty"`
// Last valid check
LastValidCheck time.Time `json:"LastValidCheck,omitempty"`
// Description
Description string `json:"Description,omitempty"`
}
Ping health check
type HealthCheckSip ¶
type HealthCheckSip struct {
// Sip user name
SipUserName string `json:"SipUserName,omitempty"`
// Sip password
SipPassword string `json:"SipPassword,omitempty"`
// Sip domain
SipDomain string `json:"SipDomain,omitempty"`
// Timeout
Timeout int32 `json:"Timeout,omitempty"`
// Notification types enabled for a health check
NotificationTypes []DictionaryItem `json:"NotificationTypes,omitempty"`
// Event types with enabled notification
NotificationEventTypes []DictionaryItem `json:"NotificationEventTypes,omitempty"`
// Time when notification is sent
NotificationTime *DictionaryItem `json:"NotificationTime,omitempty"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled,omitempty"`
// Id
Id int32 `json:"Id,omitempty"`
// Interval
Interval int32 `json:"Interval,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Address
Address string `json:"Address,omitempty"`
// Type
ServiceType *DictionaryItem `json:"ServiceType,omitempty"`
// State
State *DictionaryItem `json:"State,omitempty"`
// Details url
DetailsLocation string `json:"DetailsLocation,omitempty"`
// Is paused
Paused bool `json:"Paused,omitempty"`
// Is suspended
Suspended bool `json:"Suspended,omitempty"`
// Last invalid check
LastInvalidCheck time.Time `json:"LastInvalidCheck,omitempty"`
// Last valid check
LastValidCheck time.Time `json:"LastValidCheck,omitempty"`
// Description
Description string `json:"Description,omitempty"`
}
Sip health check
type HealthCheckSmtp ¶
type HealthCheckSmtp struct {
// Port
Port int32 `json:"Port,omitempty"`
// Timeout
Timeout int32 `json:"Timeout,omitempty"`
// Reply timeout
ReplyTimeout int32 `json:"ReplyTimeout,omitempty"`
// Notification types enabled for a health check
NotificationTypes []DictionaryItem `json:"NotificationTypes,omitempty"`
// Event types with enabled notification
NotificationEventTypes []DictionaryItem `json:"NotificationEventTypes,omitempty"`
// Time when notification is sent
NotificationTime *DictionaryItem `json:"NotificationTime,omitempty"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled,omitempty"`
// How many (%) locations have to report an error to consider it a breakdown
ErrorTolerance int32 `json:"ErrorTolerance,omitempty"`
// Id
Id int32 `json:"Id,omitempty"`
// Interval
Interval int32 `json:"Interval,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Address
Address string `json:"Address,omitempty"`
// Type
ServiceType *DictionaryItem `json:"ServiceType,omitempty"`
// State
State *DictionaryItem `json:"State,omitempty"`
// Details url
DetailsLocation string `json:"DetailsLocation,omitempty"`
// Is paused
Paused bool `json:"Paused,omitempty"`
// Is suspended
Suspended bool `json:"Suspended,omitempty"`
// Last invalid check
LastInvalidCheck time.Time `json:"LastInvalidCheck,omitempty"`
// Last valid check
LastValidCheck time.Time `json:"LastValidCheck,omitempty"`
// Description
Description string `json:"Description,omitempty"`
}
Ping health check
type HealthCheckTcp ¶
type HealthCheckTcp struct {
// Port
Port int32 `json:"Port,omitempty"`
// Timeout
Timeout int32 `json:"Timeout,omitempty"`
// Notification types enabled for a health check
NotificationTypes []DictionaryItem `json:"NotificationTypes,omitempty"`
// Event types with enabled notification
NotificationEventTypes []DictionaryItem `json:"NotificationEventTypes,omitempty"`
// Time when notification is sent
NotificationTime *DictionaryItem `json:"NotificationTime,omitempty"`
// Use random substitute locations in case of location breakdown
LocationsFailoverEnabled bool `json:"LocationsFailoverEnabled,omitempty"`
// How many (%) locations have to report an error to consider it a breakdown
ErrorTolerance int32 `json:"ErrorTolerance,omitempty"`
// Id
Id int32 `json:"Id,omitempty"`
// Interval
Interval int32 `json:"Interval,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Address
Address string `json:"Address,omitempty"`
// Type
ServiceType *DictionaryItem `json:"ServiceType,omitempty"`
// State
State *DictionaryItem `json:"State,omitempty"`
// Details url
DetailsLocation string `json:"DetailsLocation,omitempty"`
// Is paused
Paused bool `json:"Paused,omitempty"`
// Is suspended
Suspended bool `json:"Suspended,omitempty"`
// Last invalid check
LastInvalidCheck time.Time `json:"LastInvalidCheck,omitempty"`
// Last valid check
LastValidCheck time.Time `json:"LastValidCheck,omitempty"`
// Description
Description string `json:"Description,omitempty"`
}
Ping health check
type ImportDisk ¶
type ImportDisk struct {
// Id of disk
Id int32 `json:"Id,omitempty"`
// Capacity in GB
Capacity int32 `json:"Capacity,omitempty"`
// Disk name
DiskName string `json:"DiskName,omitempty"`
// Relative path
RelativePath string `json:"RelativePath,omitempty"`
// Controller index
Controller int32 `json:"Controller,omitempty"`
// Controller slot index
ControllerSlot int32 `json:"ControllerSlot,omitempty"`
}
Disk of imported OCI
type Instance ¶
type Instance struct {
// ID
Id int32 `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Creation date
CreationDate time.Time `json:"CreationDate,omitempty"`
// User who created the instance
CreationUser *UserResource `json:"CreationUser,omitempty"`
// If the instance is locked by a running operation
IsLocked bool `json:"IsLocked,omitempty"`
// Locking date
LockingDate time.Time `json:"LockingDate,omitempty"`
// Template from which the instance was created
Template *BaseResource `json:"Template,omitempty"`
// Subregion that is running the instance
Subregion *BaseResource `json:"Subregion,omitempty"`
// Instance type. Defines the configuration of CPU and RAM
Type_ *DictionaryItem `json:"Type,omitempty"`
// Status
Status *DictionaryItem `json:"Status,omitempty"`
// Operating system category installed on the instance
SystemCategory *DictionaryItem `json:"SystemCategory,omitempty"`
// Autoscaling type
AutoscalingType *DictionaryItem `json:"AutoscalingType,omitempty"`
// VMware Tools status
VmWareToolsStatus *DictionaryItem `json:"VmWareToolsStatus,omitempty"`
// Monitoring status
MonitStatus *DictionaryItem `json:"MonitStatus,omitempty"`
// Template type eg marketplace, oci instance
TemplateType *DictionaryItem `json:"TemplateType,omitempty"`
// IP address
IpAddress string `json:"IpAddress,omitempty"`
// Private IP address
PrivateIpAddress string `json:"PrivateIpAddress,omitempty"`
// DNS address
DnsAddress string `json:"DnsAddress,omitempty"`
// Total disks capacity in GB
TotalDisksCapacity int32 `json:"TotalDisksCapacity,omitempty"`
// Payment type
PaymentType *DictionaryItem `json:"PaymentType,omitempty"`
// Health check
HealthCheck *BaseResource `json:"HealthCheck,omitempty"`
// SCSI controller type
ScsiControllerType *DictionaryItem `json:"ScsiControllerType,omitempty"`
// Is freemium
IsFreemium bool `json:"IsFreemium,omitempty"`
// Number of CPUs
CpuNumber int32 `json:"CpuNumber,omitempty"`
// Memory in MB
RamMb int32 `json:"RamMb,omitempty"`
// Support type
SupportType *Software `json:"SupportType,omitempty"`
// Is hot plug enabled
IsHotPlugEnabled bool `json:"IsHotPlugEnabled,omitempty"`
}
Instance
type InstanceAutoscalingParameter ¶
type InstanceAutoscalingParameter struct {
// Autoscaling parameter type
AutoscalingParameterType *DictionaryItem `json:"AutoscalingParameterType,omitempty"`
// Minimum RAM capacity in megabytes
MinRam int32 `json:"MinRam,omitempty"`
// Maximum RAM capacity in megabytes
MaxRam int32 `json:"MaxRam,omitempty"`
// Minimum CPU count
MinCpu int32 `json:"MinCpu,omitempty"`
// Maximum CPU count
MaxCpu int32 `json:"MaxCpu,omitempty"`
// Instance class increase agreement
HasAgreedToIncreaseClass bool `json:"HasAgreedToIncreaseClass,omitempty"`
// Instance class decrease agreement
HasAgreedToDecreaseClass bool `json:"HasAgreedToDecreaseClass,omitempty"`
// Restart agreement
HasAgreedToRestart bool `json:"HasAgreedToRestart,omitempty"`
// Restart time lower limit
RestartTimeFrom *NullableTime `json:"RestartTimeFrom,omitempty"`
// Restart time upper limit
RestartTimeTo *NullableTime `json:"RestartTimeTo,omitempty"`
// Time zone name (https://www.iana.org/time-zones)
TimeZoneName string `json:"TimeZoneName,omitempty"`
}
Instance autoscaling configuration
type InstanceEvent ¶
type InstanceEvent struct {
// Id
Id int64 `json:"Id,omitempty"`
// Date
Date time.Time `json:"Date,omitempty"`
// Instance
Instance *NamedResource `json:"Instance,omitempty"`
// User who performed the operation
User *UserResource `json:"User,omitempty"`
// Operation type
OperationType *DictionaryItem `json:"OperationType,omitempty"`
// Operation status
OperationStatus *DictionaryItem `json:"OperationStatus,omitempty"`
// Message
Message string `json:"Message,omitempty"`
}
Event that have occurred on instance
type InstanceExportsSearchParams ¶
type InstanceExportsSearchParams struct {
// Status id
StatusId int32 `json:"StatusId,omitempty"`
// Page size
PageSize int32 `json:"PageSize,omitempty"`
// Page number
PageNumber int32 `json:"PageNumber,omitempty"`
// Order by
OrderBy string `json:"OrderBy,omitempty"`
// Sort expression
SortExpression string `json:"SortExpression,omitempty"`
// Sort direction
SortDirection string `json:"SortDirection,omitempty"`
}
Instance exports search params
type InstanceScheduler ¶
type InstanceScheduler struct {
// ID
Id int32 `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Instance
Instance *BaseResource `json:"Instance,omitempty"`
// Creation date
CreationDate time.Time `json:"CreationDate,omitempty"`
// Last change date
LastChangeDate time.Time `json:"LastChangeDate,omitempty"`
// User who created the scheduler
CreationUser *UserResource `json:"CreationUser,omitempty"`
// Type
Type_ *DictionaryItem `json:"Type,omitempty"`
// Status
Status *DictionaryItem `json:"Status,omitempty"`
// Start date
StartDate time.Time `json:"StartDate,omitempty"`
// Time zone name
TimeZoneName string `json:"TimeZoneName,omitempty"`
// Cycle type
CycleType *DictionaryItem `json:"CycleType,omitempty"`
// Cycle number beetwen scheduler launch
CycleNumber int32 `json:"CycleNumber,omitempty"`
// Action type
ActionType *DictionaryItem `json:"ActionType,omitempty"`
// New instance type. In case of \"Instance type change\" action type.
NewInstanceType *DictionaryItem `json:"NewInstanceType,omitempty"`
// Snapshot name. In case of \"Create snapshot\" action type.
SnapshotName string `json:"SnapshotName,omitempty"`
// Snapshot description. In case of \"Create snapshot\" action type.
SnapshotDescription string `json:"SnapshotDescription,omitempty"`
// Snashot. In case of \"Delete snapshot\" action type.
Snapshot *BaseResource `json:"Snapshot,omitempty"`
// Clone name. In case of \"Clone machine\" action type.
CloneName string `json:"CloneName,omitempty"`
// Storage path. In case of \"Create backup\" action type.
StoragePath string `json:"StoragePath,omitempty"`
// Storage project id. In case of \"Create backup\" action type.
StorageProjectId string `json:"StorageProjectId,omitempty"`
// Is backups days limit set. In case of \"Create backup\" action type.
IsBackupsDaysLimit bool `json:"IsBackupsDaysLimit,omitempty"`
// Backups days limit. In case of \"Create backup\" action type.
BackupsDaysLimit int32 `json:"BackupsDaysLimit,omitempty"`
}
Instance scheduler
type InstanceSchedulersSearchParams ¶
type InstanceSchedulersSearchParams struct {
// Instance id filter
InstanceId int32 `json:"InstanceId,omitempty"`
// Action type id filter
ActionTypeId int32 `json:"ActionTypeId,omitempty"`
// Query
Query string `json:"Query,omitempty"`
// Page size
PageSize int32 `json:"PageSize,omitempty"`
// Page number
PageNumber int32 `json:"PageNumber,omitempty"`
// Order by
OrderBy string `json:"OrderBy,omitempty"`
// Sort expression
SortExpression string `json:"SortExpression,omitempty"`
// Sort direction
SortDirection string `json:"SortDirection,omitempty"`
}
Search params for instance schedulers
type InstanceSshKey ¶
type InstanceSshKey struct {
// Id
Id int32 `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Key value trimmed
Value string `json:"Value,omitempty"`
}
SSH key uploaded to instance
type InstanceStatistics ¶
type InstanceStatistics struct {
// Instance
Instance *BaseResource `json:"Instance,omitempty"`
// Statistic type
StatisticType *BaseResource `json:"StatisticType,omitempty"`
// Sample time
SampleTime time.Time `json:"SampleTime,omitempty"`
// Details
Details string `json:"Details,omitempty"`
// Value
Value int64 `json:"Value,omitempty"`
}
Basic instance statistics
type InstanceStatisticsSearchParams ¶
type InstanceStatisticsSearchParams struct {
// Statistic interval
StatisticInterval int32 `json:"StatisticInterval"`
// Date from (utc timezone)
DateFrom time.Time `json:"DateFrom"`
// Date to (utc timezone)
DateTo time.Time `json:"DateTo"`
// Statistic types
StatisticTypes []int32 `json:"StatisticTypes"`
}
Search params for instance statistics
type InstanceType ¶
type InstanceType struct {
// Id
Id int32 `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Number of CPU
Cpu int32 `json:"Cpu,omitempty"`
// Memory in MB
Ram int32 `json:"Ram,omitempty"`
// Is available for Freemiuim
AvailableForFreemium bool `json:"AvailableForFreemium,omitempty"`
// Category
Category *DictionaryItem `json:"Category,omitempty"`
}
Instance type
type InstancesSearchParams ¶
type InstancesSearchParams struct {
// Template type id eg marketplace, oci instance
TemplateTypeId int32 `json:"TemplateTypeId,omitempty"`
// Indicates wether an instance is turned on
IsTurnedOn bool `json:"IsTurnedOn,omitempty"`
// Subregion Id
SubregionId int32 `json:"SubregionId,omitempty"`
// Type Id
TypeId int32 `json:"TypeId,omitempty"`
// Query
Query string `json:"Query,omitempty"`
// Page size
PageSize int32 `json:"PageSize,omitempty"`
// Page number
PageNumber int32 `json:"PageNumber,omitempty"`
// Order by
OrderBy string `json:"OrderBy,omitempty"`
// Sort expression
SortExpression string `json:"SortExpression,omitempty"`
// Sort direction
SortDirection string `json:"SortDirection,omitempty"`
}
Search params for instances
type InstancesTypesSearchParams ¶
type InstancesTypesSearchParams struct {
// Category id
CategoryId int32 `json:"CategoryId,omitempty"`
// Is available for freemium
AvailableForFreemium bool `json:"AvailableForFreemium,omitempty"`
// Page size
PageSize int32 `json:"PageSize,omitempty"`
// Page number
PageNumber int32 `json:"PageNumber,omitempty"`
// Order by
OrderBy string `json:"OrderBy,omitempty"`
// Sort expression
SortExpression string `json:"SortExpression,omitempty"`
// Sort direction
SortDirection string `json:"SortDirection,omitempty"`
}
Search params for instances types
type Ip ¶
type Ip struct {
// ID
Id int32 `json:"Id,omitempty"`
// IP address version 4
Address string `json:"Address,omitempty"`
// IP address version 6
AddressV6 string `json:"AddressV6,omitempty"`
// Gateway address
Gateway string `json:"Gateway,omitempty"`
// Netmask
NetMask string `json:"NetMask,omitempty"`
// Instance
Instance *BaseResource `json:"Instance,omitempty"`
// The MAC address of the network card associated with that IP address
MacAddress string `json:"MacAddress,omitempty"`
// Network card number
InterfaceId int32 `json:"InterfaceId,omitempty"`
// DNS prefix
DnsPrefix string `json:"DnsPrefix,omitempty"`
// Dhcp branch address
DhcpBranch string `json:"DhcpBranch,omitempty"`
// Subregion
Subregion *BaseResource `json:"Subregion,omitempty"`
// Subregion
DefaultSubregion *BaseResource `json:"DefaultSubregion,omitempty"`
// Mode
Mode *DictionaryItem `json:"Mode,omitempty"`
// Type
Type_ *DictionaryItem `json:"Type,omitempty"`
// Account that is owner IP address
OwnerAccount *BaseResource `json:"OwnerAccount,omitempty"`
// Owner comment
Comment string `json:"Comment,omitempty"`
// Reverse DNS IP version 4
RevDns string `json:"RevDns,omitempty"`
// Reverse DNS IP version 6
RevDnsV6 string `json:"RevDnsV6,omitempty"`
// User who created the IP
CreationUser *UserResource `json:"CreationUser,omitempty"`
}
Public IP address
type IpsSearchParams ¶
type IpsSearchParams struct {
// Instance id
InstanceId int32 `json:"InstanceId,omitempty"`
// Only free
OnlyFree bool `json:"OnlyFree,omitempty"`
// Page size
PageSize int32 `json:"PageSize,omitempty"`
// Page number
PageNumber int32 `json:"PageNumber,omitempty"`
// Order by
OrderBy string `json:"OrderBy,omitempty"`
// Sort expression
SortExpression string `json:"SortExpression,omitempty"`
// Sort direction
SortDirection string `json:"SortDirection,omitempty"`
}
Search params for IPs
type LoadBalancer ¶
type LoadBalancer struct {
// Group id
GroupId int32 `json:"GroupId,omitempty"`
// Group name
GroupName string `json:"GroupName,omitempty"`
// IPv4 address
IpAddress string `json:"IpAddress,omitempty"`
// IPv6 address
IpV6Address string `json:"IpV6Address,omitempty"`
// Service type (HTTP, SMTP, Port...)
ServiceType *DictionaryItem `json:"ServiceType,omitempty"`
// Port number for \"Port\" service type
PortNumber int32 `json:"PortNumber,omitempty"`
// Port number for \"TargetPort\" service type
TargetPortNumber int32 `json:"TargetPortNumber,omitempty"`
// Ssl port number for \"TargetPort\" service type
SslTargetPortNumber int32 `json:"SslTargetPortNumber,omitempty"`
// Session persistence type
SessionPersistenceType *DictionaryItem `json:"SessionPersistenceType,omitempty"`
// Algorithm
Algorithm *DictionaryItem `json:"Algorithm,omitempty"`
// IP version
IpVersion *DictionaryItem `json:"IpVersion,omitempty"`
// Is health check enabled
HealthCheckEnabled bool `json:"HealthCheckEnabled,omitempty"`
// Is ssl enabled (only for \"HTTP\" service type)
SslEnabled bool `json:"SslEnabled,omitempty"`
// Is common persistence for HTTP and HTTPS enabled (only for \"HTTP\" service type)
CommonPersistenceForHttpAndHttpsEnabled bool `json:"CommonPersistenceForHttpAndHttpsEnabled,omitempty"`
// Services
Servers []LoadBalancerServer `json:"Servers,omitempty"`
// Proxy-protocol version
ProxyProtocolVersion *DictionaryItem `json:"ProxyProtocolVersion,omitempty"`
}
Load balancer
type LoadBalancerServer ¶
type LoadBalancerServer struct {
// Ip address
IpAddress string `json:"IpAddress,omitempty"`
// Port
Port int32 `json:"Port,omitempty"`
// Protocol
Protocol string `json:"Protocol,omitempty"`
// Active services. Null if HealthCheckEnabled in Load balancer disabled.
ActiveServices int64 `json:"ActiveServices,omitempty"`
// Inactive services. Null if HealthCheckEnabled in Load balancer disabled.
InactiveServices int64 `json:"InactiveServices,omitempty"`
// Request rate
RequestRate int64 `json:"RequestRate,omitempty"`
// Response rate
ResponseRate int64 `json:"ResponseRate,omitempty"`
// Request rate in bytes
RequestRateBytes int64 `json:"RequestRateBytes,omitempty"`
// Response rate in bytes
ResponseRateBytes int64 `json:"ResponseRateBytes,omitempty"`
// Current client connections
CurrentClientConnections int64 `json:"CurrentClientConnections,omitempty"`
// Status
Status *DictionaryItem `json:"Status,omitempty"`
// Services statistics. Filled only in load balancer details.
Services []LoadBalancerService `json:"Services,omitempty"`
}
Load balancer server
type LoadBalancerService ¶
type LoadBalancerService struct {
// Instance
Instance *NamedResource `json:"Instance,omitempty"`
// Instance state
InstanceState *DictionaryItem `json:"InstanceState,omitempty"`
// Ip address
IpAddress string `json:"IpAddress,omitempty"`
// Port
Port int32 `json:"Port,omitempty"`
// Request rate
RequestRate int64 `json:"RequestRate,omitempty"`
// Response rate
ResponseRate int64 `json:"ResponseRate,omitempty"`
// Request rate in bytes
RequestRateBytes int64 `json:"RequestRateBytes,omitempty"`
// Response rate in bytes
ResponseRateBytes int64 `json:"ResponseRateBytes,omitempty"`
// Current client connections
CurrentClientConnections int64 `json:"CurrentClientConnections,omitempty"`
// Status
Status *DictionaryItem `json:"Status,omitempty"`
}
Load balancer service
type ModelImport ¶
type ModelImport struct {
// Id
Id int32 `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Creation date
CreationDate time.Time `json:"CreationDate,omitempty"`
// Start date
StartDate time.Time `json:"StartDate,omitempty"`
// End date
EndDate time.Time `json:"EndDate,omitempty"`
// Total size in GB
Size int32 `json:"Size,omitempty"`
// Network interfaces count
NetworkInterfacesCount int32 `json:"NetworkInterfacesCount,omitempty"`
// Disks count
DisksCount int32 `json:"DisksCount,omitempty"`
// Status
Status *DictionaryItem `json:"Status,omitempty"`
// User who created the import
CreationUser *UserResource `json:"CreationUser,omitempty"`
}
Import
type MonitoringSensor ¶
type MonitoringSensor struct {
// Identifier
Id int32 `json:"Id,omitempty"`
// Country
Country string `json:"Country,omitempty"`
// City
City string `json:"City,omitempty"`
// IPAddress
IPAddress string `json:"IPAddress,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Is available
IsAvailable bool `json:"IsAvailable,omitempty"`
}
Monitoring sensor
type NamedResource ¶
type NamedResource struct {
// Id
Id int32 `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
}
Named resource
type NetworkInterface ¶
type NetworkInterface struct {
// Interface id
InterfaceId int32 `json:"InterfaceId,omitempty"`
// The MAC address of the network card associated with that IP address
MacAddress string `json:"MacAddress,omitempty"`
// Instance
Instance *NamedResource `json:"Instance,omitempty"`
// OPN
Opn *NamedResource `json:"Opn,omitempty"`
// IP address version 4
Address string `json:"Address,omitempty"`
// IP address version 6
AddressV6 string `json:"AddressV6,omitempty"`
// IP address
Ip *BaseResource `json:"Ip,omitempty"`
// Comment
Comment string `json:"Comment,omitempty"`
// RevDNS
RevDns string `json:"RevDns,omitempty"`
// RevDNS v6
RevDnsV6 string `json:"RevDnsV6,omitempty"`
// Subregion
Subregion *BaseResource `json:"Subregion,omitempty"`
// User who created the network interface
CreationUser *UserResource `json:"CreationUser,omitempty"`
}
Network interface
type NetworkingApiService ¶
type NetworkingApiService service
func (*NetworkingApiService) OpnsDelete ¶
func (a *NetworkingApiService) OpnsDelete(ctx context.Context, id int32) (Ticket, *http.Response, error)
NetworkingApiService Deletes an OPN * @param ctx context.Context for authentication, logging, tracing, etc. @param id OPN id @return Ticket
func (*NetworkingApiService) OpnsGet ¶
func (a *NetworkingApiService) OpnsGet(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionOpn, *http.Response, error)
NetworkingApiService Returns OPNs Acceptable order values are: Name * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "instanceId" (int32) Instance id @param "query" (string) Query @param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionOpn
func (*NetworkingApiService) OpnsGet_1 ¶ added in v1.5.0
func (a *NetworkingApiService) OpnsGet_1(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Opn, *http.Response, error)
NetworkingApiService Gets Opn * @param ctx context.Context for authentication, logging, tracing, etc. @param id Opn id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return Opn
func (*NetworkingApiService) OpnsPost ¶
func (a *NetworkingApiService) OpnsPost(ctx context.Context, command CreateOpnCommand) (Ticket, *http.Response, error)
NetworkingApiService Creates an OPN * @param ctx context.Context for authentication, logging, tracing, etc. @param command Create OPN command @return Ticket
func (*NetworkingApiService) OpnsPut ¶
func (a *NetworkingApiService) OpnsPut(ctx context.Context, id int32, command UpdateOpnCommand) (Object, *http.Response, error)
NetworkingApiService Updates OPN * @param ctx context.Context for authentication, logging, tracing, etc. @param id OPN id @param command Update OPN command @return Object
type NullableTime ¶
type OCIApiService ¶
type OCIApiService service
func (*OCIApiService) InstancesChangeHotPlugSetting ¶ added in v1.5.0
func (a *OCIApiService) InstancesChangeHotPlugSetting(ctx context.Context, id int32, hotPlugEnabled bool) (Ticket, *http.Response, error)
OCIApiService Change instance hotplug setting * @param ctx context.Context for authentication, logging, tracing, etc. @param id @param hotPlugEnabled Is hot plug enabled @return Ticket
func (*OCIApiService) InstancesChangeName ¶
func (a *OCIApiService) InstancesChangeName(ctx context.Context, id int32, name string) (Ticket, *http.Response, error)
OCIApiService Change instance name * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifier @param name Name of an instance @return Ticket
func (*OCIApiService) InstancesChangeSubregion ¶
func (a *OCIApiService) InstancesChangeSubregion(ctx context.Context, id int32, command ChangeInstanceSubregionCommand) (Ticket, *http.Response, error)
OCIApiService Change instance subregion * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifier @param command Change instance subregion command @return Ticket
func (*OCIApiService) InstancesChangeType ¶
func (a *OCIApiService) InstancesChangeType(ctx context.Context, id int32, scsiControllerTypeId int32) (Ticket, *http.Response, error)
OCIApiService Change SCSI controllers type * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifier @param scsiControllerTypeId Type id @return Ticket
func (*OCIApiService) InstancesChangeType_1 ¶
func (a *OCIApiService) InstancesChangeType_1(ctx context.Context, id int32, typeId int32) (Ticket, *http.Response, error)
OCIApiService Change instance type * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifier @param typeId Type id @return Ticket
func (*OCIApiService) InstancesClone ¶
func (a *OCIApiService) InstancesClone(ctx context.Context, id int32, command CloneInstanceCommand) (Ticket, *http.Response, error)
OCIApiService Clone instance * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance Id @param command Clone instance command @return Ticket
func (*OCIApiService) InstancesConvertToTemplate ¶
func (a *OCIApiService) InstancesConvertToTemplate(ctx context.Context, id int32, command ConvertInstanceToTemplateCommand) (Ticket, *http.Response, error)
OCIApiService Converts instance to template * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifier @param command Convert instance to template command @return Ticket
func (*OCIApiService) InstancesCreateVncConnection ¶
func (a *OCIApiService) InstancesCreateVncConnection(ctx context.Context, id int32, command CreateUpdateVncConnectionCommand) (VncConnection, *http.Response, error)
OCIApiService Creates remote console connection * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @param command Create remote console connection command @return VncConnection
func (*OCIApiService) InstancesDelete ¶
func (a *OCIApiService) InstancesDelete(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Ticket, *http.Response, error)
OCIApiService Delete instance * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifie @param optional (nil or map[string]interface{}) with one or more of:
@param "deep" (bool) Deletes also additional disks attached to instance
@return Ticket
func (*OCIApiService) InstancesDeleteVncConnection ¶
func (a *OCIApiService) InstancesDeleteVncConnection(ctx context.Context, id int32) (Object, *http.Response, error)
OCIApiService Deletes remote console connection * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @return Object
func (*OCIApiService) InstancesGet ¶
func (a *OCIApiService) InstancesGet(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionInstance, *http.Response, error)
OCIApiService Returns instance list Acceptable order values are: Type, Status, CreationDate, Name. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "templateTypeId" (int32) Template type id eg marketplace, oci instance @param "isTurnedOn" (bool) Indicates wether an instance is turned on @param "subregionId" (int32) Subregion Id @param "typeId" (int32) Type Id @param "query" (string) Query @param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionInstance
func (*OCIApiService) InstancesGetAccessData ¶
func (a *OCIApiService) InstancesGetAccessData(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (AccessData, *http.Response, error)
OCIApiService Returns instance access data * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return AccessData
func (*OCIApiService) InstancesGetDisks ¶
func (a *OCIApiService) InstancesGetDisks(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionDisk, *http.Response, error)
OCIApiService Returns instance disk list Acceptable order values are: SpaceCapacity, Name, Tier, IsShared, Subregion * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @param optional (nil or map[string]interface{}) with one or more of:
@param "diskType" (string) Disk type @param "showDeleted" (bool) Show deleted @param "query" (string) Query @param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionDisk
func (*OCIApiService) InstancesGetInstanceInitScript ¶ added in v1.2.0
func (a *OCIApiService) InstancesGetInstanceInitScript(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (string, *http.Response, error)
OCIApiService Returns instance init script * @param ctx context.Context for authentication, logging, tracing, etc. @param id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return string
func (*OCIApiService) InstancesGetInstanceSoftware ¶
func (a *OCIApiService) InstancesGetInstanceSoftware(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionSoftware, *http.Response, error)
OCIApiService Returns instance software * @param ctx context.Context for authentication, logging, tracing, etc. @param id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionSoftware
func (*OCIApiService) InstancesGetInstanceType ¶
func (a *OCIApiService) InstancesGetInstanceType(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionInstanceType, *http.Response, error)
OCIApiService Returns instance type * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance type id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionInstanceType
func (*OCIApiService) InstancesGetInstancesTypes ¶
func (a *OCIApiService) InstancesGetInstancesTypes(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionInstanceType, *http.Response, error)
OCIApiService Returns all available instances types Acceptable order values are: Category, Cpu, Ram, Name. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "categoryId" (int32) Category id @param "availableForFreemium" (bool) Is available for freemium @param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionInstanceType
func (*OCIApiService) InstancesGetScreenshot ¶
func (a *OCIApiService) InstancesGetScreenshot(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (string, *http.Response, error)
OCIApiService Returns instance screenshot * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @param optional (nil or map[string]interface{}) with one or more of:
@param "width" (int32) The pixel width of the scaled image @param "height" (int32) The pixel height of the scaled image @param "fields" (string) Response fields filter
@return string
func (*OCIApiService) InstancesGetSoftware ¶
func (a *OCIApiService) InstancesGetSoftware(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionSoftware, *http.Response, error)
OCIApiService Returns software * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionSoftware
func (*OCIApiService) InstancesGetSshKeys ¶
func (a *OCIApiService) InstancesGetSshKeys(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionInstanceSshKey, *http.Response, error)
OCIApiService Returns SSH keys uploaded to instances * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionInstanceSshKey
func (*OCIApiService) InstancesGetTemplateByBaseVirtualMachineId ¶ added in v1.5.0
func (a *OCIApiService) InstancesGetTemplateByBaseVirtualMachineId(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Template, *http.Response, error)
OCIApiService Returns the template by source virtual machine id * @param ctx context.Context for authentication, logging, tracing, etc. @param id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return Template
func (*OCIApiService) InstancesGetVncConnection ¶
func (a *OCIApiService) InstancesGetVncConnection(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (VncConnection, *http.Response, error)
OCIApiService Returns remote console connection * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return VncConnection
func (*OCIApiService) InstancesGet_2 ¶
func (a *OCIApiService) InstancesGet_2(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Instance, *http.Response, error)
OCIApiService Returns instance by identifier * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifier @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return Instance
func (*OCIApiService) InstancesPost ¶
func (a *OCIApiService) InstancesPost(ctx context.Context, command CreateInstanceCommand) (Ticket, *http.Response, error)
OCIApiService Creates instance * @param ctx context.Context for authentication, logging, tracing, etc. @param command Create instance command @return Ticket
func (*OCIApiService) InstancesPowerOff ¶
func (a *OCIApiService) InstancesPowerOff(ctx context.Context, id int32) (Ticket, *http.Response, error)
OCIApiService Power off instance * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifier @return Ticket
func (*OCIApiService) InstancesPowerOn ¶
func (a *OCIApiService) InstancesPowerOn(ctx context.Context, id int32) (Ticket, *http.Response, error)
OCIApiService Power on instance * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifier @return Ticket
func (*OCIApiService) InstancesReboot ¶
func (a *OCIApiService) InstancesReboot(ctx context.Context, id int32) (Ticket, *http.Response, error)
OCIApiService Reboot instance * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifier @return Ticket
func (*OCIApiService) InstancesReset ¶
func (a *OCIApiService) InstancesReset(ctx context.Context, id int32) (Ticket, *http.Response, error)
OCIApiService Reset instance * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifier @return Ticket
func (*OCIApiService) InstancesShutdown ¶
func (a *OCIApiService) InstancesShutdown(ctx context.Context, id int32) (Ticket, *http.Response, error)
OCIApiService Shutdown instance * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifier @return Ticket
func (*OCIApiService) InstancesUpdateVncConnection ¶
func (a *OCIApiService) InstancesUpdateVncConnection(ctx context.Context, id int32, command CreateUpdateVncConnectionCommand) (VncConnection, *http.Response, error)
OCIApiService Updates remote console connection * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @param command Update remote console connection command @return VncConnection
type OCIAutoscalerApiService ¶
type OCIAutoscalerApiService service
func (*OCIAutoscalerApiService) InstancesDisableInstanceAutoscaler ¶
func (a *OCIAutoscalerApiService) InstancesDisableInstanceAutoscaler(ctx context.Context, id int32) (Ticket, *http.Response, error)
OCIAutoscalerApiService Disables autoscaling for instance * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @return Ticket
func (*OCIAutoscalerApiService) InstancesEnableInstanceAutoscaler ¶
func (a *OCIAutoscalerApiService) InstancesEnableInstanceAutoscaler(ctx context.Context, id int32) (Ticket, *http.Response, error)
OCIAutoscalerApiService Enables autoscaling for instance * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @return Ticket
func (*OCIAutoscalerApiService) InstancesGetAutoscaler ¶
func (a *OCIAutoscalerApiService) InstancesGetAutoscaler(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Autoscaler, *http.Response, error)
OCIAutoscalerApiService Returns instace autoscaler configuration * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return Autoscaler
func (*OCIAutoscalerApiService) InstancesUpdateAutoscaler ¶
func (a *OCIAutoscalerApiService) InstancesUpdateAutoscaler(ctx context.Context, id int32, command AutoscalerUpdateCommand) (Object, *http.Response, error)
OCIAutoscalerApiService Updates instance autoscaler configuration * @param ctx context.Context for authentication, logging, tracing, etc. @param id @param command @return Object
type OCIBackupsApiService ¶
type OCIBackupsApiService service
func (*OCIBackupsApiService) ExportsGet ¶
func (a *OCIBackupsApiService) ExportsGet(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionExport, *http.Response, error)
OCIBackupsApiService Returns exports list Acceptable order values are: TotalSpaceCapacity, CreationDate, OcsLocation, Name, StartDate, Status. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "instanceId" (int32) Instance id @param "statusId" (int32) Status id @param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionExport
func (*OCIBackupsApiService) ExportsGet_1 ¶
func (a *OCIBackupsApiService) ExportsGet_1(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Export, *http.Response, error)
OCIBackupsApiService Gets export by identifier * @param ctx context.Context for authentication, logging, tracing, etc. @param id Export id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return Export
func (*OCIBackupsApiService) ImportsCreateImport ¶
func (a *OCIBackupsApiService) ImportsCreateImport(ctx context.Context, command CreateImportCommand) (ModelImport, *http.Response, error)
OCIBackupsApiService Creates an import * @param ctx context.Context for authentication, logging, tracing, etc. @param command Create import command @return ModelImport
func (*OCIBackupsApiService) ImportsDeleteImport ¶
func (a *OCIBackupsApiService) ImportsDeleteImport(ctx context.Context, id int32) (*http.Response, error)
OCIBackupsApiService Deletes an import * @param ctx context.Context for authentication, logging, tracing, etc. @param id Import identifier @return
func (*OCIBackupsApiService) ImportsGetImport ¶
func (a *OCIBackupsApiService) ImportsGetImport(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ModelImport, *http.Response, error)
OCIBackupsApiService Returns an import * @param ctx context.Context for authentication, logging, tracing, etc. @param id Import identifier @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ModelImport
func (*OCIBackupsApiService) ImportsGetImportDisks ¶
func (a *OCIBackupsApiService) ImportsGetImportDisks(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionImportDisk, *http.Response, error)
OCIBackupsApiService Returns an import disks * @param ctx context.Context for authentication, logging, tracing, etc. @param id Import identifier @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionImportDisk
func (*OCIBackupsApiService) ImportsGetImports ¶
func (a *OCIBackupsApiService) ImportsGetImports(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionImport, *http.Response, error)
OCIBackupsApiService Returns a list of imports Acceptable order values are: Name, Status, CreationDate, DisksCount, NetworkInterfacesCount, Size * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionImport
func (*OCIBackupsApiService) ImportsRunImport ¶
func (a *OCIBackupsApiService) ImportsRunImport(ctx context.Context, id int32, command RunImportCommand) (Ticket, *http.Response, error)
OCIBackupsApiService Run an import * @param ctx context.Context for authentication, logging, tracing, etc. @param id Import identifier @param command Run import command @return Ticket
func (*OCIBackupsApiService) InstancesGetExports ¶
func (a *OCIBackupsApiService) InstancesGetExports(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionExport, *http.Response, error)
OCIBackupsApiService Returns instace's exports * @param ctx context.Context for authentication, logging, tracing, etc. @param id @param optional (nil or map[string]interface{}) with one or more of:
@param "statusId" (int32) Status id @param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionExport
func (*OCIBackupsApiService) InstancesPostExport ¶
func (a *OCIBackupsApiService) InstancesPostExport(ctx context.Context, id int32, command CreateExportCommand) (Export, *http.Response, error)
OCIBackupsApiService Create export * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @param command Create export command @return Export
type OCIEventsApiService ¶
type OCIEventsApiService service
func (*OCIEventsApiService) EventsDelete ¶
OCIEventsApiService Deletes event * @param ctx context.Context for authentication, logging, tracing, etc. @param id Event id @return
func (*OCIEventsApiService) EventsGetEvent ¶
func (a *OCIEventsApiService) EventsGetEvent(ctx context.Context, id int64, localVarOptionals map[string]interface{}) (ApiCollectionInstanceEvent, *http.Response, error)
OCIEventsApiService Returns instance event * @param ctx context.Context for authentication, logging, tracing, etc. @param id Event id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionInstanceEvent
func (*OCIEventsApiService) EventsGetEvents ¶
func (a *OCIEventsApiService) EventsGetEvents(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionInstanceEvent, *http.Response, error)
OCIEventsApiService Returns all instances events * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "typeIds" (string) Type IDs @param "statusIds" (string) Status IDs @param "dateFrom" (time.Time) Date from @param "dateTo" (time.Time) Date to @param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionInstanceEvent
func (*OCIEventsApiService) InstancesDeleteEvents ¶
func (a *OCIEventsApiService) InstancesDeleteEvents(ctx context.Context, id int32, command DeleteEventsCommand) (*http.Response, error)
OCIEventsApiService Deletes instance events * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @param command Delete events command @return
func (*OCIEventsApiService) InstancesGetEvents ¶
func (a *OCIEventsApiService) InstancesGetEvents(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionInstanceEvent, *http.Response, error)
OCIEventsApiService Returns instance events Acceptable order values are: OperationType, User, Date, Instance, OperationStatus * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifier @param optional (nil or map[string]interface{}) with one or more of:
@param "userId" (int32) User id @param "dateFrom" (time.Time) Date from @param "dateTo" (time.Time) Date to @param "operationTypeId" (int32) Operation type id @param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionInstanceEvent
type OCIGroupsApiService ¶
type OCIGroupsApiService service
func (*OCIGroupsApiService) GroupsChangeAssignmentsInGroup ¶
func (a *OCIGroupsApiService) GroupsChangeAssignmentsInGroup(ctx context.Context, id int32, command ChangeContainerAssignmentsCommand) (ApiCollectionGroupAssignment, *http.Response, error)
OCIGroupsApiService Changes group assignments * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a group @param command Change group assignments command @return ApiCollectionGroupAssignment
func (*OCIGroupsApiService) GroupsCreate ¶
func (a *OCIGroupsApiService) GroupsCreate(ctx context.Context, command CreateGroupCommand) (Group, *http.Response, error)
OCIGroupsApiService Creates group * @param ctx context.Context for authentication, logging, tracing, etc. @param command Create group command @return Group
func (*OCIGroupsApiService) GroupsCreateContainerScheduler ¶
func (a *OCIGroupsApiService) GroupsCreateContainerScheduler(ctx context.Context, id int32, command CreateUpdateGroupSchedulerCommand) (GroupScheduler, *http.Response, error)
OCIGroupsApiService Creates a group scheduler * @param ctx context.Context for authentication, logging, tracing, etc. @param id Group Id @param command Create group scheduler command @return GroupScheduler
func (*OCIGroupsApiService) GroupsDelete ¶
func (a *OCIGroupsApiService) GroupsDelete(ctx context.Context, id int32) (Object, *http.Response, error)
OCIGroupsApiService Deletes group * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a group @return Object
func (*OCIGroupsApiService) GroupsDeleteGroupScheduler ¶
func (a *OCIGroupsApiService) GroupsDeleteGroupScheduler(ctx context.Context, id int32) (Object, *http.Response, error)
OCIGroupsApiService Deletes group scheduler * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a group scheduler @return Object
func (*OCIGroupsApiService) GroupsGetAssignmentsInGroup ¶
func (a *OCIGroupsApiService) GroupsGetAssignmentsInGroup(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionGroupAssignment, *http.Response, error)
OCIGroupsApiService Returns group assignments * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a group @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionGroupAssignment
func (*OCIGroupsApiService) GroupsGetGroup ¶
func (a *OCIGroupsApiService) GroupsGetGroup(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Group, *http.Response, error)
OCIGroupsApiService Returns group * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of group @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return Group
func (*OCIGroupsApiService) GroupsGetGroupAutoscaler ¶
func (a *OCIGroupsApiService) GroupsGetGroupAutoscaler(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (GroupAutoscaler, *http.Response, error)
OCIGroupsApiService Returns group autoscaler settings * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a group @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return GroupAutoscaler
func (*OCIGroupsApiService) GroupsGetGroupScheduler ¶
func (a *OCIGroupsApiService) GroupsGetGroupScheduler(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (GroupScheduler, *http.Response, error)
OCIGroupsApiService Returns group scheduler * @param ctx context.Context for authentication, logging, tracing, etc. @param id Group scheduler Id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return GroupScheduler
func (*OCIGroupsApiService) GroupsGetGroupSchedulers ¶
func (a *OCIGroupsApiService) GroupsGetGroupSchedulers(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionGroupScheduler, *http.Response, error)
OCIGroupsApiService Returns group schedulers * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a group @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionGroupScheduler
func (*OCIGroupsApiService) GroupsGetGroups ¶
func (a *OCIGroupsApiService) GroupsGetGroups(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionGroup, *http.Response, error)
OCIGroupsApiService Returns a list of groups Acceptable order values are: Name * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionGroup
func (*OCIGroupsApiService) GroupsGetLoadBalancers ¶
func (a *OCIGroupsApiService) GroupsGetLoadBalancers(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionLoadBalancer, *http.Response, error)
OCIGroupsApiService Gets load balancers Acceptable order values are: GroupName * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionLoadBalancer
func (*OCIGroupsApiService) GroupsSetGroupAutoscaler ¶
func (a *OCIGroupsApiService) GroupsSetGroupAutoscaler(ctx context.Context, id int32, command SetGroupAutoscalerCommand) (GroupAutoscaler, *http.Response, error)
OCIGroupsApiService Sets group autoscaler * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a group @param command Set group autoscaler command @return GroupAutoscaler
func (*OCIGroupsApiService) GroupsTurnoffGroupAutoscaler ¶
func (a *OCIGroupsApiService) GroupsTurnoffGroupAutoscaler(ctx context.Context, id int32) (Object, *http.Response, error)
OCIGroupsApiService Turns off group autoscaler * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a group @return Object
func (*OCIGroupsApiService) GroupsUpdate ¶
func (a *OCIGroupsApiService) GroupsUpdate(ctx context.Context, id int32, command CreateGroupCommand) (Group, *http.Response, error)
OCIGroupsApiService Updates group * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a group @param command Update group command @return Group
func (*OCIGroupsApiService) GroupsUpdateGroupScheduler ¶
func (a *OCIGroupsApiService) GroupsUpdateGroupScheduler(ctx context.Context, id int32, command CreateUpdateGroupSchedulerCommand) (GroupScheduler, *http.Response, error)
OCIGroupsApiService Updates a group scheduler * @param ctx context.Context for authentication, logging, tracing, etc. @param id Group scheduler Id @param command Create group scheduler command @return GroupScheduler
func (*OCIGroupsApiService) InstancesGetGroups ¶
func (a *OCIGroupsApiService) InstancesGetGroups(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionGroup, *http.Response, error)
OCIGroupsApiService Returns a list of instance groups * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionGroup
func (*OCIGroupsApiService) LoadBalancersChangeServiceStatus ¶
func (a *OCIGroupsApiService) LoadBalancersChangeServiceStatus(ctx context.Context, id int32, command ChangeContainerServiceStateCommand) (LoadBalancer, *http.Response, error)
OCIGroupsApiService Changes load balancer service state * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a group @param command Change service status command @return LoadBalancer
func (*OCIGroupsApiService) LoadBalancersCreate ¶
func (a *OCIGroupsApiService) LoadBalancersCreate(ctx context.Context, id int32, command SetLoadBalancerCommand) (LoadBalancer, *http.Response, error)
OCIGroupsApiService Create load balancer for group * @param ctx context.Context for authentication, logging, tracing, etc. @param id Group id @param command Create load balancer command @return LoadBalancer
func (*OCIGroupsApiService) LoadBalancersDelete ¶
func (a *OCIGroupsApiService) LoadBalancersDelete(ctx context.Context, id int32) (Object, *http.Response, error)
OCIGroupsApiService Delete load balancer * @param ctx context.Context for authentication, logging, tracing, etc. @param id Group id @return Object
func (*OCIGroupsApiService) LoadBalancersGetLoadBalancer ¶
func (a *OCIGroupsApiService) LoadBalancersGetLoadBalancer(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (LoadBalancer, *http.Response, error)
OCIGroupsApiService Gets load balancer for group * @param ctx context.Context for authentication, logging, tracing, etc. @param id Group id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return LoadBalancer
func (*OCIGroupsApiService) LoadBalancersGetLoadBalancerDetails ¶
func (a *OCIGroupsApiService) LoadBalancersGetLoadBalancerDetails(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (LoadBalancer, *http.Response, error)
OCIGroupsApiService Gets load balancer detail for group * @param ctx context.Context for authentication, logging, tracing, etc. @param id Group id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return LoadBalancer
func (*OCIGroupsApiService) LoadBalancersUpdate ¶
func (a *OCIGroupsApiService) LoadBalancersUpdate(ctx context.Context, id int32, command SetLoadBalancerCommand) (LoadBalancer, *http.Response, error)
OCIGroupsApiService Update load balancer for group * @param ctx context.Context for authentication, logging, tracing, etc. @param id Group id @param command Update load balancer command @return LoadBalancer
type OCIInterfacesApiService ¶
type OCIInterfacesApiService service
func (*OCIInterfacesApiService) InstancesAttachOpn ¶
func (a *OCIInterfacesApiService) InstancesAttachOpn(ctx context.Context, id int32, command AttachInstanceToOpnCommand) (Ticket, *http.Response, error)
OCIInterfacesApiService Attach instance to OPN * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifier @param command Attach instance to OPN command @return Ticket
func (*OCIInterfacesApiService) InstancesBookNewIp ¶
func (a *OCIInterfacesApiService) InstancesBookNewIp(ctx context.Context, command BookIpCommand) (Ip, *http.Response, error)
OCIInterfacesApiService [Deprecated] Book new IP address * @param ctx context.Context for authentication, logging, tracing, etc. @param command @return Ip
func (*OCIInterfacesApiService) InstancesChangeIpSubregionTicket ¶ added in v1.4.0
func (a *OCIInterfacesApiService) InstancesChangeIpSubregionTicket(ctx context.Context, ipId int32, localVarOptionals map[string]interface{}) (Ticket, *http.Response, error)
OCIInterfacesApiService [Deprecated] Change IP subregion * @param ctx context.Context for authentication, logging, tracing, etc. @param ipId IP address identifier @param optional (nil or map[string]interface{}) with one or more of:
@param "subregionId" (int32) Subregion Id
@return Ticket
func (*OCIInterfacesApiService) InstancesChangeOpn ¶
func (a *OCIInterfacesApiService) InstancesChangeOpn(ctx context.Context, id int32, command ChangeOpnCommand) (Ticket, *http.Response, error)
OCIInterfacesApiService Change OPN on network interface * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifier @param command Change OPN command @return Ticket
func (*OCIInterfacesApiService) InstancesDeleteIp ¶
func (a *OCIInterfacesApiService) InstancesDeleteIp(ctx context.Context, id int32) (Object, *http.Response, error)
OCIInterfacesApiService [Deprecated] Deletes IP address * @param ctx context.Context for authentication, logging, tracing, etc. @param id IP address identifier @return Object
func (*OCIInterfacesApiService) InstancesDetachFromOpn ¶
func (a *OCIInterfacesApiService) InstancesDetachFromOpn(ctx context.Context, id int32, command DetachInstanceFromOpnCommand) (Ticket, *http.Response, error)
OCIInterfacesApiService Detach instance from OPN * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifier @param command Detach instance from OPN command @return Ticket
func (*OCIInterfacesApiService) InstancesGetAllNetworkInterfaces ¶
func (a *OCIInterfacesApiService) InstancesGetAllNetworkInterfaces(ctx context.Context, localVarOptionals map[string]interface{}) (NetworkInterface, *http.Response, error)
OCIInterfacesApiService Returns all network interfaces Acceptable order values are: MacAddress, Instance, Opn, Address * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return NetworkInterface
func (*OCIInterfacesApiService) InstancesGetInstanceIp ¶
func (a *OCIInterfacesApiService) InstancesGetInstanceIp(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Ip, *http.Response, error)
OCIInterfacesApiService [Deprecated] Returns IP by id * @param ctx context.Context for authentication, logging, tracing, etc. @param id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return Ip
func (*OCIInterfacesApiService) InstancesGetInstanceIps ¶
func (a *OCIInterfacesApiService) InstancesGetInstanceIps(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionIp, *http.Response, error)
OCIInterfacesApiService Returns instance public ip list Acceptable order values are: Address, Subregion, Comment, Type * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @param optional (nil or map[string]interface{}) with one or more of:
@param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionIp
func (*OCIInterfacesApiService) InstancesGetInstanceNetworkInterfaces ¶
func (a *OCIInterfacesApiService) InstancesGetInstanceNetworkInterfaces(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (NetworkInterface, *http.Response, error)
OCIInterfacesApiService Returns instance network interfaces Acceptable order values are: MacAddress, Instance, Opn, Address * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @param optional (nil or map[string]interface{}) with one or more of:
@param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return NetworkInterface
func (*OCIInterfacesApiService) InstancesGetIps ¶
func (a *OCIInterfacesApiService) InstancesGetIps(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionIp, *http.Response, error)
OCIInterfacesApiService [Deprecated] Returns public ip list Acceptable order values are: Address, Subregion, Comment, Type. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "instanceId" (int32) Instance id @param "onlyFree" (bool) Only free @param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionIp
func (*OCIInterfacesApiService) InstancesGetOpns ¶
func (a *OCIInterfacesApiService) InstancesGetOpns(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionOpn, *http.Response, error)
OCIInterfacesApiService Returns instance OPN's Acceptable order values are: Name * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @param optional (nil or map[string]interface{}) with one or more of:
@param "query" (string) Query @param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionOpn
func (*OCIInterfacesApiService) InstancesPostAttachIpTicket ¶
func (a *OCIInterfacesApiService) InstancesPostAttachIpTicket(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Ticket, *http.Response, error)
OCIInterfacesApiService [Deprecated] Attach public IP to instance * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifier @param optional (nil or map[string]interface{}) with one or more of:
@param "ipId" (int32) IP address identifier. Optional value, if null random ip will be attached. @param "ipV6" (bool) If attach IPv6 only. Optional value, if null IPv4 and IPv6 will be attached.
@return Ticket
func (*OCIInterfacesApiService) InstancesPostDetachIpTicket ¶
func (a *OCIInterfacesApiService) InstancesPostDetachIpTicket(ctx context.Context, id int32, ipId int32) (Ticket, *http.Response, error)
OCIInterfacesApiService [Deprecated] Detach public IP from instance * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifier @param ipId IP address identifier @return Ticket
func (*OCIInterfacesApiService) InstancesUpdateIp ¶
func (a *OCIInterfacesApiService) InstancesUpdateIp(ctx context.Context, id int32, command UpdateIpCommand) (Object, *http.Response, error)
OCIInterfacesApiService [Deprecated] Updates IP address * @param ctx context.Context for authentication, logging, tracing, etc. @param id @param command @return Object
type OCISchedulersApiService ¶
type OCISchedulersApiService service
func (*OCISchedulersApiService) InstanceSchedulersDelete ¶
func (a *OCISchedulersApiService) InstanceSchedulersDelete(ctx context.Context, id int32) (*http.Response, error)
OCISchedulersApiService Deletes instance scheduler * @param ctx context.Context for authentication, logging, tracing, etc. @param id Scheduler id @return
func (*OCISchedulersApiService) InstanceSchedulersGet ¶
func (a *OCISchedulersApiService) InstanceSchedulersGet(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (InstanceScheduler, *http.Response, error)
OCISchedulersApiService Gets scheduler by identifier * @param ctx context.Context for authentication, logging, tracing, etc. @param id Scheduler id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return InstanceScheduler
func (*OCISchedulersApiService) InstanceSchedulersGetInstanceSchedulers ¶
func (a *OCISchedulersApiService) InstanceSchedulersGetInstanceSchedulers(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionInstanceScheduler, *http.Response, error)
OCISchedulersApiService Gets instance schedulers * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionInstanceScheduler
func (*OCISchedulersApiService) InstanceSchedulersPost ¶
func (a *OCISchedulersApiService) InstanceSchedulersPost(ctx context.Context, id int32, command CreateUpdateInstanceSchedulerCommand) (InstanceScheduler, *http.Response, error)
OCISchedulersApiService Creates instance scheduler * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @param command Create instance scheduler command @return InstanceScheduler
func (*OCISchedulersApiService) InstanceSchedulersPut ¶
func (a *OCISchedulersApiService) InstanceSchedulersPut(ctx context.Context, id int32, command CreateUpdateInstanceSchedulerCommand) (InstanceScheduler, *http.Response, error)
OCISchedulersApiService Updates instance scheduler * @param ctx context.Context for authentication, logging, tracing, etc. @param id Scheduler id @param command Create instance scheduler command @return InstanceScheduler
func (*OCISchedulersApiService) InstancesGetSchedulers ¶
func (a *OCISchedulersApiService) InstancesGetSchedulers(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionInstanceScheduler, *http.Response, error)
OCISchedulersApiService Gets schedulers by search params Acceptable order values are: Name, CreationDate, StartDate, Instance, ActionType * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "instanceId" (int32) Instance id filter @param "actionTypeId" (int32) Action type id filter @param "query" (string) Query @param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionInstanceScheduler
type OCISnapshotsApiService ¶
type OCISnapshotsApiService service
func (*OCISnapshotsApiService) InstancesGetSnapshots ¶
func (a *OCISnapshotsApiService) InstancesGetSnapshots(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (ApiCollectionSnapshot, *http.Response, error)
OCISnapshotsApiService Returns instance snapshots * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance identifier @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionSnapshot
func (*OCISnapshotsApiService) InstancesPostSnapshot ¶
func (a *OCISnapshotsApiService) InstancesPostSnapshot(ctx context.Context, id int32, command CreateUpdateSnapshotCommand) (Ticket, *http.Response, error)
OCISnapshotsApiService Creates snapshot * @param ctx context.Context for authentication, logging, tracing, etc. @param id Instance id @param command Create snapshot command @return Ticket
func (*OCISnapshotsApiService) SnapshotsDelete ¶
func (a *OCISnapshotsApiService) SnapshotsDelete(ctx context.Context, id int32) (Ticket, *http.Response, error)
OCISnapshotsApiService Delete snapshot * @param ctx context.Context for authentication, logging, tracing, etc. @param id Snapshot id @return Ticket
func (*OCISnapshotsApiService) SnapshotsDeleteSnapshots ¶ added in v1.4.0
func (a *OCISnapshotsApiService) SnapshotsDeleteSnapshots(ctx context.Context, command DeleteSnapshotsCommand) (Ticket, *http.Response, error)
OCISnapshotsApiService Delete snapshots * @param ctx context.Context for authentication, logging, tracing, etc. @param command @return Ticket
func (*OCISnapshotsApiService) SnapshotsGet ¶
func (a *OCISnapshotsApiService) SnapshotsGet(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionSnapshot, *http.Response, error)
OCISnapshotsApiService Returns snapshot collection Acceptable order values are: CreationDate, Description, IsCurrent, Name, Instance. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "instanceId" (int32) Instance id @param "query" (string) Query @param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionSnapshot
func (*OCISnapshotsApiService) SnapshotsGet_1 ¶
func (a *OCISnapshotsApiService) SnapshotsGet_1(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Snapshot, *http.Response, error)
OCISnapshotsApiService Gets snapshot * @param ctx context.Context for authentication, logging, tracing, etc. @param id Snapshot id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return Snapshot
func (*OCISnapshotsApiService) SnapshotsPut ¶
func (a *OCISnapshotsApiService) SnapshotsPut(ctx context.Context, id int32, command CreateUpdateSnapshotCommand) (Snapshot, *http.Response, error)
OCISnapshotsApiService Update snapshot * @param ctx context.Context for authentication, logging, tracing, etc. @param id Snapshot id @param command Update snapshot command @return Snapshot
func (*OCISnapshotsApiService) SnapshotsRestore ¶
func (a *OCISnapshotsApiService) SnapshotsRestore(ctx context.Context, id int32) (Ticket, *http.Response, error)
OCISnapshotsApiService Restore snapshot * @param ctx context.Context for authentication, logging, tracing, etc. @param id Snapshot id @return Ticket
type OCITemplatesApiService ¶
type OCITemplatesApiService service
func (*OCITemplatesApiService) TemplatesDelete ¶
func (a *OCITemplatesApiService) TemplatesDelete(ctx context.Context, id int32) (Object, *http.Response, error)
OCITemplatesApiService Deletes template * @param ctx context.Context for authentication, logging, tracing, etc. @param id Template id @return Object
func (*OCITemplatesApiService) TemplatesGet ¶
func (a *OCITemplatesApiService) TemplatesGet(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionTemplate, *http.Response, error)
OCITemplatesApiService Returns templates list Acceptable order values are: Name, Version, creationDate, SystemCategory. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "source" (string) Source @param "query" (string) Query @param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionTemplate
func (*OCITemplatesApiService) TemplatesGet_1 ¶
func (a *OCITemplatesApiService) TemplatesGet_1(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Template, *http.Response, error)
OCITemplatesApiService Returns template by identifier * @param ctx context.Context for authentication, logging, tracing, etc. @param id Template identifier @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return Template
func (*OCITemplatesApiService) TemplatesPut ¶
func (a *OCITemplatesApiService) TemplatesPut(ctx context.Context, id int32, command UpdateTemplateCommand) (Template, *http.Response, error)
OCITemplatesApiService Updates template * @param ctx context.Context for authentication, logging, tracing, etc. @param id Template id @param command Update command @return Template
type OCSApiService ¶
type OCSApiService service
func (*OCSApiService) OcsGetProjects ¶
func (a *OCSApiService) OcsGetProjects(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionOcsProject, *http.Response, error)
OCSApiService Returns the list of OCS projects * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionOcsProject
type OVSApiService ¶
type OVSApiService service
func (*OVSApiService) DisksAttachToInstance ¶
func (a *OVSApiService) DisksAttachToInstance(ctx context.Context, id int32, instanceId int32) (Ticket, *http.Response, error)
OVSApiService Attach disk to instance * @param ctx context.Context for authentication, logging, tracing, etc. @param id Disk id @param instanceId Instance id @return Ticket
func (*OVSApiService) DisksChangeSubregion ¶
func (a *OVSApiService) DisksChangeSubregion(ctx context.Context, id int32, subregionId int32) (Ticket, *http.Response, error)
OVSApiService Change disk subregion * @param ctx context.Context for authentication, logging, tracing, etc. @param id Disk id @param subregionId Subregion id @return Ticket
func (*OVSApiService) DisksChangeTier ¶
func (a *OVSApiService) DisksChangeTier(ctx context.Context, id int32, tierId int32) (Ticket, *http.Response, error)
OVSApiService Change disk tier * @param ctx context.Context for authentication, logging, tracing, etc. @param id Disk id @param tierId Tier id @return Ticket
func (*OVSApiService) DisksDelete ¶
OVSApiService Delete disk * @param ctx context.Context for authentication, logging, tracing, etc. @param id Disk id @return Ticket
func (*OVSApiService) DisksDetachFromInstance ¶
func (a *OVSApiService) DisksDetachFromInstance(ctx context.Context, id int32, instanceId int32) (Ticket, *http.Response, error)
OVSApiService Detach disk from instance * @param ctx context.Context for authentication, logging, tracing, etc. @param id Disk id @param instanceId Instance id @return Ticket
func (*OVSApiService) DisksExtend ¶
func (a *OVSApiService) DisksExtend(ctx context.Context, id int32, spaceCapacity int32) (Ticket, *http.Response, error)
OVSApiService Extend disk * @param ctx context.Context for authentication, logging, tracing, etc. @param id Disk id @param spaceCapacity Disk space capacity in GB @return Ticket
func (*OVSApiService) DisksGet ¶
func (a *OVSApiService) DisksGet(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Disk, *http.Response, error)
OVSApiService Returns disk by identifier * @param ctx context.Context for authentication, logging, tracing, etc. @param id Disk identifier @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return Disk
func (*OVSApiService) DisksGetDisks ¶
func (a *OVSApiService) DisksGetDisks(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionDisk, *http.Response, error)
OVSApiService Returns disk list Acceptable order values are: SpaceCapacity, Name, Tier, IsShared, Subregion * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "diskType" (string) Disk type @param "showDeleted" (bool) Show deleted @param "query" (string) Query @param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionDisk
func (*OVSApiService) DisksPost ¶
func (a *OVSApiService) DisksPost(ctx context.Context, command CreateDiskCommand) (Ticket, *http.Response, error)
OVSApiService Creates disk * @param ctx context.Context for authentication, logging, tracing, etc. @param command Create disk command @return Ticket
func (*OVSApiService) DisksPut ¶
func (a *OVSApiService) DisksPut(ctx context.Context, id int32, command UpdateDiskCommand) (Ticket, *http.Response, error)
OVSApiService Update disk * @param ctx context.Context for authentication, logging, tracing, etc. @param id Disk id @param command Update disk command @return Ticket
type OcsProject ¶
type OcsProject struct {
// ID
Id string `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Description
Description string `json:"Description,omitempty"`
// Url
Url string `json:"Url,omitempty"`
// Authorization type
AuthorizationType *DictionaryItem `json:"AuthorizationType,omitempty"`
}
Oktawave Cloud Storage Project
type Opn ¶
type Opn struct {
// ID
Id int32 `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Creation date
CreationDate time.Time `json:"CreationDate,omitempty"`
// Last change date
LastChangeDate time.Time `json:"LastChangeDate,omitempty"`
// User who created the opn
CreationUser *UserResource `json:"CreationUser,omitempty"`
// Private IPs
PrivateIps []PrivateIp `json:"PrivateIps,omitempty"`
}
Virtual private network
type OpnSearchParams ¶
type OpnSearchParams struct {
// Instance id
InstanceId int32 `json:"InstanceId,omitempty"`
// Query
Query string `json:"Query,omitempty"`
// Page size
PageSize int32 `json:"PageSize,omitempty"`
// Page number
PageNumber int32 `json:"PageNumber,omitempty"`
// Order by
OrderBy string `json:"OrderBy,omitempty"`
// Sort expression
SortExpression string `json:"SortExpression,omitempty"`
// Sort direction
SortDirection string `json:"SortDirection,omitempty"`
}
Search params for OPNs
type PaymentDetails ¶
type PaymentDetails struct {
// Account number
AccountNumber string `json:"AccountNumber,omitempty"`
// External account number
ExternalAccountNumber string `json:"ExternalAccountNumber,omitempty"`
// Payment method
PaymentMethod *DictionaryItem `json:"PaymentMethod,omitempty"`
// Vat rate
VatRate float64 `json:"VatRate,omitempty"`
}
Payment information
type PrivateIp ¶
type PrivateIp struct {
// Interface id
InterfaceId int32 `json:"InterfaceId,omitempty"`
// The MAC address of the network card associated with that IP address
MacAddress string `json:"MacAddress,omitempty"`
// Adres IPv4
Address string `json:"Address,omitempty"`
// Adres IPv6
AddressV6 string `json:"AddressV6,omitempty"`
// Instance
Instance *BaseResource `json:"Instance,omitempty"`
// Creation date
CreationDate time.Time `json:"CreationDate,omitempty"`
}
Private IP address
type Resource ¶
type Resource struct {
Links []Link `json:"Links,omitempty"`
// Resurce id
Id int32 `json:"Id,omitempty"`
}
Resource with HATEOAS links
type RunImportCommand ¶
type RunImportCommand struct {
// Id of target subregion
SubregionId int32 `json:"SubregionId,omitempty"`
// Type of an instance
TypeId int32 `json:"TypeId"`
// Disks specification
Disks []RunImportDiskCommand `json:"Disks"`
// Network specification
Network []RunImportNetworkCommand `json:"Network"`
}
Run import command
type RunImportDiskCommand ¶
type RunImportDiskCommand struct {
// Id of an imported disk
ImportDiskId int32 `json:"ImportDiskId"`
// Tier id
TierId int32 `json:"TierId"`
}
Run import disk command
type RunImportNetworkCommand ¶
type RunImportNetworkCommand struct {
// Is public network
Public bool `json:"Public"`
// Id of public ip - only for public network. When null, random address will be assigned.
PublicIpId int32 `json:"PublicIpId,omitempty"`
// Id of Opn - only for private network
OpnId int32 `json:"OpnId,omitempty"`
}
Run import network command
type SetGroupAutoscalerCommand ¶
type SetGroupAutoscalerCommand struct {
// Expansion type
ExpansionTypeId int32 `json:"ExpansionTypeId"`
// Minimum instance number in container
MinimumInstanceNumber int32 `json:"MinimumInstanceNumber"`
// Minimum instance number in container
MaximumInstanceNumber int32 `json:"MaximumInstanceNumber"`
// Instances to scaling
Instances []GroupAutoscalerInstance `json:"Instances"`
}
Set container autoscaler
type SetLoadBalancerCommand ¶
type SetLoadBalancerCommand struct {
// Is ssl enabled (only for \"HTTP\" load balancer service type)
SslEnabled bool `json:"SslEnabled,omitempty"`
// Load balancer service type
ServiceType int32 `json:"ServiceType"`
// Port number for \"Port\" load balancer service type
PortNumber int32 `json:"PortNumber,omitempty"`
// Port number for \"TargetPort\" load balancer service type
TargetPortNumber int32 `json:"TargetPortNumber,omitempty"`
// Ssl port number for \"TargetPort\" load balancer service type
SslTargetPortNumber int32 `json:"SslTargetPortNumber,omitempty"`
// Session persistence type
SessionPersistenceType int32 `json:"SessionPersistenceType"`
// Load balancing algorithm
LoadBalancerAlgorithm int32 `json:"LoadBalancerAlgorithm"`
// Ip version for load balancing
IpVersion int32 `json:"IpVersion"`
// Is health check enabled
HealthCheckEnabled bool `json:"HealthCheckEnabled,omitempty"`
// Is common persistence for HTTP and HTTPS enabled (only for \"HTTP\" load balancer service type)
CommonPersistenceForHttpAndHttpsEnabled bool `json:"CommonPersistenceForHttpAndHttpsEnabled,omitempty"`
// Public ip id for load balancer
LoadBalancerIpId int32 `json:"LoadBalancerIpId,omitempty"`
// Proxy-protocol version
ProxyProtocolVersion int32 `json:"ProxyProtocolVersion,omitempty"`
}
Set load balancer command
type Snapshot ¶
type Snapshot struct {
// ID
Id int32 `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Description
Description string `json:"Description,omitempty"`
// Instance
Instance *BaseResource `json:"Instance,omitempty"`
// Creation date
CreationDate time.Time `json:"CreationDate,omitempty"`
// Last change date
LastChangeDate time.Time `json:"LastChangeDate,omitempty"`
// User who created the snapshot
CreationUser *UserResource `json:"CreationUser,omitempty"`
// Is system snapshot. Not created by the user.
IsSystem bool `json:"IsSystem,omitempty"`
// Is current
IsCurrent bool `json:"IsCurrent,omitempty"`
// Snapshot parent
SnapshotParent *BaseResource `json:"SnapshotParent,omitempty"`
}
Snapshot
type SnapshotsSearchParams ¶
type SnapshotsSearchParams struct {
// Instance id
InstanceId int32 `json:"InstanceId,omitempty"`
// Query
Query string `json:"Query,omitempty"`
// Page size
PageSize int32 `json:"PageSize,omitempty"`
// Page number
PageNumber int32 `json:"PageNumber,omitempty"`
// Order by
OrderBy string `json:"OrderBy,omitempty"`
// Sort expression
SortExpression string `json:"SortExpression,omitempty"`
// Sort direction
SortDirection string `json:"SortDirection,omitempty"`
}
Search params for snapshots
type Software ¶
type Software struct {
// Id
Id int32 `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
}
Software
type SshKey ¶
type SshKey struct {
// Id
Id int32 `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Key value trimmed
Value string `json:"Value,omitempty"`
// User owning the key
OwnerUser *UserResource `json:"OwnerUser,omitempty"`
// Creation date
CreationDate time.Time `json:"CreationDate,omitempty"`
}
SSH key
type StatisticsApiService ¶
type StatisticsApiService service
func (*StatisticsApiService) StatisticsGetClientStatistics ¶
func (a *StatisticsApiService) StatisticsGetClientStatistics(ctx context.Context, dateFrom time.Time, dateTo time.Time, statisticTypes []int32, localVarOptionals map[string]interface{}) (ApiCollectionClientStatistics, *http.Response, error)
StatisticsApiService Gets client statistics * @param ctx context.Context for authentication, logging, tracing, etc. @param dateFrom Date from (utc timezone) @param dateTo Date to (utc timezone) @param statisticTypes Statistic types @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionClientStatistics
func (*StatisticsApiService) StatisticsGetInstanceStatistics ¶
func (a *StatisticsApiService) StatisticsGetInstanceStatistics(ctx context.Context, id int32, statisticInterval int32, dateFrom time.Time, dateTo time.Time, statisticTypes []int32, localVarOptionals map[string]interface{}) (ApiCollectionInstanceStatistics, *http.Response, error)
StatisticsApiService Gets instance statistics * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id @param statisticInterval Statistic interval @param dateFrom Date from (utc timezone) @param dateTo Date to (utc timezone) @param statisticTypes Statistic types @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionInstanceStatistics
func (*StatisticsApiService) StatisticsGetStatisticIntervals ¶
func (a *StatisticsApiService) StatisticsGetStatisticIntervals(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionDictionaryItem, *http.Response, error)
StatisticsApiService Gets statistic interval types * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionDictionaryItem
type Subregion ¶
type Subregion struct {
// Id
Id int32 `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Is active
IsActive bool `json:"IsActive,omitempty"`
}
Subregion
type SubregionsApiService ¶
type SubregionsApiService service
func (*SubregionsApiService) SubregionsGet ¶
func (a *SubregionsApiService) SubregionsGet(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionSubregion, *http.Response, error)
SubregionsApiService Gets subregions * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return ApiCollectionSubregion
func (*SubregionsApiService) SubregionsGet_1 ¶
func (a *SubregionsApiService) SubregionsGet_1(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (Subregion, *http.Response, error)
SubregionsApiService Gets subregion * @param ctx context.Context for authentication, logging, tracing, etc. @param id Subregion id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return Subregion
type Template ¶
type Template struct {
// Id
Id int32 `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Description
Description string `json:"Description,omitempty"`
// Version
Version string `json:"Version,omitempty"`
// Creation date
CreationDate time.Time `json:"CreationDate,omitempty"`
// Last change date
LastChangeDate time.Time `json:"LastChangeDate,omitempty"`
// User who created the template
CreationUser *UserResource `json:"CreationUser,omitempty"`
// Default instance type
DefaultInstanceType *DictionaryItem `json:"DefaultInstanceType,omitempty"`
// Minimum instance type
MinimumInstanceType *DictionaryItem `json:"MinimumInstanceType,omitempty"`
// Ethernet controllers number
EthernetControllersNumber int32 `json:"EthernetControllersNumber,omitempty"`
// Ethernet controllers type
EthernetControllersType *DictionaryItem `json:"EthernetControllersType,omitempty"`
// System category
SystemCategory *DictionaryItem `json:"SystemCategory,omitempty"`
// Owner account
OwnerAccount *BaseResource `json:"OwnerAccount,omitempty"`
// Publication status
PublicationStatus *DictionaryItem `json:"PublicationStatus,omitempty"`
// Disks
Disks []TemplateDisk `json:"Disks,omitempty"`
// Softwares
Software []Software `json:"Software,omitempty"`
// Template type
TemplateType *DictionaryItem `json:"TemplateType,omitempty"`
}
Template
type TemplateDescription ¶
type TemplateDescription struct {
// Language id
LanguageId int32 `json:"LanguageId"`
// Description
Description string `json:"Description"`
}
Template description
type TemplateDisk ¶
type TemplateDisk struct {
// Id
Id int32 `json:"Id,omitempty"`
// Name
Name string `json:"Name,omitempty"`
// Space capacity in GB
SpaceCapacity int32 `json:"SpaceCapacity,omitempty"`
// Tier
Tier *DictionaryItem `json:"Tier,omitempty"`
// Creation date
CreationDate time.Time `json:"CreationDate,omitempty"`
// Controller
Controller int32 `json:"Controller,omitempty"`
// Slot
Slot int32 `json:"Slot,omitempty"`
// If is system disk
IsSystemDisk bool `json:"IsSystemDisk,omitempty"`
}
Template disk
type TemplateIcon ¶
type TemplateIcon struct {
// File name
FileName string `json:"FileName"`
// File source in Base64
FileSource string `json:"FileSource"`
}
Icon file
type TemplatesSearchParams ¶
type TemplatesSearchParams struct {
// Source
Source string `json:"Source,omitempty"`
// Query
Query string `json:"Query,omitempty"`
// Page size
PageSize int32 `json:"PageSize,omitempty"`
// Page number
PageNumber int32 `json:"PageNumber,omitempty"`
// Order by
OrderBy string `json:"OrderBy,omitempty"`
// Sort expression
SortExpression string `json:"SortExpression,omitempty"`
// Sort direction
SortDirection string `json:"SortDirection,omitempty"`
}
Search params for templates
type Ticket ¶
type Ticket struct {
// ID
Id int64 `json:"Id,omitempty"`
// Creation date
CreationDate time.Time `json:"CreationDate,omitempty"`
// User who created the ticket
CreationUser *UserResource `json:"CreationUser,omitempty"`
// End date of operation
EndDate time.Time `json:"EndDate,omitempty"`
// Status
Status *DictionaryItem `json:"Status,omitempty"`
// Operation type
OperationType *DictionaryItem `json:"OperationType,omitempty"`
// Object identifier on which the operation is performed
ObjectId int32 `json:"ObjectId,omitempty"`
// Object type
ObjectType *DictionaryItem `json:"ObjectType,omitempty"`
// Object name
ObjectName string `json:"ObjectName,omitempty"`
// Operation progress
Progress int32 `json:"Progress,omitempty"`
}
Ticket representing operation on service eg. instance, disk
type TicketsApiService ¶
type TicketsApiService service
func (*TicketsApiService) TicketsGet ¶
func (a *TicketsApiService) TicketsGet(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionTicket, *http.Response, error)
TicketsApiService Returns ticket collection Acceptable order values are: CreationDate, Status, OperationType * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "statusId" (int32) Tickets status id @param "creationDateFrom" (time.Time) Tickets creation date from @param "creationDateTo" (time.Time) Tickets creation date to @param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionTicket
func (*TicketsApiService) TicketsGet_1 ¶
func (a *TicketsApiService) TicketsGet_1(ctx context.Context, id int64, localVarOptionals map[string]interface{}) (Ticket, *http.Response, error)
TicketsApiService Returns ticket by identifier * @param ctx context.Context for authentication, logging, tracing, etc. @param id Ticket identifier @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return Ticket
type TicketsSearchParams ¶
type TicketsSearchParams struct {
// Tickets status id
StatusId int32 `json:"StatusId,omitempty"`
// Tickets creation date from
CreationDateFrom time.Time `json:"CreationDateFrom,omitempty"`
// Tickets creation date to
CreationDateTo time.Time `json:"CreationDateTo,omitempty"`
// Page size
PageSize int32 `json:"PageSize,omitempty"`
// Page number
PageNumber int32 `json:"PageNumber,omitempty"`
// Order by
OrderBy string `json:"OrderBy,omitempty"`
// Sort expression
SortExpression string `json:"SortExpression,omitempty"`
// Sort direction
SortDirection string `json:"SortDirection,omitempty"`
}
Search params for tickets
type UpdateDiskCommand ¶
type UpdateDiskCommand struct {
// Name of disk
DiskName string `json:"DiskName"`
// Space capacity in GB
SpaceCapacity int32 `json:"SpaceCapacity"`
// Tier id
TierId int32 `json:"TierId"`
// Subregion identifier
SubregionId int32 `json:"SubregionId"`
// Instance ids list
InstanceIdsList []int32 `json:"InstanceIdsList,omitempty"`
}
Update disk command
type UpdateIpCommand ¶
type UpdateIpCommand struct {
// IP should be static
SetStatic bool `json:"SetStatic,omitempty"`
// IP comment
Comment string `json:"Comment,omitempty"`
// Restore default value for revDNS IPv4
RestoreRevDns bool `json:"RestoreRevDns,omitempty"`
// Restore default value for revDNS IPv6
RestoreRevDnsV6 bool `json:"RestoreRevDnsV6,omitempty"`
// revDNS for IPv4
RevDns string `json:"RevDns,omitempty"`
// revDNS for IPv6
RevDnsV6 string `json:"RevDnsV6,omitempty"`
}
Instance IP configuration update command
type UpdateOpnCommand ¶
type UpdateOpnCommand struct {
// OPN Name
OpnName string `json:"OpnName"`
}
OPN update command
type UpdateTemplateCommand ¶
type UpdateTemplateCommand struct {
// Template name
Name string `json:"Name,omitempty"`
// Template descriptions
TemplateDescriptions []TemplateDescription `json:"TemplateDescriptions,omitempty"`
}
Update template command
type UserResource ¶
type UserResource struct {
// User id
Id int32 `json:"Id,omitempty"`
// User login
Login string `json:"Login,omitempty"`
// First name
FirstName string `json:"FirstName,omitempty"`
// Last name
LastName string `json:"LastName,omitempty"`
}
User
type VmHistorySearchParams ¶
type VmHistorySearchParams struct {
// Type IDs
TypeIds string `json:"TypeIds,omitempty"`
// Status IDs
StatusIds string `json:"StatusIds,omitempty"`
// Date from
DateFrom time.Time `json:"DateFrom,omitempty"`
// Date to
DateTo time.Time `json:"DateTo,omitempty"`
// Page size
PageSize int32 `json:"PageSize,omitempty"`
// Page number
PageNumber int32 `json:"PageNumber,omitempty"`
// Order by
OrderBy string `json:"OrderBy,omitempty"`
// Sort expression
SortExpression string `json:"SortExpression,omitempty"`
// Sort direction
SortDirection string `json:"SortDirection,omitempty"`
}
Events search params
type VncConnection ¶
type VncConnection struct {
// Instance
Instance *BaseResource `json:"Instance,omitempty"`
// Source ip
SourceIp string `json:"SourceIp,omitempty"`
// Address
Address string `json:"Address,omitempty"`
// Port
Port int32 `json:"Port,omitempty"`
// Password
Password string `json:"Password,omitempty"`
// Open until
OpenUntil time.Time `json:"OpenUntil,omitempty"`
}
VNC connection properties
type WatchApiService ¶
type WatchApiService service
func (*WatchApiService) WatchAddSelectedMonitoringStations ¶
func (a *WatchApiService) WatchAddSelectedMonitoringStations(ctx context.Context, station AssignNewMonitoringSensorCommand) (MonitoringSensor, *http.Response, error)
WatchApiService Add monitoring sensor * @param ctx context.Context for authentication, logging, tracing, etc. @param station Station @return MonitoringSensor
func (*WatchApiService) WatchCreateDnsHealthCheck ¶
func (a *WatchApiService) WatchCreateDnsHealthCheck(ctx context.Context, command CreateUpdateHealthCheckDnsCommand) (HealthCheckDns, *http.Response, error)
WatchApiService Creates dns health check * @param ctx context.Context for authentication, logging, tracing, etc. @param command Create dns health check command @return HealthCheckDns
func (*WatchApiService) WatchCreateFullPageHealthCheck ¶
func (a *WatchApiService) WatchCreateFullPageHealthCheck(ctx context.Context, command CreateUpdateHealthCheckFullPageCommand) (HealthCheckFullPage, *http.Response, error)
WatchApiService Creates FullPage health check * @param ctx context.Context for authentication, logging, tracing, etc. @param command Create FullPage health check command @return HealthCheckFullPage
func (*WatchApiService) WatchCreateFullPageHttpsHealthCheck ¶
func (a *WatchApiService) WatchCreateFullPageHttpsHealthCheck(ctx context.Context, command CreateUpdateHealthCheckFullPageHttpsCommand) (HealthCheckFullPage, *http.Response, error)
WatchApiService Creates FullPage Https health check * @param ctx context.Context for authentication, logging, tracing, etc. @param command Create FullPage health check command @return HealthCheckFullPage
func (*WatchApiService) WatchCreateHealthCheckNotification ¶
func (a *WatchApiService) WatchCreateHealthCheckNotification(ctx context.Context, command CreateUpdateHealthCheckNotificationCommand) (HealthCheckNotification, *http.Response, error)
WatchApiService Creates health check notification * @param ctx context.Context for authentication, logging, tracing, etc. @param command Create health check notification command @return HealthCheckNotification
func (*WatchApiService) WatchCreateHttpHealthCheck ¶
func (a *WatchApiService) WatchCreateHttpHealthCheck(ctx context.Context, command CreateUpdateHealthCheckHttpCommand) (HealthCheckHttp, *http.Response, error)
WatchApiService Creates http health check * @param ctx context.Context for authentication, logging, tracing, etc. @param command Create http health check command @return HealthCheckHttp
func (*WatchApiService) WatchCreateHttpsHealthCheck ¶
func (a *WatchApiService) WatchCreateHttpsHealthCheck(ctx context.Context, command CreateUpdateHealthCheckHttpsCommand) (HealthCheckHttp, *http.Response, error)
WatchApiService Creates https health check * @param ctx context.Context for authentication, logging, tracing, etc. @param command Create https health check command @return HealthCheckHttp
func (*WatchApiService) WatchCreateImapHealthCheck ¶
func (a *WatchApiService) WatchCreateImapHealthCheck(ctx context.Context, command CreateUpdateHealthCheckImapCommand) (HealthCheckImap, *http.Response, error)
WatchApiService Creates imap health check * @param ctx context.Context for authentication, logging, tracing, etc. @param command Create imap health check command @return HealthCheckImap
func (*WatchApiService) WatchCreateImapSslHealthCheck ¶
func (a *WatchApiService) WatchCreateImapSslHealthCheck(ctx context.Context, command CreateUpdateHealthCheckImapSslCommand) (HealthCheckImap, *http.Response, error)
WatchApiService Creates imap ssl health check * @param ctx context.Context for authentication, logging, tracing, etc. @param command Create imap ssl health check command @return HealthCheckImap
func (*WatchApiService) WatchCreatePingHealthCheck ¶
func (a *WatchApiService) WatchCreatePingHealthCheck(ctx context.Context, command CreateUpdateHealthCheckPingCommand) (HealthCheckPing, *http.Response, error)
WatchApiService Creates ping health check * @param ctx context.Context for authentication, logging, tracing, etc. @param command Create ping health check command @return HealthCheckPing
func (*WatchApiService) WatchCreateSipHealthCheck ¶
func (a *WatchApiService) WatchCreateSipHealthCheck(ctx context.Context, command CreateUpdateHealthCheckSipCommand) (HealthCheckSip, *http.Response, error)
WatchApiService Creates sip health check * @param ctx context.Context for authentication, logging, tracing, etc. @param command Create sip health check command @return HealthCheckSip
func (*WatchApiService) WatchCreateSmtpHealthCheck ¶
func (a *WatchApiService) WatchCreateSmtpHealthCheck(ctx context.Context, command CreateUpdateHealthCheckSmtpCommand) (HealthCheckSmtp, *http.Response, error)
WatchApiService Creates smtp health check * @param ctx context.Context for authentication, logging, tracing, etc. @param command Create smtp health check command @return HealthCheckSmtp
func (*WatchApiService) WatchCreateTcpHealthCheck ¶
func (a *WatchApiService) WatchCreateTcpHealthCheck(ctx context.Context, command CreateUpdateHealthCheckTcpCommand) (HealthCheckTcp, *http.Response, error)
WatchApiService Creates Tcp health check * @param ctx context.Context for authentication, logging, tracing, etc. @param command Create Tcp health check command @return HealthCheckTcp
func (*WatchApiService) WatchDeleteHealthCheck ¶
func (a *WatchApiService) WatchDeleteHealthCheck(ctx context.Context, id int32) (*http.Response, error)
WatchApiService Deletes health check * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a health check @return
func (*WatchApiService) WatchDeleteHealthCheckNotification ¶
func (a *WatchApiService) WatchDeleteHealthCheckNotification(ctx context.Context, id int32) (*http.Response, error)
WatchApiService Deletes health check notification * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a health check notification @return
func (*WatchApiService) WatchDeleteSelectedMonitoringStations ¶
func (a *WatchApiService) WatchDeleteSelectedMonitoringStations(ctx context.Context, id int32) (MonitoringSensor, *http.Response, error)
WatchApiService Remove monitoring sensor * @param ctx context.Context for authentication, logging, tracing, etc. @param id Sensor id @return MonitoringSensor
func (*WatchApiService) WatchGetAvailableMonitoringStations ¶
func (a *WatchApiService) WatchGetAvailableMonitoringStations(ctx context.Context, localVarOptionals map[string]interface{}) (MonitoringSensor, *http.Response, error)
WatchApiService Gets all available monitoring sensors * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return MonitoringSensor
func (*WatchApiService) WatchGetDnsHealthCheck ¶
func (a *WatchApiService) WatchGetDnsHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckDns, *http.Response, error)
WatchApiService Returns dns health check details * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a health check @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return HealthCheckDns
func (*WatchApiService) WatchGetFullPageHealthCheck ¶
func (a *WatchApiService) WatchGetFullPageHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckFullPage, *http.Response, error)
WatchApiService Returns FullPage health check details * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a health check @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return HealthCheckFullPage
func (*WatchApiService) WatchGetFullPageHttpsHealthCheck ¶
func (a *WatchApiService) WatchGetFullPageHttpsHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckFullPage, *http.Response, error)
WatchApiService Returns FullPage Https health check details * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a health check @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return HealthCheckFullPage
func (*WatchApiService) WatchGetHealthCheck ¶
func (a *WatchApiService) WatchGetHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheck, *http.Response, error)
WatchApiService Returns health check * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a health check @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return HealthCheck
func (*WatchApiService) WatchGetHealthCheckNotification ¶
func (a *WatchApiService) WatchGetHealthCheckNotification(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckNotification, *http.Response, error)
WatchApiService Returns health check notification details * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a health check notification @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return HealthCheckNotification
func (*WatchApiService) WatchGetHealthCheckNotifications ¶
func (a *WatchApiService) WatchGetHealthCheckNotifications(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionHealthCheckNotification, *http.Response, error)
WatchApiService Returns a list of configured health check notifications Acceptable order values are: Address, Id * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionHealthCheckNotification
func (*WatchApiService) WatchGetHealthChecks ¶
func (a *WatchApiService) WatchGetHealthChecks(ctx context.Context, localVarOptionals map[string]interface{}) (ApiCollectionHealthCheck, *http.Response, error)
WatchApiService Returns a list of configured health checks Acceptable order values are: Name, Type * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "pageSize" (int32) Page size @param "pageNumber" (int32) Page number @param "orderBy" (string) Order by @param "fields" (string) Response fields filter
@return ApiCollectionHealthCheck
func (*WatchApiService) WatchGetHttpHealthCheck ¶
func (a *WatchApiService) WatchGetHttpHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckHttp, *http.Response, error)
WatchApiService Returns http health check details * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a health check @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return HealthCheckHttp
func (*WatchApiService) WatchGetHttpsHealthCheck ¶
func (a *WatchApiService) WatchGetHttpsHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckHttp, *http.Response, error)
WatchApiService Returns https health check details * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a health check @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return HealthCheckHttp
func (*WatchApiService) WatchGetImapHealthCheck ¶
func (a *WatchApiService) WatchGetImapHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckImap, *http.Response, error)
WatchApiService Returns imap health check details * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a health check @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return HealthCheckImap
func (*WatchApiService) WatchGetImapSslHealthCheck ¶
func (a *WatchApiService) WatchGetImapSslHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckImap, *http.Response, error)
WatchApiService Returns imap ssl health check details * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a health check @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return HealthCheckImap
func (*WatchApiService) WatchGetPingHealthCheck ¶
func (a *WatchApiService) WatchGetPingHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckPing, *http.Response, error)
WatchApiService Returns ping health check details * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a health check @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return HealthCheckPing
func (*WatchApiService) WatchGetSelectedMonitoringStation ¶
func (a *WatchApiService) WatchGetSelectedMonitoringStation(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (MonitoringSensor, *http.Response, error)
WatchApiService Gets selected monitoring sensor * @param ctx context.Context for authentication, logging, tracing, etc. @param id @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return MonitoringSensor
func (*WatchApiService) WatchGetSelectedMonitoringStations ¶
func (a *WatchApiService) WatchGetSelectedMonitoringStations(ctx context.Context, localVarOptionals map[string]interface{}) (MonitoringSensor, *http.Response, error)
WatchApiService Gets selected monitoring sensors * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return MonitoringSensor
func (*WatchApiService) WatchGetSipHealthCheck ¶
func (a *WatchApiService) WatchGetSipHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckSip, *http.Response, error)
WatchApiService Returns sip health check details * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a health check @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return HealthCheckSip
func (*WatchApiService) WatchGetSmtpHealthCheck ¶
func (a *WatchApiService) WatchGetSmtpHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckSmtp, *http.Response, error)
WatchApiService Returns smtp health check details * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a health check @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return HealthCheckSmtp
func (*WatchApiService) WatchGetTcpHealthCheck ¶
func (a *WatchApiService) WatchGetTcpHealthCheck(ctx context.Context, id int32, localVarOptionals map[string]interface{}) (HealthCheckTcp, *http.Response, error)
WatchApiService Returns tcp health check details * @param ctx context.Context for authentication, logging, tracing, etc. @param id Id of a health check @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) Response fields filter
@return HealthCheckTcp
func (*WatchApiService) WatchUpdateDnsHealthCheck ¶
func (a *WatchApiService) WatchUpdateDnsHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckDnsCommand) (HealthCheckDns, *http.Response, error)
WatchApiService Updates dns health check * @param ctx context.Context for authentication, logging, tracing, etc. @param id Health check id @param command Create dns health check command @return HealthCheckDns
func (*WatchApiService) WatchUpdateFullPageHealthCheck ¶
func (a *WatchApiService) WatchUpdateFullPageHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckFullPageCommand) (HealthCheckFullPage, *http.Response, error)
WatchApiService Updates FullPage health check * @param ctx context.Context for authentication, logging, tracing, etc. @param id Health check id @param command Create FullPage health check command @return HealthCheckFullPage
func (*WatchApiService) WatchUpdateFullPageHttpsHealthCheck ¶
func (a *WatchApiService) WatchUpdateFullPageHttpsHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckFullPageHttpsCommand) (HealthCheckFullPage, *http.Response, error)
WatchApiService Updates FullPage Https health check * @param ctx context.Context for authentication, logging, tracing, etc. @param id Health check id @param command Create FullPage health check command @return HealthCheckFullPage
func (*WatchApiService) WatchUpdateHealthCheckNotification ¶
func (a *WatchApiService) WatchUpdateHealthCheckNotification(ctx context.Context, id int32, command CreateUpdateHealthCheckNotificationCommand) (HealthCheckNotification, *http.Response, error)
WatchApiService Updates health check notification * @param ctx context.Context for authentication, logging, tracing, etc. @param id Health check notification id @param command Create health check notification command @return HealthCheckNotification
func (*WatchApiService) WatchUpdateHttpHealthCheck ¶
func (a *WatchApiService) WatchUpdateHttpHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckHttpCommand) (HealthCheckHttp, *http.Response, error)
WatchApiService Updates http health check * @param ctx context.Context for authentication, logging, tracing, etc. @param id Health check id @param command Create http health check command @return HealthCheckHttp
func (*WatchApiService) WatchUpdateHttpsHealthCheck ¶
func (a *WatchApiService) WatchUpdateHttpsHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckHttpsCommand) (HealthCheckHttp, *http.Response, error)
WatchApiService Updates https health check * @param ctx context.Context for authentication, logging, tracing, etc. @param id Health check id @param command Create https health check command @return HealthCheckHttp
func (*WatchApiService) WatchUpdateImapHealthCheck ¶
func (a *WatchApiService) WatchUpdateImapHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckImapCommand) (HealthCheckImap, *http.Response, error)
WatchApiService Updates imap health check * @param ctx context.Context for authentication, logging, tracing, etc. @param id Health check id @param command Create imap health check command @return HealthCheckImap
func (*WatchApiService) WatchUpdateImapHealthCheck_1 ¶
func (a *WatchApiService) WatchUpdateImapHealthCheck_1(ctx context.Context, id int32, command CreateUpdateHealthCheckSipCommand) (HealthCheckSip, *http.Response, error)
WatchApiService Updates sip health check * @param ctx context.Context for authentication, logging, tracing, etc. @param id Health check id @param command Create sip health check command @return HealthCheckSip
func (*WatchApiService) WatchUpdateImapSslHealthCheck ¶
func (a *WatchApiService) WatchUpdateImapSslHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckImapSslCommand) (HealthCheckImap, *http.Response, error)
WatchApiService Updates imap ssl health check * @param ctx context.Context for authentication, logging, tracing, etc. @param id Health check id @param command Create imap ssl health check command @return HealthCheckImap
func (*WatchApiService) WatchUpdatePingHealthCheck ¶
func (a *WatchApiService) WatchUpdatePingHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckPingCommand) (HealthCheckPing, *http.Response, error)
WatchApiService Updates ping health check * @param ctx context.Context for authentication, logging, tracing, etc. @param id Health check id @param command Create ping health check command @return HealthCheckPing
func (*WatchApiService) WatchUpdateSmtpHealthCheck ¶
func (a *WatchApiService) WatchUpdateSmtpHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckSmtpCommand) (HealthCheckSmtp, *http.Response, error)
WatchApiService Updates smtp health check * @param ctx context.Context for authentication, logging, tracing, etc. @param id Health check id @param command Create smtp health check command @return HealthCheckSmtp
func (*WatchApiService) WatchUpdateTcpHealthCheck ¶
func (a *WatchApiService) WatchUpdateTcpHealthCheck(ctx context.Context, id int32, command CreateUpdateHealthCheckTcpCommand) (HealthCheckTcp, *http.Response, error)
WatchApiService Updates Tcp health check * @param ctx context.Context for authentication, logging, tracing, etc. @param id Health check id @param command Create Tcp health check command @return HealthCheckTcp
Source Files
¶
- access_data.go
- account.go
- account_api.go
- address.go
- api_client.go
- api_collection_client_statistics.go
- api_collection_dictionary.go
- api_collection_dictionary_item.go
- api_collection_disk.go
- api_collection_export.go
- api_collection_group.go
- api_collection_group_assignment.go
- api_collection_group_scheduler.go
- api_collection_health_check.go
- api_collection_health_check_notification.go
- api_collection_import.go
- api_collection_import_disk.go
- api_collection_instance.go
- api_collection_instance_event.go
- api_collection_instance_scheduler.go
- api_collection_instance_ssh_key.go
- api_collection_instance_statistics.go
- api_collection_instance_type.go
- api_collection_ip.go
- api_collection_load_balancer.go
- api_collection_metadata.go
- api_collection_ocs_project.go
- api_collection_opn.go
- api_collection_snapshot.go
- api_collection_software.go
- api_collection_ssh_key.go
- api_collection_subregion.go
- api_collection_template.go
- api_collection_ticket.go
- api_response.go
- assign_new_monitoring_sensor_command.go
- attach_floating_ip_to_instance_command.go
- attach_instance_to_opn_command.go
- attach_ip_to_instance_command.go
- autoscaler.go
- autoscaler_update_command.go
- base_resource.go
- base_search_params.go
- base_search_params_with_query.go
- book_ip_command.go
- change_container_assignments_command.go
- change_container_service_state_command.go
- change_disk_tier_command.go
- change_floating_ip_subregion_command.go
- change_hot_plug_setting_command.go
- change_instance_name_command.go
- change_instance_scsi_controller_type_command.go
- change_instance_subregion_command.go
- change_instance_type_command.go
- change_ip_subregion_command.go
- change_opn_command.go
- client_statistics.go
- client_statistics_search_params.go
- clone_instance_command.go
- company_details.go
- configuration.go
- container_assignment_command.go
- convert_instance_to_template_command.go
- create_disk_command.go
- create_export_command.go
- create_group_command.go
- create_import_command.go
- create_instance_command.go
- create_opn_command.go
- create_ssh_key_command.go
- create_update_group_scheduler_command.go
- create_update_health_check_dns_command.go
- create_update_health_check_full_page_command.go
- create_update_health_check_full_page_https_command.go
- create_update_health_check_http_command.go
- create_update_health_check_https_command.go
- create_update_health_check_imap_command.go
- create_update_health_check_imap_ssl_command.go
- create_update_health_check_notification_command.go
- create_update_health_check_ping_command.go
- create_update_health_check_sip_command.go
- create_update_health_check_smtp_command.go
- create_update_health_check_tcp_command.go
- create_update_instance_scheduler_command.go
- create_update_snapshot_command.go
- create_update_vnc_connection_command.go
- delete_events_command.go
- delete_snapshots_command.go
- detach_floating_ip_from_instance_command.go
- detach_instance_from_opn_command.go
- detach_ip_from_instance_command.go
- dictionaries_api.go
- dictionary.go
- dictionary_item.go
- disk.go
- disk_connection.go
- disks_search_params.go
- events_search_params.go
- export.go
- exports_search_params.go
- floating_i_ps_api.go
- get_screenshot_command.go
- group.go
- group_assignment.go
- group_autoscaler.go
- group_autoscaler_instance.go
- group_scheduler.go
- health_check.go
- health_check_dns.go
- health_check_full_page.go
- health_check_http.go
- health_check_imap.go
- health_check_notification.go
- health_check_ping.go
- health_check_sip.go
- health_check_smtp.go
- health_check_tcp.go
- import_disk.go
- instance.go
- instance_autoscaling_parameter.go
- instance_event.go
- instance_exports_search_params.go
- instance_scheduler.go
- instance_schedulers_search_params.go
- instance_ssh_key.go
- instance_statistics.go
- instance_statistics_search_params.go
- instance_type.go
- instances_search_params.go
- instances_types_search_params.go
- ip.go
- ips_search_params.go
- link.go
- load_balancer.go
- load_balancer_server.go
- load_balancer_service.go
- model_import.go
- monitoring_sensor.go
- named_resource.go
- network_interface.go
- networking_api.go
- nullable_time.go
- object.go
- oci_api.go
- oci_autoscaler_api.go
- oci_backups_api.go
- oci_events_api.go
- oci_groups_api.go
- oci_interfaces_api.go
- oci_schedulers_api.go
- oci_snapshots_api.go
- oci_templates_api.go
- ocs_api.go
- ocs_project.go
- opn.go
- opn_search_params.go
- ovs_api.go
- payment_details.go
- private_ip.go
- resource.go
- run_import_command.go
- run_import_disk_command.go
- run_import_network_command.go
- set_group_autoscaler_command.go
- set_load_balancer_command.go
- snapshot.go
- snapshots_search_params.go
- software.go
- ssh_key.go
- statistics_api.go
- subregion.go
- subregions_api.go
- template.go
- template_description.go
- template_disk.go
- template_icon.go
- templates_search_params.go
- ticket.go
- tickets_api.go
- tickets_search_params.go
- update_disk_command.go
- update_ip_command.go
- update_opn_command.go
- update_template_command.go
- user_resource.go
- vm_history_search_params.go
- vnc_connection.go
- watch_api.go