Documentation ¶
Index ¶
- type APIDiscoveryService
- type Account
- type AccountService
- func (s *AccountService) AddAccountToProject(p *AddAccountToProjectParams) (*AddAccountToProjectResponse, error)
- func (s *AccountService) CreateAccount(p *CreateAccountParams) (*CreateAccountResponse, error)
- func (s *AccountService) DeleteAccount(p *DeleteAccountParams) (*DeleteAccountResponse, error)
- func (s *AccountService) DeleteAccountFromProject(p *DeleteAccountFromProjectParams) (*DeleteAccountFromProjectResponse, error)
- func (s *AccountService) DisableAccount(p *DisableAccountParams) (*DisableAccountResponse, error)
- func (s *AccountService) EnableAccount(p *EnableAccountParams) (*EnableAccountResponse, error)
- func (s *AccountService) GetAccountID(name string) (string, error)
- func (s *AccountService) GetProjectAccountID(keyword string, projectid string) (string, error)
- func (s *AccountService) ListAccounts(p *ListAccountsParams) (*ListAccountsResponse, error)
- func (s *AccountService) ListProjectAccounts(p *ListProjectAccountsParams) (*ListProjectAccountsResponse, error)
- func (s *AccountService) LockAccount(p *LockAccountParams) (*LockAccountResponse, error)
- func (s *AccountService) MarkDefaultZoneForAccount(p *MarkDefaultZoneForAccountParams) (*MarkDefaultZoneForAccountResponse, error)
- func (s *AccountService) NewAddAccountToProjectParams(projectid string) *AddAccountToProjectParams
- func (s *AccountService) NewCreateAccountParams(accounttype int, email string, firstname string, lastname string, ...) *CreateAccountParams
- func (s *AccountService) NewDeleteAccountFromProjectParams(account string, projectid string) *DeleteAccountFromProjectParams
- func (s *AccountService) NewDeleteAccountParams(id string) *DeleteAccountParams
- func (s *AccountService) NewDisableAccountParams(lock bool) *DisableAccountParams
- func (s *AccountService) NewEnableAccountParams() *EnableAccountParams
- func (s *AccountService) NewListAccountsParams() *ListAccountsParams
- func (s *AccountService) NewListProjectAccountsParams(projectid string) *ListProjectAccountsParams
- func (s *AccountService) NewLockAccountParams(account string, domainid string) *LockAccountParams
- func (s *AccountService) NewMarkDefaultZoneForAccountParams(account string, domainid string, zoneid string) *MarkDefaultZoneForAccountParams
- func (s *AccountService) NewUpdateAccountParams(newname string) *UpdateAccountParams
- func (s *AccountService) UpdateAccount(p *UpdateAccountParams) (*UpdateAccountResponse, error)
- type ActivateProjectParams
- type ActivateProjectResponse
- type AddAccountToProjectParams
- type AddAccountToProjectResponse
- type AddBaremetalDhcpParams
- type AddBaremetalDhcpResponse
- type AddBaremetalHostParams
- func (p *AddBaremetalHostParams) SetAllocationstate(v string)
- func (p *AddBaremetalHostParams) SetClusterid(v string)
- func (p *AddBaremetalHostParams) SetClustername(v string)
- func (p *AddBaremetalHostParams) SetHosttags(v []string)
- func (p *AddBaremetalHostParams) SetHypervisor(v string)
- func (p *AddBaremetalHostParams) SetIpaddress(v string)
- func (p *AddBaremetalHostParams) SetPassword(v string)
- func (p *AddBaremetalHostParams) SetPodid(v string)
- func (p *AddBaremetalHostParams) SetUrl(v string)
- func (p *AddBaremetalHostParams) SetUsername(v string)
- func (p *AddBaremetalHostParams) SetZoneid(v string)
- type AddBaremetalHostResponse
- type AddBaremetalPxeKickStartServerParams
- func (p *AddBaremetalPxeKickStartServerParams) SetPassword(v string)
- func (p *AddBaremetalPxeKickStartServerParams) SetPhysicalnetworkid(v string)
- func (p *AddBaremetalPxeKickStartServerParams) SetPodid(v string)
- func (p *AddBaremetalPxeKickStartServerParams) SetPxeservertype(v string)
- func (p *AddBaremetalPxeKickStartServerParams) SetTftpdir(v string)
- func (p *AddBaremetalPxeKickStartServerParams) SetUrl(v string)
- func (p *AddBaremetalPxeKickStartServerParams) SetUsername(v string)
- type AddBaremetalPxeKickStartServerResponse
- type AddBaremetalPxePingServerParams
- func (p *AddBaremetalPxePingServerParams) SetPassword(v string)
- func (p *AddBaremetalPxePingServerParams) SetPhysicalnetworkid(v string)
- func (p *AddBaremetalPxePingServerParams) SetPingcifspassword(v string)
- func (p *AddBaremetalPxePingServerParams) SetPingcifsusername(v string)
- func (p *AddBaremetalPxePingServerParams) SetPingdir(v string)
- func (p *AddBaremetalPxePingServerParams) SetPingstorageserverip(v string)
- func (p *AddBaremetalPxePingServerParams) SetPodid(v string)
- func (p *AddBaremetalPxePingServerParams) SetPxeservertype(v string)
- func (p *AddBaremetalPxePingServerParams) SetTftpdir(v string)
- func (p *AddBaremetalPxePingServerParams) SetUrl(v string)
- func (p *AddBaremetalPxePingServerParams) SetUsername(v string)
- type AddBaremetalPxePingServerResponse
- type AddBigSwitchVnsDeviceParams
- type AddBigSwitchVnsDeviceResponse
- type AddCiscoAsa1000vResourceParams
- type AddCiscoAsa1000vResourceResponse
- type AddCiscoVnmcResourceParams
- type AddCiscoVnmcResourceResponse
- type AddClusterParams
- func (p *AddClusterParams) SetAllocationstate(v string)
- func (p *AddClusterParams) SetClustername(v string)
- func (p *AddClusterParams) SetClustertype(v string)
- func (p *AddClusterParams) SetGuestvswitchname(v string)
- func (p *AddClusterParams) SetGuestvswitchtype(v string)
- func (p *AddClusterParams) SetHypervisor(v string)
- func (p *AddClusterParams) SetPassword(v string)
- func (p *AddClusterParams) SetPodid(v string)
- func (p *AddClusterParams) SetPublicvswitchname(v string)
- func (p *AddClusterParams) SetPublicvswitchtype(v string)
- func (p *AddClusterParams) SetUrl(v string)
- func (p *AddClusterParams) SetUsername(v string)
- func (p *AddClusterParams) SetVsmipaddress(v string)
- func (p *AddClusterParams) SetVsmpassword(v string)
- func (p *AddClusterParams) SetVsmusername(v string)
- func (p *AddClusterParams) SetZoneid(v string)
- type AddClusterResponse
- type AddExternalFirewallParams
- type AddExternalFirewallResponse
- type AddExternalLoadBalancerParams
- type AddExternalLoadBalancerResponse
- type AddF5LoadBalancerParams
- type AddF5LoadBalancerResponse
- type AddHostParams
- func (p *AddHostParams) SetAllocationstate(v string)
- func (p *AddHostParams) SetClusterid(v string)
- func (p *AddHostParams) SetClustername(v string)
- func (p *AddHostParams) SetHosttags(v []string)
- func (p *AddHostParams) SetHypervisor(v string)
- func (p *AddHostParams) SetPassword(v string)
- func (p *AddHostParams) SetPodid(v string)
- func (p *AddHostParams) SetUrl(v string)
- func (p *AddHostParams) SetUsername(v string)
- func (p *AddHostParams) SetZoneid(v string)
- type AddHostResponse
- type AddImageStoreParams
- type AddImageStoreResponse
- type AddIpToNicParams
- type AddIpToNicResponse
- type AddLdapConfigurationParams
- type AddLdapConfigurationResponse
- type AddNetscalerLoadBalancerParams
- func (p *AddNetscalerLoadBalancerParams) SetGslbprovider(v bool)
- func (p *AddNetscalerLoadBalancerParams) SetGslbproviderprivateip(v string)
- func (p *AddNetscalerLoadBalancerParams) SetGslbproviderpublicip(v string)
- func (p *AddNetscalerLoadBalancerParams) SetIsexclusivegslbprovider(v bool)
- func (p *AddNetscalerLoadBalancerParams) SetNetworkdevicetype(v string)
- func (p *AddNetscalerLoadBalancerParams) SetPassword(v string)
- func (p *AddNetscalerLoadBalancerParams) SetPhysicalnetworkid(v string)
- func (p *AddNetscalerLoadBalancerParams) SetUrl(v string)
- func (p *AddNetscalerLoadBalancerParams) SetUsername(v string)
- type AddNetscalerLoadBalancerResponse
- type AddNetworkDeviceParams
- type AddNetworkDeviceResponse
- type AddNetworkServiceProviderParams
- type AddNetworkServiceProviderResponse
- type AddNicToVirtualMachineParams
- type AddNicToVirtualMachineResponse
- type AddNiciraNvpDeviceParams
- func (p *AddNiciraNvpDeviceParams) SetHostname(v string)
- func (p *AddNiciraNvpDeviceParams) SetL3gatewayserviceuuid(v string)
- func (p *AddNiciraNvpDeviceParams) SetPassword(v string)
- func (p *AddNiciraNvpDeviceParams) SetPhysicalnetworkid(v string)
- func (p *AddNiciraNvpDeviceParams) SetTransportzoneuuid(v string)
- func (p *AddNiciraNvpDeviceParams) SetUsername(v string)
- type AddNiciraNvpDeviceResponse
- type AddPaloAltoFirewallParams
- func (p *AddPaloAltoFirewallParams) SetNetworkdevicetype(v string)
- func (p *AddPaloAltoFirewallParams) SetPassword(v string)
- func (p *AddPaloAltoFirewallParams) SetPhysicalnetworkid(v string)
- func (p *AddPaloAltoFirewallParams) SetUrl(v string)
- func (p *AddPaloAltoFirewallParams) SetUsername(v string)
- type AddPaloAltoFirewallResponse
- type AddRegionParams
- type AddRegionResponse
- type AddResourceDetailParams
- type AddResourceDetailResponse
- type AddS3Params
- func (p *AddS3Params) SetAccesskey(v string)
- func (p *AddS3Params) SetBucket(v string)
- func (p *AddS3Params) SetConnectiontimeout(v int)
- func (p *AddS3Params) SetEndpoint(v string)
- func (p *AddS3Params) SetMaxerrorretry(v int)
- func (p *AddS3Params) SetSecretkey(v string)
- func (p *AddS3Params) SetSockettimeout(v int)
- func (p *AddS3Params) SetUsehttps(v bool)
- type AddS3Response
- type AddSecondaryStorageParams
- type AddSecondaryStorageResponse
- type AddSrxFirewallParams
- type AddSrxFirewallResponse
- type AddStratosphereSspParams
- func (p *AddStratosphereSspParams) SetName(v string)
- func (p *AddStratosphereSspParams) SetPassword(v string)
- func (p *AddStratosphereSspParams) SetTenantuuid(v string)
- func (p *AddStratosphereSspParams) SetUrl(v string)
- func (p *AddStratosphereSspParams) SetUsername(v string)
- func (p *AddStratosphereSspParams) SetZoneid(v string)
- type AddStratosphereSspResponse
- type AddSwiftParams
- type AddSwiftResponse
- type AddTrafficMonitorParams
- type AddTrafficMonitorResponse
- type AddTrafficTypeParams
- func (p *AddTrafficTypeParams) SetHypervnetworklabel(v string)
- func (p *AddTrafficTypeParams) SetIsolationmethod(v string)
- func (p *AddTrafficTypeParams) SetKvmnetworklabel(v string)
- func (p *AddTrafficTypeParams) SetPhysicalnetworkid(v string)
- func (p *AddTrafficTypeParams) SetTraffictype(v string)
- func (p *AddTrafficTypeParams) SetVlan(v string)
- func (p *AddTrafficTypeParams) SetVmwarenetworklabel(v string)
- func (p *AddTrafficTypeParams) SetXennetworklabel(v string)
- type AddTrafficTypeResponse
- type AddUcsManagerParams
- type AddUcsManagerResponse
- type AddVmwareDcParams
- type AddVmwareDcResponse
- type AddVpnUserParams
- type AddVpnUserResponse
- type AddressService
- func (s *AddressService) AssociateIpAddress(p *AssociateIpAddressParams) (*AssociateIpAddressResponse, error)
- func (s *AddressService) DisassociateIpAddress(p *DisassociateIpAddressParams) (*DisassociateIpAddressResponse, error)
- func (s *AddressService) GetPublicIpAddresseID(keyword string) (string, error)
- func (s *AddressService) ListPublicIpAddresses(p *ListPublicIpAddressesParams) (*ListPublicIpAddressesResponse, error)
- func (s *AddressService) NewAssociateIpAddressParams() *AssociateIpAddressParams
- func (s *AddressService) NewDisassociateIpAddressParams(id string) *DisassociateIpAddressParams
- func (s *AddressService) NewListPublicIpAddressesParams() *ListPublicIpAddressesParams
- type AffinityGroup
- type AffinityGroupService
- func (s *AffinityGroupService) CreateAffinityGroup(p *CreateAffinityGroupParams) (*CreateAffinityGroupResponse, error)
- func (s *AffinityGroupService) DeleteAffinityGroup(p *DeleteAffinityGroupParams) (*DeleteAffinityGroupResponse, error)
- func (s *AffinityGroupService) GetAffinityGroupID(name string) (string, error)
- func (s *AffinityGroupService) ListAffinityGroupTypes(p *ListAffinityGroupTypesParams) (*ListAffinityGroupTypesResponse, error)
- func (s *AffinityGroupService) ListAffinityGroups(p *ListAffinityGroupsParams) (*ListAffinityGroupsResponse, error)
- func (s *AffinityGroupService) NewCreateAffinityGroupParams(name string, affinityGroupType string) *CreateAffinityGroupParams
- func (s *AffinityGroupService) NewDeleteAffinityGroupParams() *DeleteAffinityGroupParams
- func (s *AffinityGroupService) NewListAffinityGroupTypesParams() *ListAffinityGroupTypesParams
- func (s *AffinityGroupService) NewListAffinityGroupsParams() *ListAffinityGroupsParams
- func (s *AffinityGroupService) NewUpdateVMAffinityGroupParams(id string) *UpdateVMAffinityGroupParams
- func (s *AffinityGroupService) UpdateVMAffinityGroup(p *UpdateVMAffinityGroupParams) (*UpdateVMAffinityGroupResponse, error)
- type AffinityGroupType
- type Alert
- type AlertService
- func (s *AlertService) ArchiveAlerts(p *ArchiveAlertsParams) (*ArchiveAlertsResponse, error)
- func (s *AlertService) DeleteAlerts(p *DeleteAlertsParams) (*DeleteAlertsResponse, error)
- func (s *AlertService) GenerateAlert(p *GenerateAlertParams) (*GenerateAlertResponse, error)
- func (s *AlertService) GetAlertID(name string) (string, error)
- func (s *AlertService) ListAlerts(p *ListAlertsParams) (*ListAlertsResponse, error)
- func (s *AlertService) NewArchiveAlertsParams() *ArchiveAlertsParams
- func (s *AlertService) NewDeleteAlertsParams() *DeleteAlertsParams
- func (s *AlertService) NewGenerateAlertParams(description string, name string, alertType int) *GenerateAlertParams
- func (s *AlertService) NewListAlertsParams() *ListAlertsParams
- type Api
- type ArchiveAlertsParams
- type ArchiveAlertsResponse
- type ArchiveEventsParams
- type ArchiveEventsResponse
- type AssignCertToLoadBalancerParams
- type AssignCertToLoadBalancerResponse
- type AssignToGlobalLoadBalancerRuleParams
- type AssignToGlobalLoadBalancerRuleResponse
- type AssignToLoadBalancerRuleParams
- type AssignToLoadBalancerRuleResponse
- type AssignVirtualMachineParams
- func (p *AssignVirtualMachineParams) SetAccount(v string)
- func (p *AssignVirtualMachineParams) SetDomainid(v string)
- func (p *AssignVirtualMachineParams) SetNetworkids(v []string)
- func (p *AssignVirtualMachineParams) SetSecuritygroupids(v []string)
- func (p *AssignVirtualMachineParams) SetVirtualmachineid(v string)
- type AssignVirtualMachineResponse
- type AssociateIpAddressParams
- func (p *AssociateIpAddressParams) SetAccount(v string)
- func (p *AssociateIpAddressParams) SetDomainid(v string)
- func (p *AssociateIpAddressParams) SetIsportable(v bool)
- func (p *AssociateIpAddressParams) SetNetworkid(v string)
- func (p *AssociateIpAddressParams) SetProjectid(v string)
- func (p *AssociateIpAddressParams) SetRegionid(v int)
- func (p *AssociateIpAddressParams) SetVpcid(v string)
- func (p *AssociateIpAddressParams) SetZoneid(v string)
- type AssociateIpAddressResponse
- type AssociateUcsProfileToBladeParams
- type AssociateUcsProfileToBladeResponse
- type AsyncJob
- type AsyncjobService
- func (s *AsyncjobService) ListAsyncJobs(p *ListAsyncJobsParams) (*ListAsyncJobsResponse, error)
- func (s *AsyncjobService) NewListAsyncJobsParams() *ListAsyncJobsParams
- func (s *AsyncjobService) NewQueryAsyncJobResultParams(jobid string) *QueryAsyncJobResultParams
- func (s *AsyncjobService) QueryAsyncJobResult(p *QueryAsyncJobResultParams) (*QueryAsyncJobResultResponse, error)
- type AttachIsoParams
- type AttachIsoResponse
- type AttachVolumeParams
- type AttachVolumeResponse
- type AuthorizeSecurityGroupEgressParams
- func (p *AuthorizeSecurityGroupEgressParams) SetAccount(v string)
- func (p *AuthorizeSecurityGroupEgressParams) SetCidrlist(v []string)
- func (p *AuthorizeSecurityGroupEgressParams) SetDomainid(v string)
- func (p *AuthorizeSecurityGroupEgressParams) SetEndport(v int)
- func (p *AuthorizeSecurityGroupEgressParams) SetIcmpcode(v int)
- func (p *AuthorizeSecurityGroupEgressParams) SetIcmptype(v int)
- func (p *AuthorizeSecurityGroupEgressParams) SetProjectid(v string)
- func (p *AuthorizeSecurityGroupEgressParams) SetProtocol(v string)
- func (p *AuthorizeSecurityGroupEgressParams) SetSecuritygroupid(v string)
- func (p *AuthorizeSecurityGroupEgressParams) SetSecuritygroupname(v string)
- func (p *AuthorizeSecurityGroupEgressParams) SetStartport(v int)
- func (p *AuthorizeSecurityGroupEgressParams) SetUsersecuritygrouplist(v map[string]string)
- type AuthorizeSecurityGroupEgressResponse
- type AuthorizeSecurityGroupIngressParams
- func (p *AuthorizeSecurityGroupIngressParams) SetAccount(v string)
- func (p *AuthorizeSecurityGroupIngressParams) SetCidrlist(v []string)
- func (p *AuthorizeSecurityGroupIngressParams) SetDomainid(v string)
- func (p *AuthorizeSecurityGroupIngressParams) SetEndport(v int)
- func (p *AuthorizeSecurityGroupIngressParams) SetIcmpcode(v int)
- func (p *AuthorizeSecurityGroupIngressParams) SetIcmptype(v int)
- func (p *AuthorizeSecurityGroupIngressParams) SetProjectid(v string)
- func (p *AuthorizeSecurityGroupIngressParams) SetProtocol(v string)
- func (p *AuthorizeSecurityGroupIngressParams) SetSecuritygroupid(v string)
- func (p *AuthorizeSecurityGroupIngressParams) SetSecuritygroupname(v string)
- func (p *AuthorizeSecurityGroupIngressParams) SetStartport(v int)
- func (p *AuthorizeSecurityGroupIngressParams) SetUsersecuritygrouplist(v map[string]string)
- type AuthorizeSecurityGroupIngressResponse
- type AutoScalePolicy
- type AutoScaleService
- func (s *AutoScaleService) CreateAutoScalePolicy(p *CreateAutoScalePolicyParams) (*CreateAutoScalePolicyResponse, error)
- func (s *AutoScaleService) CreateAutoScaleVmGroup(p *CreateAutoScaleVmGroupParams) (*CreateAutoScaleVmGroupResponse, error)
- func (s *AutoScaleService) CreateAutoScaleVmProfile(p *CreateAutoScaleVmProfileParams) (*CreateAutoScaleVmProfileResponse, error)
- func (s *AutoScaleService) CreateCondition(p *CreateConditionParams) (*CreateConditionResponse, error)
- func (s *AutoScaleService) CreateCounter(p *CreateCounterParams) (*CreateCounterResponse, error)
- func (s *AutoScaleService) DeleteAutoScalePolicy(p *DeleteAutoScalePolicyParams) (*DeleteAutoScalePolicyResponse, error)
- func (s *AutoScaleService) DeleteAutoScaleVmGroup(p *DeleteAutoScaleVmGroupParams) (*DeleteAutoScaleVmGroupResponse, error)
- func (s *AutoScaleService) DeleteAutoScaleVmProfile(p *DeleteAutoScaleVmProfileParams) (*DeleteAutoScaleVmProfileResponse, error)
- func (s *AutoScaleService) DeleteCondition(p *DeleteConditionParams) (*DeleteConditionResponse, error)
- func (s *AutoScaleService) DeleteCounter(p *DeleteCounterParams) (*DeleteCounterResponse, error)
- func (s *AutoScaleService) DisableAutoScaleVmGroup(p *DisableAutoScaleVmGroupParams) (*DisableAutoScaleVmGroupResponse, error)
- func (s *AutoScaleService) EnableAutoScaleVmGroup(p *EnableAutoScaleVmGroupParams) (*EnableAutoScaleVmGroupResponse, error)
- func (s *AutoScaleService) GetAutoScalePolicyID(keyword string) (string, error)
- func (s *AutoScaleService) GetAutoScaleVmGroupID(keyword string) (string, error)
- func (s *AutoScaleService) GetAutoScaleVmProfileID(keyword string) (string, error)
- func (s *AutoScaleService) GetConditionID(keyword string) (string, error)
- func (s *AutoScaleService) GetCounterID(name string) (string, error)
- func (s *AutoScaleService) ListAutoScalePolicies(p *ListAutoScalePoliciesParams) (*ListAutoScalePoliciesResponse, error)
- func (s *AutoScaleService) ListAutoScaleVmGroups(p *ListAutoScaleVmGroupsParams) (*ListAutoScaleVmGroupsResponse, error)
- func (s *AutoScaleService) ListAutoScaleVmProfiles(p *ListAutoScaleVmProfilesParams) (*ListAutoScaleVmProfilesResponse, error)
- func (s *AutoScaleService) ListConditions(p *ListConditionsParams) (*ListConditionsResponse, error)
- func (s *AutoScaleService) ListCounters(p *ListCountersParams) (*ListCountersResponse, error)
- func (s *AutoScaleService) NewCreateAutoScalePolicyParams(action string, conditionids []string, duration int) *CreateAutoScalePolicyParams
- func (s *AutoScaleService) NewCreateAutoScaleVmGroupParams(lbruleid string, maxmembers int, minmembers int, scaledownpolicyids []string, ...) *CreateAutoScaleVmGroupParams
- func (s *AutoScaleService) NewCreateAutoScaleVmProfileParams(serviceofferingid string, templateid string, zoneid string) *CreateAutoScaleVmProfileParams
- func (s *AutoScaleService) NewCreateConditionParams(counterid string, relationaloperator string, threshold int) *CreateConditionParams
- func (s *AutoScaleService) NewCreateCounterParams(name string, source string, value string) *CreateCounterParams
- func (s *AutoScaleService) NewDeleteAutoScalePolicyParams(id string) *DeleteAutoScalePolicyParams
- func (s *AutoScaleService) NewDeleteAutoScaleVmGroupParams(id string) *DeleteAutoScaleVmGroupParams
- func (s *AutoScaleService) NewDeleteAutoScaleVmProfileParams(id string) *DeleteAutoScaleVmProfileParams
- func (s *AutoScaleService) NewDeleteConditionParams(id string) *DeleteConditionParams
- func (s *AutoScaleService) NewDeleteCounterParams(id string) *DeleteCounterParams
- func (s *AutoScaleService) NewDisableAutoScaleVmGroupParams(id string) *DisableAutoScaleVmGroupParams
- func (s *AutoScaleService) NewEnableAutoScaleVmGroupParams(id string) *EnableAutoScaleVmGroupParams
- func (s *AutoScaleService) NewListAutoScalePoliciesParams() *ListAutoScalePoliciesParams
- func (s *AutoScaleService) NewListAutoScaleVmGroupsParams() *ListAutoScaleVmGroupsParams
- func (s *AutoScaleService) NewListAutoScaleVmProfilesParams() *ListAutoScaleVmProfilesParams
- func (s *AutoScaleService) NewListConditionsParams() *ListConditionsParams
- func (s *AutoScaleService) NewListCountersParams() *ListCountersParams
- func (s *AutoScaleService) NewUpdateAutoScalePolicyParams(id string) *UpdateAutoScalePolicyParams
- func (s *AutoScaleService) NewUpdateAutoScaleVmGroupParams(id string) *UpdateAutoScaleVmGroupParams
- func (s *AutoScaleService) NewUpdateAutoScaleVmProfileParams(id string) *UpdateAutoScaleVmProfileParams
- func (s *AutoScaleService) UpdateAutoScalePolicy(p *UpdateAutoScalePolicyParams) (*UpdateAutoScalePolicyResponse, error)
- func (s *AutoScaleService) UpdateAutoScaleVmGroup(p *UpdateAutoScaleVmGroupParams) (*UpdateAutoScaleVmGroupResponse, error)
- func (s *AutoScaleService) UpdateAutoScaleVmProfile(p *UpdateAutoScaleVmProfileParams) (*UpdateAutoScaleVmProfileResponse, error)
- type AutoScaleVmGroup
- type AutoScaleVmProfile
- type BaremetalDhcp
- type BaremetalPxeServer
- type BaremetalService
- func (s *BaremetalService) AddBaremetalDhcp(p *AddBaremetalDhcpParams) (*AddBaremetalDhcpResponse, error)
- func (s *BaremetalService) AddBaremetalPxeKickStartServer(p *AddBaremetalPxeKickStartServerParams) (*AddBaremetalPxeKickStartServerResponse, error)
- func (s *BaremetalService) AddBaremetalPxePingServer(p *AddBaremetalPxePingServerParams) (*AddBaremetalPxePingServerResponse, error)
- func (s *BaremetalService) GetBaremetalDhcpID(keyword string) (string, error)
- func (s *BaremetalService) GetBaremetalPxeServerID(keyword string) (string, error)
- func (s *BaremetalService) ListBaremetalDhcp(p *ListBaremetalDhcpParams) (*ListBaremetalDhcpResponse, error)
- func (s *BaremetalService) ListBaremetalPxeServers(p *ListBaremetalPxeServersParams) (*ListBaremetalPxeServersResponse, error)
- func (s *BaremetalService) NewAddBaremetalDhcpParams(dhcpservertype string, password string, physicalnetworkid string, url string, ...) *AddBaremetalDhcpParams
- func (s *BaremetalService) NewAddBaremetalPxeKickStartServerParams(password string, physicalnetworkid string, pxeservertype string, ...) *AddBaremetalPxeKickStartServerParams
- func (s *BaremetalService) NewAddBaremetalPxePingServerParams(password string, physicalnetworkid string, pingdir string, ...) *AddBaremetalPxePingServerParams
- func (s *BaremetalService) NewListBaremetalDhcpParams() *ListBaremetalDhcpParams
- func (s *BaremetalService) NewListBaremetalPxeServersParams() *ListBaremetalPxeServersParams
- type BigSwitchVNSService
- func (s *BigSwitchVNSService) AddBigSwitchVnsDevice(p *AddBigSwitchVnsDeviceParams) (*AddBigSwitchVnsDeviceResponse, error)
- func (s *BigSwitchVNSService) DeleteBigSwitchVnsDevice(p *DeleteBigSwitchVnsDeviceParams) (*DeleteBigSwitchVnsDeviceResponse, error)
- func (s *BigSwitchVNSService) ListBigSwitchVnsDevices(p *ListBigSwitchVnsDevicesParams) (*ListBigSwitchVnsDevicesResponse, error)
- func (s *BigSwitchVNSService) NewAddBigSwitchVnsDeviceParams(hostname string, physicalnetworkid string) *AddBigSwitchVnsDeviceParams
- func (s *BigSwitchVNSService) NewDeleteBigSwitchVnsDeviceParams(vnsdeviceid string) *DeleteBigSwitchVnsDeviceParams
- func (s *BigSwitchVNSService) NewListBigSwitchVnsDevicesParams() *ListBigSwitchVnsDevicesParams
- type BigSwitchVnsDevice
- type CSError
- type CancelHostMaintenanceParams
- type CancelHostMaintenanceResponse
- type CancelStorageMaintenanceParams
- type CancelStorageMaintenanceResponse
- type Capability
- type Capacity
- type CertificateService
- type ChangeServiceForRouterParams
- type ChangeServiceForRouterResponse
- type ChangeServiceForSystemVmParams
- type ChangeServiceForSystemVmResponse
- type ChangeServiceForVirtualMachineParams
- type ChangeServiceForVirtualMachineResponse
- type CiscoAsa1000vResource
- type CiscoNexusVSM
- type CiscoVnmcResource
- type CleanVMReservationsParams
- type CleanVMReservationsResponse
- type CloudIdentifierService
- type CloudStackClient
- type Cluster
- type ClusterService
- func (s *ClusterService) AddCluster(p *AddClusterParams) (*AddClusterResponse, error)
- func (s *ClusterService) DedicateCluster(p *DedicateClusterParams) (*DedicateClusterResponse, error)
- func (s *ClusterService) DeleteCluster(p *DeleteClusterParams) (*DeleteClusterResponse, error)
- func (s *ClusterService) GetClusterID(name string) (string, error)
- func (s *ClusterService) GetDedicatedClusterID(keyword string) (string, error)
- func (s *ClusterService) ListClusters(p *ListClustersParams) (*ListClustersResponse, error)
- func (s *ClusterService) ListDedicatedClusters(p *ListDedicatedClustersParams) (*ListDedicatedClustersResponse, error)
- func (s *ClusterService) NewAddClusterParams(clustername string, clustertype string, hypervisor string, podid string, ...) *AddClusterParams
- func (s *ClusterService) NewDedicateClusterParams(clusterid string, domainid string) *DedicateClusterParams
- func (s *ClusterService) NewDeleteClusterParams(id string) *DeleteClusterParams
- func (s *ClusterService) NewListClustersParams() *ListClustersParams
- func (s *ClusterService) NewListDedicatedClustersParams() *ListDedicatedClustersParams
- func (s *ClusterService) NewReleaseDedicatedClusterParams(clusterid string) *ReleaseDedicatedClusterParams
- func (s *ClusterService) NewUpdateClusterParams(id string) *UpdateClusterParams
- func (s *ClusterService) ReleaseDedicatedCluster(p *ReleaseDedicatedClusterParams) (*ReleaseDedicatedClusterResponse, error)
- func (s *ClusterService) UpdateCluster(p *UpdateClusterParams) (*UpdateClusterResponse, error)
- type Condition
- type Configuration
- type ConfigurationService
- func (s *ConfigurationService) AddLdapConfiguration(p *AddLdapConfigurationParams) (*AddLdapConfigurationResponse, error)
- func (s *ConfigurationService) DeleteLdapConfiguration(p *DeleteLdapConfigurationParams) (*DeleteLdapConfigurationResponse, error)
- func (s *ConfigurationService) ListCapabilities(p *ListCapabilitiesParams) (*ListCapabilitiesResponse, error)
- func (s *ConfigurationService) ListConfigurations(p *ListConfigurationsParams) (*ListConfigurationsResponse, error)
- func (s *ConfigurationService) ListDeploymentPlanners(p *ListDeploymentPlannersParams) (*ListDeploymentPlannersResponse, error)
- func (s *ConfigurationService) ListLdapConfigurations(p *ListLdapConfigurationsParams) (*ListLdapConfigurationsResponse, error)
- func (s *ConfigurationService) NewAddLdapConfigurationParams(hostname string, port int) *AddLdapConfigurationParams
- func (s *ConfigurationService) NewDeleteLdapConfigurationParams(hostname string) *DeleteLdapConfigurationParams
- func (s *ConfigurationService) NewListCapabilitiesParams() *ListCapabilitiesParams
- func (s *ConfigurationService) NewListConfigurationsParams() *ListConfigurationsParams
- func (s *ConfigurationService) NewListDeploymentPlannersParams() *ListDeploymentPlannersParams
- func (s *ConfigurationService) NewListLdapConfigurationsParams() *ListLdapConfigurationsParams
- func (s *ConfigurationService) NewUpdateConfigurationParams(name string) *UpdateConfigurationParams
- func (s *ConfigurationService) UpdateConfiguration(p *UpdateConfigurationParams) (*UpdateConfigurationResponse, error)
- type ConfigureF5LoadBalancerParams
- type ConfigureF5LoadBalancerResponse
- type ConfigureInternalLoadBalancerElementParams
- type ConfigureInternalLoadBalancerElementResponse
- type ConfigureNetscalerLoadBalancerParams
- func (p *ConfigureNetscalerLoadBalancerParams) SetInline(v bool)
- func (p *ConfigureNetscalerLoadBalancerParams) SetLbdevicecapacity(v int)
- func (p *ConfigureNetscalerLoadBalancerParams) SetLbdevicededicated(v bool)
- func (p *ConfigureNetscalerLoadBalancerParams) SetLbdeviceid(v string)
- func (p *ConfigureNetscalerLoadBalancerParams) SetPodids(v []string)
- type ConfigureNetscalerLoadBalancerResponse
- type ConfigurePaloAltoFirewallParams
- type ConfigurePaloAltoFirewallResponse
- type ConfigureSrxFirewallParams
- type ConfigureSrxFirewallResponse
- type ConfigureVirtualRouterElementParams
- type ConfigureVirtualRouterElementResponse
- type CopyIsoParams
- type CopyIsoResponse
- type CopyTemplateParams
- type CopyTemplateResponse
- type Counter
- type CreateAccountParams
- func (p *CreateAccountParams) SetAccount(v string)
- func (p *CreateAccountParams) SetAccountdetails(v map[string]string)
- func (p *CreateAccountParams) SetAccountid(v string)
- func (p *CreateAccountParams) SetAccounttype(v int)
- func (p *CreateAccountParams) SetDomainid(v string)
- func (p *CreateAccountParams) SetEmail(v string)
- func (p *CreateAccountParams) SetFirstname(v string)
- func (p *CreateAccountParams) SetLastname(v string)
- func (p *CreateAccountParams) SetNetworkdomain(v string)
- func (p *CreateAccountParams) SetPassword(v string)
- func (p *CreateAccountParams) SetTimezone(v string)
- func (p *CreateAccountParams) SetUserid(v string)
- func (p *CreateAccountParams) SetUsername(v string)
- type CreateAccountResponse
- type CreateAffinityGroupParams
- type CreateAffinityGroupResponse
- type CreateAutoScalePolicyParams
- type CreateAutoScalePolicyResponse
- type CreateAutoScaleVmGroupParams
- func (p *CreateAutoScaleVmGroupParams) SetInterval(v int)
- func (p *CreateAutoScaleVmGroupParams) SetLbruleid(v string)
- func (p *CreateAutoScaleVmGroupParams) SetMaxmembers(v int)
- func (p *CreateAutoScaleVmGroupParams) SetMinmembers(v int)
- func (p *CreateAutoScaleVmGroupParams) SetScaledownpolicyids(v []string)
- func (p *CreateAutoScaleVmGroupParams) SetScaleuppolicyids(v []string)
- func (p *CreateAutoScaleVmGroupParams) SetVmprofileid(v string)
- type CreateAutoScaleVmGroupResponse
- type CreateAutoScaleVmProfileParams
- func (p *CreateAutoScaleVmProfileParams) SetAutoscaleuserid(v string)
- func (p *CreateAutoScaleVmProfileParams) SetCounterparam(v map[string]string)
- func (p *CreateAutoScaleVmProfileParams) SetDestroyvmgraceperiod(v int)
- func (p *CreateAutoScaleVmProfileParams) SetOtherdeployparams(v string)
- func (p *CreateAutoScaleVmProfileParams) SetServiceofferingid(v string)
- func (p *CreateAutoScaleVmProfileParams) SetTemplateid(v string)
- func (p *CreateAutoScaleVmProfileParams) SetZoneid(v string)
- type CreateAutoScaleVmProfileResponse
- type CreateConditionParams
- type CreateConditionResponse
- type CreateCounterParams
- type CreateCounterResponse
- type CreateDiskOfferingParams
- func (p *CreateDiskOfferingParams) SetBytesreadrate(v int)
- func (p *CreateDiskOfferingParams) SetByteswriterate(v int)
- func (p *CreateDiskOfferingParams) SetCustomized(v bool)
- func (p *CreateDiskOfferingParams) SetCustomizediops(v bool)
- func (p *CreateDiskOfferingParams) SetDisksize(v int)
- func (p *CreateDiskOfferingParams) SetDisplayoffering(v bool)
- func (p *CreateDiskOfferingParams) SetDisplaytext(v string)
- func (p *CreateDiskOfferingParams) SetDomainid(v string)
- func (p *CreateDiskOfferingParams) SetHypervisorsnapshotreserve(v int)
- func (p *CreateDiskOfferingParams) SetIopsreadrate(v int)
- func (p *CreateDiskOfferingParams) SetIopswriterate(v int)
- func (p *CreateDiskOfferingParams) SetMaxiops(v int)
- func (p *CreateDiskOfferingParams) SetMiniops(v int)
- func (p *CreateDiskOfferingParams) SetName(v string)
- func (p *CreateDiskOfferingParams) SetStoragetype(v string)
- func (p *CreateDiskOfferingParams) SetTags(v string)
- type CreateDiskOfferingResponse
- type CreateDomainParams
- type CreateDomainResponse
- type CreateEgressFirewallRuleParams
- func (p *CreateEgressFirewallRuleParams) SetCidrlist(v []string)
- func (p *CreateEgressFirewallRuleParams) SetEndport(v int)
- func (p *CreateEgressFirewallRuleParams) SetIcmpcode(v int)
- func (p *CreateEgressFirewallRuleParams) SetIcmptype(v int)
- func (p *CreateEgressFirewallRuleParams) SetNetworkid(v string)
- func (p *CreateEgressFirewallRuleParams) SetProtocol(v string)
- func (p *CreateEgressFirewallRuleParams) SetStartport(v int)
- func (p *CreateEgressFirewallRuleParams) SetType(v string)
- type CreateEgressFirewallRuleResponse
- type CreateFirewallRuleParams
- func (p *CreateFirewallRuleParams) SetCidrlist(v []string)
- func (p *CreateFirewallRuleParams) SetEndport(v int)
- func (p *CreateFirewallRuleParams) SetIcmpcode(v int)
- func (p *CreateFirewallRuleParams) SetIcmptype(v int)
- func (p *CreateFirewallRuleParams) SetIpaddressid(v string)
- func (p *CreateFirewallRuleParams) SetProtocol(v string)
- func (p *CreateFirewallRuleParams) SetStartport(v int)
- func (p *CreateFirewallRuleParams) SetType(v string)
- type CreateFirewallRuleResponse
- type CreateGlobalLoadBalancerRuleParams
- func (p *CreateGlobalLoadBalancerRuleParams) SetAccount(v string)
- func (p *CreateGlobalLoadBalancerRuleParams) SetDescription(v string)
- func (p *CreateGlobalLoadBalancerRuleParams) SetDomainid(v string)
- func (p *CreateGlobalLoadBalancerRuleParams) SetGslbdomainname(v string)
- func (p *CreateGlobalLoadBalancerRuleParams) SetGslblbmethod(v string)
- func (p *CreateGlobalLoadBalancerRuleParams) SetGslbservicetype(v string)
- func (p *CreateGlobalLoadBalancerRuleParams) SetGslbstickysessionmethodname(v string)
- func (p *CreateGlobalLoadBalancerRuleParams) SetName(v string)
- func (p *CreateGlobalLoadBalancerRuleParams) SetRegionid(v int)
- type CreateGlobalLoadBalancerRuleResponse
- type CreateInstanceGroupParams
- type CreateInstanceGroupResponse
- type CreateInternalLoadBalancerElementParams
- type CreateInternalLoadBalancerElementResponse
- type CreateIpForwardingRuleParams
- func (p *CreateIpForwardingRuleParams) SetCidrlist(v []string)
- func (p *CreateIpForwardingRuleParams) SetEndport(v int)
- func (p *CreateIpForwardingRuleParams) SetIpaddressid(v string)
- func (p *CreateIpForwardingRuleParams) SetOpenfirewall(v bool)
- func (p *CreateIpForwardingRuleParams) SetProtocol(v string)
- func (p *CreateIpForwardingRuleParams) SetStartport(v int)
- type CreateIpForwardingRuleResponse
- type CreateLBHealthCheckPolicyParams
- func (p *CreateLBHealthCheckPolicyParams) SetDescription(v string)
- func (p *CreateLBHealthCheckPolicyParams) SetHealthythreshold(v int)
- func (p *CreateLBHealthCheckPolicyParams) SetIntervaltime(v int)
- func (p *CreateLBHealthCheckPolicyParams) SetLbruleid(v string)
- func (p *CreateLBHealthCheckPolicyParams) SetPingpath(v string)
- func (p *CreateLBHealthCheckPolicyParams) SetResponsetimeout(v int)
- func (p *CreateLBHealthCheckPolicyParams) SetUnhealthythreshold(v int)
- type CreateLBHealthCheckPolicyResponse
- type CreateLBStickinessPolicyParams
- func (p *CreateLBStickinessPolicyParams) SetDescription(v string)
- func (p *CreateLBStickinessPolicyParams) SetLbruleid(v string)
- func (p *CreateLBStickinessPolicyParams) SetMethodname(v string)
- func (p *CreateLBStickinessPolicyParams) SetName(v string)
- func (p *CreateLBStickinessPolicyParams) SetParam(v map[string]string)
- type CreateLBStickinessPolicyResponse
- type CreateLoadBalancerParams
- func (p *CreateLoadBalancerParams) SetAlgorithm(v string)
- func (p *CreateLoadBalancerParams) SetDescription(v string)
- func (p *CreateLoadBalancerParams) SetInstanceport(v int)
- func (p *CreateLoadBalancerParams) SetName(v string)
- func (p *CreateLoadBalancerParams) SetNetworkid(v string)
- func (p *CreateLoadBalancerParams) SetScheme(v string)
- func (p *CreateLoadBalancerParams) SetSourceipaddress(v string)
- func (p *CreateLoadBalancerParams) SetSourceipaddressnetworkid(v string)
- func (p *CreateLoadBalancerParams) SetSourceport(v int)
- type CreateLoadBalancerResponse
- type CreateLoadBalancerRuleParams
- func (p *CreateLoadBalancerRuleParams) SetAccount(v string)
- func (p *CreateLoadBalancerRuleParams) SetAlgorithm(v string)
- func (p *CreateLoadBalancerRuleParams) SetCidrlist(v []string)
- func (p *CreateLoadBalancerRuleParams) SetDescription(v string)
- func (p *CreateLoadBalancerRuleParams) SetDomainid(v string)
- func (p *CreateLoadBalancerRuleParams) SetName(v string)
- func (p *CreateLoadBalancerRuleParams) SetNetworkid(v string)
- func (p *CreateLoadBalancerRuleParams) SetOpenfirewall(v bool)
- func (p *CreateLoadBalancerRuleParams) SetPrivateport(v int)
- func (p *CreateLoadBalancerRuleParams) SetProtocol(v string)
- func (p *CreateLoadBalancerRuleParams) SetPublicipid(v string)
- func (p *CreateLoadBalancerRuleParams) SetPublicport(v int)
- func (p *CreateLoadBalancerRuleParams) SetZoneid(v string)
- type CreateLoadBalancerRuleResponse
- type CreateNetworkACLListParams
- type CreateNetworkACLListResponse
- type CreateNetworkACLParams
- func (p *CreateNetworkACLParams) SetAclid(v string)
- func (p *CreateNetworkACLParams) SetAction(v string)
- func (p *CreateNetworkACLParams) SetCidrlist(v []string)
- func (p *CreateNetworkACLParams) SetEndport(v int)
- func (p *CreateNetworkACLParams) SetIcmpcode(v int)
- func (p *CreateNetworkACLParams) SetIcmptype(v int)
- func (p *CreateNetworkACLParams) SetNetworkid(v string)
- func (p *CreateNetworkACLParams) SetNumber(v int)
- func (p *CreateNetworkACLParams) SetProtocol(v string)
- func (p *CreateNetworkACLParams) SetStartport(v int)
- func (p *CreateNetworkACLParams) SetTraffictype(v string)
- type CreateNetworkACLResponse
- type CreateNetworkOfferingParams
- func (p *CreateNetworkOfferingParams) SetAvailability(v string)
- func (p *CreateNetworkOfferingParams) SetConservemode(v bool)
- func (p *CreateNetworkOfferingParams) SetDetails(v map[string]string)
- func (p *CreateNetworkOfferingParams) SetDisplaytext(v string)
- func (p *CreateNetworkOfferingParams) SetEgressdefaultpolicy(v bool)
- func (p *CreateNetworkOfferingParams) SetGuestiptype(v string)
- func (p *CreateNetworkOfferingParams) SetIspersistent(v bool)
- func (p *CreateNetworkOfferingParams) SetKeepaliveenabled(v bool)
- func (p *CreateNetworkOfferingParams) SetMaxconnections(v int)
- func (p *CreateNetworkOfferingParams) SetName(v string)
- func (p *CreateNetworkOfferingParams) SetNetworkrate(v int)
- func (p *CreateNetworkOfferingParams) SetServicecapabilitylist(v map[string]string)
- func (p *CreateNetworkOfferingParams) SetServiceofferingid(v string)
- func (p *CreateNetworkOfferingParams) SetServiceproviderlist(v map[string]string)
- func (p *CreateNetworkOfferingParams) SetSpecifyipranges(v bool)
- func (p *CreateNetworkOfferingParams) SetSpecifyvlan(v bool)
- func (p *CreateNetworkOfferingParams) SetSupportedservices(v []string)
- func (p *CreateNetworkOfferingParams) SetTags(v string)
- func (p *CreateNetworkOfferingParams) SetTraffictype(v string)
- type CreateNetworkOfferingResponse
- type CreateNetworkParams
- func (p *CreateNetworkParams) SetAccount(v string)
- func (p *CreateNetworkParams) SetAclid(v string)
- func (p *CreateNetworkParams) SetAcltype(v string)
- func (p *CreateNetworkParams) SetDisplaynetwork(v bool)
- func (p *CreateNetworkParams) SetDisplaytext(v string)
- func (p *CreateNetworkParams) SetDomainid(v string)
- func (p *CreateNetworkParams) SetEndip(v string)
- func (p *CreateNetworkParams) SetEndipv6(v string)
- func (p *CreateNetworkParams) SetGateway(v string)
- func (p *CreateNetworkParams) SetIp6cidr(v string)
- func (p *CreateNetworkParams) SetIp6gateway(v string)
- func (p *CreateNetworkParams) SetIsolatedpvlan(v string)
- func (p *CreateNetworkParams) SetName(v string)
- func (p *CreateNetworkParams) SetNetmask(v string)
- func (p *CreateNetworkParams) SetNetworkdomain(v string)
- func (p *CreateNetworkParams) SetNetworkofferingid(v string)
- func (p *CreateNetworkParams) SetPhysicalnetworkid(v string)
- func (p *CreateNetworkParams) SetProjectid(v string)
- func (p *CreateNetworkParams) SetStartip(v string)
- func (p *CreateNetworkParams) SetStartipv6(v string)
- func (p *CreateNetworkParams) SetSubdomainaccess(v bool)
- func (p *CreateNetworkParams) SetVlan(v string)
- func (p *CreateNetworkParams) SetVpcid(v string)
- func (p *CreateNetworkParams) SetZoneid(v string)
- type CreateNetworkResponse
- type CreatePhysicalNetworkParams
- func (p *CreatePhysicalNetworkParams) SetBroadcastdomainrange(v string)
- func (p *CreatePhysicalNetworkParams) SetDomainid(v string)
- func (p *CreatePhysicalNetworkParams) SetIsolationmethods(v []string)
- func (p *CreatePhysicalNetworkParams) SetName(v string)
- func (p *CreatePhysicalNetworkParams) SetNetworkspeed(v string)
- func (p *CreatePhysicalNetworkParams) SetTags(v []string)
- func (p *CreatePhysicalNetworkParams) SetVlan(v string)
- func (p *CreatePhysicalNetworkParams) SetZoneid(v string)
- type CreatePhysicalNetworkResponse
- type CreatePodParams
- func (p *CreatePodParams) SetAllocationstate(v string)
- func (p *CreatePodParams) SetEndip(v string)
- func (p *CreatePodParams) SetGateway(v string)
- func (p *CreatePodParams) SetName(v string)
- func (p *CreatePodParams) SetNetmask(v string)
- func (p *CreatePodParams) SetStartip(v string)
- func (p *CreatePodParams) SetZoneid(v string)
- type CreatePodResponse
- type CreatePortForwardingRuleParams
- func (p *CreatePortForwardingRuleParams) SetCidrlist(v []string)
- func (p *CreatePortForwardingRuleParams) SetIpaddressid(v string)
- func (p *CreatePortForwardingRuleParams) SetNetworkid(v string)
- func (p *CreatePortForwardingRuleParams) SetOpenfirewall(v bool)
- func (p *CreatePortForwardingRuleParams) SetPrivateendport(v int)
- func (p *CreatePortForwardingRuleParams) SetPrivateport(v int)
- func (p *CreatePortForwardingRuleParams) SetProtocol(v string)
- func (p *CreatePortForwardingRuleParams) SetPublicendport(v int)
- func (p *CreatePortForwardingRuleParams) SetPublicport(v int)
- func (p *CreatePortForwardingRuleParams) SetVirtualmachineid(v string)
- func (p *CreatePortForwardingRuleParams) SetVmguestip(v string)
- type CreatePortForwardingRuleResponse
- type CreatePortableIpRangeParams
- func (p *CreatePortableIpRangeParams) SetEndip(v string)
- func (p *CreatePortableIpRangeParams) SetGateway(v string)
- func (p *CreatePortableIpRangeParams) SetNetmask(v string)
- func (p *CreatePortableIpRangeParams) SetRegionid(v int)
- func (p *CreatePortableIpRangeParams) SetStartip(v string)
- func (p *CreatePortableIpRangeParams) SetVlan(v string)
- type CreatePortableIpRangeResponse
- type CreatePrivateGatewayParams
- func (p *CreatePrivateGatewayParams) SetAclid(v string)
- func (p *CreatePrivateGatewayParams) SetGateway(v string)
- func (p *CreatePrivateGatewayParams) SetIpaddress(v string)
- func (p *CreatePrivateGatewayParams) SetNetmask(v string)
- func (p *CreatePrivateGatewayParams) SetNetworkofferingid(v string)
- func (p *CreatePrivateGatewayParams) SetPhysicalnetworkid(v string)
- func (p *CreatePrivateGatewayParams) SetSourcenatsupported(v bool)
- func (p *CreatePrivateGatewayParams) SetVlan(v string)
- func (p *CreatePrivateGatewayParams) SetVpcid(v string)
- type CreatePrivateGatewayResponse
- type CreateProjectParams
- type CreateProjectResponse
- type CreateRemoteAccessVpnParams
- func (p *CreateRemoteAccessVpnParams) SetAccount(v string)
- func (p *CreateRemoteAccessVpnParams) SetDomainid(v string)
- func (p *CreateRemoteAccessVpnParams) SetIprange(v string)
- func (p *CreateRemoteAccessVpnParams) SetOpenfirewall(v bool)
- func (p *CreateRemoteAccessVpnParams) SetPublicipid(v string)
- type CreateRemoteAccessVpnResponse
- type CreateSSHKeyPairParams
- type CreateSSHKeyPairResponse
- type CreateSecondaryStagingStoreParams
- func (p *CreateSecondaryStagingStoreParams) SetDetails(v map[string]string)
- func (p *CreateSecondaryStagingStoreParams) SetProvider(v string)
- func (p *CreateSecondaryStagingStoreParams) SetScope(v string)
- func (p *CreateSecondaryStagingStoreParams) SetUrl(v string)
- func (p *CreateSecondaryStagingStoreParams) SetZoneid(v string)
- type CreateSecondaryStagingStoreResponse
- type CreateSecurityGroupParams
- type CreateSecurityGroupResponse
- type CreateServiceOfferingParams
- func (p *CreateServiceOfferingParams) SetBytesreadrate(v int)
- func (p *CreateServiceOfferingParams) SetByteswriterate(v int)
- func (p *CreateServiceOfferingParams) SetCpunumber(v int)
- func (p *CreateServiceOfferingParams) SetCpuspeed(v int)
- func (p *CreateServiceOfferingParams) SetDeploymentplanner(v string)
- func (p *CreateServiceOfferingParams) SetDisplaytext(v string)
- func (p *CreateServiceOfferingParams) SetDomainid(v string)
- func (p *CreateServiceOfferingParams) SetHosttags(v string)
- func (p *CreateServiceOfferingParams) SetIopsreadrate(v int)
- func (p *CreateServiceOfferingParams) SetIopswriterate(v int)
- func (p *CreateServiceOfferingParams) SetIssystem(v bool)
- func (p *CreateServiceOfferingParams) SetIsvolatile(v bool)
- func (p *CreateServiceOfferingParams) SetLimitcpuuse(v bool)
- func (p *CreateServiceOfferingParams) SetMemory(v int)
- func (p *CreateServiceOfferingParams) SetName(v string)
- func (p *CreateServiceOfferingParams) SetNetworkrate(v int)
- func (p *CreateServiceOfferingParams) SetOfferha(v bool)
- func (p *CreateServiceOfferingParams) SetServiceofferingdetails(v map[string]string)
- func (p *CreateServiceOfferingParams) SetStoragetype(v string)
- func (p *CreateServiceOfferingParams) SetSystemvmtype(v string)
- func (p *CreateServiceOfferingParams) SetTags(v string)
- type CreateServiceOfferingResponse
- type CreateSnapshotParams
- type CreateSnapshotPolicyParams
- type CreateSnapshotPolicyResponse
- type CreateSnapshotResponse
- type CreateStaticRouteParams
- type CreateStaticRouteResponse
- type CreateStorageNetworkIpRangeParams
- func (p *CreateStorageNetworkIpRangeParams) SetEndip(v string)
- func (p *CreateStorageNetworkIpRangeParams) SetGateway(v string)
- func (p *CreateStorageNetworkIpRangeParams) SetNetmask(v string)
- func (p *CreateStorageNetworkIpRangeParams) SetPodid(v string)
- func (p *CreateStorageNetworkIpRangeParams) SetStartip(v string)
- func (p *CreateStorageNetworkIpRangeParams) SetVlan(v int)
- type CreateStorageNetworkIpRangeResponse
- type CreateStoragePoolParams
- func (p *CreateStoragePoolParams) SetCapacitybytes(v int)
- func (p *CreateStoragePoolParams) SetCapacityiops(v int)
- func (p *CreateStoragePoolParams) SetClusterid(v string)
- func (p *CreateStoragePoolParams) SetDetails(v map[string]string)
- func (p *CreateStoragePoolParams) SetHypervisor(v string)
- func (p *CreateStoragePoolParams) SetManaged(v bool)
- func (p *CreateStoragePoolParams) SetName(v string)
- func (p *CreateStoragePoolParams) SetPodid(v string)
- func (p *CreateStoragePoolParams) SetProvider(v string)
- func (p *CreateStoragePoolParams) SetScope(v string)
- func (p *CreateStoragePoolParams) SetTags(v string)
- func (p *CreateStoragePoolParams) SetUrl(v string)
- func (p *CreateStoragePoolParams) SetZoneid(v string)
- type CreateStoragePoolResponse
- type CreateTagsParams
- type CreateTagsResponse
- type CreateTemplateParams
- func (p *CreateTemplateParams) SetBits(v int)
- func (p *CreateTemplateParams) SetDetails(v map[string]string)
- func (p *CreateTemplateParams) SetDisplaytext(v string)
- func (p *CreateTemplateParams) SetIsdynamicallyscalable(v bool)
- func (p *CreateTemplateParams) SetIsfeatured(v bool)
- func (p *CreateTemplateParams) SetIspublic(v bool)
- func (p *CreateTemplateParams) SetName(v string)
- func (p *CreateTemplateParams) SetOstypeid(v string)
- func (p *CreateTemplateParams) SetPasswordenabled(v bool)
- func (p *CreateTemplateParams) SetRequireshvm(v bool)
- func (p *CreateTemplateParams) SetSnapshotid(v string)
- func (p *CreateTemplateParams) SetTemplatetag(v string)
- func (p *CreateTemplateParams) SetUrl(v string)
- func (p *CreateTemplateParams) SetVirtualmachineid(v string)
- func (p *CreateTemplateParams) SetVolumeid(v string)
- type CreateTemplateResponse
- type CreateUserParams
- func (p *CreateUserParams) SetAccount(v string)
- func (p *CreateUserParams) SetDomainid(v string)
- func (p *CreateUserParams) SetEmail(v string)
- func (p *CreateUserParams) SetFirstname(v string)
- func (p *CreateUserParams) SetLastname(v string)
- func (p *CreateUserParams) SetPassword(v string)
- func (p *CreateUserParams) SetTimezone(v string)
- func (p *CreateUserParams) SetUserid(v string)
- func (p *CreateUserParams) SetUsername(v string)
- type CreateUserResponse
- type CreateVMSnapshotParams
- type CreateVMSnapshotResponse
- type CreateVPCOfferingParams
- func (p *CreateVPCOfferingParams) SetDisplaytext(v string)
- func (p *CreateVPCOfferingParams) SetName(v string)
- func (p *CreateVPCOfferingParams) SetServiceofferingid(v string)
- func (p *CreateVPCOfferingParams) SetServiceproviderlist(v map[string]string)
- func (p *CreateVPCOfferingParams) SetSupportedservices(v []string)
- type CreateVPCOfferingResponse
- type CreateVPCParams
- func (p *CreateVPCParams) SetAccount(v string)
- func (p *CreateVPCParams) SetCidr(v string)
- func (p *CreateVPCParams) SetDisplaytext(v string)
- func (p *CreateVPCParams) SetDomainid(v string)
- func (p *CreateVPCParams) SetName(v string)
- func (p *CreateVPCParams) SetNetworkdomain(v string)
- func (p *CreateVPCParams) SetProjectid(v string)
- func (p *CreateVPCParams) SetStart(v bool)
- func (p *CreateVPCParams) SetVpcofferingid(v string)
- func (p *CreateVPCParams) SetZoneid(v string)
- type CreateVPCResponse
- type CreateVirtualRouterElementParams
- type CreateVirtualRouterElementResponse
- type CreateVlanIpRangeParams
- func (p *CreateVlanIpRangeParams) SetAccount(v string)
- func (p *CreateVlanIpRangeParams) SetDomainid(v string)
- func (p *CreateVlanIpRangeParams) SetEndip(v string)
- func (p *CreateVlanIpRangeParams) SetEndipv6(v string)
- func (p *CreateVlanIpRangeParams) SetForvirtualnetwork(v bool)
- func (p *CreateVlanIpRangeParams) SetGateway(v string)
- func (p *CreateVlanIpRangeParams) SetIp6cidr(v string)
- func (p *CreateVlanIpRangeParams) SetIp6gateway(v string)
- func (p *CreateVlanIpRangeParams) SetNetmask(v string)
- func (p *CreateVlanIpRangeParams) SetNetworkid(v string)
- func (p *CreateVlanIpRangeParams) SetPhysicalnetworkid(v string)
- func (p *CreateVlanIpRangeParams) SetPodid(v string)
- func (p *CreateVlanIpRangeParams) SetProjectid(v string)
- func (p *CreateVlanIpRangeParams) SetStartip(v string)
- func (p *CreateVlanIpRangeParams) SetStartipv6(v string)
- func (p *CreateVlanIpRangeParams) SetVlan(v string)
- func (p *CreateVlanIpRangeParams) SetZoneid(v string)
- type CreateVlanIpRangeResponse
- type CreateVolumeParams
- func (p *CreateVolumeParams) SetAccount(v string)
- func (p *CreateVolumeParams) SetDiskofferingid(v string)
- func (p *CreateVolumeParams) SetDisplayvolume(v bool)
- func (p *CreateVolumeParams) SetDomainid(v string)
- func (p *CreateVolumeParams) SetMaxiops(v int)
- func (p *CreateVolumeParams) SetMiniops(v int)
- func (p *CreateVolumeParams) SetName(v string)
- func (p *CreateVolumeParams) SetProjectid(v string)
- func (p *CreateVolumeParams) SetSize(v int)
- func (p *CreateVolumeParams) SetSnapshotid(v string)
- func (p *CreateVolumeParams) SetVirtualmachineid(v string)
- func (p *CreateVolumeParams) SetZoneid(v string)
- type CreateVolumeResponse
- type CreateVpnConnectionParams
- type CreateVpnConnectionResponse
- type CreateVpnCustomerGatewayParams
- func (p *CreateVpnCustomerGatewayParams) SetAccount(v string)
- func (p *CreateVpnCustomerGatewayParams) SetCidrlist(v string)
- func (p *CreateVpnCustomerGatewayParams) SetDomainid(v string)
- func (p *CreateVpnCustomerGatewayParams) SetDpd(v bool)
- func (p *CreateVpnCustomerGatewayParams) SetEsplifetime(v int)
- func (p *CreateVpnCustomerGatewayParams) SetEsppolicy(v string)
- func (p *CreateVpnCustomerGatewayParams) SetGateway(v string)
- func (p *CreateVpnCustomerGatewayParams) SetIkelifetime(v int)
- func (p *CreateVpnCustomerGatewayParams) SetIkepolicy(v string)
- func (p *CreateVpnCustomerGatewayParams) SetIpsecpsk(v string)
- func (p *CreateVpnCustomerGatewayParams) SetName(v string)
- type CreateVpnCustomerGatewayResponse
- type CreateVpnGatewayParams
- type CreateVpnGatewayResponse
- type CreateZoneParams
- func (p *CreateZoneParams) SetAllocationstate(v string)
- func (p *CreateZoneParams) SetDns1(v string)
- func (p *CreateZoneParams) SetDns2(v string)
- func (p *CreateZoneParams) SetDomain(v string)
- func (p *CreateZoneParams) SetDomainid(v string)
- func (p *CreateZoneParams) SetGuestcidraddress(v string)
- func (p *CreateZoneParams) SetInternaldns1(v string)
- func (p *CreateZoneParams) SetInternaldns2(v string)
- func (p *CreateZoneParams) SetIp6dns1(v string)
- func (p *CreateZoneParams) SetIp6dns2(v string)
- func (p *CreateZoneParams) SetLocalstorageenabled(v bool)
- func (p *CreateZoneParams) SetName(v string)
- func (p *CreateZoneParams) SetNetworktype(v string)
- func (p *CreateZoneParams) SetSecuritygroupenabled(v bool)
- type CreateZoneResponse
- type DedicateClusterParams
- type DedicateClusterResponse
- type DedicateGuestVlanRangeParams
- func (p *DedicateGuestVlanRangeParams) SetAccount(v string)
- func (p *DedicateGuestVlanRangeParams) SetDomainid(v string)
- func (p *DedicateGuestVlanRangeParams) SetPhysicalnetworkid(v string)
- func (p *DedicateGuestVlanRangeParams) SetProjectid(v string)
- func (p *DedicateGuestVlanRangeParams) SetVlanrange(v string)
- type DedicateGuestVlanRangeResponse
- type DedicateHostParams
- type DedicateHostResponse
- type DedicatePodParams
- type DedicatePodResponse
- type DedicatePublicIpRangeParams
- type DedicatePublicIpRangeResponse
- type DedicateZoneParams
- type DedicateZoneResponse
- type DedicatedCluster
- type DedicatedGuestVlanRange
- type DedicatedHost
- type DedicatedPod
- type DedicatedZone
- type DeleteAccountFromProjectParams
- type DeleteAccountFromProjectResponse
- type DeleteAccountParams
- type DeleteAccountResponse
- type DeleteAffinityGroupParams
- type DeleteAffinityGroupResponse
- type DeleteAlertsParams
- type DeleteAlertsResponse
- type DeleteAutoScalePolicyParams
- type DeleteAutoScalePolicyResponse
- type DeleteAutoScaleVmGroupParams
- type DeleteAutoScaleVmGroupResponse
- type DeleteAutoScaleVmProfileParams
- type DeleteAutoScaleVmProfileResponse
- type DeleteBigSwitchVnsDeviceParams
- type DeleteBigSwitchVnsDeviceResponse
- type DeleteCiscoAsa1000vResourceParams
- type DeleteCiscoAsa1000vResourceResponse
- type DeleteCiscoNexusVSMParams
- type DeleteCiscoNexusVSMResponse
- type DeleteCiscoVnmcResourceParams
- type DeleteCiscoVnmcResourceResponse
- type DeleteClusterParams
- type DeleteClusterResponse
- type DeleteConditionParams
- type DeleteConditionResponse
- type DeleteCounterParams
- type DeleteCounterResponse
- type DeleteDiskOfferingParams
- type DeleteDiskOfferingResponse
- type DeleteDomainParams
- type DeleteDomainResponse
- type DeleteEgressFirewallRuleParams
- type DeleteEgressFirewallRuleResponse
- type DeleteEventsParams
- type DeleteEventsResponse
- type DeleteExternalFirewallParams
- type DeleteExternalFirewallResponse
- type DeleteExternalLoadBalancerParams
- type DeleteExternalLoadBalancerResponse
- type DeleteF5LoadBalancerParams
- type DeleteF5LoadBalancerResponse
- type DeleteFirewallRuleParams
- type DeleteFirewallRuleResponse
- type DeleteGlobalLoadBalancerRuleParams
- type DeleteGlobalLoadBalancerRuleResponse
- type DeleteHostParams
- type DeleteHostResponse
- type DeleteImageStoreParams
- type DeleteImageStoreResponse
- type DeleteInstanceGroupParams
- type DeleteInstanceGroupResponse
- type DeleteIpForwardingRuleParams
- type DeleteIpForwardingRuleResponse
- type DeleteIsoParams
- type DeleteIsoResponse
- type DeleteLBHealthCheckPolicyParams
- type DeleteLBHealthCheckPolicyResponse
- type DeleteLBStickinessPolicyParams
- type DeleteLBStickinessPolicyResponse
- type DeleteLdapConfigurationParams
- type DeleteLdapConfigurationResponse
- type DeleteLoadBalancerParams
- type DeleteLoadBalancerResponse
- type DeleteLoadBalancerRuleParams
- type DeleteLoadBalancerRuleResponse
- type DeleteNetscalerLoadBalancerParams
- type DeleteNetscalerLoadBalancerResponse
- type DeleteNetworkACLListParams
- type DeleteNetworkACLListResponse
- type DeleteNetworkACLParams
- type DeleteNetworkACLResponse
- type DeleteNetworkDeviceParams
- type DeleteNetworkDeviceResponse
- type DeleteNetworkOfferingParams
- type DeleteNetworkOfferingResponse
- type DeleteNetworkParams
- type DeleteNetworkResponse
- type DeleteNetworkServiceProviderParams
- type DeleteNetworkServiceProviderResponse
- type DeleteNiciraNvpDeviceParams
- type DeleteNiciraNvpDeviceResponse
- type DeletePaloAltoFirewallParams
- type DeletePaloAltoFirewallResponse
- type DeletePhysicalNetworkParams
- type DeletePhysicalNetworkResponse
- type DeletePodParams
- type DeletePodResponse
- type DeletePortForwardingRuleParams
- type DeletePortForwardingRuleResponse
- type DeletePortableIpRangeParams
- type DeletePortableIpRangeResponse
- type DeletePrivateGatewayParams
- type DeletePrivateGatewayResponse
- type DeleteProjectInvitationParams
- type DeleteProjectInvitationResponse
- type DeleteProjectParams
- type DeleteProjectResponse
- type DeleteRemoteAccessVpnParams
- type DeleteRemoteAccessVpnResponse
- type DeleteSSHKeyPairParams
- type DeleteSSHKeyPairResponse
- type DeleteSecondaryStagingStoreParams
- type DeleteSecondaryStagingStoreResponse
- type DeleteSecurityGroupParams
- type DeleteSecurityGroupResponse
- type DeleteServiceOfferingParams
- type DeleteServiceOfferingResponse
- type DeleteSnapshotParams
- type DeleteSnapshotPoliciesParams
- type DeleteSnapshotPoliciesResponse
- type DeleteSnapshotResponse
- type DeleteSrxFirewallParams
- type DeleteSrxFirewallResponse
- type DeleteSslCertParams
- type DeleteSslCertResponse
- type DeleteStaticRouteParams
- type DeleteStaticRouteResponse
- type DeleteStorageNetworkIpRangeParams
- type DeleteStorageNetworkIpRangeResponse
- type DeleteStoragePoolParams
- type DeleteStoragePoolResponse
- type DeleteTagsParams
- type DeleteTagsResponse
- type DeleteTemplateParams
- type DeleteTemplateResponse
- type DeleteTrafficMonitorParams
- type DeleteTrafficMonitorResponse
- type DeleteTrafficTypeParams
- type DeleteTrafficTypeResponse
- type DeleteUcsManagerParams
- type DeleteUcsManagerResponse
- type DeleteUserParams
- type DeleteUserResponse
- type DeleteVMSnapshotParams
- type DeleteVMSnapshotResponse
- type DeleteVPCOfferingParams
- type DeleteVPCOfferingResponse
- type DeleteVPCParams
- type DeleteVPCResponse
- type DeleteVlanIpRangeParams
- type DeleteVlanIpRangeResponse
- type DeleteVolumeParams
- type DeleteVolumeResponse
- type DeleteVpnConnectionParams
- type DeleteVpnConnectionResponse
- type DeleteVpnCustomerGatewayParams
- type DeleteVpnCustomerGatewayResponse
- type DeleteVpnGatewayParams
- type DeleteVpnGatewayResponse
- type DeleteZoneParams
- type DeleteZoneResponse
- type DeployVirtualMachineParams
- func (p *DeployVirtualMachineParams) SetAccount(v string)
- func (p *DeployVirtualMachineParams) SetAffinitygroupids(v []string)
- func (p *DeployVirtualMachineParams) SetAffinitygroupnames(v []string)
- func (p *DeployVirtualMachineParams) SetDetails(v map[string]string)
- func (p *DeployVirtualMachineParams) SetDiskofferingid(v string)
- func (p *DeployVirtualMachineParams) SetDisplayname(v string)
- func (p *DeployVirtualMachineParams) SetDisplayvm(v bool)
- func (p *DeployVirtualMachineParams) SetDomainid(v string)
- func (p *DeployVirtualMachineParams) SetGroup(v string)
- func (p *DeployVirtualMachineParams) SetHostid(v string)
- func (p *DeployVirtualMachineParams) SetHypervisor(v string)
- func (p *DeployVirtualMachineParams) SetIp6address(v string)
- func (p *DeployVirtualMachineParams) SetIpaddress(v string)
- func (p *DeployVirtualMachineParams) SetIptonetworklist(v map[string]string)
- func (p *DeployVirtualMachineParams) SetKeyboard(v string)
- func (p *DeployVirtualMachineParams) SetKeypair(v string)
- func (p *DeployVirtualMachineParams) SetName(v string)
- func (p *DeployVirtualMachineParams) SetNetworkids(v []string)
- func (p *DeployVirtualMachineParams) SetProjectid(v string)
- func (p *DeployVirtualMachineParams) SetSecuritygroupids(v []string)
- func (p *DeployVirtualMachineParams) SetSecuritygroupnames(v []string)
- func (p *DeployVirtualMachineParams) SetServiceofferingid(v string)
- func (p *DeployVirtualMachineParams) SetSize(v int)
- func (p *DeployVirtualMachineParams) SetStartvm(v bool)
- func (p *DeployVirtualMachineParams) SetTemplateid(v string)
- func (p *DeployVirtualMachineParams) SetUserdata(v string)
- func (p *DeployVirtualMachineParams) SetZoneid(v string)
- type DeployVirtualMachineResponse
- type DeploymentPlanner
- type DestroyRouterParams
- type DestroyRouterResponse
- type DestroySystemVmParams
- type DestroySystemVmResponse
- type DestroyVirtualMachineParams
- type DestroyVirtualMachineResponse
- type DetachIsoParams
- type DetachIsoResponse
- type DetachVolumeParams
- type DetachVolumeResponse
- type DisableAccountParams
- type DisableAccountResponse
- type DisableAutoScaleVmGroupParams
- type DisableAutoScaleVmGroupResponse
- type DisableCiscoNexusVSMParams
- type DisableCiscoNexusVSMResponse
- type DisableStaticNatParams
- type DisableStaticNatResponse
- type DisableUserParams
- type DisableUserResponse
- type DisassociateIpAddressParams
- type DisassociateIpAddressResponse
- type DisassociateUcsProfileFromBladeParams
- type DisassociateUcsProfileFromBladeResponse
- type DiskOffering
- type DiskOfferingService
- func (s *DiskOfferingService) CreateDiskOffering(p *CreateDiskOfferingParams) (*CreateDiskOfferingResponse, error)
- func (s *DiskOfferingService) DeleteDiskOffering(p *DeleteDiskOfferingParams) (*DeleteDiskOfferingResponse, error)
- func (s *DiskOfferingService) GetDiskOfferingID(name string) (string, error)
- func (s *DiskOfferingService) ListDiskOfferings(p *ListDiskOfferingsParams) (*ListDiskOfferingsResponse, error)
- func (s *DiskOfferingService) NewCreateDiskOfferingParams(displaytext string, name string) *CreateDiskOfferingParams
- func (s *DiskOfferingService) NewDeleteDiskOfferingParams(id string) *DeleteDiskOfferingParams
- func (s *DiskOfferingService) NewListDiskOfferingsParams() *ListDiskOfferingsParams
- func (s *DiskOfferingService) NewUpdateDiskOfferingParams(id string) *UpdateDiskOfferingParams
- func (s *DiskOfferingService) UpdateDiskOffering(p *UpdateDiskOfferingParams) (*UpdateDiskOfferingResponse, error)
- type Domain
- type DomainChildren
- type DomainService
- func (s *DomainService) CreateDomain(p *CreateDomainParams) (*CreateDomainResponse, error)
- func (s *DomainService) DeleteDomain(p *DeleteDomainParams) (*DeleteDomainResponse, error)
- func (s *DomainService) GetDomainChildrenID(name string) (string, error)
- func (s *DomainService) GetDomainID(name string) (string, error)
- func (s *DomainService) ListDomainChildren(p *ListDomainChildrenParams) (*ListDomainChildrenResponse, error)
- func (s *DomainService) ListDomains(p *ListDomainsParams) (*ListDomainsResponse, error)
- func (s *DomainService) NewCreateDomainParams(name string) *CreateDomainParams
- func (s *DomainService) NewDeleteDomainParams(id string) *DeleteDomainParams
- func (s *DomainService) NewListDomainChildrenParams() *ListDomainChildrenParams
- func (s *DomainService) NewListDomainsParams() *ListDomainsParams
- func (s *DomainService) NewUpdateDomainParams(id string) *UpdateDomainParams
- func (s *DomainService) UpdateDomain(p *UpdateDomainParams) (*UpdateDomainResponse, error)
- type EgressFirewallRule
- type EnableAccountParams
- type EnableAccountResponse
- type EnableAutoScaleVmGroupParams
- type EnableAutoScaleVmGroupResponse
- type EnableCiscoNexusVSMParams
- type EnableCiscoNexusVSMResponse
- type EnableStaticNatParams
- type EnableStaticNatResponse
- type EnableStorageMaintenanceParams
- type EnableStorageMaintenanceResponse
- type EnableUserParams
- type EnableUserResponse
- type Event
- type EventService
- func (s *EventService) ArchiveEvents(p *ArchiveEventsParams) (*ArchiveEventsResponse, error)
- func (s *EventService) DeleteEvents(p *DeleteEventsParams) (*DeleteEventsResponse, error)
- func (s *EventService) GetEventID(keyword string) (string, error)
- func (s *EventService) ListEventTypes(p *ListEventTypesParams) (*ListEventTypesResponse, error)
- func (s *EventService) ListEvents(p *ListEventsParams) (*ListEventsResponse, error)
- func (s *EventService) NewArchiveEventsParams() *ArchiveEventsParams
- func (s *EventService) NewDeleteEventsParams() *DeleteEventsParams
- func (s *EventService) NewListEventTypesParams() *ListEventTypesParams
- func (s *EventService) NewListEventsParams() *ListEventsParams
- type EventType
- type ExpungeVirtualMachineParams
- type ExpungeVirtualMachineResponse
- type ExtFirewallService
- func (s *ExtFirewallService) AddExternalFirewall(p *AddExternalFirewallParams) (*AddExternalFirewallResponse, error)
- func (s *ExtFirewallService) DeleteExternalFirewall(p *DeleteExternalFirewallParams) (*DeleteExternalFirewallResponse, error)
- func (s *ExtFirewallService) GetExternalFirewallID(keyword string, zoneid string) (string, error)
- func (s *ExtFirewallService) ListExternalFirewalls(p *ListExternalFirewallsParams) (*ListExternalFirewallsResponse, error)
- func (s *ExtFirewallService) NewAddExternalFirewallParams(password string, url string, username string, zoneid string) *AddExternalFirewallParams
- func (s *ExtFirewallService) NewDeleteExternalFirewallParams(id string) *DeleteExternalFirewallParams
- func (s *ExtFirewallService) NewListExternalFirewallsParams(zoneid string) *ListExternalFirewallsParams
- type ExtLoadBalancerService
- func (s *ExtLoadBalancerService) AddExternalLoadBalancer(p *AddExternalLoadBalancerParams) (*AddExternalLoadBalancerResponse, error)
- func (s *ExtLoadBalancerService) DeleteExternalLoadBalancer(p *DeleteExternalLoadBalancerParams) (*DeleteExternalLoadBalancerResponse, error)
- func (s *ExtLoadBalancerService) GetExternalLoadBalancerID(keyword string) (string, error)
- func (s *ExtLoadBalancerService) ListExternalLoadBalancers(p *ListExternalLoadBalancersParams) (*ListExternalLoadBalancersResponse, error)
- func (s *ExtLoadBalancerService) NewAddExternalLoadBalancerParams(password string, url string, username string, zoneid string) *AddExternalLoadBalancerParams
- func (s *ExtLoadBalancerService) NewDeleteExternalLoadBalancerParams(id string) *DeleteExternalLoadBalancerParams
- func (s *ExtLoadBalancerService) NewListExternalLoadBalancersParams() *ListExternalLoadBalancersParams
- type ExternalDeviceService
- func (s *ExternalDeviceService) AddCiscoAsa1000vResource(p *AddCiscoAsa1000vResourceParams) (*AddCiscoAsa1000vResourceResponse, error)
- func (s *ExternalDeviceService) AddCiscoVnmcResource(p *AddCiscoVnmcResourceParams) (*AddCiscoVnmcResourceResponse, error)
- func (s *ExternalDeviceService) DeleteCiscoAsa1000vResource(p *DeleteCiscoAsa1000vResourceParams) (*DeleteCiscoAsa1000vResourceResponse, error)
- func (s *ExternalDeviceService) DeleteCiscoNexusVSM(p *DeleteCiscoNexusVSMParams) (*DeleteCiscoNexusVSMResponse, error)
- func (s *ExternalDeviceService) DeleteCiscoVnmcResource(p *DeleteCiscoVnmcResourceParams) (*DeleteCiscoVnmcResourceResponse, error)
- func (s *ExternalDeviceService) DisableCiscoNexusVSM(p *DisableCiscoNexusVSMParams) (*DisableCiscoNexusVSMResponse, error)
- func (s *ExternalDeviceService) EnableCiscoNexusVSM(p *EnableCiscoNexusVSMParams) (*EnableCiscoNexusVSMResponse, error)
- func (s *ExternalDeviceService) ListCiscoAsa1000vResources(p *ListCiscoAsa1000vResourcesParams) (*ListCiscoAsa1000vResourcesResponse, error)
- func (s *ExternalDeviceService) ListCiscoNexusVSMs(p *ListCiscoNexusVSMsParams) (*ListCiscoNexusVSMsResponse, error)
- func (s *ExternalDeviceService) ListCiscoVnmcResources(p *ListCiscoVnmcResourcesParams) (*ListCiscoVnmcResourcesResponse, error)
- func (s *ExternalDeviceService) NewAddCiscoAsa1000vResourceParams(clusterid string, hostname string, insideportprofile string, ...) *AddCiscoAsa1000vResourceParams
- func (s *ExternalDeviceService) NewAddCiscoVnmcResourceParams(hostname string, password string, physicalnetworkid string, username string) *AddCiscoVnmcResourceParams
- func (s *ExternalDeviceService) NewDeleteCiscoAsa1000vResourceParams(resourceid string) *DeleteCiscoAsa1000vResourceParams
- func (s *ExternalDeviceService) NewDeleteCiscoNexusVSMParams(id string) *DeleteCiscoNexusVSMParams
- func (s *ExternalDeviceService) NewDeleteCiscoVnmcResourceParams(resourceid string) *DeleteCiscoVnmcResourceParams
- func (s *ExternalDeviceService) NewDisableCiscoNexusVSMParams(id string) *DisableCiscoNexusVSMParams
- func (s *ExternalDeviceService) NewEnableCiscoNexusVSMParams(id string) *EnableCiscoNexusVSMParams
- func (s *ExternalDeviceService) NewListCiscoAsa1000vResourcesParams() *ListCiscoAsa1000vResourcesParams
- func (s *ExternalDeviceService) NewListCiscoNexusVSMsParams() *ListCiscoNexusVSMsParams
- func (s *ExternalDeviceService) NewListCiscoVnmcResourcesParams() *ListCiscoVnmcResourcesParams
- type ExternalFirewall
- type ExternalLoadBalancer
- type ExtractIsoParams
- type ExtractIsoResponse
- type ExtractTemplateParams
- type ExtractTemplateResponse
- type ExtractVolumeParams
- type ExtractVolumeResponse
- type F5LoadBalancer
- type F5LoadBalancerNetwork
- type FindHostsForMigrationParams
- type FindHostsForMigrationResponse
- type FindStoragePoolsForMigrationParams
- type FindStoragePoolsForMigrationResponse
- type FirewallRule
- type FirewallService
- func (s *FirewallService) AddPaloAltoFirewall(p *AddPaloAltoFirewallParams) (*AddPaloAltoFirewallResponse, error)
- func (s *FirewallService) AddSrxFirewall(p *AddSrxFirewallParams) (*AddSrxFirewallResponse, error)
- func (s *FirewallService) ConfigurePaloAltoFirewall(p *ConfigurePaloAltoFirewallParams) (*ConfigurePaloAltoFirewallResponse, error)
- func (s *FirewallService) ConfigureSrxFirewall(p *ConfigureSrxFirewallParams) (*ConfigureSrxFirewallResponse, error)
- func (s *FirewallService) CreateEgressFirewallRule(p *CreateEgressFirewallRuleParams) (*CreateEgressFirewallRuleResponse, error)
- func (s *FirewallService) CreateFirewallRule(p *CreateFirewallRuleParams) (*CreateFirewallRuleResponse, error)
- func (s *FirewallService) CreatePortForwardingRule(p *CreatePortForwardingRuleParams) (*CreatePortForwardingRuleResponse, error)
- func (s *FirewallService) DeleteEgressFirewallRule(p *DeleteEgressFirewallRuleParams) (*DeleteEgressFirewallRuleResponse, error)
- func (s *FirewallService) DeleteFirewallRule(p *DeleteFirewallRuleParams) (*DeleteFirewallRuleResponse, error)
- func (s *FirewallService) DeletePaloAltoFirewall(p *DeletePaloAltoFirewallParams) (*DeletePaloAltoFirewallResponse, error)
- func (s *FirewallService) DeletePortForwardingRule(p *DeletePortForwardingRuleParams) (*DeletePortForwardingRuleResponse, error)
- func (s *FirewallService) DeleteSrxFirewall(p *DeleteSrxFirewallParams) (*DeleteSrxFirewallResponse, error)
- func (s *FirewallService) GetEgressFirewallRuleID(keyword string) (string, error)
- func (s *FirewallService) GetFirewallRuleID(keyword string) (string, error)
- func (s *FirewallService) GetPortForwardingRuleID(keyword string) (string, error)
- func (s *FirewallService) ListEgressFirewallRules(p *ListEgressFirewallRulesParams) (*ListEgressFirewallRulesResponse, error)
- func (s *FirewallService) ListFirewallRules(p *ListFirewallRulesParams) (*ListFirewallRulesResponse, error)
- func (s *FirewallService) ListPaloAltoFirewalls(p *ListPaloAltoFirewallsParams) (*ListPaloAltoFirewallsResponse, error)
- func (s *FirewallService) ListPortForwardingRules(p *ListPortForwardingRulesParams) (*ListPortForwardingRulesResponse, error)
- func (s *FirewallService) ListSrxFirewalls(p *ListSrxFirewallsParams) (*ListSrxFirewallsResponse, error)
- func (s *FirewallService) NewAddPaloAltoFirewallParams(networkdevicetype string, password string, physicalnetworkid string, ...) *AddPaloAltoFirewallParams
- func (s *FirewallService) NewAddSrxFirewallParams(networkdevicetype string, password string, physicalnetworkid string, ...) *AddSrxFirewallParams
- func (s *FirewallService) NewConfigurePaloAltoFirewallParams(fwdeviceid string) *ConfigurePaloAltoFirewallParams
- func (s *FirewallService) NewConfigureSrxFirewallParams(fwdeviceid string) *ConfigureSrxFirewallParams
- func (s *FirewallService) NewCreateEgressFirewallRuleParams(networkid string, protocol string) *CreateEgressFirewallRuleParams
- func (s *FirewallService) NewCreateFirewallRuleParams(ipaddressid string, protocol string) *CreateFirewallRuleParams
- func (s *FirewallService) NewCreatePortForwardingRuleParams(ipaddressid string, privateport int, protocol string, publicport int, ...) *CreatePortForwardingRuleParams
- func (s *FirewallService) NewDeleteEgressFirewallRuleParams(id string) *DeleteEgressFirewallRuleParams
- func (s *FirewallService) NewDeleteFirewallRuleParams(id string) *DeleteFirewallRuleParams
- func (s *FirewallService) NewDeletePaloAltoFirewallParams(fwdeviceid string) *DeletePaloAltoFirewallParams
- func (s *FirewallService) NewDeletePortForwardingRuleParams(id string) *DeletePortForwardingRuleParams
- func (s *FirewallService) NewDeleteSrxFirewallParams(fwdeviceid string) *DeleteSrxFirewallParams
- func (s *FirewallService) NewListEgressFirewallRulesParams() *ListEgressFirewallRulesParams
- func (s *FirewallService) NewListFirewallRulesParams() *ListFirewallRulesParams
- func (s *FirewallService) NewListPaloAltoFirewallsParams() *ListPaloAltoFirewallsParams
- func (s *FirewallService) NewListPortForwardingRulesParams() *ListPortForwardingRulesParams
- func (s *FirewallService) NewListSrxFirewallsParams() *ListSrxFirewallsParams
- func (s *FirewallService) NewUpdatePortForwardingRuleParams(ipaddressid string, privateport string, protocol string, publicport string) *UpdatePortForwardingRuleParams
- func (s *FirewallService) UpdatePortForwardingRule(p *UpdatePortForwardingRuleParams) (*UpdatePortForwardingRuleResponse, error)
- type GenerateAlertParams
- type GenerateAlertResponse
- type GenerateUsageRecordsParams
- type GenerateUsageRecordsResponse
- type GetApiLimitParams
- type GetApiLimitResponse
- type GetCloudIdentifierParams
- type GetCloudIdentifierResponse
- type GetUserParams
- type GetUserResponse
- type GetVMPasswordParams
- type GetVMPasswordResponse
- type GlobalLoadBalancerRule
- type GuestOSService
- func (s *GuestOSService) GetOsCategoryID(name string) (string, error)
- func (s *GuestOSService) GetOsTypeID(keyword string) (string, error)
- func (s *GuestOSService) ListOsCategories(p *ListOsCategoriesParams) (*ListOsCategoriesResponse, error)
- func (s *GuestOSService) ListOsTypes(p *ListOsTypesParams) (*ListOsTypesResponse, error)
- func (s *GuestOSService) NewListOsCategoriesParams() *ListOsCategoriesParams
- func (s *GuestOSService) NewListOsTypesParams() *ListOsTypesParams
- type Host
- type HostService
- func (s *HostService) AddBaremetalHost(p *AddBaremetalHostParams) (*AddBaremetalHostResponse, error)
- func (s *HostService) AddHost(p *AddHostParams) (*AddHostResponse, error)
- func (s *HostService) AddSecondaryStorage(p *AddSecondaryStorageParams) (*AddSecondaryStorageResponse, error)
- func (s *HostService) CancelHostMaintenance(p *CancelHostMaintenanceParams) (*CancelHostMaintenanceResponse, error)
- func (s *HostService) DedicateHost(p *DedicateHostParams) (*DedicateHostResponse, error)
- func (s *HostService) DeleteHost(p *DeleteHostParams) (*DeleteHostResponse, error)
- func (s *HostService) FindHostsForMigration(p *FindHostsForMigrationParams) (*FindHostsForMigrationResponse, error)
- func (s *HostService) GetDedicatedHostID(keyword string) (string, error)
- func (s *HostService) GetHostID(name string) (string, error)
- func (s *HostService) ListDedicatedHosts(p *ListDedicatedHostsParams) (*ListDedicatedHostsResponse, error)
- func (s *HostService) ListHosts(p *ListHostsParams) (*ListHostsResponse, error)
- func (s *HostService) NewAddBaremetalHostParams(hypervisor string, password string, podid string, url string, username string, ...) *AddBaremetalHostParams
- func (s *HostService) NewAddHostParams(hypervisor string, password string, podid string, url string, username string, ...) *AddHostParams
- func (s *HostService) NewAddSecondaryStorageParams(url string) *AddSecondaryStorageParams
- func (s *HostService) NewCancelHostMaintenanceParams(id string) *CancelHostMaintenanceParams
- func (s *HostService) NewDedicateHostParams(domainid string, hostid string) *DedicateHostParams
- func (s *HostService) NewDeleteHostParams(id string) *DeleteHostParams
- func (s *HostService) NewFindHostsForMigrationParams(virtualmachineid string) *FindHostsForMigrationParams
- func (s *HostService) NewListDedicatedHostsParams() *ListDedicatedHostsParams
- func (s *HostService) NewListHostsParams() *ListHostsParams
- func (s *HostService) NewPrepareHostForMaintenanceParams(id string) *PrepareHostForMaintenanceParams
- func (s *HostService) NewReconnectHostParams(id string) *ReconnectHostParams
- func (s *HostService) NewReleaseDedicatedHostParams(hostid string) *ReleaseDedicatedHostParams
- func (s *HostService) NewReleaseHostReservationParams(id string) *ReleaseHostReservationParams
- func (s *HostService) NewUpdateHostParams(id string) *UpdateHostParams
- func (s *HostService) NewUpdateHostPasswordParams(password string, username string) *UpdateHostPasswordParams
- func (s *HostService) PrepareHostForMaintenance(p *PrepareHostForMaintenanceParams) (*PrepareHostForMaintenanceResponse, error)
- func (s *HostService) ReconnectHost(p *ReconnectHostParams) (*ReconnectHostResponse, error)
- func (s *HostService) ReleaseDedicatedHost(p *ReleaseDedicatedHostParams) (*ReleaseDedicatedHostResponse, error)
- func (s *HostService) ReleaseHostReservation(p *ReleaseHostReservationParams) (*ReleaseHostReservationResponse, error)
- func (s *HostService) UpdateHost(p *UpdateHostParams) (*UpdateHostResponse, error)
- func (s *HostService) UpdateHostPassword(p *UpdateHostPasswordParams) (*UpdateHostPasswordResponse, error)
- type Hypervisor
- type HypervisorCapability
- type HypervisorService
- func (s *HypervisorService) GetHypervisorCapabilityID(keyword string) (string, error)
- func (s *HypervisorService) ListHypervisorCapabilities(p *ListHypervisorCapabilitiesParams) (*ListHypervisorCapabilitiesResponse, error)
- func (s *HypervisorService) ListHypervisors(p *ListHypervisorsParams) (*ListHypervisorsResponse, error)
- func (s *HypervisorService) NewListHypervisorCapabilitiesParams() *ListHypervisorCapabilitiesParams
- func (s *HypervisorService) NewListHypervisorsParams() *ListHypervisorsParams
- func (s *HypervisorService) NewUpdateHypervisorCapabilitiesParams() *UpdateHypervisorCapabilitiesParams
- func (s *HypervisorService) UpdateHypervisorCapabilities(p *UpdateHypervisorCapabilitiesParams) (*UpdateHypervisorCapabilitiesResponse, error)
- type ISOService
- func (s *ISOService) AttachIso(p *AttachIsoParams) (*AttachIsoResponse, error)
- func (s *ISOService) CopyIso(p *CopyIsoParams) (*CopyIsoResponse, error)
- func (s *ISOService) DeleteIso(p *DeleteIsoParams) (*DeleteIsoResponse, error)
- func (s *ISOService) DetachIso(p *DetachIsoParams) (*DetachIsoResponse, error)
- func (s *ISOService) ExtractIso(p *ExtractIsoParams) (*ExtractIsoResponse, error)
- func (s *ISOService) GetIsoID(name string) (string, error)
- func (s *ISOService) ListIsoPermissions(p *ListIsoPermissionsParams) (*ListIsoPermissionsResponse, error)
- func (s *ISOService) ListIsos(p *ListIsosParams) (*ListIsosResponse, error)
- func (s *ISOService) NewAttachIsoParams(id string, virtualmachineid string) *AttachIsoParams
- func (s *ISOService) NewCopyIsoParams(destzoneid string, id string) *CopyIsoParams
- func (s *ISOService) NewDeleteIsoParams(id string) *DeleteIsoParams
- func (s *ISOService) NewDetachIsoParams(virtualmachineid string) *DetachIsoParams
- func (s *ISOService) NewExtractIsoParams(id string, mode string) *ExtractIsoParams
- func (s *ISOService) NewListIsoPermissionsParams(id string) *ListIsoPermissionsParams
- func (s *ISOService) NewListIsosParams() *ListIsosParams
- func (s *ISOService) NewRegisterIsoParams(displaytext string, name string, url string, zoneid string) *RegisterIsoParams
- func (s *ISOService) NewUpdateIsoParams(id string) *UpdateIsoParams
- func (s *ISOService) NewUpdateIsoPermissionsParams(id string) *UpdateIsoPermissionsParams
- func (s *ISOService) RegisterIso(p *RegisterIsoParams) (*RegisterIsoResponse, error)
- func (s *ISOService) UpdateIso(p *UpdateIsoParams) (*UpdateIsoResponse, error)
- func (s *ISOService) UpdateIsoPermissions(p *UpdateIsoPermissionsParams) (*UpdateIsoPermissionsResponse, error)
- type ImageStore
- type ImageStoreService
- func (s *ImageStoreService) AddImageStore(p *AddImageStoreParams) (*AddImageStoreResponse, error)
- func (s *ImageStoreService) CreateSecondaryStagingStore(p *CreateSecondaryStagingStoreParams) (*CreateSecondaryStagingStoreResponse, error)
- func (s *ImageStoreService) DeleteImageStore(p *DeleteImageStoreParams) (*DeleteImageStoreResponse, error)
- func (s *ImageStoreService) DeleteSecondaryStagingStore(p *DeleteSecondaryStagingStoreParams) (*DeleteSecondaryStagingStoreResponse, error)
- func (s *ImageStoreService) GetImageStoreID(name string) (string, error)
- func (s *ImageStoreService) GetSecondaryStagingStoreID(name string) (string, error)
- func (s *ImageStoreService) ListImageStores(p *ListImageStoresParams) (*ListImageStoresResponse, error)
- func (s *ImageStoreService) ListSecondaryStagingStores(p *ListSecondaryStagingStoresParams) (*ListSecondaryStagingStoresResponse, error)
- func (s *ImageStoreService) NewAddImageStoreParams(provider string) *AddImageStoreParams
- func (s *ImageStoreService) NewCreateSecondaryStagingStoreParams(url string) *CreateSecondaryStagingStoreParams
- func (s *ImageStoreService) NewDeleteImageStoreParams(id string) *DeleteImageStoreParams
- func (s *ImageStoreService) NewDeleteSecondaryStagingStoreParams(id string) *DeleteSecondaryStagingStoreParams
- func (s *ImageStoreService) NewListImageStoresParams() *ListImageStoresParams
- func (s *ImageStoreService) NewListSecondaryStagingStoresParams() *ListSecondaryStagingStoresParams
- func (s *ImageStoreService) NewUpdateCloudToUseObjectStoreParams(provider string) *UpdateCloudToUseObjectStoreParams
- func (s *ImageStoreService) UpdateCloudToUseObjectStore(p *UpdateCloudToUseObjectStoreParams) (*UpdateCloudToUseObjectStoreResponse, error)
- type ImportLdapUsersParams
- func (p *ImportLdapUsersParams) SetAccountdetails(v map[string]string)
- func (p *ImportLdapUsersParams) SetAccounttype(v int)
- func (p *ImportLdapUsersParams) SetDomainid(v string)
- func (p *ImportLdapUsersParams) SetGroup(v string)
- func (p *ImportLdapUsersParams) SetKeyword(v string)
- func (p *ImportLdapUsersParams) SetPage(v int)
- func (p *ImportLdapUsersParams) SetPagesize(v int)
- func (p *ImportLdapUsersParams) SetTimezone(v string)
- type ImportLdapUsersResponse
- type InstanceGroup
- type InstantiateUcsTemplateAndAssocaciateToBladeParams
- func (p *InstantiateUcsTemplateAndAssocaciateToBladeParams) SetBladeid(v string)
- func (p *InstantiateUcsTemplateAndAssocaciateToBladeParams) SetProfilename(v string)
- func (p *InstantiateUcsTemplateAndAssocaciateToBladeParams) SetTemplatedn(v string)
- func (p *InstantiateUcsTemplateAndAssocaciateToBladeParams) SetUcsmanagerid(v string)
- type InstantiateUcsTemplateAndAssocaciateToBladeResponse
- type InternalLBService
- func (s *InternalLBService) ConfigureInternalLoadBalancerElement(p *ConfigureInternalLoadBalancerElementParams) (*ConfigureInternalLoadBalancerElementResponse, error)
- func (s *InternalLBService) CreateInternalLoadBalancerElement(p *CreateInternalLoadBalancerElementParams) (*CreateInternalLoadBalancerElementResponse, error)
- func (s *InternalLBService) GetInternalLoadBalancerElementID(keyword string) (string, error)
- func (s *InternalLBService) GetInternalLoadBalancerVMID(name string) (string, error)
- func (s *InternalLBService) ListInternalLoadBalancerElements(p *ListInternalLoadBalancerElementsParams) (*ListInternalLoadBalancerElementsResponse, error)
- func (s *InternalLBService) ListInternalLoadBalancerVMs(p *ListInternalLoadBalancerVMsParams) (*ListInternalLoadBalancerVMsResponse, error)
- func (s *InternalLBService) NewConfigureInternalLoadBalancerElementParams(enabled bool, id string) *ConfigureInternalLoadBalancerElementParams
- func (s *InternalLBService) NewCreateInternalLoadBalancerElementParams(nspid string) *CreateInternalLoadBalancerElementParams
- func (s *InternalLBService) NewListInternalLoadBalancerElementsParams() *ListInternalLoadBalancerElementsParams
- func (s *InternalLBService) NewListInternalLoadBalancerVMsParams() *ListInternalLoadBalancerVMsParams
- func (s *InternalLBService) NewStartInternalLoadBalancerVMParams(id string) *StartInternalLoadBalancerVMParams
- func (s *InternalLBService) NewStopInternalLoadBalancerVMParams(id string) *StopInternalLoadBalancerVMParams
- func (s *InternalLBService) StartInternalLoadBalancerVM(p *StartInternalLoadBalancerVMParams) (*StartInternalLoadBalancerVMResponse, error)
- func (s *InternalLBService) StopInternalLoadBalancerVM(p *StopInternalLoadBalancerVMParams) (*StopInternalLoadBalancerVMResponse, error)
- type InternalLoadBalancerElement
- type InternalLoadBalancerVM
- type IpForwardingRule
- type Iso
- type IsoPermission
- type LBHealthCheckPolicy
- type LBStickinessPolicy
- type LDAPService
- type LdapConfiguration
- type LdapCreateAccountParams
- func (p *LdapCreateAccountParams) SetAccount(v string)
- func (p *LdapCreateAccountParams) SetAccountdetails(v map[string]string)
- func (p *LdapCreateAccountParams) SetAccountid(v string)
- func (p *LdapCreateAccountParams) SetAccounttype(v int)
- func (p *LdapCreateAccountParams) SetDomainid(v string)
- func (p *LdapCreateAccountParams) SetNetworkdomain(v string)
- func (p *LdapCreateAccountParams) SetTimezone(v string)
- func (p *LdapCreateAccountParams) SetUserid(v string)
- func (p *LdapCreateAccountParams) SetUsername(v string)
- type LdapCreateAccountResponse
- type LdapUser
- type LimitService
- func (s *LimitService) GetApiLimit(p *GetApiLimitParams) (*GetApiLimitResponse, error)
- func (s *LimitService) ListResourceLimits(p *ListResourceLimitsParams) (*ListResourceLimitsResponse, error)
- func (s *LimitService) NewGetApiLimitParams() *GetApiLimitParams
- func (s *LimitService) NewListResourceLimitsParams() *ListResourceLimitsParams
- func (s *LimitService) NewResetApiLimitParams() *ResetApiLimitParams
- func (s *LimitService) NewUpdateResourceCountParams(domainid string) *UpdateResourceCountParams
- func (s *LimitService) NewUpdateResourceLimitParams(resourcetype int) *UpdateResourceLimitParams
- func (s *LimitService) ResetApiLimit(p *ResetApiLimitParams) (*ResetApiLimitResponse, error)
- func (s *LimitService) UpdateResourceCount(p *UpdateResourceCountParams) (*UpdateResourceCountResponse, error)
- func (s *LimitService) UpdateResourceLimit(p *UpdateResourceLimitParams) (*UpdateResourceLimitResponse, error)
- type ListAccountsParams
- func (p *ListAccountsParams) SetAccounttype(v int)
- func (p *ListAccountsParams) SetDomainid(v string)
- func (p *ListAccountsParams) SetId(v string)
- func (p *ListAccountsParams) SetIscleanuprequired(v bool)
- func (p *ListAccountsParams) SetIsrecursive(v bool)
- func (p *ListAccountsParams) SetKeyword(v string)
- func (p *ListAccountsParams) SetListall(v bool)
- func (p *ListAccountsParams) SetName(v string)
- func (p *ListAccountsParams) SetPage(v int)
- func (p *ListAccountsParams) SetPagesize(v int)
- func (p *ListAccountsParams) SetState(v string)
- type ListAccountsResponse
- type ListAffinityGroupTypesParams
- type ListAffinityGroupTypesResponse
- type ListAffinityGroupsParams
- func (p *ListAffinityGroupsParams) SetAccount(v string)
- func (p *ListAffinityGroupsParams) SetDomainid(v string)
- func (p *ListAffinityGroupsParams) SetId(v string)
- func (p *ListAffinityGroupsParams) SetIsrecursive(v bool)
- func (p *ListAffinityGroupsParams) SetKeyword(v string)
- func (p *ListAffinityGroupsParams) SetListall(v bool)
- func (p *ListAffinityGroupsParams) SetName(v string)
- func (p *ListAffinityGroupsParams) SetPage(v int)
- func (p *ListAffinityGroupsParams) SetPagesize(v int)
- func (p *ListAffinityGroupsParams) SetType(v string)
- func (p *ListAffinityGroupsParams) SetVirtualmachineid(v string)
- type ListAffinityGroupsResponse
- type ListAlertsParams
- type ListAlertsResponse
- type ListApisParams
- type ListApisResponse
- type ListAsyncJobsParams
- func (p *ListAsyncJobsParams) SetAccount(v string)
- func (p *ListAsyncJobsParams) SetDomainid(v string)
- func (p *ListAsyncJobsParams) SetIsrecursive(v bool)
- func (p *ListAsyncJobsParams) SetKeyword(v string)
- func (p *ListAsyncJobsParams) SetListall(v bool)
- func (p *ListAsyncJobsParams) SetPage(v int)
- func (p *ListAsyncJobsParams) SetPagesize(v int)
- func (p *ListAsyncJobsParams) SetStartdate(v string)
- type ListAsyncJobsResponse
- type ListAutoScalePoliciesParams
- func (p *ListAutoScalePoliciesParams) SetAccount(v string)
- func (p *ListAutoScalePoliciesParams) SetAction(v string)
- func (p *ListAutoScalePoliciesParams) SetConditionid(v string)
- func (p *ListAutoScalePoliciesParams) SetDomainid(v string)
- func (p *ListAutoScalePoliciesParams) SetId(v string)
- func (p *ListAutoScalePoliciesParams) SetIsrecursive(v bool)
- func (p *ListAutoScalePoliciesParams) SetKeyword(v string)
- func (p *ListAutoScalePoliciesParams) SetListall(v bool)
- func (p *ListAutoScalePoliciesParams) SetPage(v int)
- func (p *ListAutoScalePoliciesParams) SetPagesize(v int)
- func (p *ListAutoScalePoliciesParams) SetVmgroupid(v string)
- type ListAutoScalePoliciesResponse
- type ListAutoScaleVmGroupsParams
- func (p *ListAutoScaleVmGroupsParams) SetAccount(v string)
- func (p *ListAutoScaleVmGroupsParams) SetDomainid(v string)
- func (p *ListAutoScaleVmGroupsParams) SetId(v string)
- func (p *ListAutoScaleVmGroupsParams) SetIsrecursive(v bool)
- func (p *ListAutoScaleVmGroupsParams) SetKeyword(v string)
- func (p *ListAutoScaleVmGroupsParams) SetLbruleid(v string)
- func (p *ListAutoScaleVmGroupsParams) SetListall(v bool)
- func (p *ListAutoScaleVmGroupsParams) SetPage(v int)
- func (p *ListAutoScaleVmGroupsParams) SetPagesize(v int)
- func (p *ListAutoScaleVmGroupsParams) SetPolicyid(v string)
- func (p *ListAutoScaleVmGroupsParams) SetProjectid(v string)
- func (p *ListAutoScaleVmGroupsParams) SetVmprofileid(v string)
- func (p *ListAutoScaleVmGroupsParams) SetZoneid(v string)
- type ListAutoScaleVmGroupsResponse
- type ListAutoScaleVmProfilesParams
- func (p *ListAutoScaleVmProfilesParams) SetAccount(v string)
- func (p *ListAutoScaleVmProfilesParams) SetDomainid(v string)
- func (p *ListAutoScaleVmProfilesParams) SetId(v string)
- func (p *ListAutoScaleVmProfilesParams) SetIsrecursive(v bool)
- func (p *ListAutoScaleVmProfilesParams) SetKeyword(v string)
- func (p *ListAutoScaleVmProfilesParams) SetListall(v bool)
- func (p *ListAutoScaleVmProfilesParams) SetOtherdeployparams(v string)
- func (p *ListAutoScaleVmProfilesParams) SetPage(v int)
- func (p *ListAutoScaleVmProfilesParams) SetPagesize(v int)
- func (p *ListAutoScaleVmProfilesParams) SetProjectid(v string)
- func (p *ListAutoScaleVmProfilesParams) SetTemplateid(v string)
- type ListAutoScaleVmProfilesResponse
- type ListBaremetalDhcpParams
- type ListBaremetalDhcpResponse
- type ListBaremetalPxeServersParams
- type ListBaremetalPxeServersResponse
- type ListBigSwitchVnsDevicesParams
- func (p *ListBigSwitchVnsDevicesParams) SetKeyword(v string)
- func (p *ListBigSwitchVnsDevicesParams) SetPage(v int)
- func (p *ListBigSwitchVnsDevicesParams) SetPagesize(v int)
- func (p *ListBigSwitchVnsDevicesParams) SetPhysicalnetworkid(v string)
- func (p *ListBigSwitchVnsDevicesParams) SetVnsdeviceid(v string)
- type ListBigSwitchVnsDevicesResponse
- type ListCapabilitiesParams
- type ListCapabilitiesResponse
- type ListCapacityParams
- func (p *ListCapacityParams) SetClusterid(v string)
- func (p *ListCapacityParams) SetFetchlatest(v bool)
- func (p *ListCapacityParams) SetKeyword(v string)
- func (p *ListCapacityParams) SetPage(v int)
- func (p *ListCapacityParams) SetPagesize(v int)
- func (p *ListCapacityParams) SetPodid(v string)
- func (p *ListCapacityParams) SetSortby(v string)
- func (p *ListCapacityParams) SetType(v int)
- func (p *ListCapacityParams) SetZoneid(v string)
- type ListCapacityResponse
- type ListCiscoAsa1000vResourcesParams
- func (p *ListCiscoAsa1000vResourcesParams) SetHostname(v string)
- func (p *ListCiscoAsa1000vResourcesParams) SetKeyword(v string)
- func (p *ListCiscoAsa1000vResourcesParams) SetPage(v int)
- func (p *ListCiscoAsa1000vResourcesParams) SetPagesize(v int)
- func (p *ListCiscoAsa1000vResourcesParams) SetPhysicalnetworkid(v string)
- func (p *ListCiscoAsa1000vResourcesParams) SetResourceid(v string)
- type ListCiscoAsa1000vResourcesResponse
- type ListCiscoNexusVSMsParams
- type ListCiscoNexusVSMsResponse
- type ListCiscoVnmcResourcesParams
- func (p *ListCiscoVnmcResourcesParams) SetKeyword(v string)
- func (p *ListCiscoVnmcResourcesParams) SetPage(v int)
- func (p *ListCiscoVnmcResourcesParams) SetPagesize(v int)
- func (p *ListCiscoVnmcResourcesParams) SetPhysicalnetworkid(v string)
- func (p *ListCiscoVnmcResourcesParams) SetResourceid(v string)
- type ListCiscoVnmcResourcesResponse
- type ListClustersParams
- func (p *ListClustersParams) SetAllocationstate(v string)
- func (p *ListClustersParams) SetClustertype(v string)
- func (p *ListClustersParams) SetHypervisor(v string)
- func (p *ListClustersParams) SetId(v string)
- func (p *ListClustersParams) SetKeyword(v string)
- func (p *ListClustersParams) SetManagedstate(v string)
- func (p *ListClustersParams) SetName(v string)
- func (p *ListClustersParams) SetPage(v int)
- func (p *ListClustersParams) SetPagesize(v int)
- func (p *ListClustersParams) SetPodid(v string)
- func (p *ListClustersParams) SetShowcapacities(v bool)
- func (p *ListClustersParams) SetZoneid(v string)
- type ListClustersResponse
- type ListConditionsParams
- func (p *ListConditionsParams) SetAccount(v string)
- func (p *ListConditionsParams) SetCounterid(v string)
- func (p *ListConditionsParams) SetDomainid(v string)
- func (p *ListConditionsParams) SetId(v string)
- func (p *ListConditionsParams) SetIsrecursive(v bool)
- func (p *ListConditionsParams) SetKeyword(v string)
- func (p *ListConditionsParams) SetListall(v bool)
- func (p *ListConditionsParams) SetPage(v int)
- func (p *ListConditionsParams) SetPagesize(v int)
- func (p *ListConditionsParams) SetPolicyid(v string)
- type ListConditionsResponse
- type ListConfigurationsParams
- func (p *ListConfigurationsParams) SetAccountid(v string)
- func (p *ListConfigurationsParams) SetCategory(v string)
- func (p *ListConfigurationsParams) SetClusterid(v string)
- func (p *ListConfigurationsParams) SetKeyword(v string)
- func (p *ListConfigurationsParams) SetName(v string)
- func (p *ListConfigurationsParams) SetPage(v int)
- func (p *ListConfigurationsParams) SetPagesize(v int)
- func (p *ListConfigurationsParams) SetStorageid(v string)
- func (p *ListConfigurationsParams) SetZoneid(v string)
- type ListConfigurationsResponse
- type ListCountersParams
- type ListCountersResponse
- type ListDedicatedClustersParams
- func (p *ListDedicatedClustersParams) SetAccount(v string)
- func (p *ListDedicatedClustersParams) SetAffinitygroupid(v string)
- func (p *ListDedicatedClustersParams) SetClusterid(v string)
- func (p *ListDedicatedClustersParams) SetDomainid(v string)
- func (p *ListDedicatedClustersParams) SetKeyword(v string)
- func (p *ListDedicatedClustersParams) SetPage(v int)
- func (p *ListDedicatedClustersParams) SetPagesize(v int)
- type ListDedicatedClustersResponse
- type ListDedicatedGuestVlanRangesParams
- func (p *ListDedicatedGuestVlanRangesParams) SetAccount(v string)
- func (p *ListDedicatedGuestVlanRangesParams) SetDomainid(v string)
- func (p *ListDedicatedGuestVlanRangesParams) SetGuestvlanrange(v string)
- func (p *ListDedicatedGuestVlanRangesParams) SetId(v string)
- func (p *ListDedicatedGuestVlanRangesParams) SetKeyword(v string)
- func (p *ListDedicatedGuestVlanRangesParams) SetPage(v int)
- func (p *ListDedicatedGuestVlanRangesParams) SetPagesize(v int)
- func (p *ListDedicatedGuestVlanRangesParams) SetPhysicalnetworkid(v string)
- func (p *ListDedicatedGuestVlanRangesParams) SetProjectid(v string)
- func (p *ListDedicatedGuestVlanRangesParams) SetZoneid(v string)
- type ListDedicatedGuestVlanRangesResponse
- type ListDedicatedHostsParams
- func (p *ListDedicatedHostsParams) SetAccount(v string)
- func (p *ListDedicatedHostsParams) SetAffinitygroupid(v string)
- func (p *ListDedicatedHostsParams) SetDomainid(v string)
- func (p *ListDedicatedHostsParams) SetHostid(v string)
- func (p *ListDedicatedHostsParams) SetKeyword(v string)
- func (p *ListDedicatedHostsParams) SetPage(v int)
- func (p *ListDedicatedHostsParams) SetPagesize(v int)
- type ListDedicatedHostsResponse
- type ListDedicatedPodsParams
- func (p *ListDedicatedPodsParams) SetAccount(v string)
- func (p *ListDedicatedPodsParams) SetAffinitygroupid(v string)
- func (p *ListDedicatedPodsParams) SetDomainid(v string)
- func (p *ListDedicatedPodsParams) SetKeyword(v string)
- func (p *ListDedicatedPodsParams) SetPage(v int)
- func (p *ListDedicatedPodsParams) SetPagesize(v int)
- func (p *ListDedicatedPodsParams) SetPodid(v string)
- type ListDedicatedPodsResponse
- type ListDedicatedZonesParams
- func (p *ListDedicatedZonesParams) SetAccount(v string)
- func (p *ListDedicatedZonesParams) SetAffinitygroupid(v string)
- func (p *ListDedicatedZonesParams) SetDomainid(v string)
- func (p *ListDedicatedZonesParams) SetKeyword(v string)
- func (p *ListDedicatedZonesParams) SetPage(v int)
- func (p *ListDedicatedZonesParams) SetPagesize(v int)
- func (p *ListDedicatedZonesParams) SetZoneid(v string)
- type ListDedicatedZonesResponse
- type ListDeploymentPlannersParams
- type ListDeploymentPlannersResponse
- type ListDiskOfferingsParams
- func (p *ListDiskOfferingsParams) SetDomainid(v string)
- func (p *ListDiskOfferingsParams) SetId(v string)
- func (p *ListDiskOfferingsParams) SetKeyword(v string)
- func (p *ListDiskOfferingsParams) SetName(v string)
- func (p *ListDiskOfferingsParams) SetPage(v int)
- func (p *ListDiskOfferingsParams) SetPagesize(v int)
- type ListDiskOfferingsResponse
- type ListDomainChildrenParams
- func (p *ListDomainChildrenParams) SetId(v string)
- func (p *ListDomainChildrenParams) SetIsrecursive(v bool)
- func (p *ListDomainChildrenParams) SetKeyword(v string)
- func (p *ListDomainChildrenParams) SetListall(v bool)
- func (p *ListDomainChildrenParams) SetName(v string)
- func (p *ListDomainChildrenParams) SetPage(v int)
- func (p *ListDomainChildrenParams) SetPagesize(v int)
- type ListDomainChildrenResponse
- type ListDomainsParams
- func (p *ListDomainsParams) SetId(v string)
- func (p *ListDomainsParams) SetKeyword(v string)
- func (p *ListDomainsParams) SetLevel(v int)
- func (p *ListDomainsParams) SetListall(v bool)
- func (p *ListDomainsParams) SetName(v string)
- func (p *ListDomainsParams) SetPage(v int)
- func (p *ListDomainsParams) SetPagesize(v int)
- type ListDomainsResponse
- type ListEgressFirewallRulesParams
- func (p *ListEgressFirewallRulesParams) SetAccount(v string)
- func (p *ListEgressFirewallRulesParams) SetDomainid(v string)
- func (p *ListEgressFirewallRulesParams) SetId(v string)
- func (p *ListEgressFirewallRulesParams) SetIpaddressid(v string)
- func (p *ListEgressFirewallRulesParams) SetIsrecursive(v bool)
- func (p *ListEgressFirewallRulesParams) SetKeyword(v string)
- func (p *ListEgressFirewallRulesParams) SetListall(v bool)
- func (p *ListEgressFirewallRulesParams) SetNetworkid(v string)
- func (p *ListEgressFirewallRulesParams) SetPage(v int)
- func (p *ListEgressFirewallRulesParams) SetPagesize(v int)
- func (p *ListEgressFirewallRulesParams) SetProjectid(v string)
- func (p *ListEgressFirewallRulesParams) SetTags(v map[string]string)
- type ListEgressFirewallRulesResponse
- type ListEventTypesParams
- type ListEventTypesResponse
- type ListEventsParams
- func (p *ListEventsParams) SetAccount(v string)
- func (p *ListEventsParams) SetDomainid(v string)
- func (p *ListEventsParams) SetDuration(v int)
- func (p *ListEventsParams) SetEnddate(v string)
- func (p *ListEventsParams) SetEntrytime(v int)
- func (p *ListEventsParams) SetId(v string)
- func (p *ListEventsParams) SetIsrecursive(v bool)
- func (p *ListEventsParams) SetKeyword(v string)
- func (p *ListEventsParams) SetLevel(v string)
- func (p *ListEventsParams) SetListall(v bool)
- func (p *ListEventsParams) SetPage(v int)
- func (p *ListEventsParams) SetPagesize(v int)
- func (p *ListEventsParams) SetProjectid(v string)
- func (p *ListEventsParams) SetStartdate(v string)
- func (p *ListEventsParams) SetType(v string)
- type ListEventsResponse
- type ListExternalFirewallsParams
- type ListExternalFirewallsResponse
- type ListExternalLoadBalancersParams
- type ListExternalLoadBalancersResponse
- type ListF5LoadBalancerNetworksParams
- type ListF5LoadBalancerNetworksResponse
- type ListF5LoadBalancersParams
- type ListF5LoadBalancersResponse
- type ListFirewallRulesParams
- func (p *ListFirewallRulesParams) SetAccount(v string)
- func (p *ListFirewallRulesParams) SetDomainid(v string)
- func (p *ListFirewallRulesParams) SetId(v string)
- func (p *ListFirewallRulesParams) SetIpaddressid(v string)
- func (p *ListFirewallRulesParams) SetIsrecursive(v bool)
- func (p *ListFirewallRulesParams) SetKeyword(v string)
- func (p *ListFirewallRulesParams) SetListall(v bool)
- func (p *ListFirewallRulesParams) SetNetworkid(v string)
- func (p *ListFirewallRulesParams) SetPage(v int)
- func (p *ListFirewallRulesParams) SetPagesize(v int)
- func (p *ListFirewallRulesParams) SetProjectid(v string)
- func (p *ListFirewallRulesParams) SetTags(v map[string]string)
- type ListFirewallRulesResponse
- type ListGlobalLoadBalancerRulesParams
- func (p *ListGlobalLoadBalancerRulesParams) SetAccount(v string)
- func (p *ListGlobalLoadBalancerRulesParams) SetDomainid(v string)
- func (p *ListGlobalLoadBalancerRulesParams) SetId(v string)
- func (p *ListGlobalLoadBalancerRulesParams) SetIsrecursive(v bool)
- func (p *ListGlobalLoadBalancerRulesParams) SetKeyword(v string)
- func (p *ListGlobalLoadBalancerRulesParams) SetListall(v bool)
- func (p *ListGlobalLoadBalancerRulesParams) SetPage(v int)
- func (p *ListGlobalLoadBalancerRulesParams) SetPagesize(v int)
- func (p *ListGlobalLoadBalancerRulesParams) SetProjectid(v string)
- func (p *ListGlobalLoadBalancerRulesParams) SetRegionid(v int)
- func (p *ListGlobalLoadBalancerRulesParams) SetTags(v map[string]string)
- type ListGlobalLoadBalancerRulesResponse
- type ListHostsParams
- func (p *ListHostsParams) SetClusterid(v string)
- func (p *ListHostsParams) SetDetails(v []string)
- func (p *ListHostsParams) SetHahost(v bool)
- func (p *ListHostsParams) SetHypervisor(v string)
- func (p *ListHostsParams) SetId(v string)
- func (p *ListHostsParams) SetKeyword(v string)
- func (p *ListHostsParams) SetName(v string)
- func (p *ListHostsParams) SetPage(v int)
- func (p *ListHostsParams) SetPagesize(v int)
- func (p *ListHostsParams) SetPodid(v string)
- func (p *ListHostsParams) SetResourcestate(v string)
- func (p *ListHostsParams) SetState(v string)
- func (p *ListHostsParams) SetType(v string)
- func (p *ListHostsParams) SetVirtualmachineid(v string)
- func (p *ListHostsParams) SetZoneid(v string)
- type ListHostsResponse
- type ListHypervisorCapabilitiesParams
- func (p *ListHypervisorCapabilitiesParams) SetHypervisor(v string)
- func (p *ListHypervisorCapabilitiesParams) SetId(v string)
- func (p *ListHypervisorCapabilitiesParams) SetKeyword(v string)
- func (p *ListHypervisorCapabilitiesParams) SetPage(v int)
- func (p *ListHypervisorCapabilitiesParams) SetPagesize(v int)
- type ListHypervisorCapabilitiesResponse
- type ListHypervisorsParams
- type ListHypervisorsResponse
- type ListImageStoresParams
- func (p *ListImageStoresParams) SetId(v string)
- func (p *ListImageStoresParams) SetKeyword(v string)
- func (p *ListImageStoresParams) SetName(v string)
- func (p *ListImageStoresParams) SetPage(v int)
- func (p *ListImageStoresParams) SetPagesize(v int)
- func (p *ListImageStoresParams) SetProtocol(v string)
- func (p *ListImageStoresParams) SetProvider(v string)
- func (p *ListImageStoresParams) SetZoneid(v string)
- type ListImageStoresResponse
- type ListInstanceGroupsParams
- func (p *ListInstanceGroupsParams) SetAccount(v string)
- func (p *ListInstanceGroupsParams) SetDomainid(v string)
- func (p *ListInstanceGroupsParams) SetId(v string)
- func (p *ListInstanceGroupsParams) SetIsrecursive(v bool)
- func (p *ListInstanceGroupsParams) SetKeyword(v string)
- func (p *ListInstanceGroupsParams) SetListall(v bool)
- func (p *ListInstanceGroupsParams) SetName(v string)
- func (p *ListInstanceGroupsParams) SetPage(v int)
- func (p *ListInstanceGroupsParams) SetPagesize(v int)
- func (p *ListInstanceGroupsParams) SetProjectid(v string)
- type ListInstanceGroupsResponse
- type ListInternalLoadBalancerElementsParams
- func (p *ListInternalLoadBalancerElementsParams) SetEnabled(v bool)
- func (p *ListInternalLoadBalancerElementsParams) SetId(v string)
- func (p *ListInternalLoadBalancerElementsParams) SetKeyword(v string)
- func (p *ListInternalLoadBalancerElementsParams) SetNspid(v string)
- func (p *ListInternalLoadBalancerElementsParams) SetPage(v int)
- func (p *ListInternalLoadBalancerElementsParams) SetPagesize(v int)
- type ListInternalLoadBalancerElementsResponse
- type ListInternalLoadBalancerVMsParams
- func (p *ListInternalLoadBalancerVMsParams) SetAccount(v string)
- func (p *ListInternalLoadBalancerVMsParams) SetDomainid(v string)
- func (p *ListInternalLoadBalancerVMsParams) SetForvpc(v bool)
- func (p *ListInternalLoadBalancerVMsParams) SetHostid(v string)
- func (p *ListInternalLoadBalancerVMsParams) SetId(v string)
- func (p *ListInternalLoadBalancerVMsParams) SetIsrecursive(v bool)
- func (p *ListInternalLoadBalancerVMsParams) SetKeyword(v string)
- func (p *ListInternalLoadBalancerVMsParams) SetListall(v bool)
- func (p *ListInternalLoadBalancerVMsParams) SetName(v string)
- func (p *ListInternalLoadBalancerVMsParams) SetNetworkid(v string)
- func (p *ListInternalLoadBalancerVMsParams) SetPage(v int)
- func (p *ListInternalLoadBalancerVMsParams) SetPagesize(v int)
- func (p *ListInternalLoadBalancerVMsParams) SetPodid(v string)
- func (p *ListInternalLoadBalancerVMsParams) SetProjectid(v string)
- func (p *ListInternalLoadBalancerVMsParams) SetState(v string)
- func (p *ListInternalLoadBalancerVMsParams) SetVpcid(v string)
- func (p *ListInternalLoadBalancerVMsParams) SetZoneid(v string)
- type ListInternalLoadBalancerVMsResponse
- type ListIpForwardingRulesParams
- func (p *ListIpForwardingRulesParams) SetAccount(v string)
- func (p *ListIpForwardingRulesParams) SetDomainid(v string)
- func (p *ListIpForwardingRulesParams) SetId(v string)
- func (p *ListIpForwardingRulesParams) SetIpaddressid(v string)
- func (p *ListIpForwardingRulesParams) SetIsrecursive(v bool)
- func (p *ListIpForwardingRulesParams) SetKeyword(v string)
- func (p *ListIpForwardingRulesParams) SetListall(v bool)
- func (p *ListIpForwardingRulesParams) SetPage(v int)
- func (p *ListIpForwardingRulesParams) SetPagesize(v int)
- func (p *ListIpForwardingRulesParams) SetProjectid(v string)
- func (p *ListIpForwardingRulesParams) SetVirtualmachineid(v string)
- type ListIpForwardingRulesResponse
- type ListIsoPermissionsParams
- type ListIsoPermissionsResponse
- type ListIsosParams
- func (p *ListIsosParams) SetAccount(v string)
- func (p *ListIsosParams) SetBootable(v bool)
- func (p *ListIsosParams) SetDomainid(v string)
- func (p *ListIsosParams) SetHypervisor(v string)
- func (p *ListIsosParams) SetId(v string)
- func (p *ListIsosParams) SetIsofilter(v string)
- func (p *ListIsosParams) SetIspublic(v bool)
- func (p *ListIsosParams) SetIsready(v bool)
- func (p *ListIsosParams) SetIsrecursive(v bool)
- func (p *ListIsosParams) SetKeyword(v string)
- func (p *ListIsosParams) SetListall(v bool)
- func (p *ListIsosParams) SetName(v string)
- func (p *ListIsosParams) SetPage(v int)
- func (p *ListIsosParams) SetPagesize(v int)
- func (p *ListIsosParams) SetProjectid(v string)
- func (p *ListIsosParams) SetShowremoved(v bool)
- func (p *ListIsosParams) SetTags(v map[string]string)
- func (p *ListIsosParams) SetZoneid(v string)
- type ListIsosResponse
- type ListLBHealthCheckPoliciesParams
- type ListLBHealthCheckPoliciesResponse
- type ListLBStickinessPoliciesParams
- type ListLBStickinessPoliciesResponse
- type ListLdapConfigurationsParams
- type ListLdapConfigurationsResponse
- type ListLdapUsersParams
- type ListLdapUsersResponse
- type ListLoadBalancerRuleInstancesParams
- func (p *ListLoadBalancerRuleInstancesParams) SetApplied(v bool)
- func (p *ListLoadBalancerRuleInstancesParams) SetId(v string)
- func (p *ListLoadBalancerRuleInstancesParams) SetKeyword(v string)
- func (p *ListLoadBalancerRuleInstancesParams) SetPage(v int)
- func (p *ListLoadBalancerRuleInstancesParams) SetPagesize(v int)
- type ListLoadBalancerRuleInstancesResponse
- type ListLoadBalancerRulesParams
- func (p *ListLoadBalancerRulesParams) SetAccount(v string)
- func (p *ListLoadBalancerRulesParams) SetDomainid(v string)
- func (p *ListLoadBalancerRulesParams) SetId(v string)
- func (p *ListLoadBalancerRulesParams) SetIsrecursive(v bool)
- func (p *ListLoadBalancerRulesParams) SetKeyword(v string)
- func (p *ListLoadBalancerRulesParams) SetListall(v bool)
- func (p *ListLoadBalancerRulesParams) SetName(v string)
- func (p *ListLoadBalancerRulesParams) SetNetworkid(v string)
- func (p *ListLoadBalancerRulesParams) SetPage(v int)
- func (p *ListLoadBalancerRulesParams) SetPagesize(v int)
- func (p *ListLoadBalancerRulesParams) SetProjectid(v string)
- func (p *ListLoadBalancerRulesParams) SetPublicipid(v string)
- func (p *ListLoadBalancerRulesParams) SetTags(v map[string]string)
- func (p *ListLoadBalancerRulesParams) SetVirtualmachineid(v string)
- func (p *ListLoadBalancerRulesParams) SetZoneid(v string)
- type ListLoadBalancerRulesResponse
- type ListLoadBalancersParams
- func (p *ListLoadBalancersParams) SetAccount(v string)
- func (p *ListLoadBalancersParams) SetDomainid(v string)
- func (p *ListLoadBalancersParams) SetId(v string)
- func (p *ListLoadBalancersParams) SetIsrecursive(v bool)
- func (p *ListLoadBalancersParams) SetKeyword(v string)
- func (p *ListLoadBalancersParams) SetListall(v bool)
- func (p *ListLoadBalancersParams) SetName(v string)
- func (p *ListLoadBalancersParams) SetNetworkid(v string)
- func (p *ListLoadBalancersParams) SetPage(v int)
- func (p *ListLoadBalancersParams) SetPagesize(v int)
- func (p *ListLoadBalancersParams) SetProjectid(v string)
- func (p *ListLoadBalancersParams) SetScheme(v string)
- func (p *ListLoadBalancersParams) SetSourceipaddress(v string)
- func (p *ListLoadBalancersParams) SetSourceipaddressnetworkid(v string)
- func (p *ListLoadBalancersParams) SetTags(v map[string]string)
- type ListLoadBalancersResponse
- type ListNetscalerLoadBalancerNetworksParams
- type ListNetscalerLoadBalancerNetworksResponse
- type ListNetscalerLoadBalancersParams
- func (p *ListNetscalerLoadBalancersParams) SetKeyword(v string)
- func (p *ListNetscalerLoadBalancersParams) SetLbdeviceid(v string)
- func (p *ListNetscalerLoadBalancersParams) SetPage(v int)
- func (p *ListNetscalerLoadBalancersParams) SetPagesize(v int)
- func (p *ListNetscalerLoadBalancersParams) SetPhysicalnetworkid(v string)
- type ListNetscalerLoadBalancersResponse
- type ListNetworkACLListsParams
- func (p *ListNetworkACLListsParams) SetAccount(v string)
- func (p *ListNetworkACLListsParams) SetDomainid(v string)
- func (p *ListNetworkACLListsParams) SetId(v string)
- func (p *ListNetworkACLListsParams) SetIsrecursive(v bool)
- func (p *ListNetworkACLListsParams) SetKeyword(v string)
- func (p *ListNetworkACLListsParams) SetListall(v bool)
- func (p *ListNetworkACLListsParams) SetName(v string)
- func (p *ListNetworkACLListsParams) SetNetworkid(v string)
- func (p *ListNetworkACLListsParams) SetPage(v int)
- func (p *ListNetworkACLListsParams) SetPagesize(v int)
- func (p *ListNetworkACLListsParams) SetProjectid(v string)
- func (p *ListNetworkACLListsParams) SetVpcid(v string)
- type ListNetworkACLListsResponse
- type ListNetworkACLsParams
- func (p *ListNetworkACLsParams) SetAccount(v string)
- func (p *ListNetworkACLsParams) SetAclid(v string)
- func (p *ListNetworkACLsParams) SetAction(v string)
- func (p *ListNetworkACLsParams) SetDomainid(v string)
- func (p *ListNetworkACLsParams) SetId(v string)
- func (p *ListNetworkACLsParams) SetIsrecursive(v bool)
- func (p *ListNetworkACLsParams) SetKeyword(v string)
- func (p *ListNetworkACLsParams) SetListall(v bool)
- func (p *ListNetworkACLsParams) SetNetworkid(v string)
- func (p *ListNetworkACLsParams) SetPage(v int)
- func (p *ListNetworkACLsParams) SetPagesize(v int)
- func (p *ListNetworkACLsParams) SetProjectid(v string)
- func (p *ListNetworkACLsParams) SetProtocol(v string)
- func (p *ListNetworkACLsParams) SetTags(v map[string]string)
- func (p *ListNetworkACLsParams) SetTraffictype(v string)
- type ListNetworkACLsResponse
- type ListNetworkDeviceParams
- func (p *ListNetworkDeviceParams) SetKeyword(v string)
- func (p *ListNetworkDeviceParams) SetNetworkdeviceparameterlist(v map[string]string)
- func (p *ListNetworkDeviceParams) SetNetworkdevicetype(v string)
- func (p *ListNetworkDeviceParams) SetPage(v int)
- func (p *ListNetworkDeviceParams) SetPagesize(v int)
- type ListNetworkDeviceResponse
- type ListNetworkIsolationMethodsParams
- type ListNetworkIsolationMethodsResponse
- type ListNetworkOfferingsParams
- func (p *ListNetworkOfferingsParams) SetAvailability(v string)
- func (p *ListNetworkOfferingsParams) SetDisplaytext(v string)
- func (p *ListNetworkOfferingsParams) SetForvpc(v bool)
- func (p *ListNetworkOfferingsParams) SetGuestiptype(v string)
- func (p *ListNetworkOfferingsParams) SetId(v string)
- func (p *ListNetworkOfferingsParams) SetIsdefault(v bool)
- func (p *ListNetworkOfferingsParams) SetIstagged(v bool)
- func (p *ListNetworkOfferingsParams) SetKeyword(v string)
- func (p *ListNetworkOfferingsParams) SetName(v string)
- func (p *ListNetworkOfferingsParams) SetNetworkid(v string)
- func (p *ListNetworkOfferingsParams) SetPage(v int)
- func (p *ListNetworkOfferingsParams) SetPagesize(v int)
- func (p *ListNetworkOfferingsParams) SetSourcenatsupported(v bool)
- func (p *ListNetworkOfferingsParams) SetSpecifyipranges(v bool)
- func (p *ListNetworkOfferingsParams) SetSpecifyvlan(v bool)
- func (p *ListNetworkOfferingsParams) SetState(v string)
- func (p *ListNetworkOfferingsParams) SetSupportedservices(v []string)
- func (p *ListNetworkOfferingsParams) SetTags(v string)
- func (p *ListNetworkOfferingsParams) SetTraffictype(v string)
- func (p *ListNetworkOfferingsParams) SetZoneid(v string)
- type ListNetworkOfferingsResponse
- type ListNetworkServiceProvidersParams
- func (p *ListNetworkServiceProvidersParams) SetKeyword(v string)
- func (p *ListNetworkServiceProvidersParams) SetName(v string)
- func (p *ListNetworkServiceProvidersParams) SetPage(v int)
- func (p *ListNetworkServiceProvidersParams) SetPagesize(v int)
- func (p *ListNetworkServiceProvidersParams) SetPhysicalnetworkid(v string)
- func (p *ListNetworkServiceProvidersParams) SetState(v string)
- type ListNetworkServiceProvidersResponse
- type ListNetworksParams
- func (p *ListNetworksParams) SetAccount(v string)
- func (p *ListNetworksParams) SetAcltype(v string)
- func (p *ListNetworksParams) SetCanusefordeploy(v bool)
- func (p *ListNetworksParams) SetDomainid(v string)
- func (p *ListNetworksParams) SetForvpc(v bool)
- func (p *ListNetworksParams) SetId(v string)
- func (p *ListNetworksParams) SetIsrecursive(v bool)
- func (p *ListNetworksParams) SetIssystem(v bool)
- func (p *ListNetworksParams) SetKeyword(v string)
- func (p *ListNetworksParams) SetListall(v bool)
- func (p *ListNetworksParams) SetPage(v int)
- func (p *ListNetworksParams) SetPagesize(v int)
- func (p *ListNetworksParams) SetPhysicalnetworkid(v string)
- func (p *ListNetworksParams) SetProjectid(v string)
- func (p *ListNetworksParams) SetRestartrequired(v bool)
- func (p *ListNetworksParams) SetSpecifyipranges(v bool)
- func (p *ListNetworksParams) SetSupportedservices(v []string)
- func (p *ListNetworksParams) SetTags(v map[string]string)
- func (p *ListNetworksParams) SetTraffictype(v string)
- func (p *ListNetworksParams) SetType(v string)
- func (p *ListNetworksParams) SetVpcid(v string)
- func (p *ListNetworksParams) SetZoneid(v string)
- type ListNetworksResponse
- type ListNiciraNvpDeviceNetworksParams
- type ListNiciraNvpDeviceNetworksResponse
- type ListNiciraNvpDevicesParams
- type ListNiciraNvpDevicesResponse
- type ListNicsParams
- type ListNicsResponse
- type ListOsCategoriesParams
- type ListOsCategoriesResponse
- type ListOsTypesParams
- type ListOsTypesResponse
- type ListPaloAltoFirewallNetworksParams
- type ListPaloAltoFirewallNetworksResponse
- type ListPaloAltoFirewallsParams
- type ListPaloAltoFirewallsResponse
- type ListPhysicalNetworksParams
- func (p *ListPhysicalNetworksParams) SetId(v string)
- func (p *ListPhysicalNetworksParams) SetKeyword(v string)
- func (p *ListPhysicalNetworksParams) SetName(v string)
- func (p *ListPhysicalNetworksParams) SetPage(v int)
- func (p *ListPhysicalNetworksParams) SetPagesize(v int)
- func (p *ListPhysicalNetworksParams) SetZoneid(v string)
- type ListPhysicalNetworksResponse
- type ListPodsParams
- func (p *ListPodsParams) SetAllocationstate(v string)
- func (p *ListPodsParams) SetId(v string)
- func (p *ListPodsParams) SetKeyword(v string)
- func (p *ListPodsParams) SetName(v string)
- func (p *ListPodsParams) SetPage(v int)
- func (p *ListPodsParams) SetPagesize(v int)
- func (p *ListPodsParams) SetShowcapacities(v bool)
- func (p *ListPodsParams) SetZoneid(v string)
- type ListPodsResponse
- type ListPortForwardingRulesParams
- func (p *ListPortForwardingRulesParams) SetAccount(v string)
- func (p *ListPortForwardingRulesParams) SetDomainid(v string)
- func (p *ListPortForwardingRulesParams) SetId(v string)
- func (p *ListPortForwardingRulesParams) SetIpaddressid(v string)
- func (p *ListPortForwardingRulesParams) SetIsrecursive(v bool)
- func (p *ListPortForwardingRulesParams) SetKeyword(v string)
- func (p *ListPortForwardingRulesParams) SetListall(v bool)
- func (p *ListPortForwardingRulesParams) SetNetworkid(v string)
- func (p *ListPortForwardingRulesParams) SetPage(v int)
- func (p *ListPortForwardingRulesParams) SetPagesize(v int)
- func (p *ListPortForwardingRulesParams) SetProjectid(v string)
- func (p *ListPortForwardingRulesParams) SetTags(v map[string]string)
- type ListPortForwardingRulesResponse
- type ListPortableIpRangesParams
- type ListPortableIpRangesResponse
- type ListPrivateGatewaysParams
- func (p *ListPrivateGatewaysParams) SetAccount(v string)
- func (p *ListPrivateGatewaysParams) SetDomainid(v string)
- func (p *ListPrivateGatewaysParams) SetId(v string)
- func (p *ListPrivateGatewaysParams) SetIpaddress(v string)
- func (p *ListPrivateGatewaysParams) SetIsrecursive(v bool)
- func (p *ListPrivateGatewaysParams) SetKeyword(v string)
- func (p *ListPrivateGatewaysParams) SetListall(v bool)
- func (p *ListPrivateGatewaysParams) SetPage(v int)
- func (p *ListPrivateGatewaysParams) SetPagesize(v int)
- func (p *ListPrivateGatewaysParams) SetProjectid(v string)
- func (p *ListPrivateGatewaysParams) SetState(v string)
- func (p *ListPrivateGatewaysParams) SetVlan(v string)
- func (p *ListPrivateGatewaysParams) SetVpcid(v string)
- type ListPrivateGatewaysResponse
- type ListProjectAccountsParams
- func (p *ListProjectAccountsParams) SetAccount(v string)
- func (p *ListProjectAccountsParams) SetKeyword(v string)
- func (p *ListProjectAccountsParams) SetPage(v int)
- func (p *ListProjectAccountsParams) SetPagesize(v int)
- func (p *ListProjectAccountsParams) SetProjectid(v string)
- func (p *ListProjectAccountsParams) SetRole(v string)
- type ListProjectAccountsResponse
- type ListProjectInvitationsParams
- func (p *ListProjectInvitationsParams) SetAccount(v string)
- func (p *ListProjectInvitationsParams) SetActiveonly(v bool)
- func (p *ListProjectInvitationsParams) SetDomainid(v string)
- func (p *ListProjectInvitationsParams) SetId(v string)
- func (p *ListProjectInvitationsParams) SetIsrecursive(v bool)
- func (p *ListProjectInvitationsParams) SetKeyword(v string)
- func (p *ListProjectInvitationsParams) SetListall(v bool)
- func (p *ListProjectInvitationsParams) SetPage(v int)
- func (p *ListProjectInvitationsParams) SetPagesize(v int)
- func (p *ListProjectInvitationsParams) SetProjectid(v string)
- func (p *ListProjectInvitationsParams) SetState(v string)
- type ListProjectInvitationsResponse
- type ListProjectsParams
- func (p *ListProjectsParams) SetAccount(v string)
- func (p *ListProjectsParams) SetDisplaytext(v string)
- func (p *ListProjectsParams) SetDomainid(v string)
- func (p *ListProjectsParams) SetId(v string)
- func (p *ListProjectsParams) SetIsrecursive(v bool)
- func (p *ListProjectsParams) SetKeyword(v string)
- func (p *ListProjectsParams) SetListall(v bool)
- func (p *ListProjectsParams) SetName(v string)
- func (p *ListProjectsParams) SetPage(v int)
- func (p *ListProjectsParams) SetPagesize(v int)
- func (p *ListProjectsParams) SetState(v string)
- func (p *ListProjectsParams) SetTags(v map[string]string)
- type ListProjectsResponse
- type ListPublicIpAddressesParams
- func (p *ListPublicIpAddressesParams) SetAccount(v string)
- func (p *ListPublicIpAddressesParams) SetAllocatedonly(v bool)
- func (p *ListPublicIpAddressesParams) SetAssociatednetworkid(v string)
- func (p *ListPublicIpAddressesParams) SetDomainid(v string)
- func (p *ListPublicIpAddressesParams) SetForloadbalancing(v bool)
- func (p *ListPublicIpAddressesParams) SetForvirtualnetwork(v bool)
- func (p *ListPublicIpAddressesParams) SetId(v string)
- func (p *ListPublicIpAddressesParams) SetIpaddress(v string)
- func (p *ListPublicIpAddressesParams) SetIsrecursive(v bool)
- func (p *ListPublicIpAddressesParams) SetIssourcenat(v bool)
- func (p *ListPublicIpAddressesParams) SetIsstaticnat(v bool)
- func (p *ListPublicIpAddressesParams) SetKeyword(v string)
- func (p *ListPublicIpAddressesParams) SetListall(v bool)
- func (p *ListPublicIpAddressesParams) SetPage(v int)
- func (p *ListPublicIpAddressesParams) SetPagesize(v int)
- func (p *ListPublicIpAddressesParams) SetPhysicalnetworkid(v string)
- func (p *ListPublicIpAddressesParams) SetProjectid(v string)
- func (p *ListPublicIpAddressesParams) SetTags(v map[string]string)
- func (p *ListPublicIpAddressesParams) SetVlanid(v string)
- func (p *ListPublicIpAddressesParams) SetVpcid(v string)
- func (p *ListPublicIpAddressesParams) SetZoneid(v string)
- type ListPublicIpAddressesResponse
- type ListRegionsParams
- type ListRegionsResponse
- type ListRemoteAccessVpnsParams
- func (p *ListRemoteAccessVpnsParams) SetAccount(v string)
- func (p *ListRemoteAccessVpnsParams) SetDomainid(v string)
- func (p *ListRemoteAccessVpnsParams) SetId(v string)
- func (p *ListRemoteAccessVpnsParams) SetIsrecursive(v bool)
- func (p *ListRemoteAccessVpnsParams) SetKeyword(v string)
- func (p *ListRemoteAccessVpnsParams) SetListall(v bool)
- func (p *ListRemoteAccessVpnsParams) SetNetworkid(v string)
- func (p *ListRemoteAccessVpnsParams) SetPage(v int)
- func (p *ListRemoteAccessVpnsParams) SetPagesize(v int)
- func (p *ListRemoteAccessVpnsParams) SetProjectid(v string)
- func (p *ListRemoteAccessVpnsParams) SetPublicipid(v string)
- type ListRemoteAccessVpnsResponse
- type ListResourceDetailsParams
- func (p *ListResourceDetailsParams) SetAccount(v string)
- func (p *ListResourceDetailsParams) SetDomainid(v string)
- func (p *ListResourceDetailsParams) SetFordisplay(v bool)
- func (p *ListResourceDetailsParams) SetIsrecursive(v bool)
- func (p *ListResourceDetailsParams) SetKey(v string)
- func (p *ListResourceDetailsParams) SetKeyword(v string)
- func (p *ListResourceDetailsParams) SetListall(v bool)
- func (p *ListResourceDetailsParams) SetPage(v int)
- func (p *ListResourceDetailsParams) SetPagesize(v int)
- func (p *ListResourceDetailsParams) SetProjectid(v string)
- func (p *ListResourceDetailsParams) SetResourceid(v string)
- func (p *ListResourceDetailsParams) SetResourcetype(v string)
- type ListResourceDetailsResponse
- type ListResourceLimitsParams
- func (p *ListResourceLimitsParams) SetAccount(v string)
- func (p *ListResourceLimitsParams) SetDomainid(v string)
- func (p *ListResourceLimitsParams) SetId(v int)
- func (p *ListResourceLimitsParams) SetIsrecursive(v bool)
- func (p *ListResourceLimitsParams) SetKeyword(v string)
- func (p *ListResourceLimitsParams) SetListall(v bool)
- func (p *ListResourceLimitsParams) SetPage(v int)
- func (p *ListResourceLimitsParams) SetPagesize(v int)
- func (p *ListResourceLimitsParams) SetProjectid(v string)
- func (p *ListResourceLimitsParams) SetResourcetype(v int)
- type ListResourceLimitsResponse
- type ListRoutersParams
- func (p *ListRoutersParams) SetAccount(v string)
- func (p *ListRoutersParams) SetClusterid(v string)
- func (p *ListRoutersParams) SetDomainid(v string)
- func (p *ListRoutersParams) SetForvpc(v bool)
- func (p *ListRoutersParams) SetHostid(v string)
- func (p *ListRoutersParams) SetId(v string)
- func (p *ListRoutersParams) SetIsrecursive(v bool)
- func (p *ListRoutersParams) SetKeyword(v string)
- func (p *ListRoutersParams) SetListall(v bool)
- func (p *ListRoutersParams) SetName(v string)
- func (p *ListRoutersParams) SetNetworkid(v string)
- func (p *ListRoutersParams) SetPage(v int)
- func (p *ListRoutersParams) SetPagesize(v int)
- func (p *ListRoutersParams) SetPodid(v string)
- func (p *ListRoutersParams) SetProjectid(v string)
- func (p *ListRoutersParams) SetState(v string)
- func (p *ListRoutersParams) SetVersion(v string)
- func (p *ListRoutersParams) SetVpcid(v string)
- func (p *ListRoutersParams) SetZoneid(v string)
- type ListRoutersResponse
- type ListS3sParams
- type ListS3sResponse
- type ListSSHKeyPairsParams
- func (p *ListSSHKeyPairsParams) SetAccount(v string)
- func (p *ListSSHKeyPairsParams) SetDomainid(v string)
- func (p *ListSSHKeyPairsParams) SetFingerprint(v string)
- func (p *ListSSHKeyPairsParams) SetIsrecursive(v bool)
- func (p *ListSSHKeyPairsParams) SetKeyword(v string)
- func (p *ListSSHKeyPairsParams) SetListall(v bool)
- func (p *ListSSHKeyPairsParams) SetName(v string)
- func (p *ListSSHKeyPairsParams) SetPage(v int)
- func (p *ListSSHKeyPairsParams) SetPagesize(v int)
- func (p *ListSSHKeyPairsParams) SetProjectid(v string)
- type ListSSHKeyPairsResponse
- type ListSecondaryStagingStoresParams
- func (p *ListSecondaryStagingStoresParams) SetId(v string)
- func (p *ListSecondaryStagingStoresParams) SetKeyword(v string)
- func (p *ListSecondaryStagingStoresParams) SetName(v string)
- func (p *ListSecondaryStagingStoresParams) SetPage(v int)
- func (p *ListSecondaryStagingStoresParams) SetPagesize(v int)
- func (p *ListSecondaryStagingStoresParams) SetProtocol(v string)
- func (p *ListSecondaryStagingStoresParams) SetProvider(v string)
- func (p *ListSecondaryStagingStoresParams) SetZoneid(v string)
- type ListSecondaryStagingStoresResponse
- type ListSecurityGroupsParams
- func (p *ListSecurityGroupsParams) SetAccount(v string)
- func (p *ListSecurityGroupsParams) SetDomainid(v string)
- func (p *ListSecurityGroupsParams) SetId(v string)
- func (p *ListSecurityGroupsParams) SetIsrecursive(v bool)
- func (p *ListSecurityGroupsParams) SetKeyword(v string)
- func (p *ListSecurityGroupsParams) SetListall(v bool)
- func (p *ListSecurityGroupsParams) SetPage(v int)
- func (p *ListSecurityGroupsParams) SetPagesize(v int)
- func (p *ListSecurityGroupsParams) SetProjectid(v string)
- func (p *ListSecurityGroupsParams) SetSecuritygroupname(v string)
- func (p *ListSecurityGroupsParams) SetTags(v map[string]string)
- func (p *ListSecurityGroupsParams) SetVirtualmachineid(v string)
- type ListSecurityGroupsResponse
- type ListServiceOfferingsParams
- func (p *ListServiceOfferingsParams) SetDomainid(v string)
- func (p *ListServiceOfferingsParams) SetId(v string)
- func (p *ListServiceOfferingsParams) SetIssystem(v bool)
- func (p *ListServiceOfferingsParams) SetKeyword(v string)
- func (p *ListServiceOfferingsParams) SetName(v string)
- func (p *ListServiceOfferingsParams) SetPage(v int)
- func (p *ListServiceOfferingsParams) SetPagesize(v int)
- func (p *ListServiceOfferingsParams) SetSystemvmtype(v string)
- func (p *ListServiceOfferingsParams) SetVirtualmachineid(v string)
- type ListServiceOfferingsResponse
- type ListSnapshotPoliciesParams
- type ListSnapshotPoliciesResponse
- type ListSnapshotsParams
- func (p *ListSnapshotsParams) SetAccount(v string)
- func (p *ListSnapshotsParams) SetDomainid(v string)
- func (p *ListSnapshotsParams) SetId(v string)
- func (p *ListSnapshotsParams) SetIntervaltype(v string)
- func (p *ListSnapshotsParams) SetIsrecursive(v bool)
- func (p *ListSnapshotsParams) SetKeyword(v string)
- func (p *ListSnapshotsParams) SetListall(v bool)
- func (p *ListSnapshotsParams) SetName(v string)
- func (p *ListSnapshotsParams) SetPage(v int)
- func (p *ListSnapshotsParams) SetPagesize(v int)
- func (p *ListSnapshotsParams) SetProjectid(v string)
- func (p *ListSnapshotsParams) SetSnapshottype(v string)
- func (p *ListSnapshotsParams) SetTags(v map[string]string)
- func (p *ListSnapshotsParams) SetVolumeid(v string)
- func (p *ListSnapshotsParams) SetZoneid(v string)
- type ListSnapshotsResponse
- type ListSrxFirewallNetworksParams
- type ListSrxFirewallNetworksResponse
- type ListSrxFirewallsParams
- type ListSrxFirewallsResponse
- type ListSslCertsParams
- type ListSslCertsResponse
- type ListStaticRoutesParams
- func (p *ListStaticRoutesParams) SetAccount(v string)
- func (p *ListStaticRoutesParams) SetDomainid(v string)
- func (p *ListStaticRoutesParams) SetGatewayid(v string)
- func (p *ListStaticRoutesParams) SetId(v string)
- func (p *ListStaticRoutesParams) SetIsrecursive(v bool)
- func (p *ListStaticRoutesParams) SetKeyword(v string)
- func (p *ListStaticRoutesParams) SetListall(v bool)
- func (p *ListStaticRoutesParams) SetPage(v int)
- func (p *ListStaticRoutesParams) SetPagesize(v int)
- func (p *ListStaticRoutesParams) SetProjectid(v string)
- func (p *ListStaticRoutesParams) SetTags(v map[string]string)
- func (p *ListStaticRoutesParams) SetVpcid(v string)
- type ListStaticRoutesResponse
- type ListStorageNetworkIpRangeParams
- func (p *ListStorageNetworkIpRangeParams) SetId(v string)
- func (p *ListStorageNetworkIpRangeParams) SetKeyword(v string)
- func (p *ListStorageNetworkIpRangeParams) SetPage(v int)
- func (p *ListStorageNetworkIpRangeParams) SetPagesize(v int)
- func (p *ListStorageNetworkIpRangeParams) SetPodid(v string)
- func (p *ListStorageNetworkIpRangeParams) SetZoneid(v string)
- type ListStorageNetworkIpRangeResponse
- type ListStoragePoolsParams
- func (p *ListStoragePoolsParams) SetClusterid(v string)
- func (p *ListStoragePoolsParams) SetId(v string)
- func (p *ListStoragePoolsParams) SetIpaddress(v string)
- func (p *ListStoragePoolsParams) SetKeyword(v string)
- func (p *ListStoragePoolsParams) SetName(v string)
- func (p *ListStoragePoolsParams) SetPage(v int)
- func (p *ListStoragePoolsParams) SetPagesize(v int)
- func (p *ListStoragePoolsParams) SetPath(v string)
- func (p *ListStoragePoolsParams) SetPodid(v string)
- func (p *ListStoragePoolsParams) SetScope(v string)
- func (p *ListStoragePoolsParams) SetZoneid(v string)
- type ListStoragePoolsResponse
- type ListStorageProvidersParams
- type ListStorageProvidersResponse
- type ListSupportedNetworkServicesParams
- func (p *ListSupportedNetworkServicesParams) SetKeyword(v string)
- func (p *ListSupportedNetworkServicesParams) SetPage(v int)
- func (p *ListSupportedNetworkServicesParams) SetPagesize(v int)
- func (p *ListSupportedNetworkServicesParams) SetProvider(v string)
- func (p *ListSupportedNetworkServicesParams) SetService(v string)
- type ListSupportedNetworkServicesResponse
- type ListSwiftsParams
- type ListSwiftsResponse
- type ListSystemVmsParams
- func (p *ListSystemVmsParams) SetHostid(v string)
- func (p *ListSystemVmsParams) SetId(v string)
- func (p *ListSystemVmsParams) SetKeyword(v string)
- func (p *ListSystemVmsParams) SetName(v string)
- func (p *ListSystemVmsParams) SetPage(v int)
- func (p *ListSystemVmsParams) SetPagesize(v int)
- func (p *ListSystemVmsParams) SetPodid(v string)
- func (p *ListSystemVmsParams) SetState(v string)
- func (p *ListSystemVmsParams) SetStorageid(v string)
- func (p *ListSystemVmsParams) SetSystemvmtype(v string)
- func (p *ListSystemVmsParams) SetZoneid(v string)
- type ListSystemVmsResponse
- type ListTagsParams
- func (p *ListTagsParams) SetAccount(v string)
- func (p *ListTagsParams) SetCustomer(v string)
- func (p *ListTagsParams) SetDomainid(v string)
- func (p *ListTagsParams) SetIsrecursive(v bool)
- func (p *ListTagsParams) SetKey(v string)
- func (p *ListTagsParams) SetKeyword(v string)
- func (p *ListTagsParams) SetListall(v bool)
- func (p *ListTagsParams) SetPage(v int)
- func (p *ListTagsParams) SetPagesize(v int)
- func (p *ListTagsParams) SetProjectid(v string)
- func (p *ListTagsParams) SetResourceid(v string)
- func (p *ListTagsParams) SetResourcetype(v string)
- func (p *ListTagsParams) SetValue(v string)
- type ListTagsResponse
- type ListTemplatePermissionsParams
- type ListTemplatePermissionsResponse
- type ListTemplatesParams
- func (p *ListTemplatesParams) SetAccount(v string)
- func (p *ListTemplatesParams) SetDomainid(v string)
- func (p *ListTemplatesParams) SetHypervisor(v string)
- func (p *ListTemplatesParams) SetId(v string)
- func (p *ListTemplatesParams) SetIsrecursive(v bool)
- func (p *ListTemplatesParams) SetKeyword(v string)
- func (p *ListTemplatesParams) SetListall(v bool)
- func (p *ListTemplatesParams) SetName(v string)
- func (p *ListTemplatesParams) SetPage(v int)
- func (p *ListTemplatesParams) SetPagesize(v int)
- func (p *ListTemplatesParams) SetProjectid(v string)
- func (p *ListTemplatesParams) SetShowremoved(v bool)
- func (p *ListTemplatesParams) SetTags(v map[string]string)
- func (p *ListTemplatesParams) SetTemplatefilter(v string)
- func (p *ListTemplatesParams) SetZoneid(v string)
- type ListTemplatesResponse
- type ListTrafficMonitorsParams
- type ListTrafficMonitorsResponse
- type ListTrafficTypeImplementorsParams
- type ListTrafficTypeImplementorsResponse
- type ListTrafficTypesParams
- type ListTrafficTypesResponse
- type ListUcsBladesParams
- type ListUcsBladesResponse
- type ListUcsManagersParams
- type ListUcsManagersResponse
- type ListUcsProfilesParams
- type ListUcsProfilesResponse
- type ListUcsTemplatesParams
- type ListUcsTemplatesResponse
- type ListUsageRecordsParams
- func (p *ListUsageRecordsParams) SetAccount(v string)
- func (p *ListUsageRecordsParams) SetAccountid(v string)
- func (p *ListUsageRecordsParams) SetDomainid(v string)
- func (p *ListUsageRecordsParams) SetEnddate(v string)
- func (p *ListUsageRecordsParams) SetKeyword(v string)
- func (p *ListUsageRecordsParams) SetPage(v int)
- func (p *ListUsageRecordsParams) SetPagesize(v int)
- func (p *ListUsageRecordsParams) SetProjectid(v string)
- func (p *ListUsageRecordsParams) SetStartdate(v string)
- func (p *ListUsageRecordsParams) SetType(v int)
- type ListUsageRecordsResponse
- type ListUsageTypesParams
- type ListUsageTypesResponse
- type ListUsersParams
- func (p *ListUsersParams) SetAccount(v string)
- func (p *ListUsersParams) SetAccounttype(v int)
- func (p *ListUsersParams) SetDomainid(v string)
- func (p *ListUsersParams) SetId(v string)
- func (p *ListUsersParams) SetIsrecursive(v bool)
- func (p *ListUsersParams) SetKeyword(v string)
- func (p *ListUsersParams) SetListall(v bool)
- func (p *ListUsersParams) SetPage(v int)
- func (p *ListUsersParams) SetPagesize(v int)
- func (p *ListUsersParams) SetState(v string)
- func (p *ListUsersParams) SetUsername(v string)
- type ListUsersResponse
- type ListVMSnapshotParams
- func (p *ListVMSnapshotParams) SetAccount(v string)
- func (p *ListVMSnapshotParams) SetDomainid(v string)
- func (p *ListVMSnapshotParams) SetIsrecursive(v bool)
- func (p *ListVMSnapshotParams) SetKeyword(v string)
- func (p *ListVMSnapshotParams) SetListall(v bool)
- func (p *ListVMSnapshotParams) SetName(v string)
- func (p *ListVMSnapshotParams) SetPage(v int)
- func (p *ListVMSnapshotParams) SetPagesize(v int)
- func (p *ListVMSnapshotParams) SetProjectid(v string)
- func (p *ListVMSnapshotParams) SetState(v string)
- func (p *ListVMSnapshotParams) SetTags(v map[string]string)
- func (p *ListVMSnapshotParams) SetVirtualmachineid(v string)
- func (p *ListVMSnapshotParams) SetVmsnapshotid(v string)
- type ListVMSnapshotResponse
- type ListVPCOfferingsParams
- func (p *ListVPCOfferingsParams) SetDisplaytext(v string)
- func (p *ListVPCOfferingsParams) SetId(v string)
- func (p *ListVPCOfferingsParams) SetIsdefault(v bool)
- func (p *ListVPCOfferingsParams) SetKeyword(v string)
- func (p *ListVPCOfferingsParams) SetName(v string)
- func (p *ListVPCOfferingsParams) SetPage(v int)
- func (p *ListVPCOfferingsParams) SetPagesize(v int)
- func (p *ListVPCOfferingsParams) SetState(v string)
- func (p *ListVPCOfferingsParams) SetSupportedservices(v []string)
- type ListVPCOfferingsResponse
- type ListVPCsParams
- func (p *ListVPCsParams) SetAccount(v string)
- func (p *ListVPCsParams) SetCidr(v string)
- func (p *ListVPCsParams) SetDisplaytext(v string)
- func (p *ListVPCsParams) SetDomainid(v string)
- func (p *ListVPCsParams) SetId(v string)
- func (p *ListVPCsParams) SetIsrecursive(v bool)
- func (p *ListVPCsParams) SetKeyword(v string)
- func (p *ListVPCsParams) SetListall(v bool)
- func (p *ListVPCsParams) SetName(v string)
- func (p *ListVPCsParams) SetPage(v int)
- func (p *ListVPCsParams) SetPagesize(v int)
- func (p *ListVPCsParams) SetProjectid(v string)
- func (p *ListVPCsParams) SetRestartrequired(v bool)
- func (p *ListVPCsParams) SetState(v string)
- func (p *ListVPCsParams) SetSupportedservices(v []string)
- func (p *ListVPCsParams) SetTags(v map[string]string)
- func (p *ListVPCsParams) SetVpcofferingid(v string)
- func (p *ListVPCsParams) SetZoneid(v string)
- type ListVPCsResponse
- type ListVirtualMachinesParams
- func (p *ListVirtualMachinesParams) SetAccount(v string)
- func (p *ListVirtualMachinesParams) SetAffinitygroupid(v string)
- func (p *ListVirtualMachinesParams) SetDetails(v []string)
- func (p *ListVirtualMachinesParams) SetDomainid(v string)
- func (p *ListVirtualMachinesParams) SetForvirtualnetwork(v bool)
- func (p *ListVirtualMachinesParams) SetGroupid(v string)
- func (p *ListVirtualMachinesParams) SetHostid(v string)
- func (p *ListVirtualMachinesParams) SetHypervisor(v string)
- func (p *ListVirtualMachinesParams) SetId(v string)
- func (p *ListVirtualMachinesParams) SetIsoid(v string)
- func (p *ListVirtualMachinesParams) SetIsrecursive(v bool)
- func (p *ListVirtualMachinesParams) SetKeyword(v string)
- func (p *ListVirtualMachinesParams) SetListall(v bool)
- func (p *ListVirtualMachinesParams) SetName(v string)
- func (p *ListVirtualMachinesParams) SetNetworkid(v string)
- func (p *ListVirtualMachinesParams) SetPage(v int)
- func (p *ListVirtualMachinesParams) SetPagesize(v int)
- func (p *ListVirtualMachinesParams) SetPodid(v string)
- func (p *ListVirtualMachinesParams) SetProjectid(v string)
- func (p *ListVirtualMachinesParams) SetState(v string)
- func (p *ListVirtualMachinesParams) SetStorageid(v string)
- func (p *ListVirtualMachinesParams) SetTags(v map[string]string)
- func (p *ListVirtualMachinesParams) SetTemplateid(v string)
- func (p *ListVirtualMachinesParams) SetVpcid(v string)
- func (p *ListVirtualMachinesParams) SetZoneid(v string)
- type ListVirtualMachinesResponse
- type ListVirtualRouterElementsParams
- func (p *ListVirtualRouterElementsParams) SetEnabled(v bool)
- func (p *ListVirtualRouterElementsParams) SetId(v string)
- func (p *ListVirtualRouterElementsParams) SetKeyword(v string)
- func (p *ListVirtualRouterElementsParams) SetNspid(v string)
- func (p *ListVirtualRouterElementsParams) SetPage(v int)
- func (p *ListVirtualRouterElementsParams) SetPagesize(v int)
- type ListVirtualRouterElementsResponse
- type ListVlanIpRangesParams
- func (p *ListVlanIpRangesParams) SetAccount(v string)
- func (p *ListVlanIpRangesParams) SetDomainid(v string)
- func (p *ListVlanIpRangesParams) SetForvirtualnetwork(v bool)
- func (p *ListVlanIpRangesParams) SetId(v string)
- func (p *ListVlanIpRangesParams) SetKeyword(v string)
- func (p *ListVlanIpRangesParams) SetNetworkid(v string)
- func (p *ListVlanIpRangesParams) SetPage(v int)
- func (p *ListVlanIpRangesParams) SetPagesize(v int)
- func (p *ListVlanIpRangesParams) SetPhysicalnetworkid(v string)
- func (p *ListVlanIpRangesParams) SetPodid(v string)
- func (p *ListVlanIpRangesParams) SetProjectid(v string)
- func (p *ListVlanIpRangesParams) SetVlan(v string)
- func (p *ListVlanIpRangesParams) SetZoneid(v string)
- type ListVlanIpRangesResponse
- type ListVmwareDcsParams
- type ListVmwareDcsResponse
- type ListVolumesParams
- func (p *ListVolumesParams) SetAccount(v string)
- func (p *ListVolumesParams) SetDomainid(v string)
- func (p *ListVolumesParams) SetHostid(v string)
- func (p *ListVolumesParams) SetId(v string)
- func (p *ListVolumesParams) SetIsrecursive(v bool)
- func (p *ListVolumesParams) SetKeyword(v string)
- func (p *ListVolumesParams) SetListall(v bool)
- func (p *ListVolumesParams) SetName(v string)
- func (p *ListVolumesParams) SetPage(v int)
- func (p *ListVolumesParams) SetPagesize(v int)
- func (p *ListVolumesParams) SetPodid(v string)
- func (p *ListVolumesParams) SetProjectid(v string)
- func (p *ListVolumesParams) SetStorageid(v string)
- func (p *ListVolumesParams) SetTags(v map[string]string)
- func (p *ListVolumesParams) SetType(v string)
- func (p *ListVolumesParams) SetVirtualmachineid(v string)
- func (p *ListVolumesParams) SetZoneid(v string)
- type ListVolumesResponse
- type ListVpnConnectionsParams
- func (p *ListVpnConnectionsParams) SetAccount(v string)
- func (p *ListVpnConnectionsParams) SetDomainid(v string)
- func (p *ListVpnConnectionsParams) SetId(v string)
- func (p *ListVpnConnectionsParams) SetIsrecursive(v bool)
- func (p *ListVpnConnectionsParams) SetKeyword(v string)
- func (p *ListVpnConnectionsParams) SetListall(v bool)
- func (p *ListVpnConnectionsParams) SetPage(v int)
- func (p *ListVpnConnectionsParams) SetPagesize(v int)
- func (p *ListVpnConnectionsParams) SetProjectid(v string)
- func (p *ListVpnConnectionsParams) SetVpcid(v string)
- type ListVpnConnectionsResponse
- type ListVpnCustomerGatewaysParams
- func (p *ListVpnCustomerGatewaysParams) SetAccount(v string)
- func (p *ListVpnCustomerGatewaysParams) SetDomainid(v string)
- func (p *ListVpnCustomerGatewaysParams) SetId(v string)
- func (p *ListVpnCustomerGatewaysParams) SetIsrecursive(v bool)
- func (p *ListVpnCustomerGatewaysParams) SetKeyword(v string)
- func (p *ListVpnCustomerGatewaysParams) SetListall(v bool)
- func (p *ListVpnCustomerGatewaysParams) SetPage(v int)
- func (p *ListVpnCustomerGatewaysParams) SetPagesize(v int)
- func (p *ListVpnCustomerGatewaysParams) SetProjectid(v string)
- type ListVpnCustomerGatewaysResponse
- type ListVpnGatewaysParams
- func (p *ListVpnGatewaysParams) SetAccount(v string)
- func (p *ListVpnGatewaysParams) SetDomainid(v string)
- func (p *ListVpnGatewaysParams) SetId(v string)
- func (p *ListVpnGatewaysParams) SetIsrecursive(v bool)
- func (p *ListVpnGatewaysParams) SetKeyword(v string)
- func (p *ListVpnGatewaysParams) SetListall(v bool)
- func (p *ListVpnGatewaysParams) SetPage(v int)
- func (p *ListVpnGatewaysParams) SetPagesize(v int)
- func (p *ListVpnGatewaysParams) SetProjectid(v string)
- func (p *ListVpnGatewaysParams) SetVpcid(v string)
- type ListVpnGatewaysResponse
- type ListVpnUsersParams
- func (p *ListVpnUsersParams) SetAccount(v string)
- func (p *ListVpnUsersParams) SetDomainid(v string)
- func (p *ListVpnUsersParams) SetId(v string)
- func (p *ListVpnUsersParams) SetIsrecursive(v bool)
- func (p *ListVpnUsersParams) SetKeyword(v string)
- func (p *ListVpnUsersParams) SetListall(v bool)
- func (p *ListVpnUsersParams) SetPage(v int)
- func (p *ListVpnUsersParams) SetPagesize(v int)
- func (p *ListVpnUsersParams) SetProjectid(v string)
- func (p *ListVpnUsersParams) SetUsername(v string)
- type ListVpnUsersResponse
- type ListZonesParams
- func (p *ListZonesParams) SetAvailable(v bool)
- func (p *ListZonesParams) SetDomainid(v string)
- func (p *ListZonesParams) SetId(v string)
- func (p *ListZonesParams) SetKeyword(v string)
- func (p *ListZonesParams) SetName(v string)
- func (p *ListZonesParams) SetNetworktype(v string)
- func (p *ListZonesParams) SetPage(v int)
- func (p *ListZonesParams) SetPagesize(v int)
- func (p *ListZonesParams) SetShowcapacities(v bool)
- func (p *ListZonesParams) SetTags(v map[string]string)
- type ListZonesResponse
- type LoadBalancer
- type LoadBalancerRule
- type LoadBalancerRuleInstance
- type LoadBalancerService
- func (s *LoadBalancerService) AddF5LoadBalancer(p *AddF5LoadBalancerParams) (*AddF5LoadBalancerResponse, error)
- func (s *LoadBalancerService) AddNetscalerLoadBalancer(p *AddNetscalerLoadBalancerParams) (*AddNetscalerLoadBalancerResponse, error)
- func (s *LoadBalancerService) AssignCertToLoadBalancer(p *AssignCertToLoadBalancerParams) (*AssignCertToLoadBalancerResponse, error)
- func (s *LoadBalancerService) AssignToGlobalLoadBalancerRule(p *AssignToGlobalLoadBalancerRuleParams) (*AssignToGlobalLoadBalancerRuleResponse, error)
- func (s *LoadBalancerService) AssignToLoadBalancerRule(p *AssignToLoadBalancerRuleParams) (*AssignToLoadBalancerRuleResponse, error)
- func (s *LoadBalancerService) ConfigureF5LoadBalancer(p *ConfigureF5LoadBalancerParams) (*ConfigureF5LoadBalancerResponse, error)
- func (s *LoadBalancerService) ConfigureNetscalerLoadBalancer(p *ConfigureNetscalerLoadBalancerParams) (*ConfigureNetscalerLoadBalancerResponse, error)
- func (s *LoadBalancerService) CreateGlobalLoadBalancerRule(p *CreateGlobalLoadBalancerRuleParams) (*CreateGlobalLoadBalancerRuleResponse, error)
- func (s *LoadBalancerService) CreateLBHealthCheckPolicy(p *CreateLBHealthCheckPolicyParams) (*CreateLBHealthCheckPolicyResponse, error)
- func (s *LoadBalancerService) CreateLBStickinessPolicy(p *CreateLBStickinessPolicyParams) (*CreateLBStickinessPolicyResponse, error)
- func (s *LoadBalancerService) CreateLoadBalancer(p *CreateLoadBalancerParams) (*CreateLoadBalancerResponse, error)
- func (s *LoadBalancerService) CreateLoadBalancerRule(p *CreateLoadBalancerRuleParams) (*CreateLoadBalancerRuleResponse, error)
- func (s *LoadBalancerService) DeleteF5LoadBalancer(p *DeleteF5LoadBalancerParams) (*DeleteF5LoadBalancerResponse, error)
- func (s *LoadBalancerService) DeleteGlobalLoadBalancerRule(p *DeleteGlobalLoadBalancerRuleParams) (*DeleteGlobalLoadBalancerRuleResponse, error)
- func (s *LoadBalancerService) DeleteLBHealthCheckPolicy(p *DeleteLBHealthCheckPolicyParams) (*DeleteLBHealthCheckPolicyResponse, error)
- func (s *LoadBalancerService) DeleteLBStickinessPolicy(p *DeleteLBStickinessPolicyParams) (*DeleteLBStickinessPolicyResponse, error)
- func (s *LoadBalancerService) DeleteLoadBalancer(p *DeleteLoadBalancerParams) (*DeleteLoadBalancerResponse, error)
- func (s *LoadBalancerService) DeleteLoadBalancerRule(p *DeleteLoadBalancerRuleParams) (*DeleteLoadBalancerRuleResponse, error)
- func (s *LoadBalancerService) DeleteNetscalerLoadBalancer(p *DeleteNetscalerLoadBalancerParams) (*DeleteNetscalerLoadBalancerResponse, error)
- func (s *LoadBalancerService) DeleteSslCert(p *DeleteSslCertParams) (*DeleteSslCertResponse, error)
- func (s *LoadBalancerService) GetGlobalLoadBalancerRuleID(keyword string) (string, error)
- func (s *LoadBalancerService) GetLoadBalancerID(name string) (string, error)
- func (s *LoadBalancerService) GetLoadBalancerRuleID(name string) (string, error)
- func (s *LoadBalancerService) GetLoadBalancerRuleInstanceID(keyword string, id string) (string, error)
- func (s *LoadBalancerService) ListF5LoadBalancers(p *ListF5LoadBalancersParams) (*ListF5LoadBalancersResponse, error)
- func (s *LoadBalancerService) ListGlobalLoadBalancerRules(p *ListGlobalLoadBalancerRulesParams) (*ListGlobalLoadBalancerRulesResponse, error)
- func (s *LoadBalancerService) ListLBHealthCheckPolicies(p *ListLBHealthCheckPoliciesParams) (*ListLBHealthCheckPoliciesResponse, error)
- func (s *LoadBalancerService) ListLBStickinessPolicies(p *ListLBStickinessPoliciesParams) (*ListLBStickinessPoliciesResponse, error)
- func (s *LoadBalancerService) ListLoadBalancerRuleInstances(p *ListLoadBalancerRuleInstancesParams) (*ListLoadBalancerRuleInstancesResponse, error)
- func (s *LoadBalancerService) ListLoadBalancerRules(p *ListLoadBalancerRulesParams) (*ListLoadBalancerRulesResponse, error)
- func (s *LoadBalancerService) ListLoadBalancers(p *ListLoadBalancersParams) (*ListLoadBalancersResponse, error)
- func (s *LoadBalancerService) ListNetscalerLoadBalancers(p *ListNetscalerLoadBalancersParams) (*ListNetscalerLoadBalancersResponse, error)
- func (s *LoadBalancerService) ListSslCerts(p *ListSslCertsParams) (*ListSslCertsResponse, error)
- func (s *LoadBalancerService) NewAddF5LoadBalancerParams(networkdevicetype string, password string, physicalnetworkid string, ...) *AddF5LoadBalancerParams
- func (s *LoadBalancerService) NewAddNetscalerLoadBalancerParams(networkdevicetype string, password string, physicalnetworkid string, ...) *AddNetscalerLoadBalancerParams
- func (s *LoadBalancerService) NewAssignCertToLoadBalancerParams(certid string, lbruleid string) *AssignCertToLoadBalancerParams
- func (s *LoadBalancerService) NewAssignToGlobalLoadBalancerRuleParams(id string, loadbalancerrulelist []string) *AssignToGlobalLoadBalancerRuleParams
- func (s *LoadBalancerService) NewAssignToLoadBalancerRuleParams(id string, virtualmachineids []string) *AssignToLoadBalancerRuleParams
- func (s *LoadBalancerService) NewConfigureF5LoadBalancerParams(lbdeviceid string) *ConfigureF5LoadBalancerParams
- func (s *LoadBalancerService) NewConfigureNetscalerLoadBalancerParams(lbdeviceid string) *ConfigureNetscalerLoadBalancerParams
- func (s *LoadBalancerService) NewCreateGlobalLoadBalancerRuleParams(gslbdomainname string, gslbservicetype string, name string, regionid int) *CreateGlobalLoadBalancerRuleParams
- func (s *LoadBalancerService) NewCreateLBHealthCheckPolicyParams(lbruleid string) *CreateLBHealthCheckPolicyParams
- func (s *LoadBalancerService) NewCreateLBStickinessPolicyParams(lbruleid string, methodname string, name string) *CreateLBStickinessPolicyParams
- func (s *LoadBalancerService) NewCreateLoadBalancerParams(algorithm string, instanceport int, name string, networkid string, ...) *CreateLoadBalancerParams
- func (s *LoadBalancerService) NewCreateLoadBalancerRuleParams(algorithm string, name string, privateport int, publicport int) *CreateLoadBalancerRuleParams
- func (s *LoadBalancerService) NewDeleteF5LoadBalancerParams(lbdeviceid string) *DeleteF5LoadBalancerParams
- func (s *LoadBalancerService) NewDeleteGlobalLoadBalancerRuleParams(id string) *DeleteGlobalLoadBalancerRuleParams
- func (s *LoadBalancerService) NewDeleteLBHealthCheckPolicyParams(id string) *DeleteLBHealthCheckPolicyParams
- func (s *LoadBalancerService) NewDeleteLBStickinessPolicyParams(id string) *DeleteLBStickinessPolicyParams
- func (s *LoadBalancerService) NewDeleteLoadBalancerParams(id string) *DeleteLoadBalancerParams
- func (s *LoadBalancerService) NewDeleteLoadBalancerRuleParams(id string) *DeleteLoadBalancerRuleParams
- func (s *LoadBalancerService) NewDeleteNetscalerLoadBalancerParams(lbdeviceid string) *DeleteNetscalerLoadBalancerParams
- func (s *LoadBalancerService) NewDeleteSslCertParams(id string) *DeleteSslCertParams
- func (s *LoadBalancerService) NewListF5LoadBalancersParams() *ListF5LoadBalancersParams
- func (s *LoadBalancerService) NewListGlobalLoadBalancerRulesParams() *ListGlobalLoadBalancerRulesParams
- func (s *LoadBalancerService) NewListLBHealthCheckPoliciesParams(lbruleid string) *ListLBHealthCheckPoliciesParams
- func (s *LoadBalancerService) NewListLBStickinessPoliciesParams(lbruleid string) *ListLBStickinessPoliciesParams
- func (s *LoadBalancerService) NewListLoadBalancerRuleInstancesParams(id string) *ListLoadBalancerRuleInstancesParams
- func (s *LoadBalancerService) NewListLoadBalancerRulesParams() *ListLoadBalancerRulesParams
- func (s *LoadBalancerService) NewListLoadBalancersParams() *ListLoadBalancersParams
- func (s *LoadBalancerService) NewListNetscalerLoadBalancersParams() *ListNetscalerLoadBalancersParams
- func (s *LoadBalancerService) NewListSslCertsParams() *ListSslCertsParams
- func (s *LoadBalancerService) NewRemoveCertFromLoadBalancerParams(lbruleid string) *RemoveCertFromLoadBalancerParams
- func (s *LoadBalancerService) NewRemoveFromGlobalLoadBalancerRuleParams(id string, loadbalancerrulelist []string) *RemoveFromGlobalLoadBalancerRuleParams
- func (s *LoadBalancerService) NewRemoveFromLoadBalancerRuleParams(id string, virtualmachineids []string) *RemoveFromLoadBalancerRuleParams
- func (s *LoadBalancerService) NewUpdateGlobalLoadBalancerRuleParams(id string) *UpdateGlobalLoadBalancerRuleParams
- func (s *LoadBalancerService) NewUpdateLoadBalancerRuleParams(id string) *UpdateLoadBalancerRuleParams
- func (s *LoadBalancerService) NewUploadSslCertParams(certificate string, privatekey string) *UploadSslCertParams
- func (s *LoadBalancerService) RemoveCertFromLoadBalancer(p *RemoveCertFromLoadBalancerParams) (*RemoveCertFromLoadBalancerResponse, error)
- func (s *LoadBalancerService) RemoveFromGlobalLoadBalancerRule(p *RemoveFromGlobalLoadBalancerRuleParams) (*RemoveFromGlobalLoadBalancerRuleResponse, error)
- func (s *LoadBalancerService) RemoveFromLoadBalancerRule(p *RemoveFromLoadBalancerRuleParams) (*RemoveFromLoadBalancerRuleResponse, error)
- func (s *LoadBalancerService) UpdateGlobalLoadBalancerRule(p *UpdateGlobalLoadBalancerRuleParams) (*UpdateGlobalLoadBalancerRuleResponse, error)
- func (s *LoadBalancerService) UpdateLoadBalancerRule(p *UpdateLoadBalancerRuleParams) (*UpdateLoadBalancerRuleResponse, error)
- func (s *LoadBalancerService) UploadSslCert(p *UploadSslCertParams) (*UploadSslCertResponse, error)
- type LockAccountParams
- type LockAccountResponse
- type LockUserParams
- type LockUserResponse
- type LoginService
- type LogoutService
- type MarkDefaultZoneForAccountParams
- type MarkDefaultZoneForAccountResponse
- type MigrateSystemVmParams
- type MigrateSystemVmResponse
- type MigrateVirtualMachineParams
- type MigrateVirtualMachineResponse
- type MigrateVirtualMachineWithVolumeParams
- type MigrateVirtualMachineWithVolumeResponse
- type MigrateVolumeParams
- type MigrateVolumeResponse
- type NATService
- func (s *NATService) CreateIpForwardingRule(p *CreateIpForwardingRuleParams) (*CreateIpForwardingRuleResponse, error)
- func (s *NATService) DeleteIpForwardingRule(p *DeleteIpForwardingRuleParams) (*DeleteIpForwardingRuleResponse, error)
- func (s *NATService) DisableStaticNat(p *DisableStaticNatParams) (*DisableStaticNatResponse, error)
- func (s *NATService) EnableStaticNat(p *EnableStaticNatParams) (*EnableStaticNatResponse, error)
- func (s *NATService) GetIpForwardingRuleID(keyword string) (string, error)
- func (s *NATService) ListIpForwardingRules(p *ListIpForwardingRulesParams) (*ListIpForwardingRulesResponse, error)
- func (s *NATService) NewCreateIpForwardingRuleParams(ipaddressid string, protocol string, startport int) *CreateIpForwardingRuleParams
- func (s *NATService) NewDeleteIpForwardingRuleParams(id string) *DeleteIpForwardingRuleParams
- func (s *NATService) NewDisableStaticNatParams(ipaddressid string) *DisableStaticNatParams
- func (s *NATService) NewEnableStaticNatParams(ipaddressid string, virtualmachineid string) *EnableStaticNatParams
- func (s *NATService) NewListIpForwardingRulesParams() *ListIpForwardingRulesParams
- type NetscalerLoadBalancer
- type NetscalerLoadBalancerNetwork
- type Network
- type NetworkACL
- type NetworkACLList
- type NetworkACLService
- func (s *NetworkACLService) CreateNetworkACL(p *CreateNetworkACLParams) (*CreateNetworkACLResponse, error)
- func (s *NetworkACLService) CreateNetworkACLList(p *CreateNetworkACLListParams) (*CreateNetworkACLListResponse, error)
- func (s *NetworkACLService) DeleteNetworkACL(p *DeleteNetworkACLParams) (*DeleteNetworkACLResponse, error)
- func (s *NetworkACLService) DeleteNetworkACLList(p *DeleteNetworkACLListParams) (*DeleteNetworkACLListResponse, error)
- func (s *NetworkACLService) GetNetworkACLID(keyword string) (string, error)
- func (s *NetworkACLService) GetNetworkACLListID(name string) (string, error)
- func (s *NetworkACLService) ListNetworkACLLists(p *ListNetworkACLListsParams) (*ListNetworkACLListsResponse, error)
- func (s *NetworkACLService) ListNetworkACLs(p *ListNetworkACLsParams) (*ListNetworkACLsResponse, error)
- func (s *NetworkACLService) NewCreateNetworkACLListParams(name string, vpcid string) *CreateNetworkACLListParams
- func (s *NetworkACLService) NewCreateNetworkACLParams(protocol string) *CreateNetworkACLParams
- func (s *NetworkACLService) NewDeleteNetworkACLListParams(id string) *DeleteNetworkACLListParams
- func (s *NetworkACLService) NewDeleteNetworkACLParams(id string) *DeleteNetworkACLParams
- func (s *NetworkACLService) NewListNetworkACLListsParams() *ListNetworkACLListsParams
- func (s *NetworkACLService) NewListNetworkACLsParams() *ListNetworkACLsParams
- func (s *NetworkACLService) NewReplaceNetworkACLListParams(aclid string) *ReplaceNetworkACLListParams
- func (s *NetworkACLService) NewUpdateNetworkACLItemParams(id string) *UpdateNetworkACLItemParams
- func (s *NetworkACLService) ReplaceNetworkACLList(p *ReplaceNetworkACLListParams) (*ReplaceNetworkACLListResponse, error)
- func (s *NetworkACLService) UpdateNetworkACLItem(p *UpdateNetworkACLItemParams) (*UpdateNetworkACLItemResponse, error)
- type NetworkDevice
- type NetworkDeviceService
- func (s *NetworkDeviceService) AddNetworkDevice(p *AddNetworkDeviceParams) (*AddNetworkDeviceResponse, error)
- func (s *NetworkDeviceService) DeleteNetworkDevice(p *DeleteNetworkDeviceParams) (*DeleteNetworkDeviceResponse, error)
- func (s *NetworkDeviceService) GetNetworkDeviceID(keyword string) (string, error)
- func (s *NetworkDeviceService) ListNetworkDevice(p *ListNetworkDeviceParams) (*ListNetworkDeviceResponse, error)
- func (s *NetworkDeviceService) NewAddNetworkDeviceParams() *AddNetworkDeviceParams
- func (s *NetworkDeviceService) NewDeleteNetworkDeviceParams(id string) *DeleteNetworkDeviceParams
- func (s *NetworkDeviceService) NewListNetworkDeviceParams() *ListNetworkDeviceParams
- type NetworkIsolationMethod
- type NetworkOffering
- type NetworkOfferingService
- func (s *NetworkOfferingService) CreateNetworkOffering(p *CreateNetworkOfferingParams) (*CreateNetworkOfferingResponse, error)
- func (s *NetworkOfferingService) DeleteNetworkOffering(p *DeleteNetworkOfferingParams) (*DeleteNetworkOfferingResponse, error)
- func (s *NetworkOfferingService) GetNetworkOfferingID(name string) (string, error)
- func (s *NetworkOfferingService) ListNetworkOfferings(p *ListNetworkOfferingsParams) (*ListNetworkOfferingsResponse, error)
- func (s *NetworkOfferingService) NewCreateNetworkOfferingParams(displaytext string, guestiptype string, name string, ...) *CreateNetworkOfferingParams
- func (s *NetworkOfferingService) NewDeleteNetworkOfferingParams(id string) *DeleteNetworkOfferingParams
- func (s *NetworkOfferingService) NewListNetworkOfferingsParams() *ListNetworkOfferingsParams
- func (s *NetworkOfferingService) NewUpdateNetworkOfferingParams() *UpdateNetworkOfferingParams
- func (s *NetworkOfferingService) UpdateNetworkOffering(p *UpdateNetworkOfferingParams) (*UpdateNetworkOfferingResponse, error)
- type NetworkService
- func (s *NetworkService) AddNetworkServiceProvider(p *AddNetworkServiceProviderParams) (*AddNetworkServiceProviderResponse, error)
- func (s *NetworkService) CreateNetwork(p *CreateNetworkParams) (*CreateNetworkResponse, error)
- func (s *NetworkService) CreatePhysicalNetwork(p *CreatePhysicalNetworkParams) (*CreatePhysicalNetworkResponse, error)
- func (s *NetworkService) CreateStorageNetworkIpRange(p *CreateStorageNetworkIpRangeParams) (*CreateStorageNetworkIpRangeResponse, error)
- func (s *NetworkService) DedicatePublicIpRange(p *DedicatePublicIpRangeParams) (*DedicatePublicIpRangeResponse, error)
- func (s *NetworkService) DeleteNetwork(p *DeleteNetworkParams) (*DeleteNetworkResponse, error)
- func (s *NetworkService) DeleteNetworkServiceProvider(p *DeleteNetworkServiceProviderParams) (*DeleteNetworkServiceProviderResponse, error)
- func (s *NetworkService) DeletePhysicalNetwork(p *DeletePhysicalNetworkParams) (*DeletePhysicalNetworkResponse, error)
- func (s *NetworkService) DeleteStorageNetworkIpRange(p *DeleteStorageNetworkIpRangeParams) (*DeleteStorageNetworkIpRangeResponse, error)
- func (s *NetworkService) GetF5LoadBalancerNetworkID(keyword string, lbdeviceid string) (string, error)
- func (s *NetworkService) GetNetscalerLoadBalancerNetworkID(keyword string, lbdeviceid string) (string, error)
- func (s *NetworkService) GetNetworkID(keyword string) (string, error)
- func (s *NetworkService) GetNetworkServiceProviderID(name string) (string, error)
- func (s *NetworkService) GetNiciraNvpDeviceNetworkID(keyword string, nvpdeviceid string) (string, error)
- func (s *NetworkService) GetPaloAltoFirewallNetworkID(keyword string, lbdeviceid string) (string, error)
- func (s *NetworkService) GetPhysicalNetworkID(name string) (string, error)
- func (s *NetworkService) GetSrxFirewallNetworkID(keyword string, lbdeviceid string) (string, error)
- func (s *NetworkService) GetStorageNetworkIpRangeID(keyword string) (string, error)
- func (s *NetworkService) ListF5LoadBalancerNetworks(p *ListF5LoadBalancerNetworksParams) (*ListF5LoadBalancerNetworksResponse, error)
- func (s *NetworkService) ListNetscalerLoadBalancerNetworks(p *ListNetscalerLoadBalancerNetworksParams) (*ListNetscalerLoadBalancerNetworksResponse, error)
- func (s *NetworkService) ListNetworkIsolationMethods(p *ListNetworkIsolationMethodsParams) (*ListNetworkIsolationMethodsResponse, error)
- func (s *NetworkService) ListNetworkServiceProviders(p *ListNetworkServiceProvidersParams) (*ListNetworkServiceProvidersResponse, error)
- func (s *NetworkService) ListNetworks(p *ListNetworksParams) (*ListNetworksResponse, error)
- func (s *NetworkService) ListNiciraNvpDeviceNetworks(p *ListNiciraNvpDeviceNetworksParams) (*ListNiciraNvpDeviceNetworksResponse, error)
- func (s *NetworkService) ListPaloAltoFirewallNetworks(p *ListPaloAltoFirewallNetworksParams) (*ListPaloAltoFirewallNetworksResponse, error)
- func (s *NetworkService) ListPhysicalNetworks(p *ListPhysicalNetworksParams) (*ListPhysicalNetworksResponse, error)
- func (s *NetworkService) ListSrxFirewallNetworks(p *ListSrxFirewallNetworksParams) (*ListSrxFirewallNetworksResponse, error)
- func (s *NetworkService) ListStorageNetworkIpRange(p *ListStorageNetworkIpRangeParams) (*ListStorageNetworkIpRangeResponse, error)
- func (s *NetworkService) ListSupportedNetworkServices(p *ListSupportedNetworkServicesParams) (*ListSupportedNetworkServicesResponse, error)
- func (s *NetworkService) NewAddNetworkServiceProviderParams(name string, physicalnetworkid string) *AddNetworkServiceProviderParams
- func (s *NetworkService) NewCreateNetworkParams(displaytext string, name string, networkofferingid string, zoneid string) *CreateNetworkParams
- func (s *NetworkService) NewCreatePhysicalNetworkParams(name string, zoneid string) *CreatePhysicalNetworkParams
- func (s *NetworkService) NewCreateStorageNetworkIpRangeParams(gateway string, netmask string, podid string, startip string) *CreateStorageNetworkIpRangeParams
- func (s *NetworkService) NewDedicatePublicIpRangeParams(account string, domainid string, id string) *DedicatePublicIpRangeParams
- func (s *NetworkService) NewDeleteNetworkParams(id string) *DeleteNetworkParams
- func (s *NetworkService) NewDeleteNetworkServiceProviderParams(id string) *DeleteNetworkServiceProviderParams
- func (s *NetworkService) NewDeletePhysicalNetworkParams(id string) *DeletePhysicalNetworkParams
- func (s *NetworkService) NewDeleteStorageNetworkIpRangeParams(id string) *DeleteStorageNetworkIpRangeParams
- func (s *NetworkService) NewListF5LoadBalancerNetworksParams(lbdeviceid string) *ListF5LoadBalancerNetworksParams
- func (s *NetworkService) NewListNetscalerLoadBalancerNetworksParams(lbdeviceid string) *ListNetscalerLoadBalancerNetworksParams
- func (s *NetworkService) NewListNetworkIsolationMethodsParams() *ListNetworkIsolationMethodsParams
- func (s *NetworkService) NewListNetworkServiceProvidersParams() *ListNetworkServiceProvidersParams
- func (s *NetworkService) NewListNetworksParams() *ListNetworksParams
- func (s *NetworkService) NewListNiciraNvpDeviceNetworksParams(nvpdeviceid string) *ListNiciraNvpDeviceNetworksParams
- func (s *NetworkService) NewListPaloAltoFirewallNetworksParams(lbdeviceid string) *ListPaloAltoFirewallNetworksParams
- func (s *NetworkService) NewListPhysicalNetworksParams() *ListPhysicalNetworksParams
- func (s *NetworkService) NewListSrxFirewallNetworksParams(lbdeviceid string) *ListSrxFirewallNetworksParams
- func (s *NetworkService) NewListStorageNetworkIpRangeParams() *ListStorageNetworkIpRangeParams
- func (s *NetworkService) NewListSupportedNetworkServicesParams() *ListSupportedNetworkServicesParams
- func (s *NetworkService) NewReleasePublicIpRangeParams(id string) *ReleasePublicIpRangeParams
- func (s *NetworkService) NewRestartNetworkParams(id string) *RestartNetworkParams
- func (s *NetworkService) NewUpdateNetworkParams(id string) *UpdateNetworkParams
- func (s *NetworkService) NewUpdateNetworkServiceProviderParams(id string) *UpdateNetworkServiceProviderParams
- func (s *NetworkService) NewUpdatePhysicalNetworkParams(id string) *UpdatePhysicalNetworkParams
- func (s *NetworkService) NewUpdateStorageNetworkIpRangeParams(id string) *UpdateStorageNetworkIpRangeParams
- func (s *NetworkService) ReleasePublicIpRange(p *ReleasePublicIpRangeParams) (*ReleasePublicIpRangeResponse, error)
- func (s *NetworkService) RestartNetwork(p *RestartNetworkParams) (*RestartNetworkResponse, error)
- func (s *NetworkService) UpdateNetwork(p *UpdateNetworkParams) (*UpdateNetworkResponse, error)
- func (s *NetworkService) UpdateNetworkServiceProvider(p *UpdateNetworkServiceProviderParams) (*UpdateNetworkServiceProviderResponse, error)
- func (s *NetworkService) UpdatePhysicalNetwork(p *UpdatePhysicalNetworkParams) (*UpdatePhysicalNetworkResponse, error)
- func (s *NetworkService) UpdateStorageNetworkIpRange(p *UpdateStorageNetworkIpRangeParams) (*UpdateStorageNetworkIpRangeResponse, error)
- type NetworkServiceProvider
- type Nic
- type NicService
- func (s *NicService) AddIpToNic(p *AddIpToNicParams) (*AddIpToNicResponse, error)
- func (s *NicService) GetNicID(keyword string, virtualmachineid string) (string, error)
- func (s *NicService) ListNics(p *ListNicsParams) (*ListNicsResponse, error)
- func (s *NicService) NewAddIpToNicParams(nicid string) *AddIpToNicParams
- func (s *NicService) NewListNicsParams(virtualmachineid string) *ListNicsParams
- func (s *NicService) NewRemoveIpFromNicParams(id string) *RemoveIpFromNicParams
- func (s *NicService) RemoveIpFromNic(p *RemoveIpFromNicParams) (*RemoveIpFromNicResponse, error)
- type NiciraNVPService
- func (s *NiciraNVPService) AddNiciraNvpDevice(p *AddNiciraNvpDeviceParams) (*AddNiciraNvpDeviceResponse, error)
- func (s *NiciraNVPService) DeleteNiciraNvpDevice(p *DeleteNiciraNvpDeviceParams) (*DeleteNiciraNvpDeviceResponse, error)
- func (s *NiciraNVPService) ListNiciraNvpDevices(p *ListNiciraNvpDevicesParams) (*ListNiciraNvpDevicesResponse, error)
- func (s *NiciraNVPService) NewAddNiciraNvpDeviceParams(hostname string, password string, physicalnetworkid string, ...) *AddNiciraNvpDeviceParams
- func (s *NiciraNVPService) NewDeleteNiciraNvpDeviceParams(nvpdeviceid string) *DeleteNiciraNvpDeviceParams
- func (s *NiciraNVPService) NewListNiciraNvpDevicesParams() *ListNiciraNvpDevicesParams
- type NiciraNvpDevice
- type NiciraNvpDeviceNetwork
- type OsCategory
- type OsType
- type PaloAltoFirewall
- type PaloAltoFirewallNetwork
- type PhysicalNetwork
- type Pod
- type PodService
- func (s *PodService) CreatePod(p *CreatePodParams) (*CreatePodResponse, error)
- func (s *PodService) DedicatePod(p *DedicatePodParams) (*DedicatePodResponse, error)
- func (s *PodService) DeletePod(p *DeletePodParams) (*DeletePodResponse, error)
- func (s *PodService) GetDedicatedPodID(keyword string) (string, error)
- func (s *PodService) GetPodID(name string) (string, error)
- func (s *PodService) ListDedicatedPods(p *ListDedicatedPodsParams) (*ListDedicatedPodsResponse, error)
- func (s *PodService) ListPods(p *ListPodsParams) (*ListPodsResponse, error)
- func (s *PodService) NewCreatePodParams(gateway string, name string, netmask string, startip string, zoneid string) *CreatePodParams
- func (s *PodService) NewDedicatePodParams(domainid string, podid string) *DedicatePodParams
- func (s *PodService) NewDeletePodParams(id string) *DeletePodParams
- func (s *PodService) NewListDedicatedPodsParams() *ListDedicatedPodsParams
- func (s *PodService) NewListPodsParams() *ListPodsParams
- func (s *PodService) NewReleaseDedicatedPodParams(podid string) *ReleaseDedicatedPodParams
- func (s *PodService) NewUpdatePodParams(id string) *UpdatePodParams
- func (s *PodService) ReleaseDedicatedPod(p *ReleaseDedicatedPodParams) (*ReleaseDedicatedPodResponse, error)
- func (s *PodService) UpdatePod(p *UpdatePodParams) (*UpdatePodResponse, error)
- type PoolService
- func (s *PoolService) CreateStoragePool(p *CreateStoragePoolParams) (*CreateStoragePoolResponse, error)
- func (s *PoolService) DeleteStoragePool(p *DeleteStoragePoolParams) (*DeleteStoragePoolResponse, error)
- func (s *PoolService) FindStoragePoolsForMigration(p *FindStoragePoolsForMigrationParams) (*FindStoragePoolsForMigrationResponse, error)
- func (s *PoolService) GetStoragePoolID(name string) (string, error)
- func (s *PoolService) ListStoragePools(p *ListStoragePoolsParams) (*ListStoragePoolsResponse, error)
- func (s *PoolService) NewCreateStoragePoolParams(name string, url string, zoneid string) *CreateStoragePoolParams
- func (s *PoolService) NewDeleteStoragePoolParams(id string) *DeleteStoragePoolParams
- func (s *PoolService) NewFindStoragePoolsForMigrationParams(id string) *FindStoragePoolsForMigrationParams
- func (s *PoolService) NewListStoragePoolsParams() *ListStoragePoolsParams
- func (s *PoolService) NewUpdateStoragePoolParams(id string) *UpdateStoragePoolParams
- func (s *PoolService) UpdateStoragePool(p *UpdateStoragePoolParams) (*UpdateStoragePoolResponse, error)
- type PortForwardingRule
- type PortableIPService
- func (s *PortableIPService) CreatePortableIpRange(p *CreatePortableIpRangeParams) (*CreatePortableIpRangeResponse, error)
- func (s *PortableIPService) DeletePortableIpRange(p *DeletePortableIpRangeParams) (*DeletePortableIpRangeResponse, error)
- func (s *PortableIPService) GetPortableIpRangeID(keyword string) (string, error)
- func (s *PortableIPService) ListPortableIpRanges(p *ListPortableIpRangesParams) (*ListPortableIpRangesResponse, error)
- func (s *PortableIPService) NewCreatePortableIpRangeParams(endip string, gateway string, netmask string, regionid int, startip string) *CreatePortableIpRangeParams
- func (s *PortableIPService) NewDeletePortableIpRangeParams(id string) *DeletePortableIpRangeParams
- func (s *PortableIPService) NewListPortableIpRangesParams() *ListPortableIpRangesParams
- type PortableIpRange
- type PrepareHostForMaintenanceParams
- type PrepareHostForMaintenanceResponse
- type PrepareTemplateParams
- type PrepareTemplateResponse
- type PrivateGateway
- type Project
- type ProjectAccount
- type ProjectInvitation
- type ProjectService
- func (s *ProjectService) ActivateProject(p *ActivateProjectParams) (*ActivateProjectResponse, error)
- func (s *ProjectService) CreateProject(p *CreateProjectParams) (*CreateProjectResponse, error)
- func (s *ProjectService) DeleteProject(p *DeleteProjectParams) (*DeleteProjectResponse, error)
- func (s *ProjectService) DeleteProjectInvitation(p *DeleteProjectInvitationParams) (*DeleteProjectInvitationResponse, error)
- func (s *ProjectService) GetProjectID(name string) (string, error)
- func (s *ProjectService) GetProjectInvitationID(keyword string) (string, error)
- func (s *ProjectService) ListProjectInvitations(p *ListProjectInvitationsParams) (*ListProjectInvitationsResponse, error)
- func (s *ProjectService) ListProjects(p *ListProjectsParams) (*ListProjectsResponse, error)
- func (s *ProjectService) NewActivateProjectParams(id string) *ActivateProjectParams
- func (s *ProjectService) NewCreateProjectParams(displaytext string, name string) *CreateProjectParams
- func (s *ProjectService) NewDeleteProjectInvitationParams(id string) *DeleteProjectInvitationParams
- func (s *ProjectService) NewDeleteProjectParams(id string) *DeleteProjectParams
- func (s *ProjectService) NewListProjectInvitationsParams() *ListProjectInvitationsParams
- func (s *ProjectService) NewListProjectsParams() *ListProjectsParams
- func (s *ProjectService) NewSuspendProjectParams(id string) *SuspendProjectParams
- func (s *ProjectService) NewUpdateProjectInvitationParams(projectid string) *UpdateProjectInvitationParams
- func (s *ProjectService) NewUpdateProjectParams(id string) *UpdateProjectParams
- func (s *ProjectService) SuspendProject(p *SuspendProjectParams) (*SuspendProjectResponse, error)
- func (s *ProjectService) UpdateProject(p *UpdateProjectParams) (*UpdateProjectResponse, error)
- func (s *ProjectService) UpdateProjectInvitation(p *UpdateProjectInvitationParams) (*UpdateProjectInvitationResponse, error)
- type PublicIpAddresse
- type QueryAsyncJobResultParams
- type QueryAsyncJobResultResponse
- type RebootRouterParams
- type RebootRouterResponse
- type RebootSystemVmParams
- type RebootSystemVmResponse
- type RebootVirtualMachineParams
- type RebootVirtualMachineResponse
- type ReconnectHostParams
- type ReconnectHostResponse
- type RecoverVirtualMachineParams
- type RecoverVirtualMachineResponse
- type RefreshUcsBladesParams
- type RefreshUcsBladesResponse
- type Region
- type RegionService
- func (s *RegionService) AddRegion(p *AddRegionParams) (*AddRegionResponse, error)
- func (s *RegionService) ListRegions(p *ListRegionsParams) (*ListRegionsResponse, error)
- func (s *RegionService) NewAddRegionParams(endpoint string, id int, name string) *AddRegionParams
- func (s *RegionService) NewListRegionsParams() *ListRegionsParams
- func (s *RegionService) NewRemoveRegionParams(id int) *RemoveRegionParams
- func (s *RegionService) NewUpdateRegionParams(id int) *UpdateRegionParams
- func (s *RegionService) RemoveRegion(p *RemoveRegionParams) (*RemoveRegionResponse, error)
- func (s *RegionService) UpdateRegion(p *UpdateRegionParams) (*UpdateRegionResponse, error)
- type RegisterIsoParams
- func (p *RegisterIsoParams) SetAccount(v string)
- func (p *RegisterIsoParams) SetBootable(v bool)
- func (p *RegisterIsoParams) SetChecksum(v string)
- func (p *RegisterIsoParams) SetDisplaytext(v string)
- func (p *RegisterIsoParams) SetDomainid(v string)
- func (p *RegisterIsoParams) SetImagestoreuuid(v string)
- func (p *RegisterIsoParams) SetIsdynamicallyscalable(v bool)
- func (p *RegisterIsoParams) SetIsextractable(v bool)
- func (p *RegisterIsoParams) SetIsfeatured(v bool)
- func (p *RegisterIsoParams) SetIspublic(v bool)
- func (p *RegisterIsoParams) SetName(v string)
- func (p *RegisterIsoParams) SetOstypeid(v string)
- func (p *RegisterIsoParams) SetProjectid(v string)
- func (p *RegisterIsoParams) SetUrl(v string)
- func (p *RegisterIsoParams) SetZoneid(v string)
- type RegisterIsoResponse
- type RegisterSSHKeyPairParams
- type RegisterSSHKeyPairResponse
- type RegisterTemplateParams
- func (p *RegisterTemplateParams) SetAccount(v string)
- func (p *RegisterTemplateParams) SetBits(v int)
- func (p *RegisterTemplateParams) SetChecksum(v string)
- func (p *RegisterTemplateParams) SetDetails(v map[string]string)
- func (p *RegisterTemplateParams) SetDisplaytext(v string)
- func (p *RegisterTemplateParams) SetDomainid(v string)
- func (p *RegisterTemplateParams) SetFormat(v string)
- func (p *RegisterTemplateParams) SetHypervisor(v string)
- func (p *RegisterTemplateParams) SetIsdynamicallyscalable(v bool)
- func (p *RegisterTemplateParams) SetIsextractable(v bool)
- func (p *RegisterTemplateParams) SetIsfeatured(v bool)
- func (p *RegisterTemplateParams) SetIspublic(v bool)
- func (p *RegisterTemplateParams) SetIsrouting(v bool)
- func (p *RegisterTemplateParams) SetName(v string)
- func (p *RegisterTemplateParams) SetOstypeid(v string)
- func (p *RegisterTemplateParams) SetPasswordenabled(v bool)
- func (p *RegisterTemplateParams) SetProjectid(v string)
- func (p *RegisterTemplateParams) SetRequireshvm(v bool)
- func (p *RegisterTemplateParams) SetSshkeyenabled(v bool)
- func (p *RegisterTemplateParams) SetTemplatetag(v string)
- func (p *RegisterTemplateParams) SetUrl(v string)
- func (p *RegisterTemplateParams) SetZoneid(v string)
- type RegisterTemplateResponse
- type RegisterUserKeysParams
- type RegisterUserKeysResponse
- type ReleaseDedicatedClusterParams
- type ReleaseDedicatedClusterResponse
- type ReleaseDedicatedGuestVlanRangeParams
- type ReleaseDedicatedGuestVlanRangeResponse
- type ReleaseDedicatedHostParams
- type ReleaseDedicatedHostResponse
- type ReleaseDedicatedPodParams
- type ReleaseDedicatedPodResponse
- type ReleaseDedicatedZoneParams
- type ReleaseDedicatedZoneResponse
- type ReleaseHostReservationParams
- type ReleaseHostReservationResponse
- type ReleasePublicIpRangeParams
- type ReleasePublicIpRangeResponse
- type RemoteAccessVpn
- type RemoveCertFromLoadBalancerParams
- type RemoveCertFromLoadBalancerResponse
- type RemoveFromGlobalLoadBalancerRuleParams
- type RemoveFromGlobalLoadBalancerRuleResponse
- type RemoveFromLoadBalancerRuleParams
- type RemoveFromLoadBalancerRuleResponse
- type RemoveIpFromNicParams
- type RemoveIpFromNicResponse
- type RemoveNicFromVirtualMachineParams
- type RemoveNicFromVirtualMachineResponse
- type RemoveRegionParams
- type RemoveRegionResponse
- type RemoveResourceDetailParams
- type RemoveResourceDetailResponse
- type RemoveVmwareDcParams
- type RemoveVmwareDcResponse
- type RemoveVpnUserParams
- type RemoveVpnUserResponse
- type ReplaceNetworkACLListParams
- type ReplaceNetworkACLListResponse
- type ResetApiLimitParams
- type ResetApiLimitResponse
- type ResetPasswordForVirtualMachineParams
- type ResetPasswordForVirtualMachineResponse
- type ResetSSHKeyForVirtualMachineParams
- func (p *ResetSSHKeyForVirtualMachineParams) SetAccount(v string)
- func (p *ResetSSHKeyForVirtualMachineParams) SetDomainid(v string)
- func (p *ResetSSHKeyForVirtualMachineParams) SetId(v string)
- func (p *ResetSSHKeyForVirtualMachineParams) SetKeypair(v string)
- func (p *ResetSSHKeyForVirtualMachineParams) SetProjectid(v string)
- type ResetSSHKeyForVirtualMachineResponse
- type ResetVpnConnectionParams
- type ResetVpnConnectionResponse
- type ResizeVolumeParams
- type ResizeVolumeResponse
- type ResourceDetail
- type ResourceLimit
- type ResourcemetadataService
- func (s *ResourcemetadataService) AddResourceDetail(p *AddResourceDetailParams) (*AddResourceDetailResponse, error)
- func (s *ResourcemetadataService) ListResourceDetails(p *ListResourceDetailsParams) (*ListResourceDetailsResponse, error)
- func (s *ResourcemetadataService) NewAddResourceDetailParams(details map[string]string, resourceid string, resourcetype string) *AddResourceDetailParams
- func (s *ResourcemetadataService) NewListResourceDetailsParams(resourceid string, resourcetype string) *ListResourceDetailsParams
- func (s *ResourcemetadataService) NewRemoveResourceDetailParams(resourceid string, resourcetype string) *RemoveResourceDetailParams
- func (s *ResourcemetadataService) RemoveResourceDetail(p *RemoveResourceDetailParams) (*RemoveResourceDetailResponse, error)
- type ResourcetagsService
- func (s *ResourcetagsService) CreateTags(p *CreateTagsParams) (*CreateTagsResponse, error)
- func (s *ResourcetagsService) DeleteTags(p *DeleteTagsParams) (*DeleteTagsResponse, error)
- func (s *ResourcetagsService) ListTags(p *ListTagsParams) (*ListTagsResponse, error)
- func (s *ResourcetagsService) NewCreateTagsParams(resourceids []string, resourcetype string, tags map[string]string) *CreateTagsParams
- func (s *ResourcetagsService) NewDeleteTagsParams(resourceids []string, resourcetype string) *DeleteTagsParams
- func (s *ResourcetagsService) NewListTagsParams() *ListTagsParams
- type RestartNetworkParams
- type RestartNetworkResponse
- type RestartVPCParams
- type RestartVPCResponse
- type RestoreVirtualMachineParams
- type RestoreVirtualMachineResponse
- type RevertSnapshotParams
- type RevertSnapshotResponse
- type RevertToVMSnapshotParams
- type RevertToVMSnapshotResponse
- type RevokeSecurityGroupEgressParams
- type RevokeSecurityGroupEgressResponse
- type RevokeSecurityGroupIngressParams
- type RevokeSecurityGroupIngressResponse
- type Router
- type RouterService
- func (s *RouterService) ChangeServiceForRouter(p *ChangeServiceForRouterParams) (*ChangeServiceForRouterResponse, error)
- func (s *RouterService) ConfigureVirtualRouterElement(p *ConfigureVirtualRouterElementParams) (*ConfigureVirtualRouterElementResponse, error)
- func (s *RouterService) CreateVirtualRouterElement(p *CreateVirtualRouterElementParams) (*CreateVirtualRouterElementResponse, error)
- func (s *RouterService) DestroyRouter(p *DestroyRouterParams) (*DestroyRouterResponse, error)
- func (s *RouterService) GetRouterID(name string) (string, error)
- func (s *RouterService) GetVirtualRouterElementID(keyword string) (string, error)
- func (s *RouterService) ListRouters(p *ListRoutersParams) (*ListRoutersResponse, error)
- func (s *RouterService) ListVirtualRouterElements(p *ListVirtualRouterElementsParams) (*ListVirtualRouterElementsResponse, error)
- func (s *RouterService) NewChangeServiceForRouterParams(id string, serviceofferingid string) *ChangeServiceForRouterParams
- func (s *RouterService) NewConfigureVirtualRouterElementParams(enabled bool, id string) *ConfigureVirtualRouterElementParams
- func (s *RouterService) NewCreateVirtualRouterElementParams(nspid string) *CreateVirtualRouterElementParams
- func (s *RouterService) NewDestroyRouterParams(id string) *DestroyRouterParams
- func (s *RouterService) NewListRoutersParams() *ListRoutersParams
- func (s *RouterService) NewListVirtualRouterElementsParams() *ListVirtualRouterElementsParams
- func (s *RouterService) NewRebootRouterParams(id string) *RebootRouterParams
- func (s *RouterService) NewStartRouterParams(id string) *StartRouterParams
- func (s *RouterService) NewStopRouterParams(id string) *StopRouterParams
- func (s *RouterService) RebootRouter(p *RebootRouterParams) (*RebootRouterResponse, error)
- func (s *RouterService) StartRouter(p *StartRouterParams) (*StartRouterResponse, error)
- func (s *RouterService) StopRouter(p *StopRouterParams) (*StopRouterResponse, error)
- type S3
- type S3Service
- func (s *S3Service) AddS3(p *AddS3Params) (*AddS3Response, error)
- func (s *S3Service) GetS3ID(keyword string) (string, error)
- func (s *S3Service) ListS3s(p *ListS3sParams) (*ListS3sResponse, error)
- func (s *S3Service) NewAddS3Params(accesskey string, bucket string, secretkey string) *AddS3Params
- func (s *S3Service) NewListS3sParams() *ListS3sParams
- type SSHKeyPair
- type SSHService
- func (s *SSHService) CreateSSHKeyPair(p *CreateSSHKeyPairParams) (*CreateSSHKeyPairResponse, error)
- func (s *SSHService) DeleteSSHKeyPair(p *DeleteSSHKeyPairParams) (*DeleteSSHKeyPairResponse, error)
- func (s *SSHService) ListSSHKeyPairs(p *ListSSHKeyPairsParams) (*ListSSHKeyPairsResponse, error)
- func (s *SSHService) NewCreateSSHKeyPairParams(name string) *CreateSSHKeyPairParams
- func (s *SSHService) NewDeleteSSHKeyPairParams(name string) *DeleteSSHKeyPairParams
- func (s *SSHService) NewListSSHKeyPairsParams() *ListSSHKeyPairsParams
- func (s *SSHService) NewRegisterSSHKeyPairParams(name string, publickey string) *RegisterSSHKeyPairParams
- func (s *SSHService) NewResetSSHKeyForVirtualMachineParams(id string, keypair string) *ResetSSHKeyForVirtualMachineParams
- func (s *SSHService) RegisterSSHKeyPair(p *RegisterSSHKeyPairParams) (*RegisterSSHKeyPairResponse, error)
- func (s *SSHService) ResetSSHKeyForVirtualMachine(p *ResetSSHKeyForVirtualMachineParams) (*ResetSSHKeyForVirtualMachineResponse, error)
- type ScaleSystemVmParams
- type ScaleSystemVmResponse
- type ScaleVirtualMachineParams
- type ScaleVirtualMachineResponse
- type SecondaryStagingStore
- type SecurityGroup
- type SecurityGroupService
- func (s *SecurityGroupService) AuthorizeSecurityGroupEgress(p *AuthorizeSecurityGroupEgressParams) (*AuthorizeSecurityGroupEgressResponse, error)
- func (s *SecurityGroupService) AuthorizeSecurityGroupIngress(p *AuthorizeSecurityGroupIngressParams) (*AuthorizeSecurityGroupIngressResponse, error)
- func (s *SecurityGroupService) CreateSecurityGroup(p *CreateSecurityGroupParams) (*CreateSecurityGroupResponse, error)
- func (s *SecurityGroupService) DeleteSecurityGroup(p *DeleteSecurityGroupParams) (*DeleteSecurityGroupResponse, error)
- func (s *SecurityGroupService) GetSecurityGroupID(keyword string) (string, error)
- func (s *SecurityGroupService) ListSecurityGroups(p *ListSecurityGroupsParams) (*ListSecurityGroupsResponse, error)
- func (s *SecurityGroupService) NewAuthorizeSecurityGroupEgressParams() *AuthorizeSecurityGroupEgressParams
- func (s *SecurityGroupService) NewAuthorizeSecurityGroupIngressParams() *AuthorizeSecurityGroupIngressParams
- func (s *SecurityGroupService) NewCreateSecurityGroupParams(name string) *CreateSecurityGroupParams
- func (s *SecurityGroupService) NewDeleteSecurityGroupParams() *DeleteSecurityGroupParams
- func (s *SecurityGroupService) NewListSecurityGroupsParams() *ListSecurityGroupsParams
- func (s *SecurityGroupService) NewRevokeSecurityGroupEgressParams(id string) *RevokeSecurityGroupEgressParams
- func (s *SecurityGroupService) NewRevokeSecurityGroupIngressParams(id string) *RevokeSecurityGroupIngressParams
- func (s *SecurityGroupService) RevokeSecurityGroupEgress(p *RevokeSecurityGroupEgressParams) (*RevokeSecurityGroupEgressResponse, error)
- func (s *SecurityGroupService) RevokeSecurityGroupIngress(p *RevokeSecurityGroupIngressParams) (*RevokeSecurityGroupIngressResponse, error)
- type ServiceOffering
- type ServiceOfferingService
- func (s *ServiceOfferingService) CreateServiceOffering(p *CreateServiceOfferingParams) (*CreateServiceOfferingResponse, error)
- func (s *ServiceOfferingService) DeleteServiceOffering(p *DeleteServiceOfferingParams) (*DeleteServiceOfferingResponse, error)
- func (s *ServiceOfferingService) GetServiceOfferingID(name string) (string, error)
- func (s *ServiceOfferingService) ListServiceOfferings(p *ListServiceOfferingsParams) (*ListServiceOfferingsResponse, error)
- func (s *ServiceOfferingService) NewCreateServiceOfferingParams(displaytext string, name string) *CreateServiceOfferingParams
- func (s *ServiceOfferingService) NewDeleteServiceOfferingParams(id string) *DeleteServiceOfferingParams
- func (s *ServiceOfferingService) NewListServiceOfferingsParams() *ListServiceOfferingsParams
- func (s *ServiceOfferingService) NewUpdateServiceOfferingParams(id string) *UpdateServiceOfferingParams
- func (s *ServiceOfferingService) UpdateServiceOffering(p *UpdateServiceOfferingParams) (*UpdateServiceOfferingResponse, error)
- type Snapshot
- type SnapshotPolicy
- type SnapshotService
- func (s *SnapshotService) CreateSnapshot(p *CreateSnapshotParams) (*CreateSnapshotResponse, error)
- func (s *SnapshotService) CreateSnapshotPolicy(p *CreateSnapshotPolicyParams) (*CreateSnapshotPolicyResponse, error)
- func (s *SnapshotService) CreateVMSnapshot(p *CreateVMSnapshotParams) (*CreateVMSnapshotResponse, error)
- func (s *SnapshotService) DeleteSnapshot(p *DeleteSnapshotParams) (*DeleteSnapshotResponse, error)
- func (s *SnapshotService) DeleteSnapshotPolicies(p *DeleteSnapshotPoliciesParams) (*DeleteSnapshotPoliciesResponse, error)
- func (s *SnapshotService) DeleteVMSnapshot(p *DeleteVMSnapshotParams) (*DeleteVMSnapshotResponse, error)
- func (s *SnapshotService) GetSnapshotID(name string) (string, error)
- func (s *SnapshotService) GetSnapshotPolicyID(keyword string, volumeid string) (string, error)
- func (s *SnapshotService) GetVMSnapshotID(name string) (string, error)
- func (s *SnapshotService) ListSnapshotPolicies(p *ListSnapshotPoliciesParams) (*ListSnapshotPoliciesResponse, error)
- func (s *SnapshotService) ListSnapshots(p *ListSnapshotsParams) (*ListSnapshotsResponse, error)
- func (s *SnapshotService) ListVMSnapshot(p *ListVMSnapshotParams) (*ListVMSnapshotResponse, error)
- func (s *SnapshotService) NewCreateSnapshotParams(volumeid string) *CreateSnapshotParams
- func (s *SnapshotService) NewCreateSnapshotPolicyParams(intervaltype string, maxsnaps int, schedule string, timezone string, ...) *CreateSnapshotPolicyParams
- func (s *SnapshotService) NewCreateVMSnapshotParams(virtualmachineid string) *CreateVMSnapshotParams
- func (s *SnapshotService) NewDeleteSnapshotParams(id string) *DeleteSnapshotParams
- func (s *SnapshotService) NewDeleteSnapshotPoliciesParams() *DeleteSnapshotPoliciesParams
- func (s *SnapshotService) NewDeleteVMSnapshotParams(vmsnapshotid string) *DeleteVMSnapshotParams
- func (s *SnapshotService) NewListSnapshotPoliciesParams(volumeid string) *ListSnapshotPoliciesParams
- func (s *SnapshotService) NewListSnapshotsParams() *ListSnapshotsParams
- func (s *SnapshotService) NewListVMSnapshotParams() *ListVMSnapshotParams
- func (s *SnapshotService) NewRevertSnapshotParams(id string) *RevertSnapshotParams
- func (s *SnapshotService) NewRevertToVMSnapshotParams(vmsnapshotid string) *RevertToVMSnapshotParams
- func (s *SnapshotService) RevertSnapshot(p *RevertSnapshotParams) (*RevertSnapshotResponse, error)
- func (s *SnapshotService) RevertToVMSnapshot(p *RevertToVMSnapshotParams) (*RevertToVMSnapshotResponse, error)
- type SrxFirewall
- type SrxFirewallNetwork
- type SslCert
- type StartInternalLoadBalancerVMParams
- type StartInternalLoadBalancerVMResponse
- type StartRouterParams
- type StartRouterResponse
- type StartSystemVmParams
- type StartSystemVmResponse
- type StartVirtualMachineParams
- type StartVirtualMachineResponse
- type StaticRoute
- type StopInternalLoadBalancerVMParams
- type StopInternalLoadBalancerVMResponse
- type StopRouterParams
- type StopRouterResponse
- type StopSystemVmParams
- type StopSystemVmResponse
- type StopVirtualMachineParams
- type StopVirtualMachineResponse
- type StorageNetworkIpRange
- type StoragePool
- type StoragePoolService
- func (s *StoragePoolService) CancelStorageMaintenance(p *CancelStorageMaintenanceParams) (*CancelStorageMaintenanceResponse, error)
- func (s *StoragePoolService) EnableStorageMaintenance(p *EnableStorageMaintenanceParams) (*EnableStorageMaintenanceResponse, error)
- func (s *StoragePoolService) ListStorageProviders(p *ListStorageProvidersParams) (*ListStorageProvidersResponse, error)
- func (s *StoragePoolService) NewCancelStorageMaintenanceParams(id string) *CancelStorageMaintenanceParams
- func (s *StoragePoolService) NewEnableStorageMaintenanceParams(id string) *EnableStorageMaintenanceParams
- func (s *StoragePoolService) NewListStorageProvidersParams(storagePoolType string) *ListStorageProvidersParams
- type StorageProvider
- type StorageService
- type StratosphereSSPService
- type SupportedNetworkService
- type SuspendProjectParams
- type SuspendProjectResponse
- type Swift
- type SwiftService
- func (s *SwiftService) AddSwift(p *AddSwiftParams) (*AddSwiftResponse, error)
- func (s *SwiftService) GetSwiftID(keyword string) (string, error)
- func (s *SwiftService) ListSwifts(p *ListSwiftsParams) (*ListSwiftsResponse, error)
- func (s *SwiftService) NewAddSwiftParams(url string) *AddSwiftParams
- func (s *SwiftService) NewListSwiftsParams() *ListSwiftsParams
- type SystemCapacityService
- type SystemVMService
- func (s *SystemVMService) ChangeServiceForSystemVm(p *ChangeServiceForSystemVmParams) (*ChangeServiceForSystemVmResponse, error)
- func (s *SystemVMService) DestroySystemVm(p *DestroySystemVmParams) (*DestroySystemVmResponse, error)
- func (s *SystemVMService) GetSystemVmID(name string) (string, error)
- func (s *SystemVMService) ListSystemVms(p *ListSystemVmsParams) (*ListSystemVmsResponse, error)
- func (s *SystemVMService) MigrateSystemVm(p *MigrateSystemVmParams) (*MigrateSystemVmResponse, error)
- func (s *SystemVMService) NewChangeServiceForSystemVmParams(id string, serviceofferingid string) *ChangeServiceForSystemVmParams
- func (s *SystemVMService) NewDestroySystemVmParams(id string) *DestroySystemVmParams
- func (s *SystemVMService) NewListSystemVmsParams() *ListSystemVmsParams
- func (s *SystemVMService) NewMigrateSystemVmParams(hostid string, virtualmachineid string) *MigrateSystemVmParams
- func (s *SystemVMService) NewRebootSystemVmParams(id string) *RebootSystemVmParams
- func (s *SystemVMService) NewScaleSystemVmParams(id string, serviceofferingid string) *ScaleSystemVmParams
- func (s *SystemVMService) NewStartSystemVmParams(id string) *StartSystemVmParams
- func (s *SystemVMService) NewStopSystemVmParams(id string) *StopSystemVmParams
- func (s *SystemVMService) RebootSystemVm(p *RebootSystemVmParams) (*RebootSystemVmResponse, error)
- func (s *SystemVMService) ScaleSystemVm(p *ScaleSystemVmParams) (*ScaleSystemVmResponse, error)
- func (s *SystemVMService) StartSystemVm(p *StartSystemVmParams) (*StartSystemVmResponse, error)
- func (s *SystemVMService) StopSystemVm(p *StopSystemVmParams) (*StopSystemVmResponse, error)
- type SystemVm
- type Tag
- type Template
- type TemplatePermission
- type TemplateService
- func (s *TemplateService) CopyTemplate(p *CopyTemplateParams) (*CopyTemplateResponse, error)
- func (s *TemplateService) CreateTemplate(p *CreateTemplateParams) (*CreateTemplateResponse, error)
- func (s *TemplateService) DeleteTemplate(p *DeleteTemplateParams) (*DeleteTemplateResponse, error)
- func (s *TemplateService) ExtractTemplate(p *ExtractTemplateParams) (*ExtractTemplateResponse, error)
- func (s *TemplateService) GetTemplateID(name string, templatefilter string) (string, error)
- func (s *TemplateService) InstantiateUcsTemplateAndAssocaciateToBlade(p *InstantiateUcsTemplateAndAssocaciateToBladeParams) (*InstantiateUcsTemplateAndAssocaciateToBladeResponse, error)
- func (s *TemplateService) ListTemplatePermissions(p *ListTemplatePermissionsParams) (*ListTemplatePermissionsResponse, error)
- func (s *TemplateService) ListTemplates(p *ListTemplatesParams) (*ListTemplatesResponse, error)
- func (s *TemplateService) ListUcsTemplates(p *ListUcsTemplatesParams) (*ListUcsTemplatesResponse, error)
- func (s *TemplateService) NewCopyTemplateParams(destzoneid string, id string) *CopyTemplateParams
- func (s *TemplateService) NewCreateTemplateParams(displaytext string, name string, ostypeid string) *CreateTemplateParams
- func (s *TemplateService) NewDeleteTemplateParams(id string) *DeleteTemplateParams
- func (s *TemplateService) NewExtractTemplateParams(id string, mode string) *ExtractTemplateParams
- func (s *TemplateService) NewInstantiateUcsTemplateAndAssocaciateToBladeParams(bladeid string, templatedn string, ucsmanagerid string) *InstantiateUcsTemplateAndAssocaciateToBladeParams
- func (s *TemplateService) NewListTemplatePermissionsParams(id string) *ListTemplatePermissionsParams
- func (s *TemplateService) NewListTemplatesParams(templatefilter string) *ListTemplatesParams
- func (s *TemplateService) NewListUcsTemplatesParams(ucsmanagerid string) *ListUcsTemplatesParams
- func (s *TemplateService) NewPrepareTemplateParams(templateid string, zoneid string) *PrepareTemplateParams
- func (s *TemplateService) NewRegisterTemplateParams(displaytext string, format string, hypervisor string, name string, ...) *RegisterTemplateParams
- func (s *TemplateService) NewUpdateTemplateParams(id string) *UpdateTemplateParams
- func (s *TemplateService) NewUpdateTemplatePermissionsParams(id string) *UpdateTemplatePermissionsParams
- func (s *TemplateService) NewUpgradeRouterTemplateParams() *UpgradeRouterTemplateParams
- func (s *TemplateService) PrepareTemplate(p *PrepareTemplateParams) (*PrepareTemplateResponse, error)
- func (s *TemplateService) RegisterTemplate(p *RegisterTemplateParams) (*RegisterTemplateResponse, error)
- func (s *TemplateService) UpdateTemplate(p *UpdateTemplateParams) (*UpdateTemplateResponse, error)
- func (s *TemplateService) UpdateTemplatePermissions(p *UpdateTemplatePermissionsParams) (*UpdateTemplatePermissionsResponse, error)
- func (s *TemplateService) UpgradeRouterTemplate(p *UpgradeRouterTemplateParams) (*UpgradeRouterTemplateResponse, error)
- type TrafficMonitor
- type TrafficType
- type TrafficTypeImplementor
- type UCSService
- func (s *UCSService) AddUcsManager(p *AddUcsManagerParams) (*AddUcsManagerResponse, error)
- func (s *UCSService) AssociateUcsProfileToBlade(p *AssociateUcsProfileToBladeParams) (*AssociateUcsProfileToBladeResponse, error)
- func (s *UCSService) DeleteUcsManager(p *DeleteUcsManagerParams) (*DeleteUcsManagerResponse, error)
- func (s *UCSService) DisassociateUcsProfileFromBlade(p *DisassociateUcsProfileFromBladeParams) (*DisassociateUcsProfileFromBladeResponse, error)
- func (s *UCSService) GetUcsBladeID(keyword string, ucsmanagerid string) (string, error)
- func (s *UCSService) GetUcsManagerID(keyword string) (string, error)
- func (s *UCSService) ListUcsBlades(p *ListUcsBladesParams) (*ListUcsBladesResponse, error)
- func (s *UCSService) ListUcsManagers(p *ListUcsManagersParams) (*ListUcsManagersResponse, error)
- func (s *UCSService) ListUcsProfiles(p *ListUcsProfilesParams) (*ListUcsProfilesResponse, error)
- func (s *UCSService) NewAddUcsManagerParams(password string, url string, username string, zoneid string) *AddUcsManagerParams
- func (s *UCSService) NewAssociateUcsProfileToBladeParams(bladeid string, profiledn string, ucsmanagerid string) *AssociateUcsProfileToBladeParams
- func (s *UCSService) NewDeleteUcsManagerParams(ucsmanagerid string) *DeleteUcsManagerParams
- func (s *UCSService) NewDisassociateUcsProfileFromBladeParams(bladeid string) *DisassociateUcsProfileFromBladeParams
- func (s *UCSService) NewListUcsBladesParams(ucsmanagerid string) *ListUcsBladesParams
- func (s *UCSService) NewListUcsManagersParams() *ListUcsManagersParams
- func (s *UCSService) NewListUcsProfilesParams(ucsmanagerid string) *ListUcsProfilesParams
- func (s *UCSService) NewRefreshUcsBladesParams(ucsmanagerid string) *RefreshUcsBladesParams
- func (s *UCSService) RefreshUcsBlades(p *RefreshUcsBladesParams) (*RefreshUcsBladesResponse, error)
- type UcsBlade
- type UcsManager
- type UcsProfile
- type UcsTemplate
- type UpdateAccountParams
- func (p *UpdateAccountParams) SetAccount(v string)
- func (p *UpdateAccountParams) SetAccountdetails(v map[string]string)
- func (p *UpdateAccountParams) SetDomainid(v string)
- func (p *UpdateAccountParams) SetId(v string)
- func (p *UpdateAccountParams) SetNetworkdomain(v string)
- func (p *UpdateAccountParams) SetNewname(v string)
- type UpdateAccountResponse
- type UpdateAutoScalePolicyParams
- type UpdateAutoScalePolicyResponse
- type UpdateAutoScaleVmGroupParams
- func (p *UpdateAutoScaleVmGroupParams) SetId(v string)
- func (p *UpdateAutoScaleVmGroupParams) SetInterval(v int)
- func (p *UpdateAutoScaleVmGroupParams) SetMaxmembers(v int)
- func (p *UpdateAutoScaleVmGroupParams) SetMinmembers(v int)
- func (p *UpdateAutoScaleVmGroupParams) SetScaledownpolicyids(v []string)
- func (p *UpdateAutoScaleVmGroupParams) SetScaleuppolicyids(v []string)
- type UpdateAutoScaleVmGroupResponse
- type UpdateAutoScaleVmProfileParams
- func (p *UpdateAutoScaleVmProfileParams) SetAutoscaleuserid(v string)
- func (p *UpdateAutoScaleVmProfileParams) SetCounterparam(v map[string]string)
- func (p *UpdateAutoScaleVmProfileParams) SetDestroyvmgraceperiod(v int)
- func (p *UpdateAutoScaleVmProfileParams) SetId(v string)
- func (p *UpdateAutoScaleVmProfileParams) SetTemplateid(v string)
- type UpdateAutoScaleVmProfileResponse
- type UpdateCloudToUseObjectStoreParams
- type UpdateCloudToUseObjectStoreResponse
- type UpdateClusterParams
- func (p *UpdateClusterParams) SetAllocationstate(v string)
- func (p *UpdateClusterParams) SetClustername(v string)
- func (p *UpdateClusterParams) SetClustertype(v string)
- func (p *UpdateClusterParams) SetHypervisor(v string)
- func (p *UpdateClusterParams) SetId(v string)
- func (p *UpdateClusterParams) SetManagedstate(v string)
- type UpdateClusterResponse
- type UpdateConfigurationParams
- func (p *UpdateConfigurationParams) SetAccountid(v string)
- func (p *UpdateConfigurationParams) SetClusterid(v string)
- func (p *UpdateConfigurationParams) SetName(v string)
- func (p *UpdateConfigurationParams) SetStorageid(v string)
- func (p *UpdateConfigurationParams) SetValue(v string)
- func (p *UpdateConfigurationParams) SetZoneid(v string)
- type UpdateConfigurationResponse
- type UpdateDefaultNicForVirtualMachineParams
- type UpdateDefaultNicForVirtualMachineResponse
- type UpdateDiskOfferingParams
- type UpdateDiskOfferingResponse
- type UpdateDomainParams
- type UpdateDomainResponse
- type UpdateGlobalLoadBalancerRuleParams
- type UpdateGlobalLoadBalancerRuleResponse
- type UpdateHostParams
- type UpdateHostPasswordParams
- type UpdateHostPasswordResponse
- type UpdateHostResponse
- type UpdateHypervisorCapabilitiesParams
- type UpdateHypervisorCapabilitiesResponse
- type UpdateInstanceGroupParams
- type UpdateInstanceGroupResponse
- type UpdateIsoParams
- func (p *UpdateIsoParams) SetBootable(v bool)
- func (p *UpdateIsoParams) SetDisplaytext(v string)
- func (p *UpdateIsoParams) SetFormat(v string)
- func (p *UpdateIsoParams) SetId(v string)
- func (p *UpdateIsoParams) SetIsdynamicallyscalable(v bool)
- func (p *UpdateIsoParams) SetIsrouting(v bool)
- func (p *UpdateIsoParams) SetName(v string)
- func (p *UpdateIsoParams) SetOstypeid(v string)
- func (p *UpdateIsoParams) SetPasswordenabled(v bool)
- func (p *UpdateIsoParams) SetSortkey(v int)
- type UpdateIsoPermissionsParams
- func (p *UpdateIsoPermissionsParams) SetAccounts(v []string)
- func (p *UpdateIsoPermissionsParams) SetId(v string)
- func (p *UpdateIsoPermissionsParams) SetIsextractable(v bool)
- func (p *UpdateIsoPermissionsParams) SetIsfeatured(v bool)
- func (p *UpdateIsoPermissionsParams) SetIspublic(v bool)
- func (p *UpdateIsoPermissionsParams) SetOp(v string)
- func (p *UpdateIsoPermissionsParams) SetProjectids(v []string)
- type UpdateIsoPermissionsResponse
- type UpdateIsoResponse
- type UpdateLoadBalancerRuleParams
- type UpdateLoadBalancerRuleResponse
- type UpdateNetworkACLItemParams
- func (p *UpdateNetworkACLItemParams) SetAction(v string)
- func (p *UpdateNetworkACLItemParams) SetCidrlist(v []string)
- func (p *UpdateNetworkACLItemParams) SetEndport(v int)
- func (p *UpdateNetworkACLItemParams) SetIcmpcode(v int)
- func (p *UpdateNetworkACLItemParams) SetIcmptype(v int)
- func (p *UpdateNetworkACLItemParams) SetId(v string)
- func (p *UpdateNetworkACLItemParams) SetNumber(v int)
- func (p *UpdateNetworkACLItemParams) SetProtocol(v string)
- func (p *UpdateNetworkACLItemParams) SetStartport(v int)
- func (p *UpdateNetworkACLItemParams) SetTraffictype(v string)
- type UpdateNetworkACLItemResponse
- type UpdateNetworkOfferingParams
- func (p *UpdateNetworkOfferingParams) SetAvailability(v string)
- func (p *UpdateNetworkOfferingParams) SetDisplaytext(v string)
- func (p *UpdateNetworkOfferingParams) SetId(v string)
- func (p *UpdateNetworkOfferingParams) SetKeepaliveenabled(v bool)
- func (p *UpdateNetworkOfferingParams) SetMaxconnections(v int)
- func (p *UpdateNetworkOfferingParams) SetName(v string)
- func (p *UpdateNetworkOfferingParams) SetSortkey(v int)
- func (p *UpdateNetworkOfferingParams) SetState(v string)
- type UpdateNetworkOfferingResponse
- type UpdateNetworkParams
- func (p *UpdateNetworkParams) SetChangecidr(v bool)
- func (p *UpdateNetworkParams) SetDisplaynetwork(v bool)
- func (p *UpdateNetworkParams) SetDisplaytext(v string)
- func (p *UpdateNetworkParams) SetGuestvmcidr(v string)
- func (p *UpdateNetworkParams) SetId(v string)
- func (p *UpdateNetworkParams) SetName(v string)
- func (p *UpdateNetworkParams) SetNetworkdomain(v string)
- func (p *UpdateNetworkParams) SetNetworkofferingid(v string)
- type UpdateNetworkResponse
- type UpdateNetworkServiceProviderParams
- type UpdateNetworkServiceProviderResponse
- type UpdatePhysicalNetworkParams
- type UpdatePhysicalNetworkResponse
- type UpdatePodParams
- func (p *UpdatePodParams) SetAllocationstate(v string)
- func (p *UpdatePodParams) SetEndip(v string)
- func (p *UpdatePodParams) SetGateway(v string)
- func (p *UpdatePodParams) SetId(v string)
- func (p *UpdatePodParams) SetName(v string)
- func (p *UpdatePodParams) SetNetmask(v string)
- func (p *UpdatePodParams) SetStartip(v string)
- type UpdatePodResponse
- type UpdatePortForwardingRuleParams
- func (p *UpdatePortForwardingRuleParams) SetIpaddressid(v string)
- func (p *UpdatePortForwardingRuleParams) SetPrivateip(v string)
- func (p *UpdatePortForwardingRuleParams) SetPrivateport(v string)
- func (p *UpdatePortForwardingRuleParams) SetProtocol(v string)
- func (p *UpdatePortForwardingRuleParams) SetPublicport(v string)
- func (p *UpdatePortForwardingRuleParams) SetVirtualmachineid(v string)
- type UpdatePortForwardingRuleResponse
- type UpdateProjectInvitationParams
- type UpdateProjectInvitationResponse
- type UpdateProjectParams
- type UpdateProjectResponse
- type UpdateRegionParams
- type UpdateRegionResponse
- type UpdateResourceCountParams
- type UpdateResourceCountResponse
- type UpdateResourceLimitParams
- type UpdateResourceLimitResponse
- type UpdateServiceOfferingParams
- type UpdateServiceOfferingResponse
- type UpdateStorageNetworkIpRangeParams
- func (p *UpdateStorageNetworkIpRangeParams) SetEndip(v string)
- func (p *UpdateStorageNetworkIpRangeParams) SetId(v string)
- func (p *UpdateStorageNetworkIpRangeParams) SetNetmask(v string)
- func (p *UpdateStorageNetworkIpRangeParams) SetStartip(v string)
- func (p *UpdateStorageNetworkIpRangeParams) SetVlan(v int)
- type UpdateStorageNetworkIpRangeResponse
- type UpdateStoragePoolParams
- type UpdateStoragePoolResponse
- type UpdateTemplateParams
- func (p *UpdateTemplateParams) SetBootable(v bool)
- func (p *UpdateTemplateParams) SetDisplaytext(v string)
- func (p *UpdateTemplateParams) SetFormat(v string)
- func (p *UpdateTemplateParams) SetId(v string)
- func (p *UpdateTemplateParams) SetIsdynamicallyscalable(v bool)
- func (p *UpdateTemplateParams) SetIsrouting(v bool)
- func (p *UpdateTemplateParams) SetName(v string)
- func (p *UpdateTemplateParams) SetOstypeid(v string)
- func (p *UpdateTemplateParams) SetPasswordenabled(v bool)
- func (p *UpdateTemplateParams) SetSortkey(v int)
- type UpdateTemplatePermissionsParams
- func (p *UpdateTemplatePermissionsParams) SetAccounts(v []string)
- func (p *UpdateTemplatePermissionsParams) SetId(v string)
- func (p *UpdateTemplatePermissionsParams) SetIsextractable(v bool)
- func (p *UpdateTemplatePermissionsParams) SetIsfeatured(v bool)
- func (p *UpdateTemplatePermissionsParams) SetIspublic(v bool)
- func (p *UpdateTemplatePermissionsParams) SetOp(v string)
- func (p *UpdateTemplatePermissionsParams) SetProjectids(v []string)
- type UpdateTemplatePermissionsResponse
- type UpdateTemplateResponse
- type UpdateTrafficTypeParams
- func (p *UpdateTrafficTypeParams) SetHypervnetworklabel(v string)
- func (p *UpdateTrafficTypeParams) SetId(v string)
- func (p *UpdateTrafficTypeParams) SetKvmnetworklabel(v string)
- func (p *UpdateTrafficTypeParams) SetVmwarenetworklabel(v string)
- func (p *UpdateTrafficTypeParams) SetXennetworklabel(v string)
- type UpdateTrafficTypeResponse
- type UpdateUserParams
- func (p *UpdateUserParams) SetEmail(v string)
- func (p *UpdateUserParams) SetFirstname(v string)
- func (p *UpdateUserParams) SetId(v string)
- func (p *UpdateUserParams) SetLastname(v string)
- func (p *UpdateUserParams) SetPassword(v string)
- func (p *UpdateUserParams) SetTimezone(v string)
- func (p *UpdateUserParams) SetUserapikey(v string)
- func (p *UpdateUserParams) SetUsername(v string)
- func (p *UpdateUserParams) SetUsersecretkey(v string)
- type UpdateUserResponse
- type UpdateVMAffinityGroupParams
- type UpdateVMAffinityGroupResponse
- type UpdateVPCOfferingParams
- type UpdateVPCOfferingResponse
- type UpdateVPCParams
- type UpdateVPCResponse
- type UpdateVirtualMachineParams
- func (p *UpdateVirtualMachineParams) SetDisplayname(v string)
- func (p *UpdateVirtualMachineParams) SetDisplayvm(v bool)
- func (p *UpdateVirtualMachineParams) SetGroup(v string)
- func (p *UpdateVirtualMachineParams) SetHaenable(v bool)
- func (p *UpdateVirtualMachineParams) SetId(v string)
- func (p *UpdateVirtualMachineParams) SetIsdynamicallyscalable(v bool)
- func (p *UpdateVirtualMachineParams) SetOstypeid(v string)
- func (p *UpdateVirtualMachineParams) SetUserdata(v string)
- type UpdateVirtualMachineResponse
- type UpdateVolumeParams
- type UpdateVolumeResponse
- type UpdateVpnCustomerGatewayParams
- func (p *UpdateVpnCustomerGatewayParams) SetAccount(v string)
- func (p *UpdateVpnCustomerGatewayParams) SetCidrlist(v string)
- func (p *UpdateVpnCustomerGatewayParams) SetDomainid(v string)
- func (p *UpdateVpnCustomerGatewayParams) SetDpd(v bool)
- func (p *UpdateVpnCustomerGatewayParams) SetEsplifetime(v int)
- func (p *UpdateVpnCustomerGatewayParams) SetEsppolicy(v string)
- func (p *UpdateVpnCustomerGatewayParams) SetGateway(v string)
- func (p *UpdateVpnCustomerGatewayParams) SetId(v string)
- func (p *UpdateVpnCustomerGatewayParams) SetIkelifetime(v int)
- func (p *UpdateVpnCustomerGatewayParams) SetIkepolicy(v string)
- func (p *UpdateVpnCustomerGatewayParams) SetIpsecpsk(v string)
- func (p *UpdateVpnCustomerGatewayParams) SetName(v string)
- type UpdateVpnCustomerGatewayResponse
- type UpdateZoneParams
- func (p *UpdateZoneParams) SetAllocationstate(v string)
- func (p *UpdateZoneParams) SetDetails(v map[string]string)
- func (p *UpdateZoneParams) SetDhcpprovider(v string)
- func (p *UpdateZoneParams) SetDns1(v string)
- func (p *UpdateZoneParams) SetDns2(v string)
- func (p *UpdateZoneParams) SetDnssearchorder(v []string)
- func (p *UpdateZoneParams) SetDomain(v string)
- func (p *UpdateZoneParams) SetGuestcidraddress(v string)
- func (p *UpdateZoneParams) SetId(v string)
- func (p *UpdateZoneParams) SetInternaldns1(v string)
- func (p *UpdateZoneParams) SetInternaldns2(v string)
- func (p *UpdateZoneParams) SetIp6dns1(v string)
- func (p *UpdateZoneParams) SetIp6dns2(v string)
- func (p *UpdateZoneParams) SetIspublic(v bool)
- func (p *UpdateZoneParams) SetLocalstorageenabled(v bool)
- func (p *UpdateZoneParams) SetName(v string)
- type UpdateZoneResponse
- type UpgradeRouterTemplateParams
- func (p *UpgradeRouterTemplateParams) SetAccount(v string)
- func (p *UpgradeRouterTemplateParams) SetClusterid(v string)
- func (p *UpgradeRouterTemplateParams) SetDomainid(v string)
- func (p *UpgradeRouterTemplateParams) SetId(v string)
- func (p *UpgradeRouterTemplateParams) SetPodid(v string)
- func (p *UpgradeRouterTemplateParams) SetZoneid(v string)
- type UpgradeRouterTemplateResponse
- type UploadCustomCertificateParams
- func (p *UploadCustomCertificateParams) SetCertificate(v string)
- func (p *UploadCustomCertificateParams) SetDomainsuffix(v string)
- func (p *UploadCustomCertificateParams) SetId(v int)
- func (p *UploadCustomCertificateParams) SetName(v string)
- func (p *UploadCustomCertificateParams) SetPrivatekey(v string)
- type UploadCustomCertificateResponse
- type UploadSslCertParams
- type UploadSslCertResponse
- type UploadVolumeParams
- func (p *UploadVolumeParams) SetAccount(v string)
- func (p *UploadVolumeParams) SetChecksum(v string)
- func (p *UploadVolumeParams) SetDomainid(v string)
- func (p *UploadVolumeParams) SetFormat(v string)
- func (p *UploadVolumeParams) SetImagestoreuuid(v string)
- func (p *UploadVolumeParams) SetName(v string)
- func (p *UploadVolumeParams) SetProjectid(v string)
- func (p *UploadVolumeParams) SetUrl(v string)
- func (p *UploadVolumeParams) SetZoneid(v string)
- type UploadVolumeResponse
- type UsageRecord
- type UsageService
- func (s *UsageService) AddTrafficMonitor(p *AddTrafficMonitorParams) (*AddTrafficMonitorResponse, error)
- func (s *UsageService) AddTrafficType(p *AddTrafficTypeParams) (*AddTrafficTypeResponse, error)
- func (s *UsageService) DeleteTrafficMonitor(p *DeleteTrafficMonitorParams) (*DeleteTrafficMonitorResponse, error)
- func (s *UsageService) DeleteTrafficType(p *DeleteTrafficTypeParams) (*DeleteTrafficTypeResponse, error)
- func (s *UsageService) GenerateUsageRecords(p *GenerateUsageRecordsParams) (*GenerateUsageRecordsResponse, error)
- func (s *UsageService) GetTrafficMonitorID(keyword string, zoneid string) (string, error)
- func (s *UsageService) GetTrafficTypeID(keyword string, physicalnetworkid string) (string, error)
- func (s *UsageService) ListTrafficMonitors(p *ListTrafficMonitorsParams) (*ListTrafficMonitorsResponse, error)
- func (s *UsageService) ListTrafficTypeImplementors(p *ListTrafficTypeImplementorsParams) (*ListTrafficTypeImplementorsResponse, error)
- func (s *UsageService) ListTrafficTypes(p *ListTrafficTypesParams) (*ListTrafficTypesResponse, error)
- func (s *UsageService) ListUsageRecords(p *ListUsageRecordsParams) (*ListUsageRecordsResponse, error)
- func (s *UsageService) ListUsageTypes(p *ListUsageTypesParams) (*ListUsageTypesResponse, error)
- func (s *UsageService) NewAddTrafficMonitorParams(url string, zoneid string) *AddTrafficMonitorParams
- func (s *UsageService) NewAddTrafficTypeParams(physicalnetworkid string, traffictype string) *AddTrafficTypeParams
- func (s *UsageService) NewDeleteTrafficMonitorParams(id string) *DeleteTrafficMonitorParams
- func (s *UsageService) NewDeleteTrafficTypeParams(id string) *DeleteTrafficTypeParams
- func (s *UsageService) NewGenerateUsageRecordsParams(enddate string, startdate string) *GenerateUsageRecordsParams
- func (s *UsageService) NewListTrafficMonitorsParams(zoneid string) *ListTrafficMonitorsParams
- func (s *UsageService) NewListTrafficTypeImplementorsParams() *ListTrafficTypeImplementorsParams
- func (s *UsageService) NewListTrafficTypesParams(physicalnetworkid string) *ListTrafficTypesParams
- func (s *UsageService) NewListUsageRecordsParams(enddate string, startdate string) *ListUsageRecordsParams
- func (s *UsageService) NewListUsageTypesParams() *ListUsageTypesParams
- func (s *UsageService) NewUpdateTrafficTypeParams(id string) *UpdateTrafficTypeParams
- func (s *UsageService) UpdateTrafficType(p *UpdateTrafficTypeParams) (*UpdateTrafficTypeResponse, error)
- type UsageType
- type User
- type UserService
- func (s *UserService) CreateUser(p *CreateUserParams) (*CreateUserResponse, error)
- func (s *UserService) DeleteUser(p *DeleteUserParams) (*DeleteUserResponse, error)
- func (s *UserService) DisableUser(p *DisableUserParams) (*DisableUserResponse, error)
- func (s *UserService) EnableUser(p *EnableUserParams) (*EnableUserResponse, error)
- func (s *UserService) GetUser(p *GetUserParams) (*GetUserResponse, error)
- func (s *UserService) GetUserID(keyword string) (string, error)
- func (s *UserService) ImportLdapUsers(p *ImportLdapUsersParams) (*ImportLdapUsersResponse, error)
- func (s *UserService) ListLdapUsers(p *ListLdapUsersParams) (*ListLdapUsersResponse, error)
- func (s *UserService) ListUsers(p *ListUsersParams) (*ListUsersResponse, error)
- func (s *UserService) LockUser(p *LockUserParams) (*LockUserResponse, error)
- func (s *UserService) NewCreateUserParams(account string, email string, firstname string, lastname string, ...) *CreateUserParams
- func (s *UserService) NewDeleteUserParams(id string) *DeleteUserParams
- func (s *UserService) NewDisableUserParams(id string) *DisableUserParams
- func (s *UserService) NewEnableUserParams(id string) *EnableUserParams
- func (s *UserService) NewGetUserParams(userapikey string) *GetUserParams
- func (s *UserService) NewImportLdapUsersParams(accounttype int) *ImportLdapUsersParams
- func (s *UserService) NewListLdapUsersParams() *ListLdapUsersParams
- func (s *UserService) NewListUsersParams() *ListUsersParams
- func (s *UserService) NewLockUserParams(id string) *LockUserParams
- func (s *UserService) NewRegisterUserKeysParams(id string) *RegisterUserKeysParams
- func (s *UserService) NewUpdateUserParams(id string) *UpdateUserParams
- func (s *UserService) RegisterUserKeys(p *RegisterUserKeysParams) (*RegisterUserKeysResponse, error)
- func (s *UserService) UpdateUser(p *UpdateUserParams) (*UpdateUserResponse, error)
- type VLANService
- func (s *VLANService) CreateVlanIpRange(p *CreateVlanIpRangeParams) (*CreateVlanIpRangeResponse, error)
- func (s *VLANService) DedicateGuestVlanRange(p *DedicateGuestVlanRangeParams) (*DedicateGuestVlanRangeResponse, error)
- func (s *VLANService) DeleteVlanIpRange(p *DeleteVlanIpRangeParams) (*DeleteVlanIpRangeResponse, error)
- func (s *VLANService) GetDedicatedGuestVlanRangeID(keyword string) (string, error)
- func (s *VLANService) GetVlanIpRangeID(keyword string) (string, error)
- func (s *VLANService) ListDedicatedGuestVlanRanges(p *ListDedicatedGuestVlanRangesParams) (*ListDedicatedGuestVlanRangesResponse, error)
- func (s *VLANService) ListVlanIpRanges(p *ListVlanIpRangesParams) (*ListVlanIpRangesResponse, error)
- func (s *VLANService) NewCreateVlanIpRangeParams() *CreateVlanIpRangeParams
- func (s *VLANService) NewDedicateGuestVlanRangeParams(account string, domainid string, physicalnetworkid string, vlanrange string) *DedicateGuestVlanRangeParams
- func (s *VLANService) NewDeleteVlanIpRangeParams(id string) *DeleteVlanIpRangeParams
- func (s *VLANService) NewListDedicatedGuestVlanRangesParams() *ListDedicatedGuestVlanRangesParams
- func (s *VLANService) NewListVlanIpRangesParams() *ListVlanIpRangesParams
- func (s *VLANService) NewReleaseDedicatedGuestVlanRangeParams(id string) *ReleaseDedicatedGuestVlanRangeParams
- func (s *VLANService) ReleaseDedicatedGuestVlanRange(p *ReleaseDedicatedGuestVlanRangeParams) (*ReleaseDedicatedGuestVlanRangeResponse, error)
- type VMGroupService
- func (s *VMGroupService) CreateInstanceGroup(p *CreateInstanceGroupParams) (*CreateInstanceGroupResponse, error)
- func (s *VMGroupService) DeleteInstanceGroup(p *DeleteInstanceGroupParams) (*DeleteInstanceGroupResponse, error)
- func (s *VMGroupService) GetInstanceGroupID(name string) (string, error)
- func (s *VMGroupService) ListInstanceGroups(p *ListInstanceGroupsParams) (*ListInstanceGroupsResponse, error)
- func (s *VMGroupService) NewCreateInstanceGroupParams(name string) *CreateInstanceGroupParams
- func (s *VMGroupService) NewDeleteInstanceGroupParams(id string) *DeleteInstanceGroupParams
- func (s *VMGroupService) NewListInstanceGroupsParams() *ListInstanceGroupsParams
- func (s *VMGroupService) NewUpdateInstanceGroupParams(id string) *UpdateInstanceGroupParams
- func (s *VMGroupService) UpdateInstanceGroup(p *UpdateInstanceGroupParams) (*UpdateInstanceGroupResponse, error)
- type VMSnapshot
- type VPC
- type VPCOffering
- type VPCService
- func (s *VPCService) CreatePrivateGateway(p *CreatePrivateGatewayParams) (*CreatePrivateGatewayResponse, error)
- func (s *VPCService) CreateStaticRoute(p *CreateStaticRouteParams) (*CreateStaticRouteResponse, error)
- func (s *VPCService) CreateVPC(p *CreateVPCParams) (*CreateVPCResponse, error)
- func (s *VPCService) CreateVPCOffering(p *CreateVPCOfferingParams) (*CreateVPCOfferingResponse, error)
- func (s *VPCService) DeletePrivateGateway(p *DeletePrivateGatewayParams) (*DeletePrivateGatewayResponse, error)
- func (s *VPCService) DeleteStaticRoute(p *DeleteStaticRouteParams) (*DeleteStaticRouteResponse, error)
- func (s *VPCService) DeleteVPC(p *DeleteVPCParams) (*DeleteVPCResponse, error)
- func (s *VPCService) DeleteVPCOffering(p *DeleteVPCOfferingParams) (*DeleteVPCOfferingResponse, error)
- func (s *VPCService) GetPrivateGatewayID(keyword string) (string, error)
- func (s *VPCService) GetStaticRouteID(keyword string) (string, error)
- func (s *VPCService) GetVPCID(name string) (string, error)
- func (s *VPCService) GetVPCOfferingID(name string) (string, error)
- func (s *VPCService) ListPrivateGateways(p *ListPrivateGatewaysParams) (*ListPrivateGatewaysResponse, error)
- func (s *VPCService) ListStaticRoutes(p *ListStaticRoutesParams) (*ListStaticRoutesResponse, error)
- func (s *VPCService) ListVPCOfferings(p *ListVPCOfferingsParams) (*ListVPCOfferingsResponse, error)
- func (s *VPCService) ListVPCs(p *ListVPCsParams) (*ListVPCsResponse, error)
- func (s *VPCService) NewCreatePrivateGatewayParams(gateway string, ipaddress string, netmask string, vlan string, vpcid string) *CreatePrivateGatewayParams
- func (s *VPCService) NewCreateStaticRouteParams(cidr string, gatewayid string) *CreateStaticRouteParams
- func (s *VPCService) NewCreateVPCOfferingParams(displaytext string, name string, supportedservices []string) *CreateVPCOfferingParams
- func (s *VPCService) NewCreateVPCParams(cidr string, displaytext string, name string, vpcofferingid string, ...) *CreateVPCParams
- func (s *VPCService) NewDeletePrivateGatewayParams(id string) *DeletePrivateGatewayParams
- func (s *VPCService) NewDeleteStaticRouteParams(id string) *DeleteStaticRouteParams
- func (s *VPCService) NewDeleteVPCOfferingParams(id string) *DeleteVPCOfferingParams
- func (s *VPCService) NewDeleteVPCParams(id string) *DeleteVPCParams
- func (s *VPCService) NewListPrivateGatewaysParams() *ListPrivateGatewaysParams
- func (s *VPCService) NewListStaticRoutesParams() *ListStaticRoutesParams
- func (s *VPCService) NewListVPCOfferingsParams() *ListVPCOfferingsParams
- func (s *VPCService) NewListVPCsParams() *ListVPCsParams
- func (s *VPCService) NewRestartVPCParams(id string) *RestartVPCParams
- func (s *VPCService) NewUpdateVPCOfferingParams(id string) *UpdateVPCOfferingParams
- func (s *VPCService) NewUpdateVPCParams(id string, name string) *UpdateVPCParams
- func (s *VPCService) RestartVPC(p *RestartVPCParams) (*RestartVPCResponse, error)
- func (s *VPCService) UpdateVPC(p *UpdateVPCParams) (*UpdateVPCResponse, error)
- func (s *VPCService) UpdateVPCOffering(p *UpdateVPCOfferingParams) (*UpdateVPCOfferingResponse, error)
- type VPNService
- func (s *VPNService) AddVpnUser(p *AddVpnUserParams) (*AddVpnUserResponse, error)
- func (s *VPNService) CreateRemoteAccessVpn(p *CreateRemoteAccessVpnParams) (*CreateRemoteAccessVpnResponse, error)
- func (s *VPNService) CreateVpnConnection(p *CreateVpnConnectionParams) (*CreateVpnConnectionResponse, error)
- func (s *VPNService) CreateVpnCustomerGateway(p *CreateVpnCustomerGatewayParams) (*CreateVpnCustomerGatewayResponse, error)
- func (s *VPNService) CreateVpnGateway(p *CreateVpnGatewayParams) (*CreateVpnGatewayResponse, error)
- func (s *VPNService) DeleteRemoteAccessVpn(p *DeleteRemoteAccessVpnParams) (*DeleteRemoteAccessVpnResponse, error)
- func (s *VPNService) DeleteVpnConnection(p *DeleteVpnConnectionParams) (*DeleteVpnConnectionResponse, error)
- func (s *VPNService) DeleteVpnCustomerGateway(p *DeleteVpnCustomerGatewayParams) (*DeleteVpnCustomerGatewayResponse, error)
- func (s *VPNService) DeleteVpnGateway(p *DeleteVpnGatewayParams) (*DeleteVpnGatewayResponse, error)
- func (s *VPNService) GetRemoteAccessVpnID(keyword string) (string, error)
- func (s *VPNService) GetVpnConnectionID(keyword string) (string, error)
- func (s *VPNService) GetVpnCustomerGatewayID(keyword string) (string, error)
- func (s *VPNService) GetVpnGatewayID(keyword string) (string, error)
- func (s *VPNService) GetVpnUserID(keyword string) (string, error)
- func (s *VPNService) ListRemoteAccessVpns(p *ListRemoteAccessVpnsParams) (*ListRemoteAccessVpnsResponse, error)
- func (s *VPNService) ListVpnConnections(p *ListVpnConnectionsParams) (*ListVpnConnectionsResponse, error)
- func (s *VPNService) ListVpnCustomerGateways(p *ListVpnCustomerGatewaysParams) (*ListVpnCustomerGatewaysResponse, error)
- func (s *VPNService) ListVpnGateways(p *ListVpnGatewaysParams) (*ListVpnGatewaysResponse, error)
- func (s *VPNService) ListVpnUsers(p *ListVpnUsersParams) (*ListVpnUsersResponse, error)
- func (s *VPNService) NewAddVpnUserParams(password string, username string) *AddVpnUserParams
- func (s *VPNService) NewCreateRemoteAccessVpnParams(publicipid string) *CreateRemoteAccessVpnParams
- func (s *VPNService) NewCreateVpnConnectionParams(s2scustomergatewayid string, s2svpngatewayid string) *CreateVpnConnectionParams
- func (s *VPNService) NewCreateVpnCustomerGatewayParams(cidrlist string, esppolicy string, gateway string, ikepolicy string, ...) *CreateVpnCustomerGatewayParams
- func (s *VPNService) NewCreateVpnGatewayParams(vpcid string) *CreateVpnGatewayParams
- func (s *VPNService) NewDeleteRemoteAccessVpnParams(publicipid string) *DeleteRemoteAccessVpnParams
- func (s *VPNService) NewDeleteVpnConnectionParams(id string) *DeleteVpnConnectionParams
- func (s *VPNService) NewDeleteVpnCustomerGatewayParams(id string) *DeleteVpnCustomerGatewayParams
- func (s *VPNService) NewDeleteVpnGatewayParams(id string) *DeleteVpnGatewayParams
- func (s *VPNService) NewListRemoteAccessVpnsParams() *ListRemoteAccessVpnsParams
- func (s *VPNService) NewListVpnConnectionsParams() *ListVpnConnectionsParams
- func (s *VPNService) NewListVpnCustomerGatewaysParams() *ListVpnCustomerGatewaysParams
- func (s *VPNService) NewListVpnGatewaysParams() *ListVpnGatewaysParams
- func (s *VPNService) NewListVpnUsersParams() *ListVpnUsersParams
- func (s *VPNService) NewRemoveVpnUserParams(username string) *RemoveVpnUserParams
- func (s *VPNService) NewResetVpnConnectionParams(id string) *ResetVpnConnectionParams
- func (s *VPNService) NewUpdateVpnCustomerGatewayParams(cidrlist string, esppolicy string, gateway string, id string, ikepolicy string, ...) *UpdateVpnCustomerGatewayParams
- func (s *VPNService) RemoveVpnUser(p *RemoveVpnUserParams) (*RemoveVpnUserResponse, error)
- func (s *VPNService) ResetVpnConnection(p *ResetVpnConnectionParams) (*ResetVpnConnectionResponse, error)
- func (s *VPNService) UpdateVpnCustomerGateway(p *UpdateVpnCustomerGatewayParams) (*UpdateVpnCustomerGatewayResponse, error)
- type VirtualMachine
- type VirtualMachineService
- func (s *VirtualMachineService) AddNicToVirtualMachine(p *AddNicToVirtualMachineParams) (*AddNicToVirtualMachineResponse, error)
- func (s *VirtualMachineService) AssignVirtualMachine(p *AssignVirtualMachineParams) (*AssignVirtualMachineResponse, error)
- func (s *VirtualMachineService) ChangeServiceForVirtualMachine(p *ChangeServiceForVirtualMachineParams) (*ChangeServiceForVirtualMachineResponse, error)
- func (s *VirtualMachineService) CleanVMReservations(p *CleanVMReservationsParams) (*CleanVMReservationsResponse, error)
- func (s *VirtualMachineService) DeployVirtualMachine(p *DeployVirtualMachineParams) (*DeployVirtualMachineResponse, error)
- func (s *VirtualMachineService) DestroyVirtualMachine(p *DestroyVirtualMachineParams) (*DestroyVirtualMachineResponse, error)
- func (s *VirtualMachineService) ExpungeVirtualMachine(p *ExpungeVirtualMachineParams) (*ExpungeVirtualMachineResponse, error)
- func (s *VirtualMachineService) GetVMPassword(p *GetVMPasswordParams) (*GetVMPasswordResponse, error)
- func (s *VirtualMachineService) GetVirtualMachineID(name string) (string, error)
- func (s *VirtualMachineService) ListVirtualMachines(p *ListVirtualMachinesParams) (*ListVirtualMachinesResponse, error)
- func (s *VirtualMachineService) MigrateVirtualMachine(p *MigrateVirtualMachineParams) (*MigrateVirtualMachineResponse, error)
- func (s *VirtualMachineService) MigrateVirtualMachineWithVolume(p *MigrateVirtualMachineWithVolumeParams) (*MigrateVirtualMachineWithVolumeResponse, error)
- func (s *VirtualMachineService) NewAddNicToVirtualMachineParams(networkid string, virtualmachineid string) *AddNicToVirtualMachineParams
- func (s *VirtualMachineService) NewAssignVirtualMachineParams(account string, domainid string, virtualmachineid string) *AssignVirtualMachineParams
- func (s *VirtualMachineService) NewChangeServiceForVirtualMachineParams(id string, serviceofferingid string) *ChangeServiceForVirtualMachineParams
- func (s *VirtualMachineService) NewCleanVMReservationsParams() *CleanVMReservationsParams
- func (s *VirtualMachineService) NewDeployVirtualMachineParams(serviceofferingid string, templateid string, zoneid string) *DeployVirtualMachineParams
- func (s *VirtualMachineService) NewDestroyVirtualMachineParams(id string) *DestroyVirtualMachineParams
- func (s *VirtualMachineService) NewExpungeVirtualMachineParams(id string) *ExpungeVirtualMachineParams
- func (s *VirtualMachineService) NewGetVMPasswordParams(id string) *GetVMPasswordParams
- func (s *VirtualMachineService) NewListVirtualMachinesParams() *ListVirtualMachinesParams
- func (s *VirtualMachineService) NewMigrateVirtualMachineParams(virtualmachineid string) *MigrateVirtualMachineParams
- func (s *VirtualMachineService) NewMigrateVirtualMachineWithVolumeParams(hostid string, virtualmachineid string) *MigrateVirtualMachineWithVolumeParams
- func (s *VirtualMachineService) NewRebootVirtualMachineParams(id string) *RebootVirtualMachineParams
- func (s *VirtualMachineService) NewRecoverVirtualMachineParams(id string) *RecoverVirtualMachineParams
- func (s *VirtualMachineService) NewRemoveNicFromVirtualMachineParams(nicid string, virtualmachineid string) *RemoveNicFromVirtualMachineParams
- func (s *VirtualMachineService) NewResetPasswordForVirtualMachineParams(id string) *ResetPasswordForVirtualMachineParams
- func (s *VirtualMachineService) NewRestoreVirtualMachineParams(virtualmachineid string) *RestoreVirtualMachineParams
- func (s *VirtualMachineService) NewScaleVirtualMachineParams(id string, serviceofferingid string) *ScaleVirtualMachineParams
- func (s *VirtualMachineService) NewStartVirtualMachineParams(id string) *StartVirtualMachineParams
- func (s *VirtualMachineService) NewStopVirtualMachineParams(id string) *StopVirtualMachineParams
- func (s *VirtualMachineService) NewUpdateDefaultNicForVirtualMachineParams(nicid string, virtualmachineid string) *UpdateDefaultNicForVirtualMachineParams
- func (s *VirtualMachineService) NewUpdateVirtualMachineParams(id string) *UpdateVirtualMachineParams
- func (s *VirtualMachineService) RebootVirtualMachine(p *RebootVirtualMachineParams) (*RebootVirtualMachineResponse, error)
- func (s *VirtualMachineService) RecoverVirtualMachine(p *RecoverVirtualMachineParams) (*RecoverVirtualMachineResponse, error)
- func (s *VirtualMachineService) RemoveNicFromVirtualMachine(p *RemoveNicFromVirtualMachineParams) (*RemoveNicFromVirtualMachineResponse, error)
- func (s *VirtualMachineService) ResetPasswordForVirtualMachine(p *ResetPasswordForVirtualMachineParams) (*ResetPasswordForVirtualMachineResponse, error)
- func (s *VirtualMachineService) RestoreVirtualMachine(p *RestoreVirtualMachineParams) (*RestoreVirtualMachineResponse, error)
- func (s *VirtualMachineService) ScaleVirtualMachine(p *ScaleVirtualMachineParams) (*ScaleVirtualMachineResponse, error)
- func (s *VirtualMachineService) StartVirtualMachine(p *StartVirtualMachineParams) (*StartVirtualMachineResponse, error)
- func (s *VirtualMachineService) StopVirtualMachine(p *StopVirtualMachineParams) (*StopVirtualMachineResponse, error)
- func (s *VirtualMachineService) UpdateDefaultNicForVirtualMachine(p *UpdateDefaultNicForVirtualMachineParams) (*UpdateDefaultNicForVirtualMachineResponse, error)
- func (s *VirtualMachineService) UpdateVirtualMachine(p *UpdateVirtualMachineParams) (*UpdateVirtualMachineResponse, error)
- type VirtualRouterElement
- type VlanIpRange
- type VmwareDc
- type Volume
- type VolumeService
- func (s *VolumeService) AttachVolume(p *AttachVolumeParams) (*AttachVolumeResponse, error)
- func (s *VolumeService) CreateVolume(p *CreateVolumeParams) (*CreateVolumeResponse, error)
- func (s *VolumeService) DeleteVolume(p *DeleteVolumeParams) (*DeleteVolumeResponse, error)
- func (s *VolumeService) DetachVolume(p *DetachVolumeParams) (*DetachVolumeResponse, error)
- func (s *VolumeService) ExtractVolume(p *ExtractVolumeParams) (*ExtractVolumeResponse, error)
- func (s *VolumeService) GetVolumeID(name string) (string, error)
- func (s *VolumeService) ListVolumes(p *ListVolumesParams) (*ListVolumesResponse, error)
- func (s *VolumeService) MigrateVolume(p *MigrateVolumeParams) (*MigrateVolumeResponse, error)
- func (s *VolumeService) NewAttachVolumeParams(id string, virtualmachineid string) *AttachVolumeParams
- func (s *VolumeService) NewCreateVolumeParams(name string) *CreateVolumeParams
- func (s *VolumeService) NewDeleteVolumeParams(id string) *DeleteVolumeParams
- func (s *VolumeService) NewDetachVolumeParams() *DetachVolumeParams
- func (s *VolumeService) NewExtractVolumeParams(id string, mode string, zoneid string) *ExtractVolumeParams
- func (s *VolumeService) NewListVolumesParams() *ListVolumesParams
- func (s *VolumeService) NewMigrateVolumeParams(storageid string, volumeid string) *MigrateVolumeParams
- func (s *VolumeService) NewResizeVolumeParams() *ResizeVolumeParams
- func (s *VolumeService) NewUpdateVolumeParams() *UpdateVolumeParams
- func (s *VolumeService) NewUploadVolumeParams(format string, name string, url string, zoneid string) *UploadVolumeParams
- func (s *VolumeService) ResizeVolume(p *ResizeVolumeParams) (*ResizeVolumeResponse, error)
- func (s *VolumeService) UpdateVolume(p *UpdateVolumeParams) (*UpdateVolumeResponse, error)
- func (s *VolumeService) UploadVolume(p *UploadVolumeParams) (*UploadVolumeResponse, error)
- type VpnConnection
- type VpnCustomerGateway
- type VpnGateway
- type VpnUser
- type Zone
- type ZoneService
- func (s *ZoneService) AddVmwareDc(p *AddVmwareDcParams) (*AddVmwareDcResponse, error)
- func (s *ZoneService) CreateZone(p *CreateZoneParams) (*CreateZoneResponse, error)
- func (s *ZoneService) DedicateZone(p *DedicateZoneParams) (*DedicateZoneResponse, error)
- func (s *ZoneService) DeleteZone(p *DeleteZoneParams) (*DeleteZoneResponse, error)
- func (s *ZoneService) GetDedicatedZoneID(keyword string) (string, error)
- func (s *ZoneService) GetVmwareDcID(keyword string, zoneid string) (string, error)
- func (s *ZoneService) GetZoneID(name string) (string, error)
- func (s *ZoneService) ListDedicatedZones(p *ListDedicatedZonesParams) (*ListDedicatedZonesResponse, error)
- func (s *ZoneService) ListVmwareDcs(p *ListVmwareDcsParams) (*ListVmwareDcsResponse, error)
- func (s *ZoneService) ListZones(p *ListZonesParams) (*ListZonesResponse, error)
- func (s *ZoneService) NewAddVmwareDcParams(name string, vcenter string, zoneid string) *AddVmwareDcParams
- func (s *ZoneService) NewCreateZoneParams(dns1 string, internaldns1 string, name string, networktype string) *CreateZoneParams
- func (s *ZoneService) NewDedicateZoneParams(domainid string, zoneid string) *DedicateZoneParams
- func (s *ZoneService) NewDeleteZoneParams(id string) *DeleteZoneParams
- func (s *ZoneService) NewListDedicatedZonesParams() *ListDedicatedZonesParams
- func (s *ZoneService) NewListVmwareDcsParams(zoneid string) *ListVmwareDcsParams
- func (s *ZoneService) NewListZonesParams() *ListZonesParams
- func (s *ZoneService) NewReleaseDedicatedZoneParams(zoneid string) *ReleaseDedicatedZoneParams
- func (s *ZoneService) NewRemoveVmwareDcParams(zoneid string) *RemoveVmwareDcParams
- func (s *ZoneService) NewUpdateZoneParams(id string) *UpdateZoneParams
- func (s *ZoneService) ReleaseDedicatedZone(p *ReleaseDedicatedZoneParams) (*ReleaseDedicatedZoneResponse, error)
- func (s *ZoneService) RemoveVmwareDc(p *RemoveVmwareDcParams) (*RemoveVmwareDcResponse, error)
- func (s *ZoneService) UpdateZone(p *UpdateZoneParams) (*UpdateZoneResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIDiscoveryService ¶
type APIDiscoveryService struct {
// contains filtered or unexported fields
}
func NewAPIDiscoveryService ¶
func NewAPIDiscoveryService(cs *CloudStackClient) *APIDiscoveryService
func (*APIDiscoveryService) ListApis ¶
func (s *APIDiscoveryService) ListApis(p *ListApisParams) (*ListApisResponse, error)
lists all available apis on the server, provided by the Api Discovery plugin
func (*APIDiscoveryService) NewListApisParams ¶
func (s *APIDiscoveryService) NewListApisParams() *ListApisParams
You should always use this function to get a new ListApisParams instance, as then you are sure you have configured all required params
type Account ¶
type Account struct { Snapshottotal int `json:"snapshottotal,omitempty"` Sentbytes int `json:"sentbytes,omitempty"` Name string `json:"name,omitempty"` Vmtotal int `json:"vmtotal,omitempty"` Cpuavailable string `json:"cpuavailable,omitempty"` Iscleanuprequired bool `json:"iscleanuprequired,omitempty"` Vmrunning int `json:"vmrunning,omitempty"` Networklimit string `json:"networklimit,omitempty"` Projecttotal int `json:"projecttotal,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Secondarystoragetotal int `json:"secondarystoragetotal,omitempty"` Templatetotal int `json:"templatetotal,omitempty"` Networkavailable string `json:"networkavailable,omitempty"` Templateavailable string `json:"templateavailable,omitempty"` Snapshotlimit string `json:"snapshotlimit,omitempty"` Cpulimit string `json:"cpulimit,omitempty"` User []struct { Apikey string `json:"apikey,omitempty"` Domainid string `json:"domainid,omitempty"` Lastname string `json:"lastname,omitempty"` Account string `json:"account,omitempty"` State string `json:"state,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Firstname string `json:"firstname,omitempty"` Accounttype int `json:"accounttype,omitempty"` Secretkey string `json:"secretkey,omitempty"` Id string `json:"id,omitempty"` Domain string `json:"domain,omitempty"` Username string `json:"username,omitempty"` Timezone string `json:"timezone,omitempty"` Iscallerchilddomain bool `json:"iscallerchilddomain,omitempty"` Email string `json:"email,omitempty"` Accountid string `json:"accountid,omitempty"` Created string `json:"created,omitempty"` } `json:"user,omitempty"` Vmlimit string `json:"vmlimit,omitempty"` Volumeavailable string `json:"volumeavailable,omitempty"` Vpctotal int `json:"vpctotal,omitempty"` Cputotal int `json:"cputotal,omitempty"` Accountdetails map[string]string `json:"accountdetails,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Projectlimit string `json:"projectlimit,omitempty"` Secondarystorageavailable string `json:"secondarystorageavailable,omitempty"` Memoryavailable string `json:"memoryavailable,omitempty"` Primarystoragelimit string `json:"primarystoragelimit,omitempty"` Iplimit string `json:"iplimit,omitempty"` State string `json:"state,omitempty"` Memorylimit string `json:"memorylimit,omitempty"` Vpclimit string `json:"vpclimit,omitempty"` Id string `json:"id,omitempty"` Secondarystoragelimit string `json:"secondarystoragelimit,omitempty"` Snapshotavailable string `json:"snapshotavailable,omitempty"` Volumetotal int `json:"volumetotal,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Templatelimit string `json:"templatelimit,omitempty"` Domain string `json:"domain,omitempty"` Receivedbytes int `json:"receivedbytes,omitempty"` Vmstopped int `json:"vmstopped,omitempty"` Networktotal int `json:"networktotal,omitempty"` Projectavailable string `json:"projectavailable,omitempty"` Primarystorageavailable string `json:"primarystorageavailable,omitempty"` Domainid string `json:"domainid,omitempty"` Iptotal int `json:"iptotal,omitempty"` Vpcavailable string `json:"vpcavailable,omitempty"` Ipavailable string `json:"ipavailable,omitempty"` Volumelimit string `json:"volumelimit,omitempty"` Vmavailable string `json:"vmavailable,omitempty"` Accounttype int `json:"accounttype,omitempty"` Defaultzoneid string `json:"defaultzoneid,omitempty"` Primarystoragetotal int `json:"primarystoragetotal,omitempty"` }
type AccountService ¶
type AccountService struct {
// contains filtered or unexported fields
}
func NewAccountService ¶
func NewAccountService(cs *CloudStackClient) *AccountService
func (*AccountService) AddAccountToProject ¶
func (s *AccountService) AddAccountToProject(p *AddAccountToProjectParams) (*AddAccountToProjectResponse, error)
Adds acoount to a project
func (*AccountService) CreateAccount ¶
func (s *AccountService) CreateAccount(p *CreateAccountParams) (*CreateAccountResponse, error)
Creates an account
func (*AccountService) DeleteAccount ¶
func (s *AccountService) DeleteAccount(p *DeleteAccountParams) (*DeleteAccountResponse, error)
Deletes a account, and all users associated with this account
func (*AccountService) DeleteAccountFromProject ¶
func (s *AccountService) DeleteAccountFromProject(p *DeleteAccountFromProjectParams) (*DeleteAccountFromProjectResponse, error)
Deletes account from the project
func (*AccountService) DisableAccount ¶
func (s *AccountService) DisableAccount(p *DisableAccountParams) (*DisableAccountResponse, error)
Disables an account
func (*AccountService) EnableAccount ¶
func (s *AccountService) EnableAccount(p *EnableAccountParams) (*EnableAccountResponse, error)
Enables an account
func (*AccountService) GetAccountID ¶
func (s *AccountService) GetAccountID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*AccountService) GetProjectAccountID ¶
func (s *AccountService) GetProjectAccountID(keyword string, projectid string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*AccountService) ListAccounts ¶
func (s *AccountService) ListAccounts(p *ListAccountsParams) (*ListAccountsResponse, error)
Lists accounts and provides detailed account information for listed accounts
func (*AccountService) ListProjectAccounts ¶
func (s *AccountService) ListProjectAccounts(p *ListProjectAccountsParams) (*ListProjectAccountsResponse, error)
Lists project's accounts
func (*AccountService) LockAccount ¶
func (s *AccountService) LockAccount(p *LockAccountParams) (*LockAccountResponse, error)
Locks an account
func (*AccountService) MarkDefaultZoneForAccount ¶
func (s *AccountService) MarkDefaultZoneForAccount(p *MarkDefaultZoneForAccountParams) (*MarkDefaultZoneForAccountResponse, error)
Marks a default zone for this account
func (*AccountService) NewAddAccountToProjectParams ¶
func (s *AccountService) NewAddAccountToProjectParams(projectid string) *AddAccountToProjectParams
You should always use this function to get a new AddAccountToProjectParams instance, as then you are sure you have configured all required params
func (*AccountService) NewCreateAccountParams ¶
func (s *AccountService) NewCreateAccountParams(accounttype int, email string, firstname string, lastname string, password string, username string) *CreateAccountParams
You should always use this function to get a new CreateAccountParams instance, as then you are sure you have configured all required params
func (*AccountService) NewDeleteAccountFromProjectParams ¶
func (s *AccountService) NewDeleteAccountFromProjectParams(account string, projectid string) *DeleteAccountFromProjectParams
You should always use this function to get a new DeleteAccountFromProjectParams instance, as then you are sure you have configured all required params
func (*AccountService) NewDeleteAccountParams ¶
func (s *AccountService) NewDeleteAccountParams(id string) *DeleteAccountParams
You should always use this function to get a new DeleteAccountParams instance, as then you are sure you have configured all required params
func (*AccountService) NewDisableAccountParams ¶
func (s *AccountService) NewDisableAccountParams(lock bool) *DisableAccountParams
You should always use this function to get a new DisableAccountParams instance, as then you are sure you have configured all required params
func (*AccountService) NewEnableAccountParams ¶
func (s *AccountService) NewEnableAccountParams() *EnableAccountParams
You should always use this function to get a new EnableAccountParams instance, as then you are sure you have configured all required params
func (*AccountService) NewListAccountsParams ¶
func (s *AccountService) NewListAccountsParams() *ListAccountsParams
You should always use this function to get a new ListAccountsParams instance, as then you are sure you have configured all required params
func (*AccountService) NewListProjectAccountsParams ¶
func (s *AccountService) NewListProjectAccountsParams(projectid string) *ListProjectAccountsParams
You should always use this function to get a new ListProjectAccountsParams instance, as then you are sure you have configured all required params
func (*AccountService) NewLockAccountParams ¶
func (s *AccountService) NewLockAccountParams(account string, domainid string) *LockAccountParams
You should always use this function to get a new LockAccountParams instance, as then you are sure you have configured all required params
func (*AccountService) NewMarkDefaultZoneForAccountParams ¶
func (s *AccountService) NewMarkDefaultZoneForAccountParams(account string, domainid string, zoneid string) *MarkDefaultZoneForAccountParams
You should always use this function to get a new MarkDefaultZoneForAccountParams instance, as then you are sure you have configured all required params
func (*AccountService) NewUpdateAccountParams ¶
func (s *AccountService) NewUpdateAccountParams(newname string) *UpdateAccountParams
You should always use this function to get a new UpdateAccountParams instance, as then you are sure you have configured all required params
func (*AccountService) UpdateAccount ¶
func (s *AccountService) UpdateAccount(p *UpdateAccountParams) (*UpdateAccountResponse, error)
Updates account information for the authenticated user
type ActivateProjectParams ¶
type ActivateProjectParams struct {
// contains filtered or unexported fields
}
func (*ActivateProjectParams) SetId ¶
func (p *ActivateProjectParams) SetId(v string)
type ActivateProjectResponse ¶
type ActivateProjectResponse struct { JobID string `json:"jobid,omitempty"` Cpulimit string `json:"cpulimit,omitempty"` Vpcavailable string `json:"vpcavailable,omitempty"` Primarystoragelimit string `json:"primarystoragelimit,omitempty"` Account string `json:"account,omitempty"` Vpclimit string `json:"vpclimit,omitempty"` Primarystorageavailable string `json:"primarystorageavailable,omitempty"` Domain string `json:"domain,omitempty"` Volumelimit string `json:"volumelimit,omitempty"` Displaytext string `json:"displaytext,omitempty"` Templatelimit string `json:"templatelimit,omitempty"` Secondarystorageavailable string `json:"secondarystorageavailable,omitempty"` Vpctotal int `json:"vpctotal,omitempty"` State string `json:"state,omitempty"` Tags []struct { Customer string `json:"customer,omitempty"` Account string `json:"account,omitempty"` Resourceid string `json:"resourceid,omitempty"` Domainid string `json:"domainid,omitempty"` Value string `json:"value,omitempty"` Key string `json:"key,omitempty"` Projectid string `json:"projectid,omitempty"` Project string `json:"project,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domain string `json:"domain,omitempty"` } `json:"tags,omitempty"` Primarystoragetotal int `json:"primarystoragetotal,omitempty"` Templateavailable string `json:"templateavailable,omitempty"` Snapshottotal int `json:"snapshottotal,omitempty"` Domainid string `json:"domainid,omitempty"` Vmavailable string `json:"vmavailable,omitempty"` Secondarystoragelimit string `json:"secondarystoragelimit,omitempty"` Iptotal int `json:"iptotal,omitempty"` Vmtotal int `json:"vmtotal,omitempty"` Id string `json:"id,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Snapshotlimit string `json:"snapshotlimit,omitempty"` Secondarystoragetotal int `json:"secondarystoragetotal,omitempty"` Networktotal int `json:"networktotal,omitempty"` Cpuavailable string `json:"cpuavailable,omitempty"` Vmrunning int `json:"vmrunning,omitempty"` Vmlimit string `json:"vmlimit,omitempty"` Networkavailable string `json:"networkavailable,omitempty"` Vmstopped int `json:"vmstopped,omitempty"` Memorylimit string `json:"memorylimit,omitempty"` Memoryavailable string `json:"memoryavailable,omitempty"` Networklimit string `json:"networklimit,omitempty"` Iplimit string `json:"iplimit,omitempty"` Volumetotal int `json:"volumetotal,omitempty"` Ipavailable string `json:"ipavailable,omitempty"` Cputotal int `json:"cputotal,omitempty"` Snapshotavailable string `json:"snapshotavailable,omitempty"` Name string `json:"name,omitempty"` Volumeavailable string `json:"volumeavailable,omitempty"` Templatetotal int `json:"templatetotal,omitempty"` }
type AddAccountToProjectParams ¶
type AddAccountToProjectParams struct {
// contains filtered or unexported fields
}
func (*AddAccountToProjectParams) SetAccount ¶
func (p *AddAccountToProjectParams) SetAccount(v string)
func (*AddAccountToProjectParams) SetEmail ¶
func (p *AddAccountToProjectParams) SetEmail(v string)
func (*AddAccountToProjectParams) SetProjectid ¶
func (p *AddAccountToProjectParams) SetProjectid(v string)
type AddBaremetalDhcpParams ¶
type AddBaremetalDhcpParams struct {
// contains filtered or unexported fields
}
func (*AddBaremetalDhcpParams) SetDhcpservertype ¶
func (p *AddBaremetalDhcpParams) SetDhcpservertype(v string)
func (*AddBaremetalDhcpParams) SetPassword ¶
func (p *AddBaremetalDhcpParams) SetPassword(v string)
func (*AddBaremetalDhcpParams) SetPhysicalnetworkid ¶
func (p *AddBaremetalDhcpParams) SetPhysicalnetworkid(v string)
func (*AddBaremetalDhcpParams) SetUrl ¶
func (p *AddBaremetalDhcpParams) SetUrl(v string)
func (*AddBaremetalDhcpParams) SetUsername ¶
func (p *AddBaremetalDhcpParams) SetUsername(v string)
type AddBaremetalDhcpResponse ¶
type AddBaremetalDhcpResponse struct { JobID string `json:"jobid,omitempty"` Url string `json:"url,omitempty"` Dhcpservertype string `json:"dhcpservertype,omitempty"` Provider string `json:"provider,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Id string `json:"id,omitempty"` }
type AddBaremetalHostParams ¶
type AddBaremetalHostParams struct {
// contains filtered or unexported fields
}
func (*AddBaremetalHostParams) SetAllocationstate ¶
func (p *AddBaremetalHostParams) SetAllocationstate(v string)
func (*AddBaremetalHostParams) SetClusterid ¶
func (p *AddBaremetalHostParams) SetClusterid(v string)
func (*AddBaremetalHostParams) SetClustername ¶
func (p *AddBaremetalHostParams) SetClustername(v string)
func (*AddBaremetalHostParams) SetHosttags ¶
func (p *AddBaremetalHostParams) SetHosttags(v []string)
func (*AddBaremetalHostParams) SetHypervisor ¶
func (p *AddBaremetalHostParams) SetHypervisor(v string)
func (*AddBaremetalHostParams) SetIpaddress ¶
func (p *AddBaremetalHostParams) SetIpaddress(v string)
func (*AddBaremetalHostParams) SetPassword ¶
func (p *AddBaremetalHostParams) SetPassword(v string)
func (*AddBaremetalHostParams) SetPodid ¶
func (p *AddBaremetalHostParams) SetPodid(v string)
func (*AddBaremetalHostParams) SetUrl ¶
func (p *AddBaremetalHostParams) SetUrl(v string)
func (*AddBaremetalHostParams) SetUsername ¶
func (p *AddBaremetalHostParams) SetUsername(v string)
func (*AddBaremetalHostParams) SetZoneid ¶
func (p *AddBaremetalHostParams) SetZoneid(v string)
type AddBaremetalHostResponse ¶
type AddBaremetalHostResponse struct { Cpuspeed int `json:"cpuspeed,omitempty"` Hypervisorversion string `json:"hypervisorversion,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Oscategoryname string `json:"oscategoryname,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Cpuwithoverprovisioning string `json:"cpuwithoverprovisioning,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Islocalstorageactive bool `json:"islocalstorageactive,omitempty"` Cpusockets int `json:"cpusockets,omitempty"` Suitableformigration bool `json:"suitableformigration,omitempty"` Clustername string `json:"clustername,omitempty"` Resourcestate string `json:"resourcestate,omitempty"` Disksizetotal int `json:"disksizetotal,omitempty"` Memoryused int `json:"memoryused,omitempty"` Oscategoryid string `json:"oscategoryid,omitempty"` Version string `json:"version,omitempty"` Cpuused string `json:"cpuused,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Events string `json:"events,omitempty"` Name string `json:"name,omitempty"` Created string `json:"created,omitempty"` Id string `json:"id,omitempty"` Type string `json:"type,omitempty"` Memoryallocated int `json:"memoryallocated,omitempty"` Zonename string `json:"zonename,omitempty"` Removed string `json:"removed,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Hasenoughcapacity bool `json:"hasenoughcapacity,omitempty"` Capabilities string `json:"capabilities,omitempty"` Podid string `json:"podid,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Disconnected string `json:"disconnected,omitempty"` State string `json:"state,omitempty"` Averageload int `json:"averageload,omitempty"` Lastpinged string `json:"lastpinged,omitempty"` Cpuallocated string `json:"cpuallocated,omitempty"` Clustertype string `json:"clustertype,omitempty"` Clusterid string `json:"clusterid,omitempty"` Disksizeallocated int `json:"disksizeallocated,omitempty"` Podname string `json:"podname,omitempty"` Hahost bool `json:"hahost,omitempty"` Zoneid string `json:"zoneid,omitempty"` Managementserverid int `json:"managementserverid,omitempty"` }
type AddBaremetalPxeKickStartServerParams ¶
type AddBaremetalPxeKickStartServerParams struct {
// contains filtered or unexported fields
}
func (*AddBaremetalPxeKickStartServerParams) SetPassword ¶
func (p *AddBaremetalPxeKickStartServerParams) SetPassword(v string)
func (*AddBaremetalPxeKickStartServerParams) SetPhysicalnetworkid ¶
func (p *AddBaremetalPxeKickStartServerParams) SetPhysicalnetworkid(v string)
func (*AddBaremetalPxeKickStartServerParams) SetPodid ¶
func (p *AddBaremetalPxeKickStartServerParams) SetPodid(v string)
func (*AddBaremetalPxeKickStartServerParams) SetPxeservertype ¶
func (p *AddBaremetalPxeKickStartServerParams) SetPxeservertype(v string)
func (*AddBaremetalPxeKickStartServerParams) SetTftpdir ¶
func (p *AddBaremetalPxeKickStartServerParams) SetTftpdir(v string)
func (*AddBaremetalPxeKickStartServerParams) SetUrl ¶
func (p *AddBaremetalPxeKickStartServerParams) SetUrl(v string)
func (*AddBaremetalPxeKickStartServerParams) SetUsername ¶
func (p *AddBaremetalPxeKickStartServerParams) SetUsername(v string)
type AddBaremetalPxePingServerParams ¶
type AddBaremetalPxePingServerParams struct {
// contains filtered or unexported fields
}
func (*AddBaremetalPxePingServerParams) SetPassword ¶
func (p *AddBaremetalPxePingServerParams) SetPassword(v string)
func (*AddBaremetalPxePingServerParams) SetPhysicalnetworkid ¶
func (p *AddBaremetalPxePingServerParams) SetPhysicalnetworkid(v string)
func (*AddBaremetalPxePingServerParams) SetPingcifspassword ¶
func (p *AddBaremetalPxePingServerParams) SetPingcifspassword(v string)
func (*AddBaremetalPxePingServerParams) SetPingcifsusername ¶
func (p *AddBaremetalPxePingServerParams) SetPingcifsusername(v string)
func (*AddBaremetalPxePingServerParams) SetPingdir ¶
func (p *AddBaremetalPxePingServerParams) SetPingdir(v string)
func (*AddBaremetalPxePingServerParams) SetPingstorageserverip ¶
func (p *AddBaremetalPxePingServerParams) SetPingstorageserverip(v string)
func (*AddBaremetalPxePingServerParams) SetPodid ¶
func (p *AddBaremetalPxePingServerParams) SetPodid(v string)
func (*AddBaremetalPxePingServerParams) SetPxeservertype ¶
func (p *AddBaremetalPxePingServerParams) SetPxeservertype(v string)
func (*AddBaremetalPxePingServerParams) SetTftpdir ¶
func (p *AddBaremetalPxePingServerParams) SetTftpdir(v string)
func (*AddBaremetalPxePingServerParams) SetUrl ¶
func (p *AddBaremetalPxePingServerParams) SetUrl(v string)
func (*AddBaremetalPxePingServerParams) SetUsername ¶
func (p *AddBaremetalPxePingServerParams) SetUsername(v string)
type AddBigSwitchVnsDeviceParams ¶
type AddBigSwitchVnsDeviceParams struct {
// contains filtered or unexported fields
}
func (*AddBigSwitchVnsDeviceParams) SetHostname ¶
func (p *AddBigSwitchVnsDeviceParams) SetHostname(v string)
func (*AddBigSwitchVnsDeviceParams) SetPhysicalnetworkid ¶
func (p *AddBigSwitchVnsDeviceParams) SetPhysicalnetworkid(v string)
type AddBigSwitchVnsDeviceResponse ¶
type AddBigSwitchVnsDeviceResponse struct { JobID string `json:"jobid,omitempty"` Provider string `json:"provider,omitempty"` Bigswitchdevicename string `json:"bigswitchdevicename,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Vnsdeviceid string `json:"vnsdeviceid,omitempty"` Hostname string `json:"hostname,omitempty"` }
type AddCiscoAsa1000vResourceParams ¶
type AddCiscoAsa1000vResourceParams struct {
// contains filtered or unexported fields
}
func (*AddCiscoAsa1000vResourceParams) SetClusterid ¶
func (p *AddCiscoAsa1000vResourceParams) SetClusterid(v string)
func (*AddCiscoAsa1000vResourceParams) SetHostname ¶
func (p *AddCiscoAsa1000vResourceParams) SetHostname(v string)
func (*AddCiscoAsa1000vResourceParams) SetInsideportprofile ¶
func (p *AddCiscoAsa1000vResourceParams) SetInsideportprofile(v string)
func (*AddCiscoAsa1000vResourceParams) SetPhysicalnetworkid ¶
func (p *AddCiscoAsa1000vResourceParams) SetPhysicalnetworkid(v string)
type AddCiscoAsa1000vResourceResponse ¶
type AddCiscoAsa1000vResourceResponse struct { }
type AddCiscoVnmcResourceParams ¶
type AddCiscoVnmcResourceParams struct {
// contains filtered or unexported fields
}
func (*AddCiscoVnmcResourceParams) SetHostname ¶
func (p *AddCiscoVnmcResourceParams) SetHostname(v string)
func (*AddCiscoVnmcResourceParams) SetPassword ¶
func (p *AddCiscoVnmcResourceParams) SetPassword(v string)
func (*AddCiscoVnmcResourceParams) SetPhysicalnetworkid ¶
func (p *AddCiscoVnmcResourceParams) SetPhysicalnetworkid(v string)
func (*AddCiscoVnmcResourceParams) SetUsername ¶
func (p *AddCiscoVnmcResourceParams) SetUsername(v string)
type AddCiscoVnmcResourceResponse ¶
type AddCiscoVnmcResourceResponse struct { }
type AddClusterParams ¶
type AddClusterParams struct {
// contains filtered or unexported fields
}
func (*AddClusterParams) SetAllocationstate ¶
func (p *AddClusterParams) SetAllocationstate(v string)
func (*AddClusterParams) SetClustername ¶
func (p *AddClusterParams) SetClustername(v string)
func (*AddClusterParams) SetClustertype ¶
func (p *AddClusterParams) SetClustertype(v string)
func (*AddClusterParams) SetGuestvswitchname ¶
func (p *AddClusterParams) SetGuestvswitchname(v string)
func (*AddClusterParams) SetGuestvswitchtype ¶
func (p *AddClusterParams) SetGuestvswitchtype(v string)
func (*AddClusterParams) SetHypervisor ¶
func (p *AddClusterParams) SetHypervisor(v string)
func (*AddClusterParams) SetPassword ¶
func (p *AddClusterParams) SetPassword(v string)
func (*AddClusterParams) SetPodid ¶
func (p *AddClusterParams) SetPodid(v string)
func (*AddClusterParams) SetPublicvswitchname ¶
func (p *AddClusterParams) SetPublicvswitchname(v string)
func (*AddClusterParams) SetPublicvswitchtype ¶
func (p *AddClusterParams) SetPublicvswitchtype(v string)
func (*AddClusterParams) SetUrl ¶
func (p *AddClusterParams) SetUrl(v string)
func (*AddClusterParams) SetUsername ¶
func (p *AddClusterParams) SetUsername(v string)
func (*AddClusterParams) SetVsmipaddress ¶
func (p *AddClusterParams) SetVsmipaddress(v string)
func (*AddClusterParams) SetVsmpassword ¶
func (p *AddClusterParams) SetVsmpassword(v string)
func (*AddClusterParams) SetVsmusername ¶
func (p *AddClusterParams) SetVsmusername(v string)
func (*AddClusterParams) SetZoneid ¶
func (p *AddClusterParams) SetZoneid(v string)
type AddClusterResponse ¶
type AddClusterResponse struct { Id string `json:"id,omitempty"` Podid string `json:"podid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Capacity []struct { Clusterid string `json:"clusterid,omitempty"` Capacityused int `json:"capacityused,omitempty"` Podname string `json:"podname,omitempty"` Clustername string `json:"clustername,omitempty"` Capacitytotal int `json:"capacitytotal,omitempty"` Type int `json:"type,omitempty"` Zonename string `json:"zonename,omitempty"` Percentused string `json:"percentused,omitempty"` Zoneid string `json:"zoneid,omitempty"` Podid string `json:"podid,omitempty"` } `json:"capacity,omitempty"` Memoryovercommitratio string `json:"memoryovercommitratio,omitempty"` Zonename string `json:"zonename,omitempty"` Hypervisortype string `json:"hypervisortype,omitempty"` Managedstate string `json:"managedstate,omitempty"` Cpuovercommitratio string `json:"cpuovercommitratio,omitempty"` Clustertype string `json:"clustertype,omitempty"` Allocationstate string `json:"allocationstate,omitempty"` Name string `json:"name,omitempty"` Podname string `json:"podname,omitempty"` }
type AddExternalFirewallParams ¶
type AddExternalFirewallParams struct {
// contains filtered or unexported fields
}
func (*AddExternalFirewallParams) SetPassword ¶
func (p *AddExternalFirewallParams) SetPassword(v string)
func (*AddExternalFirewallParams) SetUrl ¶
func (p *AddExternalFirewallParams) SetUrl(v string)
func (*AddExternalFirewallParams) SetUsername ¶
func (p *AddExternalFirewallParams) SetUsername(v string)
func (*AddExternalFirewallParams) SetZoneid ¶
func (p *AddExternalFirewallParams) SetZoneid(v string)
type AddExternalFirewallResponse ¶
type AddExternalFirewallResponse struct { Timeout string `json:"timeout,omitempty"` Username string `json:"username,omitempty"` Numretries string `json:"numretries,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Zoneid string `json:"zoneid,omitempty"` Privateinterface string `json:"privateinterface,omitempty"` Privatezone string `json:"privatezone,omitempty"` Usageinterface string `json:"usageinterface,omitempty"` Publicinterface string `json:"publicinterface,omitempty"` Id string `json:"id,omitempty"` Publiczone string `json:"publiczone,omitempty"` }
type AddExternalLoadBalancerParams ¶
type AddExternalLoadBalancerParams struct {
// contains filtered or unexported fields
}
func (*AddExternalLoadBalancerParams) SetPassword ¶
func (p *AddExternalLoadBalancerParams) SetPassword(v string)
func (*AddExternalLoadBalancerParams) SetUrl ¶
func (p *AddExternalLoadBalancerParams) SetUrl(v string)
func (*AddExternalLoadBalancerParams) SetUsername ¶
func (p *AddExternalLoadBalancerParams) SetUsername(v string)
func (*AddExternalLoadBalancerParams) SetZoneid ¶
func (p *AddExternalLoadBalancerParams) SetZoneid(v string)
type AddExternalLoadBalancerResponse ¶
type AddExternalLoadBalancerResponse struct { Numretries string `json:"numretries,omitempty"` Publicinterface string `json:"publicinterface,omitempty"` Privateinterface string `json:"privateinterface,omitempty"` Username string `json:"username,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Zoneid string `json:"zoneid,omitempty"` Id string `json:"id,omitempty"` }
type AddF5LoadBalancerParams ¶
type AddF5LoadBalancerParams struct {
// contains filtered or unexported fields
}
func (*AddF5LoadBalancerParams) SetNetworkdevicetype ¶
func (p *AddF5LoadBalancerParams) SetNetworkdevicetype(v string)
func (*AddF5LoadBalancerParams) SetPassword ¶
func (p *AddF5LoadBalancerParams) SetPassword(v string)
func (*AddF5LoadBalancerParams) SetPhysicalnetworkid ¶
func (p *AddF5LoadBalancerParams) SetPhysicalnetworkid(v string)
func (*AddF5LoadBalancerParams) SetUrl ¶
func (p *AddF5LoadBalancerParams) SetUrl(v string)
func (*AddF5LoadBalancerParams) SetUsername ¶
func (p *AddF5LoadBalancerParams) SetUsername(v string)
type AddF5LoadBalancerResponse ¶
type AddF5LoadBalancerResponse struct { JobID string `json:"jobid,omitempty"` Lbdevicename string `json:"lbdevicename,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Privateinterface string `json:"privateinterface,omitempty"` Lbdevicededicated bool `json:"lbdevicededicated,omitempty"` Provider string `json:"provider,omitempty"` Lbdevicecapacity int `json:"lbdevicecapacity,omitempty"` Lbdevicestate string `json:"lbdevicestate,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Lbdeviceid string `json:"lbdeviceid,omitempty"` Publicinterface string `json:"publicinterface,omitempty"` }
type AddHostParams ¶
type AddHostParams struct {
// contains filtered or unexported fields
}
func (*AddHostParams) SetAllocationstate ¶
func (p *AddHostParams) SetAllocationstate(v string)
func (*AddHostParams) SetClusterid ¶
func (p *AddHostParams) SetClusterid(v string)
func (*AddHostParams) SetClustername ¶
func (p *AddHostParams) SetClustername(v string)
func (*AddHostParams) SetHosttags ¶
func (p *AddHostParams) SetHosttags(v []string)
func (*AddHostParams) SetHypervisor ¶
func (p *AddHostParams) SetHypervisor(v string)
func (*AddHostParams) SetPassword ¶
func (p *AddHostParams) SetPassword(v string)
func (*AddHostParams) SetPodid ¶
func (p *AddHostParams) SetPodid(v string)
func (*AddHostParams) SetUrl ¶
func (p *AddHostParams) SetUrl(v string)
func (*AddHostParams) SetUsername ¶
func (p *AddHostParams) SetUsername(v string)
func (*AddHostParams) SetZoneid ¶
func (p *AddHostParams) SetZoneid(v string)
type AddHostResponse ¶
type AddHostResponse struct { Ipaddress string `json:"ipaddress,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Managementserverid int `json:"managementserverid,omitempty"` Podname string `json:"podname,omitempty"` State string `json:"state,omitempty"` Clustername string `json:"clustername,omitempty"` Disksizeallocated int `json:"disksizeallocated,omitempty"` Disksizetotal int `json:"disksizetotal,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Hahost bool `json:"hahost,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Name string `json:"name,omitempty"` Hasenoughcapacity bool `json:"hasenoughcapacity,omitempty"` Memoryused int `json:"memoryused,omitempty"` Resourcestate string `json:"resourcestate,omitempty"` Hypervisorversion string `json:"hypervisorversion,omitempty"` Removed string `json:"removed,omitempty"` Capabilities string `json:"capabilities,omitempty"` Memoryallocated int `json:"memoryallocated,omitempty"` Oscategoryname string `json:"oscategoryname,omitempty"` Podid string `json:"podid,omitempty"` Averageload int `json:"averageload,omitempty"` Islocalstorageactive bool `json:"islocalstorageactive,omitempty"` Clusterid string `json:"clusterid,omitempty"` Cpuused string `json:"cpuused,omitempty"` Cpuwithoverprovisioning string `json:"cpuwithoverprovisioning,omitempty"` Oscategoryid string `json:"oscategoryid,omitempty"` Suitableformigration bool `json:"suitableformigration,omitempty"` Created string `json:"created,omitempty"` Type string `json:"type,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Events string `json:"events,omitempty"` Clustertype string `json:"clustertype,omitempty"` Version string `json:"version,omitempty"` Zoneid string `json:"zoneid,omitempty"` Disconnected string `json:"disconnected,omitempty"` Zonename string `json:"zonename,omitempty"` Cpuallocated string `json:"cpuallocated,omitempty"` Cpusockets int `json:"cpusockets,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Lastpinged string `json:"lastpinged,omitempty"` Id string `json:"id,omitempty"` }
type AddImageStoreParams ¶
type AddImageStoreParams struct {
// contains filtered or unexported fields
}
func (*AddImageStoreParams) SetDetails ¶
func (p *AddImageStoreParams) SetDetails(v map[string]string)
func (*AddImageStoreParams) SetName ¶
func (p *AddImageStoreParams) SetName(v string)
func (*AddImageStoreParams) SetProvider ¶
func (p *AddImageStoreParams) SetProvider(v string)
func (*AddImageStoreParams) SetUrl ¶
func (p *AddImageStoreParams) SetUrl(v string)
func (*AddImageStoreParams) SetZoneid ¶
func (p *AddImageStoreParams) SetZoneid(v string)
type AddImageStoreResponse ¶
type AddImageStoreResponse struct { Details []string `json:"details,omitempty"` Id string `json:"id,omitempty"` Zoneid string `json:"zoneid,omitempty"` Scope string `json:"scope,omitempty"` Name string `json:"name,omitempty"` Zonename string `json:"zonename,omitempty"` Protocol string `json:"protocol,omitempty"` Url string `json:"url,omitempty"` Providername string `json:"providername,omitempty"` }
type AddIpToNicParams ¶
type AddIpToNicParams struct {
// contains filtered or unexported fields
}
func (*AddIpToNicParams) SetIpaddress ¶
func (p *AddIpToNicParams) SetIpaddress(v string)
func (*AddIpToNicParams) SetNicid ¶
func (p *AddIpToNicParams) SetNicid(v string)
type AddIpToNicResponse ¶
type AddLdapConfigurationParams ¶
type AddLdapConfigurationParams struct {
// contains filtered or unexported fields
}
func (*AddLdapConfigurationParams) SetHostname ¶
func (p *AddLdapConfigurationParams) SetHostname(v string)
func (*AddLdapConfigurationParams) SetPort ¶
func (p *AddLdapConfigurationParams) SetPort(v int)
type AddNetscalerLoadBalancerParams ¶
type AddNetscalerLoadBalancerParams struct {
// contains filtered or unexported fields
}
func (*AddNetscalerLoadBalancerParams) SetGslbprovider ¶
func (p *AddNetscalerLoadBalancerParams) SetGslbprovider(v bool)
func (*AddNetscalerLoadBalancerParams) SetGslbproviderprivateip ¶
func (p *AddNetscalerLoadBalancerParams) SetGslbproviderprivateip(v string)
func (*AddNetscalerLoadBalancerParams) SetGslbproviderpublicip ¶
func (p *AddNetscalerLoadBalancerParams) SetGslbproviderpublicip(v string)
func (*AddNetscalerLoadBalancerParams) SetIsexclusivegslbprovider ¶
func (p *AddNetscalerLoadBalancerParams) SetIsexclusivegslbprovider(v bool)
func (*AddNetscalerLoadBalancerParams) SetNetworkdevicetype ¶
func (p *AddNetscalerLoadBalancerParams) SetNetworkdevicetype(v string)
func (*AddNetscalerLoadBalancerParams) SetPassword ¶
func (p *AddNetscalerLoadBalancerParams) SetPassword(v string)
func (*AddNetscalerLoadBalancerParams) SetPhysicalnetworkid ¶
func (p *AddNetscalerLoadBalancerParams) SetPhysicalnetworkid(v string)
func (*AddNetscalerLoadBalancerParams) SetUrl ¶
func (p *AddNetscalerLoadBalancerParams) SetUrl(v string)
func (*AddNetscalerLoadBalancerParams) SetUsername ¶
func (p *AddNetscalerLoadBalancerParams) SetUsername(v string)
type AddNetscalerLoadBalancerResponse ¶
type AddNetscalerLoadBalancerResponse struct { JobID string `json:"jobid,omitempty"` Lbdevicestate string `json:"lbdevicestate,omitempty"` Podids []string `json:"podids,omitempty"` Provider string `json:"provider,omitempty"` Lbdevicededicated bool `json:"lbdevicededicated,omitempty"` Gslbprovider bool `json:"gslbprovider,omitempty"` Gslbproviderprivateip string `json:"gslbproviderprivateip,omitempty"` Lbdeviceid string `json:"lbdeviceid,omitempty"` Gslbproviderpublicip string `json:"gslbproviderpublicip,omitempty"` Lbdevicename string `json:"lbdevicename,omitempty"` Publicinterface string `json:"publicinterface,omitempty"` Privateinterface string `json:"privateinterface,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Isexclusivegslbprovider bool `json:"isexclusivegslbprovider,omitempty"` Lbdevicecapacity int `json:"lbdevicecapacity,omitempty"` }
type AddNetworkDeviceParams ¶
type AddNetworkDeviceParams struct {
// contains filtered or unexported fields
}
func (*AddNetworkDeviceParams) SetNetworkdeviceparameterlist ¶
func (p *AddNetworkDeviceParams) SetNetworkdeviceparameterlist(v map[string]string)
func (*AddNetworkDeviceParams) SetNetworkdevicetype ¶
func (p *AddNetworkDeviceParams) SetNetworkdevicetype(v string)
type AddNetworkDeviceResponse ¶
type AddNetworkDeviceResponse struct {
Id string `json:"id,omitempty"`
}
type AddNetworkServiceProviderParams ¶
type AddNetworkServiceProviderParams struct {
// contains filtered or unexported fields
}
func (*AddNetworkServiceProviderParams) SetDestinationphysicalnetworkid ¶
func (p *AddNetworkServiceProviderParams) SetDestinationphysicalnetworkid(v string)
func (*AddNetworkServiceProviderParams) SetName ¶
func (p *AddNetworkServiceProviderParams) SetName(v string)
func (*AddNetworkServiceProviderParams) SetPhysicalnetworkid ¶
func (p *AddNetworkServiceProviderParams) SetPhysicalnetworkid(v string)
func (*AddNetworkServiceProviderParams) SetServicelist ¶
func (p *AddNetworkServiceProviderParams) SetServicelist(v []string)
type AddNetworkServiceProviderResponse ¶
type AddNetworkServiceProviderResponse struct { JobID string `json:"jobid,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Servicelist []string `json:"servicelist,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` State string `json:"state,omitempty"` Id string `json:"id,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Name string `json:"name,omitempty"` }
type AddNicToVirtualMachineParams ¶
type AddNicToVirtualMachineParams struct {
// contains filtered or unexported fields
}
func (*AddNicToVirtualMachineParams) SetIpaddress ¶
func (p *AddNicToVirtualMachineParams) SetIpaddress(v string)
func (*AddNicToVirtualMachineParams) SetNetworkid ¶
func (p *AddNicToVirtualMachineParams) SetNetworkid(v string)
func (*AddNicToVirtualMachineParams) SetVirtualmachineid ¶
func (p *AddNicToVirtualMachineParams) SetVirtualmachineid(v string)
type AddNicToVirtualMachineResponse ¶
type AddNicToVirtualMachineResponse struct { JobID string `json:"jobid,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Domain string `json:"domain,omitempty"` Groupid string `json:"groupid,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Zoneid string `json:"zoneid,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Hostname string `json:"hostname,omitempty"` Id string `json:"id,omitempty"` Securitygroup []struct { Egressrule []struct { Endport int `json:"endport,omitempty"` Cidr string `json:"cidr,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Startport int `json:"startport,omitempty"` Account string `json:"account,omitempty"` Icmptype int `json:"icmptype,omitempty"` Protocol string `json:"protocol,omitempty"` Ruleid string `json:"ruleid,omitempty"` } `json:"egressrule,omitempty"` Id string `json:"id,omitempty"` Domain string `json:"domain,omitempty"` Name string `json:"name,omitempty"` Domainid string `json:"domainid,omitempty"` Description string `json:"description,omitempty"` Ingressrule []struct { Endport int `json:"endport,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Startport int `json:"startport,omitempty"` Account string `json:"account,omitempty"` Icmptype int `json:"icmptype,omitempty"` Protocol string `json:"protocol,omitempty"` Cidr string `json:"cidr,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Ruleid string `json:"ruleid,omitempty"` } `json:"ingressrule,omitempty"` Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` Tags []struct { Projectid string `json:"projectid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domain string `json:"domain,omitempty"` Resourceid string `json:"resourceid,omitempty"` Key string `json:"key,omitempty"` Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Value string `json:"value,omitempty"` } `json:"tags,omitempty"` } `json:"securitygroup,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Nic []struct { Broadcasturi string `json:"broadcasturi,omitempty"` Macaddress string `json:"macaddress,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Ip6address string `json:"ip6address,omitempty"` Networkid string `json:"networkid,omitempty"` Traffictype string `json:"traffictype,omitempty"` Netmask string `json:"netmask,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Networkname string `json:"networkname,omitempty"` Gateway string `json:"gateway,omitempty"` Id string `json:"id,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Type string `json:"type,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` } `json:"nic,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Memory int `json:"memory,omitempty"` Affinitygroup []struct { Domainid string `json:"domainid,omitempty"` Type string `json:"type,omitempty"` Account string `json:"account,omitempty"` Name string `json:"name,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Domain string `json:"domain,omitempty"` Description string `json:"description,omitempty"` Id string `json:"id,omitempty"` } `json:"affinitygroup,omitempty"` Password string `json:"password,omitempty"` Hostid string `json:"hostid,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Created string `json:"created,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Group string `json:"group,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Publicip string `json:"publicip,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Diskioread int `json:"diskioread,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Key string `json:"key,omitempty"` Account string `json:"account,omitempty"` Resourceid string `json:"resourceid,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Value string `json:"value,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"tags,omitempty"` Instancename string `json:"instancename,omitempty"` Keypair string `json:"keypair,omitempty"` Details map[string]string `json:"details,omitempty"` Isoid string `json:"isoid,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Cpuused string `json:"cpuused,omitempty"` Haenable bool `json:"haenable,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Templateid string `json:"templateid,omitempty"` Displayname string `json:"displayname,omitempty"` State string `json:"state,omitempty"` Publicipid string `json:"publicipid,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Servicestate string `json:"servicestate,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Projectid string `json:"projectid,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Name string `json:"name,omitempty"` Isoname string `json:"isoname,omitempty"` Project string `json:"project,omitempty"` Templatename string `json:"templatename,omitempty"` Zonename string `json:"zonename,omitempty"` Guestosid string `json:"guestosid,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` }
type AddNiciraNvpDeviceParams ¶
type AddNiciraNvpDeviceParams struct {
// contains filtered or unexported fields
}
func (*AddNiciraNvpDeviceParams) SetHostname ¶
func (p *AddNiciraNvpDeviceParams) SetHostname(v string)
func (*AddNiciraNvpDeviceParams) SetL3gatewayserviceuuid ¶
func (p *AddNiciraNvpDeviceParams) SetL3gatewayserviceuuid(v string)
func (*AddNiciraNvpDeviceParams) SetPassword ¶
func (p *AddNiciraNvpDeviceParams) SetPassword(v string)
func (*AddNiciraNvpDeviceParams) SetPhysicalnetworkid ¶
func (p *AddNiciraNvpDeviceParams) SetPhysicalnetworkid(v string)
func (*AddNiciraNvpDeviceParams) SetTransportzoneuuid ¶
func (p *AddNiciraNvpDeviceParams) SetTransportzoneuuid(v string)
func (*AddNiciraNvpDeviceParams) SetUsername ¶
func (p *AddNiciraNvpDeviceParams) SetUsername(v string)
type AddNiciraNvpDeviceResponse ¶
type AddNiciraNvpDeviceResponse struct { JobID string `json:"jobid,omitempty"` Hostname string `json:"hostname,omitempty"` L3gatewayserviceuuid string `json:"l3gatewayserviceuuid,omitempty"` Niciradevicename string `json:"niciradevicename,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Nvpdeviceid string `json:"nvpdeviceid,omitempty"` Provider string `json:"provider,omitempty"` Transportzoneuuid string `json:"transportzoneuuid,omitempty"` }
type AddPaloAltoFirewallParams ¶
type AddPaloAltoFirewallParams struct {
// contains filtered or unexported fields
}
func (*AddPaloAltoFirewallParams) SetNetworkdevicetype ¶
func (p *AddPaloAltoFirewallParams) SetNetworkdevicetype(v string)
func (*AddPaloAltoFirewallParams) SetPassword ¶
func (p *AddPaloAltoFirewallParams) SetPassword(v string)
func (*AddPaloAltoFirewallParams) SetPhysicalnetworkid ¶
func (p *AddPaloAltoFirewallParams) SetPhysicalnetworkid(v string)
func (*AddPaloAltoFirewallParams) SetUrl ¶
func (p *AddPaloAltoFirewallParams) SetUrl(v string)
func (*AddPaloAltoFirewallParams) SetUsername ¶
func (p *AddPaloAltoFirewallParams) SetUsername(v string)
type AddPaloAltoFirewallResponse ¶
type AddPaloAltoFirewallResponse struct { JobID string `json:"jobid,omitempty"` Fwdevicename string `json:"fwdevicename,omitempty"` Fwdeviceid string `json:"fwdeviceid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Numretries string `json:"numretries,omitempty"` Fwdevicestate string `json:"fwdevicestate,omitempty"` Provider string `json:"provider,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Timeout string `json:"timeout,omitempty"` Username string `json:"username,omitempty"` Fwdevicecapacity int `json:"fwdevicecapacity,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Privateinterface string `json:"privateinterface,omitempty"` Publicinterface string `json:"publicinterface,omitempty"` Usageinterface string `json:"usageinterface,omitempty"` Privatezone string `json:"privatezone,omitempty"` Publiczone string `json:"publiczone,omitempty"` }
type AddRegionParams ¶
type AddRegionParams struct {
// contains filtered or unexported fields
}
func (*AddRegionParams) SetEndpoint ¶
func (p *AddRegionParams) SetEndpoint(v string)
func (*AddRegionParams) SetId ¶
func (p *AddRegionParams) SetId(v int)
func (*AddRegionParams) SetName ¶
func (p *AddRegionParams) SetName(v string)
type AddRegionResponse ¶
type AddResourceDetailParams ¶
type AddResourceDetailParams struct {
// contains filtered or unexported fields
}
func (*AddResourceDetailParams) SetDetails ¶
func (p *AddResourceDetailParams) SetDetails(v map[string]string)
func (*AddResourceDetailParams) SetResourceid ¶
func (p *AddResourceDetailParams) SetResourceid(v string)
func (*AddResourceDetailParams) SetResourcetype ¶
func (p *AddResourceDetailParams) SetResourcetype(v string)
type AddS3Params ¶
type AddS3Params struct {
// contains filtered or unexported fields
}
func (*AddS3Params) SetAccesskey ¶
func (p *AddS3Params) SetAccesskey(v string)
func (*AddS3Params) SetBucket ¶
func (p *AddS3Params) SetBucket(v string)
func (*AddS3Params) SetConnectiontimeout ¶
func (p *AddS3Params) SetConnectiontimeout(v int)
func (*AddS3Params) SetEndpoint ¶
func (p *AddS3Params) SetEndpoint(v string)
func (*AddS3Params) SetMaxerrorretry ¶
func (p *AddS3Params) SetMaxerrorretry(v int)
func (*AddS3Params) SetSecretkey ¶
func (p *AddS3Params) SetSecretkey(v string)
func (*AddS3Params) SetSockettimeout ¶
func (p *AddS3Params) SetSockettimeout(v int)
func (*AddS3Params) SetUsehttps ¶
func (p *AddS3Params) SetUsehttps(v bool)
type AddS3Response ¶
type AddS3Response struct { Id string `json:"id,omitempty"` Providername string `json:"providername,omitempty"` Details []string `json:"details,omitempty"` Scope string `json:"scope,omitempty"` Zoneid string `json:"zoneid,omitempty"` Protocol string `json:"protocol,omitempty"` Name string `json:"name,omitempty"` Zonename string `json:"zonename,omitempty"` Url string `json:"url,omitempty"` }
type AddSecondaryStorageParams ¶
type AddSecondaryStorageParams struct {
// contains filtered or unexported fields
}
func (*AddSecondaryStorageParams) SetUrl ¶
func (p *AddSecondaryStorageParams) SetUrl(v string)
func (*AddSecondaryStorageParams) SetZoneid ¶
func (p *AddSecondaryStorageParams) SetZoneid(v string)
type AddSecondaryStorageResponse ¶
type AddSecondaryStorageResponse struct { Url string `json:"url,omitempty"` Scope string `json:"scope,omitempty"` Details []string `json:"details,omitempty"` Protocol string `json:"protocol,omitempty"` Zonename string `json:"zonename,omitempty"` Providername string `json:"providername,omitempty"` Id string `json:"id,omitempty"` Zoneid string `json:"zoneid,omitempty"` Name string `json:"name,omitempty"` }
type AddSrxFirewallParams ¶
type AddSrxFirewallParams struct {
// contains filtered or unexported fields
}
func (*AddSrxFirewallParams) SetNetworkdevicetype ¶
func (p *AddSrxFirewallParams) SetNetworkdevicetype(v string)
func (*AddSrxFirewallParams) SetPassword ¶
func (p *AddSrxFirewallParams) SetPassword(v string)
func (*AddSrxFirewallParams) SetPhysicalnetworkid ¶
func (p *AddSrxFirewallParams) SetPhysicalnetworkid(v string)
func (*AddSrxFirewallParams) SetUrl ¶
func (p *AddSrxFirewallParams) SetUrl(v string)
func (*AddSrxFirewallParams) SetUsername ¶
func (p *AddSrxFirewallParams) SetUsername(v string)
type AddSrxFirewallResponse ¶
type AddSrxFirewallResponse struct { JobID string `json:"jobid,omitempty"` Privatezone string `json:"privatezone,omitempty"` Privateinterface string `json:"privateinterface,omitempty"` Zoneid string `json:"zoneid,omitempty"` Fwdeviceid string `json:"fwdeviceid,omitempty"` Fwdevicecapacity int `json:"fwdevicecapacity,omitempty"` Usageinterface string `json:"usageinterface,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Numretries string `json:"numretries,omitempty"` Username string `json:"username,omitempty"` Fwdevicename string `json:"fwdevicename,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Provider string `json:"provider,omitempty"` Publicinterface string `json:"publicinterface,omitempty"` Fwdevicestate string `json:"fwdevicestate,omitempty"` Publiczone string `json:"publiczone,omitempty"` Timeout string `json:"timeout,omitempty"` }
type AddStratosphereSspParams ¶
type AddStratosphereSspParams struct {
// contains filtered or unexported fields
}
func (*AddStratosphereSspParams) SetName ¶
func (p *AddStratosphereSspParams) SetName(v string)
func (*AddStratosphereSspParams) SetPassword ¶
func (p *AddStratosphereSspParams) SetPassword(v string)
func (*AddStratosphereSspParams) SetTenantuuid ¶
func (p *AddStratosphereSspParams) SetTenantuuid(v string)
func (*AddStratosphereSspParams) SetUrl ¶
func (p *AddStratosphereSspParams) SetUrl(v string)
func (*AddStratosphereSspParams) SetUsername ¶
func (p *AddStratosphereSspParams) SetUsername(v string)
func (*AddStratosphereSspParams) SetZoneid ¶
func (p *AddStratosphereSspParams) SetZoneid(v string)
type AddSwiftParams ¶
type AddSwiftParams struct {
// contains filtered or unexported fields
}
func (*AddSwiftParams) SetAccount ¶
func (p *AddSwiftParams) SetAccount(v string)
func (*AddSwiftParams) SetKey ¶
func (p *AddSwiftParams) SetKey(v string)
func (*AddSwiftParams) SetUrl ¶
func (p *AddSwiftParams) SetUrl(v string)
func (*AddSwiftParams) SetUsername ¶
func (p *AddSwiftParams) SetUsername(v string)
type AddSwiftResponse ¶
type AddSwiftResponse struct { Zonename string `json:"zonename,omitempty"` Providername string `json:"providername,omitempty"` Details []string `json:"details,omitempty"` Name string `json:"name,omitempty"` Scope string `json:"scope,omitempty"` Protocol string `json:"protocol,omitempty"` Zoneid string `json:"zoneid,omitempty"` Id string `json:"id,omitempty"` Url string `json:"url,omitempty"` }
type AddTrafficMonitorParams ¶
type AddTrafficMonitorParams struct {
// contains filtered or unexported fields
}
func (*AddTrafficMonitorParams) SetExcludezones ¶
func (p *AddTrafficMonitorParams) SetExcludezones(v string)
func (*AddTrafficMonitorParams) SetIncludezones ¶
func (p *AddTrafficMonitorParams) SetIncludezones(v string)
func (*AddTrafficMonitorParams) SetUrl ¶
func (p *AddTrafficMonitorParams) SetUrl(v string)
func (*AddTrafficMonitorParams) SetZoneid ¶
func (p *AddTrafficMonitorParams) SetZoneid(v string)
type AddTrafficTypeParams ¶
type AddTrafficTypeParams struct {
// contains filtered or unexported fields
}
func (*AddTrafficTypeParams) SetHypervnetworklabel ¶
func (p *AddTrafficTypeParams) SetHypervnetworklabel(v string)
func (*AddTrafficTypeParams) SetIsolationmethod ¶
func (p *AddTrafficTypeParams) SetIsolationmethod(v string)
func (*AddTrafficTypeParams) SetKvmnetworklabel ¶
func (p *AddTrafficTypeParams) SetKvmnetworklabel(v string)
func (*AddTrafficTypeParams) SetPhysicalnetworkid ¶
func (p *AddTrafficTypeParams) SetPhysicalnetworkid(v string)
func (*AddTrafficTypeParams) SetTraffictype ¶
func (p *AddTrafficTypeParams) SetTraffictype(v string)
func (*AddTrafficTypeParams) SetVlan ¶
func (p *AddTrafficTypeParams) SetVlan(v string)
func (*AddTrafficTypeParams) SetVmwarenetworklabel ¶
func (p *AddTrafficTypeParams) SetVmwarenetworklabel(v string)
func (*AddTrafficTypeParams) SetXennetworklabel ¶
func (p *AddTrafficTypeParams) SetXennetworklabel(v string)
type AddTrafficTypeResponse ¶
type AddTrafficTypeResponse struct { JobID string `json:"jobid,omitempty"` Id string `json:"id,omitempty"` Vmwarenetworklabel string `json:"vmwarenetworklabel,omitempty"` Xennetworklabel string `json:"xennetworklabel,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Traffictype string `json:"traffictype,omitempty"` Hypervnetworklabel string `json:"hypervnetworklabel,omitempty"` Kvmnetworklabel string `json:"kvmnetworklabel,omitempty"` }
type AddUcsManagerParams ¶
type AddUcsManagerParams struct {
// contains filtered or unexported fields
}
func (*AddUcsManagerParams) SetName ¶
func (p *AddUcsManagerParams) SetName(v string)
func (*AddUcsManagerParams) SetPassword ¶
func (p *AddUcsManagerParams) SetPassword(v string)
func (*AddUcsManagerParams) SetUrl ¶
func (p *AddUcsManagerParams) SetUrl(v string)
func (*AddUcsManagerParams) SetUsername ¶
func (p *AddUcsManagerParams) SetUsername(v string)
func (*AddUcsManagerParams) SetZoneid ¶
func (p *AddUcsManagerParams) SetZoneid(v string)
type AddUcsManagerResponse ¶
type AddVmwareDcParams ¶
type AddVmwareDcParams struct {
// contains filtered or unexported fields
}
func (*AddVmwareDcParams) SetName ¶
func (p *AddVmwareDcParams) SetName(v string)
func (*AddVmwareDcParams) SetPassword ¶
func (p *AddVmwareDcParams) SetPassword(v string)
func (*AddVmwareDcParams) SetUsername ¶
func (p *AddVmwareDcParams) SetUsername(v string)
func (*AddVmwareDcParams) SetVcenter ¶
func (p *AddVmwareDcParams) SetVcenter(v string)
func (*AddVmwareDcParams) SetZoneid ¶
func (p *AddVmwareDcParams) SetZoneid(v string)
type AddVmwareDcResponse ¶
type AddVpnUserParams ¶
type AddVpnUserParams struct {
// contains filtered or unexported fields
}
func (*AddVpnUserParams) SetAccount ¶
func (p *AddVpnUserParams) SetAccount(v string)
func (*AddVpnUserParams) SetDomainid ¶
func (p *AddVpnUserParams) SetDomainid(v string)
func (*AddVpnUserParams) SetPassword ¶
func (p *AddVpnUserParams) SetPassword(v string)
func (*AddVpnUserParams) SetProjectid ¶
func (p *AddVpnUserParams) SetProjectid(v string)
func (*AddVpnUserParams) SetUsername ¶
func (p *AddVpnUserParams) SetUsername(v string)
type AddVpnUserResponse ¶
type AddVpnUserResponse struct { JobID string `json:"jobid,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Id string `json:"id,omitempty"` State string `json:"state,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` Username string `json:"username,omitempty"` }
type AddressService ¶
type AddressService struct {
// contains filtered or unexported fields
}
func NewAddressService ¶
func NewAddressService(cs *CloudStackClient) *AddressService
func (*AddressService) AssociateIpAddress ¶
func (s *AddressService) AssociateIpAddress(p *AssociateIpAddressParams) (*AssociateIpAddressResponse, error)
Acquires and associates a public IP to an account.
func (*AddressService) DisassociateIpAddress ¶
func (s *AddressService) DisassociateIpAddress(p *DisassociateIpAddressParams) (*DisassociateIpAddressResponse, error)
Disassociates an ip address from the account.
func (*AddressService) GetPublicIpAddresseID ¶
func (s *AddressService) GetPublicIpAddresseID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*AddressService) ListPublicIpAddresses ¶
func (s *AddressService) ListPublicIpAddresses(p *ListPublicIpAddressesParams) (*ListPublicIpAddressesResponse, error)
Lists all public ip addresses
func (*AddressService) NewAssociateIpAddressParams ¶
func (s *AddressService) NewAssociateIpAddressParams() *AssociateIpAddressParams
You should always use this function to get a new AssociateIpAddressParams instance, as then you are sure you have configured all required params
func (*AddressService) NewDisassociateIpAddressParams ¶
func (s *AddressService) NewDisassociateIpAddressParams(id string) *DisassociateIpAddressParams
You should always use this function to get a new DisassociateIpAddressParams instance, as then you are sure you have configured all required params
func (*AddressService) NewListPublicIpAddressesParams ¶
func (s *AddressService) NewListPublicIpAddressesParams() *ListPublicIpAddressesParams
You should always use this function to get a new ListPublicIpAddressesParams instance, as then you are sure you have configured all required params
type AffinityGroup ¶
type AffinityGroup struct { Type string `json:"type,omitempty"` Description string `json:"description,omitempty"` Domainid string `json:"domainid,omitempty"` Id string `json:"id,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Name string `json:"name,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` }
type AffinityGroupService ¶
type AffinityGroupService struct {
// contains filtered or unexported fields
}
func NewAffinityGroupService ¶
func NewAffinityGroupService(cs *CloudStackClient) *AffinityGroupService
func (*AffinityGroupService) CreateAffinityGroup ¶
func (s *AffinityGroupService) CreateAffinityGroup(p *CreateAffinityGroupParams) (*CreateAffinityGroupResponse, error)
Creates an affinity/anti-affinity group
func (*AffinityGroupService) DeleteAffinityGroup ¶
func (s *AffinityGroupService) DeleteAffinityGroup(p *DeleteAffinityGroupParams) (*DeleteAffinityGroupResponse, error)
Deletes affinity group
func (*AffinityGroupService) GetAffinityGroupID ¶
func (s *AffinityGroupService) GetAffinityGroupID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*AffinityGroupService) ListAffinityGroupTypes ¶
func (s *AffinityGroupService) ListAffinityGroupTypes(p *ListAffinityGroupTypesParams) (*ListAffinityGroupTypesResponse, error)
Lists affinity group types available
func (*AffinityGroupService) ListAffinityGroups ¶
func (s *AffinityGroupService) ListAffinityGroups(p *ListAffinityGroupsParams) (*ListAffinityGroupsResponse, error)
Lists affinity groups
func (*AffinityGroupService) NewCreateAffinityGroupParams ¶
func (s *AffinityGroupService) NewCreateAffinityGroupParams(name string, affinityGroupType string) *CreateAffinityGroupParams
You should always use this function to get a new CreateAffinityGroupParams instance, as then you are sure you have configured all required params
func (*AffinityGroupService) NewDeleteAffinityGroupParams ¶
func (s *AffinityGroupService) NewDeleteAffinityGroupParams() *DeleteAffinityGroupParams
You should always use this function to get a new DeleteAffinityGroupParams instance, as then you are sure you have configured all required params
func (*AffinityGroupService) NewListAffinityGroupTypesParams ¶
func (s *AffinityGroupService) NewListAffinityGroupTypesParams() *ListAffinityGroupTypesParams
You should always use this function to get a new ListAffinityGroupTypesParams instance, as then you are sure you have configured all required params
func (*AffinityGroupService) NewListAffinityGroupsParams ¶
func (s *AffinityGroupService) NewListAffinityGroupsParams() *ListAffinityGroupsParams
You should always use this function to get a new ListAffinityGroupsParams instance, as then you are sure you have configured all required params
func (*AffinityGroupService) NewUpdateVMAffinityGroupParams ¶
func (s *AffinityGroupService) NewUpdateVMAffinityGroupParams(id string) *UpdateVMAffinityGroupParams
You should always use this function to get a new UpdateVMAffinityGroupParams instance, as then you are sure you have configured all required params
func (*AffinityGroupService) UpdateVMAffinityGroup ¶
func (s *AffinityGroupService) UpdateVMAffinityGroup(p *UpdateVMAffinityGroupParams) (*UpdateVMAffinityGroupResponse, error)
Updates the affinity/anti-affinity group associations of a virtual machine. The VM has to be stopped and restarted for the new properties to take effect.
type AffinityGroupType ¶
type AffinityGroupType struct {
Type string `json:"type,omitempty"`
}
type AlertService ¶
type AlertService struct {
// contains filtered or unexported fields
}
func NewAlertService ¶
func NewAlertService(cs *CloudStackClient) *AlertService
func (*AlertService) ArchiveAlerts ¶
func (s *AlertService) ArchiveAlerts(p *ArchiveAlertsParams) (*ArchiveAlertsResponse, error)
Archive one or more alerts.
func (*AlertService) DeleteAlerts ¶
func (s *AlertService) DeleteAlerts(p *DeleteAlertsParams) (*DeleteAlertsResponse, error)
Delete one or more alerts.
func (*AlertService) GenerateAlert ¶
func (s *AlertService) GenerateAlert(p *GenerateAlertParams) (*GenerateAlertResponse, error)
Generates an alert
func (*AlertService) GetAlertID ¶
func (s *AlertService) GetAlertID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*AlertService) ListAlerts ¶
func (s *AlertService) ListAlerts(p *ListAlertsParams) (*ListAlertsResponse, error)
Lists all alerts.
func (*AlertService) NewArchiveAlertsParams ¶
func (s *AlertService) NewArchiveAlertsParams() *ArchiveAlertsParams
You should always use this function to get a new ArchiveAlertsParams instance, as then you are sure you have configured all required params
func (*AlertService) NewDeleteAlertsParams ¶
func (s *AlertService) NewDeleteAlertsParams() *DeleteAlertsParams
You should always use this function to get a new DeleteAlertsParams instance, as then you are sure you have configured all required params
func (*AlertService) NewGenerateAlertParams ¶
func (s *AlertService) NewGenerateAlertParams(description string, name string, alertType int) *GenerateAlertParams
You should always use this function to get a new GenerateAlertParams instance, as then you are sure you have configured all required params
func (*AlertService) NewListAlertsParams ¶
func (s *AlertService) NewListAlertsParams() *ListAlertsParams
You should always use this function to get a new ListAlertsParams instance, as then you are sure you have configured all required params
type Api ¶
type Api struct { Description string `json:"description,omitempty"` Params []struct { Description string `json:"description,omitempty"` Required bool `json:"required,omitempty"` Type string `json:"type,omitempty"` Related string `json:"related,omitempty"` Name string `json:"name,omitempty"` Since string `json:"since,omitempty"` Length int `json:"length,omitempty"` } `json:"params,omitempty"` Related string `json:"related,omitempty"` Isasync bool `json:"isasync,omitempty"` Response []struct { Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Response []string `json:"response,omitempty"` Description string `json:"description,omitempty"` } `json:"response,omitempty"` Type string `json:"type,omitempty"` Since string `json:"since,omitempty"` Name string `json:"name,omitempty"` }
type ArchiveAlertsParams ¶
type ArchiveAlertsParams struct {
// contains filtered or unexported fields
}
func (*ArchiveAlertsParams) SetEnddate ¶
func (p *ArchiveAlertsParams) SetEnddate(v string)
func (*ArchiveAlertsParams) SetIds ¶
func (p *ArchiveAlertsParams) SetIds(v []string)
func (*ArchiveAlertsParams) SetStartdate ¶
func (p *ArchiveAlertsParams) SetStartdate(v string)
func (*ArchiveAlertsParams) SetType ¶
func (p *ArchiveAlertsParams) SetType(v string)
type ArchiveAlertsResponse ¶
type ArchiveEventsParams ¶
type ArchiveEventsParams struct {
// contains filtered or unexported fields
}
func (*ArchiveEventsParams) SetEnddate ¶
func (p *ArchiveEventsParams) SetEnddate(v string)
func (*ArchiveEventsParams) SetIds ¶
func (p *ArchiveEventsParams) SetIds(v []string)
func (*ArchiveEventsParams) SetStartdate ¶
func (p *ArchiveEventsParams) SetStartdate(v string)
func (*ArchiveEventsParams) SetType ¶
func (p *ArchiveEventsParams) SetType(v string)
type ArchiveEventsResponse ¶
type AssignCertToLoadBalancerParams ¶
type AssignCertToLoadBalancerParams struct {
// contains filtered or unexported fields
}
func (*AssignCertToLoadBalancerParams) SetCertid ¶
func (p *AssignCertToLoadBalancerParams) SetCertid(v string)
func (*AssignCertToLoadBalancerParams) SetLbruleid ¶
func (p *AssignCertToLoadBalancerParams) SetLbruleid(v string)
type AssignToGlobalLoadBalancerRuleParams ¶
type AssignToGlobalLoadBalancerRuleParams struct {
// contains filtered or unexported fields
}
func (*AssignToGlobalLoadBalancerRuleParams) SetGslblbruleweightsmap ¶
func (p *AssignToGlobalLoadBalancerRuleParams) SetGslblbruleweightsmap(v map[string]string)
func (*AssignToGlobalLoadBalancerRuleParams) SetId ¶
func (p *AssignToGlobalLoadBalancerRuleParams) SetId(v string)
func (*AssignToGlobalLoadBalancerRuleParams) SetLoadbalancerrulelist ¶
func (p *AssignToGlobalLoadBalancerRuleParams) SetLoadbalancerrulelist(v []string)
type AssignToLoadBalancerRuleParams ¶
type AssignToLoadBalancerRuleParams struct {
// contains filtered or unexported fields
}
func (*AssignToLoadBalancerRuleParams) SetId ¶
func (p *AssignToLoadBalancerRuleParams) SetId(v string)
func (*AssignToLoadBalancerRuleParams) SetVirtualmachineids ¶
func (p *AssignToLoadBalancerRuleParams) SetVirtualmachineids(v []string)
type AssignVirtualMachineParams ¶
type AssignVirtualMachineParams struct {
// contains filtered or unexported fields
}
func (*AssignVirtualMachineParams) SetAccount ¶
func (p *AssignVirtualMachineParams) SetAccount(v string)
func (*AssignVirtualMachineParams) SetDomainid ¶
func (p *AssignVirtualMachineParams) SetDomainid(v string)
func (*AssignVirtualMachineParams) SetNetworkids ¶
func (p *AssignVirtualMachineParams) SetNetworkids(v []string)
func (*AssignVirtualMachineParams) SetSecuritygroupids ¶
func (p *AssignVirtualMachineParams) SetSecuritygroupids(v []string)
func (*AssignVirtualMachineParams) SetVirtualmachineid ¶
func (p *AssignVirtualMachineParams) SetVirtualmachineid(v string)
type AssignVirtualMachineResponse ¶
type AssignVirtualMachineResponse struct { Cpunumber int `json:"cpunumber,omitempty"` Project string `json:"project,omitempty"` Name string `json:"name,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Zonename string `json:"zonename,omitempty"` Created string `json:"created,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Domainid string `json:"domainid,omitempty"` Guestosid string `json:"guestosid,omitempty"` Projectid string `json:"projectid,omitempty"` Publicipid string `json:"publicipid,omitempty"` Displayname string `json:"displayname,omitempty"` Tags []struct { Domainid string `json:"domainid,omitempty"` Value string `json:"value,omitempty"` Key string `json:"key,omitempty"` Resourceid string `json:"resourceid,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Customer string `json:"customer,omitempty"` Domain string `json:"domain,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Projectid string `json:"projectid,omitempty"` } `json:"tags,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Servicestate string `json:"servicestate,omitempty"` Account string `json:"account,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` State string `json:"state,omitempty"` Details map[string]string `json:"details,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Securitygroup []struct { Domainid string `json:"domainid,omitempty"` Domain string `json:"domain,omitempty"` Tags []struct { Account string `json:"account,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Customer string `json:"customer,omitempty"` Key string `json:"key,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Value string `json:"value,omitempty"` Resourceid string `json:"resourceid,omitempty"` } `json:"tags,omitempty"` Projectid string `json:"projectid,omitempty"` Ingressrule []struct { Cidr string `json:"cidr,omitempty"` Protocol string `json:"protocol,omitempty"` Account string `json:"account,omitempty"` Icmptype int `json:"icmptype,omitempty"` Ruleid string `json:"ruleid,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Endport int `json:"endport,omitempty"` Startport int `json:"startport,omitempty"` } `json:"ingressrule,omitempty"` Account string `json:"account,omitempty"` Id string `json:"id,omitempty"` Egressrule []struct { Endport int `json:"endport,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Icmptype int `json:"icmptype,omitempty"` Startport int `json:"startport,omitempty"` Protocol string `json:"protocol,omitempty"` Ruleid string `json:"ruleid,omitempty"` Cidr string `json:"cidr,omitempty"` Account string `json:"account,omitempty"` } `json:"egressrule,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Project string `json:"project,omitempty"` } `json:"securitygroup,omitempty"` Keypair string `json:"keypair,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Haenable bool `json:"haenable,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Password string `json:"password,omitempty"` Publicip string `json:"publicip,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Isoname string `json:"isoname,omitempty"` Hostname string `json:"hostname,omitempty"` Hostid string `json:"hostid,omitempty"` Group string `json:"group,omitempty"` Cpuused string `json:"cpuused,omitempty"` Affinitygroup []struct { Description string `json:"description,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Account string `json:"account,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Type string `json:"type,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"affinitygroup,omitempty"` Isoid string `json:"isoid,omitempty"` Templatename string `json:"templatename,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Diskioread int `json:"diskioread,omitempty"` Instancename string `json:"instancename,omitempty"` Domain string `json:"domain,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Id string `json:"id,omitempty"` Memory int `json:"memory,omitempty"` Templateid string `json:"templateid,omitempty"` Groupid string `json:"groupid,omitempty"` Nic []struct { Isdefault bool `json:"isdefault,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Netmask string `json:"netmask,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Id string `json:"id,omitempty"` Networkid string `json:"networkid,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Networkname string `json:"networkname,omitempty"` Type string `json:"type,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Traffictype string `json:"traffictype,omitempty"` Ip6address string `json:"ip6address,omitempty"` Macaddress string `json:"macaddress,omitempty"` Gateway string `json:"gateway,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` } `json:"nic,omitempty"` Zoneid string `json:"zoneid,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` }
type AssociateIpAddressParams ¶
type AssociateIpAddressParams struct {
// contains filtered or unexported fields
}
func (*AssociateIpAddressParams) SetAccount ¶
func (p *AssociateIpAddressParams) SetAccount(v string)
func (*AssociateIpAddressParams) SetDomainid ¶
func (p *AssociateIpAddressParams) SetDomainid(v string)
func (*AssociateIpAddressParams) SetIsportable ¶
func (p *AssociateIpAddressParams) SetIsportable(v bool)
func (*AssociateIpAddressParams) SetNetworkid ¶
func (p *AssociateIpAddressParams) SetNetworkid(v string)
func (*AssociateIpAddressParams) SetProjectid ¶
func (p *AssociateIpAddressParams) SetProjectid(v string)
func (*AssociateIpAddressParams) SetRegionid ¶
func (p *AssociateIpAddressParams) SetRegionid(v int)
func (*AssociateIpAddressParams) SetVpcid ¶
func (p *AssociateIpAddressParams) SetVpcid(v string)
func (*AssociateIpAddressParams) SetZoneid ¶
func (p *AssociateIpAddressParams) SetZoneid(v string)
type AssociateIpAddressResponse ¶
type AssociateIpAddressResponse struct { JobID string `json:"jobid,omitempty"` Zonename string `json:"zonename,omitempty"` Vlanname string `json:"vlanname,omitempty"` Project string `json:"project,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Tags []struct { Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` Customer string `json:"customer,omitempty"` Domain string `json:"domain,omitempty"` Key string `json:"key,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Resourceid string `json:"resourceid,omitempty"` Project string `json:"project,omitempty"` Value string `json:"value,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"tags,omitempty"` Associatednetworkname string `json:"associatednetworkname,omitempty"` Account string `json:"account,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Networkid string `json:"networkid,omitempty"` Projectid string `json:"projectid,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` Vpcid string `json:"vpcid,omitempty"` Issystem bool `json:"issystem,omitempty"` Allocated string `json:"allocated,omitempty"` Virtualmachinedisplayname string `json:"virtualmachinedisplayname,omitempty"` State string `json:"state,omitempty"` Issourcenat bool `json:"issourcenat,omitempty"` Domainid string `json:"domainid,omitempty"` Associatednetworkid string `json:"associatednetworkid,omitempty"` Isstaticnat bool `json:"isstaticnat,omitempty"` Zoneid string `json:"zoneid,omitempty"` Isportable bool `json:"isportable,omitempty"` Domain string `json:"domain,omitempty"` Vmipaddress string `json:"vmipaddress,omitempty"` Virtualmachinename string `json:"virtualmachinename,omitempty"` Purpose string `json:"purpose,omitempty"` Id string `json:"id,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Vlanid string `json:"vlanid,omitempty"` }
type AssociateUcsProfileToBladeParams ¶
type AssociateUcsProfileToBladeParams struct {
// contains filtered or unexported fields
}
func (*AssociateUcsProfileToBladeParams) SetBladeid ¶
func (p *AssociateUcsProfileToBladeParams) SetBladeid(v string)
func (*AssociateUcsProfileToBladeParams) SetProfiledn ¶
func (p *AssociateUcsProfileToBladeParams) SetProfiledn(v string)
func (*AssociateUcsProfileToBladeParams) SetUcsmanagerid ¶
func (p *AssociateUcsProfileToBladeParams) SetUcsmanagerid(v string)
type AssociateUcsProfileToBladeResponse ¶
type AssociateUcsProfileToBladeResponse struct { JobID string `json:"jobid,omitempty"` Profiledn string `json:"profiledn,omitempty"` Bladedn string `json:"bladedn,omitempty"` Hostid string `json:"hostid,omitempty"` Ucsmanagerid string `json:"ucsmanagerid,omitempty"` Id string `json:"id,omitempty"` }
type AsyncJob ¶
type AsyncJob struct { Created string `json:"created,omitempty"` Jobinstanceid string `json:"jobinstanceid,omitempty"` Jobprocstatus int `json:"jobprocstatus,omitempty"` Jobinstancetype string `json:"jobinstancetype,omitempty"` Jobresult json.RawMessage `json:"jobresult,omitempty"` Jobresulttype string `json:"jobresulttype,omitempty"` Jobstatus int `json:"jobstatus,omitempty"` Accountid string `json:"accountid,omitempty"` Jobresultcode int `json:"jobresultcode,omitempty"` Cmd string `json:"cmd,omitempty"` Userid string `json:"userid,omitempty"` }
type AsyncjobService ¶
type AsyncjobService struct {
// contains filtered or unexported fields
}
func NewAsyncjobService ¶
func NewAsyncjobService(cs *CloudStackClient) *AsyncjobService
func (*AsyncjobService) ListAsyncJobs ¶
func (s *AsyncjobService) ListAsyncJobs(p *ListAsyncJobsParams) (*ListAsyncJobsResponse, error)
Lists all pending asynchronous jobs for the account.
func (*AsyncjobService) NewListAsyncJobsParams ¶
func (s *AsyncjobService) NewListAsyncJobsParams() *ListAsyncJobsParams
You should always use this function to get a new ListAsyncJobsParams instance, as then you are sure you have configured all required params
func (*AsyncjobService) NewQueryAsyncJobResultParams ¶
func (s *AsyncjobService) NewQueryAsyncJobResultParams(jobid string) *QueryAsyncJobResultParams
You should always use this function to get a new QueryAsyncJobResultParams instance, as then you are sure you have configured all required params
func (*AsyncjobService) QueryAsyncJobResult ¶
func (s *AsyncjobService) QueryAsyncJobResult(p *QueryAsyncJobResultParams) (*QueryAsyncJobResultResponse, error)
Retrieves the current status of asynchronous job.
type AttachIsoParams ¶
type AttachIsoParams struct {
// contains filtered or unexported fields
}
func (*AttachIsoParams) SetId ¶
func (p *AttachIsoParams) SetId(v string)
func (*AttachIsoParams) SetVirtualmachineid ¶
func (p *AttachIsoParams) SetVirtualmachineid(v string)
type AttachIsoResponse ¶
type AttachIsoResponse struct { JobID string `json:"jobid,omitempty"` Name string `json:"name,omitempty"` Diskioread int `json:"diskioread,omitempty"` Instancename string `json:"instancename,omitempty"` Project string `json:"project,omitempty"` Haenable bool `json:"haenable,omitempty"` Servicestate string `json:"servicestate,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Password string `json:"password,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Nic []struct { Netmask string `json:"netmask,omitempty"` Traffictype string `json:"traffictype,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Id string `json:"id,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Networkid string `json:"networkid,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Type string `json:"type,omitempty"` Ip6address string `json:"ip6address,omitempty"` Gateway string `json:"gateway,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Networkname string `json:"networkname,omitempty"` Macaddress string `json:"macaddress,omitempty"` } `json:"nic,omitempty"` Isoid string `json:"isoid,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Templatename string `json:"templatename,omitempty"` Memory int `json:"memory,omitempty"` Displayname string `json:"displayname,omitempty"` Publicipid string `json:"publicipid,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Hostname string `json:"hostname,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Securitygroup []struct { Id string `json:"id,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Key string `json:"key,omitempty"` Domainid string `json:"domainid,omitempty"` Value string `json:"value,omitempty"` Customer string `json:"customer,omitempty"` Resourceid string `json:"resourceid,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` } `json:"tags,omitempty"` Name string `json:"name,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Ingressrule []struct { Securitygroupname string `json:"securitygroupname,omitempty"` Startport int `json:"startport,omitempty"` Icmptype int `json:"icmptype,omitempty"` Cidr string `json:"cidr,omitempty"` Account string `json:"account,omitempty"` Endport int `json:"endport,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Protocol string `json:"protocol,omitempty"` Ruleid string `json:"ruleid,omitempty"` } `json:"ingressrule,omitempty"` Egressrule []struct { Icmpcode int `json:"icmpcode,omitempty"` Icmptype int `json:"icmptype,omitempty"` Protocol string `json:"protocol,omitempty"` Endport int `json:"endport,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Ruleid string `json:"ruleid,omitempty"` Account string `json:"account,omitempty"` Startport int `json:"startport,omitempty"` Cidr string `json:"cidr,omitempty"` } `json:"egressrule,omitempty"` Domain string `json:"domain,omitempty"` Description string `json:"description,omitempty"` } `json:"securitygroup,omitempty"` Groupid string `json:"groupid,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Guestosid string `json:"guestosid,omitempty"` Details map[string]string `json:"details,omitempty"` Zonename string `json:"zonename,omitempty"` Created string `json:"created,omitempty"` Id string `json:"id,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Domain string `json:"domain,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Affinitygroup []struct { Description string `json:"description,omitempty"` Domainid string `json:"domainid,omitempty"` Type string `json:"type,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` } `json:"affinitygroup,omitempty"` Tags []struct { Account string `json:"account,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Customer string `json:"customer,omitempty"` Projectid string `json:"projectid,omitempty"` Value string `json:"value,omitempty"` Key string `json:"key,omitempty"` Project string `json:"project,omitempty"` } `json:"tags,omitempty"` Isoname string `json:"isoname,omitempty"` Zoneid string `json:"zoneid,omitempty"` Templateid string `json:"templateid,omitempty"` Domainid string `json:"domainid,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Publicip string `json:"publicip,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Account string `json:"account,omitempty"` Keypair string `json:"keypair,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Cpuused string `json:"cpuused,omitempty"` State string `json:"state,omitempty"` Projectid string `json:"projectid,omitempty"` Group string `json:"group,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Hostid string `json:"hostid,omitempty"` }
type AttachVolumeParams ¶
type AttachVolumeParams struct {
// contains filtered or unexported fields
}
func (*AttachVolumeParams) SetDeviceid ¶
func (p *AttachVolumeParams) SetDeviceid(v int)
func (*AttachVolumeParams) SetId ¶
func (p *AttachVolumeParams) SetId(v string)
func (*AttachVolumeParams) SetVirtualmachineid ¶
func (p *AttachVolumeParams) SetVirtualmachineid(v string)
type AttachVolumeResponse ¶
type AttachVolumeResponse struct { JobID string `json:"jobid,omitempty"` Maxiops int `json:"maxiops,omitempty"` Vmstate string `json:"vmstate,omitempty"` Miniops int `json:"miniops,omitempty"` Status string `json:"status,omitempty"` Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext,omitempty"` Size int `json:"size,omitempty"` Diskofferingname string `json:"diskofferingname,omitempty"` DiskBytesWriteRate int `json:"diskBytesWriteRate,omitempty"` Created string `json:"created,omitempty"` Deviceid int `json:"deviceid,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Isextractable bool `json:"isextractable,omitempty"` Destroyed bool `json:"destroyed,omitempty"` Storagetype string `json:"storagetype,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Snapshotid string `json:"snapshotid,omitempty"` Project string `json:"project,omitempty"` Storageid string `json:"storageid,omitempty"` Vmdisplayname string `json:"vmdisplayname,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Vmname string `json:"vmname,omitempty"` Zoneid string `json:"zoneid,omitempty"` DiskIopsWriteRate int `json:"diskIopsWriteRate,omitempty"` Zonename string `json:"zonename,omitempty"` Attached string `json:"attached,omitempty"` Domainid string `json:"domainid,omitempty"` Type string `json:"type,omitempty"` DiskIopsReadRate int `json:"diskIopsReadRate,omitempty"` Diskofferingdisplaytext string `json:"diskofferingdisplaytext,omitempty"` Account string `json:"account,omitempty"` Projectid string `json:"projectid,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` State string `json:"state,omitempty"` Storage string `json:"storage,omitempty"` Domain string `json:"domain,omitempty"` Quiescevm bool `json:"quiescevm,omitempty"` Path string `json:"path,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Tags []struct { Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Value string `json:"value,omitempty"` Customer string `json:"customer,omitempty"` Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Key string `json:"key,omitempty"` } `json:"tags,omitempty"` DiskBytesReadRate int `json:"diskBytesReadRate,omitempty"` Displayvolume bool `json:"displayvolume,omitempty"` Diskofferingid string `json:"diskofferingid,omitempty"` }
type AuthorizeSecurityGroupEgressParams ¶
type AuthorizeSecurityGroupEgressParams struct {
// contains filtered or unexported fields
}
func (*AuthorizeSecurityGroupEgressParams) SetAccount ¶
func (p *AuthorizeSecurityGroupEgressParams) SetAccount(v string)
func (*AuthorizeSecurityGroupEgressParams) SetCidrlist ¶
func (p *AuthorizeSecurityGroupEgressParams) SetCidrlist(v []string)
func (*AuthorizeSecurityGroupEgressParams) SetDomainid ¶
func (p *AuthorizeSecurityGroupEgressParams) SetDomainid(v string)
func (*AuthorizeSecurityGroupEgressParams) SetEndport ¶
func (p *AuthorizeSecurityGroupEgressParams) SetEndport(v int)
func (*AuthorizeSecurityGroupEgressParams) SetIcmpcode ¶
func (p *AuthorizeSecurityGroupEgressParams) SetIcmpcode(v int)
func (*AuthorizeSecurityGroupEgressParams) SetIcmptype ¶
func (p *AuthorizeSecurityGroupEgressParams) SetIcmptype(v int)
func (*AuthorizeSecurityGroupEgressParams) SetProjectid ¶
func (p *AuthorizeSecurityGroupEgressParams) SetProjectid(v string)
func (*AuthorizeSecurityGroupEgressParams) SetProtocol ¶
func (p *AuthorizeSecurityGroupEgressParams) SetProtocol(v string)
func (*AuthorizeSecurityGroupEgressParams) SetSecuritygroupid ¶
func (p *AuthorizeSecurityGroupEgressParams) SetSecuritygroupid(v string)
func (*AuthorizeSecurityGroupEgressParams) SetSecuritygroupname ¶
func (p *AuthorizeSecurityGroupEgressParams) SetSecuritygroupname(v string)
func (*AuthorizeSecurityGroupEgressParams) SetStartport ¶
func (p *AuthorizeSecurityGroupEgressParams) SetStartport(v int)
func (*AuthorizeSecurityGroupEgressParams) SetUsersecuritygrouplist ¶
func (p *AuthorizeSecurityGroupEgressParams) SetUsersecuritygrouplist(v map[string]string)
type AuthorizeSecurityGroupEgressResponse ¶
type AuthorizeSecurityGroupEgressResponse struct { JobID string `json:"jobid,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Protocol string `json:"protocol,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Endport int `json:"endport,omitempty"` Icmptype int `json:"icmptype,omitempty"` Cidr string `json:"cidr,omitempty"` Account string `json:"account,omitempty"` Ruleid string `json:"ruleid,omitempty"` Startport int `json:"startport,omitempty"` }
type AuthorizeSecurityGroupIngressParams ¶
type AuthorizeSecurityGroupIngressParams struct {
// contains filtered or unexported fields
}
func (*AuthorizeSecurityGroupIngressParams) SetAccount ¶
func (p *AuthorizeSecurityGroupIngressParams) SetAccount(v string)
func (*AuthorizeSecurityGroupIngressParams) SetCidrlist ¶
func (p *AuthorizeSecurityGroupIngressParams) SetCidrlist(v []string)
func (*AuthorizeSecurityGroupIngressParams) SetDomainid ¶
func (p *AuthorizeSecurityGroupIngressParams) SetDomainid(v string)
func (*AuthorizeSecurityGroupIngressParams) SetEndport ¶
func (p *AuthorizeSecurityGroupIngressParams) SetEndport(v int)
func (*AuthorizeSecurityGroupIngressParams) SetIcmpcode ¶
func (p *AuthorizeSecurityGroupIngressParams) SetIcmpcode(v int)
func (*AuthorizeSecurityGroupIngressParams) SetIcmptype ¶
func (p *AuthorizeSecurityGroupIngressParams) SetIcmptype(v int)
func (*AuthorizeSecurityGroupIngressParams) SetProjectid ¶
func (p *AuthorizeSecurityGroupIngressParams) SetProjectid(v string)
func (*AuthorizeSecurityGroupIngressParams) SetProtocol ¶
func (p *AuthorizeSecurityGroupIngressParams) SetProtocol(v string)
func (*AuthorizeSecurityGroupIngressParams) SetSecuritygroupid ¶
func (p *AuthorizeSecurityGroupIngressParams) SetSecuritygroupid(v string)
func (*AuthorizeSecurityGroupIngressParams) SetSecuritygroupname ¶
func (p *AuthorizeSecurityGroupIngressParams) SetSecuritygroupname(v string)
func (*AuthorizeSecurityGroupIngressParams) SetStartport ¶
func (p *AuthorizeSecurityGroupIngressParams) SetStartport(v int)
func (*AuthorizeSecurityGroupIngressParams) SetUsersecuritygrouplist ¶
func (p *AuthorizeSecurityGroupIngressParams) SetUsersecuritygrouplist(v map[string]string)
type AuthorizeSecurityGroupIngressResponse ¶
type AuthorizeSecurityGroupIngressResponse struct { JobID string `json:"jobid,omitempty"` Protocol string `json:"protocol,omitempty"` Icmptype int `json:"icmptype,omitempty"` Cidr string `json:"cidr,omitempty"` Endport int `json:"endport,omitempty"` Startport int `json:"startport,omitempty"` Account string `json:"account,omitempty"` Ruleid string `json:"ruleid,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` }
type AutoScalePolicy ¶ added in v1.0.1
type AutoScalePolicy struct { Conditions []string `json:"conditions,omitempty"` Duration int `json:"duration,omitempty"` Project string `json:"project,omitempty"` Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Id string `json:"id,omitempty"` Action string `json:"action,omitempty"` Quiettime int `json:"quiettime,omitempty"` Account string `json:"account,omitempty"` }
type AutoScaleService ¶
type AutoScaleService struct {
// contains filtered or unexported fields
}
func NewAutoScaleService ¶
func NewAutoScaleService(cs *CloudStackClient) *AutoScaleService
func (*AutoScaleService) CreateAutoScalePolicy ¶
func (s *AutoScaleService) CreateAutoScalePolicy(p *CreateAutoScalePolicyParams) (*CreateAutoScalePolicyResponse, error)
Creates an autoscale policy for a provision or deprovision action, the action is taken when the all the conditions evaluates to true for the specified duration. The policy is in effect once it is attached to a autscale vm group.
func (*AutoScaleService) CreateAutoScaleVmGroup ¶
func (s *AutoScaleService) CreateAutoScaleVmGroup(p *CreateAutoScaleVmGroupParams) (*CreateAutoScaleVmGroupResponse, error)
Creates and automatically starts a virtual machine based on a service offering, disk offering, and template.
func (*AutoScaleService) CreateAutoScaleVmProfile ¶
func (s *AutoScaleService) CreateAutoScaleVmProfile(p *CreateAutoScaleVmProfileParams) (*CreateAutoScaleVmProfileResponse, error)
Creates a profile that contains information about the virtual machine which will be provisioned automatically by autoscale feature.
func (*AutoScaleService) CreateCondition ¶
func (s *AutoScaleService) CreateCondition(p *CreateConditionParams) (*CreateConditionResponse, error)
Creates a condition
func (*AutoScaleService) CreateCounter ¶
func (s *AutoScaleService) CreateCounter(p *CreateCounterParams) (*CreateCounterResponse, error)
Adds metric counter
func (*AutoScaleService) DeleteAutoScalePolicy ¶
func (s *AutoScaleService) DeleteAutoScalePolicy(p *DeleteAutoScalePolicyParams) (*DeleteAutoScalePolicyResponse, error)
Deletes a autoscale policy.
func (*AutoScaleService) DeleteAutoScaleVmGroup ¶
func (s *AutoScaleService) DeleteAutoScaleVmGroup(p *DeleteAutoScaleVmGroupParams) (*DeleteAutoScaleVmGroupResponse, error)
Deletes a autoscale vm group.
func (*AutoScaleService) DeleteAutoScaleVmProfile ¶
func (s *AutoScaleService) DeleteAutoScaleVmProfile(p *DeleteAutoScaleVmProfileParams) (*DeleteAutoScaleVmProfileResponse, error)
Deletes a autoscale vm profile.
func (*AutoScaleService) DeleteCondition ¶
func (s *AutoScaleService) DeleteCondition(p *DeleteConditionParams) (*DeleteConditionResponse, error)
Removes a condition
func (*AutoScaleService) DeleteCounter ¶
func (s *AutoScaleService) DeleteCounter(p *DeleteCounterParams) (*DeleteCounterResponse, error)
Deletes a counter
func (*AutoScaleService) DisableAutoScaleVmGroup ¶
func (s *AutoScaleService) DisableAutoScaleVmGroup(p *DisableAutoScaleVmGroupParams) (*DisableAutoScaleVmGroupResponse, error)
Disables an AutoScale Vm Group
func (*AutoScaleService) EnableAutoScaleVmGroup ¶
func (s *AutoScaleService) EnableAutoScaleVmGroup(p *EnableAutoScaleVmGroupParams) (*EnableAutoScaleVmGroupResponse, error)
Enables an AutoScale Vm Group
func (*AutoScaleService) GetAutoScalePolicyID ¶ added in v1.0.1
func (s *AutoScaleService) GetAutoScalePolicyID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*AutoScaleService) GetAutoScaleVmGroupID ¶
func (s *AutoScaleService) GetAutoScaleVmGroupID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*AutoScaleService) GetAutoScaleVmProfileID ¶
func (s *AutoScaleService) GetAutoScaleVmProfileID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*AutoScaleService) GetConditionID ¶
func (s *AutoScaleService) GetConditionID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*AutoScaleService) GetCounterID ¶
func (s *AutoScaleService) GetCounterID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*AutoScaleService) ListAutoScalePolicies ¶
func (s *AutoScaleService) ListAutoScalePolicies(p *ListAutoScalePoliciesParams) (*ListAutoScalePoliciesResponse, error)
Lists autoscale policies.
func (*AutoScaleService) ListAutoScaleVmGroups ¶
func (s *AutoScaleService) ListAutoScaleVmGroups(p *ListAutoScaleVmGroupsParams) (*ListAutoScaleVmGroupsResponse, error)
Lists autoscale vm groups.
func (*AutoScaleService) ListAutoScaleVmProfiles ¶
func (s *AutoScaleService) ListAutoScaleVmProfiles(p *ListAutoScaleVmProfilesParams) (*ListAutoScaleVmProfilesResponse, error)
Lists autoscale vm profiles.
func (*AutoScaleService) ListConditions ¶
func (s *AutoScaleService) ListConditions(p *ListConditionsParams) (*ListConditionsResponse, error)
List Conditions for the specific user
func (*AutoScaleService) ListCounters ¶
func (s *AutoScaleService) ListCounters(p *ListCountersParams) (*ListCountersResponse, error)
List the counters
func (*AutoScaleService) NewCreateAutoScalePolicyParams ¶
func (s *AutoScaleService) NewCreateAutoScalePolicyParams(action string, conditionids []string, duration int) *CreateAutoScalePolicyParams
You should always use this function to get a new CreateAutoScalePolicyParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewCreateAutoScaleVmGroupParams ¶
func (s *AutoScaleService) NewCreateAutoScaleVmGroupParams(lbruleid string, maxmembers int, minmembers int, scaledownpolicyids []string, scaleuppolicyids []string, vmprofileid string) *CreateAutoScaleVmGroupParams
You should always use this function to get a new CreateAutoScaleVmGroupParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewCreateAutoScaleVmProfileParams ¶
func (s *AutoScaleService) NewCreateAutoScaleVmProfileParams(serviceofferingid string, templateid string, zoneid string) *CreateAutoScaleVmProfileParams
You should always use this function to get a new CreateAutoScaleVmProfileParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewCreateConditionParams ¶
func (s *AutoScaleService) NewCreateConditionParams(counterid string, relationaloperator string, threshold int) *CreateConditionParams
You should always use this function to get a new CreateConditionParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewCreateCounterParams ¶
func (s *AutoScaleService) NewCreateCounterParams(name string, source string, value string) *CreateCounterParams
You should always use this function to get a new CreateCounterParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewDeleteAutoScalePolicyParams ¶
func (s *AutoScaleService) NewDeleteAutoScalePolicyParams(id string) *DeleteAutoScalePolicyParams
You should always use this function to get a new DeleteAutoScalePolicyParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewDeleteAutoScaleVmGroupParams ¶
func (s *AutoScaleService) NewDeleteAutoScaleVmGroupParams(id string) *DeleteAutoScaleVmGroupParams
You should always use this function to get a new DeleteAutoScaleVmGroupParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewDeleteAutoScaleVmProfileParams ¶
func (s *AutoScaleService) NewDeleteAutoScaleVmProfileParams(id string) *DeleteAutoScaleVmProfileParams
You should always use this function to get a new DeleteAutoScaleVmProfileParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewDeleteConditionParams ¶
func (s *AutoScaleService) NewDeleteConditionParams(id string) *DeleteConditionParams
You should always use this function to get a new DeleteConditionParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewDeleteCounterParams ¶
func (s *AutoScaleService) NewDeleteCounterParams(id string) *DeleteCounterParams
You should always use this function to get a new DeleteCounterParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewDisableAutoScaleVmGroupParams ¶
func (s *AutoScaleService) NewDisableAutoScaleVmGroupParams(id string) *DisableAutoScaleVmGroupParams
You should always use this function to get a new DisableAutoScaleVmGroupParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewEnableAutoScaleVmGroupParams ¶
func (s *AutoScaleService) NewEnableAutoScaleVmGroupParams(id string) *EnableAutoScaleVmGroupParams
You should always use this function to get a new EnableAutoScaleVmGroupParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewListAutoScalePoliciesParams ¶
func (s *AutoScaleService) NewListAutoScalePoliciesParams() *ListAutoScalePoliciesParams
You should always use this function to get a new ListAutoScalePoliciesParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewListAutoScaleVmGroupsParams ¶
func (s *AutoScaleService) NewListAutoScaleVmGroupsParams() *ListAutoScaleVmGroupsParams
You should always use this function to get a new ListAutoScaleVmGroupsParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewListAutoScaleVmProfilesParams ¶
func (s *AutoScaleService) NewListAutoScaleVmProfilesParams() *ListAutoScaleVmProfilesParams
You should always use this function to get a new ListAutoScaleVmProfilesParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewListConditionsParams ¶
func (s *AutoScaleService) NewListConditionsParams() *ListConditionsParams
You should always use this function to get a new ListConditionsParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewListCountersParams ¶
func (s *AutoScaleService) NewListCountersParams() *ListCountersParams
You should always use this function to get a new ListCountersParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewUpdateAutoScalePolicyParams ¶
func (s *AutoScaleService) NewUpdateAutoScalePolicyParams(id string) *UpdateAutoScalePolicyParams
You should always use this function to get a new UpdateAutoScalePolicyParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewUpdateAutoScaleVmGroupParams ¶
func (s *AutoScaleService) NewUpdateAutoScaleVmGroupParams(id string) *UpdateAutoScaleVmGroupParams
You should always use this function to get a new UpdateAutoScaleVmGroupParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) NewUpdateAutoScaleVmProfileParams ¶
func (s *AutoScaleService) NewUpdateAutoScaleVmProfileParams(id string) *UpdateAutoScaleVmProfileParams
You should always use this function to get a new UpdateAutoScaleVmProfileParams instance, as then you are sure you have configured all required params
func (*AutoScaleService) UpdateAutoScalePolicy ¶
func (s *AutoScaleService) UpdateAutoScalePolicy(p *UpdateAutoScalePolicyParams) (*UpdateAutoScalePolicyResponse, error)
Updates an existing autoscale policy.
func (*AutoScaleService) UpdateAutoScaleVmGroup ¶
func (s *AutoScaleService) UpdateAutoScaleVmGroup(p *UpdateAutoScaleVmGroupParams) (*UpdateAutoScaleVmGroupResponse, error)
Updates an existing autoscale vm group.
func (*AutoScaleService) UpdateAutoScaleVmProfile ¶
func (s *AutoScaleService) UpdateAutoScaleVmProfile(p *UpdateAutoScaleVmProfileParams) (*UpdateAutoScaleVmProfileResponse, error)
Updates an existing autoscale vm profile.
type AutoScaleVmGroup ¶
type AutoScaleVmGroup struct { Account string `json:"account,omitempty"` Scaledownpolicies []string `json:"scaledownpolicies,omitempty"` Projectid string `json:"projectid,omitempty"` Scaleuppolicies []string `json:"scaleuppolicies,omitempty"` Maxmembers int `json:"maxmembers,omitempty"` Domain string `json:"domain,omitempty"` Lbruleid string `json:"lbruleid,omitempty"` Interval int `json:"interval,omitempty"` Vmprofileid string `json:"vmprofileid,omitempty"` Id string `json:"id,omitempty"` Project string `json:"project,omitempty"` State string `json:"state,omitempty"` Minmembers int `json:"minmembers,omitempty"` Domainid string `json:"domainid,omitempty"` }
type AutoScaleVmProfile ¶
type AutoScaleVmProfile struct { Destroyvmgraceperiod int `json:"destroyvmgraceperiod,omitempty"` Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Autoscaleuserid string `json:"autoscaleuserid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` Otherdeployparams string `json:"otherdeployparams,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Domainid string `json:"domainid,omitempty"` Id string `json:"id,omitempty"` Templateid string `json:"templateid,omitempty"` }
type BaremetalDhcp ¶
type BaremetalPxeServer ¶
type BaremetalService ¶
type BaremetalService struct {
// contains filtered or unexported fields
}
func NewBaremetalService ¶
func NewBaremetalService(cs *CloudStackClient) *BaremetalService
func (*BaremetalService) AddBaremetalDhcp ¶
func (s *BaremetalService) AddBaremetalDhcp(p *AddBaremetalDhcpParams) (*AddBaremetalDhcpResponse, error)
adds a baremetal dhcp server
func (*BaremetalService) AddBaremetalPxeKickStartServer ¶
func (s *BaremetalService) AddBaremetalPxeKickStartServer(p *AddBaremetalPxeKickStartServerParams) (*AddBaremetalPxeKickStartServerResponse, error)
add a baremetal pxe server
func (*BaremetalService) AddBaremetalPxePingServer ¶
func (s *BaremetalService) AddBaremetalPxePingServer(p *AddBaremetalPxePingServerParams) (*AddBaremetalPxePingServerResponse, error)
add a baremetal ping pxe server
func (*BaremetalService) GetBaremetalDhcpID ¶
func (s *BaremetalService) GetBaremetalDhcpID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*BaremetalService) GetBaremetalPxeServerID ¶
func (s *BaremetalService) GetBaremetalPxeServerID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*BaremetalService) ListBaremetalDhcp ¶
func (s *BaremetalService) ListBaremetalDhcp(p *ListBaremetalDhcpParams) (*ListBaremetalDhcpResponse, error)
list baremetal dhcp servers
func (*BaremetalService) ListBaremetalPxeServers ¶
func (s *BaremetalService) ListBaremetalPxeServers(p *ListBaremetalPxeServersParams) (*ListBaremetalPxeServersResponse, error)
list baremetal pxe server
func (*BaremetalService) NewAddBaremetalDhcpParams ¶
func (s *BaremetalService) NewAddBaremetalDhcpParams(dhcpservertype string, password string, physicalnetworkid string, url string, username string) *AddBaremetalDhcpParams
You should always use this function to get a new AddBaremetalDhcpParams instance, as then you are sure you have configured all required params
func (*BaremetalService) NewAddBaremetalPxeKickStartServerParams ¶
func (s *BaremetalService) NewAddBaremetalPxeKickStartServerParams(password string, physicalnetworkid string, pxeservertype string, tftpdir string, url string, username string) *AddBaremetalPxeKickStartServerParams
You should always use this function to get a new AddBaremetalPxeKickStartServerParams instance, as then you are sure you have configured all required params
func (*BaremetalService) NewAddBaremetalPxePingServerParams ¶
func (s *BaremetalService) NewAddBaremetalPxePingServerParams(password string, physicalnetworkid string, pingdir string, pingstorageserverip string, pxeservertype string, tftpdir string, url string, username string) *AddBaremetalPxePingServerParams
You should always use this function to get a new AddBaremetalPxePingServerParams instance, as then you are sure you have configured all required params
func (*BaremetalService) NewListBaremetalDhcpParams ¶
func (s *BaremetalService) NewListBaremetalDhcpParams() *ListBaremetalDhcpParams
You should always use this function to get a new ListBaremetalDhcpParams instance, as then you are sure you have configured all required params
func (*BaremetalService) NewListBaremetalPxeServersParams ¶
func (s *BaremetalService) NewListBaremetalPxeServersParams() *ListBaremetalPxeServersParams
You should always use this function to get a new ListBaremetalPxeServersParams instance, as then you are sure you have configured all required params
type BigSwitchVNSService ¶
type BigSwitchVNSService struct {
// contains filtered or unexported fields
}
func NewBigSwitchVNSService ¶
func NewBigSwitchVNSService(cs *CloudStackClient) *BigSwitchVNSService
func (*BigSwitchVNSService) AddBigSwitchVnsDevice ¶
func (s *BigSwitchVNSService) AddBigSwitchVnsDevice(p *AddBigSwitchVnsDeviceParams) (*AddBigSwitchVnsDeviceResponse, error)
Adds a BigSwitch VNS device
func (*BigSwitchVNSService) DeleteBigSwitchVnsDevice ¶
func (s *BigSwitchVNSService) DeleteBigSwitchVnsDevice(p *DeleteBigSwitchVnsDeviceParams) (*DeleteBigSwitchVnsDeviceResponse, error)
delete a bigswitch vns device
func (*BigSwitchVNSService) ListBigSwitchVnsDevices ¶
func (s *BigSwitchVNSService) ListBigSwitchVnsDevices(p *ListBigSwitchVnsDevicesParams) (*ListBigSwitchVnsDevicesResponse, error)
Lists BigSwitch Vns devices
func (*BigSwitchVNSService) NewAddBigSwitchVnsDeviceParams ¶
func (s *BigSwitchVNSService) NewAddBigSwitchVnsDeviceParams(hostname string, physicalnetworkid string) *AddBigSwitchVnsDeviceParams
You should always use this function to get a new AddBigSwitchVnsDeviceParams instance, as then you are sure you have configured all required params
func (*BigSwitchVNSService) NewDeleteBigSwitchVnsDeviceParams ¶
func (s *BigSwitchVNSService) NewDeleteBigSwitchVnsDeviceParams(vnsdeviceid string) *DeleteBigSwitchVnsDeviceParams
You should always use this function to get a new DeleteBigSwitchVnsDeviceParams instance, as then you are sure you have configured all required params
func (*BigSwitchVNSService) NewListBigSwitchVnsDevicesParams ¶
func (s *BigSwitchVNSService) NewListBigSwitchVnsDevicesParams() *ListBigSwitchVnsDevicesParams
You should always use this function to get a new ListBigSwitchVnsDevicesParams instance, as then you are sure you have configured all required params
type BigSwitchVnsDevice ¶
type BigSwitchVnsDevice struct { Provider string `json:"provider,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Bigswitchdevicename string `json:"bigswitchdevicename,omitempty"` Vnsdeviceid string `json:"vnsdeviceid,omitempty"` Hostname string `json:"hostname,omitempty"` }
type CSError ¶
type CancelHostMaintenanceParams ¶
type CancelHostMaintenanceParams struct {
// contains filtered or unexported fields
}
func (*CancelHostMaintenanceParams) SetId ¶
func (p *CancelHostMaintenanceParams) SetId(v string)
type CancelHostMaintenanceResponse ¶
type CancelHostMaintenanceResponse struct { JobID string `json:"jobid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Id string `json:"id,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Disksizetotal int `json:"disksizetotal,omitempty"` Hypervisorversion string `json:"hypervisorversion,omitempty"` Resourcestate string `json:"resourcestate,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Podid string `json:"podid,omitempty"` Lastpinged string `json:"lastpinged,omitempty"` Managementserverid int `json:"managementserverid,omitempty"` Memoryused int `json:"memoryused,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Cpuallocated string `json:"cpuallocated,omitempty"` Suitableformigration bool `json:"suitableformigration,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Hahost bool `json:"hahost,omitempty"` Clustername string `json:"clustername,omitempty"` Zonename string `json:"zonename,omitempty"` Clustertype string `json:"clustertype,omitempty"` Cpusockets int `json:"cpusockets,omitempty"` Oscategoryname string `json:"oscategoryname,omitempty"` Type string `json:"type,omitempty"` Memoryallocated int `json:"memoryallocated,omitempty"` State string `json:"state,omitempty"` Disconnected string `json:"disconnected,omitempty"` Clusterid string `json:"clusterid,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Oscategoryid string `json:"oscategoryid,omitempty"` Cpuwithoverprovisioning string `json:"cpuwithoverprovisioning,omitempty"` Cpuused string `json:"cpuused,omitempty"` Version string `json:"version,omitempty"` Name string `json:"name,omitempty"` Removed string `json:"removed,omitempty"` Hasenoughcapacity bool `json:"hasenoughcapacity,omitempty"` Capabilities string `json:"capabilities,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Events string `json:"events,omitempty"` Islocalstorageactive bool `json:"islocalstorageactive,omitempty"` Created string `json:"created,omitempty"` Averageload int `json:"averageload,omitempty"` Podname string `json:"podname,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Disksizeallocated int `json:"disksizeallocated,omitempty"` }
type CancelStorageMaintenanceParams ¶
type CancelStorageMaintenanceParams struct {
// contains filtered or unexported fields
}
func (*CancelStorageMaintenanceParams) SetId ¶
func (p *CancelStorageMaintenanceParams) SetId(v string)
type CancelStorageMaintenanceResponse ¶
type CancelStorageMaintenanceResponse struct { JobID string `json:"jobid,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Created string `json:"created,omitempty"` Disksizeallocated int `json:"disksizeallocated,omitempty"` Podname string `json:"podname,omitempty"` Storagecapabilities map[string]string `json:"storagecapabilities,omitempty"` Disksizeused int `json:"disksizeused,omitempty"` Path string `json:"path,omitempty"` Suitableformigration bool `json:"suitableformigration,omitempty"` State string `json:"state,omitempty"` Tags string `json:"tags,omitempty"` Zonename string `json:"zonename,omitempty"` Id string `json:"id,omitempty"` Disksizetotal int `json:"disksizetotal,omitempty"` Clusterid string `json:"clusterid,omitempty"` Capacityiops int `json:"capacityiops,omitempty"` Zoneid string `json:"zoneid,omitempty"` Name string `json:"name,omitempty"` Podid string `json:"podid,omitempty"` Type string `json:"type,omitempty"` Clustername string `json:"clustername,omitempty"` Scope string `json:"scope,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` }
type Capability ¶ added in v1.0.1
type Capability struct { Cloudstackversion string `json:"cloudstackversion,omitempty"` Apilimitmax int `json:"apilimitmax,omitempty"` SupportELB string `json:"supportELB,omitempty"` Userpublictemplateenabled bool `json:"userpublictemplateenabled,omitempty"` Kvmsnapshotenabled bool `json:"kvmsnapshotenabled,omitempty"` Securitygroupsenabled bool `json:"securitygroupsenabled,omitempty"` Projectinviterequired bool `json:"projectinviterequired,omitempty"` Customdiskofferingmaxsize int `json:"customdiskofferingmaxsize,omitempty"` Allowusercreateprojects bool `json:"allowusercreateprojects,omitempty"` Apilimitinterval int `json:"apilimitinterval,omitempty"` Regionsecondaryenabled bool `json:"regionsecondaryenabled,omitempty"` }
type Capacity ¶
type Capacity struct { Percentused string `json:"percentused,omitempty"` Capacitytotal int `json:"capacitytotal,omitempty"` Capacityused int `json:"capacityused,omitempty"` Podname string `json:"podname,omitempty"` Zonename string `json:"zonename,omitempty"` Zoneid string `json:"zoneid,omitempty"` Clustername string `json:"clustername,omitempty"` Clusterid string `json:"clusterid,omitempty"` Type int `json:"type,omitempty"` Podid string `json:"podid,omitempty"` }
type CertificateService ¶
type CertificateService struct {
// contains filtered or unexported fields
}
func NewCertificateService ¶
func NewCertificateService(cs *CloudStackClient) *CertificateService
func (*CertificateService) NewUploadCustomCertificateParams ¶
func (s *CertificateService) NewUploadCustomCertificateParams(certificate string, domainsuffix string) *UploadCustomCertificateParams
You should always use this function to get a new UploadCustomCertificateParams instance, as then you are sure you have configured all required params
func (*CertificateService) UploadCustomCertificate ¶
func (s *CertificateService) UploadCustomCertificate(p *UploadCustomCertificateParams) (*UploadCustomCertificateResponse, error)
Uploads a custom certificate for the console proxy VMs to use for SSL. Can be used to upload a single certificate signed by a known CA. Can also be used, through multiple calls, to upload a chain of certificates from CA to the custom certificate itself.
type ChangeServiceForRouterParams ¶
type ChangeServiceForRouterParams struct {
// contains filtered or unexported fields
}
func (*ChangeServiceForRouterParams) SetId ¶
func (p *ChangeServiceForRouterParams) SetId(v string)
func (*ChangeServiceForRouterParams) SetServiceofferingid ¶
func (p *ChangeServiceForRouterParams) SetServiceofferingid(v string)
type ChangeServiceForRouterResponse ¶
type ChangeServiceForRouterResponse struct { Ip6dns1 string `json:"ip6dns1,omitempty"` Guestnetworkid string `json:"guestnetworkid,omitempty"` Redundantstate string `json:"redundantstate,omitempty"` Publicnetworkid string `json:"publicnetworkid,omitempty"` Publicmacaddress string `json:"publicmacaddress,omitempty"` Guestipaddress string `json:"guestipaddress,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Domainid string `json:"domainid,omitempty"` Templateid string `json:"templateid,omitempty"` Linklocalip string `json:"linklocalip,omitempty"` Role string `json:"role,omitempty"` Gateway string `json:"gateway,omitempty"` Scriptsversion string `json:"scriptsversion,omitempty"` Id string `json:"id,omitempty"` Account string `json:"account,omitempty"` Podid string `json:"podid,omitempty"` Publicip string `json:"publicip,omitempty"` Created string `json:"created,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Domain string `json:"domain,omitempty"` Guestnetmask string `json:"guestnetmask,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Version string `json:"version,omitempty"` Publicnetmask string `json:"publicnetmask,omitempty"` Nic []struct { Gateway string `json:"gateway,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Type string `json:"type,omitempty"` Macaddress string `json:"macaddress,omitempty"` Traffictype string `json:"traffictype,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Networkname string `json:"networkname,omitempty"` Networkid string `json:"networkid,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Netmask string `json:"netmask,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Id string `json:"id,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Ip6address string `json:"ip6address,omitempty"` Isdefault bool `json:"isdefault,omitempty"` } `json:"nic,omitempty"` Guestmacaddress string `json:"guestmacaddress,omitempty"` Hostid string `json:"hostid,omitempty"` Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"` Dns1 string `json:"dns1,omitempty"` Ip6dns2 string `json:"ip6dns2,omitempty"` State string `json:"state,omitempty"` Name string `json:"name,omitempty"` Requiresupgrade bool `json:"requiresupgrade,omitempty"` Dns2 string `json:"dns2,omitempty"` Project string `json:"project,omitempty"` Zoneid string `json:"zoneid,omitempty"` Projectid string `json:"projectid,omitempty"` Linklocalnetmask string `json:"linklocalnetmask,omitempty"` Hostname string `json:"hostname,omitempty"` Linklocalnetworkid string `json:"linklocalnetworkid,omitempty"` Isredundantrouter bool `json:"isredundantrouter,omitempty"` Vpcid string `json:"vpcid,omitempty"` Zonename string `json:"zonename,omitempty"` }
type ChangeServiceForSystemVmParams ¶
type ChangeServiceForSystemVmParams struct {
// contains filtered or unexported fields
}
func (*ChangeServiceForSystemVmParams) SetDetails ¶
func (p *ChangeServiceForSystemVmParams) SetDetails(v map[string]string)
func (*ChangeServiceForSystemVmParams) SetId ¶
func (p *ChangeServiceForSystemVmParams) SetId(v string)
func (*ChangeServiceForSystemVmParams) SetServiceofferingid ¶
func (p *ChangeServiceForSystemVmParams) SetServiceofferingid(v string)
type ChangeServiceForSystemVmResponse ¶
type ChangeServiceForSystemVmResponse struct { Activeviewersessions int `json:"activeviewersessions,omitempty"` Privatemacaddress string `json:"privatemacaddress,omitempty"` Linklocalip string `json:"linklocalip,omitempty"` Systemvmtype string `json:"systemvmtype,omitempty"` Podid string `json:"podid,omitempty"` Name string `json:"name,omitempty"` Zonename string `json:"zonename,omitempty"` Zoneid string `json:"zoneid,omitempty"` Dns2 string `json:"dns2,omitempty"` Publicmacaddress string `json:"publicmacaddress,omitempty"` Created string `json:"created,omitempty"` Gateway string `json:"gateway,omitempty"` Privatenetmask string `json:"privatenetmask,omitempty"` Hostname string `json:"hostname,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Dns1 string `json:"dns1,omitempty"` Privateip string `json:"privateip,omitempty"` Publicip string `json:"publicip,omitempty"` Hostid string `json:"hostid,omitempty"` State string `json:"state,omitempty"` Id string `json:"id,omitempty"` Jobid string `json:"jobid,omitempty"` Jobstatus int `json:"jobstatus,omitempty"` Linklocalnetmask string `json:"linklocalnetmask,omitempty"` Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"` Templateid string `json:"templateid,omitempty"` Publicnetmask string `json:"publicnetmask,omitempty"` }
type ChangeServiceForVirtualMachineParams ¶
type ChangeServiceForVirtualMachineParams struct {
// contains filtered or unexported fields
}
func (*ChangeServiceForVirtualMachineParams) SetDetails ¶
func (p *ChangeServiceForVirtualMachineParams) SetDetails(v map[string]string)
func (*ChangeServiceForVirtualMachineParams) SetId ¶
func (p *ChangeServiceForVirtualMachineParams) SetId(v string)
func (*ChangeServiceForVirtualMachineParams) SetServiceofferingid ¶
func (p *ChangeServiceForVirtualMachineParams) SetServiceofferingid(v string)
type ChangeServiceForVirtualMachineResponse ¶
type ChangeServiceForVirtualMachineResponse struct { Templateid string `json:"templateid,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Guestosid string `json:"guestosid,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Hostid string `json:"hostid,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Group string `json:"group,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Securitygroup []struct { Project string `json:"project,omitempty"` Domainid string `json:"domainid,omitempty"` Egressrule []struct { Account string `json:"account,omitempty"` Ruleid string `json:"ruleid,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Cidr string `json:"cidr,omitempty"` Icmptype int `json:"icmptype,omitempty"` Endport int `json:"endport,omitempty"` Startport int `json:"startport,omitempty"` Protocol string `json:"protocol,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` } `json:"egressrule,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Tags []struct { Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Key string `json:"key,omitempty"` Customer string `json:"customer,omitempty"` Resourceid string `json:"resourceid,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Value string `json:"value,omitempty"` } `json:"tags,omitempty"` Projectid string `json:"projectid,omitempty"` Description string `json:"description,omitempty"` Ingressrule []struct { Protocol string `json:"protocol,omitempty"` Cidr string `json:"cidr,omitempty"` Endport int `json:"endport,omitempty"` Icmptype int `json:"icmptype,omitempty"` Ruleid string `json:"ruleid,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Account string `json:"account,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Startport int `json:"startport,omitempty"` } `json:"ingressrule,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` } `json:"securitygroup,omitempty"` Zonename string `json:"zonename,omitempty"` Project string `json:"project,omitempty"` Affinitygroup []struct { Domain string `json:"domain,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Domainid string `json:"domainid,omitempty"` Description string `json:"description,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Account string `json:"account,omitempty"` Id string `json:"id,omitempty"` } `json:"affinitygroup,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Password string `json:"password,omitempty"` Details map[string]string `json:"details,omitempty"` Id string `json:"id,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Created string `json:"created,omitempty"` Nic []struct { Netmask string `json:"netmask,omitempty"` Ip6address string `json:"ip6address,omitempty"` Networkid string `json:"networkid,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Id string `json:"id,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Networkname string `json:"networkname,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Type string `json:"type,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Traffictype string `json:"traffictype,omitempty"` Macaddress string `json:"macaddress,omitempty"` Gateway string `json:"gateway,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` } `json:"nic,omitempty"` Templatename string `json:"templatename,omitempty"` Haenable bool `json:"haenable,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Zoneid string `json:"zoneid,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Servicestate string `json:"servicestate,omitempty"` Isoid string `json:"isoid,omitempty"` Name string `json:"name,omitempty"` Displayname string `json:"displayname,omitempty"` Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` State string `json:"state,omitempty"` Isoname string `json:"isoname,omitempty"` Instancename string `json:"instancename,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Diskioread int `json:"diskioread,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Groupid string `json:"groupid,omitempty"` Keypair string `json:"keypair,omitempty"` Tags []struct { Value string `json:"value,omitempty"` Domain string `json:"domain,omitempty"` Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Projectid string `json:"projectid,omitempty"` Key string `json:"key,omitempty"` Customer string `json:"customer,omitempty"` } `json:"tags,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Memory int `json:"memory,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Publicipid string `json:"publicipid,omitempty"` Cpuused string `json:"cpuused,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Hostname string `json:"hostname,omitempty"` Publicip string `json:"publicip,omitempty"` }
type CiscoAsa1000vResource ¶
type CiscoAsa1000vResource struct { }
type CiscoNexusVSM ¶
type CiscoNexusVSM struct { Vsmdevicestate string `json:"vsmdevicestate,omitempty"` Vsmdomainid string `json:"vsmdomainid,omitempty"` Vsmstoragevlanid int `json:"vsmstoragevlanid,omitempty"` Vsmpktvlanid int `json:"vsmpktvlanid,omitempty"` Vsmmgmtvlanid string `json:"vsmmgmtvlanid,omitempty"` Vsmdevicename string `json:"vsmdevicename,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Vsmdeviceid string `json:"vsmdeviceid,omitempty"` Vsmconfigstate string `json:"vsmconfigstate,omitempty"` Vsmconfigmode string `json:"vsmconfigmode,omitempty"` Vsmctrlvlanid int `json:"vsmctrlvlanid,omitempty"` }
type CiscoVnmcResource ¶
type CiscoVnmcResource struct { }
type CleanVMReservationsParams ¶
type CleanVMReservationsParams struct {
// contains filtered or unexported fields
}
type CloudIdentifierService ¶
type CloudIdentifierService struct {
// contains filtered or unexported fields
}
func NewCloudIdentifierService ¶
func NewCloudIdentifierService(cs *CloudStackClient) *CloudIdentifierService
func (*CloudIdentifierService) GetCloudIdentifier ¶
func (s *CloudIdentifierService) GetCloudIdentifier(p *GetCloudIdentifierParams) (*GetCloudIdentifierResponse, error)
Retrieves a cloud identifier.
func (*CloudIdentifierService) NewGetCloudIdentifierParams ¶
func (s *CloudIdentifierService) NewGetCloudIdentifierParams(userid string) *GetCloudIdentifierParams
You should always use this function to get a new GetCloudIdentifierParams instance, as then you are sure you have configured all required params
type CloudStackClient ¶
type CloudStackClient struct { VLAN *VLANService InternalLB *InternalLBService Swift *SwiftService GuestOS *GuestOSService AutoScale *AutoScaleService Snapshot *SnapshotService LDAP *LDAPService CloudIdentifier *CloudIdentifierService StratosphereSSP *StratosphereSSPService Host *HostService NiciraNVP *NiciraNVPService ExternalDevice *ExternalDeviceService NetworkDevice *NetworkDeviceService SecurityGroup *SecurityGroupService Limit *LimitService Baremetal *BaremetalService APIDiscovery *APIDiscoveryService Network *NetworkService Usage *UsageService Hypervisor *HypervisorService NAT *NATService ServiceOffering *ServiceOfferingService Project *ProjectService Pod *PodService ExtLoadBalancer *ExtLoadBalancerService ExtFirewall *ExtFirewallService VPC *VPCService Volume *VolumeService Account *AccountService Resourcemetadata *ResourcemetadataService StoragePool *StoragePoolService Address *AddressService LoadBalancer *LoadBalancerService UCS *UCSService Asyncjob *AsyncjobService Zone *ZoneService PortableIP *PortableIPService NetworkACL *NetworkACLService Configuration *ConfigurationService Cluster *ClusterService Event *EventService DiskOffering *DiskOfferingService BigSwitchVNS *BigSwitchVNSService VPN *VPNService SystemVM *SystemVMService Nic *NicService Logout *LogoutService Pool *PoolService Alert *AlertService SystemCapacity *SystemCapacityService Storage *StorageService SSH *SSHService S3 *S3Service User *UserService ImageStore *ImageStoreService AffinityGroup *AffinityGroupService VMGroup *VMGroupService Region *RegionService NetworkOffering *NetworkOfferingService VirtualMachine *VirtualMachineService ISO *ISOService Certificate *CertificateService Firewall *FirewallService Login *LoginService Domain *DomainService Template *TemplateService Router *RouterService // contains filtered or unexported fields }
func NewAsyncClient ¶
func NewAsyncClient(apiurl string, apikey string, secret string, verifyssl bool) *CloudStackClient
For sync API calls this client behaves exactly the same as a standard client call, but for async API calls this client will wait until the async job is finished or until the configured AsyncTimeout is reached. When the async job finishes successfully it will return actual object received from the API and nil, but when the timout is reached it will return the initial object containing the async job ID for the running job and a warning.
func NewClient ¶
func NewClient(apiurl string, apikey string, secret string, verifyssl bool) *CloudStackClient
Default non-async client. So for async calls you need to implement and check the async job result yourself. When using HTTPS with a self-signed certificate to connect to your CloudStack API, you would probably want to set 'verifyssl' to false so the call ignores the SSL errors/warnings.
func (*CloudStackClient) AsyncTimeout ¶
func (cs *CloudStackClient) AsyncTimeout(timeoutInSeconds int64)
When using the async client an api call will wait for the async call to finish before returning. The default is to poll for 60 seconds, to check if the async job is finished.
func (*CloudStackClient) GetAsyncJobResult ¶
func (cs *CloudStackClient) GetAsyncJobResult(jobid string, timeout int64) (b json.RawMessage, warn error, err error)
A helper function that you can use to get the result of a running async job. If the job is not finished within the configured timeout, the async job return a warning saying the timer has expired.
type Cluster ¶
type Cluster struct { Managedstate string `json:"managedstate,omitempty"` Id string `json:"id,omitempty"` Podid string `json:"podid,omitempty"` Allocationstate string `json:"allocationstate,omitempty"` Clustertype string `json:"clustertype,omitempty"` Memoryovercommitratio string `json:"memoryovercommitratio,omitempty"` Capacity []struct { Clusterid string `json:"clusterid,omitempty"` Podid string `json:"podid,omitempty"` Capacityused int `json:"capacityused,omitempty"` Percentused string `json:"percentused,omitempty"` Clustername string `json:"clustername,omitempty"` Zoneid string `json:"zoneid,omitempty"` Capacitytotal int `json:"capacitytotal,omitempty"` Podname string `json:"podname,omitempty"` Type int `json:"type,omitempty"` Zonename string `json:"zonename,omitempty"` } `json:"capacity,omitempty"` Name string `json:"name,omitempty"` Zonename string `json:"zonename,omitempty"` Cpuovercommitratio string `json:"cpuovercommitratio,omitempty"` Zoneid string `json:"zoneid,omitempty"` Podname string `json:"podname,omitempty"` Hypervisortype string `json:"hypervisortype,omitempty"` }
type ClusterService ¶
type ClusterService struct {
// contains filtered or unexported fields
}
func NewClusterService ¶
func NewClusterService(cs *CloudStackClient) *ClusterService
func (*ClusterService) AddCluster ¶
func (s *ClusterService) AddCluster(p *AddClusterParams) (*AddClusterResponse, error)
Adds a new cluster
func (*ClusterService) DedicateCluster ¶
func (s *ClusterService) DedicateCluster(p *DedicateClusterParams) (*DedicateClusterResponse, error)
Dedicate an existing cluster
func (*ClusterService) DeleteCluster ¶
func (s *ClusterService) DeleteCluster(p *DeleteClusterParams) (*DeleteClusterResponse, error)
Deletes a cluster.
func (*ClusterService) GetClusterID ¶
func (s *ClusterService) GetClusterID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*ClusterService) GetDedicatedClusterID ¶
func (s *ClusterService) GetDedicatedClusterID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*ClusterService) ListClusters ¶
func (s *ClusterService) ListClusters(p *ListClustersParams) (*ListClustersResponse, error)
Lists clusters.
func (*ClusterService) ListDedicatedClusters ¶
func (s *ClusterService) ListDedicatedClusters(p *ListDedicatedClustersParams) (*ListDedicatedClustersResponse, error)
Lists dedicated clusters.
func (*ClusterService) NewAddClusterParams ¶
func (s *ClusterService) NewAddClusterParams(clustername string, clustertype string, hypervisor string, podid string, zoneid string) *AddClusterParams
You should always use this function to get a new AddClusterParams instance, as then you are sure you have configured all required params
func (*ClusterService) NewDedicateClusterParams ¶
func (s *ClusterService) NewDedicateClusterParams(clusterid string, domainid string) *DedicateClusterParams
You should always use this function to get a new DedicateClusterParams instance, as then you are sure you have configured all required params
func (*ClusterService) NewDeleteClusterParams ¶
func (s *ClusterService) NewDeleteClusterParams(id string) *DeleteClusterParams
You should always use this function to get a new DeleteClusterParams instance, as then you are sure you have configured all required params
func (*ClusterService) NewListClustersParams ¶
func (s *ClusterService) NewListClustersParams() *ListClustersParams
You should always use this function to get a new ListClustersParams instance, as then you are sure you have configured all required params
func (*ClusterService) NewListDedicatedClustersParams ¶
func (s *ClusterService) NewListDedicatedClustersParams() *ListDedicatedClustersParams
You should always use this function to get a new ListDedicatedClustersParams instance, as then you are sure you have configured all required params
func (*ClusterService) NewReleaseDedicatedClusterParams ¶
func (s *ClusterService) NewReleaseDedicatedClusterParams(clusterid string) *ReleaseDedicatedClusterParams
You should always use this function to get a new ReleaseDedicatedClusterParams instance, as then you are sure you have configured all required params
func (*ClusterService) NewUpdateClusterParams ¶
func (s *ClusterService) NewUpdateClusterParams(id string) *UpdateClusterParams
You should always use this function to get a new UpdateClusterParams instance, as then you are sure you have configured all required params
func (*ClusterService) ReleaseDedicatedCluster ¶
func (s *ClusterService) ReleaseDedicatedCluster(p *ReleaseDedicatedClusterParams) (*ReleaseDedicatedClusterResponse, error)
Release the dedication for cluster
func (*ClusterService) UpdateCluster ¶
func (s *ClusterService) UpdateCluster(p *UpdateClusterParams) (*UpdateClusterResponse, error)
Updates an existing cluster
type Condition ¶
type Condition struct { Relationaloperator string `json:"relationaloperator,omitempty"` Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Id string `json:"id,omitempty"` Threshold int `json:"threshold,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` Domainid string `json:"domainid,omitempty"` Counter []string `json:"counter,omitempty"` Zoneid string `json:"zoneid,omitempty"` }
type Configuration ¶
type ConfigurationService ¶
type ConfigurationService struct {
// contains filtered or unexported fields
}
func NewConfigurationService ¶
func NewConfigurationService(cs *CloudStackClient) *ConfigurationService
func (*ConfigurationService) AddLdapConfiguration ¶
func (s *ConfigurationService) AddLdapConfiguration(p *AddLdapConfigurationParams) (*AddLdapConfigurationResponse, error)
Add a new Ldap Configuration
func (*ConfigurationService) DeleteLdapConfiguration ¶
func (s *ConfigurationService) DeleteLdapConfiguration(p *DeleteLdapConfigurationParams) (*DeleteLdapConfigurationResponse, error)
Remove an Ldap Configuration
func (*ConfigurationService) ListCapabilities ¶
func (s *ConfigurationService) ListCapabilities(p *ListCapabilitiesParams) (*ListCapabilitiesResponse, error)
Lists capabilities
func (*ConfigurationService) ListConfigurations ¶
func (s *ConfigurationService) ListConfigurations(p *ListConfigurationsParams) (*ListConfigurationsResponse, error)
Lists all configurations.
func (*ConfigurationService) ListDeploymentPlanners ¶
func (s *ConfigurationService) ListDeploymentPlanners(p *ListDeploymentPlannersParams) (*ListDeploymentPlannersResponse, error)
Lists all DeploymentPlanners available.
func (*ConfigurationService) ListLdapConfigurations ¶
func (s *ConfigurationService) ListLdapConfigurations(p *ListLdapConfigurationsParams) (*ListLdapConfigurationsResponse, error)
Lists all LDAP configurations
func (*ConfigurationService) NewAddLdapConfigurationParams ¶
func (s *ConfigurationService) NewAddLdapConfigurationParams(hostname string, port int) *AddLdapConfigurationParams
You should always use this function to get a new AddLdapConfigurationParams instance, as then you are sure you have configured all required params
func (*ConfigurationService) NewDeleteLdapConfigurationParams ¶
func (s *ConfigurationService) NewDeleteLdapConfigurationParams(hostname string) *DeleteLdapConfigurationParams
You should always use this function to get a new DeleteLdapConfigurationParams instance, as then you are sure you have configured all required params
func (*ConfigurationService) NewListCapabilitiesParams ¶
func (s *ConfigurationService) NewListCapabilitiesParams() *ListCapabilitiesParams
You should always use this function to get a new ListCapabilitiesParams instance, as then you are sure you have configured all required params
func (*ConfigurationService) NewListConfigurationsParams ¶
func (s *ConfigurationService) NewListConfigurationsParams() *ListConfigurationsParams
You should always use this function to get a new ListConfigurationsParams instance, as then you are sure you have configured all required params
func (*ConfigurationService) NewListDeploymentPlannersParams ¶
func (s *ConfigurationService) NewListDeploymentPlannersParams() *ListDeploymentPlannersParams
You should always use this function to get a new ListDeploymentPlannersParams instance, as then you are sure you have configured all required params
func (*ConfigurationService) NewListLdapConfigurationsParams ¶
func (s *ConfigurationService) NewListLdapConfigurationsParams() *ListLdapConfigurationsParams
You should always use this function to get a new ListLdapConfigurationsParams instance, as then you are sure you have configured all required params
func (*ConfigurationService) NewUpdateConfigurationParams ¶
func (s *ConfigurationService) NewUpdateConfigurationParams(name string) *UpdateConfigurationParams
You should always use this function to get a new UpdateConfigurationParams instance, as then you are sure you have configured all required params
func (*ConfigurationService) UpdateConfiguration ¶
func (s *ConfigurationService) UpdateConfiguration(p *UpdateConfigurationParams) (*UpdateConfigurationResponse, error)
Updates a configuration.
type ConfigureF5LoadBalancerParams ¶
type ConfigureF5LoadBalancerParams struct {
// contains filtered or unexported fields
}
func (*ConfigureF5LoadBalancerParams) SetLbdevicecapacity ¶
func (p *ConfigureF5LoadBalancerParams) SetLbdevicecapacity(v int)
func (*ConfigureF5LoadBalancerParams) SetLbdeviceid ¶
func (p *ConfigureF5LoadBalancerParams) SetLbdeviceid(v string)
type ConfigureF5LoadBalancerResponse ¶
type ConfigureF5LoadBalancerResponse struct { JobID string `json:"jobid,omitempty"` Privateinterface string `json:"privateinterface,omitempty"` Lbdevicededicated bool `json:"lbdevicededicated,omitempty"` Provider string `json:"provider,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Lbdevicestate string `json:"lbdevicestate,omitempty"` Lbdevicename string `json:"lbdevicename,omitempty"` Publicinterface string `json:"publicinterface,omitempty"` Lbdevicecapacity int `json:"lbdevicecapacity,omitempty"` Lbdeviceid string `json:"lbdeviceid,omitempty"` }
type ConfigureInternalLoadBalancerElementParams ¶
type ConfigureInternalLoadBalancerElementParams struct {
// contains filtered or unexported fields
}
func (*ConfigureInternalLoadBalancerElementParams) SetEnabled ¶
func (p *ConfigureInternalLoadBalancerElementParams) SetEnabled(v bool)
func (*ConfigureInternalLoadBalancerElementParams) SetId ¶
func (p *ConfigureInternalLoadBalancerElementParams) SetId(v string)
type ConfigureNetscalerLoadBalancerParams ¶
type ConfigureNetscalerLoadBalancerParams struct {
// contains filtered or unexported fields
}
func (*ConfigureNetscalerLoadBalancerParams) SetInline ¶
func (p *ConfigureNetscalerLoadBalancerParams) SetInline(v bool)
func (*ConfigureNetscalerLoadBalancerParams) SetLbdevicecapacity ¶
func (p *ConfigureNetscalerLoadBalancerParams) SetLbdevicecapacity(v int)
func (*ConfigureNetscalerLoadBalancerParams) SetLbdevicededicated ¶
func (p *ConfigureNetscalerLoadBalancerParams) SetLbdevicededicated(v bool)
func (*ConfigureNetscalerLoadBalancerParams) SetLbdeviceid ¶
func (p *ConfigureNetscalerLoadBalancerParams) SetLbdeviceid(v string)
func (*ConfigureNetscalerLoadBalancerParams) SetPodids ¶
func (p *ConfigureNetscalerLoadBalancerParams) SetPodids(v []string)
type ConfigureNetscalerLoadBalancerResponse ¶
type ConfigureNetscalerLoadBalancerResponse struct { JobID string `json:"jobid,omitempty"` Podids []string `json:"podids,omitempty"` Gslbprovider bool `json:"gslbprovider,omitempty"` Gslbproviderpublicip string `json:"gslbproviderpublicip,omitempty"` Isexclusivegslbprovider bool `json:"isexclusivegslbprovider,omitempty"` Gslbproviderprivateip string `json:"gslbproviderprivateip,omitempty"` Lbdevicename string `json:"lbdevicename,omitempty"` Privateinterface string `json:"privateinterface,omitempty"` Lbdevicestate string `json:"lbdevicestate,omitempty"` Publicinterface string `json:"publicinterface,omitempty"` Provider string `json:"provider,omitempty"` Lbdeviceid string `json:"lbdeviceid,omitempty"` Lbdevicededicated bool `json:"lbdevicededicated,omitempty"` Lbdevicecapacity int `json:"lbdevicecapacity,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` }
type ConfigurePaloAltoFirewallParams ¶
type ConfigurePaloAltoFirewallParams struct {
// contains filtered or unexported fields
}
func (*ConfigurePaloAltoFirewallParams) SetFwdevicecapacity ¶
func (p *ConfigurePaloAltoFirewallParams) SetFwdevicecapacity(v int)
func (*ConfigurePaloAltoFirewallParams) SetFwdeviceid ¶
func (p *ConfigurePaloAltoFirewallParams) SetFwdeviceid(v string)
type ConfigurePaloAltoFirewallResponse ¶
type ConfigurePaloAltoFirewallResponse struct { JobID string `json:"jobid,omitempty"` Fwdevicename string `json:"fwdevicename,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Privateinterface string `json:"privateinterface,omitempty"` Zoneid string `json:"zoneid,omitempty"` Numretries string `json:"numretries,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Provider string `json:"provider,omitempty"` Fwdevicecapacity int `json:"fwdevicecapacity,omitempty"` Usageinterface string `json:"usageinterface,omitempty"` Privatezone string `json:"privatezone,omitempty"` Publiczone string `json:"publiczone,omitempty"` Username string `json:"username,omitempty"` Timeout string `json:"timeout,omitempty"` Fwdeviceid string `json:"fwdeviceid,omitempty"` Publicinterface string `json:"publicinterface,omitempty"` Fwdevicestate string `json:"fwdevicestate,omitempty"` }
type ConfigureSrxFirewallParams ¶
type ConfigureSrxFirewallParams struct {
// contains filtered or unexported fields
}
func (*ConfigureSrxFirewallParams) SetFwdevicecapacity ¶
func (p *ConfigureSrxFirewallParams) SetFwdevicecapacity(v int)
func (*ConfigureSrxFirewallParams) SetFwdeviceid ¶
func (p *ConfigureSrxFirewallParams) SetFwdeviceid(v string)
type ConfigureSrxFirewallResponse ¶
type ConfigureSrxFirewallResponse struct { JobID string `json:"jobid,omitempty"` Fwdeviceid string `json:"fwdeviceid,omitempty"` Username string `json:"username,omitempty"` Fwdevicecapacity int `json:"fwdevicecapacity,omitempty"` Provider string `json:"provider,omitempty"` Zoneid string `json:"zoneid,omitempty"` Usageinterface string `json:"usageinterface,omitempty"` Publicinterface string `json:"publicinterface,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Privatezone string `json:"privatezone,omitempty"` Fwdevicename string `json:"fwdevicename,omitempty"` Numretries string `json:"numretries,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Privateinterface string `json:"privateinterface,omitempty"` Fwdevicestate string `json:"fwdevicestate,omitempty"` Publiczone string `json:"publiczone,omitempty"` Timeout string `json:"timeout,omitempty"` }
type ConfigureVirtualRouterElementParams ¶
type ConfigureVirtualRouterElementParams struct {
// contains filtered or unexported fields
}
func (*ConfigureVirtualRouterElementParams) SetEnabled ¶
func (p *ConfigureVirtualRouterElementParams) SetEnabled(v bool)
func (*ConfigureVirtualRouterElementParams) SetId ¶
func (p *ConfigureVirtualRouterElementParams) SetId(v string)
type ConfigureVirtualRouterElementResponse ¶
type ConfigureVirtualRouterElementResponse struct { JobID string `json:"jobid,omitempty"` Enabled bool `json:"enabled,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` Id string `json:"id,omitempty"` Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` Nspid string `json:"nspid,omitempty"` }
type CopyIsoParams ¶
type CopyIsoParams struct {
// contains filtered or unexported fields
}
func (*CopyIsoParams) SetDestzoneid ¶
func (p *CopyIsoParams) SetDestzoneid(v string)
func (*CopyIsoParams) SetId ¶
func (p *CopyIsoParams) SetId(v string)
func (*CopyIsoParams) SetSourcezoneid ¶
func (p *CopyIsoParams) SetSourcezoneid(v string)
type CopyIsoResponse ¶
type CopyIsoResponse struct { JobID string `json:"jobid,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Account string `json:"account,omitempty"` Checksum string `json:"checksum,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Isready bool `json:"isready,omitempty"` Isfeatured bool `json:"isfeatured,omitempty"` Isextractable bool `json:"isextractable,omitempty"` Project string `json:"project,omitempty"` Templatetag string `json:"templatetag,omitempty"` Zonename string `json:"zonename,omitempty"` Format string `json:"format,omitempty"` Ostypename string `json:"ostypename,omitempty"` Templatetype string `json:"templatetype,omitempty"` Name string `json:"name,omitempty"` Tags []struct { Account string `json:"account,omitempty"` Resourceid string `json:"resourceid,omitempty"` Customer string `json:"customer,omitempty"` Projectid string `json:"projectid,omitempty"` Key string `json:"key,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Value string `json:"value,omitempty"` } `json:"tags,omitempty"` CrossZones bool `json:"crossZones,omitempty"` Id string `json:"id,omitempty"` Hostid string `json:"hostid,omitempty"` Projectid string `json:"projectid,omitempty"` Displaytext string `json:"displaytext,omitempty"` Zoneid string `json:"zoneid,omitempty"` Domainid string `json:"domainid,omitempty"` Removed string `json:"removed,omitempty"` Sshkeyenabled bool `json:"sshkeyenabled,omitempty"` Ostypeid string `json:"ostypeid,omitempty"` Bootable bool `json:"bootable,omitempty"` Size int `json:"size,omitempty"` Ispublic bool `json:"ispublic,omitempty"` Status string `json:"status,omitempty"` Sourcetemplateid string `json:"sourcetemplateid,omitempty"` Hostname string `json:"hostname,omitempty"` Domain string `json:"domain,omitempty"` Accountid string `json:"accountid,omitempty"` Created string `json:"created,omitempty"` Details map[string]string `json:"details,omitempty"` }
type CopyTemplateParams ¶
type CopyTemplateParams struct {
// contains filtered or unexported fields
}
func (*CopyTemplateParams) SetDestzoneid ¶
func (p *CopyTemplateParams) SetDestzoneid(v string)
func (*CopyTemplateParams) SetId ¶
func (p *CopyTemplateParams) SetId(v string)
func (*CopyTemplateParams) SetSourcezoneid ¶
func (p *CopyTemplateParams) SetSourcezoneid(v string)
type CopyTemplateResponse ¶
type CopyTemplateResponse struct { JobID string `json:"jobid,omitempty"` Isfeatured bool `json:"isfeatured,omitempty"` Account string `json:"account,omitempty"` Hostid string `json:"hostid,omitempty"` Domain string `json:"domain,omitempty"` Zoneid string `json:"zoneid,omitempty"` Displaytext string `json:"displaytext,omitempty"` Sourcetemplateid string `json:"sourcetemplateid,omitempty"` Checksum string `json:"checksum,omitempty"` Status string `json:"status,omitempty"` Ostypename string `json:"ostypename,omitempty"` Ispublic bool `json:"ispublic,omitempty"` Removed string `json:"removed,omitempty"` Id string `json:"id,omitempty"` Ostypeid string `json:"ostypeid,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Sshkeyenabled bool `json:"sshkeyenabled,omitempty"` Format string `json:"format,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Projectid string `json:"projectid,omitempty"` Bootable bool `json:"bootable,omitempty"` Hostname string `json:"hostname,omitempty"` Size int `json:"size,omitempty"` Isextractable bool `json:"isextractable,omitempty"` Tags []struct { Account string `json:"account,omitempty"` Resourceid string `json:"resourceid,omitempty"` Key string `json:"key,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Value string `json:"value,omitempty"` Domainid string `json:"domainid,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` } `json:"tags,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Project string `json:"project,omitempty"` Accountid string `json:"accountid,omitempty"` Zonename string `json:"zonename,omitempty"` Isready bool `json:"isready,omitempty"` Domainid string `json:"domainid,omitempty"` Templatetag string `json:"templatetag,omitempty"` Name string `json:"name,omitempty"` Templatetype string `json:"templatetype,omitempty"` Details map[string]string `json:"details,omitempty"` CrossZones bool `json:"crossZones,omitempty"` Created string `json:"created,omitempty"` }
type CreateAccountParams ¶
type CreateAccountParams struct {
// contains filtered or unexported fields
}
func (*CreateAccountParams) SetAccount ¶
func (p *CreateAccountParams) SetAccount(v string)
func (*CreateAccountParams) SetAccountdetails ¶
func (p *CreateAccountParams) SetAccountdetails(v map[string]string)
func (*CreateAccountParams) SetAccountid ¶
func (p *CreateAccountParams) SetAccountid(v string)
func (*CreateAccountParams) SetAccounttype ¶
func (p *CreateAccountParams) SetAccounttype(v int)
func (*CreateAccountParams) SetDomainid ¶
func (p *CreateAccountParams) SetDomainid(v string)
func (*CreateAccountParams) SetEmail ¶
func (p *CreateAccountParams) SetEmail(v string)
func (*CreateAccountParams) SetFirstname ¶
func (p *CreateAccountParams) SetFirstname(v string)
func (*CreateAccountParams) SetLastname ¶
func (p *CreateAccountParams) SetLastname(v string)
func (*CreateAccountParams) SetNetworkdomain ¶
func (p *CreateAccountParams) SetNetworkdomain(v string)
func (*CreateAccountParams) SetPassword ¶
func (p *CreateAccountParams) SetPassword(v string)
func (*CreateAccountParams) SetTimezone ¶
func (p *CreateAccountParams) SetTimezone(v string)
func (*CreateAccountParams) SetUserid ¶
func (p *CreateAccountParams) SetUserid(v string)
func (*CreateAccountParams) SetUsername ¶
func (p *CreateAccountParams) SetUsername(v string)
type CreateAccountResponse ¶
type CreateAccountResponse struct { Isdefault bool `json:"isdefault,omitempty"` Snapshotlimit string `json:"snapshotlimit,omitempty"` Networktotal int `json:"networktotal,omitempty"` Vmtotal int `json:"vmtotal,omitempty"` Domain string `json:"domain,omitempty"` Vmavailable string `json:"vmavailable,omitempty"` Iscleanuprequired bool `json:"iscleanuprequired,omitempty"` Vmrunning int `json:"vmrunning,omitempty"` Primarystoragelimit string `json:"primarystoragelimit,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Name string `json:"name,omitempty"` Templateavailable string `json:"templateavailable,omitempty"` Sentbytes int `json:"sentbytes,omitempty"` Id string `json:"id,omitempty"` Secondarystoragetotal int `json:"secondarystoragetotal,omitempty"` Cputotal int `json:"cputotal,omitempty"` Defaultzoneid string `json:"defaultzoneid,omitempty"` Memoryavailable string `json:"memoryavailable,omitempty"` Volumelimit string `json:"volumelimit,omitempty"` Receivedbytes int `json:"receivedbytes,omitempty"` Networklimit string `json:"networklimit,omitempty"` Secondarystoragelimit string `json:"secondarystoragelimit,omitempty"` Snapshotavailable string `json:"snapshotavailable,omitempty"` User []struct { Created string `json:"created,omitempty"` State string `json:"state,omitempty"` Id string `json:"id,omitempty"` Firstname string `json:"firstname,omitempty"` Domainid string `json:"domainid,omitempty"` Timezone string `json:"timezone,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Iscallerchilddomain bool `json:"iscallerchilddomain,omitempty"` Domain string `json:"domain,omitempty"` Apikey string `json:"apikey,omitempty"` Username string `json:"username,omitempty"` Accounttype int `json:"accounttype,omitempty"` Accountid string `json:"accountid,omitempty"` Secretkey string `json:"secretkey,omitempty"` Lastname string `json:"lastname,omitempty"` Account string `json:"account,omitempty"` Email string `json:"email,omitempty"` } `json:"user,omitempty"` Memorylimit string `json:"memorylimit,omitempty"` Accounttype int `json:"accounttype,omitempty"` Accountdetails map[string]string `json:"accountdetails,omitempty"` Domainid string `json:"domainid,omitempty"` Primarystorageavailable string `json:"primarystorageavailable,omitempty"` State string `json:"state,omitempty"` Projectavailable string `json:"projectavailable,omitempty"` Volumeavailable string `json:"volumeavailable,omitempty"` Ipavailable string `json:"ipavailable,omitempty"` Vmlimit string `json:"vmlimit,omitempty"` Cpuavailable string `json:"cpuavailable,omitempty"` Iptotal int `json:"iptotal,omitempty"` Projectlimit string `json:"projectlimit,omitempty"` Volumetotal int `json:"volumetotal,omitempty"` Templatelimit string `json:"templatelimit,omitempty"` Cpulimit string `json:"cpulimit,omitempty"` Primarystoragetotal int `json:"primarystoragetotal,omitempty"` Vmstopped int `json:"vmstopped,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Snapshottotal int `json:"snapshottotal,omitempty"` Networkavailable string `json:"networkavailable,omitempty"` Iplimit string `json:"iplimit,omitempty"` Projecttotal int `json:"projecttotal,omitempty"` Vpclimit string `json:"vpclimit,omitempty"` Vpcavailable string `json:"vpcavailable,omitempty"` Templatetotal int `json:"templatetotal,omitempty"` Secondarystorageavailable string `json:"secondarystorageavailable,omitempty"` Vpctotal int `json:"vpctotal,omitempty"` }
type CreateAffinityGroupParams ¶
type CreateAffinityGroupParams struct {
// contains filtered or unexported fields
}
func (*CreateAffinityGroupParams) SetAccount ¶
func (p *CreateAffinityGroupParams) SetAccount(v string)
func (*CreateAffinityGroupParams) SetDescription ¶
func (p *CreateAffinityGroupParams) SetDescription(v string)
func (*CreateAffinityGroupParams) SetDomainid ¶
func (p *CreateAffinityGroupParams) SetDomainid(v string)
func (*CreateAffinityGroupParams) SetName ¶
func (p *CreateAffinityGroupParams) SetName(v string)
func (*CreateAffinityGroupParams) SetType ¶
func (p *CreateAffinityGroupParams) SetType(v string)
type CreateAffinityGroupResponse ¶
type CreateAffinityGroupResponse struct { JobID string `json:"jobid,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Description string `json:"description,omitempty"` Type string `json:"type,omitempty"` Domainid string `json:"domainid,omitempty"` Name string `json:"name,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Id string `json:"id,omitempty"` }
type CreateAutoScalePolicyParams ¶
type CreateAutoScalePolicyParams struct {
// contains filtered or unexported fields
}
func (*CreateAutoScalePolicyParams) SetAction ¶
func (p *CreateAutoScalePolicyParams) SetAction(v string)
func (*CreateAutoScalePolicyParams) SetConditionids ¶
func (p *CreateAutoScalePolicyParams) SetConditionids(v []string)
func (*CreateAutoScalePolicyParams) SetDuration ¶
func (p *CreateAutoScalePolicyParams) SetDuration(v int)
func (*CreateAutoScalePolicyParams) SetQuiettime ¶
func (p *CreateAutoScalePolicyParams) SetQuiettime(v int)
type CreateAutoScalePolicyResponse ¶
type CreateAutoScalePolicyResponse struct { JobID string `json:"jobid,omitempty"` Domain string `json:"domain,omitempty"` Quiettime int `json:"quiettime,omitempty"` Duration int `json:"duration,omitempty"` Projectid string `json:"projectid,omitempty"` Id string `json:"id,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Conditions []string `json:"conditions,omitempty"` Project string `json:"project,omitempty"` Action string `json:"action,omitempty"` }
type CreateAutoScaleVmGroupParams ¶
type CreateAutoScaleVmGroupParams struct {
// contains filtered or unexported fields
}
func (*CreateAutoScaleVmGroupParams) SetInterval ¶
func (p *CreateAutoScaleVmGroupParams) SetInterval(v int)
func (*CreateAutoScaleVmGroupParams) SetLbruleid ¶
func (p *CreateAutoScaleVmGroupParams) SetLbruleid(v string)
func (*CreateAutoScaleVmGroupParams) SetMaxmembers ¶
func (p *CreateAutoScaleVmGroupParams) SetMaxmembers(v int)
func (*CreateAutoScaleVmGroupParams) SetMinmembers ¶
func (p *CreateAutoScaleVmGroupParams) SetMinmembers(v int)
func (*CreateAutoScaleVmGroupParams) SetScaledownpolicyids ¶
func (p *CreateAutoScaleVmGroupParams) SetScaledownpolicyids(v []string)
func (*CreateAutoScaleVmGroupParams) SetScaleuppolicyids ¶
func (p *CreateAutoScaleVmGroupParams) SetScaleuppolicyids(v []string)
func (*CreateAutoScaleVmGroupParams) SetVmprofileid ¶
func (p *CreateAutoScaleVmGroupParams) SetVmprofileid(v string)
type CreateAutoScaleVmGroupResponse ¶
type CreateAutoScaleVmGroupResponse struct { JobID string `json:"jobid,omitempty"` Id string `json:"id,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Interval int `json:"interval,omitempty"` Minmembers int `json:"minmembers,omitempty"` State string `json:"state,omitempty"` Project string `json:"project,omitempty"` Scaleuppolicies []string `json:"scaleuppolicies,omitempty"` Lbruleid string `json:"lbruleid,omitempty"` Account string `json:"account,omitempty"` Maxmembers int `json:"maxmembers,omitempty"` Scaledownpolicies []string `json:"scaledownpolicies,omitempty"` Vmprofileid string `json:"vmprofileid,omitempty"` Domainid string `json:"domainid,omitempty"` }
type CreateAutoScaleVmProfileParams ¶
type CreateAutoScaleVmProfileParams struct {
// contains filtered or unexported fields
}
func (*CreateAutoScaleVmProfileParams) SetAutoscaleuserid ¶
func (p *CreateAutoScaleVmProfileParams) SetAutoscaleuserid(v string)
func (*CreateAutoScaleVmProfileParams) SetCounterparam ¶
func (p *CreateAutoScaleVmProfileParams) SetCounterparam(v map[string]string)
func (*CreateAutoScaleVmProfileParams) SetDestroyvmgraceperiod ¶
func (p *CreateAutoScaleVmProfileParams) SetDestroyvmgraceperiod(v int)
func (*CreateAutoScaleVmProfileParams) SetOtherdeployparams ¶
func (p *CreateAutoScaleVmProfileParams) SetOtherdeployparams(v string)
func (*CreateAutoScaleVmProfileParams) SetServiceofferingid ¶
func (p *CreateAutoScaleVmProfileParams) SetServiceofferingid(v string)
func (*CreateAutoScaleVmProfileParams) SetTemplateid ¶
func (p *CreateAutoScaleVmProfileParams) SetTemplateid(v string)
func (*CreateAutoScaleVmProfileParams) SetZoneid ¶
func (p *CreateAutoScaleVmProfileParams) SetZoneid(v string)
type CreateAutoScaleVmProfileResponse ¶
type CreateAutoScaleVmProfileResponse struct { JobID string `json:"jobid,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Autoscaleuserid string `json:"autoscaleuserid,omitempty"` Otherdeployparams string `json:"otherdeployparams,omitempty"` Zoneid string `json:"zoneid,omitempty"` Account string `json:"account,omitempty"` Id string `json:"id,omitempty"` Templateid string `json:"templateid,omitempty"` Domain string `json:"domain,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Destroyvmgraceperiod int `json:"destroyvmgraceperiod,omitempty"` Domainid string `json:"domainid,omitempty"` }
type CreateConditionParams ¶
type CreateConditionParams struct {
// contains filtered or unexported fields
}
func (*CreateConditionParams) SetAccount ¶
func (p *CreateConditionParams) SetAccount(v string)
func (*CreateConditionParams) SetCounterid ¶
func (p *CreateConditionParams) SetCounterid(v string)
func (*CreateConditionParams) SetDomainid ¶
func (p *CreateConditionParams) SetDomainid(v string)
func (*CreateConditionParams) SetRelationaloperator ¶
func (p *CreateConditionParams) SetRelationaloperator(v string)
func (*CreateConditionParams) SetThreshold ¶
func (p *CreateConditionParams) SetThreshold(v int)
type CreateConditionResponse ¶
type CreateConditionResponse struct { JobID string `json:"jobid,omitempty"` Relationaloperator string `json:"relationaloperator,omitempty"` Counter []string `json:"counter,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Zoneid string `json:"zoneid,omitempty"` Threshold int `json:"threshold,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` Id string `json:"id,omitempty"` }
type CreateCounterParams ¶
type CreateCounterParams struct {
// contains filtered or unexported fields
}
func (*CreateCounterParams) SetName ¶
func (p *CreateCounterParams) SetName(v string)
func (*CreateCounterParams) SetSource ¶
func (p *CreateCounterParams) SetSource(v string)
func (*CreateCounterParams) SetValue ¶
func (p *CreateCounterParams) SetValue(v string)
type CreateCounterResponse ¶
type CreateDiskOfferingParams ¶
type CreateDiskOfferingParams struct {
// contains filtered or unexported fields
}
func (*CreateDiskOfferingParams) SetBytesreadrate ¶
func (p *CreateDiskOfferingParams) SetBytesreadrate(v int)
func (*CreateDiskOfferingParams) SetByteswriterate ¶
func (p *CreateDiskOfferingParams) SetByteswriterate(v int)
func (*CreateDiskOfferingParams) SetCustomized ¶
func (p *CreateDiskOfferingParams) SetCustomized(v bool)
func (*CreateDiskOfferingParams) SetCustomizediops ¶
func (p *CreateDiskOfferingParams) SetCustomizediops(v bool)
func (*CreateDiskOfferingParams) SetDisksize ¶
func (p *CreateDiskOfferingParams) SetDisksize(v int)
func (*CreateDiskOfferingParams) SetDisplayoffering ¶
func (p *CreateDiskOfferingParams) SetDisplayoffering(v bool)
func (*CreateDiskOfferingParams) SetDisplaytext ¶
func (p *CreateDiskOfferingParams) SetDisplaytext(v string)
func (*CreateDiskOfferingParams) SetDomainid ¶
func (p *CreateDiskOfferingParams) SetDomainid(v string)
func (*CreateDiskOfferingParams) SetHypervisorsnapshotreserve ¶
func (p *CreateDiskOfferingParams) SetHypervisorsnapshotreserve(v int)
func (*CreateDiskOfferingParams) SetIopsreadrate ¶
func (p *CreateDiskOfferingParams) SetIopsreadrate(v int)
func (*CreateDiskOfferingParams) SetIopswriterate ¶
func (p *CreateDiskOfferingParams) SetIopswriterate(v int)
func (*CreateDiskOfferingParams) SetMaxiops ¶
func (p *CreateDiskOfferingParams) SetMaxiops(v int)
func (*CreateDiskOfferingParams) SetMiniops ¶
func (p *CreateDiskOfferingParams) SetMiniops(v int)
func (*CreateDiskOfferingParams) SetName ¶
func (p *CreateDiskOfferingParams) SetName(v string)
func (*CreateDiskOfferingParams) SetStoragetype ¶
func (p *CreateDiskOfferingParams) SetStoragetype(v string)
func (*CreateDiskOfferingParams) SetTags ¶
func (p *CreateDiskOfferingParams) SetTags(v string)
type CreateDiskOfferingResponse ¶
type CreateDiskOfferingResponse struct { Created string `json:"created,omitempty"` Id string `json:"id,omitempty"` DiskBytesReadRate int `json:"diskBytesReadRate,omitempty"` Displaytext string `json:"displaytext,omitempty"` DiskIopsReadRate int `json:"diskIopsReadRate,omitempty"` Domainid string `json:"domainid,omitempty"` Miniops int `json:"miniops,omitempty"` Iscustomizediops bool `json:"iscustomizediops,omitempty"` Maxiops int `json:"maxiops,omitempty"` Iscustomized bool `json:"iscustomized,omitempty"` Tags string `json:"tags,omitempty"` Disksize int `json:"disksize,omitempty"` DiskIopsWriteRate int `json:"diskIopsWriteRate,omitempty"` DiskBytesWriteRate int `json:"diskBytesWriteRate,omitempty"` Displayoffering bool `json:"displayoffering,omitempty"` Storagetype string `json:"storagetype,omitempty"` Domain string `json:"domain,omitempty"` Name string `json:"name,omitempty"` }
type CreateDomainParams ¶
type CreateDomainParams struct {
// contains filtered or unexported fields
}
func (*CreateDomainParams) SetDomainid ¶
func (p *CreateDomainParams) SetDomainid(v string)
func (*CreateDomainParams) SetName ¶
func (p *CreateDomainParams) SetName(v string)
func (*CreateDomainParams) SetNetworkdomain ¶
func (p *CreateDomainParams) SetNetworkdomain(v string)
func (*CreateDomainParams) SetParentdomainid ¶
func (p *CreateDomainParams) SetParentdomainid(v string)
type CreateDomainResponse ¶
type CreateDomainResponse struct { Parentdomainid string `json:"parentdomainid,omitempty"` Level int `json:"level,omitempty"` Path string `json:"path,omitempty"` Haschild bool `json:"haschild,omitempty"` Id string `json:"id,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Parentdomainname string `json:"parentdomainname,omitempty"` Name string `json:"name,omitempty"` }
type CreateEgressFirewallRuleParams ¶
type CreateEgressFirewallRuleParams struct {
// contains filtered or unexported fields
}
func (*CreateEgressFirewallRuleParams) SetCidrlist ¶
func (p *CreateEgressFirewallRuleParams) SetCidrlist(v []string)
func (*CreateEgressFirewallRuleParams) SetEndport ¶
func (p *CreateEgressFirewallRuleParams) SetEndport(v int)
func (*CreateEgressFirewallRuleParams) SetIcmpcode ¶
func (p *CreateEgressFirewallRuleParams) SetIcmpcode(v int)
func (*CreateEgressFirewallRuleParams) SetIcmptype ¶
func (p *CreateEgressFirewallRuleParams) SetIcmptype(v int)
func (*CreateEgressFirewallRuleParams) SetNetworkid ¶
func (p *CreateEgressFirewallRuleParams) SetNetworkid(v string)
func (*CreateEgressFirewallRuleParams) SetProtocol ¶
func (p *CreateEgressFirewallRuleParams) SetProtocol(v string)
func (*CreateEgressFirewallRuleParams) SetStartport ¶
func (p *CreateEgressFirewallRuleParams) SetStartport(v int)
func (*CreateEgressFirewallRuleParams) SetType ¶
func (p *CreateEgressFirewallRuleParams) SetType(v string)
type CreateEgressFirewallRuleResponse ¶
type CreateEgressFirewallRuleResponse struct { JobID string `json:"jobid,omitempty"` Protocol string `json:"protocol,omitempty"` Tags []struct { Projectid string `json:"projectid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Resourceid string `json:"resourceid,omitempty"` Value string `json:"value,omitempty"` Key string `json:"key,omitempty"` Customer string `json:"customer,omitempty"` } `json:"tags,omitempty"` Icmptype int `json:"icmptype,omitempty"` Startport string `json:"startport,omitempty"` Ipaddressid string `json:"ipaddressid,omitempty"` State string `json:"state,omitempty"` Networkid string `json:"networkid,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Id string `json:"id,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Endport string `json:"endport,omitempty"` }
type CreateFirewallRuleParams ¶
type CreateFirewallRuleParams struct {
// contains filtered or unexported fields
}
func (*CreateFirewallRuleParams) SetCidrlist ¶
func (p *CreateFirewallRuleParams) SetCidrlist(v []string)
func (*CreateFirewallRuleParams) SetEndport ¶
func (p *CreateFirewallRuleParams) SetEndport(v int)
func (*CreateFirewallRuleParams) SetIcmpcode ¶
func (p *CreateFirewallRuleParams) SetIcmpcode(v int)
func (*CreateFirewallRuleParams) SetIcmptype ¶
func (p *CreateFirewallRuleParams) SetIcmptype(v int)
func (*CreateFirewallRuleParams) SetIpaddressid ¶
func (p *CreateFirewallRuleParams) SetIpaddressid(v string)
func (*CreateFirewallRuleParams) SetProtocol ¶
func (p *CreateFirewallRuleParams) SetProtocol(v string)
func (*CreateFirewallRuleParams) SetStartport ¶
func (p *CreateFirewallRuleParams) SetStartport(v int)
func (*CreateFirewallRuleParams) SetType ¶
func (p *CreateFirewallRuleParams) SetType(v string)
type CreateFirewallRuleResponse ¶
type CreateFirewallRuleResponse struct { JobID string `json:"jobid,omitempty"` Icmptype int `json:"icmptype,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Protocol string `json:"protocol,omitempty"` State string `json:"state,omitempty"` Id string `json:"id,omitempty"` Networkid string `json:"networkid,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Value string `json:"value,omitempty"` Key string `json:"key,omitempty"` Resourceid string `json:"resourceid,omitempty"` Customer string `json:"customer,omitempty"` Projectid string `json:"projectid,omitempty"` } `json:"tags,omitempty"` Endport string `json:"endport,omitempty"` Ipaddressid string `json:"ipaddressid,omitempty"` Startport string `json:"startport,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` }
type CreateGlobalLoadBalancerRuleParams ¶
type CreateGlobalLoadBalancerRuleParams struct {
// contains filtered or unexported fields
}
func (*CreateGlobalLoadBalancerRuleParams) SetAccount ¶
func (p *CreateGlobalLoadBalancerRuleParams) SetAccount(v string)
func (*CreateGlobalLoadBalancerRuleParams) SetDescription ¶
func (p *CreateGlobalLoadBalancerRuleParams) SetDescription(v string)
func (*CreateGlobalLoadBalancerRuleParams) SetDomainid ¶
func (p *CreateGlobalLoadBalancerRuleParams) SetDomainid(v string)
func (*CreateGlobalLoadBalancerRuleParams) SetGslbdomainname ¶
func (p *CreateGlobalLoadBalancerRuleParams) SetGslbdomainname(v string)
func (*CreateGlobalLoadBalancerRuleParams) SetGslblbmethod ¶
func (p *CreateGlobalLoadBalancerRuleParams) SetGslblbmethod(v string)
func (*CreateGlobalLoadBalancerRuleParams) SetGslbservicetype ¶
func (p *CreateGlobalLoadBalancerRuleParams) SetGslbservicetype(v string)
func (*CreateGlobalLoadBalancerRuleParams) SetGslbstickysessionmethodname ¶
func (p *CreateGlobalLoadBalancerRuleParams) SetGslbstickysessionmethodname(v string)
func (*CreateGlobalLoadBalancerRuleParams) SetName ¶
func (p *CreateGlobalLoadBalancerRuleParams) SetName(v string)
func (*CreateGlobalLoadBalancerRuleParams) SetRegionid ¶
func (p *CreateGlobalLoadBalancerRuleParams) SetRegionid(v int)
type CreateGlobalLoadBalancerRuleResponse ¶
type CreateGlobalLoadBalancerRuleResponse struct { JobID string `json:"jobid,omitempty"` Gslbservicetype string `json:"gslbservicetype,omitempty"` Name string `json:"name,omitempty"` Domainid string `json:"domainid,omitempty"` Loadbalancerrule []struct { Networkid string `json:"networkid,omitempty"` Privateport string `json:"privateport,omitempty"` Algorithm string `json:"algorithm,omitempty"` Project string `json:"project,omitempty"` Protocol string `json:"protocol,omitempty"` Publicport string `json:"publicport,omitempty"` Zoneid string `json:"zoneid,omitempty"` State string `json:"state,omitempty"` Description string `json:"description,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Tags []struct { Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Key string `json:"key,omitempty"` Project string `json:"project,omitempty"` Customer string `json:"customer,omitempty"` Value string `json:"value,omitempty"` Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` } `json:"tags,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Publicip string `json:"publicip,omitempty"` Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Publicipid string `json:"publicipid,omitempty"` } `json:"loadbalancerrule,omitempty"` Gslbdomainname string `json:"gslbdomainname,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Gslblbmethod string `json:"gslblbmethod,omitempty"` Gslbstickysessionmethodname string `json:"gslbstickysessionmethodname,omitempty"` Projectid string `json:"projectid,omitempty"` Id string `json:"id,omitempty"` Project string `json:"project,omitempty"` Regionid int `json:"regionid,omitempty"` Description string `json:"description,omitempty"` }
type CreateInstanceGroupParams ¶
type CreateInstanceGroupParams struct {
// contains filtered or unexported fields
}
func (*CreateInstanceGroupParams) SetAccount ¶
func (p *CreateInstanceGroupParams) SetAccount(v string)
func (*CreateInstanceGroupParams) SetDomainid ¶
func (p *CreateInstanceGroupParams) SetDomainid(v string)
func (*CreateInstanceGroupParams) SetName ¶
func (p *CreateInstanceGroupParams) SetName(v string)
func (*CreateInstanceGroupParams) SetProjectid ¶
func (p *CreateInstanceGroupParams) SetProjectid(v string)
type CreateInstanceGroupResponse ¶
type CreateInstanceGroupResponse struct { Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Created string `json:"created,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` }
type CreateInternalLoadBalancerElementParams ¶
type CreateInternalLoadBalancerElementParams struct {
// contains filtered or unexported fields
}
func (*CreateInternalLoadBalancerElementParams) SetNspid ¶
func (p *CreateInternalLoadBalancerElementParams) SetNspid(v string)
type CreateIpForwardingRuleParams ¶
type CreateIpForwardingRuleParams struct {
// contains filtered or unexported fields
}
func (*CreateIpForwardingRuleParams) SetCidrlist ¶
func (p *CreateIpForwardingRuleParams) SetCidrlist(v []string)
func (*CreateIpForwardingRuleParams) SetEndport ¶
func (p *CreateIpForwardingRuleParams) SetEndport(v int)
func (*CreateIpForwardingRuleParams) SetIpaddressid ¶
func (p *CreateIpForwardingRuleParams) SetIpaddressid(v string)
func (*CreateIpForwardingRuleParams) SetOpenfirewall ¶
func (p *CreateIpForwardingRuleParams) SetOpenfirewall(v bool)
func (*CreateIpForwardingRuleParams) SetProtocol ¶
func (p *CreateIpForwardingRuleParams) SetProtocol(v string)
func (*CreateIpForwardingRuleParams) SetStartport ¶
func (p *CreateIpForwardingRuleParams) SetStartport(v int)
type CreateIpForwardingRuleResponse ¶
type CreateIpForwardingRuleResponse struct { JobID string `json:"jobid,omitempty"` Ipaddressid string `json:"ipaddressid,omitempty"` Virtualmachinename string `json:"virtualmachinename,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Id string `json:"id,omitempty"` Privateport string `json:"privateport,omitempty"` Protocol string `json:"protocol,omitempty"` Publicport string `json:"publicport,omitempty"` Vmguestip string `json:"vmguestip,omitempty"` Publicendport string `json:"publicendport,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` State string `json:"state,omitempty"` Tags []struct { Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Key string `json:"key,omitempty"` Domain string `json:"domain,omitempty"` Value string `json:"value,omitempty"` Account string `json:"account,omitempty"` Customer string `json:"customer,omitempty"` Project string `json:"project,omitempty"` Resourceid string `json:"resourceid,omitempty"` } `json:"tags,omitempty"` Virtualmachinedisplayname string `json:"virtualmachinedisplayname,omitempty"` Privateendport string `json:"privateendport,omitempty"` Networkid string `json:"networkid,omitempty"` }
type CreateLBHealthCheckPolicyParams ¶
type CreateLBHealthCheckPolicyParams struct {
// contains filtered or unexported fields
}
func (*CreateLBHealthCheckPolicyParams) SetDescription ¶
func (p *CreateLBHealthCheckPolicyParams) SetDescription(v string)
func (*CreateLBHealthCheckPolicyParams) SetHealthythreshold ¶
func (p *CreateLBHealthCheckPolicyParams) SetHealthythreshold(v int)
func (*CreateLBHealthCheckPolicyParams) SetIntervaltime ¶
func (p *CreateLBHealthCheckPolicyParams) SetIntervaltime(v int)
func (*CreateLBHealthCheckPolicyParams) SetLbruleid ¶
func (p *CreateLBHealthCheckPolicyParams) SetLbruleid(v string)
func (*CreateLBHealthCheckPolicyParams) SetPingpath ¶
func (p *CreateLBHealthCheckPolicyParams) SetPingpath(v string)
func (*CreateLBHealthCheckPolicyParams) SetResponsetimeout ¶
func (p *CreateLBHealthCheckPolicyParams) SetResponsetimeout(v int)
func (*CreateLBHealthCheckPolicyParams) SetUnhealthythreshold ¶
func (p *CreateLBHealthCheckPolicyParams) SetUnhealthythreshold(v int)
type CreateLBHealthCheckPolicyResponse ¶
type CreateLBHealthCheckPolicyResponse struct { JobID string `json:"jobid,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Zoneid string `json:"zoneid,omitempty"` Domain string `json:"domain,omitempty"` Healthcheckpolicy []struct { Healthcheckthresshold int `json:"healthcheckthresshold,omitempty"` Healthcheckinterval int `json:"healthcheckinterval,omitempty"` Id string `json:"id,omitempty"` Responsetime int `json:"responsetime,omitempty"` Unhealthcheckthresshold int `json:"unhealthcheckthresshold,omitempty"` Pingpath string `json:"pingpath,omitempty"` State string `json:"state,omitempty"` Description string `json:"description,omitempty"` } `json:"healthcheckpolicy,omitempty"` Lbruleid string `json:"lbruleid,omitempty"` }
type CreateLBStickinessPolicyParams ¶
type CreateLBStickinessPolicyParams struct {
// contains filtered or unexported fields
}
func (*CreateLBStickinessPolicyParams) SetDescription ¶
func (p *CreateLBStickinessPolicyParams) SetDescription(v string)
func (*CreateLBStickinessPolicyParams) SetLbruleid ¶
func (p *CreateLBStickinessPolicyParams) SetLbruleid(v string)
func (*CreateLBStickinessPolicyParams) SetMethodname ¶
func (p *CreateLBStickinessPolicyParams) SetMethodname(v string)
func (*CreateLBStickinessPolicyParams) SetName ¶
func (p *CreateLBStickinessPolicyParams) SetName(v string)
func (*CreateLBStickinessPolicyParams) SetParam ¶
func (p *CreateLBStickinessPolicyParams) SetParam(v map[string]string)
type CreateLBStickinessPolicyResponse ¶
type CreateLBStickinessPolicyResponse struct { JobID string `json:"jobid,omitempty"` Stickinesspolicy []struct { Methodname string `json:"methodname,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Params map[string]string `json:"params,omitempty"` State string `json:"state,omitempty"` Description string `json:"description,omitempty"` } `json:"stickinesspolicy,omitempty"` State string `json:"state,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Name string `json:"name,omitempty"` Lbruleid string `json:"lbruleid,omitempty"` Description string `json:"description,omitempty"` Zoneid string `json:"zoneid,omitempty"` Domain string `json:"domain,omitempty"` }
type CreateLoadBalancerParams ¶
type CreateLoadBalancerParams struct {
// contains filtered or unexported fields
}
func (*CreateLoadBalancerParams) SetAlgorithm ¶
func (p *CreateLoadBalancerParams) SetAlgorithm(v string)
func (*CreateLoadBalancerParams) SetDescription ¶
func (p *CreateLoadBalancerParams) SetDescription(v string)
func (*CreateLoadBalancerParams) SetInstanceport ¶
func (p *CreateLoadBalancerParams) SetInstanceport(v int)
func (*CreateLoadBalancerParams) SetName ¶
func (p *CreateLoadBalancerParams) SetName(v string)
func (*CreateLoadBalancerParams) SetNetworkid ¶
func (p *CreateLoadBalancerParams) SetNetworkid(v string)
func (*CreateLoadBalancerParams) SetScheme ¶
func (p *CreateLoadBalancerParams) SetScheme(v string)
func (*CreateLoadBalancerParams) SetSourceipaddress ¶
func (p *CreateLoadBalancerParams) SetSourceipaddress(v string)
func (*CreateLoadBalancerParams) SetSourceipaddressnetworkid ¶
func (p *CreateLoadBalancerParams) SetSourceipaddressnetworkid(v string)
func (*CreateLoadBalancerParams) SetSourceport ¶
func (p *CreateLoadBalancerParams) SetSourceport(v int)
type CreateLoadBalancerResponse ¶
type CreateLoadBalancerResponse struct { JobID string `json:"jobid,omitempty"` Projectid string `json:"projectid,omitempty"` Description string `json:"description,omitempty"` Domain string `json:"domain,omitempty"` Loadbalancerinstance []struct { State string `json:"state,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` } `json:"loadbalancerinstance,omitempty"` Project string `json:"project,omitempty"` Algorithm string `json:"algorithm,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Resourceid string `json:"resourceid,omitempty"` Value string `json:"value,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domainid string `json:"domainid,omitempty"` Key string `json:"key,omitempty"` Customer string `json:"customer,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` } `json:"tags,omitempty"` Sourceipaddressnetworkid string `json:"sourceipaddressnetworkid,omitempty"` Loadbalancerrule []struct { Instanceport int `json:"instanceport,omitempty"` State string `json:"state,omitempty"` Sourceport int `json:"sourceport,omitempty"` } `json:"loadbalancerrule,omitempty"` Name string `json:"name,omitempty"` Domainid string `json:"domainid,omitempty"` Id string `json:"id,omitempty"` Sourceipaddress string `json:"sourceipaddress,omitempty"` Networkid string `json:"networkid,omitempty"` Account string `json:"account,omitempty"` }
type CreateLoadBalancerRuleParams ¶
type CreateLoadBalancerRuleParams struct {
// contains filtered or unexported fields
}
func (*CreateLoadBalancerRuleParams) SetAccount ¶
func (p *CreateLoadBalancerRuleParams) SetAccount(v string)
func (*CreateLoadBalancerRuleParams) SetAlgorithm ¶
func (p *CreateLoadBalancerRuleParams) SetAlgorithm(v string)
func (*CreateLoadBalancerRuleParams) SetCidrlist ¶
func (p *CreateLoadBalancerRuleParams) SetCidrlist(v []string)
func (*CreateLoadBalancerRuleParams) SetDescription ¶
func (p *CreateLoadBalancerRuleParams) SetDescription(v string)
func (*CreateLoadBalancerRuleParams) SetDomainid ¶
func (p *CreateLoadBalancerRuleParams) SetDomainid(v string)
func (*CreateLoadBalancerRuleParams) SetName ¶
func (p *CreateLoadBalancerRuleParams) SetName(v string)
func (*CreateLoadBalancerRuleParams) SetNetworkid ¶
func (p *CreateLoadBalancerRuleParams) SetNetworkid(v string)
func (*CreateLoadBalancerRuleParams) SetOpenfirewall ¶
func (p *CreateLoadBalancerRuleParams) SetOpenfirewall(v bool)
func (*CreateLoadBalancerRuleParams) SetPrivateport ¶
func (p *CreateLoadBalancerRuleParams) SetPrivateport(v int)
func (*CreateLoadBalancerRuleParams) SetProtocol ¶
func (p *CreateLoadBalancerRuleParams) SetProtocol(v string)
func (*CreateLoadBalancerRuleParams) SetPublicipid ¶
func (p *CreateLoadBalancerRuleParams) SetPublicipid(v string)
func (*CreateLoadBalancerRuleParams) SetPublicport ¶
func (p *CreateLoadBalancerRuleParams) SetPublicport(v int)
func (*CreateLoadBalancerRuleParams) SetZoneid ¶
func (p *CreateLoadBalancerRuleParams) SetZoneid(v string)
type CreateLoadBalancerRuleResponse ¶
type CreateLoadBalancerRuleResponse struct { JobID string `json:"jobid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Publicipid string `json:"publicipid,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Algorithm string `json:"algorithm,omitempty"` State string `json:"state,omitempty"` Description string `json:"description,omitempty"` Publicport string `json:"publicport,omitempty"` Tags []struct { Resourcetype string `json:"resourcetype,omitempty"` Key string `json:"key,omitempty"` Value string `json:"value,omitempty"` Domainid string `json:"domainid,omitempty"` Customer string `json:"customer,omitempty"` Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` Resourceid string `json:"resourceid,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` } `json:"tags,omitempty"` Name string `json:"name,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Protocol string `json:"protocol,omitempty"` Privateport string `json:"privateport,omitempty"` Project string `json:"project,omitempty"` Networkid string `json:"networkid,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Publicip string `json:"publicip,omitempty"` Id string `json:"id,omitempty"` }
type CreateNetworkACLListParams ¶
type CreateNetworkACLListParams struct {
// contains filtered or unexported fields
}
func (*CreateNetworkACLListParams) SetDescription ¶
func (p *CreateNetworkACLListParams) SetDescription(v string)
func (*CreateNetworkACLListParams) SetName ¶
func (p *CreateNetworkACLListParams) SetName(v string)
func (*CreateNetworkACLListParams) SetVpcid ¶
func (p *CreateNetworkACLListParams) SetVpcid(v string)
type CreateNetworkACLParams ¶
type CreateNetworkACLParams struct {
// contains filtered or unexported fields
}
func (*CreateNetworkACLParams) SetAclid ¶
func (p *CreateNetworkACLParams) SetAclid(v string)
func (*CreateNetworkACLParams) SetAction ¶
func (p *CreateNetworkACLParams) SetAction(v string)
func (*CreateNetworkACLParams) SetCidrlist ¶
func (p *CreateNetworkACLParams) SetCidrlist(v []string)
func (*CreateNetworkACLParams) SetEndport ¶
func (p *CreateNetworkACLParams) SetEndport(v int)
func (*CreateNetworkACLParams) SetIcmpcode ¶
func (p *CreateNetworkACLParams) SetIcmpcode(v int)
func (*CreateNetworkACLParams) SetIcmptype ¶
func (p *CreateNetworkACLParams) SetIcmptype(v int)
func (*CreateNetworkACLParams) SetNetworkid ¶
func (p *CreateNetworkACLParams) SetNetworkid(v string)
func (*CreateNetworkACLParams) SetNumber ¶
func (p *CreateNetworkACLParams) SetNumber(v int)
func (*CreateNetworkACLParams) SetProtocol ¶
func (p *CreateNetworkACLParams) SetProtocol(v string)
func (*CreateNetworkACLParams) SetStartport ¶
func (p *CreateNetworkACLParams) SetStartport(v int)
func (*CreateNetworkACLParams) SetTraffictype ¶
func (p *CreateNetworkACLParams) SetTraffictype(v string)
type CreateNetworkACLResponse ¶
type CreateNetworkACLResponse struct { JobID string `json:"jobid,omitempty"` Traffictype string `json:"traffictype,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Action string `json:"action,omitempty"` Startport string `json:"startport,omitempty"` Protocol string `json:"protocol,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` State string `json:"state,omitempty"` Number int `json:"number,omitempty"` Endport string `json:"endport,omitempty"` Icmptype int `json:"icmptype,omitempty"` Tags []struct { Key string `json:"key,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Customer string `json:"customer,omitempty"` Resourceid string `json:"resourceid,omitempty"` Value string `json:"value,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"tags,omitempty"` Aclid string `json:"aclid,omitempty"` Id string `json:"id,omitempty"` }
type CreateNetworkOfferingParams ¶
type CreateNetworkOfferingParams struct {
// contains filtered or unexported fields
}
func (*CreateNetworkOfferingParams) SetAvailability ¶
func (p *CreateNetworkOfferingParams) SetAvailability(v string)
func (*CreateNetworkOfferingParams) SetConservemode ¶
func (p *CreateNetworkOfferingParams) SetConservemode(v bool)
func (*CreateNetworkOfferingParams) SetDetails ¶
func (p *CreateNetworkOfferingParams) SetDetails(v map[string]string)
func (*CreateNetworkOfferingParams) SetDisplaytext ¶
func (p *CreateNetworkOfferingParams) SetDisplaytext(v string)
func (*CreateNetworkOfferingParams) SetEgressdefaultpolicy ¶
func (p *CreateNetworkOfferingParams) SetEgressdefaultpolicy(v bool)
func (*CreateNetworkOfferingParams) SetGuestiptype ¶
func (p *CreateNetworkOfferingParams) SetGuestiptype(v string)
func (*CreateNetworkOfferingParams) SetIspersistent ¶
func (p *CreateNetworkOfferingParams) SetIspersistent(v bool)
func (*CreateNetworkOfferingParams) SetKeepaliveenabled ¶
func (p *CreateNetworkOfferingParams) SetKeepaliveenabled(v bool)
func (*CreateNetworkOfferingParams) SetMaxconnections ¶
func (p *CreateNetworkOfferingParams) SetMaxconnections(v int)
func (*CreateNetworkOfferingParams) SetName ¶
func (p *CreateNetworkOfferingParams) SetName(v string)
func (*CreateNetworkOfferingParams) SetNetworkrate ¶
func (p *CreateNetworkOfferingParams) SetNetworkrate(v int)
func (*CreateNetworkOfferingParams) SetServicecapabilitylist ¶
func (p *CreateNetworkOfferingParams) SetServicecapabilitylist(v map[string]string)
func (*CreateNetworkOfferingParams) SetServiceofferingid ¶
func (p *CreateNetworkOfferingParams) SetServiceofferingid(v string)
func (*CreateNetworkOfferingParams) SetServiceproviderlist ¶
func (p *CreateNetworkOfferingParams) SetServiceproviderlist(v map[string]string)
func (*CreateNetworkOfferingParams) SetSpecifyipranges ¶
func (p *CreateNetworkOfferingParams) SetSpecifyipranges(v bool)
func (*CreateNetworkOfferingParams) SetSpecifyvlan ¶
func (p *CreateNetworkOfferingParams) SetSpecifyvlan(v bool)
func (*CreateNetworkOfferingParams) SetSupportedservices ¶
func (p *CreateNetworkOfferingParams) SetSupportedservices(v []string)
func (*CreateNetworkOfferingParams) SetTags ¶
func (p *CreateNetworkOfferingParams) SetTags(v string)
func (*CreateNetworkOfferingParams) SetTraffictype ¶
func (p *CreateNetworkOfferingParams) SetTraffictype(v string)
type CreateNetworkOfferingResponse ¶
type CreateNetworkOfferingResponse struct { Service []struct { Capability []struct { Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` Value string `json:"value,omitempty"` Name string `json:"name,omitempty"` } `json:"capability,omitempty"` Provider []struct { Servicelist []string `json:"servicelist,omitempty"` State string `json:"state,omitempty"` Name string `json:"name,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Id string `json:"id,omitempty"` } `json:"provider,omitempty"` Name string `json:"name,omitempty"` } `json:"service,omitempty"` Availability string `json:"availability,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Name string `json:"name,omitempty"` Displaytext string `json:"displaytext,omitempty"` Networkrate int `json:"networkrate,omitempty"` Details map[string]string `json:"details,omitempty"` Maxconnections int `json:"maxconnections,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Tags string `json:"tags,omitempty"` Forvpc bool `json:"forvpc,omitempty"` State string `json:"state,omitempty"` Ispersistent bool `json:"ispersistent,omitempty"` Specifyipranges bool `json:"specifyipranges,omitempty"` Conservemode bool `json:"conservemode,omitempty"` Created string `json:"created,omitempty"` Egressdefaultpolicy bool `json:"egressdefaultpolicy,omitempty"` Traffictype string `json:"traffictype,omitempty"` Id string `json:"id,omitempty"` Specifyvlan bool `json:"specifyvlan,omitempty"` Guestiptype string `json:"guestiptype,omitempty"` }
type CreateNetworkParams ¶
type CreateNetworkParams struct {
// contains filtered or unexported fields
}
func (*CreateNetworkParams) SetAccount ¶
func (p *CreateNetworkParams) SetAccount(v string)
func (*CreateNetworkParams) SetAclid ¶
func (p *CreateNetworkParams) SetAclid(v string)
func (*CreateNetworkParams) SetAcltype ¶
func (p *CreateNetworkParams) SetAcltype(v string)
func (*CreateNetworkParams) SetDisplaynetwork ¶
func (p *CreateNetworkParams) SetDisplaynetwork(v bool)
func (*CreateNetworkParams) SetDisplaytext ¶
func (p *CreateNetworkParams) SetDisplaytext(v string)
func (*CreateNetworkParams) SetDomainid ¶
func (p *CreateNetworkParams) SetDomainid(v string)
func (*CreateNetworkParams) SetEndip ¶
func (p *CreateNetworkParams) SetEndip(v string)
func (*CreateNetworkParams) SetEndipv6 ¶
func (p *CreateNetworkParams) SetEndipv6(v string)
func (*CreateNetworkParams) SetGateway ¶
func (p *CreateNetworkParams) SetGateway(v string)
func (*CreateNetworkParams) SetIp6cidr ¶
func (p *CreateNetworkParams) SetIp6cidr(v string)
func (*CreateNetworkParams) SetIp6gateway ¶
func (p *CreateNetworkParams) SetIp6gateway(v string)
func (*CreateNetworkParams) SetIsolatedpvlan ¶
func (p *CreateNetworkParams) SetIsolatedpvlan(v string)
func (*CreateNetworkParams) SetName ¶
func (p *CreateNetworkParams) SetName(v string)
func (*CreateNetworkParams) SetNetmask ¶
func (p *CreateNetworkParams) SetNetmask(v string)
func (*CreateNetworkParams) SetNetworkdomain ¶
func (p *CreateNetworkParams) SetNetworkdomain(v string)
func (*CreateNetworkParams) SetNetworkofferingid ¶
func (p *CreateNetworkParams) SetNetworkofferingid(v string)
func (*CreateNetworkParams) SetPhysicalnetworkid ¶
func (p *CreateNetworkParams) SetPhysicalnetworkid(v string)
func (*CreateNetworkParams) SetProjectid ¶
func (p *CreateNetworkParams) SetProjectid(v string)
func (*CreateNetworkParams) SetStartip ¶
func (p *CreateNetworkParams) SetStartip(v string)
func (*CreateNetworkParams) SetStartipv6 ¶
func (p *CreateNetworkParams) SetStartipv6(v string)
func (*CreateNetworkParams) SetSubdomainaccess ¶
func (p *CreateNetworkParams) SetSubdomainaccess(v bool)
func (*CreateNetworkParams) SetVlan ¶
func (p *CreateNetworkParams) SetVlan(v string)
func (*CreateNetworkParams) SetVpcid ¶
func (p *CreateNetworkParams) SetVpcid(v string)
func (*CreateNetworkParams) SetZoneid ¶
func (p *CreateNetworkParams) SetZoneid(v string)
type CreateNetworkResponse ¶
type CreateNetworkResponse struct { Related string `json:"related,omitempty"` Account string `json:"account,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Project string `json:"project,omitempty"` Networkofferingname string `json:"networkofferingname,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Displaytext string `json:"displaytext,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Cidr string `json:"cidr,omitempty"` Vlan string `json:"vlan,omitempty"` Canusefordeploy bool `json:"canusefordeploy,omitempty"` Zonename string `json:"zonename,omitempty"` Gateway string `json:"gateway,omitempty"` Networkofferingdisplaytext string `json:"networkofferingdisplaytext,omitempty"` Projectid string `json:"projectid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Restartrequired bool `json:"restartrequired,omitempty"` Acltype string `json:"acltype,omitempty"` Domain string `json:"domain,omitempty"` Issystem bool `json:"issystem,omitempty"` Networkcidr string `json:"networkcidr,omitempty"` Networkofferingavailability string `json:"networkofferingavailability,omitempty"` Reservediprange string `json:"reservediprange,omitempty"` Traffictype string `json:"traffictype,omitempty"` Tags []struct { Project string `json:"project,omitempty"` Value string `json:"value,omitempty"` Projectid string `json:"projectid,omitempty"` Customer string `json:"customer,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Resourceid string `json:"resourceid,omitempty"` Domain string `json:"domain,omitempty"` Key string `json:"key,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"tags,omitempty"` Service []struct { Name string `json:"name,omitempty"` Provider []struct { Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Servicelist []string `json:"servicelist,omitempty"` State string `json:"state,omitempty"` } `json:"provider,omitempty"` Capability []struct { Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` Value string `json:"value,omitempty"` Name string `json:"name,omitempty"` } `json:"capability,omitempty"` } `json:"service,omitempty"` Vpcid string `json:"vpcid,omitempty"` Specifyipranges bool `json:"specifyipranges,omitempty"` State string `json:"state,omitempty"` Displaynetwork bool `json:"displaynetwork,omitempty"` Aclid string `json:"aclid,omitempty"` Ispersistent bool `json:"ispersistent,omitempty"` Networkofferingid string `json:"networkofferingid,omitempty"` Networkofferingconservemode bool `json:"networkofferingconservemode,omitempty"` Domainid string `json:"domainid,omitempty"` Broadcastdomaintype string `json:"broadcastdomaintype,omitempty"` Dns2 string `json:"dns2,omitempty"` Subdomainaccess bool `json:"subdomainaccess,omitempty"` Id string `json:"id,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Name string `json:"name,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Type string `json:"type,omitempty"` Dns1 string `json:"dns1,omitempty"` Netmask string `json:"netmask,omitempty"` }
type CreatePhysicalNetworkParams ¶
type CreatePhysicalNetworkParams struct {
// contains filtered or unexported fields
}
func (*CreatePhysicalNetworkParams) SetBroadcastdomainrange ¶
func (p *CreatePhysicalNetworkParams) SetBroadcastdomainrange(v string)
func (*CreatePhysicalNetworkParams) SetDomainid ¶
func (p *CreatePhysicalNetworkParams) SetDomainid(v string)
func (*CreatePhysicalNetworkParams) SetIsolationmethods ¶
func (p *CreatePhysicalNetworkParams) SetIsolationmethods(v []string)
func (*CreatePhysicalNetworkParams) SetName ¶
func (p *CreatePhysicalNetworkParams) SetName(v string)
func (*CreatePhysicalNetworkParams) SetNetworkspeed ¶
func (p *CreatePhysicalNetworkParams) SetNetworkspeed(v string)
func (*CreatePhysicalNetworkParams) SetTags ¶
func (p *CreatePhysicalNetworkParams) SetTags(v []string)
func (*CreatePhysicalNetworkParams) SetVlan ¶
func (p *CreatePhysicalNetworkParams) SetVlan(v string)
func (*CreatePhysicalNetworkParams) SetZoneid ¶
func (p *CreatePhysicalNetworkParams) SetZoneid(v string)
type CreatePhysicalNetworkResponse ¶
type CreatePhysicalNetworkResponse struct { JobID string `json:"jobid,omitempty"` Isolationmethods string `json:"isolationmethods,omitempty"` State string `json:"state,omitempty"` Id string `json:"id,omitempty"` Broadcastdomainrange string `json:"broadcastdomainrange,omitempty"` Domainid string `json:"domainid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Networkspeed string `json:"networkspeed,omitempty"` Name string `json:"name,omitempty"` Tags string `json:"tags,omitempty"` Vlan string `json:"vlan,omitempty"` }
type CreatePodParams ¶
type CreatePodParams struct {
// contains filtered or unexported fields
}
func (*CreatePodParams) SetAllocationstate ¶
func (p *CreatePodParams) SetAllocationstate(v string)
func (*CreatePodParams) SetEndip ¶
func (p *CreatePodParams) SetEndip(v string)
func (*CreatePodParams) SetGateway ¶
func (p *CreatePodParams) SetGateway(v string)
func (*CreatePodParams) SetName ¶
func (p *CreatePodParams) SetName(v string)
func (*CreatePodParams) SetNetmask ¶
func (p *CreatePodParams) SetNetmask(v string)
func (*CreatePodParams) SetStartip ¶
func (p *CreatePodParams) SetStartip(v string)
func (*CreatePodParams) SetZoneid ¶
func (p *CreatePodParams) SetZoneid(v string)
type CreatePodResponse ¶
type CreatePodResponse struct { Startip string `json:"startip,omitempty"` Capacity []struct { Type int `json:"type,omitempty"` Capacitytotal int `json:"capacitytotal,omitempty"` Capacityused int `json:"capacityused,omitempty"` Podname string `json:"podname,omitempty"` Percentused string `json:"percentused,omitempty"` Clustername string `json:"clustername,omitempty"` Podid string `json:"podid,omitempty"` Zonename string `json:"zonename,omitempty"` Zoneid string `json:"zoneid,omitempty"` Clusterid string `json:"clusterid,omitempty"` } `json:"capacity,omitempty"` Endip string `json:"endip,omitempty"` Allocationstate string `json:"allocationstate,omitempty"` Gateway string `json:"gateway,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Zonename string `json:"zonename,omitempty"` Netmask string `json:"netmask,omitempty"` Zoneid string `json:"zoneid,omitempty"` }
type CreatePortForwardingRuleParams ¶
type CreatePortForwardingRuleParams struct {
// contains filtered or unexported fields
}
func (*CreatePortForwardingRuleParams) SetCidrlist ¶
func (p *CreatePortForwardingRuleParams) SetCidrlist(v []string)
func (*CreatePortForwardingRuleParams) SetIpaddressid ¶
func (p *CreatePortForwardingRuleParams) SetIpaddressid(v string)
func (*CreatePortForwardingRuleParams) SetNetworkid ¶
func (p *CreatePortForwardingRuleParams) SetNetworkid(v string)
func (*CreatePortForwardingRuleParams) SetOpenfirewall ¶
func (p *CreatePortForwardingRuleParams) SetOpenfirewall(v bool)
func (*CreatePortForwardingRuleParams) SetPrivateendport ¶
func (p *CreatePortForwardingRuleParams) SetPrivateendport(v int)
func (*CreatePortForwardingRuleParams) SetPrivateport ¶
func (p *CreatePortForwardingRuleParams) SetPrivateport(v int)
func (*CreatePortForwardingRuleParams) SetProtocol ¶
func (p *CreatePortForwardingRuleParams) SetProtocol(v string)
func (*CreatePortForwardingRuleParams) SetPublicendport ¶
func (p *CreatePortForwardingRuleParams) SetPublicendport(v int)
func (*CreatePortForwardingRuleParams) SetPublicport ¶
func (p *CreatePortForwardingRuleParams) SetPublicport(v int)
func (*CreatePortForwardingRuleParams) SetVirtualmachineid ¶
func (p *CreatePortForwardingRuleParams) SetVirtualmachineid(v string)
func (*CreatePortForwardingRuleParams) SetVmguestip ¶
func (p *CreatePortForwardingRuleParams) SetVmguestip(v string)
type CreatePortForwardingRuleResponse ¶
type CreatePortForwardingRuleResponse struct { JobID string `json:"jobid,omitempty"` Publicendport string `json:"publicendport,omitempty"` Privateport string `json:"privateport,omitempty"` Tags []struct { Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Key string `json:"key,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Resourceid string `json:"resourceid,omitempty"` Customer string `json:"customer,omitempty"` Value string `json:"value,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` } `json:"tags,omitempty"` State string `json:"state,omitempty"` Id string `json:"id,omitempty"` Vmguestip string `json:"vmguestip,omitempty"` Protocol string `json:"protocol,omitempty"` Virtualmachinename string `json:"virtualmachinename,omitempty"` Privateendport string `json:"privateendport,omitempty"` Publicport string `json:"publicport,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Ipaddressid string `json:"ipaddressid,omitempty"` Virtualmachinedisplayname string `json:"virtualmachinedisplayname,omitempty"` Networkid string `json:"networkid,omitempty"` }
type CreatePortableIpRangeParams ¶
type CreatePortableIpRangeParams struct {
// contains filtered or unexported fields
}
func (*CreatePortableIpRangeParams) SetEndip ¶
func (p *CreatePortableIpRangeParams) SetEndip(v string)
func (*CreatePortableIpRangeParams) SetGateway ¶
func (p *CreatePortableIpRangeParams) SetGateway(v string)
func (*CreatePortableIpRangeParams) SetNetmask ¶
func (p *CreatePortableIpRangeParams) SetNetmask(v string)
func (*CreatePortableIpRangeParams) SetRegionid ¶
func (p *CreatePortableIpRangeParams) SetRegionid(v int)
func (*CreatePortableIpRangeParams) SetStartip ¶
func (p *CreatePortableIpRangeParams) SetStartip(v string)
func (*CreatePortableIpRangeParams) SetVlan ¶
func (p *CreatePortableIpRangeParams) SetVlan(v string)
type CreatePortableIpRangeResponse ¶
type CreatePortableIpRangeResponse struct { JobID string `json:"jobid,omitempty"` Startip string `json:"startip,omitempty"` Regionid int `json:"regionid,omitempty"` Portableipaddress []struct { Domainid string `json:"domainid,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Networkid string `json:"networkid,omitempty"` State string `json:"state,omitempty"` Zoneid string `json:"zoneid,omitempty"` Regionid int `json:"regionid,omitempty"` Allocated string `json:"allocated,omitempty"` Accountid string `json:"accountid,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Vpcid string `json:"vpcid,omitempty"` } `json:"portableipaddress,omitempty"` Gateway string `json:"gateway,omitempty"` Netmask string `json:"netmask,omitempty"` Id string `json:"id,omitempty"` Vlan string `json:"vlan,omitempty"` Endip string `json:"endip,omitempty"` }
type CreatePrivateGatewayParams ¶
type CreatePrivateGatewayParams struct {
// contains filtered or unexported fields
}
func (*CreatePrivateGatewayParams) SetAclid ¶
func (p *CreatePrivateGatewayParams) SetAclid(v string)
func (*CreatePrivateGatewayParams) SetGateway ¶
func (p *CreatePrivateGatewayParams) SetGateway(v string)
func (*CreatePrivateGatewayParams) SetIpaddress ¶
func (p *CreatePrivateGatewayParams) SetIpaddress(v string)
func (*CreatePrivateGatewayParams) SetNetmask ¶
func (p *CreatePrivateGatewayParams) SetNetmask(v string)
func (*CreatePrivateGatewayParams) SetNetworkofferingid ¶
func (p *CreatePrivateGatewayParams) SetNetworkofferingid(v string)
func (*CreatePrivateGatewayParams) SetPhysicalnetworkid ¶
func (p *CreatePrivateGatewayParams) SetPhysicalnetworkid(v string)
func (*CreatePrivateGatewayParams) SetSourcenatsupported ¶
func (p *CreatePrivateGatewayParams) SetSourcenatsupported(v bool)
func (*CreatePrivateGatewayParams) SetVlan ¶
func (p *CreatePrivateGatewayParams) SetVlan(v string)
func (*CreatePrivateGatewayParams) SetVpcid ¶
func (p *CreatePrivateGatewayParams) SetVpcid(v string)
type CreatePrivateGatewayResponse ¶
type CreatePrivateGatewayResponse struct { JobID string `json:"jobid,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` State string `json:"state,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Zonename string `json:"zonename,omitempty"` Domain string `json:"domain,omitempty"` Sourcenatsupported bool `json:"sourcenatsupported,omitempty"` Zoneid string `json:"zoneid,omitempty"` Aclid string `json:"aclid,omitempty"` Netmask string `json:"netmask,omitempty"` Id string `json:"id,omitempty"` Vlan string `json:"vlan,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` Gateway string `json:"gateway,omitempty"` Vpcid string `json:"vpcid,omitempty"` }
type CreateProjectParams ¶
type CreateProjectParams struct {
// contains filtered or unexported fields
}
func (*CreateProjectParams) SetAccount ¶
func (p *CreateProjectParams) SetAccount(v string)
func (*CreateProjectParams) SetDisplaytext ¶
func (p *CreateProjectParams) SetDisplaytext(v string)
func (*CreateProjectParams) SetDomainid ¶
func (p *CreateProjectParams) SetDomainid(v string)
func (*CreateProjectParams) SetName ¶
func (p *CreateProjectParams) SetName(v string)
type CreateProjectResponse ¶
type CreateProjectResponse struct { JobID string `json:"jobid,omitempty"` Vmstopped int `json:"vmstopped,omitempty"` Primarystoragelimit string `json:"primarystoragelimit,omitempty"` Networktotal int `json:"networktotal,omitempty"` Templatelimit string `json:"templatelimit,omitempty"` Tags []struct { Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Value string `json:"value,omitempty"` Key string `json:"key,omitempty"` Domainid string `json:"domainid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Projectid string `json:"projectid,omitempty"` Project string `json:"project,omitempty"` } `json:"tags,omitempty"` Domainid string `json:"domainid,omitempty"` Cpulimit string `json:"cpulimit,omitempty"` Templateavailable string `json:"templateavailable,omitempty"` Volumetotal int `json:"volumetotal,omitempty"` State string `json:"state,omitempty"` Iplimit string `json:"iplimit,omitempty"` Vmavailable string `json:"vmavailable,omitempty"` Displaytext string `json:"displaytext,omitempty"` Snapshotlimit string `json:"snapshotlimit,omitempty"` Iptotal int `json:"iptotal,omitempty"` Vmrunning int `json:"vmrunning,omitempty"` Cpuavailable string `json:"cpuavailable,omitempty"` Snapshotavailable string `json:"snapshotavailable,omitempty"` Secondarystoragetotal int `json:"secondarystoragetotal,omitempty"` Domain string `json:"domain,omitempty"` Secondarystorageavailable string `json:"secondarystorageavailable,omitempty"` Volumelimit string `json:"volumelimit,omitempty"` Networklimit string `json:"networklimit,omitempty"` Ipavailable string `json:"ipavailable,omitempty"` Networkavailable string `json:"networkavailable,omitempty"` Snapshottotal int `json:"snapshottotal,omitempty"` Vmtotal int `json:"vmtotal,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Name string `json:"name,omitempty"` Vpclimit string `json:"vpclimit,omitempty"` Id string `json:"id,omitempty"` Primarystoragetotal int `json:"primarystoragetotal,omitempty"` Volumeavailable string `json:"volumeavailable,omitempty"` Secondarystoragelimit string `json:"secondarystoragelimit,omitempty"` Memorylimit string `json:"memorylimit,omitempty"` Vpctotal int `json:"vpctotal,omitempty"` Vmlimit string `json:"vmlimit,omitempty"` Cputotal int `json:"cputotal,omitempty"` Memoryavailable string `json:"memoryavailable,omitempty"` Primarystorageavailable string `json:"primarystorageavailable,omitempty"` Account string `json:"account,omitempty"` Templatetotal int `json:"templatetotal,omitempty"` Vpcavailable string `json:"vpcavailable,omitempty"` }
type CreateRemoteAccessVpnParams ¶
type CreateRemoteAccessVpnParams struct {
// contains filtered or unexported fields
}
func (*CreateRemoteAccessVpnParams) SetAccount ¶
func (p *CreateRemoteAccessVpnParams) SetAccount(v string)
func (*CreateRemoteAccessVpnParams) SetDomainid ¶
func (p *CreateRemoteAccessVpnParams) SetDomainid(v string)
func (*CreateRemoteAccessVpnParams) SetIprange ¶
func (p *CreateRemoteAccessVpnParams) SetIprange(v string)
func (*CreateRemoteAccessVpnParams) SetOpenfirewall ¶
func (p *CreateRemoteAccessVpnParams) SetOpenfirewall(v bool)
func (*CreateRemoteAccessVpnParams) SetPublicipid ¶
func (p *CreateRemoteAccessVpnParams) SetPublicipid(v string)
type CreateRemoteAccessVpnResponse ¶
type CreateRemoteAccessVpnResponse struct { JobID string `json:"jobid,omitempty"` Id string `json:"id,omitempty"` State string `json:"state,omitempty"` Publicipid string `json:"publicipid,omitempty"` Domainid string `json:"domainid,omitempty"` Publicip string `json:"publicip,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Iprange string `json:"iprange,omitempty"` }
type CreateSSHKeyPairParams ¶
type CreateSSHKeyPairParams struct {
// contains filtered or unexported fields
}
func (*CreateSSHKeyPairParams) SetAccount ¶
func (p *CreateSSHKeyPairParams) SetAccount(v string)
func (*CreateSSHKeyPairParams) SetDomainid ¶
func (p *CreateSSHKeyPairParams) SetDomainid(v string)
func (*CreateSSHKeyPairParams) SetName ¶
func (p *CreateSSHKeyPairParams) SetName(v string)
func (*CreateSSHKeyPairParams) SetProjectid ¶
func (p *CreateSSHKeyPairParams) SetProjectid(v string)
type CreateSSHKeyPairResponse ¶
type CreateSSHKeyPairResponse struct {
Privatekey string `json:"privatekey,omitempty"`
}
type CreateSecondaryStagingStoreParams ¶
type CreateSecondaryStagingStoreParams struct {
// contains filtered or unexported fields
}
func (*CreateSecondaryStagingStoreParams) SetDetails ¶
func (p *CreateSecondaryStagingStoreParams) SetDetails(v map[string]string)
func (*CreateSecondaryStagingStoreParams) SetProvider ¶
func (p *CreateSecondaryStagingStoreParams) SetProvider(v string)
func (*CreateSecondaryStagingStoreParams) SetScope ¶
func (p *CreateSecondaryStagingStoreParams) SetScope(v string)
func (*CreateSecondaryStagingStoreParams) SetUrl ¶
func (p *CreateSecondaryStagingStoreParams) SetUrl(v string)
func (*CreateSecondaryStagingStoreParams) SetZoneid ¶
func (p *CreateSecondaryStagingStoreParams) SetZoneid(v string)
type CreateSecondaryStagingStoreResponse ¶
type CreateSecondaryStagingStoreResponse struct { Zonename string `json:"zonename,omitempty"` Name string `json:"name,omitempty"` Protocol string `json:"protocol,omitempty"` Url string `json:"url,omitempty"` Scope string `json:"scope,omitempty"` Providername string `json:"providername,omitempty"` Id string `json:"id,omitempty"` Details []string `json:"details,omitempty"` Zoneid string `json:"zoneid,omitempty"` }
type CreateSecurityGroupParams ¶
type CreateSecurityGroupParams struct {
// contains filtered or unexported fields
}
func (*CreateSecurityGroupParams) SetAccount ¶
func (p *CreateSecurityGroupParams) SetAccount(v string)
func (*CreateSecurityGroupParams) SetDescription ¶
func (p *CreateSecurityGroupParams) SetDescription(v string)
func (*CreateSecurityGroupParams) SetDomainid ¶
func (p *CreateSecurityGroupParams) SetDomainid(v string)
func (*CreateSecurityGroupParams) SetName ¶
func (p *CreateSecurityGroupParams) SetName(v string)
func (*CreateSecurityGroupParams) SetProjectid ¶
func (p *CreateSecurityGroupParams) SetProjectid(v string)
type CreateSecurityGroupResponse ¶
type CreateSecurityGroupResponse struct { Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Ingressrule []struct { Icmptype int `json:"icmptype,omitempty"` Endport int `json:"endport,omitempty"` Startport int `json:"startport,omitempty"` Ruleid string `json:"ruleid,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Cidr string `json:"cidr,omitempty"` Account string `json:"account,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Protocol string `json:"protocol,omitempty"` } `json:"ingressrule,omitempty"` Account string `json:"account,omitempty"` Name string `json:"name,omitempty"` Egressrule []struct { Securitygroupname string `json:"securitygroupname,omitempty"` Endport int `json:"endport,omitempty"` Protocol string `json:"protocol,omitempty"` Account string `json:"account,omitempty"` Icmptype int `json:"icmptype,omitempty"` Ruleid string `json:"ruleid,omitempty"` Cidr string `json:"cidr,omitempty"` Startport int `json:"startport,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` } `json:"egressrule,omitempty"` Domain string `json:"domain,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Value string `json:"value,omitempty"` Projectid string `json:"projectid,omitempty"` Customer string `json:"customer,omitempty"` Resourceid string `json:"resourceid,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Key string `json:"key,omitempty"` } `json:"tags,omitempty"` Description string `json:"description,omitempty"` Id string `json:"id,omitempty"` }
type CreateServiceOfferingParams ¶
type CreateServiceOfferingParams struct {
// contains filtered or unexported fields
}
func (*CreateServiceOfferingParams) SetBytesreadrate ¶
func (p *CreateServiceOfferingParams) SetBytesreadrate(v int)
func (*CreateServiceOfferingParams) SetByteswriterate ¶
func (p *CreateServiceOfferingParams) SetByteswriterate(v int)
func (*CreateServiceOfferingParams) SetCpunumber ¶
func (p *CreateServiceOfferingParams) SetCpunumber(v int)
func (*CreateServiceOfferingParams) SetCpuspeed ¶
func (p *CreateServiceOfferingParams) SetCpuspeed(v int)
func (*CreateServiceOfferingParams) SetDeploymentplanner ¶
func (p *CreateServiceOfferingParams) SetDeploymentplanner(v string)
func (*CreateServiceOfferingParams) SetDisplaytext ¶
func (p *CreateServiceOfferingParams) SetDisplaytext(v string)
func (*CreateServiceOfferingParams) SetDomainid ¶
func (p *CreateServiceOfferingParams) SetDomainid(v string)
func (*CreateServiceOfferingParams) SetHosttags ¶
func (p *CreateServiceOfferingParams) SetHosttags(v string)
func (*CreateServiceOfferingParams) SetIopsreadrate ¶
func (p *CreateServiceOfferingParams) SetIopsreadrate(v int)
func (*CreateServiceOfferingParams) SetIopswriterate ¶
func (p *CreateServiceOfferingParams) SetIopswriterate(v int)
func (*CreateServiceOfferingParams) SetIssystem ¶
func (p *CreateServiceOfferingParams) SetIssystem(v bool)
func (*CreateServiceOfferingParams) SetIsvolatile ¶
func (p *CreateServiceOfferingParams) SetIsvolatile(v bool)
func (*CreateServiceOfferingParams) SetLimitcpuuse ¶
func (p *CreateServiceOfferingParams) SetLimitcpuuse(v bool)
func (*CreateServiceOfferingParams) SetMemory ¶
func (p *CreateServiceOfferingParams) SetMemory(v int)
func (*CreateServiceOfferingParams) SetName ¶
func (p *CreateServiceOfferingParams) SetName(v string)
func (*CreateServiceOfferingParams) SetNetworkrate ¶
func (p *CreateServiceOfferingParams) SetNetworkrate(v int)
func (*CreateServiceOfferingParams) SetOfferha ¶
func (p *CreateServiceOfferingParams) SetOfferha(v bool)
func (*CreateServiceOfferingParams) SetServiceofferingdetails ¶
func (p *CreateServiceOfferingParams) SetServiceofferingdetails(v map[string]string)
func (*CreateServiceOfferingParams) SetStoragetype ¶
func (p *CreateServiceOfferingParams) SetStoragetype(v string)
func (*CreateServiceOfferingParams) SetSystemvmtype ¶
func (p *CreateServiceOfferingParams) SetSystemvmtype(v string)
func (*CreateServiceOfferingParams) SetTags ¶
func (p *CreateServiceOfferingParams) SetTags(v string)
type CreateServiceOfferingResponse ¶
type CreateServiceOfferingResponse struct { Memory int `json:"memory,omitempty"` DiskIopsWriteRate int `json:"diskIopsWriteRate,omitempty"` Limitcpuuse bool `json:"limitcpuuse,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Tags string `json:"tags,omitempty"` Offerha bool `json:"offerha,omitempty"` DiskBytesReadRate int `json:"diskBytesReadRate,omitempty"` Displaytext string `json:"displaytext,omitempty"` Id string `json:"id,omitempty"` Deploymentplanner string `json:"deploymentplanner,omitempty"` Storagetype string `json:"storagetype,omitempty"` Issystem bool `json:"issystem,omitempty"` Networkrate int `json:"networkrate,omitempty"` Serviceofferingdetails map[string]string `json:"serviceofferingdetails,omitempty"` Isvolatile bool `json:"isvolatile,omitempty"` Systemvmtype string `json:"systemvmtype,omitempty"` Created string `json:"created,omitempty"` DiskBytesWriteRate int `json:"diskBytesWriteRate,omitempty"` Defaultuse bool `json:"defaultuse,omitempty"` Iscustomized bool `json:"iscustomized,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Name string `json:"name,omitempty"` DiskIopsReadRate int `json:"diskIopsReadRate,omitempty"` Domainid string `json:"domainid,omitempty"` Domain string `json:"domain,omitempty"` }
type CreateSnapshotParams ¶
type CreateSnapshotParams struct {
// contains filtered or unexported fields
}
func (*CreateSnapshotParams) SetAccount ¶
func (p *CreateSnapshotParams) SetAccount(v string)
func (*CreateSnapshotParams) SetDomainid ¶
func (p *CreateSnapshotParams) SetDomainid(v string)
func (*CreateSnapshotParams) SetPolicyid ¶
func (p *CreateSnapshotParams) SetPolicyid(v string)
func (*CreateSnapshotParams) SetQuiescevm ¶
func (p *CreateSnapshotParams) SetQuiescevm(v bool)
func (*CreateSnapshotParams) SetVolumeid ¶
func (p *CreateSnapshotParams) SetVolumeid(v string)
type CreateSnapshotPolicyParams ¶
type CreateSnapshotPolicyParams struct {
// contains filtered or unexported fields
}
func (*CreateSnapshotPolicyParams) SetIntervaltype ¶
func (p *CreateSnapshotPolicyParams) SetIntervaltype(v string)
func (*CreateSnapshotPolicyParams) SetMaxsnaps ¶
func (p *CreateSnapshotPolicyParams) SetMaxsnaps(v int)
func (*CreateSnapshotPolicyParams) SetSchedule ¶
func (p *CreateSnapshotPolicyParams) SetSchedule(v string)
func (*CreateSnapshotPolicyParams) SetTimezone ¶
func (p *CreateSnapshotPolicyParams) SetTimezone(v string)
func (*CreateSnapshotPolicyParams) SetVolumeid ¶
func (p *CreateSnapshotPolicyParams) SetVolumeid(v string)
type CreateSnapshotResponse ¶
type CreateSnapshotResponse struct { JobID string `json:"jobid,omitempty"` Snapshottype string `json:"snapshottype,omitempty"` Zoneid string `json:"zoneid,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` State string `json:"state,omitempty"` Projectid string `json:"projectid,omitempty"` Id string `json:"id,omitempty"` Volumeid string `json:"volumeid,omitempty"` Created string `json:"created,omitempty"` Name string `json:"name,omitempty"` Volumename string `json:"volumename,omitempty"` Revertable bool `json:"revertable,omitempty"` Project string `json:"project,omitempty"` Volumetype string `json:"volumetype,omitempty"` Tags []struct { Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Key string `json:"key,omitempty"` Resourceid string `json:"resourceid,omitempty"` Projectid string `json:"projectid,omitempty"` Value string `json:"value,omitempty"` } `json:"tags,omitempty"` Intervaltype string `json:"intervaltype,omitempty"` Domainid string `json:"domainid,omitempty"` }
type CreateStaticRouteParams ¶
type CreateStaticRouteParams struct {
// contains filtered or unexported fields
}
func (*CreateStaticRouteParams) SetCidr ¶
func (p *CreateStaticRouteParams) SetCidr(v string)
func (*CreateStaticRouteParams) SetGatewayid ¶
func (p *CreateStaticRouteParams) SetGatewayid(v string)
type CreateStaticRouteResponse ¶
type CreateStaticRouteResponse struct { JobID string `json:"jobid,omitempty"` Tags []struct { Project string `json:"project,omitempty"` Key string `json:"key,omitempty"` Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Value string `json:"value,omitempty"` Resourceid string `json:"resourceid,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` } `json:"tags,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` State string `json:"state,omitempty"` Domain string `json:"domain,omitempty"` Cidr string `json:"cidr,omitempty"` Gatewayid string `json:"gatewayid,omitempty"` Projectid string `json:"projectid,omitempty"` Vpcid string `json:"vpcid,omitempty"` Id string `json:"id,omitempty"` }
type CreateStorageNetworkIpRangeParams ¶
type CreateStorageNetworkIpRangeParams struct {
// contains filtered or unexported fields
}
func (*CreateStorageNetworkIpRangeParams) SetEndip ¶
func (p *CreateStorageNetworkIpRangeParams) SetEndip(v string)
func (*CreateStorageNetworkIpRangeParams) SetGateway ¶
func (p *CreateStorageNetworkIpRangeParams) SetGateway(v string)
func (*CreateStorageNetworkIpRangeParams) SetNetmask ¶
func (p *CreateStorageNetworkIpRangeParams) SetNetmask(v string)
func (*CreateStorageNetworkIpRangeParams) SetPodid ¶
func (p *CreateStorageNetworkIpRangeParams) SetPodid(v string)
func (*CreateStorageNetworkIpRangeParams) SetStartip ¶
func (p *CreateStorageNetworkIpRangeParams) SetStartip(v string)
func (*CreateStorageNetworkIpRangeParams) SetVlan ¶
func (p *CreateStorageNetworkIpRangeParams) SetVlan(v int)
type CreateStorageNetworkIpRangeResponse ¶
type CreateStorageNetworkIpRangeResponse struct { JobID string `json:"jobid,omitempty"` Networkid string `json:"networkid,omitempty"` Netmask string `json:"netmask,omitempty"` Podid string `json:"podid,omitempty"` Startip string `json:"startip,omitempty"` Vlan int `json:"vlan,omitempty"` Zoneid string `json:"zoneid,omitempty"` Endip string `json:"endip,omitempty"` Gateway string `json:"gateway,omitempty"` Id string `json:"id,omitempty"` }
type CreateStoragePoolParams ¶
type CreateStoragePoolParams struct {
// contains filtered or unexported fields
}
func (*CreateStoragePoolParams) SetCapacitybytes ¶
func (p *CreateStoragePoolParams) SetCapacitybytes(v int)
func (*CreateStoragePoolParams) SetCapacityiops ¶
func (p *CreateStoragePoolParams) SetCapacityiops(v int)
func (*CreateStoragePoolParams) SetClusterid ¶
func (p *CreateStoragePoolParams) SetClusterid(v string)
func (*CreateStoragePoolParams) SetDetails ¶
func (p *CreateStoragePoolParams) SetDetails(v map[string]string)
func (*CreateStoragePoolParams) SetHypervisor ¶
func (p *CreateStoragePoolParams) SetHypervisor(v string)
func (*CreateStoragePoolParams) SetManaged ¶
func (p *CreateStoragePoolParams) SetManaged(v bool)
func (*CreateStoragePoolParams) SetName ¶
func (p *CreateStoragePoolParams) SetName(v string)
func (*CreateStoragePoolParams) SetPodid ¶
func (p *CreateStoragePoolParams) SetPodid(v string)
func (*CreateStoragePoolParams) SetProvider ¶
func (p *CreateStoragePoolParams) SetProvider(v string)
func (*CreateStoragePoolParams) SetScope ¶
func (p *CreateStoragePoolParams) SetScope(v string)
func (*CreateStoragePoolParams) SetTags ¶
func (p *CreateStoragePoolParams) SetTags(v string)
func (*CreateStoragePoolParams) SetUrl ¶
func (p *CreateStoragePoolParams) SetUrl(v string)
func (*CreateStoragePoolParams) SetZoneid ¶
func (p *CreateStoragePoolParams) SetZoneid(v string)
type CreateStoragePoolResponse ¶
type CreateStoragePoolResponse struct { Disksizetotal int `json:"disksizetotal,omitempty"` Disksizeallocated int `json:"disksizeallocated,omitempty"` Podid string `json:"podid,omitempty"` Zonename string `json:"zonename,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Scope string `json:"scope,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Disksizeused int `json:"disksizeused,omitempty"` Clusterid string `json:"clusterid,omitempty"` Tags string `json:"tags,omitempty"` Capacityiops int `json:"capacityiops,omitempty"` State string `json:"state,omitempty"` Id string `json:"id,omitempty"` Type string `json:"type,omitempty"` Storagecapabilities map[string]string `json:"storagecapabilities,omitempty"` Suitableformigration bool `json:"suitableformigration,omitempty"` Zoneid string `json:"zoneid,omitempty"` Podname string `json:"podname,omitempty"` Clustername string `json:"clustername,omitempty"` Created string `json:"created,omitempty"` Name string `json:"name,omitempty"` Path string `json:"path,omitempty"` }
type CreateTagsParams ¶
type CreateTagsParams struct {
// contains filtered or unexported fields
}
func (*CreateTagsParams) SetCustomer ¶
func (p *CreateTagsParams) SetCustomer(v string)
func (*CreateTagsParams) SetResourceids ¶
func (p *CreateTagsParams) SetResourceids(v []string)
func (*CreateTagsParams) SetResourcetype ¶
func (p *CreateTagsParams) SetResourcetype(v string)
func (*CreateTagsParams) SetTags ¶
func (p *CreateTagsParams) SetTags(v map[string]string)
type CreateTagsResponse ¶
type CreateTemplateParams ¶
type CreateTemplateParams struct {
// contains filtered or unexported fields
}
func (*CreateTemplateParams) SetBits ¶
func (p *CreateTemplateParams) SetBits(v int)
func (*CreateTemplateParams) SetDetails ¶
func (p *CreateTemplateParams) SetDetails(v map[string]string)
func (*CreateTemplateParams) SetDisplaytext ¶
func (p *CreateTemplateParams) SetDisplaytext(v string)
func (*CreateTemplateParams) SetIsdynamicallyscalable ¶
func (p *CreateTemplateParams) SetIsdynamicallyscalable(v bool)
func (*CreateTemplateParams) SetIsfeatured ¶
func (p *CreateTemplateParams) SetIsfeatured(v bool)
func (*CreateTemplateParams) SetIspublic ¶
func (p *CreateTemplateParams) SetIspublic(v bool)
func (*CreateTemplateParams) SetName ¶
func (p *CreateTemplateParams) SetName(v string)
func (*CreateTemplateParams) SetOstypeid ¶
func (p *CreateTemplateParams) SetOstypeid(v string)
func (*CreateTemplateParams) SetPasswordenabled ¶
func (p *CreateTemplateParams) SetPasswordenabled(v bool)
func (*CreateTemplateParams) SetRequireshvm ¶
func (p *CreateTemplateParams) SetRequireshvm(v bool)
func (*CreateTemplateParams) SetSnapshotid ¶
func (p *CreateTemplateParams) SetSnapshotid(v string)
func (*CreateTemplateParams) SetTemplatetag ¶
func (p *CreateTemplateParams) SetTemplatetag(v string)
func (*CreateTemplateParams) SetUrl ¶
func (p *CreateTemplateParams) SetUrl(v string)
func (*CreateTemplateParams) SetVirtualmachineid ¶
func (p *CreateTemplateParams) SetVirtualmachineid(v string)
func (*CreateTemplateParams) SetVolumeid ¶
func (p *CreateTemplateParams) SetVolumeid(v string)
type CreateTemplateResponse ¶
type CreateTemplateResponse struct { JobID string `json:"jobid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Name string `json:"name,omitempty"` Templatetag string `json:"templatetag,omitempty"` Ostypeid string `json:"ostypeid,omitempty"` Id string `json:"id,omitempty"` Isready bool `json:"isready,omitempty"` Project string `json:"project,omitempty"` Sshkeyenabled bool `json:"sshkeyenabled,omitempty"` Domainid string `json:"domainid,omitempty"` Zonename string `json:"zonename,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Isfeatured bool `json:"isfeatured,omitempty"` Hostname string `json:"hostname,omitempty"` Isextractable bool `json:"isextractable,omitempty"` Projectid string `json:"projectid,omitempty"` Templatetype string `json:"templatetype,omitempty"` Details map[string]string `json:"details,omitempty"` Displaytext string `json:"displaytext,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Ispublic bool `json:"ispublic,omitempty"` Checksum string `json:"checksum,omitempty"` Bootable bool `json:"bootable,omitempty"` Sourcetemplateid string `json:"sourcetemplateid,omitempty"` Hostid string `json:"hostid,omitempty"` Format string `json:"format,omitempty"` Tags []struct { Domainid string `json:"domainid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domain string `json:"domain,omitempty"` Key string `json:"key,omitempty"` Projectid string `json:"projectid,omitempty"` Project string `json:"project,omitempty"` Resourceid string `json:"resourceid,omitempty"` Account string `json:"account,omitempty"` Value string `json:"value,omitempty"` Customer string `json:"customer,omitempty"` } `json:"tags,omitempty"` CrossZones bool `json:"crossZones,omitempty"` Created string `json:"created,omitempty"` Status string `json:"status,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Removed string `json:"removed,omitempty"` Ostypename string `json:"ostypename,omitempty"` Accountid string `json:"accountid,omitempty"` Size int `json:"size,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` }
type CreateUserParams ¶
type CreateUserParams struct {
// contains filtered or unexported fields
}
func (*CreateUserParams) SetAccount ¶
func (p *CreateUserParams) SetAccount(v string)
func (*CreateUserParams) SetDomainid ¶
func (p *CreateUserParams) SetDomainid(v string)
func (*CreateUserParams) SetEmail ¶
func (p *CreateUserParams) SetEmail(v string)
func (*CreateUserParams) SetFirstname ¶
func (p *CreateUserParams) SetFirstname(v string)
func (*CreateUserParams) SetLastname ¶
func (p *CreateUserParams) SetLastname(v string)
func (*CreateUserParams) SetPassword ¶
func (p *CreateUserParams) SetPassword(v string)
func (*CreateUserParams) SetTimezone ¶
func (p *CreateUserParams) SetTimezone(v string)
func (*CreateUserParams) SetUserid ¶
func (p *CreateUserParams) SetUserid(v string)
func (*CreateUserParams) SetUsername ¶
func (p *CreateUserParams) SetUsername(v string)
type CreateUserResponse ¶
type CreateUserResponse struct { Domainid string `json:"domainid,omitempty"` Timezone string `json:"timezone,omitempty"` Lastname string `json:"lastname,omitempty"` Apikey string `json:"apikey,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Domain string `json:"domain,omitempty"` State string `json:"state,omitempty"` Accounttype int `json:"accounttype,omitempty"` Accountid string `json:"accountid,omitempty"` Email string `json:"email,omitempty"` Iscallerchilddomain bool `json:"iscallerchilddomain,omitempty"` Account string `json:"account,omitempty"` Secretkey string `json:"secretkey,omitempty"` Firstname string `json:"firstname,omitempty"` Created string `json:"created,omitempty"` Id string `json:"id,omitempty"` Username string `json:"username,omitempty"` }
type CreateVMSnapshotParams ¶
type CreateVMSnapshotParams struct {
// contains filtered or unexported fields
}
func (*CreateVMSnapshotParams) SetDescription ¶
func (p *CreateVMSnapshotParams) SetDescription(v string)
func (*CreateVMSnapshotParams) SetName ¶
func (p *CreateVMSnapshotParams) SetName(v string)
func (*CreateVMSnapshotParams) SetQuiescevm ¶
func (p *CreateVMSnapshotParams) SetQuiescevm(v bool)
func (*CreateVMSnapshotParams) SetSnapshotmemory ¶
func (p *CreateVMSnapshotParams) SetSnapshotmemory(v bool)
func (*CreateVMSnapshotParams) SetVirtualmachineid ¶
func (p *CreateVMSnapshotParams) SetVirtualmachineid(v string)
type CreateVMSnapshotResponse ¶
type CreateVMSnapshotResponse struct { JobID string `json:"jobid,omitempty"` Current bool `json:"current,omitempty"` Id string `json:"id,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Created string `json:"created,omitempty"` Project string `json:"project,omitempty"` Description string `json:"description,omitempty"` Type string `json:"type,omitempty"` Displayname string `json:"displayname,omitempty"` State string `json:"state,omitempty"` Parent string `json:"parent,omitempty"` Domainid string `json:"domainid,omitempty"` ParentName string `json:"parentName,omitempty"` Domain string `json:"domain,omitempty"` Name string `json:"name,omitempty"` Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` }
type CreateVPCOfferingParams ¶
type CreateVPCOfferingParams struct {
// contains filtered or unexported fields
}
func (*CreateVPCOfferingParams) SetDisplaytext ¶
func (p *CreateVPCOfferingParams) SetDisplaytext(v string)
func (*CreateVPCOfferingParams) SetName ¶
func (p *CreateVPCOfferingParams) SetName(v string)
func (*CreateVPCOfferingParams) SetServiceofferingid ¶
func (p *CreateVPCOfferingParams) SetServiceofferingid(v string)
func (*CreateVPCOfferingParams) SetServiceproviderlist ¶
func (p *CreateVPCOfferingParams) SetServiceproviderlist(v map[string]string)
func (*CreateVPCOfferingParams) SetSupportedservices ¶
func (p *CreateVPCOfferingParams) SetSupportedservices(v []string)
type CreateVPCOfferingResponse ¶
type CreateVPCOfferingResponse struct { JobID string `json:"jobid,omitempty"` Displaytext string `json:"displaytext,omitempty"` State string `json:"state,omitempty"` Service []struct { Provider []struct { Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Servicelist []string `json:"servicelist,omitempty"` Name string `json:"name,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Id string `json:"id,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` State string `json:"state,omitempty"` } `json:"provider,omitempty"` Name string `json:"name,omitempty"` Capability []struct { Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` } `json:"capability,omitempty"` } `json:"service,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Created string `json:"created,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` }
type CreateVPCParams ¶
type CreateVPCParams struct {
// contains filtered or unexported fields
}
func (*CreateVPCParams) SetAccount ¶
func (p *CreateVPCParams) SetAccount(v string)
func (*CreateVPCParams) SetCidr ¶
func (p *CreateVPCParams) SetCidr(v string)
func (*CreateVPCParams) SetDisplaytext ¶
func (p *CreateVPCParams) SetDisplaytext(v string)
func (*CreateVPCParams) SetDomainid ¶
func (p *CreateVPCParams) SetDomainid(v string)
func (*CreateVPCParams) SetName ¶
func (p *CreateVPCParams) SetName(v string)
func (*CreateVPCParams) SetNetworkdomain ¶
func (p *CreateVPCParams) SetNetworkdomain(v string)
func (*CreateVPCParams) SetProjectid ¶
func (p *CreateVPCParams) SetProjectid(v string)
func (*CreateVPCParams) SetStart ¶
func (p *CreateVPCParams) SetStart(v bool)
func (*CreateVPCParams) SetVpcofferingid ¶
func (p *CreateVPCParams) SetVpcofferingid(v string)
func (*CreateVPCParams) SetZoneid ¶
func (p *CreateVPCParams) SetZoneid(v string)
type CreateVPCResponse ¶
type CreateVPCResponse struct { JobID string `json:"jobid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Tags []struct { Resourceid string `json:"resourceid,omitempty"` Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` Key string `json:"key,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Project string `json:"project,omitempty"` Value string `json:"value,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"tags,omitempty"` Restartrequired bool `json:"restartrequired,omitempty"` Id string `json:"id,omitempty"` Displaytext string `json:"displaytext,omitempty"` Projectid string `json:"projectid,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Name string `json:"name,omitempty"` Vpcofferingid string `json:"vpcofferingid,omitempty"` State string `json:"state,omitempty"` Created string `json:"created,omitempty"` Service []struct { Name string `json:"name,omitempty"` Provider []struct { Name string `json:"name,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Servicelist []string `json:"servicelist,omitempty"` State string `json:"state,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Id string `json:"id,omitempty"` } `json:"provider,omitempty"` Capability []struct { Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` Value string `json:"value,omitempty"` Name string `json:"name,omitempty"` } `json:"capability,omitempty"` } `json:"service,omitempty"` Network []struct { Reservediprange string `json:"reservediprange,omitempty"` Networkcidr string `json:"networkcidr,omitempty"` Id string `json:"id,omitempty"` Vlan string `json:"vlan,omitempty"` Zonename string `json:"zonename,omitempty"` Ispersistent bool `json:"ispersistent,omitempty"` Acltype string `json:"acltype,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Tags []struct { Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Value string `json:"value,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Customer string `json:"customer,omitempty"` Key string `json:"key,omitempty"` Projectid string `json:"projectid,omitempty"` } `json:"tags,omitempty"` Account string `json:"account,omitempty"` Displaynetwork bool `json:"displaynetwork,omitempty"` Canusefordeploy bool `json:"canusefordeploy,omitempty"` Projectid string `json:"projectid,omitempty"` Networkofferingdisplaytext string `json:"networkofferingdisplaytext,omitempty"` Gateway string `json:"gateway,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Restartrequired bool `json:"restartrequired,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Aclid string `json:"aclid,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Subdomainaccess bool `json:"subdomainaccess,omitempty"` Issystem bool `json:"issystem,omitempty"` Displaytext string `json:"displaytext,omitempty"` Vpcid string `json:"vpcid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Networkofferingname string `json:"networkofferingname,omitempty"` Related string `json:"related,omitempty"` State string `json:"state,omitempty"` Specifyipranges bool `json:"specifyipranges,omitempty"` Networkofferingid string `json:"networkofferingid,omitempty"` Netmask string `json:"netmask,omitempty"` Traffictype string `json:"traffictype,omitempty"` Networkofferingconservemode bool `json:"networkofferingconservemode,omitempty"` Name string `json:"name,omitempty"` Domainid string `json:"domainid,omitempty"` Broadcastdomaintype string `json:"broadcastdomaintype,omitempty"` Dns2 string `json:"dns2,omitempty"` Dns1 string `json:"dns1,omitempty"` Cidr string `json:"cidr,omitempty"` Service []struct { Name string `json:"name,omitempty"` Provider []struct { State string `json:"state,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Name string `json:"name,omitempty"` Servicelist []string `json:"servicelist,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Id string `json:"id,omitempty"` } `json:"provider,omitempty"` Capability []struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` } `json:"capability,omitempty"` } `json:"service,omitempty"` Domain string `json:"domain,omitempty"` Networkofferingavailability string `json:"networkofferingavailability,omitempty"` Type string `json:"type,omitempty"` Project string `json:"project,omitempty"` } `json:"network,omitempty"` Zonename string `json:"zonename,omitempty"` Domainid string `json:"domainid,omitempty"` Cidr string `json:"cidr,omitempty"` Account string `json:"account,omitempty"` }
type CreateVirtualRouterElementParams ¶
type CreateVirtualRouterElementParams struct {
// contains filtered or unexported fields
}
func (*CreateVirtualRouterElementParams) SetNspid ¶
func (p *CreateVirtualRouterElementParams) SetNspid(v string)
func (*CreateVirtualRouterElementParams) SetProvidertype ¶
func (p *CreateVirtualRouterElementParams) SetProvidertype(v string)
type CreateVirtualRouterElementResponse ¶
type CreateVirtualRouterElementResponse struct { JobID string `json:"jobid,omitempty"` Nspid string `json:"nspid,omitempty"` Account string `json:"account,omitempty"` Id string `json:"id,omitempty"` Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` Enabled bool `json:"enabled,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` }
type CreateVlanIpRangeParams ¶
type CreateVlanIpRangeParams struct {
// contains filtered or unexported fields
}
func (*CreateVlanIpRangeParams) SetAccount ¶
func (p *CreateVlanIpRangeParams) SetAccount(v string)
func (*CreateVlanIpRangeParams) SetDomainid ¶
func (p *CreateVlanIpRangeParams) SetDomainid(v string)
func (*CreateVlanIpRangeParams) SetEndip ¶
func (p *CreateVlanIpRangeParams) SetEndip(v string)
func (*CreateVlanIpRangeParams) SetEndipv6 ¶
func (p *CreateVlanIpRangeParams) SetEndipv6(v string)
func (*CreateVlanIpRangeParams) SetForvirtualnetwork ¶
func (p *CreateVlanIpRangeParams) SetForvirtualnetwork(v bool)
func (*CreateVlanIpRangeParams) SetGateway ¶
func (p *CreateVlanIpRangeParams) SetGateway(v string)
func (*CreateVlanIpRangeParams) SetIp6cidr ¶
func (p *CreateVlanIpRangeParams) SetIp6cidr(v string)
func (*CreateVlanIpRangeParams) SetIp6gateway ¶
func (p *CreateVlanIpRangeParams) SetIp6gateway(v string)
func (*CreateVlanIpRangeParams) SetNetmask ¶
func (p *CreateVlanIpRangeParams) SetNetmask(v string)
func (*CreateVlanIpRangeParams) SetNetworkid ¶
func (p *CreateVlanIpRangeParams) SetNetworkid(v string)
func (*CreateVlanIpRangeParams) SetPhysicalnetworkid ¶
func (p *CreateVlanIpRangeParams) SetPhysicalnetworkid(v string)
func (*CreateVlanIpRangeParams) SetPodid ¶
func (p *CreateVlanIpRangeParams) SetPodid(v string)
func (*CreateVlanIpRangeParams) SetProjectid ¶
func (p *CreateVlanIpRangeParams) SetProjectid(v string)
func (*CreateVlanIpRangeParams) SetStartip ¶
func (p *CreateVlanIpRangeParams) SetStartip(v string)
func (*CreateVlanIpRangeParams) SetStartipv6 ¶
func (p *CreateVlanIpRangeParams) SetStartipv6(v string)
func (*CreateVlanIpRangeParams) SetVlan ¶
func (p *CreateVlanIpRangeParams) SetVlan(v string)
func (*CreateVlanIpRangeParams) SetZoneid ¶
func (p *CreateVlanIpRangeParams) SetZoneid(v string)
type CreateVlanIpRangeResponse ¶
type CreateVlanIpRangeResponse struct { Startipv6 string `json:"startipv6,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Zoneid string `json:"zoneid,omitempty"` Netmask string `json:"netmask,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Startip string `json:"startip,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Domain string `json:"domain,omitempty"` Networkid string `json:"networkid,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Description string `json:"description,omitempty"` Domainid string `json:"domainid,omitempty"` Podid string `json:"podid,omitempty"` Projectid string `json:"projectid,omitempty"` Id string `json:"id,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Endipv6 string `json:"endipv6,omitempty"` Vlan string `json:"vlan,omitempty"` Endip string `json:"endip,omitempty"` Gateway string `json:"gateway,omitempty"` Podname string `json:"podname,omitempty"` }
type CreateVolumeParams ¶
type CreateVolumeParams struct {
// contains filtered or unexported fields
}
func (*CreateVolumeParams) SetAccount ¶
func (p *CreateVolumeParams) SetAccount(v string)
func (*CreateVolumeParams) SetDiskofferingid ¶
func (p *CreateVolumeParams) SetDiskofferingid(v string)
func (*CreateVolumeParams) SetDisplayvolume ¶
func (p *CreateVolumeParams) SetDisplayvolume(v bool)
func (*CreateVolumeParams) SetDomainid ¶
func (p *CreateVolumeParams) SetDomainid(v string)
func (*CreateVolumeParams) SetMaxiops ¶
func (p *CreateVolumeParams) SetMaxiops(v int)
func (*CreateVolumeParams) SetMiniops ¶
func (p *CreateVolumeParams) SetMiniops(v int)
func (*CreateVolumeParams) SetName ¶
func (p *CreateVolumeParams) SetName(v string)
func (*CreateVolumeParams) SetProjectid ¶
func (p *CreateVolumeParams) SetProjectid(v string)
func (*CreateVolumeParams) SetSize ¶
func (p *CreateVolumeParams) SetSize(v int)
func (*CreateVolumeParams) SetSnapshotid ¶
func (p *CreateVolumeParams) SetSnapshotid(v string)
func (*CreateVolumeParams) SetVirtualmachineid ¶
func (p *CreateVolumeParams) SetVirtualmachineid(v string)
func (*CreateVolumeParams) SetZoneid ¶
func (p *CreateVolumeParams) SetZoneid(v string)
type CreateVolumeResponse ¶
type CreateVolumeResponse struct { JobID string `json:"jobid,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Displayvolume bool `json:"displayvolume,omitempty"` Zonename string `json:"zonename,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Size int `json:"size,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Projectid string `json:"projectid,omitempty"` Miniops int `json:"miniops,omitempty"` Diskofferingdisplaytext string `json:"diskofferingdisplaytext,omitempty"` Destroyed bool `json:"destroyed,omitempty"` Created string `json:"created,omitempty"` DiskIopsWriteRate int `json:"diskIopsWriteRate,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Type string `json:"type,omitempty"` Maxiops int `json:"maxiops,omitempty"` Storagetype string `json:"storagetype,omitempty"` Vmname string `json:"vmname,omitempty"` DiskIopsReadRate int `json:"diskIopsReadRate,omitempty"` Status string `json:"status,omitempty"` Isextractable bool `json:"isextractable,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Key string `json:"key,omitempty"` Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Projectid string `json:"projectid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Project string `json:"project,omitempty"` Value string `json:"value,omitempty"` Account string `json:"account,omitempty"` } `json:"tags,omitempty"` DiskBytesWriteRate int `json:"diskBytesWriteRate,omitempty"` Diskofferingname string `json:"diskofferingname,omitempty"` Zoneid string `json:"zoneid,omitempty"` Path string `json:"path,omitempty"` Attached string `json:"attached,omitempty"` Quiescevm bool `json:"quiescevm,omitempty"` Domain string `json:"domain,omitempty"` DiskBytesReadRate int `json:"diskBytesReadRate,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Diskofferingid string `json:"diskofferingid,omitempty"` State string `json:"state,omitempty"` Snapshotid string `json:"snapshotid,omitempty"` Storage string `json:"storage,omitempty"` Domainid string `json:"domainid,omitempty"` Storageid string `json:"storageid,omitempty"` Deviceid int `json:"deviceid,omitempty"` Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext,omitempty"` Vmstate string `json:"vmstate,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` Vmdisplayname string `json:"vmdisplayname,omitempty"` }
type CreateVpnConnectionParams ¶
type CreateVpnConnectionParams struct {
// contains filtered or unexported fields
}
func (*CreateVpnConnectionParams) SetPassive ¶
func (p *CreateVpnConnectionParams) SetPassive(v bool)
func (*CreateVpnConnectionParams) SetS2scustomergatewayid ¶
func (p *CreateVpnConnectionParams) SetS2scustomergatewayid(v string)
func (*CreateVpnConnectionParams) SetS2svpngatewayid ¶
func (p *CreateVpnConnectionParams) SetS2svpngatewayid(v string)
type CreateVpnConnectionResponse ¶
type CreateVpnConnectionResponse struct { JobID string `json:"jobid,omitempty"` S2scustomergatewayid string `json:"s2scustomergatewayid,omitempty"` Created string `json:"created,omitempty"` S2svpngatewayid string `json:"s2svpngatewayid,omitempty"` Ipsecpsk string `json:"ipsecpsk,omitempty"` Account string `json:"account,omitempty"` Esplifetime int `json:"esplifetime,omitempty"` Removed string `json:"removed,omitempty"` Domainid string `json:"domainid,omitempty"` Publicip string `json:"publicip,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` State string `json:"state,omitempty"` Projectid string `json:"projectid,omitempty"` Dpd bool `json:"dpd,omitempty"` Passive bool `json:"passive,omitempty"` Domain string `json:"domain,omitempty"` Id string `json:"id,omitempty"` Ikelifetime int `json:"ikelifetime,omitempty"` Ikepolicy string `json:"ikepolicy,omitempty"` Esppolicy string `json:"esppolicy,omitempty"` Gateway string `json:"gateway,omitempty"` Project string `json:"project,omitempty"` }
type CreateVpnCustomerGatewayParams ¶
type CreateVpnCustomerGatewayParams struct {
// contains filtered or unexported fields
}
func (*CreateVpnCustomerGatewayParams) SetAccount ¶
func (p *CreateVpnCustomerGatewayParams) SetAccount(v string)
func (*CreateVpnCustomerGatewayParams) SetCidrlist ¶
func (p *CreateVpnCustomerGatewayParams) SetCidrlist(v string)
func (*CreateVpnCustomerGatewayParams) SetDomainid ¶
func (p *CreateVpnCustomerGatewayParams) SetDomainid(v string)
func (*CreateVpnCustomerGatewayParams) SetDpd ¶
func (p *CreateVpnCustomerGatewayParams) SetDpd(v bool)
func (*CreateVpnCustomerGatewayParams) SetEsplifetime ¶
func (p *CreateVpnCustomerGatewayParams) SetEsplifetime(v int)
func (*CreateVpnCustomerGatewayParams) SetEsppolicy ¶
func (p *CreateVpnCustomerGatewayParams) SetEsppolicy(v string)
func (*CreateVpnCustomerGatewayParams) SetGateway ¶
func (p *CreateVpnCustomerGatewayParams) SetGateway(v string)
func (*CreateVpnCustomerGatewayParams) SetIkelifetime ¶
func (p *CreateVpnCustomerGatewayParams) SetIkelifetime(v int)
func (*CreateVpnCustomerGatewayParams) SetIkepolicy ¶
func (p *CreateVpnCustomerGatewayParams) SetIkepolicy(v string)
func (*CreateVpnCustomerGatewayParams) SetIpsecpsk ¶
func (p *CreateVpnCustomerGatewayParams) SetIpsecpsk(v string)
func (*CreateVpnCustomerGatewayParams) SetName ¶
func (p *CreateVpnCustomerGatewayParams) SetName(v string)
type CreateVpnCustomerGatewayResponse ¶
type CreateVpnCustomerGatewayResponse struct { JobID string `json:"jobid,omitempty"` Esplifetime int `json:"esplifetime,omitempty"` Ipsecpsk string `json:"ipsecpsk,omitempty"` Ikepolicy string `json:"ikepolicy,omitempty"` Esppolicy string `json:"esppolicy,omitempty"` Removed string `json:"removed,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Account string `json:"account,omitempty"` Gateway string `json:"gateway,omitempty"` Ikelifetime int `json:"ikelifetime,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Dpd bool `json:"dpd,omitempty"` }
type CreateVpnGatewayParams ¶
type CreateVpnGatewayParams struct {
// contains filtered or unexported fields
}
func (*CreateVpnGatewayParams) SetVpcid ¶
func (p *CreateVpnGatewayParams) SetVpcid(v string)
type CreateVpnGatewayResponse ¶
type CreateVpnGatewayResponse struct { JobID string `json:"jobid,omitempty"` Projectid string `json:"projectid,omitempty"` Id string `json:"id,omitempty"` Removed string `json:"removed,omitempty"` Account string `json:"account,omitempty"` Vpcid string `json:"vpcid,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Publicip string `json:"publicip,omitempty"` }
type CreateZoneParams ¶
type CreateZoneParams struct {
// contains filtered or unexported fields
}
func (*CreateZoneParams) SetAllocationstate ¶
func (p *CreateZoneParams) SetAllocationstate(v string)
func (*CreateZoneParams) SetDns1 ¶
func (p *CreateZoneParams) SetDns1(v string)
func (*CreateZoneParams) SetDns2 ¶
func (p *CreateZoneParams) SetDns2(v string)
func (*CreateZoneParams) SetDomain ¶
func (p *CreateZoneParams) SetDomain(v string)
func (*CreateZoneParams) SetDomainid ¶
func (p *CreateZoneParams) SetDomainid(v string)
func (*CreateZoneParams) SetGuestcidraddress ¶
func (p *CreateZoneParams) SetGuestcidraddress(v string)
func (*CreateZoneParams) SetInternaldns1 ¶
func (p *CreateZoneParams) SetInternaldns1(v string)
func (*CreateZoneParams) SetInternaldns2 ¶
func (p *CreateZoneParams) SetInternaldns2(v string)
func (*CreateZoneParams) SetIp6dns1 ¶
func (p *CreateZoneParams) SetIp6dns1(v string)
func (*CreateZoneParams) SetIp6dns2 ¶
func (p *CreateZoneParams) SetIp6dns2(v string)
func (*CreateZoneParams) SetLocalstorageenabled ¶
func (p *CreateZoneParams) SetLocalstorageenabled(v bool)
func (*CreateZoneParams) SetName ¶
func (p *CreateZoneParams) SetName(v string)
func (*CreateZoneParams) SetNetworktype ¶
func (p *CreateZoneParams) SetNetworktype(v string)
func (*CreateZoneParams) SetSecuritygroupenabled ¶
func (p *CreateZoneParams) SetSecuritygroupenabled(v bool)
type CreateZoneResponse ¶
type CreateZoneResponse struct { Tags []struct { Customer string `json:"customer,omitempty"` Domain string `json:"domain,omitempty"` Resourceid string `json:"resourceid,omitempty"` Account string `json:"account,omitempty"` Key string `json:"key,omitempty"` Domainid string `json:"domainid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Value string `json:"value,omitempty"` } `json:"tags,omitempty"` Networktype string `json:"networktype,omitempty"` Internaldns1 string `json:"internaldns1,omitempty"` Zonetoken string `json:"zonetoken,omitempty"` Dns2 string `json:"dns2,omitempty"` Dns1 string `json:"dns1,omitempty"` Guestcidraddress string `json:"guestcidraddress,omitempty"` Domain string `json:"domain,omitempty"` Capacity []struct { Podid string `json:"podid,omitempty"` Podname string `json:"podname,omitempty"` Percentused string `json:"percentused,omitempty"` Clusterid string `json:"clusterid,omitempty"` Capacitytotal int `json:"capacitytotal,omitempty"` Clustername string `json:"clustername,omitempty"` Zonename string `json:"zonename,omitempty"` Type int `json:"type,omitempty"` Capacityused int `json:"capacityused,omitempty"` Zoneid string `json:"zoneid,omitempty"` } `json:"capacity,omitempty"` Securitygroupsenabled bool `json:"securitygroupsenabled,omitempty"` Ip6dns2 string `json:"ip6dns2,omitempty"` Ip6dns1 string `json:"ip6dns1,omitempty"` Id string `json:"id,omitempty"` Internaldns2 string `json:"internaldns2,omitempty"` Displaytext string `json:"displaytext,omitempty"` Domainname string `json:"domainname,omitempty"` Resourcedetails map[string]string `json:"resourcedetails,omitempty"` Description string `json:"description,omitempty"` Vlan string `json:"vlan,omitempty"` Dhcpprovider string `json:"dhcpprovider,omitempty"` Name string `json:"name,omitempty"` Allocationstate string `json:"allocationstate,omitempty"` Domainid string `json:"domainid,omitempty"` Localstorageenabled bool `json:"localstorageenabled,omitempty"` }
type DedicateClusterParams ¶
type DedicateClusterParams struct {
// contains filtered or unexported fields
}
func (*DedicateClusterParams) SetAccount ¶
func (p *DedicateClusterParams) SetAccount(v string)
func (*DedicateClusterParams) SetClusterid ¶
func (p *DedicateClusterParams) SetClusterid(v string)
func (*DedicateClusterParams) SetDomainid ¶
func (p *DedicateClusterParams) SetDomainid(v string)
type DedicateClusterResponse ¶
type DedicateClusterResponse struct { JobID string `json:"jobid,omitempty"` Affinitygroupid string `json:"affinitygroupid,omitempty"` Id string `json:"id,omitempty"` Clustername string `json:"clustername,omitempty"` Clusterid string `json:"clusterid,omitempty"` Domainid string `json:"domainid,omitempty"` Accountid string `json:"accountid,omitempty"` }
type DedicateGuestVlanRangeParams ¶
type DedicateGuestVlanRangeParams struct {
// contains filtered or unexported fields
}
func (*DedicateGuestVlanRangeParams) SetAccount ¶
func (p *DedicateGuestVlanRangeParams) SetAccount(v string)
func (*DedicateGuestVlanRangeParams) SetDomainid ¶
func (p *DedicateGuestVlanRangeParams) SetDomainid(v string)
func (*DedicateGuestVlanRangeParams) SetPhysicalnetworkid ¶
func (p *DedicateGuestVlanRangeParams) SetPhysicalnetworkid(v string)
func (*DedicateGuestVlanRangeParams) SetProjectid ¶
func (p *DedicateGuestVlanRangeParams) SetProjectid(v string)
func (*DedicateGuestVlanRangeParams) SetVlanrange ¶
func (p *DedicateGuestVlanRangeParams) SetVlanrange(v string)
type DedicateGuestVlanRangeResponse ¶
type DedicateGuestVlanRangeResponse struct { Guestvlanrange string `json:"guestvlanrange,omitempty"` Zoneid int `json:"zoneid,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Id string `json:"id,omitempty"` Account string `json:"account,omitempty"` Physicalnetworkid int `json:"physicalnetworkid,omitempty"` Projectid string `json:"projectid,omitempty"` }
type DedicateHostParams ¶
type DedicateHostParams struct {
// contains filtered or unexported fields
}
func (*DedicateHostParams) SetAccount ¶
func (p *DedicateHostParams) SetAccount(v string)
func (*DedicateHostParams) SetDomainid ¶
func (p *DedicateHostParams) SetDomainid(v string)
func (*DedicateHostParams) SetHostid ¶
func (p *DedicateHostParams) SetHostid(v string)
type DedicateHostResponse ¶
type DedicateHostResponse struct { JobID string `json:"jobid,omitempty"` Id string `json:"id,omitempty"` Affinitygroupid string `json:"affinitygroupid,omitempty"` Accountid string `json:"accountid,omitempty"` Hostname string `json:"hostname,omitempty"` Domainid string `json:"domainid,omitempty"` Hostid string `json:"hostid,omitempty"` }
type DedicatePodParams ¶
type DedicatePodParams struct {
// contains filtered or unexported fields
}
func (*DedicatePodParams) SetAccount ¶
func (p *DedicatePodParams) SetAccount(v string)
func (*DedicatePodParams) SetDomainid ¶
func (p *DedicatePodParams) SetDomainid(v string)
func (*DedicatePodParams) SetPodid ¶
func (p *DedicatePodParams) SetPodid(v string)
type DedicatePodResponse ¶
type DedicatePodResponse struct { JobID string `json:"jobid,omitempty"` Id string `json:"id,omitempty"` Podname string `json:"podname,omitempty"` Affinitygroupid string `json:"affinitygroupid,omitempty"` Podid string `json:"podid,omitempty"` Accountid string `json:"accountid,omitempty"` Domainid string `json:"domainid,omitempty"` }
type DedicatePublicIpRangeParams ¶
type DedicatePublicIpRangeParams struct {
// contains filtered or unexported fields
}
func (*DedicatePublicIpRangeParams) SetAccount ¶
func (p *DedicatePublicIpRangeParams) SetAccount(v string)
func (*DedicatePublicIpRangeParams) SetDomainid ¶
func (p *DedicatePublicIpRangeParams) SetDomainid(v string)
func (*DedicatePublicIpRangeParams) SetId ¶
func (p *DedicatePublicIpRangeParams) SetId(v string)
func (*DedicatePublicIpRangeParams) SetProjectid ¶
func (p *DedicatePublicIpRangeParams) SetProjectid(v string)
type DedicatePublicIpRangeResponse ¶
type DedicatePublicIpRangeResponse struct { Startipv6 string `json:"startipv6,omitempty"` Projectid string `json:"projectid,omitempty"` Project string `json:"project,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Account string `json:"account,omitempty"` Gateway string `json:"gateway,omitempty"` Zoneid string `json:"zoneid,omitempty"` Domain string `json:"domain,omitempty"` Podid string `json:"podid,omitempty"` Netmask string `json:"netmask,omitempty"` Networkid string `json:"networkid,omitempty"` Endip string `json:"endip,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Domainid string `json:"domainid,omitempty"` Description string `json:"description,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Vlan string `json:"vlan,omitempty"` Id string `json:"id,omitempty"` Podname string `json:"podname,omitempty"` Endipv6 string `json:"endipv6,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Startip string `json:"startip,omitempty"` }
type DedicateZoneParams ¶
type DedicateZoneParams struct {
// contains filtered or unexported fields
}
func (*DedicateZoneParams) SetAccount ¶
func (p *DedicateZoneParams) SetAccount(v string)
func (*DedicateZoneParams) SetDomainid ¶
func (p *DedicateZoneParams) SetDomainid(v string)
func (*DedicateZoneParams) SetZoneid ¶
func (p *DedicateZoneParams) SetZoneid(v string)
type DedicateZoneResponse ¶
type DedicateZoneResponse struct { JobID string `json:"jobid,omitempty"` Zonename string `json:"zonename,omitempty"` Zoneid string `json:"zoneid,omitempty"` Affinitygroupid string `json:"affinitygroupid,omitempty"` Domainid string `json:"domainid,omitempty"` Accountid string `json:"accountid,omitempty"` Id string `json:"id,omitempty"` }
type DedicatedCluster ¶
type DedicatedCluster struct { Id string `json:"id,omitempty"` Affinitygroupid string `json:"affinitygroupid,omitempty"` Clusterid string `json:"clusterid,omitempty"` Domainid string `json:"domainid,omitempty"` Accountid string `json:"accountid,omitempty"` Clustername string `json:"clustername,omitempty"` }
type DedicatedGuestVlanRange ¶
type DedicatedGuestVlanRange struct { Physicalnetworkid int `json:"physicalnetworkid,omitempty"` Projectid string `json:"projectid,omitempty"` Id string `json:"id,omitempty"` Project string `json:"project,omitempty"` Zoneid int `json:"zoneid,omitempty"` Domain string `json:"domain,omitempty"` Guestvlanrange string `json:"guestvlanrange,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` }
type DedicatedHost ¶
type DedicatedPod ¶
type DedicatedZone ¶
type DeleteAccountFromProjectParams ¶
type DeleteAccountFromProjectParams struct {
// contains filtered or unexported fields
}
func (*DeleteAccountFromProjectParams) SetAccount ¶
func (p *DeleteAccountFromProjectParams) SetAccount(v string)
func (*DeleteAccountFromProjectParams) SetProjectid ¶
func (p *DeleteAccountFromProjectParams) SetProjectid(v string)
type DeleteAccountParams ¶
type DeleteAccountParams struct {
// contains filtered or unexported fields
}
func (*DeleteAccountParams) SetId ¶
func (p *DeleteAccountParams) SetId(v string)
type DeleteAccountResponse ¶
type DeleteAffinityGroupParams ¶
type DeleteAffinityGroupParams struct {
// contains filtered or unexported fields
}
func (*DeleteAffinityGroupParams) SetAccount ¶
func (p *DeleteAffinityGroupParams) SetAccount(v string)
func (*DeleteAffinityGroupParams) SetDomainid ¶
func (p *DeleteAffinityGroupParams) SetDomainid(v string)
func (*DeleteAffinityGroupParams) SetId ¶
func (p *DeleteAffinityGroupParams) SetId(v string)
func (*DeleteAffinityGroupParams) SetName ¶
func (p *DeleteAffinityGroupParams) SetName(v string)
type DeleteAlertsParams ¶
type DeleteAlertsParams struct {
// contains filtered or unexported fields
}
func (*DeleteAlertsParams) SetEnddate ¶
func (p *DeleteAlertsParams) SetEnddate(v string)
func (*DeleteAlertsParams) SetIds ¶
func (p *DeleteAlertsParams) SetIds(v []string)
func (*DeleteAlertsParams) SetStartdate ¶
func (p *DeleteAlertsParams) SetStartdate(v string)
func (*DeleteAlertsParams) SetType ¶
func (p *DeleteAlertsParams) SetType(v string)
type DeleteAlertsResponse ¶
type DeleteAutoScalePolicyParams ¶
type DeleteAutoScalePolicyParams struct {
// contains filtered or unexported fields
}
func (*DeleteAutoScalePolicyParams) SetId ¶
func (p *DeleteAutoScalePolicyParams) SetId(v string)
type DeleteAutoScaleVmGroupParams ¶
type DeleteAutoScaleVmGroupParams struct {
// contains filtered or unexported fields
}
func (*DeleteAutoScaleVmGroupParams) SetId ¶
func (p *DeleteAutoScaleVmGroupParams) SetId(v string)
type DeleteAutoScaleVmProfileParams ¶
type DeleteAutoScaleVmProfileParams struct {
// contains filtered or unexported fields
}
func (*DeleteAutoScaleVmProfileParams) SetId ¶
func (p *DeleteAutoScaleVmProfileParams) SetId(v string)
type DeleteBigSwitchVnsDeviceParams ¶
type DeleteBigSwitchVnsDeviceParams struct {
// contains filtered or unexported fields
}
func (*DeleteBigSwitchVnsDeviceParams) SetVnsdeviceid ¶
func (p *DeleteBigSwitchVnsDeviceParams) SetVnsdeviceid(v string)
type DeleteCiscoAsa1000vResourceParams ¶
type DeleteCiscoAsa1000vResourceParams struct {
// contains filtered or unexported fields
}
func (*DeleteCiscoAsa1000vResourceParams) SetResourceid ¶
func (p *DeleteCiscoAsa1000vResourceParams) SetResourceid(v string)
type DeleteCiscoNexusVSMParams ¶
type DeleteCiscoNexusVSMParams struct {
// contains filtered or unexported fields
}
func (*DeleteCiscoNexusVSMParams) SetId ¶
func (p *DeleteCiscoNexusVSMParams) SetId(v string)
type DeleteCiscoVnmcResourceParams ¶
type DeleteCiscoVnmcResourceParams struct {
// contains filtered or unexported fields
}
func (*DeleteCiscoVnmcResourceParams) SetResourceid ¶
func (p *DeleteCiscoVnmcResourceParams) SetResourceid(v string)
type DeleteClusterParams ¶
type DeleteClusterParams struct {
// contains filtered or unexported fields
}
func (*DeleteClusterParams) SetId ¶
func (p *DeleteClusterParams) SetId(v string)
type DeleteClusterResponse ¶
type DeleteConditionParams ¶
type DeleteConditionParams struct {
// contains filtered or unexported fields
}
func (*DeleteConditionParams) SetId ¶
func (p *DeleteConditionParams) SetId(v string)
type DeleteConditionResponse ¶
type DeleteCounterParams ¶
type DeleteCounterParams struct {
// contains filtered or unexported fields
}
func (*DeleteCounterParams) SetId ¶
func (p *DeleteCounterParams) SetId(v string)
type DeleteCounterResponse ¶
type DeleteDiskOfferingParams ¶
type DeleteDiskOfferingParams struct {
// contains filtered or unexported fields
}
func (*DeleteDiskOfferingParams) SetId ¶
func (p *DeleteDiskOfferingParams) SetId(v string)
type DeleteDomainParams ¶
type DeleteDomainParams struct {
// contains filtered or unexported fields
}
func (*DeleteDomainParams) SetCleanup ¶
func (p *DeleteDomainParams) SetCleanup(v bool)
func (*DeleteDomainParams) SetId ¶
func (p *DeleteDomainParams) SetId(v string)
type DeleteDomainResponse ¶
type DeleteEgressFirewallRuleParams ¶
type DeleteEgressFirewallRuleParams struct {
// contains filtered or unexported fields
}
func (*DeleteEgressFirewallRuleParams) SetId ¶
func (p *DeleteEgressFirewallRuleParams) SetId(v string)
type DeleteEventsParams ¶
type DeleteEventsParams struct {
// contains filtered or unexported fields
}
func (*DeleteEventsParams) SetEnddate ¶
func (p *DeleteEventsParams) SetEnddate(v string)
func (*DeleteEventsParams) SetIds ¶
func (p *DeleteEventsParams) SetIds(v []string)
func (*DeleteEventsParams) SetStartdate ¶
func (p *DeleteEventsParams) SetStartdate(v string)
func (*DeleteEventsParams) SetType ¶
func (p *DeleteEventsParams) SetType(v string)
type DeleteEventsResponse ¶
type DeleteExternalFirewallParams ¶
type DeleteExternalFirewallParams struct {
// contains filtered or unexported fields
}
func (*DeleteExternalFirewallParams) SetId ¶
func (p *DeleteExternalFirewallParams) SetId(v string)
type DeleteExternalLoadBalancerParams ¶
type DeleteExternalLoadBalancerParams struct {
// contains filtered or unexported fields
}
func (*DeleteExternalLoadBalancerParams) SetId ¶
func (p *DeleteExternalLoadBalancerParams) SetId(v string)
type DeleteF5LoadBalancerParams ¶
type DeleteF5LoadBalancerParams struct {
// contains filtered or unexported fields
}
func (*DeleteF5LoadBalancerParams) SetLbdeviceid ¶
func (p *DeleteF5LoadBalancerParams) SetLbdeviceid(v string)
type DeleteFirewallRuleParams ¶
type DeleteFirewallRuleParams struct {
// contains filtered or unexported fields
}
func (*DeleteFirewallRuleParams) SetId ¶
func (p *DeleteFirewallRuleParams) SetId(v string)
type DeleteGlobalLoadBalancerRuleParams ¶
type DeleteGlobalLoadBalancerRuleParams struct {
// contains filtered or unexported fields
}
func (*DeleteGlobalLoadBalancerRuleParams) SetId ¶
func (p *DeleteGlobalLoadBalancerRuleParams) SetId(v string)
type DeleteHostParams ¶
type DeleteHostParams struct {
// contains filtered or unexported fields
}
func (*DeleteHostParams) SetForced ¶
func (p *DeleteHostParams) SetForced(v bool)
func (*DeleteHostParams) SetForcedestroylocalstorage ¶
func (p *DeleteHostParams) SetForcedestroylocalstorage(v bool)
func (*DeleteHostParams) SetId ¶
func (p *DeleteHostParams) SetId(v string)
type DeleteHostResponse ¶
type DeleteImageStoreParams ¶
type DeleteImageStoreParams struct {
// contains filtered or unexported fields
}
func (*DeleteImageStoreParams) SetId ¶
func (p *DeleteImageStoreParams) SetId(v string)
type DeleteInstanceGroupParams ¶
type DeleteInstanceGroupParams struct {
// contains filtered or unexported fields
}
func (*DeleteInstanceGroupParams) SetId ¶
func (p *DeleteInstanceGroupParams) SetId(v string)
type DeleteIpForwardingRuleParams ¶
type DeleteIpForwardingRuleParams struct {
// contains filtered or unexported fields
}
func (*DeleteIpForwardingRuleParams) SetId ¶
func (p *DeleteIpForwardingRuleParams) SetId(v string)
type DeleteIsoParams ¶
type DeleteIsoParams struct {
// contains filtered or unexported fields
}
func (*DeleteIsoParams) SetId ¶
func (p *DeleteIsoParams) SetId(v string)
func (*DeleteIsoParams) SetZoneid ¶
func (p *DeleteIsoParams) SetZoneid(v string)
type DeleteIsoResponse ¶
type DeleteLBHealthCheckPolicyParams ¶
type DeleteLBHealthCheckPolicyParams struct {
// contains filtered or unexported fields
}
func (*DeleteLBHealthCheckPolicyParams) SetId ¶
func (p *DeleteLBHealthCheckPolicyParams) SetId(v string)
type DeleteLBStickinessPolicyParams ¶
type DeleteLBStickinessPolicyParams struct {
// contains filtered or unexported fields
}
func (*DeleteLBStickinessPolicyParams) SetId ¶
func (p *DeleteLBStickinessPolicyParams) SetId(v string)
type DeleteLdapConfigurationParams ¶
type DeleteLdapConfigurationParams struct {
// contains filtered or unexported fields
}
func (*DeleteLdapConfigurationParams) SetHostname ¶
func (p *DeleteLdapConfigurationParams) SetHostname(v string)
type DeleteLoadBalancerParams ¶
type DeleteLoadBalancerParams struct {
// contains filtered or unexported fields
}
func (*DeleteLoadBalancerParams) SetId ¶
func (p *DeleteLoadBalancerParams) SetId(v string)
type DeleteLoadBalancerRuleParams ¶
type DeleteLoadBalancerRuleParams struct {
// contains filtered or unexported fields
}
func (*DeleteLoadBalancerRuleParams) SetId ¶
func (p *DeleteLoadBalancerRuleParams) SetId(v string)
type DeleteNetscalerLoadBalancerParams ¶
type DeleteNetscalerLoadBalancerParams struct {
// contains filtered or unexported fields
}
func (*DeleteNetscalerLoadBalancerParams) SetLbdeviceid ¶
func (p *DeleteNetscalerLoadBalancerParams) SetLbdeviceid(v string)
type DeleteNetworkACLListParams ¶
type DeleteNetworkACLListParams struct {
// contains filtered or unexported fields
}
func (*DeleteNetworkACLListParams) SetId ¶
func (p *DeleteNetworkACLListParams) SetId(v string)
type DeleteNetworkACLParams ¶
type DeleteNetworkACLParams struct {
// contains filtered or unexported fields
}
func (*DeleteNetworkACLParams) SetId ¶
func (p *DeleteNetworkACLParams) SetId(v string)
type DeleteNetworkDeviceParams ¶
type DeleteNetworkDeviceParams struct {
// contains filtered or unexported fields
}
func (*DeleteNetworkDeviceParams) SetId ¶
func (p *DeleteNetworkDeviceParams) SetId(v string)
type DeleteNetworkOfferingParams ¶
type DeleteNetworkOfferingParams struct {
// contains filtered or unexported fields
}
func (*DeleteNetworkOfferingParams) SetId ¶
func (p *DeleteNetworkOfferingParams) SetId(v string)
type DeleteNetworkParams ¶
type DeleteNetworkParams struct {
// contains filtered or unexported fields
}
func (*DeleteNetworkParams) SetForced ¶
func (p *DeleteNetworkParams) SetForced(v bool)
func (*DeleteNetworkParams) SetId ¶
func (p *DeleteNetworkParams) SetId(v string)
type DeleteNetworkResponse ¶
type DeleteNetworkServiceProviderParams ¶
type DeleteNetworkServiceProviderParams struct {
// contains filtered or unexported fields
}
func (*DeleteNetworkServiceProviderParams) SetId ¶
func (p *DeleteNetworkServiceProviderParams) SetId(v string)
type DeleteNiciraNvpDeviceParams ¶
type DeleteNiciraNvpDeviceParams struct {
// contains filtered or unexported fields
}
func (*DeleteNiciraNvpDeviceParams) SetNvpdeviceid ¶
func (p *DeleteNiciraNvpDeviceParams) SetNvpdeviceid(v string)
type DeletePaloAltoFirewallParams ¶
type DeletePaloAltoFirewallParams struct {
// contains filtered or unexported fields
}
func (*DeletePaloAltoFirewallParams) SetFwdeviceid ¶
func (p *DeletePaloAltoFirewallParams) SetFwdeviceid(v string)
type DeletePhysicalNetworkParams ¶
type DeletePhysicalNetworkParams struct {
// contains filtered or unexported fields
}
func (*DeletePhysicalNetworkParams) SetId ¶
func (p *DeletePhysicalNetworkParams) SetId(v string)
type DeletePodParams ¶
type DeletePodParams struct {
// contains filtered or unexported fields
}
func (*DeletePodParams) SetId ¶
func (p *DeletePodParams) SetId(v string)
type DeletePodResponse ¶
type DeletePortForwardingRuleParams ¶
type DeletePortForwardingRuleParams struct {
// contains filtered or unexported fields
}
func (*DeletePortForwardingRuleParams) SetId ¶
func (p *DeletePortForwardingRuleParams) SetId(v string)
type DeletePortableIpRangeParams ¶
type DeletePortableIpRangeParams struct {
// contains filtered or unexported fields
}
func (*DeletePortableIpRangeParams) SetId ¶
func (p *DeletePortableIpRangeParams) SetId(v string)
type DeletePrivateGatewayParams ¶
type DeletePrivateGatewayParams struct {
// contains filtered or unexported fields
}
func (*DeletePrivateGatewayParams) SetId ¶
func (p *DeletePrivateGatewayParams) SetId(v string)
type DeleteProjectInvitationParams ¶
type DeleteProjectInvitationParams struct {
// contains filtered or unexported fields
}
func (*DeleteProjectInvitationParams) SetId ¶
func (p *DeleteProjectInvitationParams) SetId(v string)
type DeleteProjectParams ¶
type DeleteProjectParams struct {
// contains filtered or unexported fields
}
func (*DeleteProjectParams) SetId ¶
func (p *DeleteProjectParams) SetId(v string)
type DeleteProjectResponse ¶
type DeleteRemoteAccessVpnParams ¶
type DeleteRemoteAccessVpnParams struct {
// contains filtered or unexported fields
}
func (*DeleteRemoteAccessVpnParams) SetPublicipid ¶
func (p *DeleteRemoteAccessVpnParams) SetPublicipid(v string)
type DeleteSSHKeyPairParams ¶
type DeleteSSHKeyPairParams struct {
// contains filtered or unexported fields
}
func (*DeleteSSHKeyPairParams) SetAccount ¶
func (p *DeleteSSHKeyPairParams) SetAccount(v string)
func (*DeleteSSHKeyPairParams) SetDomainid ¶
func (p *DeleteSSHKeyPairParams) SetDomainid(v string)
func (*DeleteSSHKeyPairParams) SetName ¶
func (p *DeleteSSHKeyPairParams) SetName(v string)
func (*DeleteSSHKeyPairParams) SetProjectid ¶
func (p *DeleteSSHKeyPairParams) SetProjectid(v string)
type DeleteSecondaryStagingStoreParams ¶
type DeleteSecondaryStagingStoreParams struct {
// contains filtered or unexported fields
}
func (*DeleteSecondaryStagingStoreParams) SetId ¶
func (p *DeleteSecondaryStagingStoreParams) SetId(v string)
type DeleteSecurityGroupParams ¶
type DeleteSecurityGroupParams struct {
// contains filtered or unexported fields
}
func (*DeleteSecurityGroupParams) SetAccount ¶
func (p *DeleteSecurityGroupParams) SetAccount(v string)
func (*DeleteSecurityGroupParams) SetDomainid ¶
func (p *DeleteSecurityGroupParams) SetDomainid(v string)
func (*DeleteSecurityGroupParams) SetId ¶
func (p *DeleteSecurityGroupParams) SetId(v string)
func (*DeleteSecurityGroupParams) SetName ¶
func (p *DeleteSecurityGroupParams) SetName(v string)
func (*DeleteSecurityGroupParams) SetProjectid ¶
func (p *DeleteSecurityGroupParams) SetProjectid(v string)
type DeleteServiceOfferingParams ¶
type DeleteServiceOfferingParams struct {
// contains filtered or unexported fields
}
func (*DeleteServiceOfferingParams) SetId ¶
func (p *DeleteServiceOfferingParams) SetId(v string)
type DeleteSnapshotParams ¶
type DeleteSnapshotParams struct {
// contains filtered or unexported fields
}
func (*DeleteSnapshotParams) SetId ¶
func (p *DeleteSnapshotParams) SetId(v string)
type DeleteSnapshotPoliciesParams ¶
type DeleteSnapshotPoliciesParams struct {
// contains filtered or unexported fields
}
func (*DeleteSnapshotPoliciesParams) SetId ¶
func (p *DeleteSnapshotPoliciesParams) SetId(v string)
func (*DeleteSnapshotPoliciesParams) SetIds ¶
func (p *DeleteSnapshotPoliciesParams) SetIds(v []string)
type DeleteSnapshotResponse ¶
type DeleteSrxFirewallParams ¶
type DeleteSrxFirewallParams struct {
// contains filtered or unexported fields
}
func (*DeleteSrxFirewallParams) SetFwdeviceid ¶
func (p *DeleteSrxFirewallParams) SetFwdeviceid(v string)
type DeleteSslCertParams ¶
type DeleteSslCertParams struct {
// contains filtered or unexported fields
}
func (*DeleteSslCertParams) SetId ¶
func (p *DeleteSslCertParams) SetId(v string)
type DeleteSslCertResponse ¶
type DeleteStaticRouteParams ¶
type DeleteStaticRouteParams struct {
// contains filtered or unexported fields
}
func (*DeleteStaticRouteParams) SetId ¶
func (p *DeleteStaticRouteParams) SetId(v string)
type DeleteStorageNetworkIpRangeParams ¶
type DeleteStorageNetworkIpRangeParams struct {
// contains filtered or unexported fields
}
func (*DeleteStorageNetworkIpRangeParams) SetId ¶
func (p *DeleteStorageNetworkIpRangeParams) SetId(v string)
type DeleteStoragePoolParams ¶
type DeleteStoragePoolParams struct {
// contains filtered or unexported fields
}
func (*DeleteStoragePoolParams) SetForced ¶
func (p *DeleteStoragePoolParams) SetForced(v bool)
func (*DeleteStoragePoolParams) SetId ¶
func (p *DeleteStoragePoolParams) SetId(v string)
type DeleteTagsParams ¶
type DeleteTagsParams struct {
// contains filtered or unexported fields
}
func (*DeleteTagsParams) SetResourceids ¶
func (p *DeleteTagsParams) SetResourceids(v []string)
func (*DeleteTagsParams) SetResourcetype ¶
func (p *DeleteTagsParams) SetResourcetype(v string)
func (*DeleteTagsParams) SetTags ¶
func (p *DeleteTagsParams) SetTags(v map[string]string)
type DeleteTagsResponse ¶
type DeleteTemplateParams ¶
type DeleteTemplateParams struct {
// contains filtered or unexported fields
}
func (*DeleteTemplateParams) SetId ¶
func (p *DeleteTemplateParams) SetId(v string)
func (*DeleteTemplateParams) SetZoneid ¶
func (p *DeleteTemplateParams) SetZoneid(v string)
type DeleteTemplateResponse ¶
type DeleteTrafficMonitorParams ¶
type DeleteTrafficMonitorParams struct {
// contains filtered or unexported fields
}
func (*DeleteTrafficMonitorParams) SetId ¶
func (p *DeleteTrafficMonitorParams) SetId(v string)
type DeleteTrafficTypeParams ¶
type DeleteTrafficTypeParams struct {
// contains filtered or unexported fields
}
func (*DeleteTrafficTypeParams) SetId ¶
func (p *DeleteTrafficTypeParams) SetId(v string)
type DeleteUcsManagerParams ¶
type DeleteUcsManagerParams struct {
// contains filtered or unexported fields
}
func (*DeleteUcsManagerParams) SetUcsmanagerid ¶
func (p *DeleteUcsManagerParams) SetUcsmanagerid(v string)
type DeleteUserParams ¶
type DeleteUserParams struct {
// contains filtered or unexported fields
}
func (*DeleteUserParams) SetId ¶
func (p *DeleteUserParams) SetId(v string)
type DeleteUserResponse ¶
type DeleteVMSnapshotParams ¶
type DeleteVMSnapshotParams struct {
// contains filtered or unexported fields
}
func (*DeleteVMSnapshotParams) SetVmsnapshotid ¶
func (p *DeleteVMSnapshotParams) SetVmsnapshotid(v string)
type DeleteVPCOfferingParams ¶
type DeleteVPCOfferingParams struct {
// contains filtered or unexported fields
}
func (*DeleteVPCOfferingParams) SetId ¶
func (p *DeleteVPCOfferingParams) SetId(v string)
type DeleteVPCParams ¶
type DeleteVPCParams struct {
// contains filtered or unexported fields
}
func (*DeleteVPCParams) SetId ¶
func (p *DeleteVPCParams) SetId(v string)
type DeleteVPCResponse ¶
type DeleteVlanIpRangeParams ¶
type DeleteVlanIpRangeParams struct {
// contains filtered or unexported fields
}
func (*DeleteVlanIpRangeParams) SetId ¶
func (p *DeleteVlanIpRangeParams) SetId(v string)
type DeleteVolumeParams ¶
type DeleteVolumeParams struct {
// contains filtered or unexported fields
}
func (*DeleteVolumeParams) SetId ¶
func (p *DeleteVolumeParams) SetId(v string)
type DeleteVolumeResponse ¶
type DeleteVpnConnectionParams ¶
type DeleteVpnConnectionParams struct {
// contains filtered or unexported fields
}
func (*DeleteVpnConnectionParams) SetId ¶
func (p *DeleteVpnConnectionParams) SetId(v string)
type DeleteVpnCustomerGatewayParams ¶
type DeleteVpnCustomerGatewayParams struct {
// contains filtered or unexported fields
}
func (*DeleteVpnCustomerGatewayParams) SetId ¶
func (p *DeleteVpnCustomerGatewayParams) SetId(v string)
type DeleteVpnGatewayParams ¶
type DeleteVpnGatewayParams struct {
// contains filtered or unexported fields
}
func (*DeleteVpnGatewayParams) SetId ¶
func (p *DeleteVpnGatewayParams) SetId(v string)
type DeleteZoneParams ¶
type DeleteZoneParams struct {
// contains filtered or unexported fields
}
func (*DeleteZoneParams) SetId ¶
func (p *DeleteZoneParams) SetId(v string)
type DeleteZoneResponse ¶
type DeployVirtualMachineParams ¶
type DeployVirtualMachineParams struct {
// contains filtered or unexported fields
}
func (*DeployVirtualMachineParams) SetAccount ¶
func (p *DeployVirtualMachineParams) SetAccount(v string)
func (*DeployVirtualMachineParams) SetAffinitygroupids ¶
func (p *DeployVirtualMachineParams) SetAffinitygroupids(v []string)
func (*DeployVirtualMachineParams) SetAffinitygroupnames ¶
func (p *DeployVirtualMachineParams) SetAffinitygroupnames(v []string)
func (*DeployVirtualMachineParams) SetDetails ¶
func (p *DeployVirtualMachineParams) SetDetails(v map[string]string)
func (*DeployVirtualMachineParams) SetDiskofferingid ¶
func (p *DeployVirtualMachineParams) SetDiskofferingid(v string)
func (*DeployVirtualMachineParams) SetDisplayname ¶
func (p *DeployVirtualMachineParams) SetDisplayname(v string)
func (*DeployVirtualMachineParams) SetDisplayvm ¶
func (p *DeployVirtualMachineParams) SetDisplayvm(v bool)
func (*DeployVirtualMachineParams) SetDomainid ¶
func (p *DeployVirtualMachineParams) SetDomainid(v string)
func (*DeployVirtualMachineParams) SetGroup ¶
func (p *DeployVirtualMachineParams) SetGroup(v string)
func (*DeployVirtualMachineParams) SetHostid ¶
func (p *DeployVirtualMachineParams) SetHostid(v string)
func (*DeployVirtualMachineParams) SetHypervisor ¶
func (p *DeployVirtualMachineParams) SetHypervisor(v string)
func (*DeployVirtualMachineParams) SetIp6address ¶
func (p *DeployVirtualMachineParams) SetIp6address(v string)
func (*DeployVirtualMachineParams) SetIpaddress ¶
func (p *DeployVirtualMachineParams) SetIpaddress(v string)
func (*DeployVirtualMachineParams) SetIptonetworklist ¶
func (p *DeployVirtualMachineParams) SetIptonetworklist(v map[string]string)
func (*DeployVirtualMachineParams) SetKeyboard ¶
func (p *DeployVirtualMachineParams) SetKeyboard(v string)
func (*DeployVirtualMachineParams) SetKeypair ¶
func (p *DeployVirtualMachineParams) SetKeypair(v string)
func (*DeployVirtualMachineParams) SetName ¶
func (p *DeployVirtualMachineParams) SetName(v string)
func (*DeployVirtualMachineParams) SetNetworkids ¶
func (p *DeployVirtualMachineParams) SetNetworkids(v []string)
func (*DeployVirtualMachineParams) SetProjectid ¶
func (p *DeployVirtualMachineParams) SetProjectid(v string)
func (*DeployVirtualMachineParams) SetSecuritygroupids ¶
func (p *DeployVirtualMachineParams) SetSecuritygroupids(v []string)
func (*DeployVirtualMachineParams) SetSecuritygroupnames ¶
func (p *DeployVirtualMachineParams) SetSecuritygroupnames(v []string)
func (*DeployVirtualMachineParams) SetServiceofferingid ¶
func (p *DeployVirtualMachineParams) SetServiceofferingid(v string)
func (*DeployVirtualMachineParams) SetSize ¶
func (p *DeployVirtualMachineParams) SetSize(v int)
func (*DeployVirtualMachineParams) SetStartvm ¶
func (p *DeployVirtualMachineParams) SetStartvm(v bool)
func (*DeployVirtualMachineParams) SetTemplateid ¶
func (p *DeployVirtualMachineParams) SetTemplateid(v string)
func (*DeployVirtualMachineParams) SetUserdata ¶
func (p *DeployVirtualMachineParams) SetUserdata(v string)
func (*DeployVirtualMachineParams) SetZoneid ¶
func (p *DeployVirtualMachineParams) SetZoneid(v string)
type DeployVirtualMachineResponse ¶
type DeployVirtualMachineResponse struct { JobID string `json:"jobid,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Servicestate string `json:"servicestate,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` State string `json:"state,omitempty"` Hostname string `json:"hostname,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Templateid string `json:"templateid,omitempty"` Publicipid string `json:"publicipid,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Keypair string `json:"keypair,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Instancename string `json:"instancename,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Id string `json:"id,omitempty"` Affinitygroup []struct { Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Type string `json:"type,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Description string `json:"description,omitempty"` Account string `json:"account,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` } `json:"affinitygroup,omitempty"` Isoname string `json:"isoname,omitempty"` Guestosid string `json:"guestosid,omitempty"` Publicip string `json:"publicip,omitempty"` Name string `json:"name,omitempty"` Domainid string `json:"domainid,omitempty"` Zonename string `json:"zonename,omitempty"` Details map[string]string `json:"details,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Key string `json:"key,omitempty"` Customer string `json:"customer,omitempty"` Account string `json:"account,omitempty"` Projectid string `json:"projectid,omitempty"` Value string `json:"value,omitempty"` Domainid string `json:"domainid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` } `json:"tags,omitempty"` Created string `json:"created,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Haenable bool `json:"haenable,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Hostid string `json:"hostid,omitempty"` Projectid string `json:"projectid,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Password string `json:"password,omitempty"` Isoid string `json:"isoid,omitempty"` Displayname string `json:"displayname,omitempty"` Groupid string `json:"groupid,omitempty"` Group string `json:"group,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Nic []struct { Type string `json:"type,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Traffictype string `json:"traffictype,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Ip6address string `json:"ip6address,omitempty"` Id string `json:"id,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Networkid string `json:"networkid,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Gateway string `json:"gateway,omitempty"` Macaddress string `json:"macaddress,omitempty"` Netmask string `json:"netmask,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Networkname string `json:"networkname,omitempty"` } `json:"nic,omitempty"` Templatename string `json:"templatename,omitempty"` Memory int `json:"memory,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Project string `json:"project,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Securitygroup []struct { Description string `json:"description,omitempty"` Ingressrule []struct { Icmptype int `json:"icmptype,omitempty"` Cidr string `json:"cidr,omitempty"` Account string `json:"account,omitempty"` Ruleid string `json:"ruleid,omitempty"` Endport int `json:"endport,omitempty"` Protocol string `json:"protocol,omitempty"` Startport int `json:"startport,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` } `json:"ingressrule,omitempty"` Tags []struct { Resourceid string `json:"resourceid,omitempty"` Projectid string `json:"projectid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Value string `json:"value,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Key string `json:"key,omitempty"` Customer string `json:"customer,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"tags,omitempty"` Name string `json:"name,omitempty"` Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Id string `json:"id,omitempty"` Egressrule []struct { Cidr string `json:"cidr,omitempty"` Endport int `json:"endport,omitempty"` Ruleid string `json:"ruleid,omitempty"` Protocol string `json:"protocol,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Account string `json:"account,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Icmptype int `json:"icmptype,omitempty"` Startport int `json:"startport,omitempty"` } `json:"egressrule,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` } `json:"securitygroup,omitempty"` Cpuused string `json:"cpuused,omitempty"` Diskioread int `json:"diskioread,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` }
type DeploymentPlanner ¶
type DeploymentPlanner struct {
Name string `json:"name,omitempty"`
}
type DestroyRouterParams ¶
type DestroyRouterParams struct {
// contains filtered or unexported fields
}
func (*DestroyRouterParams) SetId ¶
func (p *DestroyRouterParams) SetId(v string)
type DestroyRouterResponse ¶
type DestroyRouterResponse struct { JobID string `json:"jobid,omitempty"` Zonename string `json:"zonename,omitempty"` Redundantstate string `json:"redundantstate,omitempty"` Templateid string `json:"templateid,omitempty"` Podid string `json:"podid,omitempty"` Ip6dns1 string `json:"ip6dns1,omitempty"` Guestipaddress string `json:"guestipaddress,omitempty"` Guestnetworkid string `json:"guestnetworkid,omitempty"` Isredundantrouter bool `json:"isredundantrouter,omitempty"` Account string `json:"account,omitempty"` Publicip string `json:"publicip,omitempty"` Linklocalip string `json:"linklocalip,omitempty"` Hostname string `json:"hostname,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Ip6dns2 string `json:"ip6dns2,omitempty"` Dns1 string `json:"dns1,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Created string `json:"created,omitempty"` Publicmacaddress string `json:"publicmacaddress,omitempty"` State string `json:"state,omitempty"` Guestnetmask string `json:"guestnetmask,omitempty"` Vpcid string `json:"vpcid,omitempty"` Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"` Hostid string `json:"hostid,omitempty"` Id string `json:"id,omitempty"` Linklocalnetmask string `json:"linklocalnetmask,omitempty"` Publicnetworkid string `json:"publicnetworkid,omitempty"` Dns2 string `json:"dns2,omitempty"` Domain string `json:"domain,omitempty"` Nic []struct { Type string `json:"type,omitempty"` Networkname string `json:"networkname,omitempty"` Macaddress string `json:"macaddress,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Id string `json:"id,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Ip6address string `json:"ip6address,omitempty"` Netmask string `json:"netmask,omitempty"` Gateway string `json:"gateway,omitempty"` Networkid string `json:"networkid,omitempty"` Traffictype string `json:"traffictype,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` } `json:"nic,omitempty"` Project string `json:"project,omitempty"` Publicnetmask string `json:"publicnetmask,omitempty"` Scriptsversion string `json:"scriptsversion,omitempty"` Gateway string `json:"gateway,omitempty"` Name string `json:"name,omitempty"` Domainid string `json:"domainid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Requiresupgrade bool `json:"requiresupgrade,omitempty"` Projectid string `json:"projectid,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Version string `json:"version,omitempty"` Role string `json:"role,omitempty"` Guestmacaddress string `json:"guestmacaddress,omitempty"` Linklocalnetworkid string `json:"linklocalnetworkid,omitempty"` }
type DestroySystemVmParams ¶
type DestroySystemVmParams struct {
// contains filtered or unexported fields
}
func (*DestroySystemVmParams) SetId ¶
func (p *DestroySystemVmParams) SetId(v string)
type DestroySystemVmResponse ¶
type DestroySystemVmResponse struct { JobID string `json:"jobid,omitempty"` Gateway string `json:"gateway,omitempty"` Publicnetmask string `json:"publicnetmask,omitempty"` Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"` Name string `json:"name,omitempty"` State string `json:"state,omitempty"` Id string `json:"id,omitempty"` Podid string `json:"podid,omitempty"` Linklocalnetmask string `json:"linklocalnetmask,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Linklocalip string `json:"linklocalip,omitempty"` Privateip string `json:"privateip,omitempty"` Jobid string `json:"jobid,omitempty"` Zonename string `json:"zonename,omitempty"` Privatenetmask string `json:"privatenetmask,omitempty"` Hostname string `json:"hostname,omitempty"` Dns1 string `json:"dns1,omitempty"` Dns2 string `json:"dns2,omitempty"` Hostid string `json:"hostid,omitempty"` Privatemacaddress string `json:"privatemacaddress,omitempty"` Publicmacaddress string `json:"publicmacaddress,omitempty"` Templateid string `json:"templateid,omitempty"` Publicip string `json:"publicip,omitempty"` Systemvmtype string `json:"systemvmtype,omitempty"` Activeviewersessions int `json:"activeviewersessions,omitempty"` Created string `json:"created,omitempty"` Jobstatus int `json:"jobstatus,omitempty"` Zoneid string `json:"zoneid,omitempty"` }
type DestroyVirtualMachineParams ¶
type DestroyVirtualMachineParams struct {
// contains filtered or unexported fields
}
func (*DestroyVirtualMachineParams) SetExpunge ¶
func (p *DestroyVirtualMachineParams) SetExpunge(v bool)
func (*DestroyVirtualMachineParams) SetId ¶
func (p *DestroyVirtualMachineParams) SetId(v string)
type DestroyVirtualMachineResponse ¶
type DestroyVirtualMachineResponse struct { JobID string `json:"jobid,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Password string `json:"password,omitempty"` Templatename string `json:"templatename,omitempty"` Domainid string `json:"domainid,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Servicestate string `json:"servicestate,omitempty"` Memory int `json:"memory,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Keypair string `json:"keypair,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Nic []struct { Id string `json:"id,omitempty"` Traffictype string `json:"traffictype,omitempty"` Gateway string `json:"gateway,omitempty"` Ip6address string `json:"ip6address,omitempty"` Networkname string `json:"networkname,omitempty"` Netmask string `json:"netmask,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Networkid string `json:"networkid,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Type string `json:"type,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Macaddress string `json:"macaddress,omitempty"` } `json:"nic,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Isoid string `json:"isoid,omitempty"` Created string `json:"created,omitempty"` Haenable bool `json:"haenable,omitempty"` Templateid string `json:"templateid,omitempty"` Details map[string]string `json:"details,omitempty"` Groupid string `json:"groupid,omitempty"` Hostid string `json:"hostid,omitempty"` Publicip string `json:"publicip,omitempty"` Group string `json:"group,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Securitygroup []struct { Account string `json:"account,omitempty"` Name string `json:"name,omitempty"` Tags []struct { Resourcetype string `json:"resourcetype,omitempty"` Key string `json:"key,omitempty"` Domainid string `json:"domainid,omitempty"` Domain string `json:"domain,omitempty"` Customer string `json:"customer,omitempty"` Projectid string `json:"projectid,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Value string `json:"value,omitempty"` Resourceid string `json:"resourceid,omitempty"` } `json:"tags,omitempty"` Egressrule []struct { Ruleid string `json:"ruleid,omitempty"` Startport int `json:"startport,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Icmptype int `json:"icmptype,omitempty"` Protocol string `json:"protocol,omitempty"` Account string `json:"account,omitempty"` Endport int `json:"endport,omitempty"` Cidr string `json:"cidr,omitempty"` } `json:"egressrule,omitempty"` Id string `json:"id,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Ingressrule []struct { Icmpcode int `json:"icmpcode,omitempty"` Ruleid string `json:"ruleid,omitempty"` Protocol string `json:"protocol,omitempty"` Account string `json:"account,omitempty"` Endport int `json:"endport,omitempty"` Icmptype int `json:"icmptype,omitempty"` Cidr string `json:"cidr,omitempty"` Startport int `json:"startport,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` } `json:"ingressrule,omitempty"` Description string `json:"description,omitempty"` } `json:"securitygroup,omitempty"` Guestosid string `json:"guestosid,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Diskioread int `json:"diskioread,omitempty"` Project string `json:"project,omitempty"` Isoname string `json:"isoname,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Displayname string `json:"displayname,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Id string `json:"id,omitempty"` Affinitygroup []struct { VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Account string `json:"account,omitempty"` Name string `json:"name,omitempty"` Domain string `json:"domain,omitempty"` Description string `json:"description,omitempty"` Domainid string `json:"domainid,omitempty"` Id string `json:"id,omitempty"` Type string `json:"type,omitempty"` } `json:"affinitygroup,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Tags []struct { Resourceid string `json:"resourceid,omitempty"` Key string `json:"key,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` Value string `json:"value,omitempty"` Project string `json:"project,omitempty"` } `json:"tags,omitempty"` Domain string `json:"domain,omitempty"` Cpuused string `json:"cpuused,omitempty"` State string `json:"state,omitempty"` Name string `json:"name,omitempty"` Account string `json:"account,omitempty"` Hostname string `json:"hostname,omitempty"` Projectid string `json:"projectid,omitempty"` Publicipid string `json:"publicipid,omitempty"` Instancename string `json:"instancename,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Zonename string `json:"zonename,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` }
type DetachIsoParams ¶
type DetachIsoParams struct {
// contains filtered or unexported fields
}
func (*DetachIsoParams) SetVirtualmachineid ¶
func (p *DetachIsoParams) SetVirtualmachineid(v string)
type DetachIsoResponse ¶
type DetachIsoResponse struct { JobID string `json:"jobid,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Groupid string `json:"groupid,omitempty"` Memory int `json:"memory,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Domainid string `json:"domainid,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Name string `json:"name,omitempty"` Instancename string `json:"instancename,omitempty"` Account string `json:"account,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Publicipid string `json:"publicipid,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Publicip string `json:"publicip,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Nic []struct { Networkname string `json:"networkname,omitempty"` Id string `json:"id,omitempty"` Gateway string `json:"gateway,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Networkid string `json:"networkid,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Type string `json:"type,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Ip6address string `json:"ip6address,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Netmask string `json:"netmask,omitempty"` Macaddress string `json:"macaddress,omitempty"` Traffictype string `json:"traffictype,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` } `json:"nic,omitempty"` Haenable bool `json:"haenable,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Details map[string]string `json:"details,omitempty"` State string `json:"state,omitempty"` Keypair string `json:"keypair,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Affinitygroup []struct { Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Id string `json:"id,omitempty"` Description string `json:"description,omitempty"` Type string `json:"type,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Name string `json:"name,omitempty"` } `json:"affinitygroup,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Isoname string `json:"isoname,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Password string `json:"password,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Isoid string `json:"isoid,omitempty"` Hostid string `json:"hostid,omitempty"` Zonename string `json:"zonename,omitempty"` Group string `json:"group,omitempty"` Templateid string `json:"templateid,omitempty"` Tags []struct { Resourceid string `json:"resourceid,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` Value string `json:"value,omitempty"` Projectid string `json:"projectid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Domain string `json:"domain,omitempty"` Key string `json:"key,omitempty"` } `json:"tags,omitempty"` Securitygroup []struct { Domain string `json:"domain,omitempty"` Name string `json:"name,omitempty"` Tags []struct { Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Value string `json:"value,omitempty"` Resourceid string `json:"resourceid,omitempty"` Projectid string `json:"projectid,omitempty"` Customer string `json:"customer,omitempty"` Domain string `json:"domain,omitempty"` Key string `json:"key,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Project string `json:"project,omitempty"` } `json:"tags,omitempty"` Egressrule []struct { Ruleid string `json:"ruleid,omitempty"` Account string `json:"account,omitempty"` Protocol string `json:"protocol,omitempty"` Startport int `json:"startport,omitempty"` Icmptype int `json:"icmptype,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Endport int `json:"endport,omitempty"` Cidr string `json:"cidr,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` } `json:"egressrule,omitempty"` Ingressrule []struct { Securitygroupname string `json:"securitygroupname,omitempty"` Protocol string `json:"protocol,omitempty"` Endport int `json:"endport,omitempty"` Startport int `json:"startport,omitempty"` Account string `json:"account,omitempty"` Ruleid string `json:"ruleid,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Icmptype int `json:"icmptype,omitempty"` Cidr string `json:"cidr,omitempty"` } `json:"ingressrule,omitempty"` Id string `json:"id,omitempty"` Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Description string `json:"description,omitempty"` Project string `json:"project,omitempty"` } `json:"securitygroup,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Diskioread int `json:"diskioread,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Templatename string `json:"templatename,omitempty"` Servicestate string `json:"servicestate,omitempty"` Displayname string `json:"displayname,omitempty"` Guestosid string `json:"guestosid,omitempty"` Created string `json:"created,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Projectid string `json:"projectid,omitempty"` Cpuused string `json:"cpuused,omitempty"` Id string `json:"id,omitempty"` Hostname string `json:"hostname,omitempty"` }
type DetachVolumeParams ¶
type DetachVolumeParams struct {
// contains filtered or unexported fields
}
func (*DetachVolumeParams) SetDeviceid ¶
func (p *DetachVolumeParams) SetDeviceid(v int)
func (*DetachVolumeParams) SetId ¶
func (p *DetachVolumeParams) SetId(v string)
func (*DetachVolumeParams) SetVirtualmachineid ¶
func (p *DetachVolumeParams) SetVirtualmachineid(v string)
type DetachVolumeResponse ¶
type DetachVolumeResponse struct { JobID string `json:"jobid,omitempty"` Attached string `json:"attached,omitempty"` Maxiops int `json:"maxiops,omitempty"` Status string `json:"status,omitempty"` Storage string `json:"storage,omitempty"` Storageid string `json:"storageid,omitempty"` Path string `json:"path,omitempty"` Deviceid int `json:"deviceid,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Storagetype string `json:"storagetype,omitempty"` DiskBytesReadRate int `json:"diskBytesReadRate,omitempty"` Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext,omitempty"` Diskofferingdisplaytext string `json:"diskofferingdisplaytext,omitempty"` Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Vmname string `json:"vmname,omitempty"` Account string `json:"account,omitempty"` Vmdisplayname string `json:"vmdisplayname,omitempty"` Type string `json:"type,omitempty"` Snapshotid string `json:"snapshotid,omitempty"` Zoneid string `json:"zoneid,omitempty"` DiskIopsReadRate int `json:"diskIopsReadRate,omitempty"` Displayvolume bool `json:"displayvolume,omitempty"` Vmstate string `json:"vmstate,omitempty"` Id string `json:"id,omitempty"` Domainid string `json:"domainid,omitempty"` Name string `json:"name,omitempty"` Created string `json:"created,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` Quiescevm bool `json:"quiescevm,omitempty"` Zonename string `json:"zonename,omitempty"` Tags []struct { Value string `json:"value,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Key string `json:"key,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Resourceid string `json:"resourceid,omitempty"` Projectid string `json:"projectid,omitempty"` Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` } `json:"tags,omitempty"` State string `json:"state,omitempty"` Isextractable bool `json:"isextractable,omitempty"` DiskBytesWriteRate int `json:"diskBytesWriteRate,omitempty"` Size int `json:"size,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Diskofferingname string `json:"diskofferingname,omitempty"` Destroyed bool `json:"destroyed,omitempty"` DiskIopsWriteRate int `json:"diskIopsWriteRate,omitempty"` Diskofferingid string `json:"diskofferingid,omitempty"` Miniops int `json:"miniops,omitempty"` }
type DisableAccountParams ¶
type DisableAccountParams struct {
// contains filtered or unexported fields
}
func (*DisableAccountParams) SetAccount ¶
func (p *DisableAccountParams) SetAccount(v string)
func (*DisableAccountParams) SetDomainid ¶
func (p *DisableAccountParams) SetDomainid(v string)
func (*DisableAccountParams) SetId ¶
func (p *DisableAccountParams) SetId(v string)
func (*DisableAccountParams) SetLock ¶
func (p *DisableAccountParams) SetLock(v bool)
type DisableAccountResponse ¶
type DisableAccountResponse struct { JobID string `json:"jobid,omitempty"` User []struct { Lastname string `json:"lastname,omitempty"` Email string `json:"email,omitempty"` Accounttype int `json:"accounttype,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Iscallerchilddomain bool `json:"iscallerchilddomain,omitempty"` Accountid string `json:"accountid,omitempty"` Apikey string `json:"apikey,omitempty"` Username string `json:"username,omitempty"` Id string `json:"id,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Created string `json:"created,omitempty"` Firstname string `json:"firstname,omitempty"` State string `json:"state,omitempty"` Timezone string `json:"timezone,omitempty"` Secretkey string `json:"secretkey,omitempty"` } `json:"user,omitempty"` Vmavailable string `json:"vmavailable,omitempty"` Domain string `json:"domain,omitempty"` Projectavailable string `json:"projectavailable,omitempty"` Iptotal int `json:"iptotal,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` State string `json:"state,omitempty"` Iscleanuprequired bool `json:"iscleanuprequired,omitempty"` Id string `json:"id,omitempty"` Ipavailable string `json:"ipavailable,omitempty"` Defaultzoneid string `json:"defaultzoneid,omitempty"` Vpctotal int `json:"vpctotal,omitempty"` Accountdetails map[string]string `json:"accountdetails,omitempty"` Vmlimit string `json:"vmlimit,omitempty"` Name string `json:"name,omitempty"` Iplimit string `json:"iplimit,omitempty"` Vpcavailable string `json:"vpcavailable,omitempty"` Networkavailable string `json:"networkavailable,omitempty"` Cputotal int `json:"cputotal,omitempty"` Secondarystoragelimit string `json:"secondarystoragelimit,omitempty"` Memorylimit string `json:"memorylimit,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Primarystoragelimit string `json:"primarystoragelimit,omitempty"` Secondarystorageavailable string `json:"secondarystorageavailable,omitempty"` Networktotal int `json:"networktotal,omitempty"` Vmtotal int `json:"vmtotal,omitempty"` Memoryavailable string `json:"memoryavailable,omitempty"` Sentbytes int `json:"sentbytes,omitempty"` Volumetotal int `json:"volumetotal,omitempty"` Accounttype int `json:"accounttype,omitempty"` Volumelimit string `json:"volumelimit,omitempty"` Vpclimit string `json:"vpclimit,omitempty"` Networklimit string `json:"networklimit,omitempty"` Snapshotlimit string `json:"snapshotlimit,omitempty"` Domainid string `json:"domainid,omitempty"` Templatetotal int `json:"templatetotal,omitempty"` Snapshottotal int `json:"snapshottotal,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Cpulimit string `json:"cpulimit,omitempty"` Cpuavailable string `json:"cpuavailable,omitempty"` Vmrunning int `json:"vmrunning,omitempty"` Snapshotavailable string `json:"snapshotavailable,omitempty"` Projectlimit string `json:"projectlimit,omitempty"` Templateavailable string `json:"templateavailable,omitempty"` Volumeavailable string `json:"volumeavailable,omitempty"` Receivedbytes int `json:"receivedbytes,omitempty"` Templatelimit string `json:"templatelimit,omitempty"` Projecttotal int `json:"projecttotal,omitempty"` Secondarystoragetotal int `json:"secondarystoragetotal,omitempty"` Vmstopped int `json:"vmstopped,omitempty"` Primarystorageavailable string `json:"primarystorageavailable,omitempty"` Primarystoragetotal int `json:"primarystoragetotal,omitempty"` }
type DisableAutoScaleVmGroupParams ¶
type DisableAutoScaleVmGroupParams struct {
// contains filtered or unexported fields
}
func (*DisableAutoScaleVmGroupParams) SetId ¶
func (p *DisableAutoScaleVmGroupParams) SetId(v string)
type DisableAutoScaleVmGroupResponse ¶
type DisableAutoScaleVmGroupResponse struct { JobID string `json:"jobid,omitempty"` Minmembers int `json:"minmembers,omitempty"` Lbruleid string `json:"lbruleid,omitempty"` Domain string `json:"domain,omitempty"` Id string `json:"id,omitempty"` Projectid string `json:"projectid,omitempty"` Vmprofileid string `json:"vmprofileid,omitempty"` Maxmembers int `json:"maxmembers,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` State string `json:"state,omitempty"` Interval int `json:"interval,omitempty"` Domainid string `json:"domainid,omitempty"` Scaleuppolicies []string `json:"scaleuppolicies,omitempty"` Scaledownpolicies []string `json:"scaledownpolicies,omitempty"` }
type DisableCiscoNexusVSMParams ¶
type DisableCiscoNexusVSMParams struct {
// contains filtered or unexported fields
}
func (*DisableCiscoNexusVSMParams) SetId ¶
func (p *DisableCiscoNexusVSMParams) SetId(v string)
type DisableCiscoNexusVSMResponse ¶
type DisableCiscoNexusVSMResponse struct { JobID string `json:"jobid,omitempty"` Vsmconfigmode string `json:"vsmconfigmode,omitempty"` Vsmpktvlanid int `json:"vsmpktvlanid,omitempty"` Vsmdevicestate string `json:"vsmdevicestate,omitempty"` Vsmctrlvlanid int `json:"vsmctrlvlanid,omitempty"` Vsmstoragevlanid int `json:"vsmstoragevlanid,omitempty"` Vsmconfigstate string `json:"vsmconfigstate,omitempty"` Vsmdevicename string `json:"vsmdevicename,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Vsmdeviceid string `json:"vsmdeviceid,omitempty"` Vsmdomainid string `json:"vsmdomainid,omitempty"` Vsmmgmtvlanid string `json:"vsmmgmtvlanid,omitempty"` }
type DisableStaticNatParams ¶
type DisableStaticNatParams struct {
// contains filtered or unexported fields
}
func (*DisableStaticNatParams) SetIpaddressid ¶
func (p *DisableStaticNatParams) SetIpaddressid(v string)
type DisableUserParams ¶
type DisableUserParams struct {
// contains filtered or unexported fields
}
func (*DisableUserParams) SetId ¶
func (p *DisableUserParams) SetId(v string)
type DisableUserResponse ¶
type DisableUserResponse struct { JobID string `json:"jobid,omitempty"` Secretkey string `json:"secretkey,omitempty"` Username string `json:"username,omitempty"` Created string `json:"created,omitempty"` Timezone string `json:"timezone,omitempty"` Iscallerchilddomain bool `json:"iscallerchilddomain,omitempty"` Email string `json:"email,omitempty"` Account string `json:"account,omitempty"` Lastname string `json:"lastname,omitempty"` Accountid string `json:"accountid,omitempty"` Id string `json:"id,omitempty"` Domainid string `json:"domainid,omitempty"` Domain string `json:"domain,omitempty"` Accounttype int `json:"accounttype,omitempty"` Apikey string `json:"apikey,omitempty"` Firstname string `json:"firstname,omitempty"` Isdefault bool `json:"isdefault,omitempty"` State string `json:"state,omitempty"` }
type DisassociateIpAddressParams ¶
type DisassociateIpAddressParams struct {
// contains filtered or unexported fields
}
func (*DisassociateIpAddressParams) SetId ¶
func (p *DisassociateIpAddressParams) SetId(v string)
type DisassociateUcsProfileFromBladeParams ¶
type DisassociateUcsProfileFromBladeParams struct {
// contains filtered or unexported fields
}
func (*DisassociateUcsProfileFromBladeParams) SetBladeid ¶
func (p *DisassociateUcsProfileFromBladeParams) SetBladeid(v string)
func (*DisassociateUcsProfileFromBladeParams) SetDeleteprofile ¶
func (p *DisassociateUcsProfileFromBladeParams) SetDeleteprofile(v bool)
type DisassociateUcsProfileFromBladeResponse ¶
type DisassociateUcsProfileFromBladeResponse struct { JobID string `json:"jobid,omitempty"` Ucsmanagerid string `json:"ucsmanagerid,omitempty"` Bladedn string `json:"bladedn,omitempty"` Hostid string `json:"hostid,omitempty"` Profiledn string `json:"profiledn,omitempty"` Id string `json:"id,omitempty"` }
type DiskOffering ¶
type DiskOffering struct { Displayoffering bool `json:"displayoffering,omitempty"` Disksize int `json:"disksize,omitempty"` Name string `json:"name,omitempty"` Displaytext string `json:"displaytext,omitempty"` Iscustomized bool `json:"iscustomized,omitempty"` Miniops int `json:"miniops,omitempty"` Maxiops int `json:"maxiops,omitempty"` DiskIopsWriteRate int `json:"diskIopsWriteRate,omitempty"` DiskBytesReadRate int `json:"diskBytesReadRate,omitempty"` Domainid string `json:"domainid,omitempty"` Iscustomizediops bool `json:"iscustomizediops,omitempty"` Id string `json:"id,omitempty"` Domain string `json:"domain,omitempty"` Created string `json:"created,omitempty"` Tags string `json:"tags,omitempty"` DiskIopsReadRate int `json:"diskIopsReadRate,omitempty"` DiskBytesWriteRate int `json:"diskBytesWriteRate,omitempty"` Storagetype string `json:"storagetype,omitempty"` }
type DiskOfferingService ¶
type DiskOfferingService struct {
// contains filtered or unexported fields
}
func NewDiskOfferingService ¶
func NewDiskOfferingService(cs *CloudStackClient) *DiskOfferingService
func (*DiskOfferingService) CreateDiskOffering ¶
func (s *DiskOfferingService) CreateDiskOffering(p *CreateDiskOfferingParams) (*CreateDiskOfferingResponse, error)
Creates a disk offering.
func (*DiskOfferingService) DeleteDiskOffering ¶
func (s *DiskOfferingService) DeleteDiskOffering(p *DeleteDiskOfferingParams) (*DeleteDiskOfferingResponse, error)
Updates a disk offering.
func (*DiskOfferingService) GetDiskOfferingID ¶
func (s *DiskOfferingService) GetDiskOfferingID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*DiskOfferingService) ListDiskOfferings ¶
func (s *DiskOfferingService) ListDiskOfferings(p *ListDiskOfferingsParams) (*ListDiskOfferingsResponse, error)
Lists all available disk offerings.
func (*DiskOfferingService) NewCreateDiskOfferingParams ¶
func (s *DiskOfferingService) NewCreateDiskOfferingParams(displaytext string, name string) *CreateDiskOfferingParams
You should always use this function to get a new CreateDiskOfferingParams instance, as then you are sure you have configured all required params
func (*DiskOfferingService) NewDeleteDiskOfferingParams ¶
func (s *DiskOfferingService) NewDeleteDiskOfferingParams(id string) *DeleteDiskOfferingParams
You should always use this function to get a new DeleteDiskOfferingParams instance, as then you are sure you have configured all required params
func (*DiskOfferingService) NewListDiskOfferingsParams ¶
func (s *DiskOfferingService) NewListDiskOfferingsParams() *ListDiskOfferingsParams
You should always use this function to get a new ListDiskOfferingsParams instance, as then you are sure you have configured all required params
func (*DiskOfferingService) NewUpdateDiskOfferingParams ¶
func (s *DiskOfferingService) NewUpdateDiskOfferingParams(id string) *UpdateDiskOfferingParams
You should always use this function to get a new UpdateDiskOfferingParams instance, as then you are sure you have configured all required params
func (*DiskOfferingService) UpdateDiskOffering ¶
func (s *DiskOfferingService) UpdateDiskOffering(p *UpdateDiskOfferingParams) (*UpdateDiskOfferingResponse, error)
Updates a disk offering.
type Domain ¶
type Domain struct { Path string `json:"path,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Parentdomainname string `json:"parentdomainname,omitempty"` Level int `json:"level,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Parentdomainid string `json:"parentdomainid,omitempty"` Haschild bool `json:"haschild,omitempty"` }
type DomainChildren ¶
type DomainChildren struct { Path string `json:"path,omitempty"` Level int `json:"level,omitempty"` Id string `json:"id,omitempty"` Parentdomainname string `json:"parentdomainname,omitempty"` Name string `json:"name,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Parentdomainid string `json:"parentdomainid,omitempty"` Haschild bool `json:"haschild,omitempty"` }
type DomainService ¶
type DomainService struct {
// contains filtered or unexported fields
}
func NewDomainService ¶
func NewDomainService(cs *CloudStackClient) *DomainService
func (*DomainService) CreateDomain ¶
func (s *DomainService) CreateDomain(p *CreateDomainParams) (*CreateDomainResponse, error)
Creates a domain
func (*DomainService) DeleteDomain ¶
func (s *DomainService) DeleteDomain(p *DeleteDomainParams) (*DeleteDomainResponse, error)
Deletes a specified domain
func (*DomainService) GetDomainChildrenID ¶
func (s *DomainService) GetDomainChildrenID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*DomainService) GetDomainID ¶
func (s *DomainService) GetDomainID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*DomainService) ListDomainChildren ¶
func (s *DomainService) ListDomainChildren(p *ListDomainChildrenParams) (*ListDomainChildrenResponse, error)
Lists all children domains belonging to a specified domain
func (*DomainService) ListDomains ¶
func (s *DomainService) ListDomains(p *ListDomainsParams) (*ListDomainsResponse, error)
Lists domains and provides detailed information for listed domains
func (*DomainService) NewCreateDomainParams ¶
func (s *DomainService) NewCreateDomainParams(name string) *CreateDomainParams
You should always use this function to get a new CreateDomainParams instance, as then you are sure you have configured all required params
func (*DomainService) NewDeleteDomainParams ¶
func (s *DomainService) NewDeleteDomainParams(id string) *DeleteDomainParams
You should always use this function to get a new DeleteDomainParams instance, as then you are sure you have configured all required params
func (*DomainService) NewListDomainChildrenParams ¶
func (s *DomainService) NewListDomainChildrenParams() *ListDomainChildrenParams
You should always use this function to get a new ListDomainChildrenParams instance, as then you are sure you have configured all required params
func (*DomainService) NewListDomainsParams ¶
func (s *DomainService) NewListDomainsParams() *ListDomainsParams
You should always use this function to get a new ListDomainsParams instance, as then you are sure you have configured all required params
func (*DomainService) NewUpdateDomainParams ¶
func (s *DomainService) NewUpdateDomainParams(id string) *UpdateDomainParams
You should always use this function to get a new UpdateDomainParams instance, as then you are sure you have configured all required params
func (*DomainService) UpdateDomain ¶
func (s *DomainService) UpdateDomain(p *UpdateDomainParams) (*UpdateDomainResponse, error)
Updates a domain with a new name
type EgressFirewallRule ¶
type EgressFirewallRule struct { Cidrlist string `json:"cidrlist,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Startport string `json:"startport,omitempty"` Ipaddressid string `json:"ipaddressid,omitempty"` State string `json:"state,omitempty"` Icmptype int `json:"icmptype,omitempty"` Protocol string `json:"protocol,omitempty"` Id string `json:"id,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Endport string `json:"endport,omitempty"` Tags []struct { Domainid string `json:"domainid,omitempty"` Key string `json:"key,omitempty"` Projectid string `json:"projectid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Domain string `json:"domain,omitempty"` Value string `json:"value,omitempty"` Project string `json:"project,omitempty"` Resourceid string `json:"resourceid,omitempty"` Account string `json:"account,omitempty"` } `json:"tags,omitempty"` Networkid string `json:"networkid,omitempty"` }
type EnableAccountParams ¶
type EnableAccountParams struct {
// contains filtered or unexported fields
}
func (*EnableAccountParams) SetAccount ¶
func (p *EnableAccountParams) SetAccount(v string)
func (*EnableAccountParams) SetDomainid ¶
func (p *EnableAccountParams) SetDomainid(v string)
func (*EnableAccountParams) SetId ¶
func (p *EnableAccountParams) SetId(v string)
type EnableAccountResponse ¶
type EnableAccountResponse struct { State string `json:"state,omitempty"` Name string `json:"name,omitempty"` Volumetotal int `json:"volumetotal,omitempty"` Templatelimit string `json:"templatelimit,omitempty"` Templateavailable string `json:"templateavailable,omitempty"` Vpctotal int `json:"vpctotal,omitempty"` Vpcavailable string `json:"vpcavailable,omitempty"` Primarystoragelimit string `json:"primarystoragelimit,omitempty"` Domainid string `json:"domainid,omitempty"` Sentbytes int `json:"sentbytes,omitempty"` Networklimit string `json:"networklimit,omitempty"` Memorylimit string `json:"memorylimit,omitempty"` Primarystoragetotal int `json:"primarystoragetotal,omitempty"` Primarystorageavailable string `json:"primarystorageavailable,omitempty"` Networktotal int `json:"networktotal,omitempty"` Cpulimit string `json:"cpulimit,omitempty"` Defaultzoneid string `json:"defaultzoneid,omitempty"` Receivedbytes int `json:"receivedbytes,omitempty"` Vmstopped int `json:"vmstopped,omitempty"` Projecttotal int `json:"projecttotal,omitempty"` Accounttype int `json:"accounttype,omitempty"` Networkavailable string `json:"networkavailable,omitempty"` Cputotal int `json:"cputotal,omitempty"` Snapshotlimit string `json:"snapshotlimit,omitempty"` Volumeavailable string `json:"volumeavailable,omitempty"` Vpclimit string `json:"vpclimit,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Snapshotavailable string `json:"snapshotavailable,omitempty"` Cpuavailable string `json:"cpuavailable,omitempty"` Iscleanuprequired bool `json:"iscleanuprequired,omitempty"` Domain string `json:"domain,omitempty"` Memoryavailable string `json:"memoryavailable,omitempty"` Secondarystorageavailable string `json:"secondarystorageavailable,omitempty"` Templatetotal int `json:"templatetotal,omitempty"` Vmtotal int `json:"vmtotal,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Id string `json:"id,omitempty"` Volumelimit string `json:"volumelimit,omitempty"` Ipavailable string `json:"ipavailable,omitempty"` Snapshottotal int `json:"snapshottotal,omitempty"` Vmlimit string `json:"vmlimit,omitempty"` Vmavailable string `json:"vmavailable,omitempty"` Iptotal int `json:"iptotal,omitempty"` Secondarystoragelimit string `json:"secondarystoragelimit,omitempty"` User []struct { Isdefault bool `json:"isdefault,omitempty"` Lastname string `json:"lastname,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Username string `json:"username,omitempty"` Firstname string `json:"firstname,omitempty"` Secretkey string `json:"secretkey,omitempty"` State string `json:"state,omitempty"` Accounttype int `json:"accounttype,omitempty"` Domainid string `json:"domainid,omitempty"` Timezone string `json:"timezone,omitempty"` Apikey string `json:"apikey,omitempty"` Accountid string `json:"accountid,omitempty"` Created string `json:"created,omitempty"` Id string `json:"id,omitempty"` Email string `json:"email,omitempty"` Iscallerchilddomain bool `json:"iscallerchilddomain,omitempty"` } `json:"user,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Vmrunning int `json:"vmrunning,omitempty"` Accountdetails map[string]string `json:"accountdetails,omitempty"` Secondarystoragetotal int `json:"secondarystoragetotal,omitempty"` Iplimit string `json:"iplimit,omitempty"` Projectavailable string `json:"projectavailable,omitempty"` Projectlimit string `json:"projectlimit,omitempty"` }
type EnableAutoScaleVmGroupParams ¶
type EnableAutoScaleVmGroupParams struct {
// contains filtered or unexported fields
}
func (*EnableAutoScaleVmGroupParams) SetId ¶
func (p *EnableAutoScaleVmGroupParams) SetId(v string)
type EnableAutoScaleVmGroupResponse ¶
type EnableAutoScaleVmGroupResponse struct { JobID string `json:"jobid,omitempty"` Interval int `json:"interval,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` Scaleuppolicies []string `json:"scaleuppolicies,omitempty"` Lbruleid string `json:"lbruleid,omitempty"` Maxmembers int `json:"maxmembers,omitempty"` Domainid string `json:"domainid,omitempty"` Scaledownpolicies []string `json:"scaledownpolicies,omitempty"` Vmprofileid string `json:"vmprofileid,omitempty"` Id string `json:"id,omitempty"` Minmembers int `json:"minmembers,omitempty"` State string `json:"state,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` }
type EnableCiscoNexusVSMParams ¶
type EnableCiscoNexusVSMParams struct {
// contains filtered or unexported fields
}
func (*EnableCiscoNexusVSMParams) SetId ¶
func (p *EnableCiscoNexusVSMParams) SetId(v string)
type EnableCiscoNexusVSMResponse ¶
type EnableCiscoNexusVSMResponse struct { JobID string `json:"jobid,omitempty"` Vsmpktvlanid int `json:"vsmpktvlanid,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Vsmmgmtvlanid string `json:"vsmmgmtvlanid,omitempty"` Vsmconfigmode string `json:"vsmconfigmode,omitempty"` Vsmdevicestate string `json:"vsmdevicestate,omitempty"` Vsmconfigstate string `json:"vsmconfigstate,omitempty"` Vsmdomainid string `json:"vsmdomainid,omitempty"` Vsmctrlvlanid int `json:"vsmctrlvlanid,omitempty"` Vsmdeviceid string `json:"vsmdeviceid,omitempty"` Vsmstoragevlanid int `json:"vsmstoragevlanid,omitempty"` Vsmdevicename string `json:"vsmdevicename,omitempty"` }
type EnableStaticNatParams ¶
type EnableStaticNatParams struct {
// contains filtered or unexported fields
}
func (*EnableStaticNatParams) SetIpaddressid ¶
func (p *EnableStaticNatParams) SetIpaddressid(v string)
func (*EnableStaticNatParams) SetNetworkid ¶
func (p *EnableStaticNatParams) SetNetworkid(v string)
func (*EnableStaticNatParams) SetVirtualmachineid ¶
func (p *EnableStaticNatParams) SetVirtualmachineid(v string)
func (*EnableStaticNatParams) SetVmguestip ¶
func (p *EnableStaticNatParams) SetVmguestip(v string)
type EnableStaticNatResponse ¶
type EnableStorageMaintenanceParams ¶
type EnableStorageMaintenanceParams struct {
// contains filtered or unexported fields
}
func (*EnableStorageMaintenanceParams) SetId ¶
func (p *EnableStorageMaintenanceParams) SetId(v string)
type EnableStorageMaintenanceResponse ¶
type EnableStorageMaintenanceResponse struct { JobID string `json:"jobid,omitempty"` Path string `json:"path,omitempty"` Podname string `json:"podname,omitempty"` Zoneid string `json:"zoneid,omitempty"` Created string `json:"created,omitempty"` Storagecapabilities map[string]string `json:"storagecapabilities,omitempty"` State string `json:"state,omitempty"` Clustername string `json:"clustername,omitempty"` Disksizetotal int `json:"disksizetotal,omitempty"` Capacityiops int `json:"capacityiops,omitempty"` Disksizeused int `json:"disksizeused,omitempty"` Tags string `json:"tags,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Zonename string `json:"zonename,omitempty"` Scope string `json:"scope,omitempty"` Clusterid string `json:"clusterid,omitempty"` Podid string `json:"podid,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Suitableformigration bool `json:"suitableformigration,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Disksizeallocated int `json:"disksizeallocated,omitempty"` }
type EnableUserParams ¶
type EnableUserParams struct {
// contains filtered or unexported fields
}
func (*EnableUserParams) SetId ¶
func (p *EnableUserParams) SetId(v string)
type EnableUserResponse ¶
type EnableUserResponse struct { Apikey string `json:"apikey,omitempty"` Id string `json:"id,omitempty"` Domain string `json:"domain,omitempty"` Accountid string `json:"accountid,omitempty"` Secretkey string `json:"secretkey,omitempty"` Lastname string `json:"lastname,omitempty"` Domainid string `json:"domainid,omitempty"` Iscallerchilddomain bool `json:"iscallerchilddomain,omitempty"` State string `json:"state,omitempty"` Email string `json:"email,omitempty"` Account string `json:"account,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Created string `json:"created,omitempty"` Username string `json:"username,omitempty"` Timezone string `json:"timezone,omitempty"` Accounttype int `json:"accounttype,omitempty"` Firstname string `json:"firstname,omitempty"` }
type Event ¶
type Event struct { Username string `json:"username,omitempty"` Description string `json:"description,omitempty"` Account string `json:"account,omitempty"` Id string `json:"id,omitempty"` Type string `json:"type,omitempty"` Created string `json:"created,omitempty"` Parentid string `json:"parentid,omitempty"` Project string `json:"project,omitempty"` Domainid string `json:"domainid,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Level string `json:"level,omitempty"` State string `json:"state,omitempty"` }
type EventService ¶
type EventService struct {
// contains filtered or unexported fields
}
func NewEventService ¶
func NewEventService(cs *CloudStackClient) *EventService
func (*EventService) ArchiveEvents ¶
func (s *EventService) ArchiveEvents(p *ArchiveEventsParams) (*ArchiveEventsResponse, error)
Archive one or more events.
func (*EventService) DeleteEvents ¶
func (s *EventService) DeleteEvents(p *DeleteEventsParams) (*DeleteEventsResponse, error)
Delete one or more events.
func (*EventService) GetEventID ¶
func (s *EventService) GetEventID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*EventService) ListEventTypes ¶
func (s *EventService) ListEventTypes(p *ListEventTypesParams) (*ListEventTypesResponse, error)
List Event Types
func (*EventService) ListEvents ¶
func (s *EventService) ListEvents(p *ListEventsParams) (*ListEventsResponse, error)
A command to list events.
func (*EventService) NewArchiveEventsParams ¶
func (s *EventService) NewArchiveEventsParams() *ArchiveEventsParams
You should always use this function to get a new ArchiveEventsParams instance, as then you are sure you have configured all required params
func (*EventService) NewDeleteEventsParams ¶
func (s *EventService) NewDeleteEventsParams() *DeleteEventsParams
You should always use this function to get a new DeleteEventsParams instance, as then you are sure you have configured all required params
func (*EventService) NewListEventTypesParams ¶
func (s *EventService) NewListEventTypesParams() *ListEventTypesParams
You should always use this function to get a new ListEventTypesParams instance, as then you are sure you have configured all required params
func (*EventService) NewListEventsParams ¶
func (s *EventService) NewListEventsParams() *ListEventsParams
You should always use this function to get a new ListEventsParams instance, as then you are sure you have configured all required params
type ExpungeVirtualMachineParams ¶
type ExpungeVirtualMachineParams struct {
// contains filtered or unexported fields
}
func (*ExpungeVirtualMachineParams) SetId ¶
func (p *ExpungeVirtualMachineParams) SetId(v string)
type ExtFirewallService ¶
type ExtFirewallService struct {
// contains filtered or unexported fields
}
func NewExtFirewallService ¶
func NewExtFirewallService(cs *CloudStackClient) *ExtFirewallService
func (*ExtFirewallService) AddExternalFirewall ¶
func (s *ExtFirewallService) AddExternalFirewall(p *AddExternalFirewallParams) (*AddExternalFirewallResponse, error)
Adds an external firewall appliance
func (*ExtFirewallService) DeleteExternalFirewall ¶
func (s *ExtFirewallService) DeleteExternalFirewall(p *DeleteExternalFirewallParams) (*DeleteExternalFirewallResponse, error)
Deletes an external firewall appliance.
func (*ExtFirewallService) GetExternalFirewallID ¶
func (s *ExtFirewallService) GetExternalFirewallID(keyword string, zoneid string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*ExtFirewallService) ListExternalFirewalls ¶
func (s *ExtFirewallService) ListExternalFirewalls(p *ListExternalFirewallsParams) (*ListExternalFirewallsResponse, error)
List external firewall appliances.
func (*ExtFirewallService) NewAddExternalFirewallParams ¶
func (s *ExtFirewallService) NewAddExternalFirewallParams(password string, url string, username string, zoneid string) *AddExternalFirewallParams
You should always use this function to get a new AddExternalFirewallParams instance, as then you are sure you have configured all required params
func (*ExtFirewallService) NewDeleteExternalFirewallParams ¶
func (s *ExtFirewallService) NewDeleteExternalFirewallParams(id string) *DeleteExternalFirewallParams
You should always use this function to get a new DeleteExternalFirewallParams instance, as then you are sure you have configured all required params
func (*ExtFirewallService) NewListExternalFirewallsParams ¶
func (s *ExtFirewallService) NewListExternalFirewallsParams(zoneid string) *ListExternalFirewallsParams
You should always use this function to get a new ListExternalFirewallsParams instance, as then you are sure you have configured all required params
type ExtLoadBalancerService ¶
type ExtLoadBalancerService struct {
// contains filtered or unexported fields
}
func NewExtLoadBalancerService ¶
func NewExtLoadBalancerService(cs *CloudStackClient) *ExtLoadBalancerService
func (*ExtLoadBalancerService) AddExternalLoadBalancer ¶
func (s *ExtLoadBalancerService) AddExternalLoadBalancer(p *AddExternalLoadBalancerParams) (*AddExternalLoadBalancerResponse, error)
Adds F5 external load balancer appliance.
func (*ExtLoadBalancerService) DeleteExternalLoadBalancer ¶
func (s *ExtLoadBalancerService) DeleteExternalLoadBalancer(p *DeleteExternalLoadBalancerParams) (*DeleteExternalLoadBalancerResponse, error)
Deletes a F5 external load balancer appliance added in a zone.
func (*ExtLoadBalancerService) GetExternalLoadBalancerID ¶
func (s *ExtLoadBalancerService) GetExternalLoadBalancerID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*ExtLoadBalancerService) ListExternalLoadBalancers ¶
func (s *ExtLoadBalancerService) ListExternalLoadBalancers(p *ListExternalLoadBalancersParams) (*ListExternalLoadBalancersResponse, error)
Lists F5 external load balancer appliances added in a zone.
func (*ExtLoadBalancerService) NewAddExternalLoadBalancerParams ¶
func (s *ExtLoadBalancerService) NewAddExternalLoadBalancerParams(password string, url string, username string, zoneid string) *AddExternalLoadBalancerParams
You should always use this function to get a new AddExternalLoadBalancerParams instance, as then you are sure you have configured all required params
func (*ExtLoadBalancerService) NewDeleteExternalLoadBalancerParams ¶
func (s *ExtLoadBalancerService) NewDeleteExternalLoadBalancerParams(id string) *DeleteExternalLoadBalancerParams
You should always use this function to get a new DeleteExternalLoadBalancerParams instance, as then you are sure you have configured all required params
func (*ExtLoadBalancerService) NewListExternalLoadBalancersParams ¶
func (s *ExtLoadBalancerService) NewListExternalLoadBalancersParams() *ListExternalLoadBalancersParams
You should always use this function to get a new ListExternalLoadBalancersParams instance, as then you are sure you have configured all required params
type ExternalDeviceService ¶
type ExternalDeviceService struct {
// contains filtered or unexported fields
}
func NewExternalDeviceService ¶
func NewExternalDeviceService(cs *CloudStackClient) *ExternalDeviceService
func (*ExternalDeviceService) AddCiscoAsa1000vResource ¶
func (s *ExternalDeviceService) AddCiscoAsa1000vResource(p *AddCiscoAsa1000vResourceParams) (*AddCiscoAsa1000vResourceResponse, error)
Adds a Cisco Asa 1000v appliance
func (*ExternalDeviceService) AddCiscoVnmcResource ¶
func (s *ExternalDeviceService) AddCiscoVnmcResource(p *AddCiscoVnmcResourceParams) (*AddCiscoVnmcResourceResponse, error)
Adds a Cisco Vnmc Controller
func (*ExternalDeviceService) DeleteCiscoAsa1000vResource ¶
func (s *ExternalDeviceService) DeleteCiscoAsa1000vResource(p *DeleteCiscoAsa1000vResourceParams) (*DeleteCiscoAsa1000vResourceResponse, error)
Deletes a Cisco ASA 1000v appliance
func (*ExternalDeviceService) DeleteCiscoNexusVSM ¶
func (s *ExternalDeviceService) DeleteCiscoNexusVSM(p *DeleteCiscoNexusVSMParams) (*DeleteCiscoNexusVSMResponse, error)
delete a Cisco Nexus VSM device
func (*ExternalDeviceService) DeleteCiscoVnmcResource ¶
func (s *ExternalDeviceService) DeleteCiscoVnmcResource(p *DeleteCiscoVnmcResourceParams) (*DeleteCiscoVnmcResourceResponse, error)
Deletes a Cisco Vnmc controller
func (*ExternalDeviceService) DisableCiscoNexusVSM ¶
func (s *ExternalDeviceService) DisableCiscoNexusVSM(p *DisableCiscoNexusVSMParams) (*DisableCiscoNexusVSMResponse, error)
disable a Cisco Nexus VSM device
func (*ExternalDeviceService) EnableCiscoNexusVSM ¶
func (s *ExternalDeviceService) EnableCiscoNexusVSM(p *EnableCiscoNexusVSMParams) (*EnableCiscoNexusVSMResponse, error)
Enable a Cisco Nexus VSM device
func (*ExternalDeviceService) ListCiscoAsa1000vResources ¶
func (s *ExternalDeviceService) ListCiscoAsa1000vResources(p *ListCiscoAsa1000vResourcesParams) (*ListCiscoAsa1000vResourcesResponse, error)
Lists Cisco ASA 1000v appliances
func (*ExternalDeviceService) ListCiscoNexusVSMs ¶
func (s *ExternalDeviceService) ListCiscoNexusVSMs(p *ListCiscoNexusVSMsParams) (*ListCiscoNexusVSMsResponse, error)
Retrieves a Cisco Nexus 1000v Virtual Switch Manager device associated with a Cluster
func (*ExternalDeviceService) ListCiscoVnmcResources ¶
func (s *ExternalDeviceService) ListCiscoVnmcResources(p *ListCiscoVnmcResourcesParams) (*ListCiscoVnmcResourcesResponse, error)
Lists Cisco VNMC controllers
func (*ExternalDeviceService) NewAddCiscoAsa1000vResourceParams ¶
func (s *ExternalDeviceService) NewAddCiscoAsa1000vResourceParams(clusterid string, hostname string, insideportprofile string, physicalnetworkid string) *AddCiscoAsa1000vResourceParams
You should always use this function to get a new AddCiscoAsa1000vResourceParams instance, as then you are sure you have configured all required params
func (*ExternalDeviceService) NewAddCiscoVnmcResourceParams ¶
func (s *ExternalDeviceService) NewAddCiscoVnmcResourceParams(hostname string, password string, physicalnetworkid string, username string) *AddCiscoVnmcResourceParams
You should always use this function to get a new AddCiscoVnmcResourceParams instance, as then you are sure you have configured all required params
func (*ExternalDeviceService) NewDeleteCiscoAsa1000vResourceParams ¶
func (s *ExternalDeviceService) NewDeleteCiscoAsa1000vResourceParams(resourceid string) *DeleteCiscoAsa1000vResourceParams
You should always use this function to get a new DeleteCiscoAsa1000vResourceParams instance, as then you are sure you have configured all required params
func (*ExternalDeviceService) NewDeleteCiscoNexusVSMParams ¶
func (s *ExternalDeviceService) NewDeleteCiscoNexusVSMParams(id string) *DeleteCiscoNexusVSMParams
You should always use this function to get a new DeleteCiscoNexusVSMParams instance, as then you are sure you have configured all required params
func (*ExternalDeviceService) NewDeleteCiscoVnmcResourceParams ¶
func (s *ExternalDeviceService) NewDeleteCiscoVnmcResourceParams(resourceid string) *DeleteCiscoVnmcResourceParams
You should always use this function to get a new DeleteCiscoVnmcResourceParams instance, as then you are sure you have configured all required params
func (*ExternalDeviceService) NewDisableCiscoNexusVSMParams ¶
func (s *ExternalDeviceService) NewDisableCiscoNexusVSMParams(id string) *DisableCiscoNexusVSMParams
You should always use this function to get a new DisableCiscoNexusVSMParams instance, as then you are sure you have configured all required params
func (*ExternalDeviceService) NewEnableCiscoNexusVSMParams ¶
func (s *ExternalDeviceService) NewEnableCiscoNexusVSMParams(id string) *EnableCiscoNexusVSMParams
You should always use this function to get a new EnableCiscoNexusVSMParams instance, as then you are sure you have configured all required params
func (*ExternalDeviceService) NewListCiscoAsa1000vResourcesParams ¶
func (s *ExternalDeviceService) NewListCiscoAsa1000vResourcesParams() *ListCiscoAsa1000vResourcesParams
You should always use this function to get a new ListCiscoAsa1000vResourcesParams instance, as then you are sure you have configured all required params
func (*ExternalDeviceService) NewListCiscoNexusVSMsParams ¶
func (s *ExternalDeviceService) NewListCiscoNexusVSMsParams() *ListCiscoNexusVSMsParams
You should always use this function to get a new ListCiscoNexusVSMsParams instance, as then you are sure you have configured all required params
func (*ExternalDeviceService) NewListCiscoVnmcResourcesParams ¶
func (s *ExternalDeviceService) NewListCiscoVnmcResourcesParams() *ListCiscoVnmcResourcesParams
You should always use this function to get a new ListCiscoVnmcResourcesParams instance, as then you are sure you have configured all required params
type ExternalFirewall ¶
type ExternalFirewall struct { Privatezone string `json:"privatezone,omitempty"` Zoneid string `json:"zoneid,omitempty"` Publicinterface string `json:"publicinterface,omitempty"` Numretries string `json:"numretries,omitempty"` Publiczone string `json:"publiczone,omitempty"` Usageinterface string `json:"usageinterface,omitempty"` Privateinterface string `json:"privateinterface,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Username string `json:"username,omitempty"` Timeout string `json:"timeout,omitempty"` Id string `json:"id,omitempty"` }
type ExternalLoadBalancer ¶
type ExternalLoadBalancer struct { Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Resourcestate string `json:"resourcestate,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Hypervisorversion string `json:"hypervisorversion,omitempty"` Lastpinged string `json:"lastpinged,omitempty"` State string `json:"state,omitempty"` Version string `json:"version,omitempty"` Cpuwithoverprovisioning string `json:"cpuwithoverprovisioning,omitempty"` Cpuused string `json:"cpuused,omitempty"` Clusterid string `json:"clusterid,omitempty"` Oscategoryname string `json:"oscategoryname,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Hahost bool `json:"hahost,omitempty"` Suitableformigration bool `json:"suitableformigration,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Podid string `json:"podid,omitempty"` Memoryused int `json:"memoryused,omitempty"` Disksizetotal int `json:"disksizetotal,omitempty"` Oscategoryid string `json:"oscategoryid,omitempty"` Created string `json:"created,omitempty"` Averageload int `json:"averageload,omitempty"` Removed string `json:"removed,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Zonename string `json:"zonename,omitempty"` Events string `json:"events,omitempty"` Zoneid string `json:"zoneid,omitempty"` Managementserverid int `json:"managementserverid,omitempty"` Capabilities string `json:"capabilities,omitempty"` Podname string `json:"podname,omitempty"` Disconnected string `json:"disconnected,omitempty"` Clustername string `json:"clustername,omitempty"` Id string `json:"id,omitempty"` Hasenoughcapacity bool `json:"hasenoughcapacity,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Cpusockets int `json:"cpusockets,omitempty"` Cpuallocated string `json:"cpuallocated,omitempty"` Clustertype string `json:"clustertype,omitempty"` Memoryallocated int `json:"memoryallocated,omitempty"` Islocalstorageactive bool `json:"islocalstorageactive,omitempty"` Disksizeallocated int `json:"disksizeallocated,omitempty"` }
type ExtractIsoParams ¶
type ExtractIsoParams struct {
// contains filtered or unexported fields
}
func (*ExtractIsoParams) SetId ¶
func (p *ExtractIsoParams) SetId(v string)
func (*ExtractIsoParams) SetMode ¶
func (p *ExtractIsoParams) SetMode(v string)
func (*ExtractIsoParams) SetUrl ¶
func (p *ExtractIsoParams) SetUrl(v string)
func (*ExtractIsoParams) SetZoneid ¶
func (p *ExtractIsoParams) SetZoneid(v string)
type ExtractIsoResponse ¶
type ExtractIsoResponse struct { JobID string `json:"jobid,omitempty"` Url string `json:"url,omitempty"` Resultstring string `json:"resultstring,omitempty"` ExtractId string `json:"extractId,omitempty"` Status string `json:"status,omitempty"` Created string `json:"created,omitempty"` Storagetype string `json:"storagetype,omitempty"` Uploadpercentage int `json:"uploadpercentage,omitempty"` Zonename string `json:"zonename,omitempty"` Name string `json:"name,omitempty"` ExtractMode string `json:"extractMode,omitempty"` Id string `json:"id,omitempty"` Accountid string `json:"accountid,omitempty"` Zoneid string `json:"zoneid,omitempty"` State string `json:"state,omitempty"` }
type ExtractTemplateParams ¶
type ExtractTemplateParams struct {
// contains filtered or unexported fields
}
func (*ExtractTemplateParams) SetId ¶
func (p *ExtractTemplateParams) SetId(v string)
func (*ExtractTemplateParams) SetMode ¶
func (p *ExtractTemplateParams) SetMode(v string)
func (*ExtractTemplateParams) SetUrl ¶
func (p *ExtractTemplateParams) SetUrl(v string)
func (*ExtractTemplateParams) SetZoneid ¶
func (p *ExtractTemplateParams) SetZoneid(v string)
type ExtractTemplateResponse ¶
type ExtractTemplateResponse struct { JobID string `json:"jobid,omitempty"` ExtractId string `json:"extractId,omitempty"` Status string `json:"status,omitempty"` State string `json:"state,omitempty"` Accountid string `json:"accountid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Url string `json:"url,omitempty"` Zonename string `json:"zonename,omitempty"` Created string `json:"created,omitempty"` Name string `json:"name,omitempty"` Uploadpercentage int `json:"uploadpercentage,omitempty"` ExtractMode string `json:"extractMode,omitempty"` Storagetype string `json:"storagetype,omitempty"` Resultstring string `json:"resultstring,omitempty"` Id string `json:"id,omitempty"` }
type ExtractVolumeParams ¶
type ExtractVolumeParams struct {
// contains filtered or unexported fields
}
func (*ExtractVolumeParams) SetId ¶
func (p *ExtractVolumeParams) SetId(v string)
func (*ExtractVolumeParams) SetMode ¶
func (p *ExtractVolumeParams) SetMode(v string)
func (*ExtractVolumeParams) SetUrl ¶
func (p *ExtractVolumeParams) SetUrl(v string)
func (*ExtractVolumeParams) SetZoneid ¶
func (p *ExtractVolumeParams) SetZoneid(v string)
type ExtractVolumeResponse ¶
type ExtractVolumeResponse struct { JobID string `json:"jobid,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Status string `json:"status,omitempty"` Resultstring string `json:"resultstring,omitempty"` Uploadpercentage int `json:"uploadpercentage,omitempty"` Zonename string `json:"zonename,omitempty"` Created string `json:"created,omitempty"` State string `json:"state,omitempty"` Storagetype string `json:"storagetype,omitempty"` ExtractId string `json:"extractId,omitempty"` ExtractMode string `json:"extractMode,omitempty"` Accountid string `json:"accountid,omitempty"` Url string `json:"url,omitempty"` Zoneid string `json:"zoneid,omitempty"` }
type F5LoadBalancer ¶
type F5LoadBalancer struct { Lbdevicename string `json:"lbdevicename,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Provider string `json:"provider,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Lbdevicecapacity int `json:"lbdevicecapacity,omitempty"` Lbdevicededicated bool `json:"lbdevicededicated,omitempty"` Privateinterface string `json:"privateinterface,omitempty"` Publicinterface string `json:"publicinterface,omitempty"` Lbdevicestate string `json:"lbdevicestate,omitempty"` Lbdeviceid string `json:"lbdeviceid,omitempty"` }
type F5LoadBalancerNetwork ¶
type F5LoadBalancerNetwork struct { Subdomainaccess bool `json:"subdomainaccess,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Networkcidr string `json:"networkcidr,omitempty"` Networkofferingavailability string `json:"networkofferingavailability,omitempty"` Ispersistent bool `json:"ispersistent,omitempty"` Restartrequired bool `json:"restartrequired,omitempty"` Project string `json:"project,omitempty"` Id string `json:"id,omitempty"` Issystem bool `json:"issystem,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Tags []struct { Value string `json:"value,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` Customer string `json:"customer,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Key string `json:"key,omitempty"` Resourceid string `json:"resourceid,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` } `json:"tags,omitempty"` Traffictype string `json:"traffictype,omitempty"` Domain string `json:"domain,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Networkofferingname string `json:"networkofferingname,omitempty"` Acltype string `json:"acltype,omitempty"` Networkofferingconservemode bool `json:"networkofferingconservemode,omitempty"` Vpcid string `json:"vpcid,omitempty"` Broadcastdomaintype string `json:"broadcastdomaintype,omitempty"` Displaynetwork bool `json:"displaynetwork,omitempty"` Zoneid string `json:"zoneid,omitempty"` Specifyipranges bool `json:"specifyipranges,omitempty"` Dns2 string `json:"dns2,omitempty"` Canusefordeploy bool `json:"canusefordeploy,omitempty"` Cidr string `json:"cidr,omitempty"` Name string `json:"name,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Projectid string `json:"projectid,omitempty"` Gateway string `json:"gateway,omitempty"` Service []struct { Capability []struct { Name string `json:"name,omitempty"` Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` Value string `json:"value,omitempty"` } `json:"capability,omitempty"` Name string `json:"name,omitempty"` Provider []struct { Servicelist []string `json:"servicelist,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` State string `json:"state,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` } `json:"provider,omitempty"` } `json:"service,omitempty"` Zonename string `json:"zonename,omitempty"` State string `json:"state,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Related string `json:"related,omitempty"` Dns1 string `json:"dns1,omitempty"` Domainid string `json:"domainid,omitempty"` Netmask string `json:"netmask,omitempty"` Type string `json:"type,omitempty"` Aclid string `json:"aclid,omitempty"` Reservediprange string `json:"reservediprange,omitempty"` Networkofferingid string `json:"networkofferingid,omitempty"` Vlan string `json:"vlan,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Account string `json:"account,omitempty"` Displaytext string `json:"displaytext,omitempty"` Networkofferingdisplaytext string `json:"networkofferingdisplaytext,omitempty"` }
type FindHostsForMigrationParams ¶
type FindHostsForMigrationParams struct {
// contains filtered or unexported fields
}
func (*FindHostsForMigrationParams) SetKeyword ¶
func (p *FindHostsForMigrationParams) SetKeyword(v string)
func (*FindHostsForMigrationParams) SetPage ¶
func (p *FindHostsForMigrationParams) SetPage(v int)
func (*FindHostsForMigrationParams) SetPagesize ¶
func (p *FindHostsForMigrationParams) SetPagesize(v int)
func (*FindHostsForMigrationParams) SetVirtualmachineid ¶
func (p *FindHostsForMigrationParams) SetVirtualmachineid(v string)
type FindHostsForMigrationResponse ¶
type FindHostsForMigrationResponse struct { Name string `json:"name,omitempty"` Hypervisorversion string `json:"hypervisorversion,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Clustertype string `json:"clustertype,omitempty"` Cpuwithoverprovisioning string `json:"cpuwithoverprovisioning,omitempty"` Created string `json:"created,omitempty"` Resourcestate string `json:"resourcestate,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Hahost bool `json:"hahost,omitempty"` Disksizetotal int `json:"disksizetotal,omitempty"` Events string `json:"events,omitempty"` Hasenoughcapacity bool `json:"hasenoughcapacity,omitempty"` Version string `json:"version,omitempty"` Capabilities string `json:"capabilities,omitempty"` Oscategoryname string `json:"oscategoryname,omitempty"` Id string `json:"id,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Averageload int `json:"averageload,omitempty"` Oscategoryid string `json:"oscategoryid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Cpuused string `json:"cpuused,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Suitableformigration bool `json:"suitableformigration,omitempty"` RequiresStorageMotion bool `json:"requiresStorageMotion,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Disksizeallocated int `json:"disksizeallocated,omitempty"` Podid string `json:"podid,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Clusterid string `json:"clusterid,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Managementserverid int `json:"managementserverid,omitempty"` Zonename string `json:"zonename,omitempty"` Type string `json:"type,omitempty"` Disconnected string `json:"disconnected,omitempty"` Memoryallocated int `json:"memoryallocated,omitempty"` Podname string `json:"podname,omitempty"` Clustername string `json:"clustername,omitempty"` Lastpinged string `json:"lastpinged,omitempty"` Islocalstorageactive bool `json:"islocalstorageactive,omitempty"` Cpuallocated string `json:"cpuallocated,omitempty"` Removed string `json:"removed,omitempty"` State string `json:"state,omitempty"` Memoryused int `json:"memoryused,omitempty"` }
type FindStoragePoolsForMigrationParams ¶
type FindStoragePoolsForMigrationParams struct {
// contains filtered or unexported fields
}
func (*FindStoragePoolsForMigrationParams) SetId ¶
func (p *FindStoragePoolsForMigrationParams) SetId(v string)
func (*FindStoragePoolsForMigrationParams) SetKeyword ¶
func (p *FindStoragePoolsForMigrationParams) SetKeyword(v string)
func (*FindStoragePoolsForMigrationParams) SetPage ¶
func (p *FindStoragePoolsForMigrationParams) SetPage(v int)
func (*FindStoragePoolsForMigrationParams) SetPagesize ¶
func (p *FindStoragePoolsForMigrationParams) SetPagesize(v int)
type FindStoragePoolsForMigrationResponse ¶
type FindStoragePoolsForMigrationResponse struct { Tags string `json:"tags,omitempty"` Disksizeused int `json:"disksizeused,omitempty"` Zoneid string `json:"zoneid,omitempty"` Created string `json:"created,omitempty"` Scope string `json:"scope,omitempty"` Podid string `json:"podid,omitempty"` Clustername string `json:"clustername,omitempty"` Id string `json:"id,omitempty"` Path string `json:"path,omitempty"` Storagecapabilities map[string]string `json:"storagecapabilities,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Clusterid string `json:"clusterid,omitempty"` State string `json:"state,omitempty"` Disksizeallocated int `json:"disksizeallocated,omitempty"` Type string `json:"type,omitempty"` Zonename string `json:"zonename,omitempty"` Suitableformigration bool `json:"suitableformigration,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Podname string `json:"podname,omitempty"` Name string `json:"name,omitempty"` Capacityiops int `json:"capacityiops,omitempty"` Disksizetotal int `json:"disksizetotal,omitempty"` }
type FirewallRule ¶
type FirewallRule struct { Endport string `json:"endport,omitempty"` Networkid string `json:"networkid,omitempty"` Startport string `json:"startport,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Icmptype int `json:"icmptype,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Protocol string `json:"protocol,omitempty"` Id string `json:"id,omitempty"` Tags []struct { Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Value string `json:"value,omitempty"` Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Key string `json:"key,omitempty"` Customer string `json:"customer,omitempty"` Account string `json:"account,omitempty"` } `json:"tags,omitempty"` Ipaddressid string `json:"ipaddressid,omitempty"` State string `json:"state,omitempty"` }
type FirewallService ¶
type FirewallService struct {
// contains filtered or unexported fields
}
func NewFirewallService ¶
func NewFirewallService(cs *CloudStackClient) *FirewallService
func (*FirewallService) AddPaloAltoFirewall ¶
func (s *FirewallService) AddPaloAltoFirewall(p *AddPaloAltoFirewallParams) (*AddPaloAltoFirewallResponse, error)
Adds a Palo Alto firewall device
func (*FirewallService) AddSrxFirewall ¶
func (s *FirewallService) AddSrxFirewall(p *AddSrxFirewallParams) (*AddSrxFirewallResponse, error)
Adds a SRX firewall device
func (*FirewallService) ConfigurePaloAltoFirewall ¶
func (s *FirewallService) ConfigurePaloAltoFirewall(p *ConfigurePaloAltoFirewallParams) (*ConfigurePaloAltoFirewallResponse, error)
Configures a Palo Alto firewall device
func (*FirewallService) ConfigureSrxFirewall ¶
func (s *FirewallService) ConfigureSrxFirewall(p *ConfigureSrxFirewallParams) (*ConfigureSrxFirewallResponse, error)
Configures a SRX firewall device
func (*FirewallService) CreateEgressFirewallRule ¶
func (s *FirewallService) CreateEgressFirewallRule(p *CreateEgressFirewallRuleParams) (*CreateEgressFirewallRuleResponse, error)
Creates a egress firewall rule for a given network
func (*FirewallService) CreateFirewallRule ¶
func (s *FirewallService) CreateFirewallRule(p *CreateFirewallRuleParams) (*CreateFirewallRuleResponse, error)
Creates a firewall rule for a given ip address
func (*FirewallService) CreatePortForwardingRule ¶
func (s *FirewallService) CreatePortForwardingRule(p *CreatePortForwardingRuleParams) (*CreatePortForwardingRuleResponse, error)
Creates a port forwarding rule
func (*FirewallService) DeleteEgressFirewallRule ¶
func (s *FirewallService) DeleteEgressFirewallRule(p *DeleteEgressFirewallRuleParams) (*DeleteEgressFirewallRuleResponse, error)
Deletes an ggress firewall rule
func (*FirewallService) DeleteFirewallRule ¶
func (s *FirewallService) DeleteFirewallRule(p *DeleteFirewallRuleParams) (*DeleteFirewallRuleResponse, error)
Deletes a firewall rule
func (*FirewallService) DeletePaloAltoFirewall ¶
func (s *FirewallService) DeletePaloAltoFirewall(p *DeletePaloAltoFirewallParams) (*DeletePaloAltoFirewallResponse, error)
delete a Palo Alto firewall device
func (*FirewallService) DeletePortForwardingRule ¶
func (s *FirewallService) DeletePortForwardingRule(p *DeletePortForwardingRuleParams) (*DeletePortForwardingRuleResponse, error)
Deletes a port forwarding rule
func (*FirewallService) DeleteSrxFirewall ¶
func (s *FirewallService) DeleteSrxFirewall(p *DeleteSrxFirewallParams) (*DeleteSrxFirewallResponse, error)
delete a SRX firewall device
func (*FirewallService) GetEgressFirewallRuleID ¶
func (s *FirewallService) GetEgressFirewallRuleID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*FirewallService) GetFirewallRuleID ¶
func (s *FirewallService) GetFirewallRuleID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*FirewallService) GetPortForwardingRuleID ¶
func (s *FirewallService) GetPortForwardingRuleID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*FirewallService) ListEgressFirewallRules ¶
func (s *FirewallService) ListEgressFirewallRules(p *ListEgressFirewallRulesParams) (*ListEgressFirewallRulesResponse, error)
Lists all egress firewall rules for network id.
func (*FirewallService) ListFirewallRules ¶
func (s *FirewallService) ListFirewallRules(p *ListFirewallRulesParams) (*ListFirewallRulesResponse, error)
Lists all firewall rules for an IP address.
func (*FirewallService) ListPaloAltoFirewalls ¶
func (s *FirewallService) ListPaloAltoFirewalls(p *ListPaloAltoFirewallsParams) (*ListPaloAltoFirewallsResponse, error)
lists Palo Alto firewall devices in a physical network
func (*FirewallService) ListPortForwardingRules ¶
func (s *FirewallService) ListPortForwardingRules(p *ListPortForwardingRulesParams) (*ListPortForwardingRulesResponse, error)
Lists all port forwarding rules for an IP address.
func (*FirewallService) ListSrxFirewalls ¶
func (s *FirewallService) ListSrxFirewalls(p *ListSrxFirewallsParams) (*ListSrxFirewallsResponse, error)
lists SRX firewall devices in a physical network
func (*FirewallService) NewAddPaloAltoFirewallParams ¶
func (s *FirewallService) NewAddPaloAltoFirewallParams(networkdevicetype string, password string, physicalnetworkid string, url string, username string) *AddPaloAltoFirewallParams
You should always use this function to get a new AddPaloAltoFirewallParams instance, as then you are sure you have configured all required params
func (*FirewallService) NewAddSrxFirewallParams ¶
func (s *FirewallService) NewAddSrxFirewallParams(networkdevicetype string, password string, physicalnetworkid string, url string, username string) *AddSrxFirewallParams
You should always use this function to get a new AddSrxFirewallParams instance, as then you are sure you have configured all required params
func (*FirewallService) NewConfigurePaloAltoFirewallParams ¶
func (s *FirewallService) NewConfigurePaloAltoFirewallParams(fwdeviceid string) *ConfigurePaloAltoFirewallParams
You should always use this function to get a new ConfigurePaloAltoFirewallParams instance, as then you are sure you have configured all required params
func (*FirewallService) NewConfigureSrxFirewallParams ¶
func (s *FirewallService) NewConfigureSrxFirewallParams(fwdeviceid string) *ConfigureSrxFirewallParams
You should always use this function to get a new ConfigureSrxFirewallParams instance, as then you are sure you have configured all required params
func (*FirewallService) NewCreateEgressFirewallRuleParams ¶
func (s *FirewallService) NewCreateEgressFirewallRuleParams(networkid string, protocol string) *CreateEgressFirewallRuleParams
You should always use this function to get a new CreateEgressFirewallRuleParams instance, as then you are sure you have configured all required params
func (*FirewallService) NewCreateFirewallRuleParams ¶
func (s *FirewallService) NewCreateFirewallRuleParams(ipaddressid string, protocol string) *CreateFirewallRuleParams
You should always use this function to get a new CreateFirewallRuleParams instance, as then you are sure you have configured all required params
func (*FirewallService) NewCreatePortForwardingRuleParams ¶
func (s *FirewallService) NewCreatePortForwardingRuleParams(ipaddressid string, privateport int, protocol string, publicport int, virtualmachineid string) *CreatePortForwardingRuleParams
You should always use this function to get a new CreatePortForwardingRuleParams instance, as then you are sure you have configured all required params
func (*FirewallService) NewDeleteEgressFirewallRuleParams ¶
func (s *FirewallService) NewDeleteEgressFirewallRuleParams(id string) *DeleteEgressFirewallRuleParams
You should always use this function to get a new DeleteEgressFirewallRuleParams instance, as then you are sure you have configured all required params
func (*FirewallService) NewDeleteFirewallRuleParams ¶
func (s *FirewallService) NewDeleteFirewallRuleParams(id string) *DeleteFirewallRuleParams
You should always use this function to get a new DeleteFirewallRuleParams instance, as then you are sure you have configured all required params
func (*FirewallService) NewDeletePaloAltoFirewallParams ¶
func (s *FirewallService) NewDeletePaloAltoFirewallParams(fwdeviceid string) *DeletePaloAltoFirewallParams
You should always use this function to get a new DeletePaloAltoFirewallParams instance, as then you are sure you have configured all required params
func (*FirewallService) NewDeletePortForwardingRuleParams ¶
func (s *FirewallService) NewDeletePortForwardingRuleParams(id string) *DeletePortForwardingRuleParams
You should always use this function to get a new DeletePortForwardingRuleParams instance, as then you are sure you have configured all required params
func (*FirewallService) NewDeleteSrxFirewallParams ¶
func (s *FirewallService) NewDeleteSrxFirewallParams(fwdeviceid string) *DeleteSrxFirewallParams
You should always use this function to get a new DeleteSrxFirewallParams instance, as then you are sure you have configured all required params
func (*FirewallService) NewListEgressFirewallRulesParams ¶
func (s *FirewallService) NewListEgressFirewallRulesParams() *ListEgressFirewallRulesParams
You should always use this function to get a new ListEgressFirewallRulesParams instance, as then you are sure you have configured all required params
func (*FirewallService) NewListFirewallRulesParams ¶
func (s *FirewallService) NewListFirewallRulesParams() *ListFirewallRulesParams
You should always use this function to get a new ListFirewallRulesParams instance, as then you are sure you have configured all required params
func (*FirewallService) NewListPaloAltoFirewallsParams ¶
func (s *FirewallService) NewListPaloAltoFirewallsParams() *ListPaloAltoFirewallsParams
You should always use this function to get a new ListPaloAltoFirewallsParams instance, as then you are sure you have configured all required params
func (*FirewallService) NewListPortForwardingRulesParams ¶
func (s *FirewallService) NewListPortForwardingRulesParams() *ListPortForwardingRulesParams
You should always use this function to get a new ListPortForwardingRulesParams instance, as then you are sure you have configured all required params
func (*FirewallService) NewListSrxFirewallsParams ¶
func (s *FirewallService) NewListSrxFirewallsParams() *ListSrxFirewallsParams
You should always use this function to get a new ListSrxFirewallsParams instance, as then you are sure you have configured all required params
func (*FirewallService) NewUpdatePortForwardingRuleParams ¶
func (s *FirewallService) NewUpdatePortForwardingRuleParams(ipaddressid string, privateport string, protocol string, publicport string) *UpdatePortForwardingRuleParams
You should always use this function to get a new UpdatePortForwardingRuleParams instance, as then you are sure you have configured all required params
func (*FirewallService) UpdatePortForwardingRule ¶
func (s *FirewallService) UpdatePortForwardingRule(p *UpdatePortForwardingRuleParams) (*UpdatePortForwardingRuleResponse, error)
Updates a port forwarding rule. Only the private port and the virtual machine can be updated.
type GenerateAlertParams ¶
type GenerateAlertParams struct {
// contains filtered or unexported fields
}
func (*GenerateAlertParams) SetDescription ¶
func (p *GenerateAlertParams) SetDescription(v string)
func (*GenerateAlertParams) SetName ¶
func (p *GenerateAlertParams) SetName(v string)
func (*GenerateAlertParams) SetPodid ¶
func (p *GenerateAlertParams) SetPodid(v string)
func (*GenerateAlertParams) SetType ¶
func (p *GenerateAlertParams) SetType(v int)
func (*GenerateAlertParams) SetZoneid ¶
func (p *GenerateAlertParams) SetZoneid(v string)
type GenerateAlertResponse ¶
type GenerateUsageRecordsParams ¶
type GenerateUsageRecordsParams struct {
// contains filtered or unexported fields
}
func (*GenerateUsageRecordsParams) SetDomainid ¶
func (p *GenerateUsageRecordsParams) SetDomainid(v string)
func (*GenerateUsageRecordsParams) SetEnddate ¶
func (p *GenerateUsageRecordsParams) SetEnddate(v string)
func (*GenerateUsageRecordsParams) SetStartdate ¶
func (p *GenerateUsageRecordsParams) SetStartdate(v string)
type GetApiLimitParams ¶
type GetApiLimitParams struct {
// contains filtered or unexported fields
}
type GetApiLimitResponse ¶
type GetCloudIdentifierParams ¶
type GetCloudIdentifierParams struct {
// contains filtered or unexported fields
}
func (*GetCloudIdentifierParams) SetUserid ¶
func (p *GetCloudIdentifierParams) SetUserid(v string)
type GetUserParams ¶
type GetUserParams struct {
// contains filtered or unexported fields
}
func (*GetUserParams) SetUserapikey ¶
func (p *GetUserParams) SetUserapikey(v string)
type GetUserResponse ¶
type GetUserResponse struct { Created string `json:"created,omitempty"` Id string `json:"id,omitempty"` Lastname string `json:"lastname,omitempty"` Apikey string `json:"apikey,omitempty"` Iscallerchilddomain bool `json:"iscallerchilddomain,omitempty"` Username string `json:"username,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Timezone string `json:"timezone,omitempty"` Secretkey string `json:"secretkey,omitempty"` Accounttype int `json:"accounttype,omitempty"` State string `json:"state,omitempty"` Domain string `json:"domain,omitempty"` Firstname string `json:"firstname,omitempty"` Accountid string `json:"accountid,omitempty"` Email string `json:"email,omitempty"` }
type GetVMPasswordParams ¶
type GetVMPasswordParams struct {
// contains filtered or unexported fields
}
func (*GetVMPasswordParams) SetId ¶
func (p *GetVMPasswordParams) SetId(v string)
type GetVMPasswordResponse ¶
type GetVMPasswordResponse struct {
Encryptedpassword string `json:"encryptedpassword,omitempty"`
}
type GlobalLoadBalancerRule ¶
type GlobalLoadBalancerRule struct { Id string `json:"id,omitempty"` Gslbstickysessionmethodname string `json:"gslbstickysessionmethodname,omitempty"` Description string `json:"description,omitempty"` Loadbalancerrule []struct { Publicip string `json:"publicip,omitempty"` Description string `json:"description,omitempty"` Id string `json:"id,omitempty"` Zoneid string `json:"zoneid,omitempty"` Account string `json:"account,omitempty"` State string `json:"state,omitempty"` Algorithm string `json:"algorithm,omitempty"` Name string `json:"name,omitempty"` Tags []struct { Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Resourceid string `json:"resourceid,omitempty"` Key string `json:"key,omitempty"` Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` Value string `json:"value,omitempty"` Account string `json:"account,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` } `json:"tags,omitempty"` Privateport string `json:"privateport,omitempty"` Networkid string `json:"networkid,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Publicipid string `json:"publicipid,omitempty"` Projectid string `json:"projectid,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Publicport string `json:"publicport,omitempty"` Protocol string `json:"protocol,omitempty"` Domain string `json:"domain,omitempty"` } `json:"loadbalancerrule,omitempty"` Name string `json:"name,omitempty"` Gslbdomainname string `json:"gslbdomainname,omitempty"` Project string `json:"project,omitempty"` Gslbservicetype string `json:"gslbservicetype,omitempty"` Gslblbmethod string `json:"gslblbmethod,omitempty"` Regionid int `json:"regionid,omitempty"` Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` }
type GuestOSService ¶
type GuestOSService struct {
// contains filtered or unexported fields
}
func NewGuestOSService ¶
func NewGuestOSService(cs *CloudStackClient) *GuestOSService
func (*GuestOSService) GetOsCategoryID ¶ added in v1.0.1
func (s *GuestOSService) GetOsCategoryID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*GuestOSService) GetOsTypeID ¶
func (s *GuestOSService) GetOsTypeID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*GuestOSService) ListOsCategories ¶
func (s *GuestOSService) ListOsCategories(p *ListOsCategoriesParams) (*ListOsCategoriesResponse, error)
Lists all supported OS categories for this cloud.
func (*GuestOSService) ListOsTypes ¶
func (s *GuestOSService) ListOsTypes(p *ListOsTypesParams) (*ListOsTypesResponse, error)
Lists all supported OS types for this cloud.
func (*GuestOSService) NewListOsCategoriesParams ¶
func (s *GuestOSService) NewListOsCategoriesParams() *ListOsCategoriesParams
You should always use this function to get a new ListOsCategoriesParams instance, as then you are sure you have configured all required params
func (*GuestOSService) NewListOsTypesParams ¶
func (s *GuestOSService) NewListOsTypesParams() *ListOsTypesParams
You should always use this function to get a new ListOsTypesParams instance, as then you are sure you have configured all required params
type Host ¶
type Host struct { Created string `json:"created,omitempty"` Podid string `json:"podid,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Hypervisorversion string `json:"hypervisorversion,omitempty"` Capabilities string `json:"capabilities,omitempty"` Removed string `json:"removed,omitempty"` Id string `json:"id,omitempty"` Podname string `json:"podname,omitempty"` Hahost bool `json:"hahost,omitempty"` Cpuused string `json:"cpuused,omitempty"` Cpuallocated string `json:"cpuallocated,omitempty"` Zoneid string `json:"zoneid,omitempty"` Disksizetotal int `json:"disksizetotal,omitempty"` Oscategoryid string `json:"oscategoryid,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Managementserverid int `json:"managementserverid,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Clustername string `json:"clustername,omitempty"` Cpuwithoverprovisioning string `json:"cpuwithoverprovisioning,omitempty"` Clustertype string `json:"clustertype,omitempty"` Cpusockets int `json:"cpusockets,omitempty"` Zonename string `json:"zonename,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Memoryallocated int `json:"memoryallocated,omitempty"` Suitableformigration bool `json:"suitableformigration,omitempty"` Type string `json:"type,omitempty"` Memoryused int `json:"memoryused,omitempty"` Islocalstorageactive bool `json:"islocalstorageactive,omitempty"` Averageload int `json:"averageload,omitempty"` Events string `json:"events,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Hasenoughcapacity bool `json:"hasenoughcapacity,omitempty"` Name string `json:"name,omitempty"` Version string `json:"version,omitempty"` Clusterid string `json:"clusterid,omitempty"` Lastpinged string `json:"lastpinged,omitempty"` Disksizeallocated int `json:"disksizeallocated,omitempty"` Oscategoryname string `json:"oscategoryname,omitempty"` State string `json:"state,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Resourcestate string `json:"resourcestate,omitempty"` Disconnected string `json:"disconnected,omitempty"` }
type HostService ¶
type HostService struct {
// contains filtered or unexported fields
}
func NewHostService ¶
func NewHostService(cs *CloudStackClient) *HostService
func (*HostService) AddBaremetalHost ¶
func (s *HostService) AddBaremetalHost(p *AddBaremetalHostParams) (*AddBaremetalHostResponse, error)
add a baremetal host
func (*HostService) AddHost ¶
func (s *HostService) AddHost(p *AddHostParams) (*AddHostResponse, error)
Adds a new host.
func (*HostService) AddSecondaryStorage ¶
func (s *HostService) AddSecondaryStorage(p *AddSecondaryStorageParams) (*AddSecondaryStorageResponse, error)
Adds secondary storage.
func (*HostService) CancelHostMaintenance ¶
func (s *HostService) CancelHostMaintenance(p *CancelHostMaintenanceParams) (*CancelHostMaintenanceResponse, error)
Cancels host maintenance.
func (*HostService) DedicateHost ¶
func (s *HostService) DedicateHost(p *DedicateHostParams) (*DedicateHostResponse, error)
Dedicates a host.
func (*HostService) DeleteHost ¶
func (s *HostService) DeleteHost(p *DeleteHostParams) (*DeleteHostResponse, error)
Deletes a host.
func (*HostService) FindHostsForMigration ¶
func (s *HostService) FindHostsForMigration(p *FindHostsForMigrationParams) (*FindHostsForMigrationResponse, error)
Find hosts suitable for migrating a virtual machine.
func (*HostService) GetDedicatedHostID ¶
func (s *HostService) GetDedicatedHostID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*HostService) GetHostID ¶
func (s *HostService) GetHostID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*HostService) ListDedicatedHosts ¶
func (s *HostService) ListDedicatedHosts(p *ListDedicatedHostsParams) (*ListDedicatedHostsResponse, error)
Lists dedicated hosts.
func (*HostService) ListHosts ¶
func (s *HostService) ListHosts(p *ListHostsParams) (*ListHostsResponse, error)
Lists hosts.
func (*HostService) NewAddBaremetalHostParams ¶
func (s *HostService) NewAddBaremetalHostParams(hypervisor string, password string, podid string, url string, username string, zoneid string) *AddBaremetalHostParams
You should always use this function to get a new AddBaremetalHostParams instance, as then you are sure you have configured all required params
func (*HostService) NewAddHostParams ¶
func (s *HostService) NewAddHostParams(hypervisor string, password string, podid string, url string, username string, zoneid string) *AddHostParams
You should always use this function to get a new AddHostParams instance, as then you are sure you have configured all required params
func (*HostService) NewAddSecondaryStorageParams ¶
func (s *HostService) NewAddSecondaryStorageParams(url string) *AddSecondaryStorageParams
You should always use this function to get a new AddSecondaryStorageParams instance, as then you are sure you have configured all required params
func (*HostService) NewCancelHostMaintenanceParams ¶
func (s *HostService) NewCancelHostMaintenanceParams(id string) *CancelHostMaintenanceParams
You should always use this function to get a new CancelHostMaintenanceParams instance, as then you are sure you have configured all required params
func (*HostService) NewDedicateHostParams ¶
func (s *HostService) NewDedicateHostParams(domainid string, hostid string) *DedicateHostParams
You should always use this function to get a new DedicateHostParams instance, as then you are sure you have configured all required params
func (*HostService) NewDeleteHostParams ¶
func (s *HostService) NewDeleteHostParams(id string) *DeleteHostParams
You should always use this function to get a new DeleteHostParams instance, as then you are sure you have configured all required params
func (*HostService) NewFindHostsForMigrationParams ¶
func (s *HostService) NewFindHostsForMigrationParams(virtualmachineid string) *FindHostsForMigrationParams
You should always use this function to get a new FindHostsForMigrationParams instance, as then you are sure you have configured all required params
func (*HostService) NewListDedicatedHostsParams ¶
func (s *HostService) NewListDedicatedHostsParams() *ListDedicatedHostsParams
You should always use this function to get a new ListDedicatedHostsParams instance, as then you are sure you have configured all required params
func (*HostService) NewListHostsParams ¶
func (s *HostService) NewListHostsParams() *ListHostsParams
You should always use this function to get a new ListHostsParams instance, as then you are sure you have configured all required params
func (*HostService) NewPrepareHostForMaintenanceParams ¶
func (s *HostService) NewPrepareHostForMaintenanceParams(id string) *PrepareHostForMaintenanceParams
You should always use this function to get a new PrepareHostForMaintenanceParams instance, as then you are sure you have configured all required params
func (*HostService) NewReconnectHostParams ¶
func (s *HostService) NewReconnectHostParams(id string) *ReconnectHostParams
You should always use this function to get a new ReconnectHostParams instance, as then you are sure you have configured all required params
func (*HostService) NewReleaseDedicatedHostParams ¶
func (s *HostService) NewReleaseDedicatedHostParams(hostid string) *ReleaseDedicatedHostParams
You should always use this function to get a new ReleaseDedicatedHostParams instance, as then you are sure you have configured all required params
func (*HostService) NewReleaseHostReservationParams ¶
func (s *HostService) NewReleaseHostReservationParams(id string) *ReleaseHostReservationParams
You should always use this function to get a new ReleaseHostReservationParams instance, as then you are sure you have configured all required params
func (*HostService) NewUpdateHostParams ¶
func (s *HostService) NewUpdateHostParams(id string) *UpdateHostParams
You should always use this function to get a new UpdateHostParams instance, as then you are sure you have configured all required params
func (*HostService) NewUpdateHostPasswordParams ¶
func (s *HostService) NewUpdateHostPasswordParams(password string, username string) *UpdateHostPasswordParams
You should always use this function to get a new UpdateHostPasswordParams instance, as then you are sure you have configured all required params
func (*HostService) PrepareHostForMaintenance ¶
func (s *HostService) PrepareHostForMaintenance(p *PrepareHostForMaintenanceParams) (*PrepareHostForMaintenanceResponse, error)
Prepares a host for maintenance.
func (*HostService) ReconnectHost ¶
func (s *HostService) ReconnectHost(p *ReconnectHostParams) (*ReconnectHostResponse, error)
Reconnects a host.
func (*HostService) ReleaseDedicatedHost ¶
func (s *HostService) ReleaseDedicatedHost(p *ReleaseDedicatedHostParams) (*ReleaseDedicatedHostResponse, error)
Release the dedication for host
func (*HostService) ReleaseHostReservation ¶
func (s *HostService) ReleaseHostReservation(p *ReleaseHostReservationParams) (*ReleaseHostReservationResponse, error)
Releases host reservation.
func (*HostService) UpdateHost ¶
func (s *HostService) UpdateHost(p *UpdateHostParams) (*UpdateHostResponse, error)
Updates a host.
func (*HostService) UpdateHostPassword ¶
func (s *HostService) UpdateHostPassword(p *UpdateHostPasswordParams) (*UpdateHostPasswordResponse, error)
Update password of a host/pool on management server.
type Hypervisor ¶
type Hypervisor struct {
Name string `json:"name,omitempty"`
}
type HypervisorCapability ¶ added in v1.0.1
type HypervisorCapability struct { Securitygroupenabled bool `json:"securitygroupenabled,omitempty"` Maxhostspercluster int `json:"maxhostspercluster,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Hypervisorversion string `json:"hypervisorversion,omitempty"` Storagemotionenabled bool `json:"storagemotionenabled,omitempty"` Id string `json:"id,omitempty"` Maxguestslimit int `json:"maxguestslimit,omitempty"` Maxdatavolumeslimit int `json:"maxdatavolumeslimit,omitempty"` }
type HypervisorService ¶
type HypervisorService struct {
// contains filtered or unexported fields
}
func NewHypervisorService ¶
func NewHypervisorService(cs *CloudStackClient) *HypervisorService
func (*HypervisorService) GetHypervisorCapabilityID ¶ added in v1.0.1
func (s *HypervisorService) GetHypervisorCapabilityID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*HypervisorService) ListHypervisorCapabilities ¶
func (s *HypervisorService) ListHypervisorCapabilities(p *ListHypervisorCapabilitiesParams) (*ListHypervisorCapabilitiesResponse, error)
Lists all hypervisor capabilities.
func (*HypervisorService) ListHypervisors ¶
func (s *HypervisorService) ListHypervisors(p *ListHypervisorsParams) (*ListHypervisorsResponse, error)
List hypervisors
func (*HypervisorService) NewListHypervisorCapabilitiesParams ¶
func (s *HypervisorService) NewListHypervisorCapabilitiesParams() *ListHypervisorCapabilitiesParams
You should always use this function to get a new ListHypervisorCapabilitiesParams instance, as then you are sure you have configured all required params
func (*HypervisorService) NewListHypervisorsParams ¶
func (s *HypervisorService) NewListHypervisorsParams() *ListHypervisorsParams
You should always use this function to get a new ListHypervisorsParams instance, as then you are sure you have configured all required params
func (*HypervisorService) NewUpdateHypervisorCapabilitiesParams ¶
func (s *HypervisorService) NewUpdateHypervisorCapabilitiesParams() *UpdateHypervisorCapabilitiesParams
You should always use this function to get a new UpdateHypervisorCapabilitiesParams instance, as then you are sure you have configured all required params
func (*HypervisorService) UpdateHypervisorCapabilities ¶
func (s *HypervisorService) UpdateHypervisorCapabilities(p *UpdateHypervisorCapabilitiesParams) (*UpdateHypervisorCapabilitiesResponse, error)
Updates a hypervisor capabilities.
type ISOService ¶
type ISOService struct {
// contains filtered or unexported fields
}
func NewISOService ¶
func NewISOService(cs *CloudStackClient) *ISOService
func (*ISOService) AttachIso ¶
func (s *ISOService) AttachIso(p *AttachIsoParams) (*AttachIsoResponse, error)
Attaches an ISO to a virtual machine.
func (*ISOService) CopyIso ¶
func (s *ISOService) CopyIso(p *CopyIsoParams) (*CopyIsoResponse, error)
Copies an iso from one zone to another.
func (*ISOService) DeleteIso ¶
func (s *ISOService) DeleteIso(p *DeleteIsoParams) (*DeleteIsoResponse, error)
Deletes an ISO file.
func (*ISOService) DetachIso ¶
func (s *ISOService) DetachIso(p *DetachIsoParams) (*DetachIsoResponse, error)
Detaches any ISO file (if any) currently attached to a virtual machine.
func (*ISOService) ExtractIso ¶
func (s *ISOService) ExtractIso(p *ExtractIsoParams) (*ExtractIsoResponse, error)
Extracts an ISO
func (*ISOService) GetIsoID ¶
func (s *ISOService) GetIsoID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*ISOService) ListIsoPermissions ¶
func (s *ISOService) ListIsoPermissions(p *ListIsoPermissionsParams) (*ListIsoPermissionsResponse, error)
List iso visibility and all accounts that have permissions to view this iso.
func (*ISOService) ListIsos ¶
func (s *ISOService) ListIsos(p *ListIsosParams) (*ListIsosResponse, error)
Lists all available ISO files.
func (*ISOService) NewAttachIsoParams ¶
func (s *ISOService) NewAttachIsoParams(id string, virtualmachineid string) *AttachIsoParams
You should always use this function to get a new AttachIsoParams instance, as then you are sure you have configured all required params
func (*ISOService) NewCopyIsoParams ¶
func (s *ISOService) NewCopyIsoParams(destzoneid string, id string) *CopyIsoParams
You should always use this function to get a new CopyIsoParams instance, as then you are sure you have configured all required params
func (*ISOService) NewDeleteIsoParams ¶
func (s *ISOService) NewDeleteIsoParams(id string) *DeleteIsoParams
You should always use this function to get a new DeleteIsoParams instance, as then you are sure you have configured all required params
func (*ISOService) NewDetachIsoParams ¶
func (s *ISOService) NewDetachIsoParams(virtualmachineid string) *DetachIsoParams
You should always use this function to get a new DetachIsoParams instance, as then you are sure you have configured all required params
func (*ISOService) NewExtractIsoParams ¶
func (s *ISOService) NewExtractIsoParams(id string, mode string) *ExtractIsoParams
You should always use this function to get a new ExtractIsoParams instance, as then you are sure you have configured all required params
func (*ISOService) NewListIsoPermissionsParams ¶
func (s *ISOService) NewListIsoPermissionsParams(id string) *ListIsoPermissionsParams
You should always use this function to get a new ListIsoPermissionsParams instance, as then you are sure you have configured all required params
func (*ISOService) NewListIsosParams ¶
func (s *ISOService) NewListIsosParams() *ListIsosParams
You should always use this function to get a new ListIsosParams instance, as then you are sure you have configured all required params
func (*ISOService) NewRegisterIsoParams ¶
func (s *ISOService) NewRegisterIsoParams(displaytext string, name string, url string, zoneid string) *RegisterIsoParams
You should always use this function to get a new RegisterIsoParams instance, as then you are sure you have configured all required params
func (*ISOService) NewUpdateIsoParams ¶
func (s *ISOService) NewUpdateIsoParams(id string) *UpdateIsoParams
You should always use this function to get a new UpdateIsoParams instance, as then you are sure you have configured all required params
func (*ISOService) NewUpdateIsoPermissionsParams ¶
func (s *ISOService) NewUpdateIsoPermissionsParams(id string) *UpdateIsoPermissionsParams
You should always use this function to get a new UpdateIsoPermissionsParams instance, as then you are sure you have configured all required params
func (*ISOService) RegisterIso ¶
func (s *ISOService) RegisterIso(p *RegisterIsoParams) (*RegisterIsoResponse, error)
Registers an existing ISO into the CloudStack Cloud.
func (*ISOService) UpdateIso ¶
func (s *ISOService) UpdateIso(p *UpdateIsoParams) (*UpdateIsoResponse, error)
Updates an ISO file.
func (*ISOService) UpdateIsoPermissions ¶
func (s *ISOService) UpdateIsoPermissions(p *UpdateIsoPermissionsParams) (*UpdateIsoPermissionsResponse, error)
Updates iso permissions
type ImageStore ¶
type ImageStore struct { Providername string `json:"providername,omitempty"` Protocol string `json:"protocol,omitempty"` Zonename string `json:"zonename,omitempty"` Scope string `json:"scope,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Url string `json:"url,omitempty"` Zoneid string `json:"zoneid,omitempty"` Details []string `json:"details,omitempty"` }
type ImageStoreService ¶
type ImageStoreService struct {
// contains filtered or unexported fields
}
func NewImageStoreService ¶
func NewImageStoreService(cs *CloudStackClient) *ImageStoreService
func (*ImageStoreService) AddImageStore ¶
func (s *ImageStoreService) AddImageStore(p *AddImageStoreParams) (*AddImageStoreResponse, error)
Adds backup image store.
func (*ImageStoreService) CreateSecondaryStagingStore ¶
func (s *ImageStoreService) CreateSecondaryStagingStore(p *CreateSecondaryStagingStoreParams) (*CreateSecondaryStagingStoreResponse, error)
create secondary staging store.
func (*ImageStoreService) DeleteImageStore ¶
func (s *ImageStoreService) DeleteImageStore(p *DeleteImageStoreParams) (*DeleteImageStoreResponse, error)
Deletes an image store .
func (*ImageStoreService) DeleteSecondaryStagingStore ¶
func (s *ImageStoreService) DeleteSecondaryStagingStore(p *DeleteSecondaryStagingStoreParams) (*DeleteSecondaryStagingStoreResponse, error)
Deletes a secondary staging store .
func (*ImageStoreService) GetImageStoreID ¶
func (s *ImageStoreService) GetImageStoreID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*ImageStoreService) GetSecondaryStagingStoreID ¶
func (s *ImageStoreService) GetSecondaryStagingStoreID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*ImageStoreService) ListImageStores ¶
func (s *ImageStoreService) ListImageStores(p *ListImageStoresParams) (*ListImageStoresResponse, error)
Lists image stores.
func (*ImageStoreService) ListSecondaryStagingStores ¶
func (s *ImageStoreService) ListSecondaryStagingStores(p *ListSecondaryStagingStoresParams) (*ListSecondaryStagingStoresResponse, error)
Lists secondary staging stores.
func (*ImageStoreService) NewAddImageStoreParams ¶
func (s *ImageStoreService) NewAddImageStoreParams(provider string) *AddImageStoreParams
You should always use this function to get a new AddImageStoreParams instance, as then you are sure you have configured all required params
func (*ImageStoreService) NewCreateSecondaryStagingStoreParams ¶
func (s *ImageStoreService) NewCreateSecondaryStagingStoreParams(url string) *CreateSecondaryStagingStoreParams
You should always use this function to get a new CreateSecondaryStagingStoreParams instance, as then you are sure you have configured all required params
func (*ImageStoreService) NewDeleteImageStoreParams ¶
func (s *ImageStoreService) NewDeleteImageStoreParams(id string) *DeleteImageStoreParams
You should always use this function to get a new DeleteImageStoreParams instance, as then you are sure you have configured all required params
func (*ImageStoreService) NewDeleteSecondaryStagingStoreParams ¶
func (s *ImageStoreService) NewDeleteSecondaryStagingStoreParams(id string) *DeleteSecondaryStagingStoreParams
You should always use this function to get a new DeleteSecondaryStagingStoreParams instance, as then you are sure you have configured all required params
func (*ImageStoreService) NewListImageStoresParams ¶
func (s *ImageStoreService) NewListImageStoresParams() *ListImageStoresParams
You should always use this function to get a new ListImageStoresParams instance, as then you are sure you have configured all required params
func (*ImageStoreService) NewListSecondaryStagingStoresParams ¶
func (s *ImageStoreService) NewListSecondaryStagingStoresParams() *ListSecondaryStagingStoresParams
You should always use this function to get a new ListSecondaryStagingStoresParams instance, as then you are sure you have configured all required params
func (*ImageStoreService) NewUpdateCloudToUseObjectStoreParams ¶
func (s *ImageStoreService) NewUpdateCloudToUseObjectStoreParams(provider string) *UpdateCloudToUseObjectStoreParams
You should always use this function to get a new UpdateCloudToUseObjectStoreParams instance, as then you are sure you have configured all required params
func (*ImageStoreService) UpdateCloudToUseObjectStore ¶
func (s *ImageStoreService) UpdateCloudToUseObjectStore(p *UpdateCloudToUseObjectStoreParams) (*UpdateCloudToUseObjectStoreResponse, error)
Migrate current NFS secondary storages to use object store.
type ImportLdapUsersParams ¶
type ImportLdapUsersParams struct {
// contains filtered or unexported fields
}
func (*ImportLdapUsersParams) SetAccountdetails ¶
func (p *ImportLdapUsersParams) SetAccountdetails(v map[string]string)
func (*ImportLdapUsersParams) SetAccounttype ¶
func (p *ImportLdapUsersParams) SetAccounttype(v int)
func (*ImportLdapUsersParams) SetDomainid ¶
func (p *ImportLdapUsersParams) SetDomainid(v string)
func (*ImportLdapUsersParams) SetGroup ¶
func (p *ImportLdapUsersParams) SetGroup(v string)
func (*ImportLdapUsersParams) SetKeyword ¶
func (p *ImportLdapUsersParams) SetKeyword(v string)
func (*ImportLdapUsersParams) SetPage ¶
func (p *ImportLdapUsersParams) SetPage(v int)
func (*ImportLdapUsersParams) SetPagesize ¶
func (p *ImportLdapUsersParams) SetPagesize(v int)
func (*ImportLdapUsersParams) SetTimezone ¶
func (p *ImportLdapUsersParams) SetTimezone(v string)
type ImportLdapUsersResponse ¶
type InstanceGroup ¶
type InstanceGroup struct { Created string `json:"created,omitempty"` Id string `json:"id,omitempty"` Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` Name string `json:"name,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` }
type InstantiateUcsTemplateAndAssocaciateToBladeParams ¶
type InstantiateUcsTemplateAndAssocaciateToBladeParams struct {
// contains filtered or unexported fields
}
func (*InstantiateUcsTemplateAndAssocaciateToBladeParams) SetBladeid ¶
func (p *InstantiateUcsTemplateAndAssocaciateToBladeParams) SetBladeid(v string)
func (*InstantiateUcsTemplateAndAssocaciateToBladeParams) SetProfilename ¶
func (p *InstantiateUcsTemplateAndAssocaciateToBladeParams) SetProfilename(v string)
func (*InstantiateUcsTemplateAndAssocaciateToBladeParams) SetTemplatedn ¶
func (p *InstantiateUcsTemplateAndAssocaciateToBladeParams) SetTemplatedn(v string)
func (*InstantiateUcsTemplateAndAssocaciateToBladeParams) SetUcsmanagerid ¶
func (p *InstantiateUcsTemplateAndAssocaciateToBladeParams) SetUcsmanagerid(v string)
type InstantiateUcsTemplateAndAssocaciateToBladeResponse ¶
type InstantiateUcsTemplateAndAssocaciateToBladeResponse struct { JobID string `json:"jobid,omitempty"` Profiledn string `json:"profiledn,omitempty"` Id string `json:"id,omitempty"` Bladedn string `json:"bladedn,omitempty"` Hostid string `json:"hostid,omitempty"` Ucsmanagerid string `json:"ucsmanagerid,omitempty"` }
type InternalLBService ¶
type InternalLBService struct {
// contains filtered or unexported fields
}
func NewInternalLBService ¶
func NewInternalLBService(cs *CloudStackClient) *InternalLBService
func (*InternalLBService) ConfigureInternalLoadBalancerElement ¶
func (s *InternalLBService) ConfigureInternalLoadBalancerElement(p *ConfigureInternalLoadBalancerElementParams) (*ConfigureInternalLoadBalancerElementResponse, error)
Configures an Internal Load Balancer element.
func (*InternalLBService) CreateInternalLoadBalancerElement ¶
func (s *InternalLBService) CreateInternalLoadBalancerElement(p *CreateInternalLoadBalancerElementParams) (*CreateInternalLoadBalancerElementResponse, error)
Create an Internal Load Balancer element.
func (*InternalLBService) GetInternalLoadBalancerElementID ¶
func (s *InternalLBService) GetInternalLoadBalancerElementID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*InternalLBService) GetInternalLoadBalancerVMID ¶
func (s *InternalLBService) GetInternalLoadBalancerVMID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*InternalLBService) ListInternalLoadBalancerElements ¶
func (s *InternalLBService) ListInternalLoadBalancerElements(p *ListInternalLoadBalancerElementsParams) (*ListInternalLoadBalancerElementsResponse, error)
Lists all available Internal Load Balancer elements.
func (*InternalLBService) ListInternalLoadBalancerVMs ¶
func (s *InternalLBService) ListInternalLoadBalancerVMs(p *ListInternalLoadBalancerVMsParams) (*ListInternalLoadBalancerVMsResponse, error)
List internal LB VMs.
func (*InternalLBService) NewConfigureInternalLoadBalancerElementParams ¶
func (s *InternalLBService) NewConfigureInternalLoadBalancerElementParams(enabled bool, id string) *ConfigureInternalLoadBalancerElementParams
You should always use this function to get a new ConfigureInternalLoadBalancerElementParams instance, as then you are sure you have configured all required params
func (*InternalLBService) NewCreateInternalLoadBalancerElementParams ¶
func (s *InternalLBService) NewCreateInternalLoadBalancerElementParams(nspid string) *CreateInternalLoadBalancerElementParams
You should always use this function to get a new CreateInternalLoadBalancerElementParams instance, as then you are sure you have configured all required params
func (*InternalLBService) NewListInternalLoadBalancerElementsParams ¶
func (s *InternalLBService) NewListInternalLoadBalancerElementsParams() *ListInternalLoadBalancerElementsParams
You should always use this function to get a new ListInternalLoadBalancerElementsParams instance, as then you are sure you have configured all required params
func (*InternalLBService) NewListInternalLoadBalancerVMsParams ¶
func (s *InternalLBService) NewListInternalLoadBalancerVMsParams() *ListInternalLoadBalancerVMsParams
You should always use this function to get a new ListInternalLoadBalancerVMsParams instance, as then you are sure you have configured all required params
func (*InternalLBService) NewStartInternalLoadBalancerVMParams ¶
func (s *InternalLBService) NewStartInternalLoadBalancerVMParams(id string) *StartInternalLoadBalancerVMParams
You should always use this function to get a new StartInternalLoadBalancerVMParams instance, as then you are sure you have configured all required params
func (*InternalLBService) NewStopInternalLoadBalancerVMParams ¶
func (s *InternalLBService) NewStopInternalLoadBalancerVMParams(id string) *StopInternalLoadBalancerVMParams
You should always use this function to get a new StopInternalLoadBalancerVMParams instance, as then you are sure you have configured all required params
func (*InternalLBService) StartInternalLoadBalancerVM ¶
func (s *InternalLBService) StartInternalLoadBalancerVM(p *StartInternalLoadBalancerVMParams) (*StartInternalLoadBalancerVMResponse, error)
Starts an existing internal lb vm.
func (*InternalLBService) StopInternalLoadBalancerVM ¶
func (s *InternalLBService) StopInternalLoadBalancerVM(p *StopInternalLoadBalancerVMParams) (*StopInternalLoadBalancerVMResponse, error)
Stops an Internal LB vm.
type InternalLoadBalancerVM ¶
type InternalLoadBalancerVM struct { Projectid string `json:"projectid,omitempty"` Publicip string `json:"publicip,omitempty"` Created string `json:"created,omitempty"` Linklocalnetworkid string `json:"linklocalnetworkid,omitempty"` Hostname string `json:"hostname,omitempty"` Nic []struct { Gateway string `json:"gateway,omitempty"` Ip6address string `json:"ip6address,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Id string `json:"id,omitempty"` Macaddress string `json:"macaddress,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Networkname string `json:"networkname,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Type string `json:"type,omitempty"` Netmask string `json:"netmask,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Networkid string `json:"networkid,omitempty"` Traffictype string `json:"traffictype,omitempty"` } `json:"nic,omitempty"` Role string `json:"role,omitempty"` Podid string `json:"podid,omitempty"` Linklocalip string `json:"linklocalip,omitempty"` Isredundantrouter bool `json:"isredundantrouter,omitempty"` Guestipaddress string `json:"guestipaddress,omitempty"` Domainid string `json:"domainid,omitempty"` Publicmacaddress string `json:"publicmacaddress,omitempty"` Gateway string `json:"gateway,omitempty"` Dns2 string `json:"dns2,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Name string `json:"name,omitempty"` Account string `json:"account,omitempty"` Zoneid string `json:"zoneid,omitempty"` Id string `json:"id,omitempty"` Ip6dns1 string `json:"ip6dns1,omitempty"` Zonename string `json:"zonename,omitempty"` Publicnetmask string `json:"publicnetmask,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Publicnetworkid string `json:"publicnetworkid,omitempty"` Scriptsversion string `json:"scriptsversion,omitempty"` Guestnetmask string `json:"guestnetmask,omitempty"` Ip6dns2 string `json:"ip6dns2,omitempty"` State string `json:"state,omitempty"` Domain string `json:"domain,omitempty"` Hostid string `json:"hostid,omitempty"` Project string `json:"project,omitempty"` Guestnetworkid string `json:"guestnetworkid,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Vpcid string `json:"vpcid,omitempty"` Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"` Guestmacaddress string `json:"guestmacaddress,omitempty"` Redundantstate string `json:"redundantstate,omitempty"` Dns1 string `json:"dns1,omitempty"` Linklocalnetmask string `json:"linklocalnetmask,omitempty"` Requiresupgrade bool `json:"requiresupgrade,omitempty"` Templateid string `json:"templateid,omitempty"` Version string `json:"version,omitempty"` }
type IpForwardingRule ¶
type IpForwardingRule struct { Id string `json:"id,omitempty"` Networkid string `json:"networkid,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Protocol string `json:"protocol,omitempty"` Virtualmachinedisplayname string `json:"virtualmachinedisplayname,omitempty"` Privateendport string `json:"privateendport,omitempty"` Publicport string `json:"publicport,omitempty"` Ipaddressid string `json:"ipaddressid,omitempty"` Publicendport string `json:"publicendport,omitempty"` Virtualmachinename string `json:"virtualmachinename,omitempty"` Privateport string `json:"privateport,omitempty"` Tags []struct { Resourcetype string `json:"resourcetype,omitempty"` Value string `json:"value,omitempty"` Customer string `json:"customer,omitempty"` Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` Resourceid string `json:"resourceid,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Key string `json:"key,omitempty"` } `json:"tags,omitempty"` Vmguestip string `json:"vmguestip,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` State string `json:"state,omitempty"` }
type Iso ¶
type Iso struct { Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Sshkeyenabled bool `json:"sshkeyenabled,omitempty"` Ispublic bool `json:"ispublic,omitempty"` Bootable bool `json:"bootable,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Key string `json:"key,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Resourceid string `json:"resourceid,omitempty"` Customer string `json:"customer,omitempty"` Project string `json:"project,omitempty"` Value string `json:"value,omitempty"` } `json:"tags,omitempty"` Displaytext string `json:"displaytext,omitempty"` Zoneid string `json:"zoneid,omitempty"` Size int `json:"size,omitempty"` Ostypename string `json:"ostypename,omitempty"` Details map[string]string `json:"details,omitempty"` Sourcetemplateid string `json:"sourcetemplateid,omitempty"` Format string `json:"format,omitempty"` Isready bool `json:"isready,omitempty"` Removed string `json:"removed,omitempty"` Templatetag string `json:"templatetag,omitempty"` Zonename string `json:"zonename,omitempty"` CrossZones bool `json:"crossZones,omitempty"` Isfeatured bool `json:"isfeatured,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Templatetype string `json:"templatetype,omitempty"` Id string `json:"id,omitempty"` Isextractable bool `json:"isextractable,omitempty"` Ostypeid string `json:"ostypeid,omitempty"` Account string `json:"account,omitempty"` Hostid string `json:"hostid,omitempty"` Checksum string `json:"checksum,omitempty"` Projectid string `json:"projectid,omitempty"` Accountid string `json:"accountid,omitempty"` Name string `json:"name,omitempty"` Domain string `json:"domain,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Status string `json:"status,omitempty"` Domainid string `json:"domainid,omitempty"` Created string `json:"created,omitempty"` Hostname string `json:"hostname,omitempty"` Project string `json:"project,omitempty"` }
type IsoPermission ¶
type LBHealthCheckPolicy ¶ added in v1.0.1
type LBHealthCheckPolicy struct { Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Lbruleid string `json:"lbruleid,omitempty"` Healthcheckpolicy []struct { Id string `json:"id,omitempty"` Responsetime int `json:"responsetime,omitempty"` Unhealthcheckthresshold int `json:"unhealthcheckthresshold,omitempty"` Healthcheckthresshold int `json:"healthcheckthresshold,omitempty"` Description string `json:"description,omitempty"` Healthcheckinterval int `json:"healthcheckinterval,omitempty"` State string `json:"state,omitempty"` Pingpath string `json:"pingpath,omitempty"` } `json:"healthcheckpolicy,omitempty"` Zoneid string `json:"zoneid,omitempty"` }
type LBStickinessPolicy ¶ added in v1.0.1
type LBStickinessPolicy struct { Domain string `json:"domain,omitempty"` Stickinesspolicy []struct { Params map[string]string `json:"params,omitempty"` Description string `json:"description,omitempty"` Id string `json:"id,omitempty"` State string `json:"state,omitempty"` Methodname string `json:"methodname,omitempty"` Name string `json:"name,omitempty"` } `json:"stickinesspolicy,omitempty"` State string `json:"state,omitempty"` Zoneid string `json:"zoneid,omitempty"` Domainid string `json:"domainid,omitempty"` Name string `json:"name,omitempty"` Lbruleid string `json:"lbruleid,omitempty"` Account string `json:"account,omitempty"` Description string `json:"description,omitempty"` }
type LDAPService ¶
type LDAPService struct {
// contains filtered or unexported fields
}
func NewLDAPService ¶
func NewLDAPService(cs *CloudStackClient) *LDAPService
func (*LDAPService) LdapCreateAccount ¶
func (s *LDAPService) LdapCreateAccount(p *LdapCreateAccountParams) (*LdapCreateAccountResponse, error)
Creates an account from an LDAP user
func (*LDAPService) NewLdapCreateAccountParams ¶
func (s *LDAPService) NewLdapCreateAccountParams(accounttype int, username string) *LdapCreateAccountParams
You should always use this function to get a new LdapCreateAccountParams instance, as then you are sure you have configured all required params
type LdapConfiguration ¶
type LdapCreateAccountParams ¶
type LdapCreateAccountParams struct {
// contains filtered or unexported fields
}
func (*LdapCreateAccountParams) SetAccount ¶
func (p *LdapCreateAccountParams) SetAccount(v string)
func (*LdapCreateAccountParams) SetAccountdetails ¶
func (p *LdapCreateAccountParams) SetAccountdetails(v map[string]string)
func (*LdapCreateAccountParams) SetAccountid ¶
func (p *LdapCreateAccountParams) SetAccountid(v string)
func (*LdapCreateAccountParams) SetAccounttype ¶
func (p *LdapCreateAccountParams) SetAccounttype(v int)
func (*LdapCreateAccountParams) SetDomainid ¶
func (p *LdapCreateAccountParams) SetDomainid(v string)
func (*LdapCreateAccountParams) SetNetworkdomain ¶
func (p *LdapCreateAccountParams) SetNetworkdomain(v string)
func (*LdapCreateAccountParams) SetTimezone ¶
func (p *LdapCreateAccountParams) SetTimezone(v string)
func (*LdapCreateAccountParams) SetUserid ¶
func (p *LdapCreateAccountParams) SetUserid(v string)
func (*LdapCreateAccountParams) SetUsername ¶
func (p *LdapCreateAccountParams) SetUsername(v string)
type LdapCreateAccountResponse ¶
type LdapCreateAccountResponse struct { Snapshotlimit string `json:"snapshotlimit,omitempty"` Cpulimit string `json:"cpulimit,omitempty"` Secondarystorageavailable string `json:"secondarystorageavailable,omitempty"` Primarystoragelimit string `json:"primarystoragelimit,omitempty"` Volumelimit string `json:"volumelimit,omitempty"` Snapshotavailable string `json:"snapshotavailable,omitempty"` Projectavailable string `json:"projectavailable,omitempty"` Receivedbytes int `json:"receivedbytes,omitempty"` Sentbytes int `json:"sentbytes,omitempty"` Vmavailable string `json:"vmavailable,omitempty"` Networkavailable string `json:"networkavailable,omitempty"` Vpcavailable string `json:"vpcavailable,omitempty"` Networklimit string `json:"networklimit,omitempty"` Name string `json:"name,omitempty"` Domainid string `json:"domainid,omitempty"` Iscleanuprequired bool `json:"iscleanuprequired,omitempty"` Vmstopped int `json:"vmstopped,omitempty"` Templateavailable string `json:"templateavailable,omitempty"` Secondarystoragetotal int `json:"secondarystoragetotal,omitempty"` Projecttotal int `json:"projecttotal,omitempty"` Vpctotal int `json:"vpctotal,omitempty"` Iplimit string `json:"iplimit,omitempty"` Vmrunning int `json:"vmrunning,omitempty"` Memoryavailable string `json:"memoryavailable,omitempty"` Secondarystoragelimit string `json:"secondarystoragelimit,omitempty"` Id string `json:"id,omitempty"` Domain string `json:"domain,omitempty"` Volumetotal int `json:"volumetotal,omitempty"` Defaultzoneid string `json:"defaultzoneid,omitempty"` Accounttype int `json:"accounttype,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Templatelimit string `json:"templatelimit,omitempty"` Templatetotal int `json:"templatetotal,omitempty"` Ipavailable string `json:"ipavailable,omitempty"` Networktotal int `json:"networktotal,omitempty"` Primarystoragetotal int `json:"primarystoragetotal,omitempty"` Vmlimit string `json:"vmlimit,omitempty"` Cpuavailable string `json:"cpuavailable,omitempty"` Vpclimit string `json:"vpclimit,omitempty"` Memorylimit string `json:"memorylimit,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` User []struct { Accounttype int `json:"accounttype,omitempty"` Apikey string `json:"apikey,omitempty"` State string `json:"state,omitempty"` Secretkey string `json:"secretkey,omitempty"` Email string `json:"email,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Username string `json:"username,omitempty"` Firstname string `json:"firstname,omitempty"` Created string `json:"created,omitempty"` Lastname string `json:"lastname,omitempty"` Timezone string `json:"timezone,omitempty"` Accountid string `json:"accountid,omitempty"` Iscallerchilddomain bool `json:"iscallerchilddomain,omitempty"` Domainid string `json:"domainid,omitempty"` Id string `json:"id,omitempty"` } `json:"user,omitempty"` Primarystorageavailable string `json:"primarystorageavailable,omitempty"` Accountdetails map[string]string `json:"accountdetails,omitempty"` Iptotal int `json:"iptotal,omitempty"` Projectlimit string `json:"projectlimit,omitempty"` Volumeavailable string `json:"volumeavailable,omitempty"` Cputotal int `json:"cputotal,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Snapshottotal int `json:"snapshottotal,omitempty"` Vmtotal int `json:"vmtotal,omitempty"` State string `json:"state,omitempty"` }
type LimitService ¶
type LimitService struct {
// contains filtered or unexported fields
}
func NewLimitService ¶
func NewLimitService(cs *CloudStackClient) *LimitService
func (*LimitService) GetApiLimit ¶
func (s *LimitService) GetApiLimit(p *GetApiLimitParams) (*GetApiLimitResponse, error)
Get API limit count for the caller
func (*LimitService) ListResourceLimits ¶
func (s *LimitService) ListResourceLimits(p *ListResourceLimitsParams) (*ListResourceLimitsResponse, error)
Lists resource limits.
func (*LimitService) NewGetApiLimitParams ¶
func (s *LimitService) NewGetApiLimitParams() *GetApiLimitParams
You should always use this function to get a new GetApiLimitParams instance, as then you are sure you have configured all required params
func (*LimitService) NewListResourceLimitsParams ¶
func (s *LimitService) NewListResourceLimitsParams() *ListResourceLimitsParams
You should always use this function to get a new ListResourceLimitsParams instance, as then you are sure you have configured all required params
func (*LimitService) NewResetApiLimitParams ¶
func (s *LimitService) NewResetApiLimitParams() *ResetApiLimitParams
You should always use this function to get a new ResetApiLimitParams instance, as then you are sure you have configured all required params
func (*LimitService) NewUpdateResourceCountParams ¶
func (s *LimitService) NewUpdateResourceCountParams(domainid string) *UpdateResourceCountParams
You should always use this function to get a new UpdateResourceCountParams instance, as then you are sure you have configured all required params
func (*LimitService) NewUpdateResourceLimitParams ¶
func (s *LimitService) NewUpdateResourceLimitParams(resourcetype int) *UpdateResourceLimitParams
You should always use this function to get a new UpdateResourceLimitParams instance, as then you are sure you have configured all required params
func (*LimitService) ResetApiLimit ¶
func (s *LimitService) ResetApiLimit(p *ResetApiLimitParams) (*ResetApiLimitResponse, error)
Reset api count
func (*LimitService) UpdateResourceCount ¶
func (s *LimitService) UpdateResourceCount(p *UpdateResourceCountParams) (*UpdateResourceCountResponse, error)
Recalculate and update resource count for an account or domain.
func (*LimitService) UpdateResourceLimit ¶
func (s *LimitService) UpdateResourceLimit(p *UpdateResourceLimitParams) (*UpdateResourceLimitResponse, error)
Updates resource limits for an account or domain.
type ListAccountsParams ¶
type ListAccountsParams struct {
// contains filtered or unexported fields
}
func (*ListAccountsParams) SetAccounttype ¶
func (p *ListAccountsParams) SetAccounttype(v int)
func (*ListAccountsParams) SetDomainid ¶
func (p *ListAccountsParams) SetDomainid(v string)
func (*ListAccountsParams) SetId ¶
func (p *ListAccountsParams) SetId(v string)
func (*ListAccountsParams) SetIscleanuprequired ¶
func (p *ListAccountsParams) SetIscleanuprequired(v bool)
func (*ListAccountsParams) SetIsrecursive ¶
func (p *ListAccountsParams) SetIsrecursive(v bool)
func (*ListAccountsParams) SetKeyword ¶
func (p *ListAccountsParams) SetKeyword(v string)
func (*ListAccountsParams) SetListall ¶
func (p *ListAccountsParams) SetListall(v bool)
func (*ListAccountsParams) SetName ¶
func (p *ListAccountsParams) SetName(v string)
func (*ListAccountsParams) SetPage ¶
func (p *ListAccountsParams) SetPage(v int)
func (*ListAccountsParams) SetPagesize ¶
func (p *ListAccountsParams) SetPagesize(v int)
func (*ListAccountsParams) SetState ¶
func (p *ListAccountsParams) SetState(v string)
type ListAccountsResponse ¶
type ListAffinityGroupTypesParams ¶
type ListAffinityGroupTypesParams struct {
// contains filtered or unexported fields
}
func (*ListAffinityGroupTypesParams) SetKeyword ¶
func (p *ListAffinityGroupTypesParams) SetKeyword(v string)
func (*ListAffinityGroupTypesParams) SetPage ¶
func (p *ListAffinityGroupTypesParams) SetPage(v int)
func (*ListAffinityGroupTypesParams) SetPagesize ¶
func (p *ListAffinityGroupTypesParams) SetPagesize(v int)
type ListAffinityGroupTypesResponse ¶
type ListAffinityGroupTypesResponse struct { Count int `json:"count"` AffinityGroupTypes []*AffinityGroupType `json:"affinitygrouptype"` }
type ListAffinityGroupsParams ¶
type ListAffinityGroupsParams struct {
// contains filtered or unexported fields
}
func (*ListAffinityGroupsParams) SetAccount ¶
func (p *ListAffinityGroupsParams) SetAccount(v string)
func (*ListAffinityGroupsParams) SetDomainid ¶
func (p *ListAffinityGroupsParams) SetDomainid(v string)
func (*ListAffinityGroupsParams) SetId ¶
func (p *ListAffinityGroupsParams) SetId(v string)
func (*ListAffinityGroupsParams) SetIsrecursive ¶
func (p *ListAffinityGroupsParams) SetIsrecursive(v bool)
func (*ListAffinityGroupsParams) SetKeyword ¶
func (p *ListAffinityGroupsParams) SetKeyword(v string)
func (*ListAffinityGroupsParams) SetListall ¶
func (p *ListAffinityGroupsParams) SetListall(v bool)
func (*ListAffinityGroupsParams) SetName ¶
func (p *ListAffinityGroupsParams) SetName(v string)
func (*ListAffinityGroupsParams) SetPage ¶
func (p *ListAffinityGroupsParams) SetPage(v int)
func (*ListAffinityGroupsParams) SetPagesize ¶
func (p *ListAffinityGroupsParams) SetPagesize(v int)
func (*ListAffinityGroupsParams) SetType ¶
func (p *ListAffinityGroupsParams) SetType(v string)
func (*ListAffinityGroupsParams) SetVirtualmachineid ¶
func (p *ListAffinityGroupsParams) SetVirtualmachineid(v string)
type ListAffinityGroupsResponse ¶
type ListAffinityGroupsResponse struct { Count int `json:"count"` AffinityGroups []*AffinityGroup `json:"affinitygroup"` }
type ListAlertsParams ¶
type ListAlertsParams struct {
// contains filtered or unexported fields
}
func (*ListAlertsParams) SetId ¶
func (p *ListAlertsParams) SetId(v string)
func (*ListAlertsParams) SetKeyword ¶
func (p *ListAlertsParams) SetKeyword(v string)
func (*ListAlertsParams) SetName ¶
func (p *ListAlertsParams) SetName(v string)
func (*ListAlertsParams) SetPage ¶
func (p *ListAlertsParams) SetPage(v int)
func (*ListAlertsParams) SetPagesize ¶
func (p *ListAlertsParams) SetPagesize(v int)
func (*ListAlertsParams) SetType ¶
func (p *ListAlertsParams) SetType(v string)
type ListAlertsResponse ¶
type ListApisParams ¶
type ListApisParams struct {
// contains filtered or unexported fields
}
func (*ListApisParams) SetName ¶
func (p *ListApisParams) SetName(v string)
type ListApisResponse ¶
type ListAsyncJobsParams ¶
type ListAsyncJobsParams struct {
// contains filtered or unexported fields
}
func (*ListAsyncJobsParams) SetAccount ¶
func (p *ListAsyncJobsParams) SetAccount(v string)
func (*ListAsyncJobsParams) SetDomainid ¶
func (p *ListAsyncJobsParams) SetDomainid(v string)
func (*ListAsyncJobsParams) SetIsrecursive ¶
func (p *ListAsyncJobsParams) SetIsrecursive(v bool)
func (*ListAsyncJobsParams) SetKeyword ¶
func (p *ListAsyncJobsParams) SetKeyword(v string)
func (*ListAsyncJobsParams) SetListall ¶
func (p *ListAsyncJobsParams) SetListall(v bool)
func (*ListAsyncJobsParams) SetPage ¶
func (p *ListAsyncJobsParams) SetPage(v int)
func (*ListAsyncJobsParams) SetPagesize ¶
func (p *ListAsyncJobsParams) SetPagesize(v int)
func (*ListAsyncJobsParams) SetStartdate ¶
func (p *ListAsyncJobsParams) SetStartdate(v string)
type ListAsyncJobsResponse ¶
type ListAutoScalePoliciesParams ¶
type ListAutoScalePoliciesParams struct {
// contains filtered or unexported fields
}
func (*ListAutoScalePoliciesParams) SetAccount ¶
func (p *ListAutoScalePoliciesParams) SetAccount(v string)
func (*ListAutoScalePoliciesParams) SetAction ¶
func (p *ListAutoScalePoliciesParams) SetAction(v string)
func (*ListAutoScalePoliciesParams) SetConditionid ¶
func (p *ListAutoScalePoliciesParams) SetConditionid(v string)
func (*ListAutoScalePoliciesParams) SetDomainid ¶
func (p *ListAutoScalePoliciesParams) SetDomainid(v string)
func (*ListAutoScalePoliciesParams) SetId ¶
func (p *ListAutoScalePoliciesParams) SetId(v string)
func (*ListAutoScalePoliciesParams) SetIsrecursive ¶
func (p *ListAutoScalePoliciesParams) SetIsrecursive(v bool)
func (*ListAutoScalePoliciesParams) SetKeyword ¶
func (p *ListAutoScalePoliciesParams) SetKeyword(v string)
func (*ListAutoScalePoliciesParams) SetListall ¶
func (p *ListAutoScalePoliciesParams) SetListall(v bool)
func (*ListAutoScalePoliciesParams) SetPage ¶
func (p *ListAutoScalePoliciesParams) SetPage(v int)
func (*ListAutoScalePoliciesParams) SetPagesize ¶
func (p *ListAutoScalePoliciesParams) SetPagesize(v int)
func (*ListAutoScalePoliciesParams) SetVmgroupid ¶
func (p *ListAutoScalePoliciesParams) SetVmgroupid(v string)
type ListAutoScalePoliciesResponse ¶
type ListAutoScalePoliciesResponse struct { Count int `json:"count"` AutoScalePolicies []*AutoScalePolicy `json:"autoscalepolicy"` }
type ListAutoScaleVmGroupsParams ¶
type ListAutoScaleVmGroupsParams struct {
// contains filtered or unexported fields
}
func (*ListAutoScaleVmGroupsParams) SetAccount ¶
func (p *ListAutoScaleVmGroupsParams) SetAccount(v string)
func (*ListAutoScaleVmGroupsParams) SetDomainid ¶
func (p *ListAutoScaleVmGroupsParams) SetDomainid(v string)
func (*ListAutoScaleVmGroupsParams) SetId ¶
func (p *ListAutoScaleVmGroupsParams) SetId(v string)
func (*ListAutoScaleVmGroupsParams) SetIsrecursive ¶
func (p *ListAutoScaleVmGroupsParams) SetIsrecursive(v bool)
func (*ListAutoScaleVmGroupsParams) SetKeyword ¶
func (p *ListAutoScaleVmGroupsParams) SetKeyword(v string)
func (*ListAutoScaleVmGroupsParams) SetLbruleid ¶
func (p *ListAutoScaleVmGroupsParams) SetLbruleid(v string)
func (*ListAutoScaleVmGroupsParams) SetListall ¶
func (p *ListAutoScaleVmGroupsParams) SetListall(v bool)
func (*ListAutoScaleVmGroupsParams) SetPage ¶
func (p *ListAutoScaleVmGroupsParams) SetPage(v int)
func (*ListAutoScaleVmGroupsParams) SetPagesize ¶
func (p *ListAutoScaleVmGroupsParams) SetPagesize(v int)
func (*ListAutoScaleVmGroupsParams) SetPolicyid ¶
func (p *ListAutoScaleVmGroupsParams) SetPolicyid(v string)
func (*ListAutoScaleVmGroupsParams) SetProjectid ¶
func (p *ListAutoScaleVmGroupsParams) SetProjectid(v string)
func (*ListAutoScaleVmGroupsParams) SetVmprofileid ¶
func (p *ListAutoScaleVmGroupsParams) SetVmprofileid(v string)
func (*ListAutoScaleVmGroupsParams) SetZoneid ¶
func (p *ListAutoScaleVmGroupsParams) SetZoneid(v string)
type ListAutoScaleVmGroupsResponse ¶
type ListAutoScaleVmGroupsResponse struct { Count int `json:"count"` AutoScaleVmGroups []*AutoScaleVmGroup `json:"autoscalevmgroup"` }
type ListAutoScaleVmProfilesParams ¶
type ListAutoScaleVmProfilesParams struct {
// contains filtered or unexported fields
}
func (*ListAutoScaleVmProfilesParams) SetAccount ¶
func (p *ListAutoScaleVmProfilesParams) SetAccount(v string)
func (*ListAutoScaleVmProfilesParams) SetDomainid ¶
func (p *ListAutoScaleVmProfilesParams) SetDomainid(v string)
func (*ListAutoScaleVmProfilesParams) SetId ¶
func (p *ListAutoScaleVmProfilesParams) SetId(v string)
func (*ListAutoScaleVmProfilesParams) SetIsrecursive ¶
func (p *ListAutoScaleVmProfilesParams) SetIsrecursive(v bool)
func (*ListAutoScaleVmProfilesParams) SetKeyword ¶
func (p *ListAutoScaleVmProfilesParams) SetKeyword(v string)
func (*ListAutoScaleVmProfilesParams) SetListall ¶
func (p *ListAutoScaleVmProfilesParams) SetListall(v bool)
func (*ListAutoScaleVmProfilesParams) SetOtherdeployparams ¶
func (p *ListAutoScaleVmProfilesParams) SetOtherdeployparams(v string)
func (*ListAutoScaleVmProfilesParams) SetPage ¶
func (p *ListAutoScaleVmProfilesParams) SetPage(v int)
func (*ListAutoScaleVmProfilesParams) SetPagesize ¶
func (p *ListAutoScaleVmProfilesParams) SetPagesize(v int)
func (*ListAutoScaleVmProfilesParams) SetProjectid ¶
func (p *ListAutoScaleVmProfilesParams) SetProjectid(v string)
func (*ListAutoScaleVmProfilesParams) SetTemplateid ¶
func (p *ListAutoScaleVmProfilesParams) SetTemplateid(v string)
type ListAutoScaleVmProfilesResponse ¶
type ListAutoScaleVmProfilesResponse struct { Count int `json:"count"` AutoScaleVmProfiles []*AutoScaleVmProfile `json:"autoscalevmprofile"` }
type ListBaremetalDhcpParams ¶
type ListBaremetalDhcpParams struct {
// contains filtered or unexported fields
}
func (*ListBaremetalDhcpParams) SetDhcpservertype ¶
func (p *ListBaremetalDhcpParams) SetDhcpservertype(v string)
func (*ListBaremetalDhcpParams) SetId ¶
func (p *ListBaremetalDhcpParams) SetId(v int)
func (*ListBaremetalDhcpParams) SetKeyword ¶
func (p *ListBaremetalDhcpParams) SetKeyword(v string)
func (*ListBaremetalDhcpParams) SetPage ¶
func (p *ListBaremetalDhcpParams) SetPage(v int)
func (*ListBaremetalDhcpParams) SetPagesize ¶
func (p *ListBaremetalDhcpParams) SetPagesize(v int)
type ListBaremetalDhcpResponse ¶
type ListBaremetalDhcpResponse struct { Count int `json:"count"` BaremetalDhcp []*BaremetalDhcp `json:"baremetaldhcp"` }
type ListBaremetalPxeServersParams ¶
type ListBaremetalPxeServersParams struct {
// contains filtered or unexported fields
}
func (*ListBaremetalPxeServersParams) SetId ¶
func (p *ListBaremetalPxeServersParams) SetId(v int)
func (*ListBaremetalPxeServersParams) SetKeyword ¶
func (p *ListBaremetalPxeServersParams) SetKeyword(v string)
func (*ListBaremetalPxeServersParams) SetPage ¶
func (p *ListBaremetalPxeServersParams) SetPage(v int)
func (*ListBaremetalPxeServersParams) SetPagesize ¶
func (p *ListBaremetalPxeServersParams) SetPagesize(v int)
type ListBaremetalPxeServersResponse ¶
type ListBaremetalPxeServersResponse struct { Count int `json:"count"` BaremetalPxeServers []*BaremetalPxeServer `json:"baremetalpxeserver"` }
type ListBigSwitchVnsDevicesParams ¶
type ListBigSwitchVnsDevicesParams struct {
// contains filtered or unexported fields
}
func (*ListBigSwitchVnsDevicesParams) SetKeyword ¶
func (p *ListBigSwitchVnsDevicesParams) SetKeyword(v string)
func (*ListBigSwitchVnsDevicesParams) SetPage ¶
func (p *ListBigSwitchVnsDevicesParams) SetPage(v int)
func (*ListBigSwitchVnsDevicesParams) SetPagesize ¶
func (p *ListBigSwitchVnsDevicesParams) SetPagesize(v int)
func (*ListBigSwitchVnsDevicesParams) SetPhysicalnetworkid ¶
func (p *ListBigSwitchVnsDevicesParams) SetPhysicalnetworkid(v string)
func (*ListBigSwitchVnsDevicesParams) SetVnsdeviceid ¶
func (p *ListBigSwitchVnsDevicesParams) SetVnsdeviceid(v string)
type ListBigSwitchVnsDevicesResponse ¶
type ListBigSwitchVnsDevicesResponse struct { Count int `json:"count"` BigSwitchVnsDevices []*BigSwitchVnsDevice `json:"bigswitchvnsdevice"` }
type ListCapabilitiesParams ¶
type ListCapabilitiesParams struct {
// contains filtered or unexported fields
}
type ListCapabilitiesResponse ¶
type ListCapabilitiesResponse struct { Count int `json:"count"` Capabilities []*Capability `json:"capability"` }
type ListCapacityParams ¶
type ListCapacityParams struct {
// contains filtered or unexported fields
}
func (*ListCapacityParams) SetClusterid ¶
func (p *ListCapacityParams) SetClusterid(v string)
func (*ListCapacityParams) SetFetchlatest ¶
func (p *ListCapacityParams) SetFetchlatest(v bool)
func (*ListCapacityParams) SetKeyword ¶
func (p *ListCapacityParams) SetKeyword(v string)
func (*ListCapacityParams) SetPage ¶
func (p *ListCapacityParams) SetPage(v int)
func (*ListCapacityParams) SetPagesize ¶
func (p *ListCapacityParams) SetPagesize(v int)
func (*ListCapacityParams) SetPodid ¶
func (p *ListCapacityParams) SetPodid(v string)
func (*ListCapacityParams) SetSortby ¶
func (p *ListCapacityParams) SetSortby(v string)
func (*ListCapacityParams) SetType ¶
func (p *ListCapacityParams) SetType(v int)
func (*ListCapacityParams) SetZoneid ¶
func (p *ListCapacityParams) SetZoneid(v string)
type ListCapacityResponse ¶
type ListCiscoAsa1000vResourcesParams ¶
type ListCiscoAsa1000vResourcesParams struct {
// contains filtered or unexported fields
}
func (*ListCiscoAsa1000vResourcesParams) SetHostname ¶
func (p *ListCiscoAsa1000vResourcesParams) SetHostname(v string)
func (*ListCiscoAsa1000vResourcesParams) SetKeyword ¶
func (p *ListCiscoAsa1000vResourcesParams) SetKeyword(v string)
func (*ListCiscoAsa1000vResourcesParams) SetPage ¶
func (p *ListCiscoAsa1000vResourcesParams) SetPage(v int)
func (*ListCiscoAsa1000vResourcesParams) SetPagesize ¶
func (p *ListCiscoAsa1000vResourcesParams) SetPagesize(v int)
func (*ListCiscoAsa1000vResourcesParams) SetPhysicalnetworkid ¶
func (p *ListCiscoAsa1000vResourcesParams) SetPhysicalnetworkid(v string)
func (*ListCiscoAsa1000vResourcesParams) SetResourceid ¶
func (p *ListCiscoAsa1000vResourcesParams) SetResourceid(v string)
type ListCiscoAsa1000vResourcesResponse ¶
type ListCiscoAsa1000vResourcesResponse struct { Count int `json:"count"` CiscoAsa1000vResources []*CiscoAsa1000vResource `json:"ciscoasa1000vresource"` }
type ListCiscoNexusVSMsParams ¶
type ListCiscoNexusVSMsParams struct {
// contains filtered or unexported fields
}
func (*ListCiscoNexusVSMsParams) SetClusterid ¶
func (p *ListCiscoNexusVSMsParams) SetClusterid(v string)
func (*ListCiscoNexusVSMsParams) SetKeyword ¶
func (p *ListCiscoNexusVSMsParams) SetKeyword(v string)
func (*ListCiscoNexusVSMsParams) SetPage ¶
func (p *ListCiscoNexusVSMsParams) SetPage(v int)
func (*ListCiscoNexusVSMsParams) SetPagesize ¶
func (p *ListCiscoNexusVSMsParams) SetPagesize(v int)
func (*ListCiscoNexusVSMsParams) SetZoneid ¶
func (p *ListCiscoNexusVSMsParams) SetZoneid(v string)
type ListCiscoNexusVSMsResponse ¶
type ListCiscoNexusVSMsResponse struct { Count int `json:"count"` CiscoNexusVSMs []*CiscoNexusVSM `json:"cisconexusvsm"` }
type ListCiscoVnmcResourcesParams ¶
type ListCiscoVnmcResourcesParams struct {
// contains filtered or unexported fields
}
func (*ListCiscoVnmcResourcesParams) SetKeyword ¶
func (p *ListCiscoVnmcResourcesParams) SetKeyword(v string)
func (*ListCiscoVnmcResourcesParams) SetPage ¶
func (p *ListCiscoVnmcResourcesParams) SetPage(v int)
func (*ListCiscoVnmcResourcesParams) SetPagesize ¶
func (p *ListCiscoVnmcResourcesParams) SetPagesize(v int)
func (*ListCiscoVnmcResourcesParams) SetPhysicalnetworkid ¶
func (p *ListCiscoVnmcResourcesParams) SetPhysicalnetworkid(v string)
func (*ListCiscoVnmcResourcesParams) SetResourceid ¶
func (p *ListCiscoVnmcResourcesParams) SetResourceid(v string)
type ListCiscoVnmcResourcesResponse ¶
type ListCiscoVnmcResourcesResponse struct { Count int `json:"count"` CiscoVnmcResources []*CiscoVnmcResource `json:"ciscovnmcresource"` }
type ListClustersParams ¶
type ListClustersParams struct {
// contains filtered or unexported fields
}
func (*ListClustersParams) SetAllocationstate ¶
func (p *ListClustersParams) SetAllocationstate(v string)
func (*ListClustersParams) SetClustertype ¶
func (p *ListClustersParams) SetClustertype(v string)
func (*ListClustersParams) SetHypervisor ¶
func (p *ListClustersParams) SetHypervisor(v string)
func (*ListClustersParams) SetId ¶
func (p *ListClustersParams) SetId(v string)
func (*ListClustersParams) SetKeyword ¶
func (p *ListClustersParams) SetKeyword(v string)
func (*ListClustersParams) SetManagedstate ¶
func (p *ListClustersParams) SetManagedstate(v string)
func (*ListClustersParams) SetName ¶
func (p *ListClustersParams) SetName(v string)
func (*ListClustersParams) SetPage ¶
func (p *ListClustersParams) SetPage(v int)
func (*ListClustersParams) SetPagesize ¶
func (p *ListClustersParams) SetPagesize(v int)
func (*ListClustersParams) SetPodid ¶
func (p *ListClustersParams) SetPodid(v string)
func (*ListClustersParams) SetShowcapacities ¶
func (p *ListClustersParams) SetShowcapacities(v bool)
func (*ListClustersParams) SetZoneid ¶
func (p *ListClustersParams) SetZoneid(v string)
type ListClustersResponse ¶
type ListConditionsParams ¶
type ListConditionsParams struct {
// contains filtered or unexported fields
}
func (*ListConditionsParams) SetAccount ¶
func (p *ListConditionsParams) SetAccount(v string)
func (*ListConditionsParams) SetCounterid ¶
func (p *ListConditionsParams) SetCounterid(v string)
func (*ListConditionsParams) SetDomainid ¶
func (p *ListConditionsParams) SetDomainid(v string)
func (*ListConditionsParams) SetId ¶
func (p *ListConditionsParams) SetId(v string)
func (*ListConditionsParams) SetIsrecursive ¶
func (p *ListConditionsParams) SetIsrecursive(v bool)
func (*ListConditionsParams) SetKeyword ¶
func (p *ListConditionsParams) SetKeyword(v string)
func (*ListConditionsParams) SetListall ¶
func (p *ListConditionsParams) SetListall(v bool)
func (*ListConditionsParams) SetPage ¶
func (p *ListConditionsParams) SetPage(v int)
func (*ListConditionsParams) SetPagesize ¶
func (p *ListConditionsParams) SetPagesize(v int)
func (*ListConditionsParams) SetPolicyid ¶
func (p *ListConditionsParams) SetPolicyid(v string)
type ListConditionsResponse ¶
type ListConfigurationsParams ¶
type ListConfigurationsParams struct {
// contains filtered or unexported fields
}
func (*ListConfigurationsParams) SetAccountid ¶
func (p *ListConfigurationsParams) SetAccountid(v string)
func (*ListConfigurationsParams) SetCategory ¶
func (p *ListConfigurationsParams) SetCategory(v string)
func (*ListConfigurationsParams) SetClusterid ¶
func (p *ListConfigurationsParams) SetClusterid(v string)
func (*ListConfigurationsParams) SetKeyword ¶
func (p *ListConfigurationsParams) SetKeyword(v string)
func (*ListConfigurationsParams) SetName ¶
func (p *ListConfigurationsParams) SetName(v string)
func (*ListConfigurationsParams) SetPage ¶
func (p *ListConfigurationsParams) SetPage(v int)
func (*ListConfigurationsParams) SetPagesize ¶
func (p *ListConfigurationsParams) SetPagesize(v int)
func (*ListConfigurationsParams) SetStorageid ¶
func (p *ListConfigurationsParams) SetStorageid(v string)
func (*ListConfigurationsParams) SetZoneid ¶
func (p *ListConfigurationsParams) SetZoneid(v string)
type ListConfigurationsResponse ¶
type ListConfigurationsResponse struct { Count int `json:"count"` Configurations []*Configuration `json:"configuration"` }
type ListCountersParams ¶
type ListCountersParams struct {
// contains filtered or unexported fields
}
func (*ListCountersParams) SetId ¶
func (p *ListCountersParams) SetId(v string)
func (*ListCountersParams) SetKeyword ¶
func (p *ListCountersParams) SetKeyword(v string)
func (*ListCountersParams) SetName ¶
func (p *ListCountersParams) SetName(v string)
func (*ListCountersParams) SetPage ¶
func (p *ListCountersParams) SetPage(v int)
func (*ListCountersParams) SetPagesize ¶
func (p *ListCountersParams) SetPagesize(v int)
func (*ListCountersParams) SetSource ¶
func (p *ListCountersParams) SetSource(v string)
type ListCountersResponse ¶
type ListDedicatedClustersParams ¶
type ListDedicatedClustersParams struct {
// contains filtered or unexported fields
}
func (*ListDedicatedClustersParams) SetAccount ¶
func (p *ListDedicatedClustersParams) SetAccount(v string)
func (*ListDedicatedClustersParams) SetAffinitygroupid ¶
func (p *ListDedicatedClustersParams) SetAffinitygroupid(v string)
func (*ListDedicatedClustersParams) SetClusterid ¶
func (p *ListDedicatedClustersParams) SetClusterid(v string)
func (*ListDedicatedClustersParams) SetDomainid ¶
func (p *ListDedicatedClustersParams) SetDomainid(v string)
func (*ListDedicatedClustersParams) SetKeyword ¶
func (p *ListDedicatedClustersParams) SetKeyword(v string)
func (*ListDedicatedClustersParams) SetPage ¶
func (p *ListDedicatedClustersParams) SetPage(v int)
func (*ListDedicatedClustersParams) SetPagesize ¶
func (p *ListDedicatedClustersParams) SetPagesize(v int)
type ListDedicatedClustersResponse ¶
type ListDedicatedClustersResponse struct { Count int `json:"count"` DedicatedClusters []*DedicatedCluster `json:"dedicatedcluster"` }
type ListDedicatedGuestVlanRangesParams ¶
type ListDedicatedGuestVlanRangesParams struct {
// contains filtered or unexported fields
}
func (*ListDedicatedGuestVlanRangesParams) SetAccount ¶
func (p *ListDedicatedGuestVlanRangesParams) SetAccount(v string)
func (*ListDedicatedGuestVlanRangesParams) SetDomainid ¶
func (p *ListDedicatedGuestVlanRangesParams) SetDomainid(v string)
func (*ListDedicatedGuestVlanRangesParams) SetGuestvlanrange ¶
func (p *ListDedicatedGuestVlanRangesParams) SetGuestvlanrange(v string)
func (*ListDedicatedGuestVlanRangesParams) SetId ¶
func (p *ListDedicatedGuestVlanRangesParams) SetId(v string)
func (*ListDedicatedGuestVlanRangesParams) SetKeyword ¶
func (p *ListDedicatedGuestVlanRangesParams) SetKeyword(v string)
func (*ListDedicatedGuestVlanRangesParams) SetPage ¶
func (p *ListDedicatedGuestVlanRangesParams) SetPage(v int)
func (*ListDedicatedGuestVlanRangesParams) SetPagesize ¶
func (p *ListDedicatedGuestVlanRangesParams) SetPagesize(v int)
func (*ListDedicatedGuestVlanRangesParams) SetPhysicalnetworkid ¶
func (p *ListDedicatedGuestVlanRangesParams) SetPhysicalnetworkid(v string)
func (*ListDedicatedGuestVlanRangesParams) SetProjectid ¶
func (p *ListDedicatedGuestVlanRangesParams) SetProjectid(v string)
func (*ListDedicatedGuestVlanRangesParams) SetZoneid ¶
func (p *ListDedicatedGuestVlanRangesParams) SetZoneid(v string)
type ListDedicatedGuestVlanRangesResponse ¶
type ListDedicatedGuestVlanRangesResponse struct { Count int `json:"count"` DedicatedGuestVlanRanges []*DedicatedGuestVlanRange `json:"dedicatedguestvlanrange"` }
type ListDedicatedHostsParams ¶
type ListDedicatedHostsParams struct {
// contains filtered or unexported fields
}
func (*ListDedicatedHostsParams) SetAccount ¶
func (p *ListDedicatedHostsParams) SetAccount(v string)
func (*ListDedicatedHostsParams) SetAffinitygroupid ¶
func (p *ListDedicatedHostsParams) SetAffinitygroupid(v string)
func (*ListDedicatedHostsParams) SetDomainid ¶
func (p *ListDedicatedHostsParams) SetDomainid(v string)
func (*ListDedicatedHostsParams) SetHostid ¶
func (p *ListDedicatedHostsParams) SetHostid(v string)
func (*ListDedicatedHostsParams) SetKeyword ¶
func (p *ListDedicatedHostsParams) SetKeyword(v string)
func (*ListDedicatedHostsParams) SetPage ¶
func (p *ListDedicatedHostsParams) SetPage(v int)
func (*ListDedicatedHostsParams) SetPagesize ¶
func (p *ListDedicatedHostsParams) SetPagesize(v int)
type ListDedicatedHostsResponse ¶
type ListDedicatedHostsResponse struct { Count int `json:"count"` DedicatedHosts []*DedicatedHost `json:"dedicatedhost"` }
type ListDedicatedPodsParams ¶
type ListDedicatedPodsParams struct {
// contains filtered or unexported fields
}
func (*ListDedicatedPodsParams) SetAccount ¶
func (p *ListDedicatedPodsParams) SetAccount(v string)
func (*ListDedicatedPodsParams) SetAffinitygroupid ¶
func (p *ListDedicatedPodsParams) SetAffinitygroupid(v string)
func (*ListDedicatedPodsParams) SetDomainid ¶
func (p *ListDedicatedPodsParams) SetDomainid(v string)
func (*ListDedicatedPodsParams) SetKeyword ¶
func (p *ListDedicatedPodsParams) SetKeyword(v string)
func (*ListDedicatedPodsParams) SetPage ¶
func (p *ListDedicatedPodsParams) SetPage(v int)
func (*ListDedicatedPodsParams) SetPagesize ¶
func (p *ListDedicatedPodsParams) SetPagesize(v int)
func (*ListDedicatedPodsParams) SetPodid ¶
func (p *ListDedicatedPodsParams) SetPodid(v string)
type ListDedicatedPodsResponse ¶
type ListDedicatedPodsResponse struct { Count int `json:"count"` DedicatedPods []*DedicatedPod `json:"dedicatedpod"` }
type ListDedicatedZonesParams ¶
type ListDedicatedZonesParams struct {
// contains filtered or unexported fields
}
func (*ListDedicatedZonesParams) SetAccount ¶
func (p *ListDedicatedZonesParams) SetAccount(v string)
func (*ListDedicatedZonesParams) SetAffinitygroupid ¶
func (p *ListDedicatedZonesParams) SetAffinitygroupid(v string)
func (*ListDedicatedZonesParams) SetDomainid ¶
func (p *ListDedicatedZonesParams) SetDomainid(v string)
func (*ListDedicatedZonesParams) SetKeyword ¶
func (p *ListDedicatedZonesParams) SetKeyword(v string)
func (*ListDedicatedZonesParams) SetPage ¶
func (p *ListDedicatedZonesParams) SetPage(v int)
func (*ListDedicatedZonesParams) SetPagesize ¶
func (p *ListDedicatedZonesParams) SetPagesize(v int)
func (*ListDedicatedZonesParams) SetZoneid ¶
func (p *ListDedicatedZonesParams) SetZoneid(v string)
type ListDedicatedZonesResponse ¶
type ListDedicatedZonesResponse struct { Count int `json:"count"` DedicatedZones []*DedicatedZone `json:"dedicatedzone"` }
type ListDeploymentPlannersParams ¶
type ListDeploymentPlannersParams struct {
// contains filtered or unexported fields
}
func (*ListDeploymentPlannersParams) SetKeyword ¶
func (p *ListDeploymentPlannersParams) SetKeyword(v string)
func (*ListDeploymentPlannersParams) SetPage ¶
func (p *ListDeploymentPlannersParams) SetPage(v int)
func (*ListDeploymentPlannersParams) SetPagesize ¶
func (p *ListDeploymentPlannersParams) SetPagesize(v int)
type ListDeploymentPlannersResponse ¶
type ListDeploymentPlannersResponse struct { Count int `json:"count"` DeploymentPlanners []*DeploymentPlanner `json:"deploymentplanner"` }
type ListDiskOfferingsParams ¶
type ListDiskOfferingsParams struct {
// contains filtered or unexported fields
}
func (*ListDiskOfferingsParams) SetDomainid ¶
func (p *ListDiskOfferingsParams) SetDomainid(v string)
func (*ListDiskOfferingsParams) SetId ¶
func (p *ListDiskOfferingsParams) SetId(v string)
func (*ListDiskOfferingsParams) SetKeyword ¶
func (p *ListDiskOfferingsParams) SetKeyword(v string)
func (*ListDiskOfferingsParams) SetName ¶
func (p *ListDiskOfferingsParams) SetName(v string)
func (*ListDiskOfferingsParams) SetPage ¶
func (p *ListDiskOfferingsParams) SetPage(v int)
func (*ListDiskOfferingsParams) SetPagesize ¶
func (p *ListDiskOfferingsParams) SetPagesize(v int)
type ListDiskOfferingsResponse ¶
type ListDiskOfferingsResponse struct { Count int `json:"count"` DiskOfferings []*DiskOffering `json:"diskoffering"` }
type ListDomainChildrenParams ¶
type ListDomainChildrenParams struct {
// contains filtered or unexported fields
}
func (*ListDomainChildrenParams) SetId ¶
func (p *ListDomainChildrenParams) SetId(v string)
func (*ListDomainChildrenParams) SetIsrecursive ¶
func (p *ListDomainChildrenParams) SetIsrecursive(v bool)
func (*ListDomainChildrenParams) SetKeyword ¶
func (p *ListDomainChildrenParams) SetKeyword(v string)
func (*ListDomainChildrenParams) SetListall ¶
func (p *ListDomainChildrenParams) SetListall(v bool)
func (*ListDomainChildrenParams) SetName ¶
func (p *ListDomainChildrenParams) SetName(v string)
func (*ListDomainChildrenParams) SetPage ¶
func (p *ListDomainChildrenParams) SetPage(v int)
func (*ListDomainChildrenParams) SetPagesize ¶
func (p *ListDomainChildrenParams) SetPagesize(v int)
type ListDomainChildrenResponse ¶
type ListDomainChildrenResponse struct { Count int `json:"count"` DomainChildren []*DomainChildren `json:"domainchildren"` }
type ListDomainsParams ¶
type ListDomainsParams struct {
// contains filtered or unexported fields
}
func (*ListDomainsParams) SetId ¶
func (p *ListDomainsParams) SetId(v string)
func (*ListDomainsParams) SetKeyword ¶
func (p *ListDomainsParams) SetKeyword(v string)
func (*ListDomainsParams) SetLevel ¶
func (p *ListDomainsParams) SetLevel(v int)
func (*ListDomainsParams) SetListall ¶
func (p *ListDomainsParams) SetListall(v bool)
func (*ListDomainsParams) SetName ¶
func (p *ListDomainsParams) SetName(v string)
func (*ListDomainsParams) SetPage ¶
func (p *ListDomainsParams) SetPage(v int)
func (*ListDomainsParams) SetPagesize ¶
func (p *ListDomainsParams) SetPagesize(v int)
type ListDomainsResponse ¶
type ListEgressFirewallRulesParams ¶
type ListEgressFirewallRulesParams struct {
// contains filtered or unexported fields
}
func (*ListEgressFirewallRulesParams) SetAccount ¶
func (p *ListEgressFirewallRulesParams) SetAccount(v string)
func (*ListEgressFirewallRulesParams) SetDomainid ¶
func (p *ListEgressFirewallRulesParams) SetDomainid(v string)
func (*ListEgressFirewallRulesParams) SetId ¶
func (p *ListEgressFirewallRulesParams) SetId(v string)
func (*ListEgressFirewallRulesParams) SetIpaddressid ¶
func (p *ListEgressFirewallRulesParams) SetIpaddressid(v string)
func (*ListEgressFirewallRulesParams) SetIsrecursive ¶
func (p *ListEgressFirewallRulesParams) SetIsrecursive(v bool)
func (*ListEgressFirewallRulesParams) SetKeyword ¶
func (p *ListEgressFirewallRulesParams) SetKeyword(v string)
func (*ListEgressFirewallRulesParams) SetListall ¶
func (p *ListEgressFirewallRulesParams) SetListall(v bool)
func (*ListEgressFirewallRulesParams) SetNetworkid ¶
func (p *ListEgressFirewallRulesParams) SetNetworkid(v string)
func (*ListEgressFirewallRulesParams) SetPage ¶
func (p *ListEgressFirewallRulesParams) SetPage(v int)
func (*ListEgressFirewallRulesParams) SetPagesize ¶
func (p *ListEgressFirewallRulesParams) SetPagesize(v int)
func (*ListEgressFirewallRulesParams) SetProjectid ¶
func (p *ListEgressFirewallRulesParams) SetProjectid(v string)
func (*ListEgressFirewallRulesParams) SetTags ¶
func (p *ListEgressFirewallRulesParams) SetTags(v map[string]string)
type ListEgressFirewallRulesResponse ¶
type ListEgressFirewallRulesResponse struct { Count int `json:"count"` EgressFirewallRules []*EgressFirewallRule `json:"egressfirewallrule"` }
type ListEventTypesParams ¶
type ListEventTypesParams struct {
// contains filtered or unexported fields
}
type ListEventTypesResponse ¶
type ListEventsParams ¶
type ListEventsParams struct {
// contains filtered or unexported fields
}
func (*ListEventsParams) SetAccount ¶
func (p *ListEventsParams) SetAccount(v string)
func (*ListEventsParams) SetDomainid ¶
func (p *ListEventsParams) SetDomainid(v string)
func (*ListEventsParams) SetDuration ¶
func (p *ListEventsParams) SetDuration(v int)
func (*ListEventsParams) SetEnddate ¶
func (p *ListEventsParams) SetEnddate(v string)
func (*ListEventsParams) SetEntrytime ¶
func (p *ListEventsParams) SetEntrytime(v int)
func (*ListEventsParams) SetId ¶
func (p *ListEventsParams) SetId(v string)
func (*ListEventsParams) SetIsrecursive ¶
func (p *ListEventsParams) SetIsrecursive(v bool)
func (*ListEventsParams) SetKeyword ¶
func (p *ListEventsParams) SetKeyword(v string)
func (*ListEventsParams) SetLevel ¶
func (p *ListEventsParams) SetLevel(v string)
func (*ListEventsParams) SetListall ¶
func (p *ListEventsParams) SetListall(v bool)
func (*ListEventsParams) SetPage ¶
func (p *ListEventsParams) SetPage(v int)
func (*ListEventsParams) SetPagesize ¶
func (p *ListEventsParams) SetPagesize(v int)
func (*ListEventsParams) SetProjectid ¶
func (p *ListEventsParams) SetProjectid(v string)
func (*ListEventsParams) SetStartdate ¶
func (p *ListEventsParams) SetStartdate(v string)
func (*ListEventsParams) SetType ¶
func (p *ListEventsParams) SetType(v string)
type ListEventsResponse ¶
type ListExternalFirewallsParams ¶
type ListExternalFirewallsParams struct {
// contains filtered or unexported fields
}
func (*ListExternalFirewallsParams) SetKeyword ¶
func (p *ListExternalFirewallsParams) SetKeyword(v string)
func (*ListExternalFirewallsParams) SetPage ¶
func (p *ListExternalFirewallsParams) SetPage(v int)
func (*ListExternalFirewallsParams) SetPagesize ¶
func (p *ListExternalFirewallsParams) SetPagesize(v int)
func (*ListExternalFirewallsParams) SetZoneid ¶
func (p *ListExternalFirewallsParams) SetZoneid(v string)
type ListExternalFirewallsResponse ¶
type ListExternalFirewallsResponse struct { Count int `json:"count"` ExternalFirewalls []*ExternalFirewall `json:"externalfirewall"` }
type ListExternalLoadBalancersParams ¶
type ListExternalLoadBalancersParams struct {
// contains filtered or unexported fields
}
func (*ListExternalLoadBalancersParams) SetKeyword ¶
func (p *ListExternalLoadBalancersParams) SetKeyword(v string)
func (*ListExternalLoadBalancersParams) SetPage ¶
func (p *ListExternalLoadBalancersParams) SetPage(v int)
func (*ListExternalLoadBalancersParams) SetPagesize ¶
func (p *ListExternalLoadBalancersParams) SetPagesize(v int)
func (*ListExternalLoadBalancersParams) SetZoneid ¶
func (p *ListExternalLoadBalancersParams) SetZoneid(v string)
type ListExternalLoadBalancersResponse ¶
type ListExternalLoadBalancersResponse struct { Count int `json:"count"` ExternalLoadBalancers []*ExternalLoadBalancer `json:"externalloadbalancer"` }
type ListF5LoadBalancerNetworksParams ¶
type ListF5LoadBalancerNetworksParams struct {
// contains filtered or unexported fields
}
func (*ListF5LoadBalancerNetworksParams) SetKeyword ¶
func (p *ListF5LoadBalancerNetworksParams) SetKeyword(v string)
func (*ListF5LoadBalancerNetworksParams) SetLbdeviceid ¶
func (p *ListF5LoadBalancerNetworksParams) SetLbdeviceid(v string)
func (*ListF5LoadBalancerNetworksParams) SetPage ¶
func (p *ListF5LoadBalancerNetworksParams) SetPage(v int)
func (*ListF5LoadBalancerNetworksParams) SetPagesize ¶
func (p *ListF5LoadBalancerNetworksParams) SetPagesize(v int)
type ListF5LoadBalancerNetworksResponse ¶
type ListF5LoadBalancerNetworksResponse struct { Count int `json:"count"` F5LoadBalancerNetworks []*F5LoadBalancerNetwork `json:"f5loadbalancernetwork"` }
type ListF5LoadBalancersParams ¶
type ListF5LoadBalancersParams struct {
// contains filtered or unexported fields
}
func (*ListF5LoadBalancersParams) SetKeyword ¶
func (p *ListF5LoadBalancersParams) SetKeyword(v string)
func (*ListF5LoadBalancersParams) SetLbdeviceid ¶
func (p *ListF5LoadBalancersParams) SetLbdeviceid(v string)
func (*ListF5LoadBalancersParams) SetPage ¶
func (p *ListF5LoadBalancersParams) SetPage(v int)
func (*ListF5LoadBalancersParams) SetPagesize ¶
func (p *ListF5LoadBalancersParams) SetPagesize(v int)
func (*ListF5LoadBalancersParams) SetPhysicalnetworkid ¶
func (p *ListF5LoadBalancersParams) SetPhysicalnetworkid(v string)
type ListF5LoadBalancersResponse ¶
type ListF5LoadBalancersResponse struct { Count int `json:"count"` F5LoadBalancers []*F5LoadBalancer `json:"f5loadbalancer"` }
type ListFirewallRulesParams ¶
type ListFirewallRulesParams struct {
// contains filtered or unexported fields
}
func (*ListFirewallRulesParams) SetAccount ¶
func (p *ListFirewallRulesParams) SetAccount(v string)
func (*ListFirewallRulesParams) SetDomainid ¶
func (p *ListFirewallRulesParams) SetDomainid(v string)
func (*ListFirewallRulesParams) SetId ¶
func (p *ListFirewallRulesParams) SetId(v string)
func (*ListFirewallRulesParams) SetIpaddressid ¶
func (p *ListFirewallRulesParams) SetIpaddressid(v string)
func (*ListFirewallRulesParams) SetIsrecursive ¶
func (p *ListFirewallRulesParams) SetIsrecursive(v bool)
func (*ListFirewallRulesParams) SetKeyword ¶
func (p *ListFirewallRulesParams) SetKeyword(v string)
func (*ListFirewallRulesParams) SetListall ¶
func (p *ListFirewallRulesParams) SetListall(v bool)
func (*ListFirewallRulesParams) SetNetworkid ¶
func (p *ListFirewallRulesParams) SetNetworkid(v string)
func (*ListFirewallRulesParams) SetPage ¶
func (p *ListFirewallRulesParams) SetPage(v int)
func (*ListFirewallRulesParams) SetPagesize ¶
func (p *ListFirewallRulesParams) SetPagesize(v int)
func (*ListFirewallRulesParams) SetProjectid ¶
func (p *ListFirewallRulesParams) SetProjectid(v string)
func (*ListFirewallRulesParams) SetTags ¶
func (p *ListFirewallRulesParams) SetTags(v map[string]string)
type ListFirewallRulesResponse ¶
type ListFirewallRulesResponse struct { Count int `json:"count"` FirewallRules []*FirewallRule `json:"firewallrule"` }
type ListGlobalLoadBalancerRulesParams ¶
type ListGlobalLoadBalancerRulesParams struct {
// contains filtered or unexported fields
}
func (*ListGlobalLoadBalancerRulesParams) SetAccount ¶
func (p *ListGlobalLoadBalancerRulesParams) SetAccount(v string)
func (*ListGlobalLoadBalancerRulesParams) SetDomainid ¶
func (p *ListGlobalLoadBalancerRulesParams) SetDomainid(v string)
func (*ListGlobalLoadBalancerRulesParams) SetId ¶
func (p *ListGlobalLoadBalancerRulesParams) SetId(v string)
func (*ListGlobalLoadBalancerRulesParams) SetIsrecursive ¶
func (p *ListGlobalLoadBalancerRulesParams) SetIsrecursive(v bool)
func (*ListGlobalLoadBalancerRulesParams) SetKeyword ¶
func (p *ListGlobalLoadBalancerRulesParams) SetKeyword(v string)
func (*ListGlobalLoadBalancerRulesParams) SetListall ¶
func (p *ListGlobalLoadBalancerRulesParams) SetListall(v bool)
func (*ListGlobalLoadBalancerRulesParams) SetPage ¶
func (p *ListGlobalLoadBalancerRulesParams) SetPage(v int)
func (*ListGlobalLoadBalancerRulesParams) SetPagesize ¶
func (p *ListGlobalLoadBalancerRulesParams) SetPagesize(v int)
func (*ListGlobalLoadBalancerRulesParams) SetProjectid ¶
func (p *ListGlobalLoadBalancerRulesParams) SetProjectid(v string)
func (*ListGlobalLoadBalancerRulesParams) SetRegionid ¶
func (p *ListGlobalLoadBalancerRulesParams) SetRegionid(v int)
func (*ListGlobalLoadBalancerRulesParams) SetTags ¶
func (p *ListGlobalLoadBalancerRulesParams) SetTags(v map[string]string)
type ListGlobalLoadBalancerRulesResponse ¶
type ListGlobalLoadBalancerRulesResponse struct { Count int `json:"count"` GlobalLoadBalancerRules []*GlobalLoadBalancerRule `json:"globalloadbalancerrule"` }
type ListHostsParams ¶
type ListHostsParams struct {
// contains filtered or unexported fields
}
func (*ListHostsParams) SetClusterid ¶
func (p *ListHostsParams) SetClusterid(v string)
func (*ListHostsParams) SetDetails ¶
func (p *ListHostsParams) SetDetails(v []string)
func (*ListHostsParams) SetHahost ¶
func (p *ListHostsParams) SetHahost(v bool)
func (*ListHostsParams) SetHypervisor ¶
func (p *ListHostsParams) SetHypervisor(v string)
func (*ListHostsParams) SetId ¶
func (p *ListHostsParams) SetId(v string)
func (*ListHostsParams) SetKeyword ¶
func (p *ListHostsParams) SetKeyword(v string)
func (*ListHostsParams) SetName ¶
func (p *ListHostsParams) SetName(v string)
func (*ListHostsParams) SetPage ¶
func (p *ListHostsParams) SetPage(v int)
func (*ListHostsParams) SetPagesize ¶
func (p *ListHostsParams) SetPagesize(v int)
func (*ListHostsParams) SetPodid ¶
func (p *ListHostsParams) SetPodid(v string)
func (*ListHostsParams) SetResourcestate ¶
func (p *ListHostsParams) SetResourcestate(v string)
func (*ListHostsParams) SetState ¶
func (p *ListHostsParams) SetState(v string)
func (*ListHostsParams) SetType ¶
func (p *ListHostsParams) SetType(v string)
func (*ListHostsParams) SetVirtualmachineid ¶
func (p *ListHostsParams) SetVirtualmachineid(v string)
func (*ListHostsParams) SetZoneid ¶
func (p *ListHostsParams) SetZoneid(v string)
type ListHostsResponse ¶
type ListHypervisorCapabilitiesParams ¶
type ListHypervisorCapabilitiesParams struct {
// contains filtered or unexported fields
}
func (*ListHypervisorCapabilitiesParams) SetHypervisor ¶
func (p *ListHypervisorCapabilitiesParams) SetHypervisor(v string)
func (*ListHypervisorCapabilitiesParams) SetId ¶
func (p *ListHypervisorCapabilitiesParams) SetId(v string)
func (*ListHypervisorCapabilitiesParams) SetKeyword ¶
func (p *ListHypervisorCapabilitiesParams) SetKeyword(v string)
func (*ListHypervisorCapabilitiesParams) SetPage ¶
func (p *ListHypervisorCapabilitiesParams) SetPage(v int)
func (*ListHypervisorCapabilitiesParams) SetPagesize ¶
func (p *ListHypervisorCapabilitiesParams) SetPagesize(v int)
type ListHypervisorCapabilitiesResponse ¶
type ListHypervisorCapabilitiesResponse struct { Count int `json:"count"` HypervisorCapabilities []*HypervisorCapability `json:"hypervisorcapability"` }
type ListHypervisorsParams ¶
type ListHypervisorsParams struct {
// contains filtered or unexported fields
}
func (*ListHypervisorsParams) SetZoneid ¶
func (p *ListHypervisorsParams) SetZoneid(v string)
type ListHypervisorsResponse ¶
type ListHypervisorsResponse struct { Count int `json:"count"` Hypervisors []*Hypervisor `json:"hypervisor"` }
type ListImageStoresParams ¶
type ListImageStoresParams struct {
// contains filtered or unexported fields
}
func (*ListImageStoresParams) SetId ¶
func (p *ListImageStoresParams) SetId(v string)
func (*ListImageStoresParams) SetKeyword ¶
func (p *ListImageStoresParams) SetKeyword(v string)
func (*ListImageStoresParams) SetName ¶
func (p *ListImageStoresParams) SetName(v string)
func (*ListImageStoresParams) SetPage ¶
func (p *ListImageStoresParams) SetPage(v int)
func (*ListImageStoresParams) SetPagesize ¶
func (p *ListImageStoresParams) SetPagesize(v int)
func (*ListImageStoresParams) SetProtocol ¶
func (p *ListImageStoresParams) SetProtocol(v string)
func (*ListImageStoresParams) SetProvider ¶
func (p *ListImageStoresParams) SetProvider(v string)
func (*ListImageStoresParams) SetZoneid ¶
func (p *ListImageStoresParams) SetZoneid(v string)
type ListImageStoresResponse ¶
type ListImageStoresResponse struct { Count int `json:"count"` ImageStores []*ImageStore `json:"imagestore"` }
type ListInstanceGroupsParams ¶
type ListInstanceGroupsParams struct {
// contains filtered or unexported fields
}
func (*ListInstanceGroupsParams) SetAccount ¶
func (p *ListInstanceGroupsParams) SetAccount(v string)
func (*ListInstanceGroupsParams) SetDomainid ¶
func (p *ListInstanceGroupsParams) SetDomainid(v string)
func (*ListInstanceGroupsParams) SetId ¶
func (p *ListInstanceGroupsParams) SetId(v string)
func (*ListInstanceGroupsParams) SetIsrecursive ¶
func (p *ListInstanceGroupsParams) SetIsrecursive(v bool)
func (*ListInstanceGroupsParams) SetKeyword ¶
func (p *ListInstanceGroupsParams) SetKeyword(v string)
func (*ListInstanceGroupsParams) SetListall ¶
func (p *ListInstanceGroupsParams) SetListall(v bool)
func (*ListInstanceGroupsParams) SetName ¶
func (p *ListInstanceGroupsParams) SetName(v string)
func (*ListInstanceGroupsParams) SetPage ¶
func (p *ListInstanceGroupsParams) SetPage(v int)
func (*ListInstanceGroupsParams) SetPagesize ¶
func (p *ListInstanceGroupsParams) SetPagesize(v int)
func (*ListInstanceGroupsParams) SetProjectid ¶
func (p *ListInstanceGroupsParams) SetProjectid(v string)
type ListInstanceGroupsResponse ¶
type ListInstanceGroupsResponse struct { Count int `json:"count"` InstanceGroups []*InstanceGroup `json:"instancegroup"` }
type ListInternalLoadBalancerElementsParams ¶
type ListInternalLoadBalancerElementsParams struct {
// contains filtered or unexported fields
}
func (*ListInternalLoadBalancerElementsParams) SetEnabled ¶
func (p *ListInternalLoadBalancerElementsParams) SetEnabled(v bool)
func (*ListInternalLoadBalancerElementsParams) SetId ¶
func (p *ListInternalLoadBalancerElementsParams) SetId(v string)
func (*ListInternalLoadBalancerElementsParams) SetKeyword ¶
func (p *ListInternalLoadBalancerElementsParams) SetKeyword(v string)
func (*ListInternalLoadBalancerElementsParams) SetNspid ¶
func (p *ListInternalLoadBalancerElementsParams) SetNspid(v string)
func (*ListInternalLoadBalancerElementsParams) SetPage ¶
func (p *ListInternalLoadBalancerElementsParams) SetPage(v int)
func (*ListInternalLoadBalancerElementsParams) SetPagesize ¶
func (p *ListInternalLoadBalancerElementsParams) SetPagesize(v int)
type ListInternalLoadBalancerElementsResponse ¶
type ListInternalLoadBalancerElementsResponse struct { Count int `json:"count"` InternalLoadBalancerElements []*InternalLoadBalancerElement `json:"internalloadbalancerelement"` }
type ListInternalLoadBalancerVMsParams ¶
type ListInternalLoadBalancerVMsParams struct {
// contains filtered or unexported fields
}
func (*ListInternalLoadBalancerVMsParams) SetAccount ¶
func (p *ListInternalLoadBalancerVMsParams) SetAccount(v string)
func (*ListInternalLoadBalancerVMsParams) SetDomainid ¶
func (p *ListInternalLoadBalancerVMsParams) SetDomainid(v string)
func (*ListInternalLoadBalancerVMsParams) SetForvpc ¶
func (p *ListInternalLoadBalancerVMsParams) SetForvpc(v bool)
func (*ListInternalLoadBalancerVMsParams) SetHostid ¶
func (p *ListInternalLoadBalancerVMsParams) SetHostid(v string)
func (*ListInternalLoadBalancerVMsParams) SetId ¶
func (p *ListInternalLoadBalancerVMsParams) SetId(v string)
func (*ListInternalLoadBalancerVMsParams) SetIsrecursive ¶
func (p *ListInternalLoadBalancerVMsParams) SetIsrecursive(v bool)
func (*ListInternalLoadBalancerVMsParams) SetKeyword ¶
func (p *ListInternalLoadBalancerVMsParams) SetKeyword(v string)
func (*ListInternalLoadBalancerVMsParams) SetListall ¶
func (p *ListInternalLoadBalancerVMsParams) SetListall(v bool)
func (*ListInternalLoadBalancerVMsParams) SetName ¶
func (p *ListInternalLoadBalancerVMsParams) SetName(v string)
func (*ListInternalLoadBalancerVMsParams) SetNetworkid ¶
func (p *ListInternalLoadBalancerVMsParams) SetNetworkid(v string)
func (*ListInternalLoadBalancerVMsParams) SetPage ¶
func (p *ListInternalLoadBalancerVMsParams) SetPage(v int)
func (*ListInternalLoadBalancerVMsParams) SetPagesize ¶
func (p *ListInternalLoadBalancerVMsParams) SetPagesize(v int)
func (*ListInternalLoadBalancerVMsParams) SetPodid ¶
func (p *ListInternalLoadBalancerVMsParams) SetPodid(v string)
func (*ListInternalLoadBalancerVMsParams) SetProjectid ¶
func (p *ListInternalLoadBalancerVMsParams) SetProjectid(v string)
func (*ListInternalLoadBalancerVMsParams) SetState ¶
func (p *ListInternalLoadBalancerVMsParams) SetState(v string)
func (*ListInternalLoadBalancerVMsParams) SetVpcid ¶
func (p *ListInternalLoadBalancerVMsParams) SetVpcid(v string)
func (*ListInternalLoadBalancerVMsParams) SetZoneid ¶
func (p *ListInternalLoadBalancerVMsParams) SetZoneid(v string)
type ListInternalLoadBalancerVMsResponse ¶
type ListInternalLoadBalancerVMsResponse struct { Count int `json:"count"` InternalLoadBalancerVMs []*InternalLoadBalancerVM `json:"internalloadbalancervm"` }
type ListIpForwardingRulesParams ¶
type ListIpForwardingRulesParams struct {
// contains filtered or unexported fields
}
func (*ListIpForwardingRulesParams) SetAccount ¶
func (p *ListIpForwardingRulesParams) SetAccount(v string)
func (*ListIpForwardingRulesParams) SetDomainid ¶
func (p *ListIpForwardingRulesParams) SetDomainid(v string)
func (*ListIpForwardingRulesParams) SetId ¶
func (p *ListIpForwardingRulesParams) SetId(v string)
func (*ListIpForwardingRulesParams) SetIpaddressid ¶
func (p *ListIpForwardingRulesParams) SetIpaddressid(v string)
func (*ListIpForwardingRulesParams) SetIsrecursive ¶
func (p *ListIpForwardingRulesParams) SetIsrecursive(v bool)
func (*ListIpForwardingRulesParams) SetKeyword ¶
func (p *ListIpForwardingRulesParams) SetKeyword(v string)
func (*ListIpForwardingRulesParams) SetListall ¶
func (p *ListIpForwardingRulesParams) SetListall(v bool)
func (*ListIpForwardingRulesParams) SetPage ¶
func (p *ListIpForwardingRulesParams) SetPage(v int)
func (*ListIpForwardingRulesParams) SetPagesize ¶
func (p *ListIpForwardingRulesParams) SetPagesize(v int)
func (*ListIpForwardingRulesParams) SetProjectid ¶
func (p *ListIpForwardingRulesParams) SetProjectid(v string)
func (*ListIpForwardingRulesParams) SetVirtualmachineid ¶
func (p *ListIpForwardingRulesParams) SetVirtualmachineid(v string)
type ListIpForwardingRulesResponse ¶
type ListIpForwardingRulesResponse struct { Count int `json:"count"` IpForwardingRules []*IpForwardingRule `json:"ipforwardingrule"` }
type ListIsoPermissionsParams ¶
type ListIsoPermissionsParams struct {
// contains filtered or unexported fields
}
func (*ListIsoPermissionsParams) SetId ¶
func (p *ListIsoPermissionsParams) SetId(v string)
type ListIsoPermissionsResponse ¶
type ListIsoPermissionsResponse struct { Count int `json:"count"` IsoPermissions []*IsoPermission `json:"isopermission"` }
type ListIsosParams ¶
type ListIsosParams struct {
// contains filtered or unexported fields
}
func (*ListIsosParams) SetAccount ¶
func (p *ListIsosParams) SetAccount(v string)
func (*ListIsosParams) SetBootable ¶
func (p *ListIsosParams) SetBootable(v bool)
func (*ListIsosParams) SetDomainid ¶
func (p *ListIsosParams) SetDomainid(v string)
func (*ListIsosParams) SetHypervisor ¶
func (p *ListIsosParams) SetHypervisor(v string)
func (*ListIsosParams) SetId ¶
func (p *ListIsosParams) SetId(v string)
func (*ListIsosParams) SetIsofilter ¶
func (p *ListIsosParams) SetIsofilter(v string)
func (*ListIsosParams) SetIspublic ¶
func (p *ListIsosParams) SetIspublic(v bool)
func (*ListIsosParams) SetIsready ¶
func (p *ListIsosParams) SetIsready(v bool)
func (*ListIsosParams) SetIsrecursive ¶
func (p *ListIsosParams) SetIsrecursive(v bool)
func (*ListIsosParams) SetKeyword ¶
func (p *ListIsosParams) SetKeyword(v string)
func (*ListIsosParams) SetListall ¶
func (p *ListIsosParams) SetListall(v bool)
func (*ListIsosParams) SetName ¶
func (p *ListIsosParams) SetName(v string)
func (*ListIsosParams) SetPage ¶
func (p *ListIsosParams) SetPage(v int)
func (*ListIsosParams) SetPagesize ¶
func (p *ListIsosParams) SetPagesize(v int)
func (*ListIsosParams) SetProjectid ¶
func (p *ListIsosParams) SetProjectid(v string)
func (*ListIsosParams) SetShowremoved ¶
func (p *ListIsosParams) SetShowremoved(v bool)
func (*ListIsosParams) SetTags ¶
func (p *ListIsosParams) SetTags(v map[string]string)
func (*ListIsosParams) SetZoneid ¶
func (p *ListIsosParams) SetZoneid(v string)
type ListIsosResponse ¶
type ListLBHealthCheckPoliciesParams ¶
type ListLBHealthCheckPoliciesParams struct {
// contains filtered or unexported fields
}
func (*ListLBHealthCheckPoliciesParams) SetKeyword ¶
func (p *ListLBHealthCheckPoliciesParams) SetKeyword(v string)
func (*ListLBHealthCheckPoliciesParams) SetLbruleid ¶
func (p *ListLBHealthCheckPoliciesParams) SetLbruleid(v string)
func (*ListLBHealthCheckPoliciesParams) SetPage ¶
func (p *ListLBHealthCheckPoliciesParams) SetPage(v int)
func (*ListLBHealthCheckPoliciesParams) SetPagesize ¶
func (p *ListLBHealthCheckPoliciesParams) SetPagesize(v int)
type ListLBHealthCheckPoliciesResponse ¶
type ListLBHealthCheckPoliciesResponse struct { Count int `json:"count"` LBHealthCheckPolicies []*LBHealthCheckPolicy `json:"lbhealthcheckpolicy"` }
type ListLBStickinessPoliciesParams ¶
type ListLBStickinessPoliciesParams struct {
// contains filtered or unexported fields
}
func (*ListLBStickinessPoliciesParams) SetKeyword ¶
func (p *ListLBStickinessPoliciesParams) SetKeyword(v string)
func (*ListLBStickinessPoliciesParams) SetLbruleid ¶
func (p *ListLBStickinessPoliciesParams) SetLbruleid(v string)
func (*ListLBStickinessPoliciesParams) SetPage ¶
func (p *ListLBStickinessPoliciesParams) SetPage(v int)
func (*ListLBStickinessPoliciesParams) SetPagesize ¶
func (p *ListLBStickinessPoliciesParams) SetPagesize(v int)
type ListLBStickinessPoliciesResponse ¶
type ListLBStickinessPoliciesResponse struct { Count int `json:"count"` LBStickinessPolicies []*LBStickinessPolicy `json:"lbstickinesspolicy"` }
type ListLdapConfigurationsParams ¶
type ListLdapConfigurationsParams struct {
// contains filtered or unexported fields
}
func (*ListLdapConfigurationsParams) SetHostname ¶
func (p *ListLdapConfigurationsParams) SetHostname(v string)
func (*ListLdapConfigurationsParams) SetKeyword ¶
func (p *ListLdapConfigurationsParams) SetKeyword(v string)
func (*ListLdapConfigurationsParams) SetPage ¶
func (p *ListLdapConfigurationsParams) SetPage(v int)
func (*ListLdapConfigurationsParams) SetPagesize ¶
func (p *ListLdapConfigurationsParams) SetPagesize(v int)
func (*ListLdapConfigurationsParams) SetPort ¶
func (p *ListLdapConfigurationsParams) SetPort(v int)
type ListLdapConfigurationsResponse ¶
type ListLdapConfigurationsResponse struct { Count int `json:"count"` LdapConfigurations []*LdapConfiguration `json:"ldapconfiguration"` }
type ListLdapUsersParams ¶
type ListLdapUsersParams struct {
// contains filtered or unexported fields
}
func (*ListLdapUsersParams) SetKeyword ¶
func (p *ListLdapUsersParams) SetKeyword(v string)
func (*ListLdapUsersParams) SetListtype ¶
func (p *ListLdapUsersParams) SetListtype(v string)
func (*ListLdapUsersParams) SetPage ¶
func (p *ListLdapUsersParams) SetPage(v int)
func (*ListLdapUsersParams) SetPagesize ¶
func (p *ListLdapUsersParams) SetPagesize(v int)
type ListLdapUsersResponse ¶
type ListLoadBalancerRuleInstancesParams ¶
type ListLoadBalancerRuleInstancesParams struct {
// contains filtered or unexported fields
}
func (*ListLoadBalancerRuleInstancesParams) SetApplied ¶
func (p *ListLoadBalancerRuleInstancesParams) SetApplied(v bool)
func (*ListLoadBalancerRuleInstancesParams) SetId ¶
func (p *ListLoadBalancerRuleInstancesParams) SetId(v string)
func (*ListLoadBalancerRuleInstancesParams) SetKeyword ¶
func (p *ListLoadBalancerRuleInstancesParams) SetKeyword(v string)
func (*ListLoadBalancerRuleInstancesParams) SetPage ¶
func (p *ListLoadBalancerRuleInstancesParams) SetPage(v int)
func (*ListLoadBalancerRuleInstancesParams) SetPagesize ¶
func (p *ListLoadBalancerRuleInstancesParams) SetPagesize(v int)
type ListLoadBalancerRuleInstancesResponse ¶
type ListLoadBalancerRuleInstancesResponse struct { Count int `json:"count"` LoadBalancerRuleInstances []*LoadBalancerRuleInstance `json:"loadbalancerruleinstance"` }
type ListLoadBalancerRulesParams ¶
type ListLoadBalancerRulesParams struct {
// contains filtered or unexported fields
}
func (*ListLoadBalancerRulesParams) SetAccount ¶
func (p *ListLoadBalancerRulesParams) SetAccount(v string)
func (*ListLoadBalancerRulesParams) SetDomainid ¶
func (p *ListLoadBalancerRulesParams) SetDomainid(v string)
func (*ListLoadBalancerRulesParams) SetId ¶
func (p *ListLoadBalancerRulesParams) SetId(v string)
func (*ListLoadBalancerRulesParams) SetIsrecursive ¶
func (p *ListLoadBalancerRulesParams) SetIsrecursive(v bool)
func (*ListLoadBalancerRulesParams) SetKeyword ¶
func (p *ListLoadBalancerRulesParams) SetKeyword(v string)
func (*ListLoadBalancerRulesParams) SetListall ¶
func (p *ListLoadBalancerRulesParams) SetListall(v bool)
func (*ListLoadBalancerRulesParams) SetName ¶
func (p *ListLoadBalancerRulesParams) SetName(v string)
func (*ListLoadBalancerRulesParams) SetNetworkid ¶
func (p *ListLoadBalancerRulesParams) SetNetworkid(v string)
func (*ListLoadBalancerRulesParams) SetPage ¶
func (p *ListLoadBalancerRulesParams) SetPage(v int)
func (*ListLoadBalancerRulesParams) SetPagesize ¶
func (p *ListLoadBalancerRulesParams) SetPagesize(v int)
func (*ListLoadBalancerRulesParams) SetProjectid ¶
func (p *ListLoadBalancerRulesParams) SetProjectid(v string)
func (*ListLoadBalancerRulesParams) SetPublicipid ¶
func (p *ListLoadBalancerRulesParams) SetPublicipid(v string)
func (*ListLoadBalancerRulesParams) SetTags ¶
func (p *ListLoadBalancerRulesParams) SetTags(v map[string]string)
func (*ListLoadBalancerRulesParams) SetVirtualmachineid ¶
func (p *ListLoadBalancerRulesParams) SetVirtualmachineid(v string)
func (*ListLoadBalancerRulesParams) SetZoneid ¶
func (p *ListLoadBalancerRulesParams) SetZoneid(v string)
type ListLoadBalancerRulesResponse ¶
type ListLoadBalancerRulesResponse struct { Count int `json:"count"` LoadBalancerRules []*LoadBalancerRule `json:"loadbalancerrule"` }
type ListLoadBalancersParams ¶
type ListLoadBalancersParams struct {
// contains filtered or unexported fields
}
func (*ListLoadBalancersParams) SetAccount ¶
func (p *ListLoadBalancersParams) SetAccount(v string)
func (*ListLoadBalancersParams) SetDomainid ¶
func (p *ListLoadBalancersParams) SetDomainid(v string)
func (*ListLoadBalancersParams) SetId ¶
func (p *ListLoadBalancersParams) SetId(v string)
func (*ListLoadBalancersParams) SetIsrecursive ¶
func (p *ListLoadBalancersParams) SetIsrecursive(v bool)
func (*ListLoadBalancersParams) SetKeyword ¶
func (p *ListLoadBalancersParams) SetKeyword(v string)
func (*ListLoadBalancersParams) SetListall ¶
func (p *ListLoadBalancersParams) SetListall(v bool)
func (*ListLoadBalancersParams) SetName ¶
func (p *ListLoadBalancersParams) SetName(v string)
func (*ListLoadBalancersParams) SetNetworkid ¶
func (p *ListLoadBalancersParams) SetNetworkid(v string)
func (*ListLoadBalancersParams) SetPage ¶
func (p *ListLoadBalancersParams) SetPage(v int)
func (*ListLoadBalancersParams) SetPagesize ¶
func (p *ListLoadBalancersParams) SetPagesize(v int)
func (*ListLoadBalancersParams) SetProjectid ¶
func (p *ListLoadBalancersParams) SetProjectid(v string)
func (*ListLoadBalancersParams) SetScheme ¶
func (p *ListLoadBalancersParams) SetScheme(v string)
func (*ListLoadBalancersParams) SetSourceipaddress ¶
func (p *ListLoadBalancersParams) SetSourceipaddress(v string)
func (*ListLoadBalancersParams) SetSourceipaddressnetworkid ¶
func (p *ListLoadBalancersParams) SetSourceipaddressnetworkid(v string)
func (*ListLoadBalancersParams) SetTags ¶
func (p *ListLoadBalancersParams) SetTags(v map[string]string)
type ListLoadBalancersResponse ¶
type ListLoadBalancersResponse struct { Count int `json:"count"` LoadBalancers []*LoadBalancer `json:"loadbalancer"` }
type ListNetscalerLoadBalancerNetworksParams ¶
type ListNetscalerLoadBalancerNetworksParams struct {
// contains filtered or unexported fields
}
func (*ListNetscalerLoadBalancerNetworksParams) SetKeyword ¶
func (p *ListNetscalerLoadBalancerNetworksParams) SetKeyword(v string)
func (*ListNetscalerLoadBalancerNetworksParams) SetLbdeviceid ¶
func (p *ListNetscalerLoadBalancerNetworksParams) SetLbdeviceid(v string)
func (*ListNetscalerLoadBalancerNetworksParams) SetPage ¶
func (p *ListNetscalerLoadBalancerNetworksParams) SetPage(v int)
func (*ListNetscalerLoadBalancerNetworksParams) SetPagesize ¶
func (p *ListNetscalerLoadBalancerNetworksParams) SetPagesize(v int)
type ListNetscalerLoadBalancerNetworksResponse ¶
type ListNetscalerLoadBalancerNetworksResponse struct { Count int `json:"count"` NetscalerLoadBalancerNetworks []*NetscalerLoadBalancerNetwork `json:"netscalerloadbalancernetwork"` }
type ListNetscalerLoadBalancersParams ¶
type ListNetscalerLoadBalancersParams struct {
// contains filtered or unexported fields
}
func (*ListNetscalerLoadBalancersParams) SetKeyword ¶
func (p *ListNetscalerLoadBalancersParams) SetKeyword(v string)
func (*ListNetscalerLoadBalancersParams) SetLbdeviceid ¶
func (p *ListNetscalerLoadBalancersParams) SetLbdeviceid(v string)
func (*ListNetscalerLoadBalancersParams) SetPage ¶
func (p *ListNetscalerLoadBalancersParams) SetPage(v int)
func (*ListNetscalerLoadBalancersParams) SetPagesize ¶
func (p *ListNetscalerLoadBalancersParams) SetPagesize(v int)
func (*ListNetscalerLoadBalancersParams) SetPhysicalnetworkid ¶
func (p *ListNetscalerLoadBalancersParams) SetPhysicalnetworkid(v string)
type ListNetscalerLoadBalancersResponse ¶
type ListNetscalerLoadBalancersResponse struct { Count int `json:"count"` NetscalerLoadBalancers []*NetscalerLoadBalancer `json:"netscalerloadbalancer"` }
type ListNetworkACLListsParams ¶
type ListNetworkACLListsParams struct {
// contains filtered or unexported fields
}
func (*ListNetworkACLListsParams) SetAccount ¶
func (p *ListNetworkACLListsParams) SetAccount(v string)
func (*ListNetworkACLListsParams) SetDomainid ¶
func (p *ListNetworkACLListsParams) SetDomainid(v string)
func (*ListNetworkACLListsParams) SetId ¶
func (p *ListNetworkACLListsParams) SetId(v string)
func (*ListNetworkACLListsParams) SetIsrecursive ¶
func (p *ListNetworkACLListsParams) SetIsrecursive(v bool)
func (*ListNetworkACLListsParams) SetKeyword ¶
func (p *ListNetworkACLListsParams) SetKeyword(v string)
func (*ListNetworkACLListsParams) SetListall ¶
func (p *ListNetworkACLListsParams) SetListall(v bool)
func (*ListNetworkACLListsParams) SetName ¶
func (p *ListNetworkACLListsParams) SetName(v string)
func (*ListNetworkACLListsParams) SetNetworkid ¶
func (p *ListNetworkACLListsParams) SetNetworkid(v string)
func (*ListNetworkACLListsParams) SetPage ¶
func (p *ListNetworkACLListsParams) SetPage(v int)
func (*ListNetworkACLListsParams) SetPagesize ¶
func (p *ListNetworkACLListsParams) SetPagesize(v int)
func (*ListNetworkACLListsParams) SetProjectid ¶
func (p *ListNetworkACLListsParams) SetProjectid(v string)
func (*ListNetworkACLListsParams) SetVpcid ¶
func (p *ListNetworkACLListsParams) SetVpcid(v string)
type ListNetworkACLListsResponse ¶
type ListNetworkACLListsResponse struct { Count int `json:"count"` NetworkACLLists []*NetworkACLList `json:"networkacllist"` }
type ListNetworkACLsParams ¶
type ListNetworkACLsParams struct {
// contains filtered or unexported fields
}
func (*ListNetworkACLsParams) SetAccount ¶
func (p *ListNetworkACLsParams) SetAccount(v string)
func (*ListNetworkACLsParams) SetAclid ¶
func (p *ListNetworkACLsParams) SetAclid(v string)
func (*ListNetworkACLsParams) SetAction ¶
func (p *ListNetworkACLsParams) SetAction(v string)
func (*ListNetworkACLsParams) SetDomainid ¶
func (p *ListNetworkACLsParams) SetDomainid(v string)
func (*ListNetworkACLsParams) SetId ¶
func (p *ListNetworkACLsParams) SetId(v string)
func (*ListNetworkACLsParams) SetIsrecursive ¶
func (p *ListNetworkACLsParams) SetIsrecursive(v bool)
func (*ListNetworkACLsParams) SetKeyword ¶
func (p *ListNetworkACLsParams) SetKeyword(v string)
func (*ListNetworkACLsParams) SetListall ¶
func (p *ListNetworkACLsParams) SetListall(v bool)
func (*ListNetworkACLsParams) SetNetworkid ¶
func (p *ListNetworkACLsParams) SetNetworkid(v string)
func (*ListNetworkACLsParams) SetPage ¶
func (p *ListNetworkACLsParams) SetPage(v int)
func (*ListNetworkACLsParams) SetPagesize ¶
func (p *ListNetworkACLsParams) SetPagesize(v int)
func (*ListNetworkACLsParams) SetProjectid ¶
func (p *ListNetworkACLsParams) SetProjectid(v string)
func (*ListNetworkACLsParams) SetProtocol ¶
func (p *ListNetworkACLsParams) SetProtocol(v string)
func (*ListNetworkACLsParams) SetTags ¶
func (p *ListNetworkACLsParams) SetTags(v map[string]string)
func (*ListNetworkACLsParams) SetTraffictype ¶
func (p *ListNetworkACLsParams) SetTraffictype(v string)
type ListNetworkACLsResponse ¶
type ListNetworkACLsResponse struct { Count int `json:"count"` NetworkACLs []*NetworkACL `json:"networkacl"` }
type ListNetworkDeviceParams ¶
type ListNetworkDeviceParams struct {
// contains filtered or unexported fields
}
func (*ListNetworkDeviceParams) SetKeyword ¶
func (p *ListNetworkDeviceParams) SetKeyword(v string)
func (*ListNetworkDeviceParams) SetNetworkdeviceparameterlist ¶
func (p *ListNetworkDeviceParams) SetNetworkdeviceparameterlist(v map[string]string)
func (*ListNetworkDeviceParams) SetNetworkdevicetype ¶
func (p *ListNetworkDeviceParams) SetNetworkdevicetype(v string)
func (*ListNetworkDeviceParams) SetPage ¶
func (p *ListNetworkDeviceParams) SetPage(v int)
func (*ListNetworkDeviceParams) SetPagesize ¶
func (p *ListNetworkDeviceParams) SetPagesize(v int)
type ListNetworkDeviceResponse ¶
type ListNetworkDeviceResponse struct { Count int `json:"count"` NetworkDevice []*NetworkDevice `json:"networkdevice"` }
type ListNetworkIsolationMethodsParams ¶
type ListNetworkIsolationMethodsParams struct {
// contains filtered or unexported fields
}
func (*ListNetworkIsolationMethodsParams) SetKeyword ¶
func (p *ListNetworkIsolationMethodsParams) SetKeyword(v string)
func (*ListNetworkIsolationMethodsParams) SetPage ¶
func (p *ListNetworkIsolationMethodsParams) SetPage(v int)
func (*ListNetworkIsolationMethodsParams) SetPagesize ¶
func (p *ListNetworkIsolationMethodsParams) SetPagesize(v int)
type ListNetworkIsolationMethodsResponse ¶
type ListNetworkIsolationMethodsResponse struct { Count int `json:"count"` NetworkIsolationMethods []*NetworkIsolationMethod `json:"networkisolationmethod"` }
type ListNetworkOfferingsParams ¶
type ListNetworkOfferingsParams struct {
// contains filtered or unexported fields
}
func (*ListNetworkOfferingsParams) SetAvailability ¶
func (p *ListNetworkOfferingsParams) SetAvailability(v string)
func (*ListNetworkOfferingsParams) SetDisplaytext ¶
func (p *ListNetworkOfferingsParams) SetDisplaytext(v string)
func (*ListNetworkOfferingsParams) SetForvpc ¶
func (p *ListNetworkOfferingsParams) SetForvpc(v bool)
func (*ListNetworkOfferingsParams) SetGuestiptype ¶
func (p *ListNetworkOfferingsParams) SetGuestiptype(v string)
func (*ListNetworkOfferingsParams) SetId ¶
func (p *ListNetworkOfferingsParams) SetId(v string)
func (*ListNetworkOfferingsParams) SetIsdefault ¶
func (p *ListNetworkOfferingsParams) SetIsdefault(v bool)
func (*ListNetworkOfferingsParams) SetIstagged ¶
func (p *ListNetworkOfferingsParams) SetIstagged(v bool)
func (*ListNetworkOfferingsParams) SetKeyword ¶
func (p *ListNetworkOfferingsParams) SetKeyword(v string)
func (*ListNetworkOfferingsParams) SetName ¶
func (p *ListNetworkOfferingsParams) SetName(v string)
func (*ListNetworkOfferingsParams) SetNetworkid ¶
func (p *ListNetworkOfferingsParams) SetNetworkid(v string)
func (*ListNetworkOfferingsParams) SetPage ¶
func (p *ListNetworkOfferingsParams) SetPage(v int)
func (*ListNetworkOfferingsParams) SetPagesize ¶
func (p *ListNetworkOfferingsParams) SetPagesize(v int)
func (*ListNetworkOfferingsParams) SetSourcenatsupported ¶
func (p *ListNetworkOfferingsParams) SetSourcenatsupported(v bool)
func (*ListNetworkOfferingsParams) SetSpecifyipranges ¶
func (p *ListNetworkOfferingsParams) SetSpecifyipranges(v bool)
func (*ListNetworkOfferingsParams) SetSpecifyvlan ¶
func (p *ListNetworkOfferingsParams) SetSpecifyvlan(v bool)
func (*ListNetworkOfferingsParams) SetState ¶
func (p *ListNetworkOfferingsParams) SetState(v string)
func (*ListNetworkOfferingsParams) SetSupportedservices ¶
func (p *ListNetworkOfferingsParams) SetSupportedservices(v []string)
func (*ListNetworkOfferingsParams) SetTags ¶
func (p *ListNetworkOfferingsParams) SetTags(v string)
func (*ListNetworkOfferingsParams) SetTraffictype ¶
func (p *ListNetworkOfferingsParams) SetTraffictype(v string)
func (*ListNetworkOfferingsParams) SetZoneid ¶
func (p *ListNetworkOfferingsParams) SetZoneid(v string)
type ListNetworkOfferingsResponse ¶
type ListNetworkOfferingsResponse struct { Count int `json:"count"` NetworkOfferings []*NetworkOffering `json:"networkoffering"` }
type ListNetworkServiceProvidersParams ¶
type ListNetworkServiceProvidersParams struct {
// contains filtered or unexported fields
}
func (*ListNetworkServiceProvidersParams) SetKeyword ¶
func (p *ListNetworkServiceProvidersParams) SetKeyword(v string)
func (*ListNetworkServiceProvidersParams) SetName ¶
func (p *ListNetworkServiceProvidersParams) SetName(v string)
func (*ListNetworkServiceProvidersParams) SetPage ¶
func (p *ListNetworkServiceProvidersParams) SetPage(v int)
func (*ListNetworkServiceProvidersParams) SetPagesize ¶
func (p *ListNetworkServiceProvidersParams) SetPagesize(v int)
func (*ListNetworkServiceProvidersParams) SetPhysicalnetworkid ¶
func (p *ListNetworkServiceProvidersParams) SetPhysicalnetworkid(v string)
func (*ListNetworkServiceProvidersParams) SetState ¶
func (p *ListNetworkServiceProvidersParams) SetState(v string)
type ListNetworkServiceProvidersResponse ¶
type ListNetworkServiceProvidersResponse struct { Count int `json:"count"` NetworkServiceProviders []*NetworkServiceProvider `json:"networkserviceprovider"` }
type ListNetworksParams ¶
type ListNetworksParams struct {
// contains filtered or unexported fields
}
func (*ListNetworksParams) SetAccount ¶
func (p *ListNetworksParams) SetAccount(v string)
func (*ListNetworksParams) SetAcltype ¶
func (p *ListNetworksParams) SetAcltype(v string)
func (*ListNetworksParams) SetCanusefordeploy ¶
func (p *ListNetworksParams) SetCanusefordeploy(v bool)
func (*ListNetworksParams) SetDomainid ¶
func (p *ListNetworksParams) SetDomainid(v string)
func (*ListNetworksParams) SetForvpc ¶
func (p *ListNetworksParams) SetForvpc(v bool)
func (*ListNetworksParams) SetId ¶
func (p *ListNetworksParams) SetId(v string)
func (*ListNetworksParams) SetIsrecursive ¶
func (p *ListNetworksParams) SetIsrecursive(v bool)
func (*ListNetworksParams) SetIssystem ¶
func (p *ListNetworksParams) SetIssystem(v bool)
func (*ListNetworksParams) SetKeyword ¶
func (p *ListNetworksParams) SetKeyword(v string)
func (*ListNetworksParams) SetListall ¶
func (p *ListNetworksParams) SetListall(v bool)
func (*ListNetworksParams) SetPage ¶
func (p *ListNetworksParams) SetPage(v int)
func (*ListNetworksParams) SetPagesize ¶
func (p *ListNetworksParams) SetPagesize(v int)
func (*ListNetworksParams) SetPhysicalnetworkid ¶
func (p *ListNetworksParams) SetPhysicalnetworkid(v string)
func (*ListNetworksParams) SetProjectid ¶
func (p *ListNetworksParams) SetProjectid(v string)
func (*ListNetworksParams) SetRestartrequired ¶
func (p *ListNetworksParams) SetRestartrequired(v bool)
func (*ListNetworksParams) SetSpecifyipranges ¶
func (p *ListNetworksParams) SetSpecifyipranges(v bool)
func (*ListNetworksParams) SetSupportedservices ¶
func (p *ListNetworksParams) SetSupportedservices(v []string)
func (*ListNetworksParams) SetTags ¶
func (p *ListNetworksParams) SetTags(v map[string]string)
func (*ListNetworksParams) SetTraffictype ¶
func (p *ListNetworksParams) SetTraffictype(v string)
func (*ListNetworksParams) SetType ¶
func (p *ListNetworksParams) SetType(v string)
func (*ListNetworksParams) SetVpcid ¶
func (p *ListNetworksParams) SetVpcid(v string)
func (*ListNetworksParams) SetZoneid ¶
func (p *ListNetworksParams) SetZoneid(v string)
type ListNetworksResponse ¶
type ListNiciraNvpDeviceNetworksParams ¶
type ListNiciraNvpDeviceNetworksParams struct {
// contains filtered or unexported fields
}
func (*ListNiciraNvpDeviceNetworksParams) SetKeyword ¶
func (p *ListNiciraNvpDeviceNetworksParams) SetKeyword(v string)
func (*ListNiciraNvpDeviceNetworksParams) SetNvpdeviceid ¶
func (p *ListNiciraNvpDeviceNetworksParams) SetNvpdeviceid(v string)
func (*ListNiciraNvpDeviceNetworksParams) SetPage ¶
func (p *ListNiciraNvpDeviceNetworksParams) SetPage(v int)
func (*ListNiciraNvpDeviceNetworksParams) SetPagesize ¶
func (p *ListNiciraNvpDeviceNetworksParams) SetPagesize(v int)
type ListNiciraNvpDeviceNetworksResponse ¶
type ListNiciraNvpDeviceNetworksResponse struct { Count int `json:"count"` NiciraNvpDeviceNetworks []*NiciraNvpDeviceNetwork `json:"niciranvpdevicenetwork"` }
type ListNiciraNvpDevicesParams ¶
type ListNiciraNvpDevicesParams struct {
// contains filtered or unexported fields
}
func (*ListNiciraNvpDevicesParams) SetKeyword ¶
func (p *ListNiciraNvpDevicesParams) SetKeyword(v string)
func (*ListNiciraNvpDevicesParams) SetNvpdeviceid ¶
func (p *ListNiciraNvpDevicesParams) SetNvpdeviceid(v string)
func (*ListNiciraNvpDevicesParams) SetPage ¶
func (p *ListNiciraNvpDevicesParams) SetPage(v int)
func (*ListNiciraNvpDevicesParams) SetPagesize ¶
func (p *ListNiciraNvpDevicesParams) SetPagesize(v int)
func (*ListNiciraNvpDevicesParams) SetPhysicalnetworkid ¶
func (p *ListNiciraNvpDevicesParams) SetPhysicalnetworkid(v string)
type ListNiciraNvpDevicesResponse ¶
type ListNiciraNvpDevicesResponse struct { Count int `json:"count"` NiciraNvpDevices []*NiciraNvpDevice `json:"niciranvpdevice"` }
type ListNicsParams ¶
type ListNicsParams struct {
// contains filtered or unexported fields
}
func (*ListNicsParams) SetKeyword ¶
func (p *ListNicsParams) SetKeyword(v string)
func (*ListNicsParams) SetNicid ¶
func (p *ListNicsParams) SetNicid(v string)
func (*ListNicsParams) SetPage ¶
func (p *ListNicsParams) SetPage(v int)
func (*ListNicsParams) SetPagesize ¶
func (p *ListNicsParams) SetPagesize(v int)
func (*ListNicsParams) SetVirtualmachineid ¶
func (p *ListNicsParams) SetVirtualmachineid(v string)
type ListNicsResponse ¶
type ListOsCategoriesParams ¶
type ListOsCategoriesParams struct {
// contains filtered or unexported fields
}
func (*ListOsCategoriesParams) SetId ¶
func (p *ListOsCategoriesParams) SetId(v string)
func (*ListOsCategoriesParams) SetKeyword ¶
func (p *ListOsCategoriesParams) SetKeyword(v string)
func (*ListOsCategoriesParams) SetName ¶
func (p *ListOsCategoriesParams) SetName(v string)
func (*ListOsCategoriesParams) SetPage ¶
func (p *ListOsCategoriesParams) SetPage(v int)
func (*ListOsCategoriesParams) SetPagesize ¶
func (p *ListOsCategoriesParams) SetPagesize(v int)
type ListOsCategoriesResponse ¶
type ListOsCategoriesResponse struct { Count int `json:"count"` OsCategories []*OsCategory `json:"oscategory"` }
type ListOsTypesParams ¶
type ListOsTypesParams struct {
// contains filtered or unexported fields
}
func (*ListOsTypesParams) SetDescription ¶
func (p *ListOsTypesParams) SetDescription(v string)
func (*ListOsTypesParams) SetId ¶
func (p *ListOsTypesParams) SetId(v string)
func (*ListOsTypesParams) SetKeyword ¶
func (p *ListOsTypesParams) SetKeyword(v string)
func (*ListOsTypesParams) SetOscategoryid ¶
func (p *ListOsTypesParams) SetOscategoryid(v string)
func (*ListOsTypesParams) SetPage ¶
func (p *ListOsTypesParams) SetPage(v int)
func (*ListOsTypesParams) SetPagesize ¶
func (p *ListOsTypesParams) SetPagesize(v int)
type ListOsTypesResponse ¶
type ListPaloAltoFirewallNetworksParams ¶
type ListPaloAltoFirewallNetworksParams struct {
// contains filtered or unexported fields
}
func (*ListPaloAltoFirewallNetworksParams) SetKeyword ¶
func (p *ListPaloAltoFirewallNetworksParams) SetKeyword(v string)
func (*ListPaloAltoFirewallNetworksParams) SetLbdeviceid ¶
func (p *ListPaloAltoFirewallNetworksParams) SetLbdeviceid(v string)
func (*ListPaloAltoFirewallNetworksParams) SetPage ¶
func (p *ListPaloAltoFirewallNetworksParams) SetPage(v int)
func (*ListPaloAltoFirewallNetworksParams) SetPagesize ¶
func (p *ListPaloAltoFirewallNetworksParams) SetPagesize(v int)
type ListPaloAltoFirewallNetworksResponse ¶
type ListPaloAltoFirewallNetworksResponse struct { Count int `json:"count"` PaloAltoFirewallNetworks []*PaloAltoFirewallNetwork `json:"paloaltofirewallnetwork"` }
type ListPaloAltoFirewallsParams ¶
type ListPaloAltoFirewallsParams struct {
// contains filtered or unexported fields
}
func (*ListPaloAltoFirewallsParams) SetFwdeviceid ¶
func (p *ListPaloAltoFirewallsParams) SetFwdeviceid(v string)
func (*ListPaloAltoFirewallsParams) SetKeyword ¶
func (p *ListPaloAltoFirewallsParams) SetKeyword(v string)
func (*ListPaloAltoFirewallsParams) SetPage ¶
func (p *ListPaloAltoFirewallsParams) SetPage(v int)
func (*ListPaloAltoFirewallsParams) SetPagesize ¶
func (p *ListPaloAltoFirewallsParams) SetPagesize(v int)
func (*ListPaloAltoFirewallsParams) SetPhysicalnetworkid ¶
func (p *ListPaloAltoFirewallsParams) SetPhysicalnetworkid(v string)
type ListPaloAltoFirewallsResponse ¶
type ListPaloAltoFirewallsResponse struct { Count int `json:"count"` PaloAltoFirewalls []*PaloAltoFirewall `json:"paloaltofirewall"` }
type ListPhysicalNetworksParams ¶
type ListPhysicalNetworksParams struct {
// contains filtered or unexported fields
}
func (*ListPhysicalNetworksParams) SetId ¶
func (p *ListPhysicalNetworksParams) SetId(v string)
func (*ListPhysicalNetworksParams) SetKeyword ¶
func (p *ListPhysicalNetworksParams) SetKeyword(v string)
func (*ListPhysicalNetworksParams) SetName ¶
func (p *ListPhysicalNetworksParams) SetName(v string)
func (*ListPhysicalNetworksParams) SetPage ¶
func (p *ListPhysicalNetworksParams) SetPage(v int)
func (*ListPhysicalNetworksParams) SetPagesize ¶
func (p *ListPhysicalNetworksParams) SetPagesize(v int)
func (*ListPhysicalNetworksParams) SetZoneid ¶
func (p *ListPhysicalNetworksParams) SetZoneid(v string)
type ListPhysicalNetworksResponse ¶
type ListPhysicalNetworksResponse struct { Count int `json:"count"` PhysicalNetworks []*PhysicalNetwork `json:"physicalnetwork"` }
type ListPodsParams ¶
type ListPodsParams struct {
// contains filtered or unexported fields
}
func (*ListPodsParams) SetAllocationstate ¶
func (p *ListPodsParams) SetAllocationstate(v string)
func (*ListPodsParams) SetId ¶
func (p *ListPodsParams) SetId(v string)
func (*ListPodsParams) SetKeyword ¶
func (p *ListPodsParams) SetKeyword(v string)
func (*ListPodsParams) SetName ¶
func (p *ListPodsParams) SetName(v string)
func (*ListPodsParams) SetPage ¶
func (p *ListPodsParams) SetPage(v int)
func (*ListPodsParams) SetPagesize ¶
func (p *ListPodsParams) SetPagesize(v int)
func (*ListPodsParams) SetShowcapacities ¶
func (p *ListPodsParams) SetShowcapacities(v bool)
func (*ListPodsParams) SetZoneid ¶
func (p *ListPodsParams) SetZoneid(v string)
type ListPodsResponse ¶
type ListPortForwardingRulesParams ¶
type ListPortForwardingRulesParams struct {
// contains filtered or unexported fields
}
func (*ListPortForwardingRulesParams) SetAccount ¶
func (p *ListPortForwardingRulesParams) SetAccount(v string)
func (*ListPortForwardingRulesParams) SetDomainid ¶
func (p *ListPortForwardingRulesParams) SetDomainid(v string)
func (*ListPortForwardingRulesParams) SetId ¶
func (p *ListPortForwardingRulesParams) SetId(v string)
func (*ListPortForwardingRulesParams) SetIpaddressid ¶
func (p *ListPortForwardingRulesParams) SetIpaddressid(v string)
func (*ListPortForwardingRulesParams) SetIsrecursive ¶
func (p *ListPortForwardingRulesParams) SetIsrecursive(v bool)
func (*ListPortForwardingRulesParams) SetKeyword ¶
func (p *ListPortForwardingRulesParams) SetKeyword(v string)
func (*ListPortForwardingRulesParams) SetListall ¶
func (p *ListPortForwardingRulesParams) SetListall(v bool)
func (*ListPortForwardingRulesParams) SetNetworkid ¶
func (p *ListPortForwardingRulesParams) SetNetworkid(v string)
func (*ListPortForwardingRulesParams) SetPage ¶
func (p *ListPortForwardingRulesParams) SetPage(v int)
func (*ListPortForwardingRulesParams) SetPagesize ¶
func (p *ListPortForwardingRulesParams) SetPagesize(v int)
func (*ListPortForwardingRulesParams) SetProjectid ¶
func (p *ListPortForwardingRulesParams) SetProjectid(v string)
func (*ListPortForwardingRulesParams) SetTags ¶
func (p *ListPortForwardingRulesParams) SetTags(v map[string]string)
type ListPortForwardingRulesResponse ¶
type ListPortForwardingRulesResponse struct { Count int `json:"count"` PortForwardingRules []*PortForwardingRule `json:"portforwardingrule"` }
type ListPortableIpRangesParams ¶
type ListPortableIpRangesParams struct {
// contains filtered or unexported fields
}
func (*ListPortableIpRangesParams) SetId ¶
func (p *ListPortableIpRangesParams) SetId(v string)
func (*ListPortableIpRangesParams) SetKeyword ¶
func (p *ListPortableIpRangesParams) SetKeyword(v string)
func (*ListPortableIpRangesParams) SetPage ¶
func (p *ListPortableIpRangesParams) SetPage(v int)
func (*ListPortableIpRangesParams) SetPagesize ¶
func (p *ListPortableIpRangesParams) SetPagesize(v int)
func (*ListPortableIpRangesParams) SetRegionid ¶
func (p *ListPortableIpRangesParams) SetRegionid(v int)
type ListPortableIpRangesResponse ¶
type ListPortableIpRangesResponse struct { Count int `json:"count"` PortableIpRanges []*PortableIpRange `json:"portableiprange"` }
type ListPrivateGatewaysParams ¶
type ListPrivateGatewaysParams struct {
// contains filtered or unexported fields
}
func (*ListPrivateGatewaysParams) SetAccount ¶
func (p *ListPrivateGatewaysParams) SetAccount(v string)
func (*ListPrivateGatewaysParams) SetDomainid ¶
func (p *ListPrivateGatewaysParams) SetDomainid(v string)
func (*ListPrivateGatewaysParams) SetId ¶
func (p *ListPrivateGatewaysParams) SetId(v string)
func (*ListPrivateGatewaysParams) SetIpaddress ¶
func (p *ListPrivateGatewaysParams) SetIpaddress(v string)
func (*ListPrivateGatewaysParams) SetIsrecursive ¶
func (p *ListPrivateGatewaysParams) SetIsrecursive(v bool)
func (*ListPrivateGatewaysParams) SetKeyword ¶
func (p *ListPrivateGatewaysParams) SetKeyword(v string)
func (*ListPrivateGatewaysParams) SetListall ¶
func (p *ListPrivateGatewaysParams) SetListall(v bool)
func (*ListPrivateGatewaysParams) SetPage ¶
func (p *ListPrivateGatewaysParams) SetPage(v int)
func (*ListPrivateGatewaysParams) SetPagesize ¶
func (p *ListPrivateGatewaysParams) SetPagesize(v int)
func (*ListPrivateGatewaysParams) SetProjectid ¶
func (p *ListPrivateGatewaysParams) SetProjectid(v string)
func (*ListPrivateGatewaysParams) SetState ¶
func (p *ListPrivateGatewaysParams) SetState(v string)
func (*ListPrivateGatewaysParams) SetVlan ¶
func (p *ListPrivateGatewaysParams) SetVlan(v string)
func (*ListPrivateGatewaysParams) SetVpcid ¶
func (p *ListPrivateGatewaysParams) SetVpcid(v string)
type ListPrivateGatewaysResponse ¶
type ListPrivateGatewaysResponse struct { Count int `json:"count"` PrivateGateways []*PrivateGateway `json:"privategateway"` }
type ListProjectAccountsParams ¶
type ListProjectAccountsParams struct {
// contains filtered or unexported fields
}
func (*ListProjectAccountsParams) SetAccount ¶
func (p *ListProjectAccountsParams) SetAccount(v string)
func (*ListProjectAccountsParams) SetKeyword ¶
func (p *ListProjectAccountsParams) SetKeyword(v string)
func (*ListProjectAccountsParams) SetPage ¶
func (p *ListProjectAccountsParams) SetPage(v int)
func (*ListProjectAccountsParams) SetPagesize ¶
func (p *ListProjectAccountsParams) SetPagesize(v int)
func (*ListProjectAccountsParams) SetProjectid ¶
func (p *ListProjectAccountsParams) SetProjectid(v string)
func (*ListProjectAccountsParams) SetRole ¶
func (p *ListProjectAccountsParams) SetRole(v string)
type ListProjectAccountsResponse ¶
type ListProjectAccountsResponse struct { Count int `json:"count"` ProjectAccounts []*ProjectAccount `json:"projectaccount"` }
type ListProjectInvitationsParams ¶
type ListProjectInvitationsParams struct {
// contains filtered or unexported fields
}
func (*ListProjectInvitationsParams) SetAccount ¶
func (p *ListProjectInvitationsParams) SetAccount(v string)
func (*ListProjectInvitationsParams) SetActiveonly ¶
func (p *ListProjectInvitationsParams) SetActiveonly(v bool)
func (*ListProjectInvitationsParams) SetDomainid ¶
func (p *ListProjectInvitationsParams) SetDomainid(v string)
func (*ListProjectInvitationsParams) SetId ¶
func (p *ListProjectInvitationsParams) SetId(v string)
func (*ListProjectInvitationsParams) SetIsrecursive ¶
func (p *ListProjectInvitationsParams) SetIsrecursive(v bool)
func (*ListProjectInvitationsParams) SetKeyword ¶
func (p *ListProjectInvitationsParams) SetKeyword(v string)
func (*ListProjectInvitationsParams) SetListall ¶
func (p *ListProjectInvitationsParams) SetListall(v bool)
func (*ListProjectInvitationsParams) SetPage ¶
func (p *ListProjectInvitationsParams) SetPage(v int)
func (*ListProjectInvitationsParams) SetPagesize ¶
func (p *ListProjectInvitationsParams) SetPagesize(v int)
func (*ListProjectInvitationsParams) SetProjectid ¶
func (p *ListProjectInvitationsParams) SetProjectid(v string)
func (*ListProjectInvitationsParams) SetState ¶
func (p *ListProjectInvitationsParams) SetState(v string)
type ListProjectInvitationsResponse ¶
type ListProjectInvitationsResponse struct { Count int `json:"count"` ProjectInvitations []*ProjectInvitation `json:"projectinvitation"` }
type ListProjectsParams ¶
type ListProjectsParams struct {
// contains filtered or unexported fields
}
func (*ListProjectsParams) SetAccount ¶
func (p *ListProjectsParams) SetAccount(v string)
func (*ListProjectsParams) SetDisplaytext ¶
func (p *ListProjectsParams) SetDisplaytext(v string)
func (*ListProjectsParams) SetDomainid ¶
func (p *ListProjectsParams) SetDomainid(v string)
func (*ListProjectsParams) SetId ¶
func (p *ListProjectsParams) SetId(v string)
func (*ListProjectsParams) SetIsrecursive ¶
func (p *ListProjectsParams) SetIsrecursive(v bool)
func (*ListProjectsParams) SetKeyword ¶
func (p *ListProjectsParams) SetKeyword(v string)
func (*ListProjectsParams) SetListall ¶
func (p *ListProjectsParams) SetListall(v bool)
func (*ListProjectsParams) SetName ¶
func (p *ListProjectsParams) SetName(v string)
func (*ListProjectsParams) SetPage ¶
func (p *ListProjectsParams) SetPage(v int)
func (*ListProjectsParams) SetPagesize ¶
func (p *ListProjectsParams) SetPagesize(v int)
func (*ListProjectsParams) SetState ¶
func (p *ListProjectsParams) SetState(v string)
func (*ListProjectsParams) SetTags ¶
func (p *ListProjectsParams) SetTags(v map[string]string)
type ListProjectsResponse ¶
type ListPublicIpAddressesParams ¶
type ListPublicIpAddressesParams struct {
// contains filtered or unexported fields
}
func (*ListPublicIpAddressesParams) SetAccount ¶
func (p *ListPublicIpAddressesParams) SetAccount(v string)
func (*ListPublicIpAddressesParams) SetAllocatedonly ¶
func (p *ListPublicIpAddressesParams) SetAllocatedonly(v bool)
func (*ListPublicIpAddressesParams) SetAssociatednetworkid ¶
func (p *ListPublicIpAddressesParams) SetAssociatednetworkid(v string)
func (*ListPublicIpAddressesParams) SetDomainid ¶
func (p *ListPublicIpAddressesParams) SetDomainid(v string)
func (*ListPublicIpAddressesParams) SetForloadbalancing ¶
func (p *ListPublicIpAddressesParams) SetForloadbalancing(v bool)
func (*ListPublicIpAddressesParams) SetForvirtualnetwork ¶
func (p *ListPublicIpAddressesParams) SetForvirtualnetwork(v bool)
func (*ListPublicIpAddressesParams) SetId ¶
func (p *ListPublicIpAddressesParams) SetId(v string)
func (*ListPublicIpAddressesParams) SetIpaddress ¶
func (p *ListPublicIpAddressesParams) SetIpaddress(v string)
func (*ListPublicIpAddressesParams) SetIsrecursive ¶
func (p *ListPublicIpAddressesParams) SetIsrecursive(v bool)
func (*ListPublicIpAddressesParams) SetIssourcenat ¶
func (p *ListPublicIpAddressesParams) SetIssourcenat(v bool)
func (*ListPublicIpAddressesParams) SetIsstaticnat ¶
func (p *ListPublicIpAddressesParams) SetIsstaticnat(v bool)
func (*ListPublicIpAddressesParams) SetKeyword ¶
func (p *ListPublicIpAddressesParams) SetKeyword(v string)
func (*ListPublicIpAddressesParams) SetListall ¶
func (p *ListPublicIpAddressesParams) SetListall(v bool)
func (*ListPublicIpAddressesParams) SetPage ¶
func (p *ListPublicIpAddressesParams) SetPage(v int)
func (*ListPublicIpAddressesParams) SetPagesize ¶
func (p *ListPublicIpAddressesParams) SetPagesize(v int)
func (*ListPublicIpAddressesParams) SetPhysicalnetworkid ¶
func (p *ListPublicIpAddressesParams) SetPhysicalnetworkid(v string)
func (*ListPublicIpAddressesParams) SetProjectid ¶
func (p *ListPublicIpAddressesParams) SetProjectid(v string)
func (*ListPublicIpAddressesParams) SetTags ¶
func (p *ListPublicIpAddressesParams) SetTags(v map[string]string)
func (*ListPublicIpAddressesParams) SetVlanid ¶
func (p *ListPublicIpAddressesParams) SetVlanid(v string)
func (*ListPublicIpAddressesParams) SetVpcid ¶
func (p *ListPublicIpAddressesParams) SetVpcid(v string)
func (*ListPublicIpAddressesParams) SetZoneid ¶
func (p *ListPublicIpAddressesParams) SetZoneid(v string)
type ListPublicIpAddressesResponse ¶
type ListPublicIpAddressesResponse struct { Count int `json:"count"` PublicIpAddresses []*PublicIpAddresse `json:"publicipaddresse"` }
type ListRegionsParams ¶
type ListRegionsParams struct {
// contains filtered or unexported fields
}
func (*ListRegionsParams) SetId ¶
func (p *ListRegionsParams) SetId(v int)
func (*ListRegionsParams) SetKeyword ¶
func (p *ListRegionsParams) SetKeyword(v string)
func (*ListRegionsParams) SetName ¶
func (p *ListRegionsParams) SetName(v string)
func (*ListRegionsParams) SetPage ¶
func (p *ListRegionsParams) SetPage(v int)
func (*ListRegionsParams) SetPagesize ¶
func (p *ListRegionsParams) SetPagesize(v int)
type ListRegionsResponse ¶
type ListRemoteAccessVpnsParams ¶
type ListRemoteAccessVpnsParams struct {
// contains filtered or unexported fields
}
func (*ListRemoteAccessVpnsParams) SetAccount ¶
func (p *ListRemoteAccessVpnsParams) SetAccount(v string)
func (*ListRemoteAccessVpnsParams) SetDomainid ¶
func (p *ListRemoteAccessVpnsParams) SetDomainid(v string)
func (*ListRemoteAccessVpnsParams) SetId ¶
func (p *ListRemoteAccessVpnsParams) SetId(v string)
func (*ListRemoteAccessVpnsParams) SetIsrecursive ¶
func (p *ListRemoteAccessVpnsParams) SetIsrecursive(v bool)
func (*ListRemoteAccessVpnsParams) SetKeyword ¶
func (p *ListRemoteAccessVpnsParams) SetKeyword(v string)
func (*ListRemoteAccessVpnsParams) SetListall ¶
func (p *ListRemoteAccessVpnsParams) SetListall(v bool)
func (*ListRemoteAccessVpnsParams) SetNetworkid ¶
func (p *ListRemoteAccessVpnsParams) SetNetworkid(v string)
func (*ListRemoteAccessVpnsParams) SetPage ¶
func (p *ListRemoteAccessVpnsParams) SetPage(v int)
func (*ListRemoteAccessVpnsParams) SetPagesize ¶
func (p *ListRemoteAccessVpnsParams) SetPagesize(v int)
func (*ListRemoteAccessVpnsParams) SetProjectid ¶
func (p *ListRemoteAccessVpnsParams) SetProjectid(v string)
func (*ListRemoteAccessVpnsParams) SetPublicipid ¶
func (p *ListRemoteAccessVpnsParams) SetPublicipid(v string)
type ListRemoteAccessVpnsResponse ¶
type ListRemoteAccessVpnsResponse struct { Count int `json:"count"` RemoteAccessVpns []*RemoteAccessVpn `json:"remoteaccessvpn"` }
type ListResourceDetailsParams ¶
type ListResourceDetailsParams struct {
// contains filtered or unexported fields
}
func (*ListResourceDetailsParams) SetAccount ¶
func (p *ListResourceDetailsParams) SetAccount(v string)
func (*ListResourceDetailsParams) SetDomainid ¶
func (p *ListResourceDetailsParams) SetDomainid(v string)
func (*ListResourceDetailsParams) SetFordisplay ¶
func (p *ListResourceDetailsParams) SetFordisplay(v bool)
func (*ListResourceDetailsParams) SetIsrecursive ¶
func (p *ListResourceDetailsParams) SetIsrecursive(v bool)
func (*ListResourceDetailsParams) SetKey ¶
func (p *ListResourceDetailsParams) SetKey(v string)
func (*ListResourceDetailsParams) SetKeyword ¶
func (p *ListResourceDetailsParams) SetKeyword(v string)
func (*ListResourceDetailsParams) SetListall ¶
func (p *ListResourceDetailsParams) SetListall(v bool)
func (*ListResourceDetailsParams) SetPage ¶
func (p *ListResourceDetailsParams) SetPage(v int)
func (*ListResourceDetailsParams) SetPagesize ¶
func (p *ListResourceDetailsParams) SetPagesize(v int)
func (*ListResourceDetailsParams) SetProjectid ¶
func (p *ListResourceDetailsParams) SetProjectid(v string)
func (*ListResourceDetailsParams) SetResourceid ¶
func (p *ListResourceDetailsParams) SetResourceid(v string)
func (*ListResourceDetailsParams) SetResourcetype ¶
func (p *ListResourceDetailsParams) SetResourcetype(v string)
type ListResourceDetailsResponse ¶
type ListResourceDetailsResponse struct { Count int `json:"count"` ResourceDetails []*ResourceDetail `json:"resourcedetail"` }
type ListResourceLimitsParams ¶
type ListResourceLimitsParams struct {
// contains filtered or unexported fields
}
func (*ListResourceLimitsParams) SetAccount ¶
func (p *ListResourceLimitsParams) SetAccount(v string)
func (*ListResourceLimitsParams) SetDomainid ¶
func (p *ListResourceLimitsParams) SetDomainid(v string)
func (*ListResourceLimitsParams) SetId ¶
func (p *ListResourceLimitsParams) SetId(v int)
func (*ListResourceLimitsParams) SetIsrecursive ¶
func (p *ListResourceLimitsParams) SetIsrecursive(v bool)
func (*ListResourceLimitsParams) SetKeyword ¶
func (p *ListResourceLimitsParams) SetKeyword(v string)
func (*ListResourceLimitsParams) SetListall ¶
func (p *ListResourceLimitsParams) SetListall(v bool)
func (*ListResourceLimitsParams) SetPage ¶
func (p *ListResourceLimitsParams) SetPage(v int)
func (*ListResourceLimitsParams) SetPagesize ¶
func (p *ListResourceLimitsParams) SetPagesize(v int)
func (*ListResourceLimitsParams) SetProjectid ¶
func (p *ListResourceLimitsParams) SetProjectid(v string)
func (*ListResourceLimitsParams) SetResourcetype ¶
func (p *ListResourceLimitsParams) SetResourcetype(v int)
type ListResourceLimitsResponse ¶
type ListResourceLimitsResponse struct { Count int `json:"count"` ResourceLimits []*ResourceLimit `json:"resourcelimit"` }
type ListRoutersParams ¶
type ListRoutersParams struct {
// contains filtered or unexported fields
}
func (*ListRoutersParams) SetAccount ¶
func (p *ListRoutersParams) SetAccount(v string)
func (*ListRoutersParams) SetClusterid ¶
func (p *ListRoutersParams) SetClusterid(v string)
func (*ListRoutersParams) SetDomainid ¶
func (p *ListRoutersParams) SetDomainid(v string)
func (*ListRoutersParams) SetForvpc ¶
func (p *ListRoutersParams) SetForvpc(v bool)
func (*ListRoutersParams) SetHostid ¶
func (p *ListRoutersParams) SetHostid(v string)
func (*ListRoutersParams) SetId ¶
func (p *ListRoutersParams) SetId(v string)
func (*ListRoutersParams) SetIsrecursive ¶
func (p *ListRoutersParams) SetIsrecursive(v bool)
func (*ListRoutersParams) SetKeyword ¶
func (p *ListRoutersParams) SetKeyword(v string)
func (*ListRoutersParams) SetListall ¶
func (p *ListRoutersParams) SetListall(v bool)
func (*ListRoutersParams) SetName ¶
func (p *ListRoutersParams) SetName(v string)
func (*ListRoutersParams) SetNetworkid ¶
func (p *ListRoutersParams) SetNetworkid(v string)
func (*ListRoutersParams) SetPage ¶
func (p *ListRoutersParams) SetPage(v int)
func (*ListRoutersParams) SetPagesize ¶
func (p *ListRoutersParams) SetPagesize(v int)
func (*ListRoutersParams) SetPodid ¶
func (p *ListRoutersParams) SetPodid(v string)
func (*ListRoutersParams) SetProjectid ¶
func (p *ListRoutersParams) SetProjectid(v string)
func (*ListRoutersParams) SetState ¶
func (p *ListRoutersParams) SetState(v string)
func (*ListRoutersParams) SetVersion ¶
func (p *ListRoutersParams) SetVersion(v string)
func (*ListRoutersParams) SetVpcid ¶
func (p *ListRoutersParams) SetVpcid(v string)
func (*ListRoutersParams) SetZoneid ¶
func (p *ListRoutersParams) SetZoneid(v string)
type ListRoutersResponse ¶
type ListS3sParams ¶
type ListS3sParams struct {
// contains filtered or unexported fields
}
func (*ListS3sParams) SetKeyword ¶
func (p *ListS3sParams) SetKeyword(v string)
func (*ListS3sParams) SetPage ¶
func (p *ListS3sParams) SetPage(v int)
func (*ListS3sParams) SetPagesize ¶
func (p *ListS3sParams) SetPagesize(v int)
type ListS3sResponse ¶
type ListSSHKeyPairsParams ¶
type ListSSHKeyPairsParams struct {
// contains filtered or unexported fields
}
func (*ListSSHKeyPairsParams) SetAccount ¶
func (p *ListSSHKeyPairsParams) SetAccount(v string)
func (*ListSSHKeyPairsParams) SetDomainid ¶
func (p *ListSSHKeyPairsParams) SetDomainid(v string)
func (*ListSSHKeyPairsParams) SetFingerprint ¶
func (p *ListSSHKeyPairsParams) SetFingerprint(v string)
func (*ListSSHKeyPairsParams) SetIsrecursive ¶
func (p *ListSSHKeyPairsParams) SetIsrecursive(v bool)
func (*ListSSHKeyPairsParams) SetKeyword ¶
func (p *ListSSHKeyPairsParams) SetKeyword(v string)
func (*ListSSHKeyPairsParams) SetListall ¶
func (p *ListSSHKeyPairsParams) SetListall(v bool)
func (*ListSSHKeyPairsParams) SetName ¶
func (p *ListSSHKeyPairsParams) SetName(v string)
func (*ListSSHKeyPairsParams) SetPage ¶
func (p *ListSSHKeyPairsParams) SetPage(v int)
func (*ListSSHKeyPairsParams) SetPagesize ¶
func (p *ListSSHKeyPairsParams) SetPagesize(v int)
func (*ListSSHKeyPairsParams) SetProjectid ¶
func (p *ListSSHKeyPairsParams) SetProjectid(v string)
type ListSSHKeyPairsResponse ¶
type ListSSHKeyPairsResponse struct { Count int `json:"count"` SSHKeyPairs []*SSHKeyPair `json:"sshkeypair"` }
type ListSecondaryStagingStoresParams ¶
type ListSecondaryStagingStoresParams struct {
// contains filtered or unexported fields
}
func (*ListSecondaryStagingStoresParams) SetId ¶
func (p *ListSecondaryStagingStoresParams) SetId(v string)
func (*ListSecondaryStagingStoresParams) SetKeyword ¶
func (p *ListSecondaryStagingStoresParams) SetKeyword(v string)
func (*ListSecondaryStagingStoresParams) SetName ¶
func (p *ListSecondaryStagingStoresParams) SetName(v string)
func (*ListSecondaryStagingStoresParams) SetPage ¶
func (p *ListSecondaryStagingStoresParams) SetPage(v int)
func (*ListSecondaryStagingStoresParams) SetPagesize ¶
func (p *ListSecondaryStagingStoresParams) SetPagesize(v int)
func (*ListSecondaryStagingStoresParams) SetProtocol ¶
func (p *ListSecondaryStagingStoresParams) SetProtocol(v string)
func (*ListSecondaryStagingStoresParams) SetProvider ¶
func (p *ListSecondaryStagingStoresParams) SetProvider(v string)
func (*ListSecondaryStagingStoresParams) SetZoneid ¶
func (p *ListSecondaryStagingStoresParams) SetZoneid(v string)
type ListSecondaryStagingStoresResponse ¶
type ListSecondaryStagingStoresResponse struct { Count int `json:"count"` SecondaryStagingStores []*SecondaryStagingStore `json:"secondarystagingstore"` }
type ListSecurityGroupsParams ¶
type ListSecurityGroupsParams struct {
// contains filtered or unexported fields
}
func (*ListSecurityGroupsParams) SetAccount ¶
func (p *ListSecurityGroupsParams) SetAccount(v string)
func (*ListSecurityGroupsParams) SetDomainid ¶
func (p *ListSecurityGroupsParams) SetDomainid(v string)
func (*ListSecurityGroupsParams) SetId ¶
func (p *ListSecurityGroupsParams) SetId(v string)
func (*ListSecurityGroupsParams) SetIsrecursive ¶
func (p *ListSecurityGroupsParams) SetIsrecursive(v bool)
func (*ListSecurityGroupsParams) SetKeyword ¶
func (p *ListSecurityGroupsParams) SetKeyword(v string)
func (*ListSecurityGroupsParams) SetListall ¶
func (p *ListSecurityGroupsParams) SetListall(v bool)
func (*ListSecurityGroupsParams) SetPage ¶
func (p *ListSecurityGroupsParams) SetPage(v int)
func (*ListSecurityGroupsParams) SetPagesize ¶
func (p *ListSecurityGroupsParams) SetPagesize(v int)
func (*ListSecurityGroupsParams) SetProjectid ¶
func (p *ListSecurityGroupsParams) SetProjectid(v string)
func (*ListSecurityGroupsParams) SetSecuritygroupname ¶
func (p *ListSecurityGroupsParams) SetSecuritygroupname(v string)
func (*ListSecurityGroupsParams) SetTags ¶
func (p *ListSecurityGroupsParams) SetTags(v map[string]string)
func (*ListSecurityGroupsParams) SetVirtualmachineid ¶
func (p *ListSecurityGroupsParams) SetVirtualmachineid(v string)
type ListSecurityGroupsResponse ¶
type ListSecurityGroupsResponse struct { Count int `json:"count"` SecurityGroups []*SecurityGroup `json:"securitygroup"` }
type ListServiceOfferingsParams ¶
type ListServiceOfferingsParams struct {
// contains filtered or unexported fields
}
func (*ListServiceOfferingsParams) SetDomainid ¶
func (p *ListServiceOfferingsParams) SetDomainid(v string)
func (*ListServiceOfferingsParams) SetId ¶
func (p *ListServiceOfferingsParams) SetId(v string)
func (*ListServiceOfferingsParams) SetIssystem ¶
func (p *ListServiceOfferingsParams) SetIssystem(v bool)
func (*ListServiceOfferingsParams) SetKeyword ¶
func (p *ListServiceOfferingsParams) SetKeyword(v string)
func (*ListServiceOfferingsParams) SetName ¶
func (p *ListServiceOfferingsParams) SetName(v string)
func (*ListServiceOfferingsParams) SetPage ¶
func (p *ListServiceOfferingsParams) SetPage(v int)
func (*ListServiceOfferingsParams) SetPagesize ¶
func (p *ListServiceOfferingsParams) SetPagesize(v int)
func (*ListServiceOfferingsParams) SetSystemvmtype ¶
func (p *ListServiceOfferingsParams) SetSystemvmtype(v string)
func (*ListServiceOfferingsParams) SetVirtualmachineid ¶
func (p *ListServiceOfferingsParams) SetVirtualmachineid(v string)
type ListServiceOfferingsResponse ¶
type ListServiceOfferingsResponse struct { Count int `json:"count"` ServiceOfferings []*ServiceOffering `json:"serviceoffering"` }
type ListSnapshotPoliciesParams ¶
type ListSnapshotPoliciesParams struct {
// contains filtered or unexported fields
}
func (*ListSnapshotPoliciesParams) SetKeyword ¶
func (p *ListSnapshotPoliciesParams) SetKeyword(v string)
func (*ListSnapshotPoliciesParams) SetPage ¶
func (p *ListSnapshotPoliciesParams) SetPage(v int)
func (*ListSnapshotPoliciesParams) SetPagesize ¶
func (p *ListSnapshotPoliciesParams) SetPagesize(v int)
func (*ListSnapshotPoliciesParams) SetVolumeid ¶
func (p *ListSnapshotPoliciesParams) SetVolumeid(v string)
type ListSnapshotPoliciesResponse ¶
type ListSnapshotPoliciesResponse struct { Count int `json:"count"` SnapshotPolicies []*SnapshotPolicy `json:"snapshotpolicy"` }
type ListSnapshotsParams ¶
type ListSnapshotsParams struct {
// contains filtered or unexported fields
}
func (*ListSnapshotsParams) SetAccount ¶
func (p *ListSnapshotsParams) SetAccount(v string)
func (*ListSnapshotsParams) SetDomainid ¶
func (p *ListSnapshotsParams) SetDomainid(v string)
func (*ListSnapshotsParams) SetId ¶
func (p *ListSnapshotsParams) SetId(v string)
func (*ListSnapshotsParams) SetIntervaltype ¶
func (p *ListSnapshotsParams) SetIntervaltype(v string)
func (*ListSnapshotsParams) SetIsrecursive ¶
func (p *ListSnapshotsParams) SetIsrecursive(v bool)
func (*ListSnapshotsParams) SetKeyword ¶
func (p *ListSnapshotsParams) SetKeyword(v string)
func (*ListSnapshotsParams) SetListall ¶
func (p *ListSnapshotsParams) SetListall(v bool)
func (*ListSnapshotsParams) SetName ¶
func (p *ListSnapshotsParams) SetName(v string)
func (*ListSnapshotsParams) SetPage ¶
func (p *ListSnapshotsParams) SetPage(v int)
func (*ListSnapshotsParams) SetPagesize ¶
func (p *ListSnapshotsParams) SetPagesize(v int)
func (*ListSnapshotsParams) SetProjectid ¶
func (p *ListSnapshotsParams) SetProjectid(v string)
func (*ListSnapshotsParams) SetSnapshottype ¶
func (p *ListSnapshotsParams) SetSnapshottype(v string)
func (*ListSnapshotsParams) SetTags ¶
func (p *ListSnapshotsParams) SetTags(v map[string]string)
func (*ListSnapshotsParams) SetVolumeid ¶
func (p *ListSnapshotsParams) SetVolumeid(v string)
func (*ListSnapshotsParams) SetZoneid ¶
func (p *ListSnapshotsParams) SetZoneid(v string)
type ListSnapshotsResponse ¶
type ListSrxFirewallNetworksParams ¶
type ListSrxFirewallNetworksParams struct {
// contains filtered or unexported fields
}
func (*ListSrxFirewallNetworksParams) SetKeyword ¶
func (p *ListSrxFirewallNetworksParams) SetKeyword(v string)
func (*ListSrxFirewallNetworksParams) SetLbdeviceid ¶
func (p *ListSrxFirewallNetworksParams) SetLbdeviceid(v string)
func (*ListSrxFirewallNetworksParams) SetPage ¶
func (p *ListSrxFirewallNetworksParams) SetPage(v int)
func (*ListSrxFirewallNetworksParams) SetPagesize ¶
func (p *ListSrxFirewallNetworksParams) SetPagesize(v int)
type ListSrxFirewallNetworksResponse ¶
type ListSrxFirewallNetworksResponse struct { Count int `json:"count"` SrxFirewallNetworks []*SrxFirewallNetwork `json:"srxfirewallnetwork"` }
type ListSrxFirewallsParams ¶
type ListSrxFirewallsParams struct {
// contains filtered or unexported fields
}
func (*ListSrxFirewallsParams) SetFwdeviceid ¶
func (p *ListSrxFirewallsParams) SetFwdeviceid(v string)
func (*ListSrxFirewallsParams) SetKeyword ¶
func (p *ListSrxFirewallsParams) SetKeyword(v string)
func (*ListSrxFirewallsParams) SetPage ¶
func (p *ListSrxFirewallsParams) SetPage(v int)
func (*ListSrxFirewallsParams) SetPagesize ¶
func (p *ListSrxFirewallsParams) SetPagesize(v int)
func (*ListSrxFirewallsParams) SetPhysicalnetworkid ¶
func (p *ListSrxFirewallsParams) SetPhysicalnetworkid(v string)
type ListSrxFirewallsResponse ¶
type ListSrxFirewallsResponse struct { Count int `json:"count"` SrxFirewalls []*SrxFirewall `json:"srxfirewall"` }
type ListSslCertsParams ¶
type ListSslCertsParams struct {
// contains filtered or unexported fields
}
func (*ListSslCertsParams) SetAccountid ¶
func (p *ListSslCertsParams) SetAccountid(v string)
func (*ListSslCertsParams) SetCertid ¶
func (p *ListSslCertsParams) SetCertid(v string)
func (*ListSslCertsParams) SetLbruleid ¶
func (p *ListSslCertsParams) SetLbruleid(v string)
type ListSslCertsResponse ¶
type ListStaticRoutesParams ¶
type ListStaticRoutesParams struct {
// contains filtered or unexported fields
}
func (*ListStaticRoutesParams) SetAccount ¶
func (p *ListStaticRoutesParams) SetAccount(v string)
func (*ListStaticRoutesParams) SetDomainid ¶
func (p *ListStaticRoutesParams) SetDomainid(v string)
func (*ListStaticRoutesParams) SetGatewayid ¶
func (p *ListStaticRoutesParams) SetGatewayid(v string)
func (*ListStaticRoutesParams) SetId ¶
func (p *ListStaticRoutesParams) SetId(v string)
func (*ListStaticRoutesParams) SetIsrecursive ¶
func (p *ListStaticRoutesParams) SetIsrecursive(v bool)
func (*ListStaticRoutesParams) SetKeyword ¶
func (p *ListStaticRoutesParams) SetKeyword(v string)
func (*ListStaticRoutesParams) SetListall ¶
func (p *ListStaticRoutesParams) SetListall(v bool)
func (*ListStaticRoutesParams) SetPage ¶
func (p *ListStaticRoutesParams) SetPage(v int)
func (*ListStaticRoutesParams) SetPagesize ¶
func (p *ListStaticRoutesParams) SetPagesize(v int)
func (*ListStaticRoutesParams) SetProjectid ¶
func (p *ListStaticRoutesParams) SetProjectid(v string)
func (*ListStaticRoutesParams) SetTags ¶
func (p *ListStaticRoutesParams) SetTags(v map[string]string)
func (*ListStaticRoutesParams) SetVpcid ¶
func (p *ListStaticRoutesParams) SetVpcid(v string)
type ListStaticRoutesResponse ¶
type ListStaticRoutesResponse struct { Count int `json:"count"` StaticRoutes []*StaticRoute `json:"staticroute"` }
type ListStorageNetworkIpRangeParams ¶
type ListStorageNetworkIpRangeParams struct {
// contains filtered or unexported fields
}
func (*ListStorageNetworkIpRangeParams) SetId ¶
func (p *ListStorageNetworkIpRangeParams) SetId(v string)
func (*ListStorageNetworkIpRangeParams) SetKeyword ¶
func (p *ListStorageNetworkIpRangeParams) SetKeyword(v string)
func (*ListStorageNetworkIpRangeParams) SetPage ¶
func (p *ListStorageNetworkIpRangeParams) SetPage(v int)
func (*ListStorageNetworkIpRangeParams) SetPagesize ¶
func (p *ListStorageNetworkIpRangeParams) SetPagesize(v int)
func (*ListStorageNetworkIpRangeParams) SetPodid ¶
func (p *ListStorageNetworkIpRangeParams) SetPodid(v string)
func (*ListStorageNetworkIpRangeParams) SetZoneid ¶
func (p *ListStorageNetworkIpRangeParams) SetZoneid(v string)
type ListStorageNetworkIpRangeResponse ¶
type ListStorageNetworkIpRangeResponse struct { Count int `json:"count"` StorageNetworkIpRange []*StorageNetworkIpRange `json:"storagenetworkiprange"` }
type ListStoragePoolsParams ¶
type ListStoragePoolsParams struct {
// contains filtered or unexported fields
}
func (*ListStoragePoolsParams) SetClusterid ¶
func (p *ListStoragePoolsParams) SetClusterid(v string)
func (*ListStoragePoolsParams) SetId ¶
func (p *ListStoragePoolsParams) SetId(v string)
func (*ListStoragePoolsParams) SetIpaddress ¶
func (p *ListStoragePoolsParams) SetIpaddress(v string)
func (*ListStoragePoolsParams) SetKeyword ¶
func (p *ListStoragePoolsParams) SetKeyword(v string)
func (*ListStoragePoolsParams) SetName ¶
func (p *ListStoragePoolsParams) SetName(v string)
func (*ListStoragePoolsParams) SetPage ¶
func (p *ListStoragePoolsParams) SetPage(v int)
func (*ListStoragePoolsParams) SetPagesize ¶
func (p *ListStoragePoolsParams) SetPagesize(v int)
func (*ListStoragePoolsParams) SetPath ¶
func (p *ListStoragePoolsParams) SetPath(v string)
func (*ListStoragePoolsParams) SetPodid ¶
func (p *ListStoragePoolsParams) SetPodid(v string)
func (*ListStoragePoolsParams) SetScope ¶
func (p *ListStoragePoolsParams) SetScope(v string)
func (*ListStoragePoolsParams) SetZoneid ¶
func (p *ListStoragePoolsParams) SetZoneid(v string)
type ListStoragePoolsResponse ¶
type ListStoragePoolsResponse struct { Count int `json:"count"` StoragePools []*StoragePool `json:"storagepool"` }
type ListStorageProvidersParams ¶
type ListStorageProvidersParams struct {
// contains filtered or unexported fields
}
func (*ListStorageProvidersParams) SetKeyword ¶
func (p *ListStorageProvidersParams) SetKeyword(v string)
func (*ListStorageProvidersParams) SetPage ¶
func (p *ListStorageProvidersParams) SetPage(v int)
func (*ListStorageProvidersParams) SetPagesize ¶
func (p *ListStorageProvidersParams) SetPagesize(v int)
func (*ListStorageProvidersParams) SetType ¶
func (p *ListStorageProvidersParams) SetType(v string)
type ListStorageProvidersResponse ¶
type ListStorageProvidersResponse struct { Count int `json:"count"` StorageProviders []*StorageProvider `json:"storageprovider"` }
type ListSupportedNetworkServicesParams ¶
type ListSupportedNetworkServicesParams struct {
// contains filtered or unexported fields
}
func (*ListSupportedNetworkServicesParams) SetKeyword ¶
func (p *ListSupportedNetworkServicesParams) SetKeyword(v string)
func (*ListSupportedNetworkServicesParams) SetPage ¶
func (p *ListSupportedNetworkServicesParams) SetPage(v int)
func (*ListSupportedNetworkServicesParams) SetPagesize ¶
func (p *ListSupportedNetworkServicesParams) SetPagesize(v int)
func (*ListSupportedNetworkServicesParams) SetProvider ¶
func (p *ListSupportedNetworkServicesParams) SetProvider(v string)
func (*ListSupportedNetworkServicesParams) SetService ¶
func (p *ListSupportedNetworkServicesParams) SetService(v string)
type ListSupportedNetworkServicesResponse ¶
type ListSupportedNetworkServicesResponse struct { Count int `json:"count"` SupportedNetworkServices []*SupportedNetworkService `json:"supportednetworkservice"` }
type ListSwiftsParams ¶
type ListSwiftsParams struct {
// contains filtered or unexported fields
}
func (*ListSwiftsParams) SetId ¶
func (p *ListSwiftsParams) SetId(v int)
func (*ListSwiftsParams) SetKeyword ¶
func (p *ListSwiftsParams) SetKeyword(v string)
func (*ListSwiftsParams) SetPage ¶
func (p *ListSwiftsParams) SetPage(v int)
func (*ListSwiftsParams) SetPagesize ¶
func (p *ListSwiftsParams) SetPagesize(v int)
type ListSwiftsResponse ¶
type ListSystemVmsParams ¶
type ListSystemVmsParams struct {
// contains filtered or unexported fields
}
func (*ListSystemVmsParams) SetHostid ¶
func (p *ListSystemVmsParams) SetHostid(v string)
func (*ListSystemVmsParams) SetId ¶
func (p *ListSystemVmsParams) SetId(v string)
func (*ListSystemVmsParams) SetKeyword ¶
func (p *ListSystemVmsParams) SetKeyword(v string)
func (*ListSystemVmsParams) SetName ¶
func (p *ListSystemVmsParams) SetName(v string)
func (*ListSystemVmsParams) SetPage ¶
func (p *ListSystemVmsParams) SetPage(v int)
func (*ListSystemVmsParams) SetPagesize ¶
func (p *ListSystemVmsParams) SetPagesize(v int)
func (*ListSystemVmsParams) SetPodid ¶
func (p *ListSystemVmsParams) SetPodid(v string)
func (*ListSystemVmsParams) SetState ¶
func (p *ListSystemVmsParams) SetState(v string)
func (*ListSystemVmsParams) SetStorageid ¶
func (p *ListSystemVmsParams) SetStorageid(v string)
func (*ListSystemVmsParams) SetSystemvmtype ¶
func (p *ListSystemVmsParams) SetSystemvmtype(v string)
func (*ListSystemVmsParams) SetZoneid ¶
func (p *ListSystemVmsParams) SetZoneid(v string)
type ListSystemVmsResponse ¶
type ListTagsParams ¶
type ListTagsParams struct {
// contains filtered or unexported fields
}
func (*ListTagsParams) SetAccount ¶
func (p *ListTagsParams) SetAccount(v string)
func (*ListTagsParams) SetCustomer ¶
func (p *ListTagsParams) SetCustomer(v string)
func (*ListTagsParams) SetDomainid ¶
func (p *ListTagsParams) SetDomainid(v string)
func (*ListTagsParams) SetIsrecursive ¶
func (p *ListTagsParams) SetIsrecursive(v bool)
func (*ListTagsParams) SetKey ¶
func (p *ListTagsParams) SetKey(v string)
func (*ListTagsParams) SetKeyword ¶
func (p *ListTagsParams) SetKeyword(v string)
func (*ListTagsParams) SetListall ¶
func (p *ListTagsParams) SetListall(v bool)
func (*ListTagsParams) SetPage ¶
func (p *ListTagsParams) SetPage(v int)
func (*ListTagsParams) SetPagesize ¶
func (p *ListTagsParams) SetPagesize(v int)
func (*ListTagsParams) SetProjectid ¶
func (p *ListTagsParams) SetProjectid(v string)
func (*ListTagsParams) SetResourceid ¶
func (p *ListTagsParams) SetResourceid(v string)
func (*ListTagsParams) SetResourcetype ¶
func (p *ListTagsParams) SetResourcetype(v string)
func (*ListTagsParams) SetValue ¶
func (p *ListTagsParams) SetValue(v string)
type ListTagsResponse ¶
type ListTemplatePermissionsParams ¶
type ListTemplatePermissionsParams struct {
// contains filtered or unexported fields
}
func (*ListTemplatePermissionsParams) SetId ¶
func (p *ListTemplatePermissionsParams) SetId(v string)
type ListTemplatePermissionsResponse ¶
type ListTemplatePermissionsResponse struct { Count int `json:"count"` TemplatePermissions []*TemplatePermission `json:"templatepermission"` }
type ListTemplatesParams ¶
type ListTemplatesParams struct {
// contains filtered or unexported fields
}
func (*ListTemplatesParams) SetAccount ¶
func (p *ListTemplatesParams) SetAccount(v string)
func (*ListTemplatesParams) SetDomainid ¶
func (p *ListTemplatesParams) SetDomainid(v string)
func (*ListTemplatesParams) SetHypervisor ¶
func (p *ListTemplatesParams) SetHypervisor(v string)
func (*ListTemplatesParams) SetId ¶
func (p *ListTemplatesParams) SetId(v string)
func (*ListTemplatesParams) SetIsrecursive ¶
func (p *ListTemplatesParams) SetIsrecursive(v bool)
func (*ListTemplatesParams) SetKeyword ¶
func (p *ListTemplatesParams) SetKeyword(v string)
func (*ListTemplatesParams) SetListall ¶
func (p *ListTemplatesParams) SetListall(v bool)
func (*ListTemplatesParams) SetName ¶
func (p *ListTemplatesParams) SetName(v string)
func (*ListTemplatesParams) SetPage ¶
func (p *ListTemplatesParams) SetPage(v int)
func (*ListTemplatesParams) SetPagesize ¶
func (p *ListTemplatesParams) SetPagesize(v int)
func (*ListTemplatesParams) SetProjectid ¶
func (p *ListTemplatesParams) SetProjectid(v string)
func (*ListTemplatesParams) SetShowremoved ¶
func (p *ListTemplatesParams) SetShowremoved(v bool)
func (*ListTemplatesParams) SetTags ¶
func (p *ListTemplatesParams) SetTags(v map[string]string)
func (*ListTemplatesParams) SetTemplatefilter ¶
func (p *ListTemplatesParams) SetTemplatefilter(v string)
func (*ListTemplatesParams) SetZoneid ¶
func (p *ListTemplatesParams) SetZoneid(v string)
type ListTemplatesResponse ¶
type ListTrafficMonitorsParams ¶
type ListTrafficMonitorsParams struct {
// contains filtered or unexported fields
}
func (*ListTrafficMonitorsParams) SetKeyword ¶
func (p *ListTrafficMonitorsParams) SetKeyword(v string)
func (*ListTrafficMonitorsParams) SetPage ¶
func (p *ListTrafficMonitorsParams) SetPage(v int)
func (*ListTrafficMonitorsParams) SetPagesize ¶
func (p *ListTrafficMonitorsParams) SetPagesize(v int)
func (*ListTrafficMonitorsParams) SetZoneid ¶
func (p *ListTrafficMonitorsParams) SetZoneid(v string)
type ListTrafficMonitorsResponse ¶
type ListTrafficMonitorsResponse struct { Count int `json:"count"` TrafficMonitors []*TrafficMonitor `json:"trafficmonitor"` }
type ListTrafficTypeImplementorsParams ¶
type ListTrafficTypeImplementorsParams struct {
// contains filtered or unexported fields
}
func (*ListTrafficTypeImplementorsParams) SetKeyword ¶
func (p *ListTrafficTypeImplementorsParams) SetKeyword(v string)
func (*ListTrafficTypeImplementorsParams) SetPage ¶
func (p *ListTrafficTypeImplementorsParams) SetPage(v int)
func (*ListTrafficTypeImplementorsParams) SetPagesize ¶
func (p *ListTrafficTypeImplementorsParams) SetPagesize(v int)
func (*ListTrafficTypeImplementorsParams) SetTraffictype ¶
func (p *ListTrafficTypeImplementorsParams) SetTraffictype(v string)
type ListTrafficTypeImplementorsResponse ¶
type ListTrafficTypeImplementorsResponse struct { Count int `json:"count"` TrafficTypeImplementors []*TrafficTypeImplementor `json:"traffictypeimplementor"` }
type ListTrafficTypesParams ¶
type ListTrafficTypesParams struct {
// contains filtered or unexported fields
}
func (*ListTrafficTypesParams) SetKeyword ¶
func (p *ListTrafficTypesParams) SetKeyword(v string)
func (*ListTrafficTypesParams) SetPage ¶
func (p *ListTrafficTypesParams) SetPage(v int)
func (*ListTrafficTypesParams) SetPagesize ¶
func (p *ListTrafficTypesParams) SetPagesize(v int)
func (*ListTrafficTypesParams) SetPhysicalnetworkid ¶
func (p *ListTrafficTypesParams) SetPhysicalnetworkid(v string)
type ListTrafficTypesResponse ¶
type ListTrafficTypesResponse struct { Count int `json:"count"` TrafficTypes []*TrafficType `json:"traffictype"` }
type ListUcsBladesParams ¶
type ListUcsBladesParams struct {
// contains filtered or unexported fields
}
func (*ListUcsBladesParams) SetKeyword ¶
func (p *ListUcsBladesParams) SetKeyword(v string)
func (*ListUcsBladesParams) SetPage ¶
func (p *ListUcsBladesParams) SetPage(v int)
func (*ListUcsBladesParams) SetPagesize ¶
func (p *ListUcsBladesParams) SetPagesize(v int)
func (*ListUcsBladesParams) SetUcsmanagerid ¶
func (p *ListUcsBladesParams) SetUcsmanagerid(v string)
type ListUcsBladesResponse ¶
type ListUcsManagersParams ¶
type ListUcsManagersParams struct {
// contains filtered or unexported fields
}
func (*ListUcsManagersParams) SetId ¶
func (p *ListUcsManagersParams) SetId(v string)
func (*ListUcsManagersParams) SetKeyword ¶
func (p *ListUcsManagersParams) SetKeyword(v string)
func (*ListUcsManagersParams) SetPage ¶
func (p *ListUcsManagersParams) SetPage(v int)
func (*ListUcsManagersParams) SetPagesize ¶
func (p *ListUcsManagersParams) SetPagesize(v int)
func (*ListUcsManagersParams) SetZoneid ¶
func (p *ListUcsManagersParams) SetZoneid(v string)
type ListUcsManagersResponse ¶
type ListUcsManagersResponse struct { Count int `json:"count"` UcsManagers []*UcsManager `json:"ucsmanager"` }
type ListUcsProfilesParams ¶
type ListUcsProfilesParams struct {
// contains filtered or unexported fields
}
func (*ListUcsProfilesParams) SetKeyword ¶
func (p *ListUcsProfilesParams) SetKeyword(v string)
func (*ListUcsProfilesParams) SetPage ¶
func (p *ListUcsProfilesParams) SetPage(v int)
func (*ListUcsProfilesParams) SetPagesize ¶
func (p *ListUcsProfilesParams) SetPagesize(v int)
func (*ListUcsProfilesParams) SetUcsmanagerid ¶
func (p *ListUcsProfilesParams) SetUcsmanagerid(v string)
type ListUcsProfilesResponse ¶
type ListUcsProfilesResponse struct { Count int `json:"count"` UcsProfiles []*UcsProfile `json:"ucsprofile"` }
type ListUcsTemplatesParams ¶
type ListUcsTemplatesParams struct {
// contains filtered or unexported fields
}
func (*ListUcsTemplatesParams) SetKeyword ¶
func (p *ListUcsTemplatesParams) SetKeyword(v string)
func (*ListUcsTemplatesParams) SetPage ¶
func (p *ListUcsTemplatesParams) SetPage(v int)
func (*ListUcsTemplatesParams) SetPagesize ¶
func (p *ListUcsTemplatesParams) SetPagesize(v int)
func (*ListUcsTemplatesParams) SetUcsmanagerid ¶
func (p *ListUcsTemplatesParams) SetUcsmanagerid(v string)
type ListUcsTemplatesResponse ¶
type ListUcsTemplatesResponse struct { Count int `json:"count"` UcsTemplates []*UcsTemplate `json:"ucstemplate"` }
type ListUsageRecordsParams ¶
type ListUsageRecordsParams struct {
// contains filtered or unexported fields
}
func (*ListUsageRecordsParams) SetAccount ¶
func (p *ListUsageRecordsParams) SetAccount(v string)
func (*ListUsageRecordsParams) SetAccountid ¶
func (p *ListUsageRecordsParams) SetAccountid(v string)
func (*ListUsageRecordsParams) SetDomainid ¶
func (p *ListUsageRecordsParams) SetDomainid(v string)
func (*ListUsageRecordsParams) SetEnddate ¶
func (p *ListUsageRecordsParams) SetEnddate(v string)
func (*ListUsageRecordsParams) SetKeyword ¶
func (p *ListUsageRecordsParams) SetKeyword(v string)
func (*ListUsageRecordsParams) SetPage ¶
func (p *ListUsageRecordsParams) SetPage(v int)
func (*ListUsageRecordsParams) SetPagesize ¶
func (p *ListUsageRecordsParams) SetPagesize(v int)
func (*ListUsageRecordsParams) SetProjectid ¶
func (p *ListUsageRecordsParams) SetProjectid(v string)
func (*ListUsageRecordsParams) SetStartdate ¶
func (p *ListUsageRecordsParams) SetStartdate(v string)
func (*ListUsageRecordsParams) SetType ¶
func (p *ListUsageRecordsParams) SetType(v int)
type ListUsageRecordsResponse ¶
type ListUsageRecordsResponse struct { Count int `json:"count"` UsageRecords []*UsageRecord `json:"usagerecord"` }
type ListUsageTypesParams ¶
type ListUsageTypesParams struct {
// contains filtered or unexported fields
}
type ListUsageTypesResponse ¶
type ListUsersParams ¶
type ListUsersParams struct {
// contains filtered or unexported fields
}
func (*ListUsersParams) SetAccount ¶
func (p *ListUsersParams) SetAccount(v string)
func (*ListUsersParams) SetAccounttype ¶
func (p *ListUsersParams) SetAccounttype(v int)
func (*ListUsersParams) SetDomainid ¶
func (p *ListUsersParams) SetDomainid(v string)
func (*ListUsersParams) SetId ¶
func (p *ListUsersParams) SetId(v string)
func (*ListUsersParams) SetIsrecursive ¶
func (p *ListUsersParams) SetIsrecursive(v bool)
func (*ListUsersParams) SetKeyword ¶
func (p *ListUsersParams) SetKeyword(v string)
func (*ListUsersParams) SetListall ¶
func (p *ListUsersParams) SetListall(v bool)
func (*ListUsersParams) SetPage ¶
func (p *ListUsersParams) SetPage(v int)
func (*ListUsersParams) SetPagesize ¶
func (p *ListUsersParams) SetPagesize(v int)
func (*ListUsersParams) SetState ¶
func (p *ListUsersParams) SetState(v string)
func (*ListUsersParams) SetUsername ¶
func (p *ListUsersParams) SetUsername(v string)
type ListUsersResponse ¶
type ListVMSnapshotParams ¶
type ListVMSnapshotParams struct {
// contains filtered or unexported fields
}
func (*ListVMSnapshotParams) SetAccount ¶
func (p *ListVMSnapshotParams) SetAccount(v string)
func (*ListVMSnapshotParams) SetDomainid ¶
func (p *ListVMSnapshotParams) SetDomainid(v string)
func (*ListVMSnapshotParams) SetIsrecursive ¶
func (p *ListVMSnapshotParams) SetIsrecursive(v bool)
func (*ListVMSnapshotParams) SetKeyword ¶
func (p *ListVMSnapshotParams) SetKeyword(v string)
func (*ListVMSnapshotParams) SetListall ¶
func (p *ListVMSnapshotParams) SetListall(v bool)
func (*ListVMSnapshotParams) SetName ¶
func (p *ListVMSnapshotParams) SetName(v string)
func (*ListVMSnapshotParams) SetPage ¶
func (p *ListVMSnapshotParams) SetPage(v int)
func (*ListVMSnapshotParams) SetPagesize ¶
func (p *ListVMSnapshotParams) SetPagesize(v int)
func (*ListVMSnapshotParams) SetProjectid ¶
func (p *ListVMSnapshotParams) SetProjectid(v string)
func (*ListVMSnapshotParams) SetState ¶
func (p *ListVMSnapshotParams) SetState(v string)
func (*ListVMSnapshotParams) SetTags ¶
func (p *ListVMSnapshotParams) SetTags(v map[string]string)
func (*ListVMSnapshotParams) SetVirtualmachineid ¶
func (p *ListVMSnapshotParams) SetVirtualmachineid(v string)
func (*ListVMSnapshotParams) SetVmsnapshotid ¶
func (p *ListVMSnapshotParams) SetVmsnapshotid(v string)
type ListVMSnapshotResponse ¶
type ListVMSnapshotResponse struct { Count int `json:"count"` VMSnapshot []*VMSnapshot `json:"vmsnapshot"` }
type ListVPCOfferingsParams ¶
type ListVPCOfferingsParams struct {
// contains filtered or unexported fields
}
func (*ListVPCOfferingsParams) SetDisplaytext ¶
func (p *ListVPCOfferingsParams) SetDisplaytext(v string)
func (*ListVPCOfferingsParams) SetId ¶
func (p *ListVPCOfferingsParams) SetId(v string)
func (*ListVPCOfferingsParams) SetIsdefault ¶
func (p *ListVPCOfferingsParams) SetIsdefault(v bool)
func (*ListVPCOfferingsParams) SetKeyword ¶
func (p *ListVPCOfferingsParams) SetKeyword(v string)
func (*ListVPCOfferingsParams) SetName ¶
func (p *ListVPCOfferingsParams) SetName(v string)
func (*ListVPCOfferingsParams) SetPage ¶
func (p *ListVPCOfferingsParams) SetPage(v int)
func (*ListVPCOfferingsParams) SetPagesize ¶
func (p *ListVPCOfferingsParams) SetPagesize(v int)
func (*ListVPCOfferingsParams) SetState ¶
func (p *ListVPCOfferingsParams) SetState(v string)
func (*ListVPCOfferingsParams) SetSupportedservices ¶
func (p *ListVPCOfferingsParams) SetSupportedservices(v []string)
type ListVPCOfferingsResponse ¶
type ListVPCOfferingsResponse struct { Count int `json:"count"` VPCOfferings []*VPCOffering `json:"vpcoffering"` }
type ListVPCsParams ¶
type ListVPCsParams struct {
// contains filtered or unexported fields
}
func (*ListVPCsParams) SetAccount ¶
func (p *ListVPCsParams) SetAccount(v string)
func (*ListVPCsParams) SetCidr ¶
func (p *ListVPCsParams) SetCidr(v string)
func (*ListVPCsParams) SetDisplaytext ¶
func (p *ListVPCsParams) SetDisplaytext(v string)
func (*ListVPCsParams) SetDomainid ¶
func (p *ListVPCsParams) SetDomainid(v string)
func (*ListVPCsParams) SetId ¶
func (p *ListVPCsParams) SetId(v string)
func (*ListVPCsParams) SetIsrecursive ¶
func (p *ListVPCsParams) SetIsrecursive(v bool)
func (*ListVPCsParams) SetKeyword ¶
func (p *ListVPCsParams) SetKeyword(v string)
func (*ListVPCsParams) SetListall ¶
func (p *ListVPCsParams) SetListall(v bool)
func (*ListVPCsParams) SetName ¶
func (p *ListVPCsParams) SetName(v string)
func (*ListVPCsParams) SetPage ¶
func (p *ListVPCsParams) SetPage(v int)
func (*ListVPCsParams) SetPagesize ¶
func (p *ListVPCsParams) SetPagesize(v int)
func (*ListVPCsParams) SetProjectid ¶
func (p *ListVPCsParams) SetProjectid(v string)
func (*ListVPCsParams) SetRestartrequired ¶
func (p *ListVPCsParams) SetRestartrequired(v bool)
func (*ListVPCsParams) SetState ¶
func (p *ListVPCsParams) SetState(v string)
func (*ListVPCsParams) SetSupportedservices ¶
func (p *ListVPCsParams) SetSupportedservices(v []string)
func (*ListVPCsParams) SetTags ¶
func (p *ListVPCsParams) SetTags(v map[string]string)
func (*ListVPCsParams) SetVpcofferingid ¶
func (p *ListVPCsParams) SetVpcofferingid(v string)
func (*ListVPCsParams) SetZoneid ¶
func (p *ListVPCsParams) SetZoneid(v string)
type ListVPCsResponse ¶
type ListVirtualMachinesParams ¶
type ListVirtualMachinesParams struct {
// contains filtered or unexported fields
}
func (*ListVirtualMachinesParams) SetAccount ¶
func (p *ListVirtualMachinesParams) SetAccount(v string)
func (*ListVirtualMachinesParams) SetAffinitygroupid ¶
func (p *ListVirtualMachinesParams) SetAffinitygroupid(v string)
func (*ListVirtualMachinesParams) SetDetails ¶
func (p *ListVirtualMachinesParams) SetDetails(v []string)
func (*ListVirtualMachinesParams) SetDomainid ¶
func (p *ListVirtualMachinesParams) SetDomainid(v string)
func (*ListVirtualMachinesParams) SetForvirtualnetwork ¶
func (p *ListVirtualMachinesParams) SetForvirtualnetwork(v bool)
func (*ListVirtualMachinesParams) SetGroupid ¶
func (p *ListVirtualMachinesParams) SetGroupid(v string)
func (*ListVirtualMachinesParams) SetHostid ¶
func (p *ListVirtualMachinesParams) SetHostid(v string)
func (*ListVirtualMachinesParams) SetHypervisor ¶
func (p *ListVirtualMachinesParams) SetHypervisor(v string)
func (*ListVirtualMachinesParams) SetId ¶
func (p *ListVirtualMachinesParams) SetId(v string)
func (*ListVirtualMachinesParams) SetIsoid ¶
func (p *ListVirtualMachinesParams) SetIsoid(v string)
func (*ListVirtualMachinesParams) SetIsrecursive ¶
func (p *ListVirtualMachinesParams) SetIsrecursive(v bool)
func (*ListVirtualMachinesParams) SetKeyword ¶
func (p *ListVirtualMachinesParams) SetKeyword(v string)
func (*ListVirtualMachinesParams) SetListall ¶
func (p *ListVirtualMachinesParams) SetListall(v bool)
func (*ListVirtualMachinesParams) SetName ¶
func (p *ListVirtualMachinesParams) SetName(v string)
func (*ListVirtualMachinesParams) SetNetworkid ¶
func (p *ListVirtualMachinesParams) SetNetworkid(v string)
func (*ListVirtualMachinesParams) SetPage ¶
func (p *ListVirtualMachinesParams) SetPage(v int)
func (*ListVirtualMachinesParams) SetPagesize ¶
func (p *ListVirtualMachinesParams) SetPagesize(v int)
func (*ListVirtualMachinesParams) SetPodid ¶
func (p *ListVirtualMachinesParams) SetPodid(v string)
func (*ListVirtualMachinesParams) SetProjectid ¶
func (p *ListVirtualMachinesParams) SetProjectid(v string)
func (*ListVirtualMachinesParams) SetState ¶
func (p *ListVirtualMachinesParams) SetState(v string)
func (*ListVirtualMachinesParams) SetStorageid ¶
func (p *ListVirtualMachinesParams) SetStorageid(v string)
func (*ListVirtualMachinesParams) SetTags ¶
func (p *ListVirtualMachinesParams) SetTags(v map[string]string)
func (*ListVirtualMachinesParams) SetTemplateid ¶
func (p *ListVirtualMachinesParams) SetTemplateid(v string)
func (*ListVirtualMachinesParams) SetVpcid ¶
func (p *ListVirtualMachinesParams) SetVpcid(v string)
func (*ListVirtualMachinesParams) SetZoneid ¶
func (p *ListVirtualMachinesParams) SetZoneid(v string)
type ListVirtualMachinesResponse ¶
type ListVirtualMachinesResponse struct { Count int `json:"count"` VirtualMachines []*VirtualMachine `json:"virtualmachine"` }
type ListVirtualRouterElementsParams ¶
type ListVirtualRouterElementsParams struct {
// contains filtered or unexported fields
}
func (*ListVirtualRouterElementsParams) SetEnabled ¶
func (p *ListVirtualRouterElementsParams) SetEnabled(v bool)
func (*ListVirtualRouterElementsParams) SetId ¶
func (p *ListVirtualRouterElementsParams) SetId(v string)
func (*ListVirtualRouterElementsParams) SetKeyword ¶
func (p *ListVirtualRouterElementsParams) SetKeyword(v string)
func (*ListVirtualRouterElementsParams) SetNspid ¶
func (p *ListVirtualRouterElementsParams) SetNspid(v string)
func (*ListVirtualRouterElementsParams) SetPage ¶
func (p *ListVirtualRouterElementsParams) SetPage(v int)
func (*ListVirtualRouterElementsParams) SetPagesize ¶
func (p *ListVirtualRouterElementsParams) SetPagesize(v int)
type ListVirtualRouterElementsResponse ¶
type ListVirtualRouterElementsResponse struct { Count int `json:"count"` VirtualRouterElements []*VirtualRouterElement `json:"virtualrouterelement"` }
type ListVlanIpRangesParams ¶
type ListVlanIpRangesParams struct {
// contains filtered or unexported fields
}
func (*ListVlanIpRangesParams) SetAccount ¶
func (p *ListVlanIpRangesParams) SetAccount(v string)
func (*ListVlanIpRangesParams) SetDomainid ¶
func (p *ListVlanIpRangesParams) SetDomainid(v string)
func (*ListVlanIpRangesParams) SetForvirtualnetwork ¶
func (p *ListVlanIpRangesParams) SetForvirtualnetwork(v bool)
func (*ListVlanIpRangesParams) SetId ¶
func (p *ListVlanIpRangesParams) SetId(v string)
func (*ListVlanIpRangesParams) SetKeyword ¶
func (p *ListVlanIpRangesParams) SetKeyword(v string)
func (*ListVlanIpRangesParams) SetNetworkid ¶
func (p *ListVlanIpRangesParams) SetNetworkid(v string)
func (*ListVlanIpRangesParams) SetPage ¶
func (p *ListVlanIpRangesParams) SetPage(v int)
func (*ListVlanIpRangesParams) SetPagesize ¶
func (p *ListVlanIpRangesParams) SetPagesize(v int)
func (*ListVlanIpRangesParams) SetPhysicalnetworkid ¶
func (p *ListVlanIpRangesParams) SetPhysicalnetworkid(v string)
func (*ListVlanIpRangesParams) SetPodid ¶
func (p *ListVlanIpRangesParams) SetPodid(v string)
func (*ListVlanIpRangesParams) SetProjectid ¶
func (p *ListVlanIpRangesParams) SetProjectid(v string)
func (*ListVlanIpRangesParams) SetVlan ¶
func (p *ListVlanIpRangesParams) SetVlan(v string)
func (*ListVlanIpRangesParams) SetZoneid ¶
func (p *ListVlanIpRangesParams) SetZoneid(v string)
type ListVlanIpRangesResponse ¶
type ListVlanIpRangesResponse struct { Count int `json:"count"` VlanIpRanges []*VlanIpRange `json:"vlaniprange"` }
type ListVmwareDcsParams ¶
type ListVmwareDcsParams struct {
// contains filtered or unexported fields
}
func (*ListVmwareDcsParams) SetKeyword ¶
func (p *ListVmwareDcsParams) SetKeyword(v string)
func (*ListVmwareDcsParams) SetPage ¶
func (p *ListVmwareDcsParams) SetPage(v int)
func (*ListVmwareDcsParams) SetPagesize ¶
func (p *ListVmwareDcsParams) SetPagesize(v int)
func (*ListVmwareDcsParams) SetZoneid ¶
func (p *ListVmwareDcsParams) SetZoneid(v string)
type ListVmwareDcsResponse ¶
type ListVolumesParams ¶
type ListVolumesParams struct {
// contains filtered or unexported fields
}
func (*ListVolumesParams) SetAccount ¶
func (p *ListVolumesParams) SetAccount(v string)
func (*ListVolumesParams) SetDomainid ¶
func (p *ListVolumesParams) SetDomainid(v string)
func (*ListVolumesParams) SetHostid ¶
func (p *ListVolumesParams) SetHostid(v string)
func (*ListVolumesParams) SetId ¶
func (p *ListVolumesParams) SetId(v string)
func (*ListVolumesParams) SetIsrecursive ¶
func (p *ListVolumesParams) SetIsrecursive(v bool)
func (*ListVolumesParams) SetKeyword ¶
func (p *ListVolumesParams) SetKeyword(v string)
func (*ListVolumesParams) SetListall ¶
func (p *ListVolumesParams) SetListall(v bool)
func (*ListVolumesParams) SetName ¶
func (p *ListVolumesParams) SetName(v string)
func (*ListVolumesParams) SetPage ¶
func (p *ListVolumesParams) SetPage(v int)
func (*ListVolumesParams) SetPagesize ¶
func (p *ListVolumesParams) SetPagesize(v int)
func (*ListVolumesParams) SetPodid ¶
func (p *ListVolumesParams) SetPodid(v string)
func (*ListVolumesParams) SetProjectid ¶
func (p *ListVolumesParams) SetProjectid(v string)
func (*ListVolumesParams) SetStorageid ¶
func (p *ListVolumesParams) SetStorageid(v string)
func (*ListVolumesParams) SetTags ¶
func (p *ListVolumesParams) SetTags(v map[string]string)
func (*ListVolumesParams) SetType ¶
func (p *ListVolumesParams) SetType(v string)
func (*ListVolumesParams) SetVirtualmachineid ¶
func (p *ListVolumesParams) SetVirtualmachineid(v string)
func (*ListVolumesParams) SetZoneid ¶
func (p *ListVolumesParams) SetZoneid(v string)
type ListVolumesResponse ¶
type ListVpnConnectionsParams ¶
type ListVpnConnectionsParams struct {
// contains filtered or unexported fields
}
func (*ListVpnConnectionsParams) SetAccount ¶
func (p *ListVpnConnectionsParams) SetAccount(v string)
func (*ListVpnConnectionsParams) SetDomainid ¶
func (p *ListVpnConnectionsParams) SetDomainid(v string)
func (*ListVpnConnectionsParams) SetId ¶
func (p *ListVpnConnectionsParams) SetId(v string)
func (*ListVpnConnectionsParams) SetIsrecursive ¶
func (p *ListVpnConnectionsParams) SetIsrecursive(v bool)
func (*ListVpnConnectionsParams) SetKeyword ¶
func (p *ListVpnConnectionsParams) SetKeyword(v string)
func (*ListVpnConnectionsParams) SetListall ¶
func (p *ListVpnConnectionsParams) SetListall(v bool)
func (*ListVpnConnectionsParams) SetPage ¶
func (p *ListVpnConnectionsParams) SetPage(v int)
func (*ListVpnConnectionsParams) SetPagesize ¶
func (p *ListVpnConnectionsParams) SetPagesize(v int)
func (*ListVpnConnectionsParams) SetProjectid ¶
func (p *ListVpnConnectionsParams) SetProjectid(v string)
func (*ListVpnConnectionsParams) SetVpcid ¶
func (p *ListVpnConnectionsParams) SetVpcid(v string)
type ListVpnConnectionsResponse ¶
type ListVpnConnectionsResponse struct { Count int `json:"count"` VpnConnections []*VpnConnection `json:"vpnconnection"` }
type ListVpnCustomerGatewaysParams ¶
type ListVpnCustomerGatewaysParams struct {
// contains filtered or unexported fields
}
func (*ListVpnCustomerGatewaysParams) SetAccount ¶
func (p *ListVpnCustomerGatewaysParams) SetAccount(v string)
func (*ListVpnCustomerGatewaysParams) SetDomainid ¶
func (p *ListVpnCustomerGatewaysParams) SetDomainid(v string)
func (*ListVpnCustomerGatewaysParams) SetId ¶
func (p *ListVpnCustomerGatewaysParams) SetId(v string)
func (*ListVpnCustomerGatewaysParams) SetIsrecursive ¶
func (p *ListVpnCustomerGatewaysParams) SetIsrecursive(v bool)
func (*ListVpnCustomerGatewaysParams) SetKeyword ¶
func (p *ListVpnCustomerGatewaysParams) SetKeyword(v string)
func (*ListVpnCustomerGatewaysParams) SetListall ¶
func (p *ListVpnCustomerGatewaysParams) SetListall(v bool)
func (*ListVpnCustomerGatewaysParams) SetPage ¶
func (p *ListVpnCustomerGatewaysParams) SetPage(v int)
func (*ListVpnCustomerGatewaysParams) SetPagesize ¶
func (p *ListVpnCustomerGatewaysParams) SetPagesize(v int)
func (*ListVpnCustomerGatewaysParams) SetProjectid ¶
func (p *ListVpnCustomerGatewaysParams) SetProjectid(v string)
type ListVpnCustomerGatewaysResponse ¶
type ListVpnCustomerGatewaysResponse struct { Count int `json:"count"` VpnCustomerGateways []*VpnCustomerGateway `json:"vpncustomergateway"` }
type ListVpnGatewaysParams ¶
type ListVpnGatewaysParams struct {
// contains filtered or unexported fields
}
func (*ListVpnGatewaysParams) SetAccount ¶
func (p *ListVpnGatewaysParams) SetAccount(v string)
func (*ListVpnGatewaysParams) SetDomainid ¶
func (p *ListVpnGatewaysParams) SetDomainid(v string)
func (*ListVpnGatewaysParams) SetId ¶
func (p *ListVpnGatewaysParams) SetId(v string)
func (*ListVpnGatewaysParams) SetIsrecursive ¶
func (p *ListVpnGatewaysParams) SetIsrecursive(v bool)
func (*ListVpnGatewaysParams) SetKeyword ¶
func (p *ListVpnGatewaysParams) SetKeyword(v string)
func (*ListVpnGatewaysParams) SetListall ¶
func (p *ListVpnGatewaysParams) SetListall(v bool)
func (*ListVpnGatewaysParams) SetPage ¶
func (p *ListVpnGatewaysParams) SetPage(v int)
func (*ListVpnGatewaysParams) SetPagesize ¶
func (p *ListVpnGatewaysParams) SetPagesize(v int)
func (*ListVpnGatewaysParams) SetProjectid ¶
func (p *ListVpnGatewaysParams) SetProjectid(v string)
func (*ListVpnGatewaysParams) SetVpcid ¶
func (p *ListVpnGatewaysParams) SetVpcid(v string)
type ListVpnGatewaysResponse ¶
type ListVpnGatewaysResponse struct { Count int `json:"count"` VpnGateways []*VpnGateway `json:"vpngateway"` }
type ListVpnUsersParams ¶
type ListVpnUsersParams struct {
// contains filtered or unexported fields
}
func (*ListVpnUsersParams) SetAccount ¶
func (p *ListVpnUsersParams) SetAccount(v string)
func (*ListVpnUsersParams) SetDomainid ¶
func (p *ListVpnUsersParams) SetDomainid(v string)
func (*ListVpnUsersParams) SetId ¶
func (p *ListVpnUsersParams) SetId(v string)
func (*ListVpnUsersParams) SetIsrecursive ¶
func (p *ListVpnUsersParams) SetIsrecursive(v bool)
func (*ListVpnUsersParams) SetKeyword ¶
func (p *ListVpnUsersParams) SetKeyword(v string)
func (*ListVpnUsersParams) SetListall ¶
func (p *ListVpnUsersParams) SetListall(v bool)
func (*ListVpnUsersParams) SetPage ¶
func (p *ListVpnUsersParams) SetPage(v int)
func (*ListVpnUsersParams) SetPagesize ¶
func (p *ListVpnUsersParams) SetPagesize(v int)
func (*ListVpnUsersParams) SetProjectid ¶
func (p *ListVpnUsersParams) SetProjectid(v string)
func (*ListVpnUsersParams) SetUsername ¶
func (p *ListVpnUsersParams) SetUsername(v string)
type ListVpnUsersResponse ¶
type ListZonesParams ¶
type ListZonesParams struct {
// contains filtered or unexported fields
}
func (*ListZonesParams) SetAvailable ¶
func (p *ListZonesParams) SetAvailable(v bool)
func (*ListZonesParams) SetDomainid ¶
func (p *ListZonesParams) SetDomainid(v string)
func (*ListZonesParams) SetId ¶
func (p *ListZonesParams) SetId(v string)
func (*ListZonesParams) SetKeyword ¶
func (p *ListZonesParams) SetKeyword(v string)
func (*ListZonesParams) SetName ¶
func (p *ListZonesParams) SetName(v string)
func (*ListZonesParams) SetNetworktype ¶
func (p *ListZonesParams) SetNetworktype(v string)
func (*ListZonesParams) SetPage ¶
func (p *ListZonesParams) SetPage(v int)
func (*ListZonesParams) SetPagesize ¶
func (p *ListZonesParams) SetPagesize(v int)
func (*ListZonesParams) SetShowcapacities ¶
func (p *ListZonesParams) SetShowcapacities(v bool)
func (*ListZonesParams) SetTags ¶
func (p *ListZonesParams) SetTags(v map[string]string)
type ListZonesResponse ¶
type LoadBalancer ¶
type LoadBalancer struct { Tags []struct { Account string `json:"account,omitempty"` Value string `json:"value,omitempty"` Customer string `json:"customer,omitempty"` Key string `json:"key,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"tags,omitempty"` Project string `json:"project,omitempty"` Sourceipaddressnetworkid string `json:"sourceipaddressnetworkid,omitempty"` Projectid string `json:"projectid,omitempty"` Loadbalancerinstance []struct { Name string `json:"name,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Id string `json:"id,omitempty"` State string `json:"state,omitempty"` } `json:"loadbalancerinstance,omitempty"` Sourceipaddress string `json:"sourceipaddress,omitempty"` Domain string `json:"domain,omitempty"` Description string `json:"description,omitempty"` Networkid string `json:"networkid,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Loadbalancerrule []struct { State string `json:"state,omitempty"` Sourceport int `json:"sourceport,omitempty"` Instanceport int `json:"instanceport,omitempty"` } `json:"loadbalancerrule,omitempty"` Id string `json:"id,omitempty"` Algorithm string `json:"algorithm,omitempty"` Name string `json:"name,omitempty"` }
type LoadBalancerRule ¶
type LoadBalancerRule struct { Tags []struct { Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Customer string `json:"customer,omitempty"` Domain string `json:"domain,omitempty"` Resourceid string `json:"resourceid,omitempty"` Value string `json:"value,omitempty"` Key string `json:"key,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` } `json:"tags,omitempty"` Id string `json:"id,omitempty"` Publicport string `json:"publicport,omitempty"` Networkid string `json:"networkid,omitempty"` Protocol string `json:"protocol,omitempty"` Name string `json:"name,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Zoneid string `json:"zoneid,omitempty"` Publicip string `json:"publicip,omitempty"` Privateport string `json:"privateport,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Algorithm string `json:"algorithm,omitempty"` Domain string `json:"domain,omitempty"` Publicipid string `json:"publicipid,omitempty"` Description string `json:"description,omitempty"` Account string `json:"account,omitempty"` State string `json:"state,omitempty"` Projectid string `json:"projectid,omitempty"` }
type LoadBalancerRuleInstance ¶
type LoadBalancerRuleInstance struct { Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Id string `json:"id,omitempty"` Nic []struct { Type string `json:"type,omitempty"` Ip6address string `json:"ip6address,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Gateway string `json:"gateway,omitempty"` Networkid string `json:"networkid,omitempty"` Traffictype string `json:"traffictype,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Macaddress string `json:"macaddress,omitempty"` Netmask string `json:"netmask,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Id string `json:"id,omitempty"` Networkname string `json:"networkname,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` } `json:"nic,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Domainid string `json:"domainid,omitempty"` Affinitygroup []struct { VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Description string `json:"description,omitempty"` Account string `json:"account,omitempty"` Name string `json:"name,omitempty"` Domain string `json:"domain,omitempty"` Id string `json:"id,omitempty"` Type string `json:"type,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"affinitygroup,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Name string `json:"name,omitempty"` Zoneid string `json:"zoneid,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Keypair string `json:"keypair,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Projectid string `json:"projectid,omitempty"` Zonename string `json:"zonename,omitempty"` Servicestate string `json:"servicestate,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Haenable bool `json:"haenable,omitempty"` Hostid string `json:"hostid,omitempty"` Memory int `json:"memory,omitempty"` Project string `json:"project,omitempty"` Group string `json:"group,omitempty"` Templateid string `json:"templateid,omitempty"` Publicipid string `json:"publicipid,omitempty"` Diskioread int `json:"diskioread,omitempty"` Displayname string `json:"displayname,omitempty"` Hostname string `json:"hostname,omitempty"` Groupid string `json:"groupid,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Securitygroup []struct { Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Egressrule []struct { Protocol string `json:"protocol,omitempty"` Cidr string `json:"cidr,omitempty"` Endport int `json:"endport,omitempty"` Icmptype int `json:"icmptype,omitempty"` Startport int `json:"startport,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Ruleid string `json:"ruleid,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Account string `json:"account,omitempty"` } `json:"egressrule,omitempty"` Tags []struct { Resourcetype string `json:"resourcetype,omitempty"` Value string `json:"value,omitempty"` Customer string `json:"customer,omitempty"` Projectid string `json:"projectid,omitempty"` Project string `json:"project,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Key string `json:"key,omitempty"` Resourceid string `json:"resourceid,omitempty"` Domain string `json:"domain,omitempty"` } `json:"tags,omitempty"` Name string `json:"name,omitempty"` Projectid string `json:"projectid,omitempty"` Description string `json:"description,omitempty"` Id string `json:"id,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Ingressrule []struct { Securitygroupname string `json:"securitygroupname,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Icmptype int `json:"icmptype,omitempty"` Ruleid string `json:"ruleid,omitempty"` Endport int `json:"endport,omitempty"` Account string `json:"account,omitempty"` Cidr string `json:"cidr,omitempty"` Startport int `json:"startport,omitempty"` Protocol string `json:"protocol,omitempty"` } `json:"ingressrule,omitempty"` } `json:"securitygroup,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Guestosid string `json:"guestosid,omitempty"` Domain string `json:"domain,omitempty"` Isoname string `json:"isoname,omitempty"` Password string `json:"password,omitempty"` Account string `json:"account,omitempty"` Instancename string `json:"instancename,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Cpuused string `json:"cpuused,omitempty"` Created string `json:"created,omitempty"` State string `json:"state,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Isoid string `json:"isoid,omitempty"` Templatename string `json:"templatename,omitempty"` Tags []struct { Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` Key string `json:"key,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Value string `json:"value,omitempty"` Projectid string `json:"projectid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` } `json:"tags,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Details map[string]string `json:"details,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Publicip string `json:"publicip,omitempty"` }
type LoadBalancerService ¶
type LoadBalancerService struct {
// contains filtered or unexported fields
}
func NewLoadBalancerService ¶
func NewLoadBalancerService(cs *CloudStackClient) *LoadBalancerService
func (*LoadBalancerService) AddF5LoadBalancer ¶
func (s *LoadBalancerService) AddF5LoadBalancer(p *AddF5LoadBalancerParams) (*AddF5LoadBalancerResponse, error)
Adds a F5 BigIP load balancer device
func (*LoadBalancerService) AddNetscalerLoadBalancer ¶
func (s *LoadBalancerService) AddNetscalerLoadBalancer(p *AddNetscalerLoadBalancerParams) (*AddNetscalerLoadBalancerResponse, error)
Adds a netscaler load balancer device
func (*LoadBalancerService) AssignCertToLoadBalancer ¶
func (s *LoadBalancerService) AssignCertToLoadBalancer(p *AssignCertToLoadBalancerParams) (*AssignCertToLoadBalancerResponse, error)
Assigns a certificate to a Load Balancer Rule
func (*LoadBalancerService) AssignToGlobalLoadBalancerRule ¶
func (s *LoadBalancerService) AssignToGlobalLoadBalancerRule(p *AssignToGlobalLoadBalancerRuleParams) (*AssignToGlobalLoadBalancerRuleResponse, error)
Assign load balancer rule or list of load balancer rules to a global load balancer rules.
func (*LoadBalancerService) AssignToLoadBalancerRule ¶
func (s *LoadBalancerService) AssignToLoadBalancerRule(p *AssignToLoadBalancerRuleParams) (*AssignToLoadBalancerRuleResponse, error)
Assigns virtual machine or a list of virtual machines to a load balancer rule.
func (*LoadBalancerService) ConfigureF5LoadBalancer ¶
func (s *LoadBalancerService) ConfigureF5LoadBalancer(p *ConfigureF5LoadBalancerParams) (*ConfigureF5LoadBalancerResponse, error)
configures a F5 load balancer device
func (*LoadBalancerService) ConfigureNetscalerLoadBalancer ¶
func (s *LoadBalancerService) ConfigureNetscalerLoadBalancer(p *ConfigureNetscalerLoadBalancerParams) (*ConfigureNetscalerLoadBalancerResponse, error)
configures a netscaler load balancer device
func (*LoadBalancerService) CreateGlobalLoadBalancerRule ¶
func (s *LoadBalancerService) CreateGlobalLoadBalancerRule(p *CreateGlobalLoadBalancerRuleParams) (*CreateGlobalLoadBalancerRuleResponse, error)
Creates a global load balancer rule
func (*LoadBalancerService) CreateLBHealthCheckPolicy ¶
func (s *LoadBalancerService) CreateLBHealthCheckPolicy(p *CreateLBHealthCheckPolicyParams) (*CreateLBHealthCheckPolicyResponse, error)
Creates a Load Balancer healthcheck policy
func (*LoadBalancerService) CreateLBStickinessPolicy ¶
func (s *LoadBalancerService) CreateLBStickinessPolicy(p *CreateLBStickinessPolicyParams) (*CreateLBStickinessPolicyResponse, error)
Creates a Load Balancer stickiness policy
func (*LoadBalancerService) CreateLoadBalancer ¶
func (s *LoadBalancerService) CreateLoadBalancer(p *CreateLoadBalancerParams) (*CreateLoadBalancerResponse, error)
Creates a Load Balancer
func (*LoadBalancerService) CreateLoadBalancerRule ¶
func (s *LoadBalancerService) CreateLoadBalancerRule(p *CreateLoadBalancerRuleParams) (*CreateLoadBalancerRuleResponse, error)
Creates a load balancer rule
func (*LoadBalancerService) DeleteF5LoadBalancer ¶
func (s *LoadBalancerService) DeleteF5LoadBalancer(p *DeleteF5LoadBalancerParams) (*DeleteF5LoadBalancerResponse, error)
delete a F5 load balancer device
func (*LoadBalancerService) DeleteGlobalLoadBalancerRule ¶
func (s *LoadBalancerService) DeleteGlobalLoadBalancerRule(p *DeleteGlobalLoadBalancerRuleParams) (*DeleteGlobalLoadBalancerRuleResponse, error)
Deletes a global load balancer rule.
func (*LoadBalancerService) DeleteLBHealthCheckPolicy ¶
func (s *LoadBalancerService) DeleteLBHealthCheckPolicy(p *DeleteLBHealthCheckPolicyParams) (*DeleteLBHealthCheckPolicyResponse, error)
Deletes a load balancer HealthCheck policy.
func (*LoadBalancerService) DeleteLBStickinessPolicy ¶
func (s *LoadBalancerService) DeleteLBStickinessPolicy(p *DeleteLBStickinessPolicyParams) (*DeleteLBStickinessPolicyResponse, error)
Deletes a LB stickiness policy.
func (*LoadBalancerService) DeleteLoadBalancer ¶
func (s *LoadBalancerService) DeleteLoadBalancer(p *DeleteLoadBalancerParams) (*DeleteLoadBalancerResponse, error)
Deletes a load balancer
func (*LoadBalancerService) DeleteLoadBalancerRule ¶
func (s *LoadBalancerService) DeleteLoadBalancerRule(p *DeleteLoadBalancerRuleParams) (*DeleteLoadBalancerRuleResponse, error)
Deletes a load balancer rule.
func (*LoadBalancerService) DeleteNetscalerLoadBalancer ¶
func (s *LoadBalancerService) DeleteNetscalerLoadBalancer(p *DeleteNetscalerLoadBalancerParams) (*DeleteNetscalerLoadBalancerResponse, error)
delete a netscaler load balancer device
func (*LoadBalancerService) DeleteSslCert ¶
func (s *LoadBalancerService) DeleteSslCert(p *DeleteSslCertParams) (*DeleteSslCertResponse, error)
Delete a certificate to cloudstack
func (*LoadBalancerService) GetGlobalLoadBalancerRuleID ¶
func (s *LoadBalancerService) GetGlobalLoadBalancerRuleID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*LoadBalancerService) GetLoadBalancerID ¶
func (s *LoadBalancerService) GetLoadBalancerID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*LoadBalancerService) GetLoadBalancerRuleID ¶
func (s *LoadBalancerService) GetLoadBalancerRuleID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*LoadBalancerService) GetLoadBalancerRuleInstanceID ¶
func (s *LoadBalancerService) GetLoadBalancerRuleInstanceID(keyword string, id string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*LoadBalancerService) ListF5LoadBalancers ¶
func (s *LoadBalancerService) ListF5LoadBalancers(p *ListF5LoadBalancersParams) (*ListF5LoadBalancersResponse, error)
lists F5 load balancer devices
func (*LoadBalancerService) ListGlobalLoadBalancerRules ¶
func (s *LoadBalancerService) ListGlobalLoadBalancerRules(p *ListGlobalLoadBalancerRulesParams) (*ListGlobalLoadBalancerRulesResponse, error)
Lists load balancer rules.
func (*LoadBalancerService) ListLBHealthCheckPolicies ¶
func (s *LoadBalancerService) ListLBHealthCheckPolicies(p *ListLBHealthCheckPoliciesParams) (*ListLBHealthCheckPoliciesResponse, error)
Lists load balancer HealthCheck policies.
func (*LoadBalancerService) ListLBStickinessPolicies ¶
func (s *LoadBalancerService) ListLBStickinessPolicies(p *ListLBStickinessPoliciesParams) (*ListLBStickinessPoliciesResponse, error)
Lists LBStickiness policies.
func (*LoadBalancerService) ListLoadBalancerRuleInstances ¶
func (s *LoadBalancerService) ListLoadBalancerRuleInstances(p *ListLoadBalancerRuleInstancesParams) (*ListLoadBalancerRuleInstancesResponse, error)
List all virtual machine instances that are assigned to a load balancer rule.
func (*LoadBalancerService) ListLoadBalancerRules ¶
func (s *LoadBalancerService) ListLoadBalancerRules(p *ListLoadBalancerRulesParams) (*ListLoadBalancerRulesResponse, error)
Lists load balancer rules.
func (*LoadBalancerService) ListLoadBalancers ¶
func (s *LoadBalancerService) ListLoadBalancers(p *ListLoadBalancersParams) (*ListLoadBalancersResponse, error)
Lists Load Balancers
func (*LoadBalancerService) ListNetscalerLoadBalancers ¶
func (s *LoadBalancerService) ListNetscalerLoadBalancers(p *ListNetscalerLoadBalancersParams) (*ListNetscalerLoadBalancersResponse, error)
lists netscaler load balancer devices
func (*LoadBalancerService) ListSslCerts ¶
func (s *LoadBalancerService) ListSslCerts(p *ListSslCertsParams) (*ListSslCertsResponse, error)
Lists SSL certificates
func (*LoadBalancerService) NewAddF5LoadBalancerParams ¶
func (s *LoadBalancerService) NewAddF5LoadBalancerParams(networkdevicetype string, password string, physicalnetworkid string, url string, username string) *AddF5LoadBalancerParams
You should always use this function to get a new AddF5LoadBalancerParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewAddNetscalerLoadBalancerParams ¶
func (s *LoadBalancerService) NewAddNetscalerLoadBalancerParams(networkdevicetype string, password string, physicalnetworkid string, url string, username string) *AddNetscalerLoadBalancerParams
You should always use this function to get a new AddNetscalerLoadBalancerParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewAssignCertToLoadBalancerParams ¶
func (s *LoadBalancerService) NewAssignCertToLoadBalancerParams(certid string, lbruleid string) *AssignCertToLoadBalancerParams
You should always use this function to get a new AssignCertToLoadBalancerParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewAssignToGlobalLoadBalancerRuleParams ¶
func (s *LoadBalancerService) NewAssignToGlobalLoadBalancerRuleParams(id string, loadbalancerrulelist []string) *AssignToGlobalLoadBalancerRuleParams
You should always use this function to get a new AssignToGlobalLoadBalancerRuleParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewAssignToLoadBalancerRuleParams ¶
func (s *LoadBalancerService) NewAssignToLoadBalancerRuleParams(id string, virtualmachineids []string) *AssignToLoadBalancerRuleParams
You should always use this function to get a new AssignToLoadBalancerRuleParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewConfigureF5LoadBalancerParams ¶
func (s *LoadBalancerService) NewConfigureF5LoadBalancerParams(lbdeviceid string) *ConfigureF5LoadBalancerParams
You should always use this function to get a new ConfigureF5LoadBalancerParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewConfigureNetscalerLoadBalancerParams ¶
func (s *LoadBalancerService) NewConfigureNetscalerLoadBalancerParams(lbdeviceid string) *ConfigureNetscalerLoadBalancerParams
You should always use this function to get a new ConfigureNetscalerLoadBalancerParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewCreateGlobalLoadBalancerRuleParams ¶
func (s *LoadBalancerService) NewCreateGlobalLoadBalancerRuleParams(gslbdomainname string, gslbservicetype string, name string, regionid int) *CreateGlobalLoadBalancerRuleParams
You should always use this function to get a new CreateGlobalLoadBalancerRuleParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewCreateLBHealthCheckPolicyParams ¶
func (s *LoadBalancerService) NewCreateLBHealthCheckPolicyParams(lbruleid string) *CreateLBHealthCheckPolicyParams
You should always use this function to get a new CreateLBHealthCheckPolicyParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewCreateLBStickinessPolicyParams ¶
func (s *LoadBalancerService) NewCreateLBStickinessPolicyParams(lbruleid string, methodname string, name string) *CreateLBStickinessPolicyParams
You should always use this function to get a new CreateLBStickinessPolicyParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewCreateLoadBalancerParams ¶
func (s *LoadBalancerService) NewCreateLoadBalancerParams(algorithm string, instanceport int, name string, networkid string, scheme string, sourceipaddressnetworkid string, sourceport int) *CreateLoadBalancerParams
You should always use this function to get a new CreateLoadBalancerParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewCreateLoadBalancerRuleParams ¶
func (s *LoadBalancerService) NewCreateLoadBalancerRuleParams(algorithm string, name string, privateport int, publicport int) *CreateLoadBalancerRuleParams
You should always use this function to get a new CreateLoadBalancerRuleParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewDeleteF5LoadBalancerParams ¶
func (s *LoadBalancerService) NewDeleteF5LoadBalancerParams(lbdeviceid string) *DeleteF5LoadBalancerParams
You should always use this function to get a new DeleteF5LoadBalancerParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewDeleteGlobalLoadBalancerRuleParams ¶
func (s *LoadBalancerService) NewDeleteGlobalLoadBalancerRuleParams(id string) *DeleteGlobalLoadBalancerRuleParams
You should always use this function to get a new DeleteGlobalLoadBalancerRuleParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewDeleteLBHealthCheckPolicyParams ¶
func (s *LoadBalancerService) NewDeleteLBHealthCheckPolicyParams(id string) *DeleteLBHealthCheckPolicyParams
You should always use this function to get a new DeleteLBHealthCheckPolicyParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewDeleteLBStickinessPolicyParams ¶
func (s *LoadBalancerService) NewDeleteLBStickinessPolicyParams(id string) *DeleteLBStickinessPolicyParams
You should always use this function to get a new DeleteLBStickinessPolicyParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewDeleteLoadBalancerParams ¶
func (s *LoadBalancerService) NewDeleteLoadBalancerParams(id string) *DeleteLoadBalancerParams
You should always use this function to get a new DeleteLoadBalancerParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewDeleteLoadBalancerRuleParams ¶
func (s *LoadBalancerService) NewDeleteLoadBalancerRuleParams(id string) *DeleteLoadBalancerRuleParams
You should always use this function to get a new DeleteLoadBalancerRuleParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewDeleteNetscalerLoadBalancerParams ¶
func (s *LoadBalancerService) NewDeleteNetscalerLoadBalancerParams(lbdeviceid string) *DeleteNetscalerLoadBalancerParams
You should always use this function to get a new DeleteNetscalerLoadBalancerParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewDeleteSslCertParams ¶
func (s *LoadBalancerService) NewDeleteSslCertParams(id string) *DeleteSslCertParams
You should always use this function to get a new DeleteSslCertParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewListF5LoadBalancersParams ¶
func (s *LoadBalancerService) NewListF5LoadBalancersParams() *ListF5LoadBalancersParams
You should always use this function to get a new ListF5LoadBalancersParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewListGlobalLoadBalancerRulesParams ¶
func (s *LoadBalancerService) NewListGlobalLoadBalancerRulesParams() *ListGlobalLoadBalancerRulesParams
You should always use this function to get a new ListGlobalLoadBalancerRulesParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewListLBHealthCheckPoliciesParams ¶
func (s *LoadBalancerService) NewListLBHealthCheckPoliciesParams(lbruleid string) *ListLBHealthCheckPoliciesParams
You should always use this function to get a new ListLBHealthCheckPoliciesParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewListLBStickinessPoliciesParams ¶
func (s *LoadBalancerService) NewListLBStickinessPoliciesParams(lbruleid string) *ListLBStickinessPoliciesParams
You should always use this function to get a new ListLBStickinessPoliciesParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewListLoadBalancerRuleInstancesParams ¶
func (s *LoadBalancerService) NewListLoadBalancerRuleInstancesParams(id string) *ListLoadBalancerRuleInstancesParams
You should always use this function to get a new ListLoadBalancerRuleInstancesParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewListLoadBalancerRulesParams ¶
func (s *LoadBalancerService) NewListLoadBalancerRulesParams() *ListLoadBalancerRulesParams
You should always use this function to get a new ListLoadBalancerRulesParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewListLoadBalancersParams ¶
func (s *LoadBalancerService) NewListLoadBalancersParams() *ListLoadBalancersParams
You should always use this function to get a new ListLoadBalancersParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewListNetscalerLoadBalancersParams ¶
func (s *LoadBalancerService) NewListNetscalerLoadBalancersParams() *ListNetscalerLoadBalancersParams
You should always use this function to get a new ListNetscalerLoadBalancersParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewListSslCertsParams ¶
func (s *LoadBalancerService) NewListSslCertsParams() *ListSslCertsParams
You should always use this function to get a new ListSslCertsParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewRemoveCertFromLoadBalancerParams ¶
func (s *LoadBalancerService) NewRemoveCertFromLoadBalancerParams(lbruleid string) *RemoveCertFromLoadBalancerParams
You should always use this function to get a new RemoveCertFromLoadBalancerParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewRemoveFromGlobalLoadBalancerRuleParams ¶
func (s *LoadBalancerService) NewRemoveFromGlobalLoadBalancerRuleParams(id string, loadbalancerrulelist []string) *RemoveFromGlobalLoadBalancerRuleParams
You should always use this function to get a new RemoveFromGlobalLoadBalancerRuleParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewRemoveFromLoadBalancerRuleParams ¶
func (s *LoadBalancerService) NewRemoveFromLoadBalancerRuleParams(id string, virtualmachineids []string) *RemoveFromLoadBalancerRuleParams
You should always use this function to get a new RemoveFromLoadBalancerRuleParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewUpdateGlobalLoadBalancerRuleParams ¶
func (s *LoadBalancerService) NewUpdateGlobalLoadBalancerRuleParams(id string) *UpdateGlobalLoadBalancerRuleParams
You should always use this function to get a new UpdateGlobalLoadBalancerRuleParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewUpdateLoadBalancerRuleParams ¶
func (s *LoadBalancerService) NewUpdateLoadBalancerRuleParams(id string) *UpdateLoadBalancerRuleParams
You should always use this function to get a new UpdateLoadBalancerRuleParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) NewUploadSslCertParams ¶
func (s *LoadBalancerService) NewUploadSslCertParams(certificate string, privatekey string) *UploadSslCertParams
You should always use this function to get a new UploadSslCertParams instance, as then you are sure you have configured all required params
func (*LoadBalancerService) RemoveCertFromLoadBalancer ¶
func (s *LoadBalancerService) RemoveCertFromLoadBalancer(p *RemoveCertFromLoadBalancerParams) (*RemoveCertFromLoadBalancerResponse, error)
Removes a certificate from a Load Balancer Rule
func (*LoadBalancerService) RemoveFromGlobalLoadBalancerRule ¶
func (s *LoadBalancerService) RemoveFromGlobalLoadBalancerRule(p *RemoveFromGlobalLoadBalancerRuleParams) (*RemoveFromGlobalLoadBalancerRuleResponse, error)
Removes a load balancer rule association with global load balancer rule
func (*LoadBalancerService) RemoveFromLoadBalancerRule ¶
func (s *LoadBalancerService) RemoveFromLoadBalancerRule(p *RemoveFromLoadBalancerRuleParams) (*RemoveFromLoadBalancerRuleResponse, error)
Removes a virtual machine or a list of virtual machines from a load balancer rule.
func (*LoadBalancerService) UpdateGlobalLoadBalancerRule ¶
func (s *LoadBalancerService) UpdateGlobalLoadBalancerRule(p *UpdateGlobalLoadBalancerRuleParams) (*UpdateGlobalLoadBalancerRuleResponse, error)
update global load balancer rules.
func (*LoadBalancerService) UpdateLoadBalancerRule ¶
func (s *LoadBalancerService) UpdateLoadBalancerRule(p *UpdateLoadBalancerRuleParams) (*UpdateLoadBalancerRuleResponse, error)
Updates load balancer
func (*LoadBalancerService) UploadSslCert ¶
func (s *LoadBalancerService) UploadSslCert(p *UploadSslCertParams) (*UploadSslCertResponse, error)
Upload a certificate to cloudstack
type LockAccountParams ¶
type LockAccountParams struct {
// contains filtered or unexported fields
}
func (*LockAccountParams) SetAccount ¶
func (p *LockAccountParams) SetAccount(v string)
func (*LockAccountParams) SetDomainid ¶
func (p *LockAccountParams) SetDomainid(v string)
type LockAccountResponse ¶
type LockAccountResponse struct { Volumetotal int `json:"volumetotal,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Primarystoragetotal int `json:"primarystoragetotal,omitempty"` Ipavailable string `json:"ipavailable,omitempty"` Secondarystorageavailable string `json:"secondarystorageavailable,omitempty"` Projectavailable string `json:"projectavailable,omitempty"` Vmrunning int `json:"vmrunning,omitempty"` Snapshottotal int `json:"snapshottotal,omitempty"` Domain string `json:"domain,omitempty"` Networklimit string `json:"networklimit,omitempty"` Primarystorageavailable string `json:"primarystorageavailable,omitempty"` Name string `json:"name,omitempty"` Vmlimit string `json:"vmlimit,omitempty"` Secondarystoragetotal int `json:"secondarystoragetotal,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Vmtotal int `json:"vmtotal,omitempty"` Snapshotavailable string `json:"snapshotavailable,omitempty"` Iscleanuprequired bool `json:"iscleanuprequired,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Vpcavailable string `json:"vpcavailable,omitempty"` Templatelimit string `json:"templatelimit,omitempty"` Accountdetails map[string]string `json:"accountdetails,omitempty"` Templatetotal int `json:"templatetotal,omitempty"` Projecttotal int `json:"projecttotal,omitempty"` Iplimit string `json:"iplimit,omitempty"` Templateavailable string `json:"templateavailable,omitempty"` Networktotal int `json:"networktotal,omitempty"` Memorylimit string `json:"memorylimit,omitempty"` Domainid string `json:"domainid,omitempty"` Primarystoragelimit string `json:"primarystoragelimit,omitempty"` Vpctotal int `json:"vpctotal,omitempty"` Iptotal int `json:"iptotal,omitempty"` Cpulimit string `json:"cpulimit,omitempty"` Cpuavailable string `json:"cpuavailable,omitempty"` Volumeavailable string `json:"volumeavailable,omitempty"` Defaultzoneid string `json:"defaultzoneid,omitempty"` Vmstopped int `json:"vmstopped,omitempty"` State string `json:"state,omitempty"` Accounttype int `json:"accounttype,omitempty"` Vmavailable string `json:"vmavailable,omitempty"` Volumelimit string `json:"volumelimit,omitempty"` Projectlimit string `json:"projectlimit,omitempty"` Snapshotlimit string `json:"snapshotlimit,omitempty"` Networkavailable string `json:"networkavailable,omitempty"` Vpclimit string `json:"vpclimit,omitempty"` User []struct { Domain string `json:"domain,omitempty"` State string `json:"state,omitempty"` Id string `json:"id,omitempty"` Username string `json:"username,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Accountid string `json:"accountid,omitempty"` Iscallerchilddomain bool `json:"iscallerchilddomain,omitempty"` Accounttype int `json:"accounttype,omitempty"` Firstname string `json:"firstname,omitempty"` Lastname string `json:"lastname,omitempty"` Timezone string `json:"timezone,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Apikey string `json:"apikey,omitempty"` Email string `json:"email,omitempty"` Secretkey string `json:"secretkey,omitempty"` Created string `json:"created,omitempty"` } `json:"user,omitempty"` Sentbytes int `json:"sentbytes,omitempty"` Memoryavailable string `json:"memoryavailable,omitempty"` Receivedbytes int `json:"receivedbytes,omitempty"` Cputotal int `json:"cputotal,omitempty"` Id string `json:"id,omitempty"` Secondarystoragelimit string `json:"secondarystoragelimit,omitempty"` }
type LockUserParams ¶
type LockUserParams struct {
// contains filtered or unexported fields
}
func (*LockUserParams) SetId ¶
func (p *LockUserParams) SetId(v string)
type LockUserResponse ¶
type LockUserResponse struct { Isdefault bool `json:"isdefault,omitempty"` Timezone string `json:"timezone,omitempty"` Account string `json:"account,omitempty"` Accountid string `json:"accountid,omitempty"` Secretkey string `json:"secretkey,omitempty"` State string `json:"state,omitempty"` Accounttype int `json:"accounttype,omitempty"` Id string `json:"id,omitempty"` Iscallerchilddomain bool `json:"iscallerchilddomain,omitempty"` Firstname string `json:"firstname,omitempty"` Lastname string `json:"lastname,omitempty"` Created string `json:"created,omitempty"` Domainid string `json:"domainid,omitempty"` Apikey string `json:"apikey,omitempty"` Domain string `json:"domain,omitempty"` Username string `json:"username,omitempty"` Email string `json:"email,omitempty"` }
type LoginService ¶
type LoginService struct {
// contains filtered or unexported fields
}
func NewLoginService ¶
func NewLoginService(cs *CloudStackClient) *LoginService
type LogoutService ¶
type LogoutService struct {
// contains filtered or unexported fields
}
func NewLogoutService ¶
func NewLogoutService(cs *CloudStackClient) *LogoutService
type MarkDefaultZoneForAccountParams ¶
type MarkDefaultZoneForAccountParams struct {
// contains filtered or unexported fields
}
func (*MarkDefaultZoneForAccountParams) SetAccount ¶
func (p *MarkDefaultZoneForAccountParams) SetAccount(v string)
func (*MarkDefaultZoneForAccountParams) SetDomainid ¶
func (p *MarkDefaultZoneForAccountParams) SetDomainid(v string)
func (*MarkDefaultZoneForAccountParams) SetZoneid ¶
func (p *MarkDefaultZoneForAccountParams) SetZoneid(v string)
type MarkDefaultZoneForAccountResponse ¶
type MarkDefaultZoneForAccountResponse struct { JobID string `json:"jobid,omitempty"` Memorylimit string `json:"memorylimit,omitempty"` Cpuavailable string `json:"cpuavailable,omitempty"` Projectlimit string `json:"projectlimit,omitempty"` Ipavailable string `json:"ipavailable,omitempty"` Defaultzoneid string `json:"defaultzoneid,omitempty"` Projecttotal int `json:"projecttotal,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Secondarystoragetotal int `json:"secondarystoragetotal,omitempty"` Cpulimit string `json:"cpulimit,omitempty"` Vmrunning int `json:"vmrunning,omitempty"` Vmtotal int `json:"vmtotal,omitempty"` Vpclimit string `json:"vpclimit,omitempty"` Snapshotlimit string `json:"snapshotlimit,omitempty"` Primarystoragetotal int `json:"primarystoragetotal,omitempty"` Secondarystorageavailable string `json:"secondarystorageavailable,omitempty"` Id string `json:"id,omitempty"` Sentbytes int `json:"sentbytes,omitempty"` Templatelimit string `json:"templatelimit,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Accounttype int `json:"accounttype,omitempty"` Cputotal int `json:"cputotal,omitempty"` Accountdetails map[string]string `json:"accountdetails,omitempty"` Templatetotal int `json:"templatetotal,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Iptotal int `json:"iptotal,omitempty"` Primarystorageavailable string `json:"primarystorageavailable,omitempty"` Iscleanuprequired bool `json:"iscleanuprequired,omitempty"` User []struct { Accountid string `json:"accountid,omitempty"` Email string `json:"email,omitempty"` Domain string `json:"domain,omitempty"` Firstname string `json:"firstname,omitempty"` Id string `json:"id,omitempty"` Lastname string `json:"lastname,omitempty"` State string `json:"state,omitempty"` Iscallerchilddomain bool `json:"iscallerchilddomain,omitempty"` Accounttype int `json:"accounttype,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Username string `json:"username,omitempty"` Timezone string `json:"timezone,omitempty"` Domainid string `json:"domainid,omitempty"` Apikey string `json:"apikey,omitempty"` Account string `json:"account,omitempty"` Secretkey string `json:"secretkey,omitempty"` Created string `json:"created,omitempty"` } `json:"user,omitempty"` Volumelimit string `json:"volumelimit,omitempty"` Primarystoragelimit string `json:"primarystoragelimit,omitempty"` Networkavailable string `json:"networkavailable,omitempty"` Projectavailable string `json:"projectavailable,omitempty"` Networktotal int `json:"networktotal,omitempty"` Volumetotal int `json:"volumetotal,omitempty"` Vpcavailable string `json:"vpcavailable,omitempty"` State string `json:"state,omitempty"` Domain string `json:"domain,omitempty"` Secondarystoragelimit string `json:"secondarystoragelimit,omitempty"` Vmlimit string `json:"vmlimit,omitempty"` Vpctotal int `json:"vpctotal,omitempty"` Templateavailable string `json:"templateavailable,omitempty"` Snapshottotal int `json:"snapshottotal,omitempty"` Receivedbytes int `json:"receivedbytes,omitempty"` Memoryavailable string `json:"memoryavailable,omitempty"` Iplimit string `json:"iplimit,omitempty"` Vmstopped int `json:"vmstopped,omitempty"` Vmavailable string `json:"vmavailable,omitempty"` Domainid string `json:"domainid,omitempty"` Volumeavailable string `json:"volumeavailable,omitempty"` Name string `json:"name,omitempty"` Networklimit string `json:"networklimit,omitempty"` Snapshotavailable string `json:"snapshotavailable,omitempty"` }
type MigrateSystemVmParams ¶
type MigrateSystemVmParams struct {
// contains filtered or unexported fields
}
func (*MigrateSystemVmParams) SetHostid ¶
func (p *MigrateSystemVmParams) SetHostid(v string)
func (*MigrateSystemVmParams) SetVirtualmachineid ¶
func (p *MigrateSystemVmParams) SetVirtualmachineid(v string)
type MigrateSystemVmResponse ¶
type MigrateSystemVmResponse struct { JobID string `json:"jobid,omitempty"` Name string `json:"name,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Activeviewersessions int `json:"activeviewersessions,omitempty"` Publicmacaddress string `json:"publicmacaddress,omitempty"` Systemvmtype string `json:"systemvmtype,omitempty"` Created string `json:"created,omitempty"` Linklocalnetmask string `json:"linklocalnetmask,omitempty"` Podid string `json:"podid,omitempty"` Gateway string `json:"gateway,omitempty"` Hostname string `json:"hostname,omitempty"` Templateid string `json:"templateid,omitempty"` Jobstatus int `json:"jobstatus,omitempty"` Publicip string `json:"publicip,omitempty"` State string `json:"state,omitempty"` Zonename string `json:"zonename,omitempty"` Privateip string `json:"privateip,omitempty"` Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"` Linklocalip string `json:"linklocalip,omitempty"` Dns1 string `json:"dns1,omitempty"` Hostid string `json:"hostid,omitempty"` Jobid string `json:"jobid,omitempty"` Privatenetmask string `json:"privatenetmask,omitempty"` Publicnetmask string `json:"publicnetmask,omitempty"` Privatemacaddress string `json:"privatemacaddress,omitempty"` Zoneid string `json:"zoneid,omitempty"` Dns2 string `json:"dns2,omitempty"` Id string `json:"id,omitempty"` }
type MigrateVirtualMachineParams ¶
type MigrateVirtualMachineParams struct {
// contains filtered or unexported fields
}
func (*MigrateVirtualMachineParams) SetHostid ¶
func (p *MigrateVirtualMachineParams) SetHostid(v string)
func (*MigrateVirtualMachineParams) SetStorageid ¶
func (p *MigrateVirtualMachineParams) SetStorageid(v string)
func (*MigrateVirtualMachineParams) SetVirtualmachineid ¶
func (p *MigrateVirtualMachineParams) SetVirtualmachineid(v string)
type MigrateVirtualMachineResponse ¶
type MigrateVirtualMachineResponse struct { JobID string `json:"jobid,omitempty"` Hostid string `json:"hostid,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Affinitygroup []struct { Account string `json:"account,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Type string `json:"type,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Description string `json:"description,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` } `json:"affinitygroup,omitempty"` Group string `json:"group,omitempty"` Securitygroup []struct { Tags []struct { Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Customer string `json:"customer,omitempty"` Value string `json:"value,omitempty"` Domainid string `json:"domainid,omitempty"` Key string `json:"key,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Resourceid string `json:"resourceid,omitempty"` } `json:"tags,omitempty"` Ingressrule []struct { Icmpcode int `json:"icmpcode,omitempty"` Startport int `json:"startport,omitempty"` Ruleid string `json:"ruleid,omitempty"` Account string `json:"account,omitempty"` Cidr string `json:"cidr,omitempty"` Endport int `json:"endport,omitempty"` Icmptype int `json:"icmptype,omitempty"` Protocol string `json:"protocol,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` } `json:"ingressrule,omitempty"` Project string `json:"project,omitempty"` Description string `json:"description,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Domain string `json:"domain,omitempty"` Egressrule []struct { Endport int `json:"endport,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Ruleid string `json:"ruleid,omitempty"` Account string `json:"account,omitempty"` Cidr string `json:"cidr,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Icmptype int `json:"icmptype,omitempty"` Startport int `json:"startport,omitempty"` Protocol string `json:"protocol,omitempty"` } `json:"egressrule,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` } `json:"securitygroup,omitempty"` Servicestate string `json:"servicestate,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Isoid string `json:"isoid,omitempty"` Hostname string `json:"hostname,omitempty"` Projectid string `json:"projectid,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Id string `json:"id,omitempty"` Created string `json:"created,omitempty"` Haenable bool `json:"haenable,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Keypair string `json:"keypair,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Tags []struct { Resourcetype string `json:"resourcetype,omitempty"` Domain string `json:"domain,omitempty"` Key string `json:"key,omitempty"` Project string `json:"project,omitempty"` Resourceid string `json:"resourceid,omitempty"` Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` Customer string `json:"customer,omitempty"` Value string `json:"value,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"tags,omitempty"` Templateid string `json:"templateid,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Domainid string `json:"domainid,omitempty"` Zonename string `json:"zonename,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Account string `json:"account,omitempty"` Displayname string `json:"displayname,omitempty"` Name string `json:"name,omitempty"` Password string `json:"password,omitempty"` Nic []struct { Ipaddress string `json:"ipaddress,omitempty"` Ip6address string `json:"ip6address,omitempty"` Macaddress string `json:"macaddress,omitempty"` Netmask string `json:"netmask,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Id string `json:"id,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Networkid string `json:"networkid,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Traffictype string `json:"traffictype,omitempty"` Type string `json:"type,omitempty"` Gateway string `json:"gateway,omitempty"` Networkname string `json:"networkname,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` } `json:"nic,omitempty"` Guestosid string `json:"guestosid,omitempty"` Publicipid string `json:"publicipid,omitempty"` Instancename string `json:"instancename,omitempty"` Zoneid string `json:"zoneid,omitempty"` Details map[string]string `json:"details,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Diskioread int `json:"diskioread,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Groupid string `json:"groupid,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Publicip string `json:"publicip,omitempty"` Templatename string `json:"templatename,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Memory int `json:"memory,omitempty"` Project string `json:"project,omitempty"` Cpuused string `json:"cpuused,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` State string `json:"state,omitempty"` Isoname string `json:"isoname,omitempty"` Domain string `json:"domain,omitempty"` }
type MigrateVirtualMachineWithVolumeParams ¶
type MigrateVirtualMachineWithVolumeParams struct {
// contains filtered or unexported fields
}
func (*MigrateVirtualMachineWithVolumeParams) SetHostid ¶
func (p *MigrateVirtualMachineWithVolumeParams) SetHostid(v string)
func (*MigrateVirtualMachineWithVolumeParams) SetMigrateto ¶
func (p *MigrateVirtualMachineWithVolumeParams) SetMigrateto(v map[string]string)
func (*MigrateVirtualMachineWithVolumeParams) SetVirtualmachineid ¶
func (p *MigrateVirtualMachineWithVolumeParams) SetVirtualmachineid(v string)
type MigrateVirtualMachineWithVolumeResponse ¶
type MigrateVirtualMachineWithVolumeResponse struct { JobID string `json:"jobid,omitempty"` Account string `json:"account,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Groupid string `json:"groupid,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Diskioread int `json:"diskioread,omitempty"` Servicestate string `json:"servicestate,omitempty"` Memory int `json:"memory,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Domain string `json:"domain,omitempty"` Templatename string `json:"templatename,omitempty"` Publicipid string `json:"publicipid,omitempty"` State string `json:"state,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Hostid string `json:"hostid,omitempty"` Affinitygroup []struct { VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Type string `json:"type,omitempty"` Description string `json:"description,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"affinitygroup,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Created string `json:"created,omitempty"` Haenable bool `json:"haenable,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Project string `json:"project,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Publicip string `json:"publicip,omitempty"` Cpuused string `json:"cpuused,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Projectid string `json:"projectid,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Id string `json:"id,omitempty"` Securitygroup []struct { Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Ingressrule []struct { Account string `json:"account,omitempty"` Protocol string `json:"protocol,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Cidr string `json:"cidr,omitempty"` Icmptype int `json:"icmptype,omitempty"` Endport int `json:"endport,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Ruleid string `json:"ruleid,omitempty"` Startport int `json:"startport,omitempty"` } `json:"ingressrule,omitempty"` Account string `json:"account,omitempty"` Egressrule []struct { Icmpcode int `json:"icmpcode,omitempty"` Cidr string `json:"cidr,omitempty"` Account string `json:"account,omitempty"` Endport int `json:"endport,omitempty"` Startport int `json:"startport,omitempty"` Ruleid string `json:"ruleid,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Protocol string `json:"protocol,omitempty"` Icmptype int `json:"icmptype,omitempty"` } `json:"egressrule,omitempty"` Description string `json:"description,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Tags []struct { Domainid string `json:"domainid,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Customer string `json:"customer,omitempty"` Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Value string `json:"value,omitempty"` Key string `json:"key,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` } `json:"tags,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"securitygroup,omitempty"` Instancename string `json:"instancename,omitempty"` Isoname string `json:"isoname,omitempty"` Zonename string `json:"zonename,omitempty"` Tags []struct { Resourcetype string `json:"resourcetype,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Value string `json:"value,omitempty"` Resourceid string `json:"resourceid,omitempty"` Customer string `json:"customer,omitempty"` Key string `json:"key,omitempty"` Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` } `json:"tags,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Password string `json:"password,omitempty"` Zoneid string `json:"zoneid,omitempty"` Details map[string]string `json:"details,omitempty"` Guestosid string `json:"guestosid,omitempty"` Name string `json:"name,omitempty"` Keypair string `json:"keypair,omitempty"` Domainid string `json:"domainid,omitempty"` Nic []struct { Ip6address string `json:"ip6address,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Traffictype string `json:"traffictype,omitempty"` Macaddress string `json:"macaddress,omitempty"` Networkname string `json:"networkname,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Netmask string `json:"netmask,omitempty"` Gateway string `json:"gateway,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Id string `json:"id,omitempty"` Networkid string `json:"networkid,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Type string `json:"type,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` } `json:"nic,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Group string `json:"group,omitempty"` Hostname string `json:"hostname,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Isoid string `json:"isoid,omitempty"` Displayname string `json:"displayname,omitempty"` Templateid string `json:"templateid,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` }
type MigrateVolumeParams ¶
type MigrateVolumeParams struct {
// contains filtered or unexported fields
}
func (*MigrateVolumeParams) SetLivemigrate ¶
func (p *MigrateVolumeParams) SetLivemigrate(v bool)
func (*MigrateVolumeParams) SetStorageid ¶
func (p *MigrateVolumeParams) SetStorageid(v string)
func (*MigrateVolumeParams) SetVolumeid ¶
func (p *MigrateVolumeParams) SetVolumeid(v string)
type MigrateVolumeResponse ¶
type MigrateVolumeResponse struct { JobID string `json:"jobid,omitempty"` Type string `json:"type,omitempty"` Attached string `json:"attached,omitempty"` Snapshotid string `json:"snapshotid,omitempty"` Account string `json:"account,omitempty"` Status string `json:"status,omitempty"` State string `json:"state,omitempty"` Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext,omitempty"` Tags []struct { Projectid string `json:"projectid,omitempty"` Value string `json:"value,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Project string `json:"project,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Key string `json:"key,omitempty"` } `json:"tags,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` DiskBytesReadRate int `json:"diskBytesReadRate,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` Storageid string `json:"storageid,omitempty"` Maxiops int `json:"maxiops,omitempty"` DiskIopsWriteRate int `json:"diskIopsWriteRate,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Projectid string `json:"projectid,omitempty"` Destroyed bool `json:"destroyed,omitempty"` Name string `json:"name,omitempty"` Domainid string `json:"domainid,omitempty"` Storage string `json:"storage,omitempty"` Isextractable bool `json:"isextractable,omitempty"` Diskofferingdisplaytext string `json:"diskofferingdisplaytext,omitempty"` Quiescevm bool `json:"quiescevm,omitempty"` Created string `json:"created,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Domain string `json:"domain,omitempty"` Miniops int `json:"miniops,omitempty"` DiskIopsReadRate int `json:"diskIopsReadRate,omitempty"` Diskofferingname string `json:"diskofferingname,omitempty"` Project string `json:"project,omitempty"` Zonename string `json:"zonename,omitempty"` Vmname string `json:"vmname,omitempty"` Path string `json:"path,omitempty"` Deviceid int `json:"deviceid,omitempty"` Displayvolume bool `json:"displayvolume,omitempty"` Diskofferingid string `json:"diskofferingid,omitempty"` Storagetype string `json:"storagetype,omitempty"` Zoneid string `json:"zoneid,omitempty"` Id string `json:"id,omitempty"` DiskBytesWriteRate int `json:"diskBytesWriteRate,omitempty"` Size int `json:"size,omitempty"` Vmstate string `json:"vmstate,omitempty"` Vmdisplayname string `json:"vmdisplayname,omitempty"` }
type NATService ¶
type NATService struct {
// contains filtered or unexported fields
}
func NewNATService ¶
func NewNATService(cs *CloudStackClient) *NATService
func (*NATService) CreateIpForwardingRule ¶
func (s *NATService) CreateIpForwardingRule(p *CreateIpForwardingRuleParams) (*CreateIpForwardingRuleResponse, error)
Creates an ip forwarding rule
func (*NATService) DeleteIpForwardingRule ¶
func (s *NATService) DeleteIpForwardingRule(p *DeleteIpForwardingRuleParams) (*DeleteIpForwardingRuleResponse, error)
Deletes an ip forwarding rule
func (*NATService) DisableStaticNat ¶
func (s *NATService) DisableStaticNat(p *DisableStaticNatParams) (*DisableStaticNatResponse, error)
Disables static rule for given ip address
func (*NATService) EnableStaticNat ¶
func (s *NATService) EnableStaticNat(p *EnableStaticNatParams) (*EnableStaticNatResponse, error)
Enables static nat for given ip address
func (*NATService) GetIpForwardingRuleID ¶
func (s *NATService) GetIpForwardingRuleID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*NATService) ListIpForwardingRules ¶
func (s *NATService) ListIpForwardingRules(p *ListIpForwardingRulesParams) (*ListIpForwardingRulesResponse, error)
List the ip forwarding rules
func (*NATService) NewCreateIpForwardingRuleParams ¶
func (s *NATService) NewCreateIpForwardingRuleParams(ipaddressid string, protocol string, startport int) *CreateIpForwardingRuleParams
You should always use this function to get a new CreateIpForwardingRuleParams instance, as then you are sure you have configured all required params
func (*NATService) NewDeleteIpForwardingRuleParams ¶
func (s *NATService) NewDeleteIpForwardingRuleParams(id string) *DeleteIpForwardingRuleParams
You should always use this function to get a new DeleteIpForwardingRuleParams instance, as then you are sure you have configured all required params
func (*NATService) NewDisableStaticNatParams ¶
func (s *NATService) NewDisableStaticNatParams(ipaddressid string) *DisableStaticNatParams
You should always use this function to get a new DisableStaticNatParams instance, as then you are sure you have configured all required params
func (*NATService) NewEnableStaticNatParams ¶
func (s *NATService) NewEnableStaticNatParams(ipaddressid string, virtualmachineid string) *EnableStaticNatParams
You should always use this function to get a new EnableStaticNatParams instance, as then you are sure you have configured all required params
func (*NATService) NewListIpForwardingRulesParams ¶
func (s *NATService) NewListIpForwardingRulesParams() *ListIpForwardingRulesParams
You should always use this function to get a new ListIpForwardingRulesParams instance, as then you are sure you have configured all required params
type NetscalerLoadBalancer ¶
type NetscalerLoadBalancer struct { Isexclusivegslbprovider bool `json:"isexclusivegslbprovider,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Lbdevicecapacity int `json:"lbdevicecapacity,omitempty"` Gslbprovider bool `json:"gslbprovider,omitempty"` Lbdevicededicated bool `json:"lbdevicededicated,omitempty"` Podids []string `json:"podids,omitempty"` Publicinterface string `json:"publicinterface,omitempty"` Lbdevicename string `json:"lbdevicename,omitempty"` Provider string `json:"provider,omitempty"` Privateinterface string `json:"privateinterface,omitempty"` Lbdeviceid string `json:"lbdeviceid,omitempty"` Lbdevicestate string `json:"lbdevicestate,omitempty"` Gslbproviderpublicip string `json:"gslbproviderpublicip,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Gslbproviderprivateip string `json:"gslbproviderprivateip,omitempty"` }
type NetscalerLoadBalancerNetwork ¶
type NetscalerLoadBalancerNetwork struct { Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Domainid string `json:"domainid,omitempty"` Aclid string `json:"aclid,omitempty"` Netmask string `json:"netmask,omitempty"` Zoneid string `json:"zoneid,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Projectid string `json:"projectid,omitempty"` Acltype string `json:"acltype,omitempty"` Broadcastdomaintype string `json:"broadcastdomaintype,omitempty"` Networkofferingavailability string `json:"networkofferingavailability,omitempty"` Zonename string `json:"zonename,omitempty"` Networkcidr string `json:"networkcidr,omitempty"` Networkofferingconservemode bool `json:"networkofferingconservemode,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Networkofferingdisplaytext string `json:"networkofferingdisplaytext,omitempty"` Cidr string `json:"cidr,omitempty"` Restartrequired bool `json:"restartrequired,omitempty"` Networkofferingid string `json:"networkofferingid,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Id string `json:"id,omitempty"` Displaynetwork bool `json:"displaynetwork,omitempty"` Specifyipranges bool `json:"specifyipranges,omitempty"` Domain string `json:"domain,omitempty"` Related string `json:"related,omitempty"` Account string `json:"account,omitempty"` Vlan string `json:"vlan,omitempty"` Traffictype string `json:"traffictype,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Subdomainaccess bool `json:"subdomainaccess,omitempty"` Project string `json:"project,omitempty"` Dns2 string `json:"dns2,omitempty"` Name string `json:"name,omitempty"` Issystem bool `json:"issystem,omitempty"` Ispersistent bool `json:"ispersistent,omitempty"` Reservediprange string `json:"reservediprange,omitempty"` Displaytext string `json:"displaytext,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Type string `json:"type,omitempty"` Dns1 string `json:"dns1,omitempty"` Vpcid string `json:"vpcid,omitempty"` Networkofferingname string `json:"networkofferingname,omitempty"` Gateway string `json:"gateway,omitempty"` Tags []struct { Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Value string `json:"value,omitempty"` Customer string `json:"customer,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domain string `json:"domain,omitempty"` Key string `json:"key,omitempty"` } `json:"tags,omitempty"` Canusefordeploy bool `json:"canusefordeploy,omitempty"` Service []struct { Name string `json:"name,omitempty"` Capability []struct { Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` Value string `json:"value,omitempty"` Name string `json:"name,omitempty"` } `json:"capability,omitempty"` Provider []struct { Name string `json:"name,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Servicelist []string `json:"servicelist,omitempty"` Id string `json:"id,omitempty"` State string `json:"state,omitempty"` } `json:"provider,omitempty"` } `json:"service,omitempty"` State string `json:"state,omitempty"` }
type Network ¶
type Network struct { Service []struct { Capability []struct { Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` Value string `json:"value,omitempty"` Name string `json:"name,omitempty"` } `json:"capability,omitempty"` Provider []struct { Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Servicelist []string `json:"servicelist,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` State string `json:"state,omitempty"` } `json:"provider,omitempty"` Name string `json:"name,omitempty"` } `json:"service,omitempty"` Gateway string `json:"gateway,omitempty"` Vlan string `json:"vlan,omitempty"` Account string `json:"account,omitempty"` Zonename string `json:"zonename,omitempty"` Traffictype string `json:"traffictype,omitempty"` Cidr string `json:"cidr,omitempty"` Networkofferingdisplaytext string `json:"networkofferingdisplaytext,omitempty"` Aclid string `json:"aclid,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Networkcidr string `json:"networkcidr,omitempty"` Vpcid string `json:"vpcid,omitempty"` Project string `json:"project,omitempty"` Netmask string `json:"netmask,omitempty"` Issystem bool `json:"issystem,omitempty"` Type string `json:"type,omitempty"` Broadcastdomaintype string `json:"broadcastdomaintype,omitempty"` Dns1 string `json:"dns1,omitempty"` Related string `json:"related,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Acltype string `json:"acltype,omitempty"` Displaynetwork bool `json:"displaynetwork,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Canusefordeploy bool `json:"canusefordeploy,omitempty"` Tags []struct { Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Value string `json:"value,omitempty"` Projectid string `json:"projectid,omitempty"` Key string `json:"key,omitempty"` Domain string `json:"domain,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Project string `json:"project,omitempty"` } `json:"tags,omitempty"` Id string `json:"id,omitempty"` Networkofferingavailability string `json:"networkofferingavailability,omitempty"` Domainid string `json:"domainid,omitempty"` Reservediprange string `json:"reservediprange,omitempty"` Subdomainaccess bool `json:"subdomainaccess,omitempty"` Displaytext string `json:"displaytext,omitempty"` Dns2 string `json:"dns2,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Ispersistent bool `json:"ispersistent,omitempty"` Networkofferingconservemode bool `json:"networkofferingconservemode,omitempty"` State string `json:"state,omitempty"` Zoneid string `json:"zoneid,omitempty"` Specifyipranges bool `json:"specifyipranges,omitempty"` Restartrequired bool `json:"restartrequired,omitempty"` Networkofferingid string `json:"networkofferingid,omitempty"` Name string `json:"name,omitempty"` Networkofferingname string `json:"networkofferingname,omitempty"` }
type NetworkACL ¶
type NetworkACL struct { Startport string `json:"startport,omitempty"` Action string `json:"action,omitempty"` Traffictype string `json:"traffictype,omitempty"` Tags []struct { Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Key string `json:"key,omitempty"` Value string `json:"value,omitempty"` } `json:"tags,omitempty"` Id string `json:"id,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Aclid string `json:"aclid,omitempty"` Number int `json:"number,omitempty"` Icmptype int `json:"icmptype,omitempty"` Protocol string `json:"protocol,omitempty"` State string `json:"state,omitempty"` Endport string `json:"endport,omitempty"` }
type NetworkACLList ¶
type NetworkACLService ¶
type NetworkACLService struct {
// contains filtered or unexported fields
}
func NewNetworkACLService ¶
func NewNetworkACLService(cs *CloudStackClient) *NetworkACLService
func (*NetworkACLService) CreateNetworkACL ¶
func (s *NetworkACLService) CreateNetworkACL(p *CreateNetworkACLParams) (*CreateNetworkACLResponse, error)
Creates a ACL rule in the given network (the network has to belong to VPC)
func (*NetworkACLService) CreateNetworkACLList ¶
func (s *NetworkACLService) CreateNetworkACLList(p *CreateNetworkACLListParams) (*CreateNetworkACLListResponse, error)
Creates a Network ACL for the given VPC
func (*NetworkACLService) DeleteNetworkACL ¶
func (s *NetworkACLService) DeleteNetworkACL(p *DeleteNetworkACLParams) (*DeleteNetworkACLResponse, error)
Deletes a Network ACL
func (*NetworkACLService) DeleteNetworkACLList ¶
func (s *NetworkACLService) DeleteNetworkACLList(p *DeleteNetworkACLListParams) (*DeleteNetworkACLListResponse, error)
Deletes a Network ACL
func (*NetworkACLService) GetNetworkACLID ¶
func (s *NetworkACLService) GetNetworkACLID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*NetworkACLService) GetNetworkACLListID ¶
func (s *NetworkACLService) GetNetworkACLListID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*NetworkACLService) ListNetworkACLLists ¶
func (s *NetworkACLService) ListNetworkACLLists(p *ListNetworkACLListsParams) (*ListNetworkACLListsResponse, error)
Lists all network ACLs
func (*NetworkACLService) ListNetworkACLs ¶
func (s *NetworkACLService) ListNetworkACLs(p *ListNetworkACLsParams) (*ListNetworkACLsResponse, error)
Lists all network ACL items
func (*NetworkACLService) NewCreateNetworkACLListParams ¶
func (s *NetworkACLService) NewCreateNetworkACLListParams(name string, vpcid string) *CreateNetworkACLListParams
You should always use this function to get a new CreateNetworkACLListParams instance, as then you are sure you have configured all required params
func (*NetworkACLService) NewCreateNetworkACLParams ¶
func (s *NetworkACLService) NewCreateNetworkACLParams(protocol string) *CreateNetworkACLParams
You should always use this function to get a new CreateNetworkACLParams instance, as then you are sure you have configured all required params
func (*NetworkACLService) NewDeleteNetworkACLListParams ¶
func (s *NetworkACLService) NewDeleteNetworkACLListParams(id string) *DeleteNetworkACLListParams
You should always use this function to get a new DeleteNetworkACLListParams instance, as then you are sure you have configured all required params
func (*NetworkACLService) NewDeleteNetworkACLParams ¶
func (s *NetworkACLService) NewDeleteNetworkACLParams(id string) *DeleteNetworkACLParams
You should always use this function to get a new DeleteNetworkACLParams instance, as then you are sure you have configured all required params
func (*NetworkACLService) NewListNetworkACLListsParams ¶
func (s *NetworkACLService) NewListNetworkACLListsParams() *ListNetworkACLListsParams
You should always use this function to get a new ListNetworkACLListsParams instance, as then you are sure you have configured all required params
func (*NetworkACLService) NewListNetworkACLsParams ¶
func (s *NetworkACLService) NewListNetworkACLsParams() *ListNetworkACLsParams
You should always use this function to get a new ListNetworkACLsParams instance, as then you are sure you have configured all required params
func (*NetworkACLService) NewReplaceNetworkACLListParams ¶
func (s *NetworkACLService) NewReplaceNetworkACLListParams(aclid string) *ReplaceNetworkACLListParams
You should always use this function to get a new ReplaceNetworkACLListParams instance, as then you are sure you have configured all required params
func (*NetworkACLService) NewUpdateNetworkACLItemParams ¶
func (s *NetworkACLService) NewUpdateNetworkACLItemParams(id string) *UpdateNetworkACLItemParams
You should always use this function to get a new UpdateNetworkACLItemParams instance, as then you are sure you have configured all required params
func (*NetworkACLService) ReplaceNetworkACLList ¶
func (s *NetworkACLService) ReplaceNetworkACLList(p *ReplaceNetworkACLListParams) (*ReplaceNetworkACLListResponse, error)
Replaces ACL associated with a Network or private gateway
func (*NetworkACLService) UpdateNetworkACLItem ¶
func (s *NetworkACLService) UpdateNetworkACLItem(p *UpdateNetworkACLItemParams) (*UpdateNetworkACLItemResponse, error)
Updates ACL Item with specified Id
type NetworkDevice ¶
type NetworkDevice struct {
Id string `json:"id,omitempty"`
}
type NetworkDeviceService ¶
type NetworkDeviceService struct {
// contains filtered or unexported fields
}
func NewNetworkDeviceService ¶
func NewNetworkDeviceService(cs *CloudStackClient) *NetworkDeviceService
func (*NetworkDeviceService) AddNetworkDevice ¶
func (s *NetworkDeviceService) AddNetworkDevice(p *AddNetworkDeviceParams) (*AddNetworkDeviceResponse, error)
Adds a network device of one of the following types: ExternalDhcp, ExternalFirewall, ExternalLoadBalancer, PxeServer
func (*NetworkDeviceService) DeleteNetworkDevice ¶
func (s *NetworkDeviceService) DeleteNetworkDevice(p *DeleteNetworkDeviceParams) (*DeleteNetworkDeviceResponse, error)
Deletes network device.
func (*NetworkDeviceService) GetNetworkDeviceID ¶
func (s *NetworkDeviceService) GetNetworkDeviceID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*NetworkDeviceService) ListNetworkDevice ¶
func (s *NetworkDeviceService) ListNetworkDevice(p *ListNetworkDeviceParams) (*ListNetworkDeviceResponse, error)
List network devices
func (*NetworkDeviceService) NewAddNetworkDeviceParams ¶
func (s *NetworkDeviceService) NewAddNetworkDeviceParams() *AddNetworkDeviceParams
You should always use this function to get a new AddNetworkDeviceParams instance, as then you are sure you have configured all required params
func (*NetworkDeviceService) NewDeleteNetworkDeviceParams ¶
func (s *NetworkDeviceService) NewDeleteNetworkDeviceParams(id string) *DeleteNetworkDeviceParams
You should always use this function to get a new DeleteNetworkDeviceParams instance, as then you are sure you have configured all required params
func (*NetworkDeviceService) NewListNetworkDeviceParams ¶
func (s *NetworkDeviceService) NewListNetworkDeviceParams() *ListNetworkDeviceParams
You should always use this function to get a new ListNetworkDeviceParams instance, as then you are sure you have configured all required params
type NetworkIsolationMethod ¶
type NetworkIsolationMethod struct {
Name string `json:"name,omitempty"`
}
type NetworkOffering ¶
type NetworkOffering struct { Id string `json:"id,omitempty"` Networkrate int `json:"networkrate,omitempty"` Ispersistent bool `json:"ispersistent,omitempty"` Displaytext string `json:"displaytext,omitempty"` Isdefault bool `json:"isdefault,omitempty"` State string `json:"state,omitempty"` Service []struct { Provider []struct { Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Servicelist []string `json:"servicelist,omitempty"` State string `json:"state,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` } `json:"provider,omitempty"` Capability []struct { Value string `json:"value,omitempty"` Name string `json:"name,omitempty"` Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` } `json:"capability,omitempty"` Name string `json:"name,omitempty"` } `json:"service,omitempty"` Details map[string]string `json:"details,omitempty"` Forvpc bool `json:"forvpc,omitempty"` Traffictype string `json:"traffictype,omitempty"` Egressdefaultpolicy bool `json:"egressdefaultpolicy,omitempty"` Guestiptype string `json:"guestiptype,omitempty"` Created string `json:"created,omitempty"` Specifyvlan bool `json:"specifyvlan,omitempty"` Tags string `json:"tags,omitempty"` Maxconnections int `json:"maxconnections,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Name string `json:"name,omitempty"` Availability string `json:"availability,omitempty"` Specifyipranges bool `json:"specifyipranges,omitempty"` Conservemode bool `json:"conservemode,omitempty"` }
type NetworkOfferingService ¶
type NetworkOfferingService struct {
// contains filtered or unexported fields
}
func NewNetworkOfferingService ¶
func NewNetworkOfferingService(cs *CloudStackClient) *NetworkOfferingService
func (*NetworkOfferingService) CreateNetworkOffering ¶
func (s *NetworkOfferingService) CreateNetworkOffering(p *CreateNetworkOfferingParams) (*CreateNetworkOfferingResponse, error)
Creates a network offering.
func (*NetworkOfferingService) DeleteNetworkOffering ¶
func (s *NetworkOfferingService) DeleteNetworkOffering(p *DeleteNetworkOfferingParams) (*DeleteNetworkOfferingResponse, error)
Deletes a network offering.
func (*NetworkOfferingService) GetNetworkOfferingID ¶
func (s *NetworkOfferingService) GetNetworkOfferingID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*NetworkOfferingService) ListNetworkOfferings ¶
func (s *NetworkOfferingService) ListNetworkOfferings(p *ListNetworkOfferingsParams) (*ListNetworkOfferingsResponse, error)
Lists all available network offerings.
func (*NetworkOfferingService) NewCreateNetworkOfferingParams ¶
func (s *NetworkOfferingService) NewCreateNetworkOfferingParams(displaytext string, guestiptype string, name string, supportedservices []string, traffictype string) *CreateNetworkOfferingParams
You should always use this function to get a new CreateNetworkOfferingParams instance, as then you are sure you have configured all required params
func (*NetworkOfferingService) NewDeleteNetworkOfferingParams ¶
func (s *NetworkOfferingService) NewDeleteNetworkOfferingParams(id string) *DeleteNetworkOfferingParams
You should always use this function to get a new DeleteNetworkOfferingParams instance, as then you are sure you have configured all required params
func (*NetworkOfferingService) NewListNetworkOfferingsParams ¶
func (s *NetworkOfferingService) NewListNetworkOfferingsParams() *ListNetworkOfferingsParams
You should always use this function to get a new ListNetworkOfferingsParams instance, as then you are sure you have configured all required params
func (*NetworkOfferingService) NewUpdateNetworkOfferingParams ¶
func (s *NetworkOfferingService) NewUpdateNetworkOfferingParams() *UpdateNetworkOfferingParams
You should always use this function to get a new UpdateNetworkOfferingParams instance, as then you are sure you have configured all required params
func (*NetworkOfferingService) UpdateNetworkOffering ¶
func (s *NetworkOfferingService) UpdateNetworkOffering(p *UpdateNetworkOfferingParams) (*UpdateNetworkOfferingResponse, error)
Updates a network offering.
type NetworkService ¶
type NetworkService struct {
// contains filtered or unexported fields
}
func NewNetworkService ¶
func NewNetworkService(cs *CloudStackClient) *NetworkService
func (*NetworkService) AddNetworkServiceProvider ¶
func (s *NetworkService) AddNetworkServiceProvider(p *AddNetworkServiceProviderParams) (*AddNetworkServiceProviderResponse, error)
Adds a network serviceProvider to a physical network
func (*NetworkService) CreateNetwork ¶
func (s *NetworkService) CreateNetwork(p *CreateNetworkParams) (*CreateNetworkResponse, error)
Creates a network
func (*NetworkService) CreatePhysicalNetwork ¶
func (s *NetworkService) CreatePhysicalNetwork(p *CreatePhysicalNetworkParams) (*CreatePhysicalNetworkResponse, error)
Creates a physical network
func (*NetworkService) CreateStorageNetworkIpRange ¶
func (s *NetworkService) CreateStorageNetworkIpRange(p *CreateStorageNetworkIpRangeParams) (*CreateStorageNetworkIpRangeResponse, error)
Creates a Storage network IP range.
func (*NetworkService) DedicatePublicIpRange ¶
func (s *NetworkService) DedicatePublicIpRange(p *DedicatePublicIpRangeParams) (*DedicatePublicIpRangeResponse, error)
Dedicates a Public IP range to an account
func (*NetworkService) DeleteNetwork ¶
func (s *NetworkService) DeleteNetwork(p *DeleteNetworkParams) (*DeleteNetworkResponse, error)
Deletes a network
func (*NetworkService) DeleteNetworkServiceProvider ¶
func (s *NetworkService) DeleteNetworkServiceProvider(p *DeleteNetworkServiceProviderParams) (*DeleteNetworkServiceProviderResponse, error)
Deletes a Network Service Provider.
func (*NetworkService) DeletePhysicalNetwork ¶
func (s *NetworkService) DeletePhysicalNetwork(p *DeletePhysicalNetworkParams) (*DeletePhysicalNetworkResponse, error)
Deletes a Physical Network.
func (*NetworkService) DeleteStorageNetworkIpRange ¶
func (s *NetworkService) DeleteStorageNetworkIpRange(p *DeleteStorageNetworkIpRangeParams) (*DeleteStorageNetworkIpRangeResponse, error)
Deletes a storage network IP Range.
func (*NetworkService) GetF5LoadBalancerNetworkID ¶
func (s *NetworkService) GetF5LoadBalancerNetworkID(keyword string, lbdeviceid string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*NetworkService) GetNetscalerLoadBalancerNetworkID ¶
func (s *NetworkService) GetNetscalerLoadBalancerNetworkID(keyword string, lbdeviceid string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*NetworkService) GetNetworkID ¶
func (s *NetworkService) GetNetworkID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*NetworkService) GetNetworkServiceProviderID ¶
func (s *NetworkService) GetNetworkServiceProviderID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*NetworkService) GetNiciraNvpDeviceNetworkID ¶
func (s *NetworkService) GetNiciraNvpDeviceNetworkID(keyword string, nvpdeviceid string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*NetworkService) GetPaloAltoFirewallNetworkID ¶
func (s *NetworkService) GetPaloAltoFirewallNetworkID(keyword string, lbdeviceid string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*NetworkService) GetPhysicalNetworkID ¶
func (s *NetworkService) GetPhysicalNetworkID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*NetworkService) GetSrxFirewallNetworkID ¶
func (s *NetworkService) GetSrxFirewallNetworkID(keyword string, lbdeviceid string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*NetworkService) GetStorageNetworkIpRangeID ¶
func (s *NetworkService) GetStorageNetworkIpRangeID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*NetworkService) ListF5LoadBalancerNetworks ¶
func (s *NetworkService) ListF5LoadBalancerNetworks(p *ListF5LoadBalancerNetworksParams) (*ListF5LoadBalancerNetworksResponse, error)
lists network that are using a F5 load balancer device
func (*NetworkService) ListNetscalerLoadBalancerNetworks ¶
func (s *NetworkService) ListNetscalerLoadBalancerNetworks(p *ListNetscalerLoadBalancerNetworksParams) (*ListNetscalerLoadBalancerNetworksResponse, error)
lists network that are using a netscaler load balancer device
func (*NetworkService) ListNetworkIsolationMethods ¶
func (s *NetworkService) ListNetworkIsolationMethods(p *ListNetworkIsolationMethodsParams) (*ListNetworkIsolationMethodsResponse, error)
Lists supported methods of network isolation
func (*NetworkService) ListNetworkServiceProviders ¶
func (s *NetworkService) ListNetworkServiceProviders(p *ListNetworkServiceProvidersParams) (*ListNetworkServiceProvidersResponse, error)
Lists network serviceproviders for a given physical network.
func (*NetworkService) ListNetworks ¶
func (s *NetworkService) ListNetworks(p *ListNetworksParams) (*ListNetworksResponse, error)
Lists all available networks.
func (*NetworkService) ListNiciraNvpDeviceNetworks ¶
func (s *NetworkService) ListNiciraNvpDeviceNetworks(p *ListNiciraNvpDeviceNetworksParams) (*ListNiciraNvpDeviceNetworksResponse, error)
lists network that are using a nicira nvp device
func (*NetworkService) ListPaloAltoFirewallNetworks ¶
func (s *NetworkService) ListPaloAltoFirewallNetworks(p *ListPaloAltoFirewallNetworksParams) (*ListPaloAltoFirewallNetworksResponse, error)
lists network that are using Palo Alto firewall device
func (*NetworkService) ListPhysicalNetworks ¶
func (s *NetworkService) ListPhysicalNetworks(p *ListPhysicalNetworksParams) (*ListPhysicalNetworksResponse, error)
Lists physical networks
func (*NetworkService) ListSrxFirewallNetworks ¶
func (s *NetworkService) ListSrxFirewallNetworks(p *ListSrxFirewallNetworksParams) (*ListSrxFirewallNetworksResponse, error)
lists network that are using SRX firewall device
func (*NetworkService) ListStorageNetworkIpRange ¶
func (s *NetworkService) ListStorageNetworkIpRange(p *ListStorageNetworkIpRangeParams) (*ListStorageNetworkIpRangeResponse, error)
List a storage network IP range.
func (*NetworkService) ListSupportedNetworkServices ¶
func (s *NetworkService) ListSupportedNetworkServices(p *ListSupportedNetworkServicesParams) (*ListSupportedNetworkServicesResponse, error)
Lists all network services provided by CloudStack or for the given Provider.
func (*NetworkService) NewAddNetworkServiceProviderParams ¶
func (s *NetworkService) NewAddNetworkServiceProviderParams(name string, physicalnetworkid string) *AddNetworkServiceProviderParams
You should always use this function to get a new AddNetworkServiceProviderParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewCreateNetworkParams ¶
func (s *NetworkService) NewCreateNetworkParams(displaytext string, name string, networkofferingid string, zoneid string) *CreateNetworkParams
You should always use this function to get a new CreateNetworkParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewCreatePhysicalNetworkParams ¶
func (s *NetworkService) NewCreatePhysicalNetworkParams(name string, zoneid string) *CreatePhysicalNetworkParams
You should always use this function to get a new CreatePhysicalNetworkParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewCreateStorageNetworkIpRangeParams ¶
func (s *NetworkService) NewCreateStorageNetworkIpRangeParams(gateway string, netmask string, podid string, startip string) *CreateStorageNetworkIpRangeParams
You should always use this function to get a new CreateStorageNetworkIpRangeParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewDedicatePublicIpRangeParams ¶
func (s *NetworkService) NewDedicatePublicIpRangeParams(account string, domainid string, id string) *DedicatePublicIpRangeParams
You should always use this function to get a new DedicatePublicIpRangeParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewDeleteNetworkParams ¶
func (s *NetworkService) NewDeleteNetworkParams(id string) *DeleteNetworkParams
You should always use this function to get a new DeleteNetworkParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewDeleteNetworkServiceProviderParams ¶
func (s *NetworkService) NewDeleteNetworkServiceProviderParams(id string) *DeleteNetworkServiceProviderParams
You should always use this function to get a new DeleteNetworkServiceProviderParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewDeletePhysicalNetworkParams ¶
func (s *NetworkService) NewDeletePhysicalNetworkParams(id string) *DeletePhysicalNetworkParams
You should always use this function to get a new DeletePhysicalNetworkParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewDeleteStorageNetworkIpRangeParams ¶
func (s *NetworkService) NewDeleteStorageNetworkIpRangeParams(id string) *DeleteStorageNetworkIpRangeParams
You should always use this function to get a new DeleteStorageNetworkIpRangeParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewListF5LoadBalancerNetworksParams ¶
func (s *NetworkService) NewListF5LoadBalancerNetworksParams(lbdeviceid string) *ListF5LoadBalancerNetworksParams
You should always use this function to get a new ListF5LoadBalancerNetworksParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewListNetscalerLoadBalancerNetworksParams ¶
func (s *NetworkService) NewListNetscalerLoadBalancerNetworksParams(lbdeviceid string) *ListNetscalerLoadBalancerNetworksParams
You should always use this function to get a new ListNetscalerLoadBalancerNetworksParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewListNetworkIsolationMethodsParams ¶
func (s *NetworkService) NewListNetworkIsolationMethodsParams() *ListNetworkIsolationMethodsParams
You should always use this function to get a new ListNetworkIsolationMethodsParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewListNetworkServiceProvidersParams ¶
func (s *NetworkService) NewListNetworkServiceProvidersParams() *ListNetworkServiceProvidersParams
You should always use this function to get a new ListNetworkServiceProvidersParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewListNetworksParams ¶
func (s *NetworkService) NewListNetworksParams() *ListNetworksParams
You should always use this function to get a new ListNetworksParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewListNiciraNvpDeviceNetworksParams ¶
func (s *NetworkService) NewListNiciraNvpDeviceNetworksParams(nvpdeviceid string) *ListNiciraNvpDeviceNetworksParams
You should always use this function to get a new ListNiciraNvpDeviceNetworksParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewListPaloAltoFirewallNetworksParams ¶
func (s *NetworkService) NewListPaloAltoFirewallNetworksParams(lbdeviceid string) *ListPaloAltoFirewallNetworksParams
You should always use this function to get a new ListPaloAltoFirewallNetworksParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewListPhysicalNetworksParams ¶
func (s *NetworkService) NewListPhysicalNetworksParams() *ListPhysicalNetworksParams
You should always use this function to get a new ListPhysicalNetworksParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewListSrxFirewallNetworksParams ¶
func (s *NetworkService) NewListSrxFirewallNetworksParams(lbdeviceid string) *ListSrxFirewallNetworksParams
You should always use this function to get a new ListSrxFirewallNetworksParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewListStorageNetworkIpRangeParams ¶
func (s *NetworkService) NewListStorageNetworkIpRangeParams() *ListStorageNetworkIpRangeParams
You should always use this function to get a new ListStorageNetworkIpRangeParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewListSupportedNetworkServicesParams ¶
func (s *NetworkService) NewListSupportedNetworkServicesParams() *ListSupportedNetworkServicesParams
You should always use this function to get a new ListSupportedNetworkServicesParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewReleasePublicIpRangeParams ¶
func (s *NetworkService) NewReleasePublicIpRangeParams(id string) *ReleasePublicIpRangeParams
You should always use this function to get a new ReleasePublicIpRangeParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewRestartNetworkParams ¶
func (s *NetworkService) NewRestartNetworkParams(id string) *RestartNetworkParams
You should always use this function to get a new RestartNetworkParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewUpdateNetworkParams ¶
func (s *NetworkService) NewUpdateNetworkParams(id string) *UpdateNetworkParams
You should always use this function to get a new UpdateNetworkParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewUpdateNetworkServiceProviderParams ¶
func (s *NetworkService) NewUpdateNetworkServiceProviderParams(id string) *UpdateNetworkServiceProviderParams
You should always use this function to get a new UpdateNetworkServiceProviderParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewUpdatePhysicalNetworkParams ¶
func (s *NetworkService) NewUpdatePhysicalNetworkParams(id string) *UpdatePhysicalNetworkParams
You should always use this function to get a new UpdatePhysicalNetworkParams instance, as then you are sure you have configured all required params
func (*NetworkService) NewUpdateStorageNetworkIpRangeParams ¶
func (s *NetworkService) NewUpdateStorageNetworkIpRangeParams(id string) *UpdateStorageNetworkIpRangeParams
You should always use this function to get a new UpdateStorageNetworkIpRangeParams instance, as then you are sure you have configured all required params
func (*NetworkService) ReleasePublicIpRange ¶
func (s *NetworkService) ReleasePublicIpRange(p *ReleasePublicIpRangeParams) (*ReleasePublicIpRangeResponse, error)
Releases a Public IP range back to the system pool
func (*NetworkService) RestartNetwork ¶
func (s *NetworkService) RestartNetwork(p *RestartNetworkParams) (*RestartNetworkResponse, error)
Restarts the network; includes 1) restarting network elements - virtual routers, dhcp servers 2) reapplying all public ips 3) reapplying loadBalancing/portForwarding rules
func (*NetworkService) UpdateNetwork ¶
func (s *NetworkService) UpdateNetwork(p *UpdateNetworkParams) (*UpdateNetworkResponse, error)
Updates a network
func (*NetworkService) UpdateNetworkServiceProvider ¶
func (s *NetworkService) UpdateNetworkServiceProvider(p *UpdateNetworkServiceProviderParams) (*UpdateNetworkServiceProviderResponse, error)
Updates a network serviceProvider of a physical network
func (*NetworkService) UpdatePhysicalNetwork ¶
func (s *NetworkService) UpdatePhysicalNetwork(p *UpdatePhysicalNetworkParams) (*UpdatePhysicalNetworkResponse, error)
Updates a physical network
func (*NetworkService) UpdateStorageNetworkIpRange ¶
func (s *NetworkService) UpdateStorageNetworkIpRange(p *UpdateStorageNetworkIpRangeParams) (*UpdateStorageNetworkIpRangeResponse, error)
Update a Storage network IP range, only allowed when no IPs in this range have been allocated.
type NetworkServiceProvider ¶
type NetworkServiceProvider struct { Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Servicelist []string `json:"servicelist,omitempty"` State string `json:"state,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` }
type Nic ¶
type Nic struct { Ip6gateway string `json:"ip6gateway,omitempty"` Gateway string `json:"gateway,omitempty"` Netmask string `json:"netmask,omitempty"` Id string `json:"id,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Ip6address string `json:"ip6address,omitempty"` Networkid string `json:"networkid,omitempty"` Type string `json:"type,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Macaddress string `json:"macaddress,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Networkname string `json:"networkname,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Traffictype string `json:"traffictype,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` }
type NicService ¶
type NicService struct {
// contains filtered or unexported fields
}
func NewNicService ¶
func NewNicService(cs *CloudStackClient) *NicService
func (*NicService) AddIpToNic ¶
func (s *NicService) AddIpToNic(p *AddIpToNicParams) (*AddIpToNicResponse, error)
Assigns secondary IP to NIC
func (*NicService) GetNicID ¶
func (s *NicService) GetNicID(keyword string, virtualmachineid string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*NicService) ListNics ¶
func (s *NicService) ListNics(p *ListNicsParams) (*ListNicsResponse, error)
list the vm nics IP to NIC
func (*NicService) NewAddIpToNicParams ¶
func (s *NicService) NewAddIpToNicParams(nicid string) *AddIpToNicParams
You should always use this function to get a new AddIpToNicParams instance, as then you are sure you have configured all required params
func (*NicService) NewListNicsParams ¶
func (s *NicService) NewListNicsParams(virtualmachineid string) *ListNicsParams
You should always use this function to get a new ListNicsParams instance, as then you are sure you have configured all required params
func (*NicService) NewRemoveIpFromNicParams ¶
func (s *NicService) NewRemoveIpFromNicParams(id string) *RemoveIpFromNicParams
You should always use this function to get a new RemoveIpFromNicParams instance, as then you are sure you have configured all required params
func (*NicService) RemoveIpFromNic ¶
func (s *NicService) RemoveIpFromNic(p *RemoveIpFromNicParams) (*RemoveIpFromNicResponse, error)
Removes secondary IP from the NIC.
type NiciraNVPService ¶
type NiciraNVPService struct {
// contains filtered or unexported fields
}
func NewNiciraNVPService ¶
func NewNiciraNVPService(cs *CloudStackClient) *NiciraNVPService
func (*NiciraNVPService) AddNiciraNvpDevice ¶
func (s *NiciraNVPService) AddNiciraNvpDevice(p *AddNiciraNvpDeviceParams) (*AddNiciraNvpDeviceResponse, error)
Adds a Nicira NVP device
func (*NiciraNVPService) DeleteNiciraNvpDevice ¶
func (s *NiciraNVPService) DeleteNiciraNvpDevice(p *DeleteNiciraNvpDeviceParams) (*DeleteNiciraNvpDeviceResponse, error)
delete a nicira nvp device
func (*NiciraNVPService) ListNiciraNvpDevices ¶
func (s *NiciraNVPService) ListNiciraNvpDevices(p *ListNiciraNvpDevicesParams) (*ListNiciraNvpDevicesResponse, error)
Lists Nicira NVP devices
func (*NiciraNVPService) NewAddNiciraNvpDeviceParams ¶
func (s *NiciraNVPService) NewAddNiciraNvpDeviceParams(hostname string, password string, physicalnetworkid string, transportzoneuuid string, username string) *AddNiciraNvpDeviceParams
You should always use this function to get a new AddNiciraNvpDeviceParams instance, as then you are sure you have configured all required params
func (*NiciraNVPService) NewDeleteNiciraNvpDeviceParams ¶
func (s *NiciraNVPService) NewDeleteNiciraNvpDeviceParams(nvpdeviceid string) *DeleteNiciraNvpDeviceParams
You should always use this function to get a new DeleteNiciraNvpDeviceParams instance, as then you are sure you have configured all required params
func (*NiciraNVPService) NewListNiciraNvpDevicesParams ¶
func (s *NiciraNVPService) NewListNiciraNvpDevicesParams() *ListNiciraNvpDevicesParams
You should always use this function to get a new ListNiciraNvpDevicesParams instance, as then you are sure you have configured all required params
type NiciraNvpDevice ¶
type NiciraNvpDevice struct { Provider string `json:"provider,omitempty"` Niciradevicename string `json:"niciradevicename,omitempty"` Hostname string `json:"hostname,omitempty"` L3gatewayserviceuuid string `json:"l3gatewayserviceuuid,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Transportzoneuuid string `json:"transportzoneuuid,omitempty"` Nvpdeviceid string `json:"nvpdeviceid,omitempty"` }
type NiciraNvpDeviceNetwork ¶
type NiciraNvpDeviceNetwork struct { Ispersistent bool `json:"ispersistent,omitempty"` Networkofferingdisplaytext string `json:"networkofferingdisplaytext,omitempty"` Cidr string `json:"cidr,omitempty"` Type string `json:"type,omitempty"` Traffictype string `json:"traffictype,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Acltype string `json:"acltype,omitempty"` Specifyipranges bool `json:"specifyipranges,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Dns2 string `json:"dns2,omitempty"` Networkofferingname string `json:"networkofferingname,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Networkofferingconservemode bool `json:"networkofferingconservemode,omitempty"` Dns1 string `json:"dns1,omitempty"` Reservediprange string `json:"reservediprange,omitempty"` Zonename string `json:"zonename,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Networkofferingavailability string `json:"networkofferingavailability,omitempty"` Aclid string `json:"aclid,omitempty"` Domain string `json:"domain,omitempty"` Service []struct { Provider []struct { Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Id string `json:"id,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Servicelist []string `json:"servicelist,omitempty"` Name string `json:"name,omitempty"` State string `json:"state,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` } `json:"provider,omitempty"` Capability []struct { Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` Value string `json:"value,omitempty"` Name string `json:"name,omitempty"` } `json:"capability,omitempty"` Name string `json:"name,omitempty"` } `json:"service,omitempty"` Related string `json:"related,omitempty"` Vlan string `json:"vlan,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Broadcastdomaintype string `json:"broadcastdomaintype,omitempty"` Tags []struct { Key string `json:"key,omitempty"` Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` Resourceid string `json:"resourceid,omitempty"` Domainid string `json:"domainid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Customer string `json:"customer,omitempty"` Value string `json:"value,omitempty"` } `json:"tags,omitempty"` Displaytext string `json:"displaytext,omitempty"` Networkofferingid string `json:"networkofferingid,omitempty"` Subdomainaccess bool `json:"subdomainaccess,omitempty"` Zoneid string `json:"zoneid,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Netmask string `json:"netmask,omitempty"` Projectid string `json:"projectid,omitempty"` Canusefordeploy bool `json:"canusefordeploy,omitempty"` Networkcidr string `json:"networkcidr,omitempty"` Issystem bool `json:"issystem,omitempty"` Displaynetwork bool `json:"displaynetwork,omitempty"` State string `json:"state,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Restartrequired bool `json:"restartrequired,omitempty"` Vpcid string `json:"vpcid,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Gateway string `json:"gateway,omitempty"` }
type OsCategory ¶ added in v1.0.1
type PaloAltoFirewall ¶
type PaloAltoFirewall struct { Privateinterface string `json:"privateinterface,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Publicinterface string `json:"publicinterface,omitempty"` Fwdevicecapacity int `json:"fwdevicecapacity,omitempty"` Publiczone string `json:"publiczone,omitempty"` Timeout string `json:"timeout,omitempty"` Privatezone string `json:"privatezone,omitempty"` Fwdeviceid string `json:"fwdeviceid,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Fwdevicename string `json:"fwdevicename,omitempty"` Fwdevicestate string `json:"fwdevicestate,omitempty"` Username string `json:"username,omitempty"` Numretries string `json:"numretries,omitempty"` Provider string `json:"provider,omitempty"` Usageinterface string `json:"usageinterface,omitempty"` Zoneid string `json:"zoneid,omitempty"` }
type PaloAltoFirewallNetwork ¶
type PaloAltoFirewallNetwork struct { Vlan string `json:"vlan,omitempty"` Subdomainaccess bool `json:"subdomainaccess,omitempty"` Project string `json:"project,omitempty"` Type string `json:"type,omitempty"` Networkofferingdisplaytext string `json:"networkofferingdisplaytext,omitempty"` Restartrequired bool `json:"restartrequired,omitempty"` Networkofferingid string `json:"networkofferingid,omitempty"` Acltype string `json:"acltype,omitempty"` Tags []struct { Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Value string `json:"value,omitempty"` Domain string `json:"domain,omitempty"` Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domainid string `json:"domainid,omitempty"` Customer string `json:"customer,omitempty"` Key string `json:"key,omitempty"` } `json:"tags,omitempty"` Specifyipranges bool `json:"specifyipranges,omitempty"` Name string `json:"name,omitempty"` Related string `json:"related,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Netmask string `json:"netmask,omitempty"` Displaynetwork bool `json:"displaynetwork,omitempty"` Dns2 string `json:"dns2,omitempty"` Vpcid string `json:"vpcid,omitempty"` Traffictype string `json:"traffictype,omitempty"` Displaytext string `json:"displaytext,omitempty"` Domainid string `json:"domainid,omitempty"` Dns1 string `json:"dns1,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Gateway string `json:"gateway,omitempty"` Aclid string `json:"aclid,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Account string `json:"account,omitempty"` Projectid string `json:"projectid,omitempty"` Issystem bool `json:"issystem,omitempty"` State string `json:"state,omitempty"` Zonename string `json:"zonename,omitempty"` Cidr string `json:"cidr,omitempty"` Ispersistent bool `json:"ispersistent,omitempty"` Canusefordeploy bool `json:"canusefordeploy,omitempty"` Networkofferingconservemode bool `json:"networkofferingconservemode,omitempty"` Reservediprange string `json:"reservediprange,omitempty"` Service []struct { Provider []struct { State string `json:"state,omitempty"` Name string `json:"name,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Id string `json:"id,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Servicelist []string `json:"servicelist,omitempty"` } `json:"provider,omitempty"` Name string `json:"name,omitempty"` Capability []struct { Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` } `json:"capability,omitempty"` } `json:"service,omitempty"` Domain string `json:"domain,omitempty"` Broadcastdomaintype string `json:"broadcastdomaintype,omitempty"` Networkcidr string `json:"networkcidr,omitempty"` Networkofferingname string `json:"networkofferingname,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Networkofferingavailability string `json:"networkofferingavailability,omitempty"` Zoneid string `json:"zoneid,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Id string `json:"id,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` }
type PhysicalNetwork ¶
type PhysicalNetwork struct { Zoneid string `json:"zoneid,omitempty"` Domainid string `json:"domainid,omitempty"` State string `json:"state,omitempty"` Name string `json:"name,omitempty"` Broadcastdomainrange string `json:"broadcastdomainrange,omitempty"` Networkspeed string `json:"networkspeed,omitempty"` Id string `json:"id,omitempty"` Vlan string `json:"vlan,omitempty"` Isolationmethods string `json:"isolationmethods,omitempty"` Tags string `json:"tags,omitempty"` }
type Pod ¶
type Pod struct { Netmask string `json:"netmask,omitempty"` Id string `json:"id,omitempty"` Startip string `json:"startip,omitempty"` Zoneid string `json:"zoneid,omitempty"` Name string `json:"name,omitempty"` Gateway string `json:"gateway,omitempty"` Zonename string `json:"zonename,omitempty"` Capacity []struct { Type int `json:"type,omitempty"` Capacitytotal int `json:"capacitytotal,omitempty"` Clusterid string `json:"clusterid,omitempty"` Podname string `json:"podname,omitempty"` Zoneid string `json:"zoneid,omitempty"` Percentused string `json:"percentused,omitempty"` Clustername string `json:"clustername,omitempty"` Capacityused int `json:"capacityused,omitempty"` Zonename string `json:"zonename,omitempty"` Podid string `json:"podid,omitempty"` } `json:"capacity,omitempty"` Allocationstate string `json:"allocationstate,omitempty"` Endip string `json:"endip,omitempty"` }
type PodService ¶
type PodService struct {
// contains filtered or unexported fields
}
func NewPodService ¶
func NewPodService(cs *CloudStackClient) *PodService
func (*PodService) CreatePod ¶
func (s *PodService) CreatePod(p *CreatePodParams) (*CreatePodResponse, error)
Creates a new Pod.
func (*PodService) DedicatePod ¶
func (s *PodService) DedicatePod(p *DedicatePodParams) (*DedicatePodResponse, error)
Dedicates a Pod.
func (*PodService) DeletePod ¶
func (s *PodService) DeletePod(p *DeletePodParams) (*DeletePodResponse, error)
Deletes a Pod.
func (*PodService) GetDedicatedPodID ¶
func (s *PodService) GetDedicatedPodID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*PodService) GetPodID ¶
func (s *PodService) GetPodID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*PodService) ListDedicatedPods ¶
func (s *PodService) ListDedicatedPods(p *ListDedicatedPodsParams) (*ListDedicatedPodsResponse, error)
Lists dedicated pods.
func (*PodService) ListPods ¶
func (s *PodService) ListPods(p *ListPodsParams) (*ListPodsResponse, error)
Lists all Pods.
func (*PodService) NewCreatePodParams ¶
func (s *PodService) NewCreatePodParams(gateway string, name string, netmask string, startip string, zoneid string) *CreatePodParams
You should always use this function to get a new CreatePodParams instance, as then you are sure you have configured all required params
func (*PodService) NewDedicatePodParams ¶
func (s *PodService) NewDedicatePodParams(domainid string, podid string) *DedicatePodParams
You should always use this function to get a new DedicatePodParams instance, as then you are sure you have configured all required params
func (*PodService) NewDeletePodParams ¶
func (s *PodService) NewDeletePodParams(id string) *DeletePodParams
You should always use this function to get a new DeletePodParams instance, as then you are sure you have configured all required params
func (*PodService) NewListDedicatedPodsParams ¶
func (s *PodService) NewListDedicatedPodsParams() *ListDedicatedPodsParams
You should always use this function to get a new ListDedicatedPodsParams instance, as then you are sure you have configured all required params
func (*PodService) NewListPodsParams ¶
func (s *PodService) NewListPodsParams() *ListPodsParams
You should always use this function to get a new ListPodsParams instance, as then you are sure you have configured all required params
func (*PodService) NewReleaseDedicatedPodParams ¶
func (s *PodService) NewReleaseDedicatedPodParams(podid string) *ReleaseDedicatedPodParams
You should always use this function to get a new ReleaseDedicatedPodParams instance, as then you are sure you have configured all required params
func (*PodService) NewUpdatePodParams ¶
func (s *PodService) NewUpdatePodParams(id string) *UpdatePodParams
You should always use this function to get a new UpdatePodParams instance, as then you are sure you have configured all required params
func (*PodService) ReleaseDedicatedPod ¶
func (s *PodService) ReleaseDedicatedPod(p *ReleaseDedicatedPodParams) (*ReleaseDedicatedPodResponse, error)
Release the dedication for the pod
func (*PodService) UpdatePod ¶
func (s *PodService) UpdatePod(p *UpdatePodParams) (*UpdatePodResponse, error)
Updates a Pod.
type PoolService ¶
type PoolService struct {
// contains filtered or unexported fields
}
func NewPoolService ¶
func NewPoolService(cs *CloudStackClient) *PoolService
func (*PoolService) CreateStoragePool ¶
func (s *PoolService) CreateStoragePool(p *CreateStoragePoolParams) (*CreateStoragePoolResponse, error)
Creates a storage pool.
func (*PoolService) DeleteStoragePool ¶
func (s *PoolService) DeleteStoragePool(p *DeleteStoragePoolParams) (*DeleteStoragePoolResponse, error)
Deletes a storage pool.
func (*PoolService) FindStoragePoolsForMigration ¶
func (s *PoolService) FindStoragePoolsForMigration(p *FindStoragePoolsForMigrationParams) (*FindStoragePoolsForMigrationResponse, error)
Lists storage pools available for migration of a volume.
func (*PoolService) GetStoragePoolID ¶
func (s *PoolService) GetStoragePoolID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*PoolService) ListStoragePools ¶
func (s *PoolService) ListStoragePools(p *ListStoragePoolsParams) (*ListStoragePoolsResponse, error)
Lists storage pools.
func (*PoolService) NewCreateStoragePoolParams ¶
func (s *PoolService) NewCreateStoragePoolParams(name string, url string, zoneid string) *CreateStoragePoolParams
You should always use this function to get a new CreateStoragePoolParams instance, as then you are sure you have configured all required params
func (*PoolService) NewDeleteStoragePoolParams ¶
func (s *PoolService) NewDeleteStoragePoolParams(id string) *DeleteStoragePoolParams
You should always use this function to get a new DeleteStoragePoolParams instance, as then you are sure you have configured all required params
func (*PoolService) NewFindStoragePoolsForMigrationParams ¶
func (s *PoolService) NewFindStoragePoolsForMigrationParams(id string) *FindStoragePoolsForMigrationParams
You should always use this function to get a new FindStoragePoolsForMigrationParams instance, as then you are sure you have configured all required params
func (*PoolService) NewListStoragePoolsParams ¶
func (s *PoolService) NewListStoragePoolsParams() *ListStoragePoolsParams
You should always use this function to get a new ListStoragePoolsParams instance, as then you are sure you have configured all required params
func (*PoolService) NewUpdateStoragePoolParams ¶
func (s *PoolService) NewUpdateStoragePoolParams(id string) *UpdateStoragePoolParams
You should always use this function to get a new UpdateStoragePoolParams instance, as then you are sure you have configured all required params
func (*PoolService) UpdateStoragePool ¶
func (s *PoolService) UpdateStoragePool(p *UpdateStoragePoolParams) (*UpdateStoragePoolResponse, error)
Updates a storage pool.
type PortForwardingRule ¶
type PortForwardingRule struct { Ipaddressid string `json:"ipaddressid,omitempty"` Id string `json:"id,omitempty"` State string `json:"state,omitempty"` Vmguestip string `json:"vmguestip,omitempty"` Tags []struct { Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Customer string `json:"customer,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Key string `json:"key,omitempty"` Projectid string `json:"projectid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Value string `json:"value,omitempty"` } `json:"tags,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` Virtualmachinedisplayname string `json:"virtualmachinedisplayname,omitempty"` Networkid string `json:"networkid,omitempty"` Publicport string `json:"publicport,omitempty"` Protocol string `json:"protocol,omitempty"` Virtualmachinename string `json:"virtualmachinename,omitempty"` Privateendport string `json:"privateendport,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Privateport string `json:"privateport,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Publicendport string `json:"publicendport,omitempty"` }
type PortableIPService ¶
type PortableIPService struct {
// contains filtered or unexported fields
}
func NewPortableIPService ¶
func NewPortableIPService(cs *CloudStackClient) *PortableIPService
func (*PortableIPService) CreatePortableIpRange ¶
func (s *PortableIPService) CreatePortableIpRange(p *CreatePortableIpRangeParams) (*CreatePortableIpRangeResponse, error)
adds a range of portable public IP's to a region
func (*PortableIPService) DeletePortableIpRange ¶
func (s *PortableIPService) DeletePortableIpRange(p *DeletePortableIpRangeParams) (*DeletePortableIpRangeResponse, error)
deletes a range of portable public IP's associated with a region
func (*PortableIPService) GetPortableIpRangeID ¶
func (s *PortableIPService) GetPortableIpRangeID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*PortableIPService) ListPortableIpRanges ¶
func (s *PortableIPService) ListPortableIpRanges(p *ListPortableIpRangesParams) (*ListPortableIpRangesResponse, error)
list portable IP ranges
func (*PortableIPService) NewCreatePortableIpRangeParams ¶
func (s *PortableIPService) NewCreatePortableIpRangeParams(endip string, gateway string, netmask string, regionid int, startip string) *CreatePortableIpRangeParams
You should always use this function to get a new CreatePortableIpRangeParams instance, as then you are sure you have configured all required params
func (*PortableIPService) NewDeletePortableIpRangeParams ¶
func (s *PortableIPService) NewDeletePortableIpRangeParams(id string) *DeletePortableIpRangeParams
You should always use this function to get a new DeletePortableIpRangeParams instance, as then you are sure you have configured all required params
func (*PortableIPService) NewListPortableIpRangesParams ¶
func (s *PortableIPService) NewListPortableIpRangesParams() *ListPortableIpRangesParams
You should always use this function to get a new ListPortableIpRangesParams instance, as then you are sure you have configured all required params
type PortableIpRange ¶
type PortableIpRange struct { Id string `json:"id,omitempty"` Vlan string `json:"vlan,omitempty"` Portableipaddress []struct { Domainid string `json:"domainid,omitempty"` Networkid string `json:"networkid,omitempty"` Accountid string `json:"accountid,omitempty"` Vpcid string `json:"vpcid,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` State string `json:"state,omitempty"` Allocated string `json:"allocated,omitempty"` Zoneid string `json:"zoneid,omitempty"` Regionid int `json:"regionid,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` } `json:"portableipaddress,omitempty"` Endip string `json:"endip,omitempty"` Gateway string `json:"gateway,omitempty"` Netmask string `json:"netmask,omitempty"` Regionid int `json:"regionid,omitempty"` Startip string `json:"startip,omitempty"` }
type PrepareHostForMaintenanceParams ¶
type PrepareHostForMaintenanceParams struct {
// contains filtered or unexported fields
}
func (*PrepareHostForMaintenanceParams) SetId ¶
func (p *PrepareHostForMaintenanceParams) SetId(v string)
type PrepareHostForMaintenanceResponse ¶
type PrepareHostForMaintenanceResponse struct { JobID string `json:"jobid,omitempty"` Disconnected string `json:"disconnected,omitempty"` Podname string `json:"podname,omitempty"` Suitableformigration bool `json:"suitableformigration,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Hypervisorversion string `json:"hypervisorversion,omitempty"` Cpuused string `json:"cpuused,omitempty"` Averageload int `json:"averageload,omitempty"` Cpuwithoverprovisioning string `json:"cpuwithoverprovisioning,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Capabilities string `json:"capabilities,omitempty"` Memoryallocated int `json:"memoryallocated,omitempty"` Removed string `json:"removed,omitempty"` Lastpinged string `json:"lastpinged,omitempty"` Memoryused int `json:"memoryused,omitempty"` Podid string `json:"podid,omitempty"` Resourcestate string `json:"resourcestate,omitempty"` Clusterid string `json:"clusterid,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Oscategoryid string `json:"oscategoryid,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` State string `json:"state,omitempty"` Created string `json:"created,omitempty"` Version string `json:"version,omitempty"` Cpuallocated string `json:"cpuallocated,omitempty"` Name string `json:"name,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Disksizetotal int `json:"disksizetotal,omitempty"` Clustername string `json:"clustername,omitempty"` Hasenoughcapacity bool `json:"hasenoughcapacity,omitempty"` Cpusockets int `json:"cpusockets,omitempty"` Clustertype string `json:"clustertype,omitempty"` Disksizeallocated int `json:"disksizeallocated,omitempty"` Id string `json:"id,omitempty"` Islocalstorageactive bool `json:"islocalstorageactive,omitempty"` Zoneid string `json:"zoneid,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Events string `json:"events,omitempty"` Managementserverid int `json:"managementserverid,omitempty"` Oscategoryname string `json:"oscategoryname,omitempty"` Type string `json:"type,omitempty"` Hahost bool `json:"hahost,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Zonename string `json:"zonename,omitempty"` }
type PrepareTemplateParams ¶
type PrepareTemplateParams struct {
// contains filtered or unexported fields
}
func (*PrepareTemplateParams) SetTemplateid ¶
func (p *PrepareTemplateParams) SetTemplateid(v string)
func (*PrepareTemplateParams) SetZoneid ¶
func (p *PrepareTemplateParams) SetZoneid(v string)
type PrepareTemplateResponse ¶
type PrepareTemplateResponse struct { Ispublic bool `json:"ispublic,omitempty"` Project string `json:"project,omitempty"` Name string `json:"name,omitempty"` Format string `json:"format,omitempty"` Hostname string `json:"hostname,omitempty"` Domain string `json:"domain,omitempty"` Zoneid string `json:"zoneid,omitempty"` Isready bool `json:"isready,omitempty"` Accountid string `json:"accountid,omitempty"` Hostid string `json:"hostid,omitempty"` Isfeatured bool `json:"isfeatured,omitempty"` Details map[string]string `json:"details,omitempty"` Templatetag string `json:"templatetag,omitempty"` Checksum string `json:"checksum,omitempty"` Id string `json:"id,omitempty"` Zonename string `json:"zonename,omitempty"` Displaytext string `json:"displaytext,omitempty"` Isextractable bool `json:"isextractable,omitempty"` Domainid string `json:"domainid,omitempty"` Status string `json:"status,omitempty"` Created string `json:"created,omitempty"` Account string `json:"account,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Sourcetemplateid string `json:"sourcetemplateid,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Ostypeid string `json:"ostypeid,omitempty"` Templatetype string `json:"templatetype,omitempty"` Tags []struct { Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Customer string `json:"customer,omitempty"` Domain string `json:"domain,omitempty"` Value string `json:"value,omitempty"` Projectid string `json:"projectid,omitempty"` Key string `json:"key,omitempty"` } `json:"tags,omitempty"` CrossZones bool `json:"crossZones,omitempty"` Ostypename string `json:"ostypename,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Projectid string `json:"projectid,omitempty"` Bootable bool `json:"bootable,omitempty"` Sshkeyenabled bool `json:"sshkeyenabled,omitempty"` Size int `json:"size,omitempty"` Removed string `json:"removed,omitempty"` }
type PrivateGateway ¶
type PrivateGateway struct { Gateway string `json:"gateway,omitempty"` Vlan string `json:"vlan,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Account string `json:"account,omitempty"` Vpcid string `json:"vpcid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Project string `json:"project,omitempty"` Domainid string `json:"domainid,omitempty"` Zonename string `json:"zonename,omitempty"` Aclid string `json:"aclid,omitempty"` Netmask string `json:"netmask,omitempty"` Projectid string `json:"projectid,omitempty"` Sourcenatsupported bool `json:"sourcenatsupported,omitempty"` State string `json:"state,omitempty"` Domain string `json:"domain,omitempty"` Id string `json:"id,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` }
type Project ¶
type Project struct { Vpclimit string `json:"vpclimit,omitempty"` Displaytext string `json:"displaytext,omitempty"` Snapshotlimit string `json:"snapshotlimit,omitempty"` Vmstopped int `json:"vmstopped,omitempty"` Templateavailable string `json:"templateavailable,omitempty"` State string `json:"state,omitempty"` Snapshottotal int `json:"snapshottotal,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Vmavailable string `json:"vmavailable,omitempty"` Domain string `json:"domain,omitempty"` Iptotal int `json:"iptotal,omitempty"` Primarystoragetotal int `json:"primarystoragetotal,omitempty"` Secondarystoragelimit string `json:"secondarystoragelimit,omitempty"` Secondarystoragetotal int `json:"secondarystoragetotal,omitempty"` Vmtotal int `json:"vmtotal,omitempty"` Primarystorageavailable string `json:"primarystorageavailable,omitempty"` Ipavailable string `json:"ipavailable,omitempty"` Templatetotal int `json:"templatetotal,omitempty"` Name string `json:"name,omitempty"` Cpulimit string `json:"cpulimit,omitempty"` Tags []struct { Value string `json:"value,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Project string `json:"project,omitempty"` Customer string `json:"customer,omitempty"` Resourceid string `json:"resourceid,omitempty"` Key string `json:"key,omitempty"` Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` } `json:"tags,omitempty"` Vpctotal int `json:"vpctotal,omitempty"` Id string `json:"id,omitempty"` Volumelimit string `json:"volumelimit,omitempty"` Networktotal int `json:"networktotal,omitempty"` Secondarystorageavailable string `json:"secondarystorageavailable,omitempty"` Volumeavailable string `json:"volumeavailable,omitempty"` Primarystoragelimit string `json:"primarystoragelimit,omitempty"` Templatelimit string `json:"templatelimit,omitempty"` Vmrunning int `json:"vmrunning,omitempty"` Vpcavailable string `json:"vpcavailable,omitempty"` Volumetotal int `json:"volumetotal,omitempty"` Vmlimit string `json:"vmlimit,omitempty"` Networkavailable string `json:"networkavailable,omitempty"` Cputotal int `json:"cputotal,omitempty"` Cpuavailable string `json:"cpuavailable,omitempty"` Snapshotavailable string `json:"snapshotavailable,omitempty"` Memorylimit string `json:"memorylimit,omitempty"` Networklimit string `json:"networklimit,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Iplimit string `json:"iplimit,omitempty"` Memoryavailable string `json:"memoryavailable,omitempty"` }
type ProjectAccount ¶
type ProjectAccount struct { Networkavailable string `json:"networkavailable,omitempty"` Volumeavailable string `json:"volumeavailable,omitempty"` Vmtotal int `json:"vmtotal,omitempty"` Vmavailable string `json:"vmavailable,omitempty"` Cputotal int `json:"cputotal,omitempty"` Vpclimit string `json:"vpclimit,omitempty"` Volumetotal int `json:"volumetotal,omitempty"` Vmlimit string `json:"vmlimit,omitempty"` Secondarystoragelimit string `json:"secondarystoragelimit,omitempty"` Volumelimit string `json:"volumelimit,omitempty"` State string `json:"state,omitempty"` Snapshotlimit string `json:"snapshotlimit,omitempty"` Domain string `json:"domain,omitempty"` Displaytext string `json:"displaytext,omitempty"` Snapshotavailable string `json:"snapshotavailable,omitempty"` Id string `json:"id,omitempty"` Iptotal int `json:"iptotal,omitempty"` Domainid string `json:"domainid,omitempty"` Ipavailable string `json:"ipavailable,omitempty"` Cpulimit string `json:"cpulimit,omitempty"` Vpcavailable string `json:"vpcavailable,omitempty"` Primarystoragetotal int `json:"primarystoragetotal,omitempty"` Secondarystorageavailable string `json:"secondarystorageavailable,omitempty"` Snapshottotal int `json:"snapshottotal,omitempty"` Memorylimit string `json:"memorylimit,omitempty"` Iplimit string `json:"iplimit,omitempty"` Templateavailable string `json:"templateavailable,omitempty"` Name string `json:"name,omitempty"` Templatetotal int `json:"templatetotal,omitempty"` Primarystorageavailable string `json:"primarystorageavailable,omitempty"` Networktotal int `json:"networktotal,omitempty"` Vmstopped int `json:"vmstopped,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Project string `json:"project,omitempty"` Resourceid string `json:"resourceid,omitempty"` Domainid string `json:"domainid,omitempty"` Value string `json:"value,omitempty"` Account string `json:"account,omitempty"` Key string `json:"key,omitempty"` Customer string `json:"customer,omitempty"` Projectid string `json:"projectid,omitempty"` } `json:"tags,omitempty"` Vpctotal int `json:"vpctotal,omitempty"` Memoryavailable string `json:"memoryavailable,omitempty"` Primarystoragelimit string `json:"primarystoragelimit,omitempty"` Templatelimit string `json:"templatelimit,omitempty"` Account string `json:"account,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Vmrunning int `json:"vmrunning,omitempty"` Networklimit string `json:"networklimit,omitempty"` Cpuavailable string `json:"cpuavailable,omitempty"` Secondarystoragetotal int `json:"secondarystoragetotal,omitempty"` }
type ProjectInvitation ¶
type ProjectInvitation struct { State string `json:"state,omitempty"` Project string `json:"project,omitempty"` Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Id string `json:"id,omitempty"` Account string `json:"account,omitempty"` Email string `json:"email,omitempty"` }
type ProjectService ¶
type ProjectService struct {
// contains filtered or unexported fields
}
func NewProjectService ¶
func NewProjectService(cs *CloudStackClient) *ProjectService
func (*ProjectService) ActivateProject ¶
func (s *ProjectService) ActivateProject(p *ActivateProjectParams) (*ActivateProjectResponse, error)
Activates a project
func (*ProjectService) CreateProject ¶
func (s *ProjectService) CreateProject(p *CreateProjectParams) (*CreateProjectResponse, error)
Creates a project
func (*ProjectService) DeleteProject ¶
func (s *ProjectService) DeleteProject(p *DeleteProjectParams) (*DeleteProjectResponse, error)
Deletes a project
func (*ProjectService) DeleteProjectInvitation ¶
func (s *ProjectService) DeleteProjectInvitation(p *DeleteProjectInvitationParams) (*DeleteProjectInvitationResponse, error)
Accepts or declines project invitation
func (*ProjectService) GetProjectID ¶
func (s *ProjectService) GetProjectID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*ProjectService) GetProjectInvitationID ¶
func (s *ProjectService) GetProjectInvitationID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*ProjectService) ListProjectInvitations ¶
func (s *ProjectService) ListProjectInvitations(p *ListProjectInvitationsParams) (*ListProjectInvitationsResponse, error)
Lists projects and provides detailed information for listed projects
func (*ProjectService) ListProjects ¶
func (s *ProjectService) ListProjects(p *ListProjectsParams) (*ListProjectsResponse, error)
Lists projects and provides detailed information for listed projects
func (*ProjectService) NewActivateProjectParams ¶
func (s *ProjectService) NewActivateProjectParams(id string) *ActivateProjectParams
You should always use this function to get a new ActivateProjectParams instance, as then you are sure you have configured all required params
func (*ProjectService) NewCreateProjectParams ¶
func (s *ProjectService) NewCreateProjectParams(displaytext string, name string) *CreateProjectParams
You should always use this function to get a new CreateProjectParams instance, as then you are sure you have configured all required params
func (*ProjectService) NewDeleteProjectInvitationParams ¶
func (s *ProjectService) NewDeleteProjectInvitationParams(id string) *DeleteProjectInvitationParams
You should always use this function to get a new DeleteProjectInvitationParams instance, as then you are sure you have configured all required params
func (*ProjectService) NewDeleteProjectParams ¶
func (s *ProjectService) NewDeleteProjectParams(id string) *DeleteProjectParams
You should always use this function to get a new DeleteProjectParams instance, as then you are sure you have configured all required params
func (*ProjectService) NewListProjectInvitationsParams ¶
func (s *ProjectService) NewListProjectInvitationsParams() *ListProjectInvitationsParams
You should always use this function to get a new ListProjectInvitationsParams instance, as then you are sure you have configured all required params
func (*ProjectService) NewListProjectsParams ¶
func (s *ProjectService) NewListProjectsParams() *ListProjectsParams
You should always use this function to get a new ListProjectsParams instance, as then you are sure you have configured all required params
func (*ProjectService) NewSuspendProjectParams ¶
func (s *ProjectService) NewSuspendProjectParams(id string) *SuspendProjectParams
You should always use this function to get a new SuspendProjectParams instance, as then you are sure you have configured all required params
func (*ProjectService) NewUpdateProjectInvitationParams ¶
func (s *ProjectService) NewUpdateProjectInvitationParams(projectid string) *UpdateProjectInvitationParams
You should always use this function to get a new UpdateProjectInvitationParams instance, as then you are sure you have configured all required params
func (*ProjectService) NewUpdateProjectParams ¶
func (s *ProjectService) NewUpdateProjectParams(id string) *UpdateProjectParams
You should always use this function to get a new UpdateProjectParams instance, as then you are sure you have configured all required params
func (*ProjectService) SuspendProject ¶
func (s *ProjectService) SuspendProject(p *SuspendProjectParams) (*SuspendProjectResponse, error)
Suspends a project
func (*ProjectService) UpdateProject ¶
func (s *ProjectService) UpdateProject(p *UpdateProjectParams) (*UpdateProjectResponse, error)
Updates a project
func (*ProjectService) UpdateProjectInvitation ¶
func (s *ProjectService) UpdateProjectInvitation(p *UpdateProjectInvitationParams) (*UpdateProjectInvitationResponse, error)
Accepts or declines project invitation
type PublicIpAddresse ¶
type PublicIpAddresse struct { Virtualmachinename string `json:"virtualmachinename,omitempty"` Vmipaddress string `json:"vmipaddress,omitempty"` Zonename string `json:"zonename,omitempty"` State string `json:"state,omitempty"` Purpose string `json:"purpose,omitempty"` Id string `json:"id,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Key string `json:"key,omitempty"` Customer string `json:"customer,omitempty"` Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Projectid string `json:"projectid,omitempty"` Value string `json:"value,omitempty"` } `json:"tags,omitempty"` Associatednetworkname string `json:"associatednetworkname,omitempty"` Project string `json:"project,omitempty"` Zoneid string `json:"zoneid,omitempty"` Issystem bool `json:"issystem,omitempty"` Virtualmachinedisplayname string `json:"virtualmachinedisplayname,omitempty"` Vpcid string `json:"vpcid,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Domainid string `json:"domainid,omitempty"` Domain string `json:"domain,omitempty"` Isstaticnat bool `json:"isstaticnat,omitempty"` Allocated string `json:"allocated,omitempty"` Vlanname string `json:"vlanname,omitempty"` Networkid string `json:"networkid,omitempty"` Projectid string `json:"projectid,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Isportable bool `json:"isportable,omitempty"` Account string `json:"account,omitempty"` Issourcenat bool `json:"issourcenat,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` Vlanid string `json:"vlanid,omitempty"` Associatednetworkid string `json:"associatednetworkid,omitempty"` }
type QueryAsyncJobResultParams ¶
type QueryAsyncJobResultParams struct {
// contains filtered or unexported fields
}
func (*QueryAsyncJobResultParams) SetJobid ¶
func (p *QueryAsyncJobResultParams) SetJobid(v string)
type QueryAsyncJobResultResponse ¶
type QueryAsyncJobResultResponse struct { Accountid string `json:"accountid,omitempty"` Jobinstanceid string `json:"jobinstanceid,omitempty"` Jobprocstatus int `json:"jobprocstatus,omitempty"` Created string `json:"created,omitempty"` Userid string `json:"userid,omitempty"` Cmd string `json:"cmd,omitempty"` Jobstatus int `json:"jobstatus,omitempty"` Jobinstancetype string `json:"jobinstancetype,omitempty"` Jobresult json.RawMessage `json:"jobresult,omitempty"` Jobresulttype string `json:"jobresulttype,omitempty"` Jobresultcode int `json:"jobresultcode,omitempty"` }
type RebootRouterParams ¶
type RebootRouterParams struct {
// contains filtered or unexported fields
}
func (*RebootRouterParams) SetId ¶
func (p *RebootRouterParams) SetId(v string)
type RebootRouterResponse ¶
type RebootRouterResponse struct { JobID string `json:"jobid,omitempty"` Requiresupgrade bool `json:"requiresupgrade,omitempty"` Hostid string `json:"hostid,omitempty"` Linklocalip string `json:"linklocalip,omitempty"` Podid string `json:"podid,omitempty"` Redundantstate string `json:"redundantstate,omitempty"` Guestnetmask string `json:"guestnetmask,omitempty"` Ip6dns2 string `json:"ip6dns2,omitempty"` Guestnetworkid string `json:"guestnetworkid,omitempty"` Linklocalnetmask string `json:"linklocalnetmask,omitempty"` Linklocalnetworkid string `json:"linklocalnetworkid,omitempty"` Zonename string `json:"zonename,omitempty"` Guestmacaddress string `json:"guestmacaddress,omitempty"` Scriptsversion string `json:"scriptsversion,omitempty"` Isredundantrouter bool `json:"isredundantrouter,omitempty"` Projectid string `json:"projectid,omitempty"` Name string `json:"name,omitempty"` Dns2 string `json:"dns2,omitempty"` Publicnetmask string `json:"publicnetmask,omitempty"` State string `json:"state,omitempty"` Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"` Project string `json:"project,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Gateway string `json:"gateway,omitempty"` Zoneid string `json:"zoneid,omitempty"` Account string `json:"account,omitempty"` Publicmacaddress string `json:"publicmacaddress,omitempty"` Guestipaddress string `json:"guestipaddress,omitempty"` Nic []struct { Ipaddress string `json:"ipaddress,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Netmask string `json:"netmask,omitempty"` Networkname string `json:"networkname,omitempty"` Id string `json:"id,omitempty"` Traffictype string `json:"traffictype,omitempty"` Macaddress string `json:"macaddress,omitempty"` Networkid string `json:"networkid,omitempty"` Gateway string `json:"gateway,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Type string `json:"type,omitempty"` Ip6address string `json:"ip6address,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` } `json:"nic,omitempty"` Id string `json:"id,omitempty"` Dns1 string `json:"dns1,omitempty"` Version string `json:"version,omitempty"` Domain string `json:"domain,omitempty"` Ip6dns1 string `json:"ip6dns1,omitempty"` Role string `json:"role,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Vpcid string `json:"vpcid,omitempty"` Templateid string `json:"templateid,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Created string `json:"created,omitempty"` Publicnetworkid string `json:"publicnetworkid,omitempty"` Domainid string `json:"domainid,omitempty"` Hostname string `json:"hostname,omitempty"` Publicip string `json:"publicip,omitempty"` }
type RebootSystemVmParams ¶
type RebootSystemVmParams struct {
// contains filtered or unexported fields
}
func (*RebootSystemVmParams) SetId ¶
func (p *RebootSystemVmParams) SetId(v string)
type RebootSystemVmResponse ¶
type RebootSystemVmResponse struct { JobID string `json:"jobid,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` State string `json:"state,omitempty"` Jobid string `json:"jobid,omitempty"` Podid string `json:"podid,omitempty"` Privateip string `json:"privateip,omitempty"` Id string `json:"id,omitempty"` Privatemacaddress string `json:"privatemacaddress,omitempty"` Zonename string `json:"zonename,omitempty"` Jobstatus int `json:"jobstatus,omitempty"` Publicnetmask string `json:"publicnetmask,omitempty"` Dns1 string `json:"dns1,omitempty"` Hostid string `json:"hostid,omitempty"` Dns2 string `json:"dns2,omitempty"` Created string `json:"created,omitempty"` Publicip string `json:"publicip,omitempty"` Hostname string `json:"hostname,omitempty"` Privatenetmask string `json:"privatenetmask,omitempty"` Linklocalip string `json:"linklocalip,omitempty"` Zoneid string `json:"zoneid,omitempty"` Publicmacaddress string `json:"publicmacaddress,omitempty"` Name string `json:"name,omitempty"` Gateway string `json:"gateway,omitempty"` Linklocalnetmask string `json:"linklocalnetmask,omitempty"` Templateid string `json:"templateid,omitempty"` Activeviewersessions int `json:"activeviewersessions,omitempty"` Systemvmtype string `json:"systemvmtype,omitempty"` Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"` }
type RebootVirtualMachineParams ¶
type RebootVirtualMachineParams struct {
// contains filtered or unexported fields
}
func (*RebootVirtualMachineParams) SetId ¶
func (p *RebootVirtualMachineParams) SetId(v string)
type RebootVirtualMachineResponse ¶
type RebootVirtualMachineResponse struct { JobID string `json:"jobid,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Keypair string `json:"keypair,omitempty"` Cpuused string `json:"cpuused,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Groupid string `json:"groupid,omitempty"` Password string `json:"password,omitempty"` Name string `json:"name,omitempty"` Created string `json:"created,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Hostid string `json:"hostid,omitempty"` Isoname string `json:"isoname,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Nic []struct { Id string `json:"id,omitempty"` Traffictype string `json:"traffictype,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Ip6address string `json:"ip6address,omitempty"` Gateway string `json:"gateway,omitempty"` Macaddress string `json:"macaddress,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Type string `json:"type,omitempty"` Networkid string `json:"networkid,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Netmask string `json:"netmask,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Networkname string `json:"networkname,omitempty"` } `json:"nic,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Domainid string `json:"domainid,omitempty"` Diskioread int `json:"diskioread,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Isoid string `json:"isoid,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Domain string `json:"domain,omitempty"` Publicipid string `json:"publicipid,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Details map[string]string `json:"details,omitempty"` Group string `json:"group,omitempty"` State string `json:"state,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Affinitygroup []struct { Domainid string `json:"domainid,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Account string `json:"account,omitempty"` Description string `json:"description,omitempty"` Id string `json:"id,omitempty"` Domain string `json:"domain,omitempty"` Type string `json:"type,omitempty"` Name string `json:"name,omitempty"` } `json:"affinitygroup,omitempty"` Instancename string `json:"instancename,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Servicestate string `json:"servicestate,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Guestosid string `json:"guestosid,omitempty"` Projectid string `json:"projectid,omitempty"` Memory int `json:"memory,omitempty"` Templatename string `json:"templatename,omitempty"` Haenable bool `json:"haenable,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Publicip string `json:"publicip,omitempty"` Zoneid string `json:"zoneid,omitempty"` Zonename string `json:"zonename,omitempty"` Templateid string `json:"templateid,omitempty"` Id string `json:"id,omitempty"` Securitygroup []struct { Project string `json:"project,omitempty"` Tags []struct { Domainid string `json:"domainid,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Resourceid string `json:"resourceid,omitempty"` Customer string `json:"customer,omitempty"` Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` Value string `json:"value,omitempty"` Key string `json:"key,omitempty"` } `json:"tags,omitempty"` Domain string `json:"domain,omitempty"` Description string `json:"description,omitempty"` Egressrule []struct { Account string `json:"account,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Protocol string `json:"protocol,omitempty"` Endport int `json:"endport,omitempty"` Startport int `json:"startport,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Icmptype int `json:"icmptype,omitempty"` Cidr string `json:"cidr,omitempty"` Ruleid string `json:"ruleid,omitempty"` } `json:"egressrule,omitempty"` Domainid string `json:"domainid,omitempty"` Id string `json:"id,omitempty"` Account string `json:"account,omitempty"` Projectid string `json:"projectid,omitempty"` Ingressrule []struct { Account string `json:"account,omitempty"` Startport int `json:"startport,omitempty"` Icmptype int `json:"icmptype,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Protocol string `json:"protocol,omitempty"` Cidr string `json:"cidr,omitempty"` Ruleid string `json:"ruleid,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Endport int `json:"endport,omitempty"` } `json:"ingressrule,omitempty"` Name string `json:"name,omitempty"` } `json:"securitygroup,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Tags []struct { Account string `json:"account,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domainid string `json:"domainid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Customer string `json:"customer,omitempty"` Key string `json:"key,omitempty"` Domain string `json:"domain,omitempty"` Value string `json:"value,omitempty"` Projectid string `json:"projectid,omitempty"` Project string `json:"project,omitempty"` } `json:"tags,omitempty"` Displayname string `json:"displayname,omitempty"` Hostname string `json:"hostname,omitempty"` }
type ReconnectHostParams ¶
type ReconnectHostParams struct {
// contains filtered or unexported fields
}
func (*ReconnectHostParams) SetId ¶
func (p *ReconnectHostParams) SetId(v string)
type ReconnectHostResponse ¶
type ReconnectHostResponse struct { JobID string `json:"jobid,omitempty"` State string `json:"state,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Type string `json:"type,omitempty"` Memoryallocated int `json:"memoryallocated,omitempty"` Name string `json:"name,omitempty"` Podid string `json:"podid,omitempty"` Suitableformigration bool `json:"suitableformigration,omitempty"` Capabilities string `json:"capabilities,omitempty"` Memoryused int `json:"memoryused,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Managementserverid int `json:"managementserverid,omitempty"` Zonename string `json:"zonename,omitempty"` Hahost bool `json:"hahost,omitempty"` Events string `json:"events,omitempty"` Clustername string `json:"clustername,omitempty"` Disksizetotal int `json:"disksizetotal,omitempty"` Podname string `json:"podname,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Resourcestate string `json:"resourcestate,omitempty"` Islocalstorageactive bool `json:"islocalstorageactive,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Lastpinged string `json:"lastpinged,omitempty"` Created string `json:"created,omitempty"` Cpuallocated string `json:"cpuallocated,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Zoneid string `json:"zoneid,omitempty"` Hasenoughcapacity bool `json:"hasenoughcapacity,omitempty"` Cpuwithoverprovisioning string `json:"cpuwithoverprovisioning,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Clustertype string `json:"clustertype,omitempty"` Averageload int `json:"averageload,omitempty"` Id string `json:"id,omitempty"` Cpuused string `json:"cpuused,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Removed string `json:"removed,omitempty"` Version string `json:"version,omitempty"` Disconnected string `json:"disconnected,omitempty"` Oscategoryid string `json:"oscategoryid,omitempty"` Clusterid string `json:"clusterid,omitempty"` Hypervisorversion string `json:"hypervisorversion,omitempty"` Cpusockets int `json:"cpusockets,omitempty"` Disksizeallocated int `json:"disksizeallocated,omitempty"` Oscategoryname string `json:"oscategoryname,omitempty"` }
type RecoverVirtualMachineParams ¶
type RecoverVirtualMachineParams struct {
// contains filtered or unexported fields
}
func (*RecoverVirtualMachineParams) SetId ¶
func (p *RecoverVirtualMachineParams) SetId(v string)
type RecoverVirtualMachineResponse ¶
type RecoverVirtualMachineResponse struct { Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Group string `json:"group,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` State string `json:"state,omitempty"` Nic []struct { Secondaryip []string `json:"secondaryip,omitempty"` Networkname string `json:"networkname,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Traffictype string `json:"traffictype,omitempty"` Ip6address string `json:"ip6address,omitempty"` Type string `json:"type,omitempty"` Macaddress string `json:"macaddress,omitempty"` Id string `json:"id,omitempty"` Netmask string `json:"netmask,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Networkid string `json:"networkid,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Gateway string `json:"gateway,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` } `json:"nic,omitempty"` Instancename string `json:"instancename,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Details map[string]string `json:"details,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Password string `json:"password,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Created string `json:"created,omitempty"` Memory int `json:"memory,omitempty"` Isoid string `json:"isoid,omitempty"` Diskioread int `json:"diskioread,omitempty"` Id string `json:"id,omitempty"` Project string `json:"project,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Haenable bool `json:"haenable,omitempty"` Servicestate string `json:"servicestate,omitempty"` Affinitygroup []struct { Id string `json:"id,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Name string `json:"name,omitempty"` Domainid string `json:"domainid,omitempty"` Description string `json:"description,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Type string `json:"type,omitempty"` } `json:"affinitygroup,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Isoname string `json:"isoname,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Hostname string `json:"hostname,omitempty"` Templatename string `json:"templatename,omitempty"` Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` Zonename string `json:"zonename,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Securitygroup []struct { Name string `json:"name,omitempty"` Domain string `json:"domain,omitempty"` Egressrule []struct { Securitygroupname string `json:"securitygroupname,omitempty"` Startport int `json:"startport,omitempty"` Endport int `json:"endport,omitempty"` Account string `json:"account,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Icmptype int `json:"icmptype,omitempty"` Protocol string `json:"protocol,omitempty"` Cidr string `json:"cidr,omitempty"` Ruleid string `json:"ruleid,omitempty"` } `json:"egressrule,omitempty"` Tags []struct { Domainid string `json:"domainid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Project string `json:"project,omitempty"` Value string `json:"value,omitempty"` Resourceid string `json:"resourceid,omitempty"` Domain string `json:"domain,omitempty"` Key string `json:"key,omitempty"` Projectid string `json:"projectid,omitempty"` Customer string `json:"customer,omitempty"` Account string `json:"account,omitempty"` } `json:"tags,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Ingressrule []struct { Icmpcode int `json:"icmpcode,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Endport int `json:"endport,omitempty"` Startport int `json:"startport,omitempty"` Icmptype int `json:"icmptype,omitempty"` Protocol string `json:"protocol,omitempty"` Cidr string `json:"cidr,omitempty"` Account string `json:"account,omitempty"` Ruleid string `json:"ruleid,omitempty"` } `json:"ingressrule,omitempty"` Id string `json:"id,omitempty"` Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` Description string `json:"description,omitempty"` } `json:"securitygroup,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Zoneid string `json:"zoneid,omitempty"` Templateid string `json:"templateid,omitempty"` Publicip string `json:"publicip,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Hostid string `json:"hostid,omitempty"` Guestosid string `json:"guestosid,omitempty"` Displayname string `json:"displayname,omitempty"` Name string `json:"name,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Groupid string `json:"groupid,omitempty"` Publicipid string `json:"publicipid,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Projectid string `json:"projectid,omitempty"` Value string `json:"value,omitempty"` Customer string `json:"customer,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Project string `json:"project,omitempty"` Key string `json:"key,omitempty"` } `json:"tags,omitempty"` Keypair string `json:"keypair,omitempty"` Cpuused string `json:"cpuused,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` }
type RefreshUcsBladesParams ¶
type RefreshUcsBladesParams struct {
// contains filtered or unexported fields
}
func (*RefreshUcsBladesParams) SetKeyword ¶
func (p *RefreshUcsBladesParams) SetKeyword(v string)
func (*RefreshUcsBladesParams) SetPage ¶
func (p *RefreshUcsBladesParams) SetPage(v int)
func (*RefreshUcsBladesParams) SetPagesize ¶
func (p *RefreshUcsBladesParams) SetPagesize(v int)
func (*RefreshUcsBladesParams) SetUcsmanagerid ¶
func (p *RefreshUcsBladesParams) SetUcsmanagerid(v string)
type RegionService ¶
type RegionService struct {
// contains filtered or unexported fields
}
func NewRegionService ¶
func NewRegionService(cs *CloudStackClient) *RegionService
func (*RegionService) AddRegion ¶
func (s *RegionService) AddRegion(p *AddRegionParams) (*AddRegionResponse, error)
Adds a Region
func (*RegionService) ListRegions ¶
func (s *RegionService) ListRegions(p *ListRegionsParams) (*ListRegionsResponse, error)
Lists Regions
func (*RegionService) NewAddRegionParams ¶
func (s *RegionService) NewAddRegionParams(endpoint string, id int, name string) *AddRegionParams
You should always use this function to get a new AddRegionParams instance, as then you are sure you have configured all required params
func (*RegionService) NewListRegionsParams ¶
func (s *RegionService) NewListRegionsParams() *ListRegionsParams
You should always use this function to get a new ListRegionsParams instance, as then you are sure you have configured all required params
func (*RegionService) NewRemoveRegionParams ¶
func (s *RegionService) NewRemoveRegionParams(id int) *RemoveRegionParams
You should always use this function to get a new RemoveRegionParams instance, as then you are sure you have configured all required params
func (*RegionService) NewUpdateRegionParams ¶
func (s *RegionService) NewUpdateRegionParams(id int) *UpdateRegionParams
You should always use this function to get a new UpdateRegionParams instance, as then you are sure you have configured all required params
func (*RegionService) RemoveRegion ¶
func (s *RegionService) RemoveRegion(p *RemoveRegionParams) (*RemoveRegionResponse, error)
Removes specified region
func (*RegionService) UpdateRegion ¶
func (s *RegionService) UpdateRegion(p *UpdateRegionParams) (*UpdateRegionResponse, error)
Updates a region
type RegisterIsoParams ¶
type RegisterIsoParams struct {
// contains filtered or unexported fields
}
func (*RegisterIsoParams) SetAccount ¶
func (p *RegisterIsoParams) SetAccount(v string)
func (*RegisterIsoParams) SetBootable ¶
func (p *RegisterIsoParams) SetBootable(v bool)
func (*RegisterIsoParams) SetChecksum ¶
func (p *RegisterIsoParams) SetChecksum(v string)
func (*RegisterIsoParams) SetDisplaytext ¶
func (p *RegisterIsoParams) SetDisplaytext(v string)
func (*RegisterIsoParams) SetDomainid ¶
func (p *RegisterIsoParams) SetDomainid(v string)
func (*RegisterIsoParams) SetImagestoreuuid ¶
func (p *RegisterIsoParams) SetImagestoreuuid(v string)
func (*RegisterIsoParams) SetIsdynamicallyscalable ¶
func (p *RegisterIsoParams) SetIsdynamicallyscalable(v bool)
func (*RegisterIsoParams) SetIsextractable ¶
func (p *RegisterIsoParams) SetIsextractable(v bool)
func (*RegisterIsoParams) SetIsfeatured ¶
func (p *RegisterIsoParams) SetIsfeatured(v bool)
func (*RegisterIsoParams) SetIspublic ¶
func (p *RegisterIsoParams) SetIspublic(v bool)
func (*RegisterIsoParams) SetName ¶
func (p *RegisterIsoParams) SetName(v string)
func (*RegisterIsoParams) SetOstypeid ¶
func (p *RegisterIsoParams) SetOstypeid(v string)
func (*RegisterIsoParams) SetProjectid ¶
func (p *RegisterIsoParams) SetProjectid(v string)
func (*RegisterIsoParams) SetUrl ¶
func (p *RegisterIsoParams) SetUrl(v string)
func (*RegisterIsoParams) SetZoneid ¶
func (p *RegisterIsoParams) SetZoneid(v string)
type RegisterIsoResponse ¶
type RegisterIsoResponse struct { Accountid string `json:"accountid,omitempty"` Isfeatured bool `json:"isfeatured,omitempty"` Account string `json:"account,omitempty"` Removed string `json:"removed,omitempty"` Templatetag string `json:"templatetag,omitempty"` Hostid string `json:"hostid,omitempty"` Size int `json:"size,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Sshkeyenabled bool `json:"sshkeyenabled,omitempty"` CrossZones bool `json:"crossZones,omitempty"` Format string `json:"format,omitempty"` Domain string `json:"domain,omitempty"` Displaytext string `json:"displaytext,omitempty"` Templatetype string `json:"templatetype,omitempty"` Zonename string `json:"zonename,omitempty"` Hostname string `json:"hostname,omitempty"` Isextractable bool `json:"isextractable,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Key string `json:"key,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Resourceid string `json:"resourceid,omitempty"` Customer string `json:"customer,omitempty"` Value string `json:"value,omitempty"` } `json:"tags,omitempty"` Bootable bool `json:"bootable,omitempty"` Id string `json:"id,omitempty"` Ostypeid string `json:"ostypeid,omitempty"` Project string `json:"project,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Ispublic bool `json:"ispublic,omitempty"` Status string `json:"status,omitempty"` Domainid string `json:"domainid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Projectid string `json:"projectid,omitempty"` Ostypename string `json:"ostypename,omitempty"` Checksum string `json:"checksum,omitempty"` Name string `json:"name,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Isready bool `json:"isready,omitempty"` Details map[string]string `json:"details,omitempty"` Sourcetemplateid string `json:"sourcetemplateid,omitempty"` Created string `json:"created,omitempty"` }
type RegisterSSHKeyPairParams ¶
type RegisterSSHKeyPairParams struct {
// contains filtered or unexported fields
}
func (*RegisterSSHKeyPairParams) SetAccount ¶
func (p *RegisterSSHKeyPairParams) SetAccount(v string)
func (*RegisterSSHKeyPairParams) SetDomainid ¶
func (p *RegisterSSHKeyPairParams) SetDomainid(v string)
func (*RegisterSSHKeyPairParams) SetName ¶
func (p *RegisterSSHKeyPairParams) SetName(v string)
func (*RegisterSSHKeyPairParams) SetProjectid ¶
func (p *RegisterSSHKeyPairParams) SetProjectid(v string)
func (*RegisterSSHKeyPairParams) SetPublickey ¶
func (p *RegisterSSHKeyPairParams) SetPublickey(v string)
type RegisterTemplateParams ¶
type RegisterTemplateParams struct {
// contains filtered or unexported fields
}
func (*RegisterTemplateParams) SetAccount ¶
func (p *RegisterTemplateParams) SetAccount(v string)
func (*RegisterTemplateParams) SetBits ¶
func (p *RegisterTemplateParams) SetBits(v int)
func (*RegisterTemplateParams) SetChecksum ¶
func (p *RegisterTemplateParams) SetChecksum(v string)
func (*RegisterTemplateParams) SetDetails ¶
func (p *RegisterTemplateParams) SetDetails(v map[string]string)
func (*RegisterTemplateParams) SetDisplaytext ¶
func (p *RegisterTemplateParams) SetDisplaytext(v string)
func (*RegisterTemplateParams) SetDomainid ¶
func (p *RegisterTemplateParams) SetDomainid(v string)
func (*RegisterTemplateParams) SetFormat ¶
func (p *RegisterTemplateParams) SetFormat(v string)
func (*RegisterTemplateParams) SetHypervisor ¶
func (p *RegisterTemplateParams) SetHypervisor(v string)
func (*RegisterTemplateParams) SetIsdynamicallyscalable ¶
func (p *RegisterTemplateParams) SetIsdynamicallyscalable(v bool)
func (*RegisterTemplateParams) SetIsextractable ¶
func (p *RegisterTemplateParams) SetIsextractable(v bool)
func (*RegisterTemplateParams) SetIsfeatured ¶
func (p *RegisterTemplateParams) SetIsfeatured(v bool)
func (*RegisterTemplateParams) SetIspublic ¶
func (p *RegisterTemplateParams) SetIspublic(v bool)
func (*RegisterTemplateParams) SetIsrouting ¶
func (p *RegisterTemplateParams) SetIsrouting(v bool)
func (*RegisterTemplateParams) SetName ¶
func (p *RegisterTemplateParams) SetName(v string)
func (*RegisterTemplateParams) SetOstypeid ¶
func (p *RegisterTemplateParams) SetOstypeid(v string)
func (*RegisterTemplateParams) SetPasswordenabled ¶
func (p *RegisterTemplateParams) SetPasswordenabled(v bool)
func (*RegisterTemplateParams) SetProjectid ¶
func (p *RegisterTemplateParams) SetProjectid(v string)
func (*RegisterTemplateParams) SetRequireshvm ¶
func (p *RegisterTemplateParams) SetRequireshvm(v bool)
func (*RegisterTemplateParams) SetSshkeyenabled ¶
func (p *RegisterTemplateParams) SetSshkeyenabled(v bool)
func (*RegisterTemplateParams) SetTemplatetag ¶
func (p *RegisterTemplateParams) SetTemplatetag(v string)
func (*RegisterTemplateParams) SetUrl ¶
func (p *RegisterTemplateParams) SetUrl(v string)
func (*RegisterTemplateParams) SetZoneid ¶
func (p *RegisterTemplateParams) SetZoneid(v string)
type RegisterTemplateResponse ¶
type RegisterTemplateResponse struct { Hostid string `json:"hostid,omitempty"` Checksum string `json:"checksum,omitempty"` Ostypeid string `json:"ostypeid,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Customer string `json:"customer,omitempty"` Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Key string `json:"key,omitempty"` Projectid string `json:"projectid,omitempty"` Value string `json:"value,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"tags,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Name string `json:"name,omitempty"` Sourcetemplateid string `json:"sourcetemplateid,omitempty"` Domainid string `json:"domainid,omitempty"` Ostypename string `json:"ostypename,omitempty"` Accountid string `json:"accountid,omitempty"` Details map[string]string `json:"details,omitempty"` Projectid string `json:"projectid,omitempty"` Hostname string `json:"hostname,omitempty"` Isextractable bool `json:"isextractable,omitempty"` Ispublic bool `json:"ispublic,omitempty"` Removed string `json:"removed,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Id string `json:"id,omitempty"` Created string `json:"created,omitempty"` Zoneid string `json:"zoneid,omitempty"` Status string `json:"status,omitempty"` Bootable bool `json:"bootable,omitempty"` Size int `json:"size,omitempty"` Account string `json:"account,omitempty"` CrossZones bool `json:"crossZones,omitempty"` Sshkeyenabled bool `json:"sshkeyenabled,omitempty"` Isfeatured bool `json:"isfeatured,omitempty"` Displaytext string `json:"displaytext,omitempty"` Format string `json:"format,omitempty"` Templatetype string `json:"templatetype,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Templatetag string `json:"templatetag,omitempty"` Zonename string `json:"zonename,omitempty"` Isready bool `json:"isready,omitempty"` }
type RegisterUserKeysParams ¶
type RegisterUserKeysParams struct {
// contains filtered or unexported fields
}
func (*RegisterUserKeysParams) SetId ¶
func (p *RegisterUserKeysParams) SetId(v string)
type ReleaseDedicatedClusterParams ¶
type ReleaseDedicatedClusterParams struct {
// contains filtered or unexported fields
}
func (*ReleaseDedicatedClusterParams) SetClusterid ¶
func (p *ReleaseDedicatedClusterParams) SetClusterid(v string)
type ReleaseDedicatedGuestVlanRangeParams ¶
type ReleaseDedicatedGuestVlanRangeParams struct {
// contains filtered or unexported fields
}
func (*ReleaseDedicatedGuestVlanRangeParams) SetId ¶
func (p *ReleaseDedicatedGuestVlanRangeParams) SetId(v string)
type ReleaseDedicatedHostParams ¶
type ReleaseDedicatedHostParams struct {
// contains filtered or unexported fields
}
func (*ReleaseDedicatedHostParams) SetHostid ¶
func (p *ReleaseDedicatedHostParams) SetHostid(v string)
type ReleaseDedicatedPodParams ¶
type ReleaseDedicatedPodParams struct {
// contains filtered or unexported fields
}
func (*ReleaseDedicatedPodParams) SetPodid ¶
func (p *ReleaseDedicatedPodParams) SetPodid(v string)
type ReleaseDedicatedZoneParams ¶
type ReleaseDedicatedZoneParams struct {
// contains filtered or unexported fields
}
func (*ReleaseDedicatedZoneParams) SetZoneid ¶
func (p *ReleaseDedicatedZoneParams) SetZoneid(v string)
type ReleaseHostReservationParams ¶
type ReleaseHostReservationParams struct {
// contains filtered or unexported fields
}
func (*ReleaseHostReservationParams) SetId ¶
func (p *ReleaseHostReservationParams) SetId(v string)
type ReleasePublicIpRangeParams ¶
type ReleasePublicIpRangeParams struct {
// contains filtered or unexported fields
}
func (*ReleasePublicIpRangeParams) SetId ¶
func (p *ReleasePublicIpRangeParams) SetId(v string)
type RemoteAccessVpn ¶
type RemoteAccessVpn struct { Id string `json:"id,omitempty"` Publicip string `json:"publicip,omitempty"` State string `json:"state,omitempty"` Iprange string `json:"iprange,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Publicipid string `json:"publicipid,omitempty"` Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` }
type RemoveCertFromLoadBalancerParams ¶
type RemoveCertFromLoadBalancerParams struct {
// contains filtered or unexported fields
}
func (*RemoveCertFromLoadBalancerParams) SetLbruleid ¶
func (p *RemoveCertFromLoadBalancerParams) SetLbruleid(v string)
type RemoveFromGlobalLoadBalancerRuleParams ¶
type RemoveFromGlobalLoadBalancerRuleParams struct {
// contains filtered or unexported fields
}
func (*RemoveFromGlobalLoadBalancerRuleParams) SetId ¶
func (p *RemoveFromGlobalLoadBalancerRuleParams) SetId(v string)
func (*RemoveFromGlobalLoadBalancerRuleParams) SetLoadbalancerrulelist ¶
func (p *RemoveFromGlobalLoadBalancerRuleParams) SetLoadbalancerrulelist(v []string)
type RemoveFromLoadBalancerRuleParams ¶
type RemoveFromLoadBalancerRuleParams struct {
// contains filtered or unexported fields
}
func (*RemoveFromLoadBalancerRuleParams) SetId ¶
func (p *RemoveFromLoadBalancerRuleParams) SetId(v string)
func (*RemoveFromLoadBalancerRuleParams) SetVirtualmachineids ¶
func (p *RemoveFromLoadBalancerRuleParams) SetVirtualmachineids(v []string)
type RemoveIpFromNicParams ¶
type RemoveIpFromNicParams struct {
// contains filtered or unexported fields
}
func (*RemoveIpFromNicParams) SetId ¶
func (p *RemoveIpFromNicParams) SetId(v string)
type RemoveIpFromNicResponse ¶
type RemoveNicFromVirtualMachineParams ¶
type RemoveNicFromVirtualMachineParams struct {
// contains filtered or unexported fields
}
func (*RemoveNicFromVirtualMachineParams) SetNicid ¶
func (p *RemoveNicFromVirtualMachineParams) SetNicid(v string)
func (*RemoveNicFromVirtualMachineParams) SetVirtualmachineid ¶
func (p *RemoveNicFromVirtualMachineParams) SetVirtualmachineid(v string)
type RemoveNicFromVirtualMachineResponse ¶
type RemoveNicFromVirtualMachineResponse struct { JobID string `json:"jobid,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Isoid string `json:"isoid,omitempty"` Id string `json:"id,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` Domain string `json:"domain,omitempty"` Details map[string]string `json:"details,omitempty"` Templatename string `json:"templatename,omitempty"` Displayname string `json:"displayname,omitempty"` Publicip string `json:"publicip,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Instancename string `json:"instancename,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Diskioread int `json:"diskioread,omitempty"` State string `json:"state,omitempty"` Cpuused string `json:"cpuused,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Group string `json:"group,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Created string `json:"created,omitempty"` Isoname string `json:"isoname,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` Key string `json:"key,omitempty"` Projectid string `json:"projectid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Resourceid string `json:"resourceid,omitempty"` Value string `json:"value,omitempty"` } `json:"tags,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Servicestate string `json:"servicestate,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Nic []struct { Ip6address string `json:"ip6address,omitempty"` Gateway string `json:"gateway,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Traffictype string `json:"traffictype,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Macaddress string `json:"macaddress,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Id string `json:"id,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Networkname string `json:"networkname,omitempty"` Type string `json:"type,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Netmask string `json:"netmask,omitempty"` Networkid string `json:"networkid,omitempty"` Isdefault bool `json:"isdefault,omitempty"` } `json:"nic,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Guestosid string `json:"guestosid,omitempty"` Haenable bool `json:"haenable,omitempty"` Zonename string `json:"zonename,omitempty"` Affinitygroup []struct { VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Domain string `json:"domain,omitempty"` Description string `json:"description,omitempty"` Id string `json:"id,omitempty"` Type string `json:"type,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Name string `json:"name,omitempty"` } `json:"affinitygroup,omitempty"` Groupid string `json:"groupid,omitempty"` Templateid string `json:"templateid,omitempty"` Keypair string `json:"keypair,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Publicipid string `json:"publicipid,omitempty"` Password string `json:"password,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Securitygroup []struct { Egressrule []struct { Account string `json:"account,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Icmptype int `json:"icmptype,omitempty"` Cidr string `json:"cidr,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Ruleid string `json:"ruleid,omitempty"` Startport int `json:"startport,omitempty"` Protocol string `json:"protocol,omitempty"` Endport int `json:"endport,omitempty"` } `json:"egressrule,omitempty"` Ingressrule []struct { Account string `json:"account,omitempty"` Protocol string `json:"protocol,omitempty"` Cidr string `json:"cidr,omitempty"` Startport int `json:"startport,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Endport int `json:"endport,omitempty"` Ruleid string `json:"ruleid,omitempty"` Icmptype int `json:"icmptype,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` } `json:"ingressrule,omitempty"` Name string `json:"name,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Tags []struct { Projectid string `json:"projectid,omitempty"` Key string `json:"key,omitempty"` Domain string `json:"domain,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Value string `json:"value,omitempty"` Resourceid string `json:"resourceid,omitempty"` Account string `json:"account,omitempty"` } `json:"tags,omitempty"` Account string `json:"account,omitempty"` Description string `json:"description,omitempty"` Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` Id string `json:"id,omitempty"` } `json:"securitygroup,omitempty"` Name string `json:"name,omitempty"` Hostid string `json:"hostid,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Hostname string `json:"hostname,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Zoneid string `json:"zoneid,omitempty"` Memory int `json:"memory,omitempty"` }
type RemoveRegionParams ¶
type RemoveRegionParams struct {
// contains filtered or unexported fields
}
func (*RemoveRegionParams) SetId ¶
func (p *RemoveRegionParams) SetId(v int)
type RemoveRegionResponse ¶
type RemoveResourceDetailParams ¶
type RemoveResourceDetailParams struct {
// contains filtered or unexported fields
}
func (*RemoveResourceDetailParams) SetKey ¶
func (p *RemoveResourceDetailParams) SetKey(v string)
func (*RemoveResourceDetailParams) SetResourceid ¶
func (p *RemoveResourceDetailParams) SetResourceid(v string)
func (*RemoveResourceDetailParams) SetResourcetype ¶
func (p *RemoveResourceDetailParams) SetResourcetype(v string)
type RemoveVmwareDcParams ¶
type RemoveVmwareDcParams struct {
// contains filtered or unexported fields
}
func (*RemoveVmwareDcParams) SetZoneid ¶
func (p *RemoveVmwareDcParams) SetZoneid(v string)
type RemoveVmwareDcResponse ¶
type RemoveVpnUserParams ¶
type RemoveVpnUserParams struct {
// contains filtered or unexported fields
}
func (*RemoveVpnUserParams) SetAccount ¶
func (p *RemoveVpnUserParams) SetAccount(v string)
func (*RemoveVpnUserParams) SetDomainid ¶
func (p *RemoveVpnUserParams) SetDomainid(v string)
func (*RemoveVpnUserParams) SetProjectid ¶
func (p *RemoveVpnUserParams) SetProjectid(v string)
func (*RemoveVpnUserParams) SetUsername ¶
func (p *RemoveVpnUserParams) SetUsername(v string)
type RemoveVpnUserResponse ¶
type ReplaceNetworkACLListParams ¶
type ReplaceNetworkACLListParams struct {
// contains filtered or unexported fields
}
func (*ReplaceNetworkACLListParams) SetAclid ¶
func (p *ReplaceNetworkACLListParams) SetAclid(v string)
func (*ReplaceNetworkACLListParams) SetGatewayid ¶
func (p *ReplaceNetworkACLListParams) SetGatewayid(v string)
func (*ReplaceNetworkACLListParams) SetNetworkid ¶
func (p *ReplaceNetworkACLListParams) SetNetworkid(v string)
type ResetApiLimitParams ¶
type ResetApiLimitParams struct {
// contains filtered or unexported fields
}
func (*ResetApiLimitParams) SetAccount ¶
func (p *ResetApiLimitParams) SetAccount(v string)
type ResetApiLimitResponse ¶
type ResetPasswordForVirtualMachineParams ¶
type ResetPasswordForVirtualMachineParams struct {
// contains filtered or unexported fields
}
func (*ResetPasswordForVirtualMachineParams) SetId ¶
func (p *ResetPasswordForVirtualMachineParams) SetId(v string)
type ResetPasswordForVirtualMachineResponse ¶
type ResetPasswordForVirtualMachineResponse struct { JobID string `json:"jobid,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Diskioread int `json:"diskioread,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Group string `json:"group,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Keypair string `json:"keypair,omitempty"` Account string `json:"account,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Isoname string `json:"isoname,omitempty"` Instancename string `json:"instancename,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Hostname string `json:"hostname,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Guestosid string `json:"guestosid,omitempty"` Cpuused string `json:"cpuused,omitempty"` State string `json:"state,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Name string `json:"name,omitempty"` Templateid string `json:"templateid,omitempty"` Nic []struct { Broadcasturi string `json:"broadcasturi,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Gateway string `json:"gateway,omitempty"` Type string `json:"type,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Traffictype string `json:"traffictype,omitempty"` Networkid string `json:"networkid,omitempty"` Netmask string `json:"netmask,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Ip6address string `json:"ip6address,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Networkname string `json:"networkname,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Id string `json:"id,omitempty"` Macaddress string `json:"macaddress,omitempty"` } `json:"nic,omitempty"` Publicipid string `json:"publicipid,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Haenable bool `json:"haenable,omitempty"` Groupid string `json:"groupid,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Isoid string `json:"isoid,omitempty"` Displayname string `json:"displayname,omitempty"` Securitygroup []struct { Tags []struct { Value string `json:"value,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Key string `json:"key,omitempty"` Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Resourceid string `json:"resourceid,omitempty"` Customer string `json:"customer,omitempty"` } `json:"tags,omitempty"` Ingressrule []struct { Account string `json:"account,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Icmptype int `json:"icmptype,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Endport int `json:"endport,omitempty"` Protocol string `json:"protocol,omitempty"` Cidr string `json:"cidr,omitempty"` Ruleid string `json:"ruleid,omitempty"` Startport int `json:"startport,omitempty"` } `json:"ingressrule,omitempty"` Id string `json:"id,omitempty"` Projectid string `json:"projectid,omitempty"` Description string `json:"description,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Name string `json:"name,omitempty"` Egressrule []struct { Protocol string `json:"protocol,omitempty"` Ruleid string `json:"ruleid,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Endport int `json:"endport,omitempty"` Startport int `json:"startport,omitempty"` Cidr string `json:"cidr,omitempty"` Icmptype int `json:"icmptype,omitempty"` Account string `json:"account,omitempty"` } `json:"egressrule,omitempty"` Project string `json:"project,omitempty"` } `json:"securitygroup,omitempty"` Memory int `json:"memory,omitempty"` Templatename string `json:"templatename,omitempty"` Password string `json:"password,omitempty"` Hostid string `json:"hostid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Id string `json:"id,omitempty"` Created string `json:"created,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Details map[string]string `json:"details,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Key string `json:"key,omitempty"` Resourceid string `json:"resourceid,omitempty"` Value string `json:"value,omitempty"` Customer string `json:"customer,omitempty"` Projectid string `json:"projectid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` } `json:"tags,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Publicip string `json:"publicip,omitempty"` Affinitygroup []struct { Id string `json:"id,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Description string `json:"description,omitempty"` } `json:"affinitygroup,omitempty"` Domain string `json:"domain,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Zonename string `json:"zonename,omitempty"` Domainid string `json:"domainid,omitempty"` Servicestate string `json:"servicestate,omitempty"` Projectid string `json:"projectid,omitempty"` Project string `json:"project,omitempty"` }
type ResetSSHKeyForVirtualMachineParams ¶
type ResetSSHKeyForVirtualMachineParams struct {
// contains filtered or unexported fields
}
func (*ResetSSHKeyForVirtualMachineParams) SetAccount ¶
func (p *ResetSSHKeyForVirtualMachineParams) SetAccount(v string)
func (*ResetSSHKeyForVirtualMachineParams) SetDomainid ¶
func (p *ResetSSHKeyForVirtualMachineParams) SetDomainid(v string)
func (*ResetSSHKeyForVirtualMachineParams) SetId ¶
func (p *ResetSSHKeyForVirtualMachineParams) SetId(v string)
func (*ResetSSHKeyForVirtualMachineParams) SetKeypair ¶
func (p *ResetSSHKeyForVirtualMachineParams) SetKeypair(v string)
func (*ResetSSHKeyForVirtualMachineParams) SetProjectid ¶
func (p *ResetSSHKeyForVirtualMachineParams) SetProjectid(v string)
type ResetSSHKeyForVirtualMachineResponse ¶
type ResetSSHKeyForVirtualMachineResponse struct { JobID string `json:"jobid,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Password string `json:"password,omitempty"` Haenable bool `json:"haenable,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Memory int `json:"memory,omitempty"` Zonename string `json:"zonename,omitempty"` Project string `json:"project,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Projectid string `json:"projectid,omitempty"` Isoname string `json:"isoname,omitempty"` Affinitygroup []struct { Domain string `json:"domain,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Account string `json:"account,omitempty"` Type string `json:"type,omitempty"` Domainid string `json:"domainid,omitempty"` Id string `json:"id,omitempty"` } `json:"affinitygroup,omitempty"` Publicipid string `json:"publicipid,omitempty"` Cpuused string `json:"cpuused,omitempty"` Created string `json:"created,omitempty"` Account string `json:"account,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Isoid string `json:"isoid,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Keypair string `json:"keypair,omitempty"` Hostid string `json:"hostid,omitempty"` Guestosid string `json:"guestosid,omitempty"` Instancename string `json:"instancename,omitempty"` Nic []struct { Ip6address string `json:"ip6address,omitempty"` Networkid string `json:"networkid,omitempty"` Networkname string `json:"networkname,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Netmask string `json:"netmask,omitempty"` Traffictype string `json:"traffictype,omitempty"` Type string `json:"type,omitempty"` Gateway string `json:"gateway,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Id string `json:"id,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Macaddress string `json:"macaddress,omitempty"` Isdefault bool `json:"isdefault,omitempty"` } `json:"nic,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Zoneid string `json:"zoneid,omitempty"` Groupid string `json:"groupid,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Displayname string `json:"displayname,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Templatename string `json:"templatename,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Securitygroup []struct { Ingressrule []struct { Protocol string `json:"protocol,omitempty"` Ruleid string `json:"ruleid,omitempty"` Cidr string `json:"cidr,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Endport int `json:"endport,omitempty"` Icmptype int `json:"icmptype,omitempty"` Account string `json:"account,omitempty"` Startport int `json:"startport,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` } `json:"ingressrule,omitempty"` Projectid string `json:"projectid,omitempty"` Description string `json:"description,omitempty"` Egressrule []struct { Securitygroupname string `json:"securitygroupname,omitempty"` Endport int `json:"endport,omitempty"` Protocol string `json:"protocol,omitempty"` Ruleid string `json:"ruleid,omitempty"` Cidr string `json:"cidr,omitempty"` Icmptype int `json:"icmptype,omitempty"` Startport int `json:"startport,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Account string `json:"account,omitempty"` } `json:"egressrule,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Name string `json:"name,omitempty"` Project string `json:"project,omitempty"` Tags []struct { Projectid string `json:"projectid,omitempty"` Key string `json:"key,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` Resourceid string `json:"resourceid,omitempty"` Value string `json:"value,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` } `json:"tags,omitempty"` Domain string `json:"domain,omitempty"` Id string `json:"id,omitempty"` } `json:"securitygroup,omitempty"` Hostname string `json:"hostname,omitempty"` Tags []struct { Domainid string `json:"domainid,omitempty"` Value string `json:"value,omitempty"` Key string `json:"key,omitempty"` Projectid string `json:"projectid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Customer string `json:"customer,omitempty"` Resourceid string `json:"resourceid,omitempty"` Domain string `json:"domain,omitempty"` } `json:"tags,omitempty"` Publicip string `json:"publicip,omitempty"` State string `json:"state,omitempty"` Diskioread int `json:"diskioread,omitempty"` Details map[string]string `json:"details,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Domain string `json:"domain,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Domainid string `json:"domainid,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Group string `json:"group,omitempty"` Templateid string `json:"templateid,omitempty"` Servicestate string `json:"servicestate,omitempty"` }
type ResetVpnConnectionParams ¶
type ResetVpnConnectionParams struct {
// contains filtered or unexported fields
}
func (*ResetVpnConnectionParams) SetAccount ¶
func (p *ResetVpnConnectionParams) SetAccount(v string)
func (*ResetVpnConnectionParams) SetDomainid ¶
func (p *ResetVpnConnectionParams) SetDomainid(v string)
func (*ResetVpnConnectionParams) SetId ¶
func (p *ResetVpnConnectionParams) SetId(v string)
type ResetVpnConnectionResponse ¶
type ResetVpnConnectionResponse struct { JobID string `json:"jobid,omitempty"` Removed string `json:"removed,omitempty"` Gateway string `json:"gateway,omitempty"` Created string `json:"created,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` S2scustomergatewayid string `json:"s2scustomergatewayid,omitempty"` Domainid string `json:"domainid,omitempty"` Esppolicy string `json:"esppolicy,omitempty"` Ikelifetime int `json:"ikelifetime,omitempty"` State string `json:"state,omitempty"` Dpd bool `json:"dpd,omitempty"` Ipsecpsk string `json:"ipsecpsk,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Ikepolicy string `json:"ikepolicy,omitempty"` Esplifetime int `json:"esplifetime,omitempty"` Projectid string `json:"projectid,omitempty"` Passive bool `json:"passive,omitempty"` Publicip string `json:"publicip,omitempty"` Id string `json:"id,omitempty"` S2svpngatewayid string `json:"s2svpngatewayid,omitempty"` Account string `json:"account,omitempty"` }
type ResizeVolumeParams ¶
type ResizeVolumeParams struct {
// contains filtered or unexported fields
}
func (*ResizeVolumeParams) SetDiskofferingid ¶
func (p *ResizeVolumeParams) SetDiskofferingid(v string)
func (*ResizeVolumeParams) SetId ¶
func (p *ResizeVolumeParams) SetId(v string)
func (*ResizeVolumeParams) SetShrinkok ¶
func (p *ResizeVolumeParams) SetShrinkok(v bool)
func (*ResizeVolumeParams) SetSize ¶
func (p *ResizeVolumeParams) SetSize(v int)
type ResizeVolumeResponse ¶
type ResizeVolumeResponse struct { JobID string `json:"jobid,omitempty"` Attached string `json:"attached,omitempty"` Zonename string `json:"zonename,omitempty"` Snapshotid string `json:"snapshotid,omitempty"` Type string `json:"type,omitempty"` Name string `json:"name,omitempty"` Deviceid int `json:"deviceid,omitempty"` Id string `json:"id,omitempty"` Diskofferingid string `json:"diskofferingid,omitempty"` Created string `json:"created,omitempty"` DiskBytesWriteRate int `json:"diskBytesWriteRate,omitempty"` Displayvolume bool `json:"displayvolume,omitempty"` Projectid string `json:"projectid,omitempty"` DiskIopsReadRate int `json:"diskIopsReadRate,omitempty"` Storage string `json:"storage,omitempty"` Size int `json:"size,omitempty"` Domain string `json:"domain,omitempty"` Diskofferingname string `json:"diskofferingname,omitempty"` Vmstate string `json:"vmstate,omitempty"` Diskofferingdisplaytext string `json:"diskofferingdisplaytext,omitempty"` Project string `json:"project,omitempty"` Storageid string `json:"storageid,omitempty"` State string `json:"state,omitempty"` Destroyed bool `json:"destroyed,omitempty"` Maxiops int `json:"maxiops,omitempty"` Status string `json:"status,omitempty"` Quiescevm bool `json:"quiescevm,omitempty"` Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext,omitempty"` Zoneid string `json:"zoneid,omitempty"` Account string `json:"account,omitempty"` Tags []struct { Resourceid string `json:"resourceid,omitempty"` Value string `json:"value,omitempty"` Customer string `json:"customer,omitempty"` Projectid string `json:"projectid,omitempty"` Project string `json:"project,omitempty"` Key string `json:"key,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Account string `json:"account,omitempty"` } `json:"tags,omitempty"` Domainid string `json:"domainid,omitempty"` DiskBytesReadRate int `json:"diskBytesReadRate,omitempty"` Vmdisplayname string `json:"vmdisplayname,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Path string `json:"path,omitempty"` Vmname string `json:"vmname,omitempty"` Miniops int `json:"miniops,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` Storagetype string `json:"storagetype,omitempty"` Isextractable bool `json:"isextractable,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` DiskIopsWriteRate int `json:"diskIopsWriteRate,omitempty"` }
type ResourceDetail ¶
type ResourceDetail struct { Domainid string `json:"domainid,omitempty"` Value string `json:"value,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Customer string `json:"customer,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Key string `json:"key,omitempty"` }
type ResourceLimit ¶
type ResourceLimit struct { Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Max int `json:"max,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Project string `json:"project,omitempty"` Domainid string `json:"domainid,omitempty"` }
type ResourcemetadataService ¶
type ResourcemetadataService struct {
// contains filtered or unexported fields
}
func NewResourcemetadataService ¶
func NewResourcemetadataService(cs *CloudStackClient) *ResourcemetadataService
func (*ResourcemetadataService) AddResourceDetail ¶
func (s *ResourcemetadataService) AddResourceDetail(p *AddResourceDetailParams) (*AddResourceDetailResponse, error)
Adds detail for the Resource.
func (*ResourcemetadataService) ListResourceDetails ¶
func (s *ResourcemetadataService) ListResourceDetails(p *ListResourceDetailsParams) (*ListResourceDetailsResponse, error)
List resource detail(s)
func (*ResourcemetadataService) NewAddResourceDetailParams ¶
func (s *ResourcemetadataService) NewAddResourceDetailParams(details map[string]string, resourceid string, resourcetype string) *AddResourceDetailParams
You should always use this function to get a new AddResourceDetailParams instance, as then you are sure you have configured all required params
func (*ResourcemetadataService) NewListResourceDetailsParams ¶
func (s *ResourcemetadataService) NewListResourceDetailsParams(resourceid string, resourcetype string) *ListResourceDetailsParams
You should always use this function to get a new ListResourceDetailsParams instance, as then you are sure you have configured all required params
func (*ResourcemetadataService) NewRemoveResourceDetailParams ¶
func (s *ResourcemetadataService) NewRemoveResourceDetailParams(resourceid string, resourcetype string) *RemoveResourceDetailParams
You should always use this function to get a new RemoveResourceDetailParams instance, as then you are sure you have configured all required params
func (*ResourcemetadataService) RemoveResourceDetail ¶
func (s *ResourcemetadataService) RemoveResourceDetail(p *RemoveResourceDetailParams) (*RemoveResourceDetailResponse, error)
Removes detail for the Resource.
type ResourcetagsService ¶
type ResourcetagsService struct {
// contains filtered or unexported fields
}
func NewResourcetagsService ¶
func NewResourcetagsService(cs *CloudStackClient) *ResourcetagsService
func (*ResourcetagsService) CreateTags ¶
func (s *ResourcetagsService) CreateTags(p *CreateTagsParams) (*CreateTagsResponse, error)
Creates resource tag(s)
func (*ResourcetagsService) DeleteTags ¶
func (s *ResourcetagsService) DeleteTags(p *DeleteTagsParams) (*DeleteTagsResponse, error)
Deleting resource tag(s)
func (*ResourcetagsService) ListTags ¶
func (s *ResourcetagsService) ListTags(p *ListTagsParams) (*ListTagsResponse, error)
List resource tag(s)
func (*ResourcetagsService) NewCreateTagsParams ¶
func (s *ResourcetagsService) NewCreateTagsParams(resourceids []string, resourcetype string, tags map[string]string) *CreateTagsParams
You should always use this function to get a new CreateTagsParams instance, as then you are sure you have configured all required params
func (*ResourcetagsService) NewDeleteTagsParams ¶
func (s *ResourcetagsService) NewDeleteTagsParams(resourceids []string, resourcetype string) *DeleteTagsParams
You should always use this function to get a new DeleteTagsParams instance, as then you are sure you have configured all required params
func (*ResourcetagsService) NewListTagsParams ¶
func (s *ResourcetagsService) NewListTagsParams() *ListTagsParams
You should always use this function to get a new ListTagsParams instance, as then you are sure you have configured all required params
type RestartNetworkParams ¶
type RestartNetworkParams struct {
// contains filtered or unexported fields
}
func (*RestartNetworkParams) SetCleanup ¶
func (p *RestartNetworkParams) SetCleanup(v bool)
func (*RestartNetworkParams) SetId ¶
func (p *RestartNetworkParams) SetId(v string)
type RestartNetworkResponse ¶
type RestartNetworkResponse struct { JobID string `json:"jobid,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Value string `json:"value,omitempty"` Key string `json:"key,omitempty"` Resourceid string `json:"resourceid,omitempty"` Customer string `json:"customer,omitempty"` Account string `json:"account,omitempty"` Projectid string `json:"projectid,omitempty"` Project string `json:"project,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` } `json:"tags,omitempty"` Issystem bool `json:"issystem,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Associatednetworkname string `json:"associatednetworkname,omitempty"` Networkid string `json:"networkid,omitempty"` State string `json:"state,omitempty"` Vpcid string `json:"vpcid,omitempty"` Vlanid string `json:"vlanid,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Virtualmachinename string `json:"virtualmachinename,omitempty"` Project string `json:"project,omitempty"` Purpose string `json:"purpose,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` Allocated string `json:"allocated,omitempty"` Vmipaddress string `json:"vmipaddress,omitempty"` Domainid string `json:"domainid,omitempty"` Vlanname string `json:"vlanname,omitempty"` Virtualmachinedisplayname string `json:"virtualmachinedisplayname,omitempty"` Isstaticnat bool `json:"isstaticnat,omitempty"` Account string `json:"account,omitempty"` Id string `json:"id,omitempty"` Associatednetworkid string `json:"associatednetworkid,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Zonename string `json:"zonename,omitempty"` Zoneid string `json:"zoneid,omitempty"` Issourcenat bool `json:"issourcenat,omitempty"` Isportable bool `json:"isportable,omitempty"` }
type RestartVPCParams ¶
type RestartVPCParams struct {
// contains filtered or unexported fields
}
func (*RestartVPCParams) SetId ¶
func (p *RestartVPCParams) SetId(v string)
type RestartVPCResponse ¶
type RestartVPCResponse struct { JobID string `json:"jobid,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Zoneid string `json:"zoneid,omitempty"` Service []struct { Name string `json:"name,omitempty"` Provider []struct { Id string `json:"id,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Name string `json:"name,omitempty"` State string `json:"state,omitempty"` Servicelist []string `json:"servicelist,omitempty"` } `json:"provider,omitempty"` Capability []struct { Value string `json:"value,omitempty"` Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` Name string `json:"name,omitempty"` } `json:"capability,omitempty"` } `json:"service,omitempty"` Cidr string `json:"cidr,omitempty"` Name string `json:"name,omitempty"` State string `json:"state,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Id string `json:"id,omitempty"` Tags []struct { Domainid string `json:"domainid,omitempty"` Value string `json:"value,omitempty"` Projectid string `json:"projectid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Resourceid string `json:"resourceid,omitempty"` Key string `json:"key,omitempty"` Project string `json:"project,omitempty"` Customer string `json:"customer,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` } `json:"tags,omitempty"` Domainid string `json:"domainid,omitempty"` Restartrequired bool `json:"restartrequired,omitempty"` Account string `json:"account,omitempty"` Created string `json:"created,omitempty"` Displaytext string `json:"displaytext,omitempty"` Vpcofferingid string `json:"vpcofferingid,omitempty"` Zonename string `json:"zonename,omitempty"` Network []struct { Dns2 string `json:"dns2,omitempty"` Domainid string `json:"domainid,omitempty"` Related string `json:"related,omitempty"` Traffictype string `json:"traffictype,omitempty"` Networkofferingconservemode bool `json:"networkofferingconservemode,omitempty"` Issystem bool `json:"issystem,omitempty"` Displaynetwork bool `json:"displaynetwork,omitempty"` Networkofferingdisplaytext string `json:"networkofferingdisplaytext,omitempty"` Aclid string `json:"aclid,omitempty"` Reservediprange string `json:"reservediprange,omitempty"` Zoneid string `json:"zoneid,omitempty"` Displaytext string `json:"displaytext,omitempty"` Vlan string `json:"vlan,omitempty"` Restartrequired bool `json:"restartrequired,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Domain string `json:"domain,omitempty"` Id string `json:"id,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Service []struct { Provider []struct { Id string `json:"id,omitempty"` Servicelist []string `json:"servicelist,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` State string `json:"state,omitempty"` Name string `json:"name,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` } `json:"provider,omitempty"` Capability []struct { Value string `json:"value,omitempty"` Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` Name string `json:"name,omitempty"` } `json:"capability,omitempty"` Name string `json:"name,omitempty"` } `json:"service,omitempty"` Canusefordeploy bool `json:"canusefordeploy,omitempty"` Type string `json:"type,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Broadcastdomaintype string `json:"broadcastdomaintype,omitempty"` Networkofferingid string `json:"networkofferingid,omitempty"` Networkofferingname string `json:"networkofferingname,omitempty"` Projectid string `json:"projectid,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Customer string `json:"customer,omitempty"` Project string `json:"project,omitempty"` Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Value string `json:"value,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Key string `json:"key,omitempty"` } `json:"tags,omitempty"` Specifyipranges bool `json:"specifyipranges,omitempty"` Gateway string `json:"gateway,omitempty"` Netmask string `json:"netmask,omitempty"` Subdomainaccess bool `json:"subdomainaccess,omitempty"` Acltype string `json:"acltype,omitempty"` Ispersistent bool `json:"ispersistent,omitempty"` Vpcid string `json:"vpcid,omitempty"` Project string `json:"project,omitempty"` Name string `json:"name,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Networkofferingavailability string `json:"networkofferingavailability,omitempty"` Account string `json:"account,omitempty"` Cidr string `json:"cidr,omitempty"` Zonename string `json:"zonename,omitempty"` Networkcidr string `json:"networkcidr,omitempty"` Dns1 string `json:"dns1,omitempty"` State string `json:"state,omitempty"` } `json:"network,omitempty"` }
type RestoreVirtualMachineParams ¶
type RestoreVirtualMachineParams struct {
// contains filtered or unexported fields
}
func (*RestoreVirtualMachineParams) SetTemplateid ¶
func (p *RestoreVirtualMachineParams) SetTemplateid(v string)
func (*RestoreVirtualMachineParams) SetVirtualmachineid ¶
func (p *RestoreVirtualMachineParams) SetVirtualmachineid(v string)
type RestoreVirtualMachineResponse ¶
type RestoreVirtualMachineResponse struct { JobID string `json:"jobid,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Diskioread int `json:"diskioread,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Domainid string `json:"domainid,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Details map[string]string `json:"details,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Project string `json:"project,omitempty"` Keypair string `json:"keypair,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Password string `json:"password,omitempty"` Securitygroup []struct { Name string `json:"name,omitempty"` Projectid string `json:"projectid,omitempty"` Description string `json:"description,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Tags []struct { Project string `json:"project,omitempty"` Domainid string `json:"domainid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Resourceid string `json:"resourceid,omitempty"` Value string `json:"value,omitempty"` Key string `json:"key,omitempty"` Customer string `json:"customer,omitempty"` } `json:"tags,omitempty"` Egressrule []struct { Startport int `json:"startport,omitempty"` Protocol string `json:"protocol,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Ruleid string `json:"ruleid,omitempty"` Cidr string `json:"cidr,omitempty"` Endport int `json:"endport,omitempty"` Icmptype int `json:"icmptype,omitempty"` Account string `json:"account,omitempty"` } `json:"egressrule,omitempty"` Ingressrule []struct { Securitygroupname string `json:"securitygroupname,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Icmptype int `json:"icmptype,omitempty"` Ruleid string `json:"ruleid,omitempty"` Startport int `json:"startport,omitempty"` Protocol string `json:"protocol,omitempty"` Endport int `json:"endport,omitempty"` Cidr string `json:"cidr,omitempty"` Account string `json:"account,omitempty"` } `json:"ingressrule,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Id string `json:"id,omitempty"` } `json:"securitygroup,omitempty"` Name string `json:"name,omitempty"` Templatename string `json:"templatename,omitempty"` Templateid string `json:"templateid,omitempty"` Hostname string `json:"hostname,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Zoneid string `json:"zoneid,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Isoid string `json:"isoid,omitempty"` Account string `json:"account,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Zonename string `json:"zonename,omitempty"` Domain string `json:"domain,omitempty"` Isoname string `json:"isoname,omitempty"` Servicestate string `json:"servicestate,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Created string `json:"created,omitempty"` Id string `json:"id,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Memory int `json:"memory,omitempty"` Cpuused string `json:"cpuused,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` State string `json:"state,omitempty"` Group string `json:"group,omitempty"` Instancename string `json:"instancename,omitempty"` Affinitygroup []struct { Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Id string `json:"id,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Domain string `json:"domain,omitempty"` Description string `json:"description,omitempty"` } `json:"affinitygroup,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Hostid string `json:"hostid,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Groupid string `json:"groupid,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Nic []struct { Ip6cidr string `json:"ip6cidr,omitempty"` Networkname string `json:"networkname,omitempty"` Type string `json:"type,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Netmask string `json:"netmask,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Macaddress string `json:"macaddress,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Networkid string `json:"networkid,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Traffictype string `json:"traffictype,omitempty"` Ip6address string `json:"ip6address,omitempty"` Id string `json:"id,omitempty"` Gateway string `json:"gateway,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` } `json:"nic,omitempty"` Projectid string `json:"projectid,omitempty"` Publicipid string `json:"publicipid,omitempty"` Haenable bool `json:"haenable,omitempty"` Guestosid string `json:"guestosid,omitempty"` Publicip string `json:"publicip,omitempty"` Tags []struct { Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Key string `json:"key,omitempty"` Customer string `json:"customer,omitempty"` Projectid string `json:"projectid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Value string `json:"value,omitempty"` Domainid string `json:"domainid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domain string `json:"domain,omitempty"` } `json:"tags,omitempty"` Displayname string `json:"displayname,omitempty"` }
type RevertSnapshotParams ¶
type RevertSnapshotParams struct {
// contains filtered or unexported fields
}
func (*RevertSnapshotParams) SetId ¶
func (p *RevertSnapshotParams) SetId(v string)
type RevertSnapshotResponse ¶
type RevertSnapshotResponse struct { JobID string `json:"jobid,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Projectid string `json:"projectid,omitempty"` Revertable bool `json:"revertable,omitempty"` Volumetype string `json:"volumetype,omitempty"` State string `json:"state,omitempty"` Created string `json:"created,omitempty"` Id string `json:"id,omitempty"` Domain string `json:"domain,omitempty"` Volumename string `json:"volumename,omitempty"` Zoneid string `json:"zoneid,omitempty"` Tags []struct { Account string `json:"account,omitempty"` Value string `json:"value,omitempty"` Project string `json:"project,omitempty"` Customer string `json:"customer,omitempty"` Projectid string `json:"projectid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Resourceid string `json:"resourceid,omitempty"` Key string `json:"key,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"tags,omitempty"` Domainid string `json:"domainid,omitempty"` Volumeid string `json:"volumeid,omitempty"` Name string `json:"name,omitempty"` Intervaltype string `json:"intervaltype,omitempty"` Snapshottype string `json:"snapshottype,omitempty"` }
type RevertToVMSnapshotParams ¶
type RevertToVMSnapshotParams struct {
// contains filtered or unexported fields
}
func (*RevertToVMSnapshotParams) SetVmsnapshotid ¶
func (p *RevertToVMSnapshotParams) SetVmsnapshotid(v string)
type RevertToVMSnapshotResponse ¶
type RevertToVMSnapshotResponse struct { JobID string `json:"jobid,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Securitygroup []struct { Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Egressrule []struct { Account string `json:"account,omitempty"` Startport int `json:"startport,omitempty"` Endport int `json:"endport,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Icmptype int `json:"icmptype,omitempty"` Ruleid string `json:"ruleid,omitempty"` Protocol string `json:"protocol,omitempty"` Cidr string `json:"cidr,omitempty"` } `json:"egressrule,omitempty"` Tags []struct { Domainid string `json:"domainid,omitempty"` Customer string `json:"customer,omitempty"` Resourceid string `json:"resourceid,omitempty"` Account string `json:"account,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Key string `json:"key,omitempty"` Project string `json:"project,omitempty"` Value string `json:"value,omitempty"` } `json:"tags,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Ingressrule []struct { Cidr string `json:"cidr,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Icmptype int `json:"icmptype,omitempty"` Account string `json:"account,omitempty"` Protocol string `json:"protocol,omitempty"` Ruleid string `json:"ruleid,omitempty"` Endport int `json:"endport,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Startport int `json:"startport,omitempty"` } `json:"ingressrule,omitempty"` Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` Description string `json:"description,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"securitygroup,omitempty"` State string `json:"state,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Servicestate string `json:"servicestate,omitempty"` Domainid string `json:"domainid,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Isoname string `json:"isoname,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Haenable bool `json:"haenable,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Details map[string]string `json:"details,omitempty"` Isoid string `json:"isoid,omitempty"` Cpuused string `json:"cpuused,omitempty"` Group string `json:"group,omitempty"` Nic []struct { Ip6cidr string `json:"ip6cidr,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Ip6address string `json:"ip6address,omitempty"` Netmask string `json:"netmask,omitempty"` Gateway string `json:"gateway,omitempty"` Type string `json:"type,omitempty"` Networkname string `json:"networkname,omitempty"` Traffictype string `json:"traffictype,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Id string `json:"id,omitempty"` Networkid string `json:"networkid,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Macaddress string `json:"macaddress,omitempty"` } `json:"nic,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Instancename string `json:"instancename,omitempty"` Id string `json:"id,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Zonename string `json:"zonename,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Memory int `json:"memory,omitempty"` Zoneid string `json:"zoneid,omitempty"` Projectid string `json:"projectid,omitempty"` Tags []struct { Projectid string `json:"projectid,omitempty"` Key string `json:"key,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Domain string `json:"domain,omitempty"` Value string `json:"value,omitempty"` } `json:"tags,omitempty"` Diskioread int `json:"diskioread,omitempty"` Displayname string `json:"displayname,omitempty"` Created string `json:"created,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Keypair string `json:"keypair,omitempty"` Publicipid string `json:"publicipid,omitempty"` Publicip string `json:"publicip,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Name string `json:"name,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Templateid string `json:"templateid,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Hostid string `json:"hostid,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Guestosid string `json:"guestosid,omitempty"` Templatename string `json:"templatename,omitempty"` Account string `json:"account,omitempty"` Hostname string `json:"hostname,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Groupid string `json:"groupid,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Affinitygroup []struct { Domain string `json:"domain,omitempty"` Type string `json:"type,omitempty"` Description string `json:"description,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Account string `json:"account,omitempty"` Id string `json:"id,omitempty"` Domainid string `json:"domainid,omitempty"` Name string `json:"name,omitempty"` } `json:"affinitygroup,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Password string `json:"password,omitempty"` Displayvm bool `json:"displayvm,omitempty"` }
type RevokeSecurityGroupEgressParams ¶
type RevokeSecurityGroupEgressParams struct {
// contains filtered or unexported fields
}
func (*RevokeSecurityGroupEgressParams) SetId ¶
func (p *RevokeSecurityGroupEgressParams) SetId(v string)
type RevokeSecurityGroupIngressParams ¶
type RevokeSecurityGroupIngressParams struct {
// contains filtered or unexported fields
}
func (*RevokeSecurityGroupIngressParams) SetId ¶
func (p *RevokeSecurityGroupIngressParams) SetId(v string)
type Router ¶
type Router struct { Podid string `json:"podid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Guestnetmask string `json:"guestnetmask,omitempty"` Dns1 string `json:"dns1,omitempty"` Publicip string `json:"publicip,omitempty"` Guestnetworkid string `json:"guestnetworkid,omitempty"` Requiresupgrade bool `json:"requiresupgrade,omitempty"` Isredundantrouter bool `json:"isredundantrouter,omitempty"` Publicmacaddress string `json:"publicmacaddress,omitempty"` Role string `json:"role,omitempty"` Project string `json:"project,omitempty"` Dns2 string `json:"dns2,omitempty"` Ip6dns2 string `json:"ip6dns2,omitempty"` Linklocalnetmask string `json:"linklocalnetmask,omitempty"` Guestmacaddress string `json:"guestmacaddress,omitempty"` Nic []struct { Broadcasturi string `json:"broadcasturi,omitempty"` Networkname string `json:"networkname,omitempty"` Gateway string `json:"gateway,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Ip6address string `json:"ip6address,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Type string `json:"type,omitempty"` Networkid string `json:"networkid,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Macaddress string `json:"macaddress,omitempty"` Traffictype string `json:"traffictype,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Id string `json:"id,omitempty"` Netmask string `json:"netmask,omitempty"` Isdefault bool `json:"isdefault,omitempty"` } `json:"nic,omitempty"` Zonename string `json:"zonename,omitempty"` Name string `json:"name,omitempty"` Domainid string `json:"domainid,omitempty"` Guestipaddress string `json:"guestipaddress,omitempty"` State string `json:"state,omitempty"` Created string `json:"created,omitempty"` Templateid string `json:"templateid,omitempty"` Redundantstate string `json:"redundantstate,omitempty"` Ip6dns1 string `json:"ip6dns1,omitempty"` Account string `json:"account,omitempty"` Publicnetworkid string `json:"publicnetworkid,omitempty"` Scriptsversion string `json:"scriptsversion,omitempty"` Hostid string `json:"hostid,omitempty"` Hostname string `json:"hostname,omitempty"` Publicnetmask string `json:"publicnetmask,omitempty"` Gateway string `json:"gateway,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Id string `json:"id,omitempty"` Linklocalnetworkid string `json:"linklocalnetworkid,omitempty"` Vpcid string `json:"vpcid,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Domain string `json:"domain,omitempty"` Version string `json:"version,omitempty"` Projectid string `json:"projectid,omitempty"` Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"` Linklocalip string `json:"linklocalip,omitempty"` }
type RouterService ¶
type RouterService struct {
// contains filtered or unexported fields
}
func NewRouterService ¶
func NewRouterService(cs *CloudStackClient) *RouterService
func (*RouterService) ChangeServiceForRouter ¶
func (s *RouterService) ChangeServiceForRouter(p *ChangeServiceForRouterParams) (*ChangeServiceForRouterResponse, error)
Upgrades domain router to a new service offering
func (*RouterService) ConfigureVirtualRouterElement ¶
func (s *RouterService) ConfigureVirtualRouterElement(p *ConfigureVirtualRouterElementParams) (*ConfigureVirtualRouterElementResponse, error)
Configures a virtual router element.
func (*RouterService) CreateVirtualRouterElement ¶
func (s *RouterService) CreateVirtualRouterElement(p *CreateVirtualRouterElementParams) (*CreateVirtualRouterElementResponse, error)
Create a virtual router element.
func (*RouterService) DestroyRouter ¶
func (s *RouterService) DestroyRouter(p *DestroyRouterParams) (*DestroyRouterResponse, error)
Destroys a router.
func (*RouterService) GetRouterID ¶
func (s *RouterService) GetRouterID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*RouterService) GetVirtualRouterElementID ¶
func (s *RouterService) GetVirtualRouterElementID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*RouterService) ListRouters ¶
func (s *RouterService) ListRouters(p *ListRoutersParams) (*ListRoutersResponse, error)
List routers.
func (*RouterService) ListVirtualRouterElements ¶
func (s *RouterService) ListVirtualRouterElements(p *ListVirtualRouterElementsParams) (*ListVirtualRouterElementsResponse, error)
Lists all available virtual router elements.
func (*RouterService) NewChangeServiceForRouterParams ¶
func (s *RouterService) NewChangeServiceForRouterParams(id string, serviceofferingid string) *ChangeServiceForRouterParams
You should always use this function to get a new ChangeServiceForRouterParams instance, as then you are sure you have configured all required params
func (*RouterService) NewConfigureVirtualRouterElementParams ¶
func (s *RouterService) NewConfigureVirtualRouterElementParams(enabled bool, id string) *ConfigureVirtualRouterElementParams
You should always use this function to get a new ConfigureVirtualRouterElementParams instance, as then you are sure you have configured all required params
func (*RouterService) NewCreateVirtualRouterElementParams ¶
func (s *RouterService) NewCreateVirtualRouterElementParams(nspid string) *CreateVirtualRouterElementParams
You should always use this function to get a new CreateVirtualRouterElementParams instance, as then you are sure you have configured all required params
func (*RouterService) NewDestroyRouterParams ¶
func (s *RouterService) NewDestroyRouterParams(id string) *DestroyRouterParams
You should always use this function to get a new DestroyRouterParams instance, as then you are sure you have configured all required params
func (*RouterService) NewListRoutersParams ¶
func (s *RouterService) NewListRoutersParams() *ListRoutersParams
You should always use this function to get a new ListRoutersParams instance, as then you are sure you have configured all required params
func (*RouterService) NewListVirtualRouterElementsParams ¶
func (s *RouterService) NewListVirtualRouterElementsParams() *ListVirtualRouterElementsParams
You should always use this function to get a new ListVirtualRouterElementsParams instance, as then you are sure you have configured all required params
func (*RouterService) NewRebootRouterParams ¶
func (s *RouterService) NewRebootRouterParams(id string) *RebootRouterParams
You should always use this function to get a new RebootRouterParams instance, as then you are sure you have configured all required params
func (*RouterService) NewStartRouterParams ¶
func (s *RouterService) NewStartRouterParams(id string) *StartRouterParams
You should always use this function to get a new StartRouterParams instance, as then you are sure you have configured all required params
func (*RouterService) NewStopRouterParams ¶
func (s *RouterService) NewStopRouterParams(id string) *StopRouterParams
You should always use this function to get a new StopRouterParams instance, as then you are sure you have configured all required params
func (*RouterService) RebootRouter ¶
func (s *RouterService) RebootRouter(p *RebootRouterParams) (*RebootRouterResponse, error)
Starts a router.
func (*RouterService) StartRouter ¶
func (s *RouterService) StartRouter(p *StartRouterParams) (*StartRouterResponse, error)
Starts a router.
func (*RouterService) StopRouter ¶
func (s *RouterService) StopRouter(p *StopRouterParams) (*StopRouterResponse, error)
Stops a router.
type S3 ¶
type S3 struct { Url string `json:"url,omitempty"` Zoneid string `json:"zoneid,omitempty"` Details []string `json:"details,omitempty"` Providername string `json:"providername,omitempty"` Protocol string `json:"protocol,omitempty"` Id string `json:"id,omitempty"` Scope string `json:"scope,omitempty"` Zonename string `json:"zonename,omitempty"` Name string `json:"name,omitempty"` }
type S3Service ¶
type S3Service struct {
// contains filtered or unexported fields
}
func NewS3Service ¶
func NewS3Service(cs *CloudStackClient) *S3Service
func (*S3Service) GetS3ID ¶
This is a courtesy helper function, which in some cases may not work as expected!
func (*S3Service) ListS3s ¶
func (s *S3Service) ListS3s(p *ListS3sParams) (*ListS3sResponse, error)
Lists S3s
func (*S3Service) NewAddS3Params ¶
func (s *S3Service) NewAddS3Params(accesskey string, bucket string, secretkey string) *AddS3Params
You should always use this function to get a new AddS3Params instance, as then you are sure you have configured all required params
func (*S3Service) NewListS3sParams ¶
func (s *S3Service) NewListS3sParams() *ListS3sParams
You should always use this function to get a new ListS3sParams instance, as then you are sure you have configured all required params
type SSHKeyPair ¶
type SSHService ¶
type SSHService struct {
// contains filtered or unexported fields
}
func NewSSHService ¶
func NewSSHService(cs *CloudStackClient) *SSHService
func (*SSHService) CreateSSHKeyPair ¶
func (s *SSHService) CreateSSHKeyPair(p *CreateSSHKeyPairParams) (*CreateSSHKeyPairResponse, error)
Create a new keypair and returns the private key
func (*SSHService) DeleteSSHKeyPair ¶
func (s *SSHService) DeleteSSHKeyPair(p *DeleteSSHKeyPairParams) (*DeleteSSHKeyPairResponse, error)
Deletes a keypair by name
func (*SSHService) ListSSHKeyPairs ¶
func (s *SSHService) ListSSHKeyPairs(p *ListSSHKeyPairsParams) (*ListSSHKeyPairsResponse, error)
List registered keypairs
func (*SSHService) NewCreateSSHKeyPairParams ¶
func (s *SSHService) NewCreateSSHKeyPairParams(name string) *CreateSSHKeyPairParams
You should always use this function to get a new CreateSSHKeyPairParams instance, as then you are sure you have configured all required params
func (*SSHService) NewDeleteSSHKeyPairParams ¶
func (s *SSHService) NewDeleteSSHKeyPairParams(name string) *DeleteSSHKeyPairParams
You should always use this function to get a new DeleteSSHKeyPairParams instance, as then you are sure you have configured all required params
func (*SSHService) NewListSSHKeyPairsParams ¶
func (s *SSHService) NewListSSHKeyPairsParams() *ListSSHKeyPairsParams
You should always use this function to get a new ListSSHKeyPairsParams instance, as then you are sure you have configured all required params
func (*SSHService) NewRegisterSSHKeyPairParams ¶
func (s *SSHService) NewRegisterSSHKeyPairParams(name string, publickey string) *RegisterSSHKeyPairParams
You should always use this function to get a new RegisterSSHKeyPairParams instance, as then you are sure you have configured all required params
func (*SSHService) NewResetSSHKeyForVirtualMachineParams ¶
func (s *SSHService) NewResetSSHKeyForVirtualMachineParams(id string, keypair string) *ResetSSHKeyForVirtualMachineParams
You should always use this function to get a new ResetSSHKeyForVirtualMachineParams instance, as then you are sure you have configured all required params
func (*SSHService) RegisterSSHKeyPair ¶
func (s *SSHService) RegisterSSHKeyPair(p *RegisterSSHKeyPairParams) (*RegisterSSHKeyPairResponse, error)
Register a public key in a keypair under a certain name
func (*SSHService) ResetSSHKeyForVirtualMachine ¶
func (s *SSHService) ResetSSHKeyForVirtualMachine(p *ResetSSHKeyForVirtualMachineParams) (*ResetSSHKeyForVirtualMachineResponse, error)
Resets the SSH Key for virtual machine. The virtual machine must be in a "Stopped" state. [async]
type ScaleSystemVmParams ¶
type ScaleSystemVmParams struct {
// contains filtered or unexported fields
}
func (*ScaleSystemVmParams) SetDetails ¶
func (p *ScaleSystemVmParams) SetDetails(v map[string]string)
func (*ScaleSystemVmParams) SetId ¶
func (p *ScaleSystemVmParams) SetId(v string)
func (*ScaleSystemVmParams) SetServiceofferingid ¶
func (p *ScaleSystemVmParams) SetServiceofferingid(v string)
type ScaleSystemVmResponse ¶
type ScaleSystemVmResponse struct { JobID string `json:"jobid,omitempty"` Name string `json:"name,omitempty"` Dns2 string `json:"dns2,omitempty"` Hostid string `json:"hostid,omitempty"` Activeviewersessions int `json:"activeviewersessions,omitempty"` Privateip string `json:"privateip,omitempty"` Publicip string `json:"publicip,omitempty"` Systemvmtype string `json:"systemvmtype,omitempty"` Publicmacaddress string `json:"publicmacaddress,omitempty"` Dns1 string `json:"dns1,omitempty"` Hostname string `json:"hostname,omitempty"` Privatenetmask string `json:"privatenetmask,omitempty"` Templateid string `json:"templateid,omitempty"` Jobstatus int `json:"jobstatus,omitempty"` Id string `json:"id,omitempty"` Podid string `json:"podid,omitempty"` Gateway string `json:"gateway,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Created string `json:"created,omitempty"` Privatemacaddress string `json:"privatemacaddress,omitempty"` Zonename string `json:"zonename,omitempty"` Zoneid string `json:"zoneid,omitempty"` Publicnetmask string `json:"publicnetmask,omitempty"` Linklocalip string `json:"linklocalip,omitempty"` Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"` Jobid string `json:"jobid,omitempty"` Linklocalnetmask string `json:"linklocalnetmask,omitempty"` State string `json:"state,omitempty"` }
type ScaleVirtualMachineParams ¶
type ScaleVirtualMachineParams struct {
// contains filtered or unexported fields
}
func (*ScaleVirtualMachineParams) SetDetails ¶
func (p *ScaleVirtualMachineParams) SetDetails(v map[string]string)
func (*ScaleVirtualMachineParams) SetId ¶
func (p *ScaleVirtualMachineParams) SetId(v string)
func (*ScaleVirtualMachineParams) SetServiceofferingid ¶
func (p *ScaleVirtualMachineParams) SetServiceofferingid(v string)
type SecondaryStagingStore ¶
type SecondaryStagingStore struct { Id string `json:"id,omitempty"` Zoneid string `json:"zoneid,omitempty"` Scope string `json:"scope,omitempty"` Providername string `json:"providername,omitempty"` Name string `json:"name,omitempty"` Zonename string `json:"zonename,omitempty"` Protocol string `json:"protocol,omitempty"` Url string `json:"url,omitempty"` Details []string `json:"details,omitempty"` }
type SecurityGroup ¶
type SecurityGroup struct { Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` Id string `json:"id,omitempty"` Egressrule []struct { Account string `json:"account,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Icmptype int `json:"icmptype,omitempty"` Ruleid string `json:"ruleid,omitempty"` Startport int `json:"startport,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Protocol string `json:"protocol,omitempty"` Cidr string `json:"cidr,omitempty"` Endport int `json:"endport,omitempty"` } `json:"egressrule,omitempty"` Project string `json:"project,omitempty"` Tags []struct { Value string `json:"value,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` Key string `json:"key,omitempty"` Projectid string `json:"projectid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Project string `json:"project,omitempty"` } `json:"tags,omitempty"` Description string `json:"description,omitempty"` Ingressrule []struct { Securitygroupname string `json:"securitygroupname,omitempty"` Startport int `json:"startport,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Icmptype int `json:"icmptype,omitempty"` Ruleid string `json:"ruleid,omitempty"` Protocol string `json:"protocol,omitempty"` Cidr string `json:"cidr,omitempty"` Endport int `json:"endport,omitempty"` Account string `json:"account,omitempty"` } `json:"ingressrule,omitempty"` Name string `json:"name,omitempty"` }
type SecurityGroupService ¶
type SecurityGroupService struct {
// contains filtered or unexported fields
}
func NewSecurityGroupService ¶
func NewSecurityGroupService(cs *CloudStackClient) *SecurityGroupService
func (*SecurityGroupService) AuthorizeSecurityGroupEgress ¶
func (s *SecurityGroupService) AuthorizeSecurityGroupEgress(p *AuthorizeSecurityGroupEgressParams) (*AuthorizeSecurityGroupEgressResponse, error)
Authorizes a particular egress rule for this security group
func (*SecurityGroupService) AuthorizeSecurityGroupIngress ¶
func (s *SecurityGroupService) AuthorizeSecurityGroupIngress(p *AuthorizeSecurityGroupIngressParams) (*AuthorizeSecurityGroupIngressResponse, error)
Authorizes a particular ingress rule for this security group
func (*SecurityGroupService) CreateSecurityGroup ¶
func (s *SecurityGroupService) CreateSecurityGroup(p *CreateSecurityGroupParams) (*CreateSecurityGroupResponse, error)
Creates a security group
func (*SecurityGroupService) DeleteSecurityGroup ¶
func (s *SecurityGroupService) DeleteSecurityGroup(p *DeleteSecurityGroupParams) (*DeleteSecurityGroupResponse, error)
Deletes security group
func (*SecurityGroupService) GetSecurityGroupID ¶
func (s *SecurityGroupService) GetSecurityGroupID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*SecurityGroupService) ListSecurityGroups ¶
func (s *SecurityGroupService) ListSecurityGroups(p *ListSecurityGroupsParams) (*ListSecurityGroupsResponse, error)
Lists security groups
func (*SecurityGroupService) NewAuthorizeSecurityGroupEgressParams ¶
func (s *SecurityGroupService) NewAuthorizeSecurityGroupEgressParams() *AuthorizeSecurityGroupEgressParams
You should always use this function to get a new AuthorizeSecurityGroupEgressParams instance, as then you are sure you have configured all required params
func (*SecurityGroupService) NewAuthorizeSecurityGroupIngressParams ¶
func (s *SecurityGroupService) NewAuthorizeSecurityGroupIngressParams() *AuthorizeSecurityGroupIngressParams
You should always use this function to get a new AuthorizeSecurityGroupIngressParams instance, as then you are sure you have configured all required params
func (*SecurityGroupService) NewCreateSecurityGroupParams ¶
func (s *SecurityGroupService) NewCreateSecurityGroupParams(name string) *CreateSecurityGroupParams
You should always use this function to get a new CreateSecurityGroupParams instance, as then you are sure you have configured all required params
func (*SecurityGroupService) NewDeleteSecurityGroupParams ¶
func (s *SecurityGroupService) NewDeleteSecurityGroupParams() *DeleteSecurityGroupParams
You should always use this function to get a new DeleteSecurityGroupParams instance, as then you are sure you have configured all required params
func (*SecurityGroupService) NewListSecurityGroupsParams ¶
func (s *SecurityGroupService) NewListSecurityGroupsParams() *ListSecurityGroupsParams
You should always use this function to get a new ListSecurityGroupsParams instance, as then you are sure you have configured all required params
func (*SecurityGroupService) NewRevokeSecurityGroupEgressParams ¶
func (s *SecurityGroupService) NewRevokeSecurityGroupEgressParams(id string) *RevokeSecurityGroupEgressParams
You should always use this function to get a new RevokeSecurityGroupEgressParams instance, as then you are sure you have configured all required params
func (*SecurityGroupService) NewRevokeSecurityGroupIngressParams ¶
func (s *SecurityGroupService) NewRevokeSecurityGroupIngressParams(id string) *RevokeSecurityGroupIngressParams
You should always use this function to get a new RevokeSecurityGroupIngressParams instance, as then you are sure you have configured all required params
func (*SecurityGroupService) RevokeSecurityGroupEgress ¶
func (s *SecurityGroupService) RevokeSecurityGroupEgress(p *RevokeSecurityGroupEgressParams) (*RevokeSecurityGroupEgressResponse, error)
Deletes a particular egress rule from this security group
func (*SecurityGroupService) RevokeSecurityGroupIngress ¶
func (s *SecurityGroupService) RevokeSecurityGroupIngress(p *RevokeSecurityGroupIngressParams) (*RevokeSecurityGroupIngressResponse, error)
Deletes a particular ingress rule from this security group
type ServiceOffering ¶
type ServiceOffering struct { Cpuspeed int `json:"cpuspeed,omitempty"` DiskIopsReadRate int `json:"diskIopsReadRate,omitempty"` Networkrate int `json:"networkrate,omitempty"` DiskBytesWriteRate int `json:"diskBytesWriteRate,omitempty"` Domainid string `json:"domainid,omitempty"` Deploymentplanner string `json:"deploymentplanner,omitempty"` Offerha bool `json:"offerha,omitempty"` Created string `json:"created,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Tags string `json:"tags,omitempty"` Isvolatile bool `json:"isvolatile,omitempty"` Iscustomized bool `json:"iscustomized,omitempty"` Displaytext string `json:"displaytext,omitempty"` Defaultuse bool `json:"defaultuse,omitempty"` Storagetype string `json:"storagetype,omitempty"` Id string `json:"id,omitempty"` Issystem bool `json:"issystem,omitempty"` DiskBytesReadRate int `json:"diskBytesReadRate,omitempty"` Serviceofferingdetails map[string]string `json:"serviceofferingdetails,omitempty"` Name string `json:"name,omitempty"` Memory int `json:"memory,omitempty"` Domain string `json:"domain,omitempty"` Systemvmtype string `json:"systemvmtype,omitempty"` DiskIopsWriteRate int `json:"diskIopsWriteRate,omitempty"` Limitcpuuse bool `json:"limitcpuuse,omitempty"` }
type ServiceOfferingService ¶
type ServiceOfferingService struct {
// contains filtered or unexported fields
}
func NewServiceOfferingService ¶
func NewServiceOfferingService(cs *CloudStackClient) *ServiceOfferingService
func (*ServiceOfferingService) CreateServiceOffering ¶
func (s *ServiceOfferingService) CreateServiceOffering(p *CreateServiceOfferingParams) (*CreateServiceOfferingResponse, error)
Creates a service offering.
func (*ServiceOfferingService) DeleteServiceOffering ¶
func (s *ServiceOfferingService) DeleteServiceOffering(p *DeleteServiceOfferingParams) (*DeleteServiceOfferingResponse, error)
Deletes a service offering.
func (*ServiceOfferingService) GetServiceOfferingID ¶
func (s *ServiceOfferingService) GetServiceOfferingID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*ServiceOfferingService) ListServiceOfferings ¶
func (s *ServiceOfferingService) ListServiceOfferings(p *ListServiceOfferingsParams) (*ListServiceOfferingsResponse, error)
Lists all available service offerings.
func (*ServiceOfferingService) NewCreateServiceOfferingParams ¶
func (s *ServiceOfferingService) NewCreateServiceOfferingParams(displaytext string, name string) *CreateServiceOfferingParams
You should always use this function to get a new CreateServiceOfferingParams instance, as then you are sure you have configured all required params
func (*ServiceOfferingService) NewDeleteServiceOfferingParams ¶
func (s *ServiceOfferingService) NewDeleteServiceOfferingParams(id string) *DeleteServiceOfferingParams
You should always use this function to get a new DeleteServiceOfferingParams instance, as then you are sure you have configured all required params
func (*ServiceOfferingService) NewListServiceOfferingsParams ¶
func (s *ServiceOfferingService) NewListServiceOfferingsParams() *ListServiceOfferingsParams
You should always use this function to get a new ListServiceOfferingsParams instance, as then you are sure you have configured all required params
func (*ServiceOfferingService) NewUpdateServiceOfferingParams ¶
func (s *ServiceOfferingService) NewUpdateServiceOfferingParams(id string) *UpdateServiceOfferingParams
You should always use this function to get a new UpdateServiceOfferingParams instance, as then you are sure you have configured all required params
func (*ServiceOfferingService) UpdateServiceOffering ¶
func (s *ServiceOfferingService) UpdateServiceOffering(p *UpdateServiceOfferingParams) (*UpdateServiceOfferingResponse, error)
Updates a service offering.
type Snapshot ¶
type Snapshot struct { Domainid string `json:"domainid,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` Id string `json:"id,omitempty"` Tags []struct { Resourceid string `json:"resourceid,omitempty"` Projectid string `json:"projectid,omitempty"` Key string `json:"key,omitempty"` Domainid string `json:"domainid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Account string `json:"account,omitempty"` Value string `json:"value,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Customer string `json:"customer,omitempty"` } `json:"tags,omitempty"` Project string `json:"project,omitempty"` State string `json:"state,omitempty"` Intervaltype string `json:"intervaltype,omitempty"` Name string `json:"name,omitempty"` Volumename string `json:"volumename,omitempty"` Zoneid string `json:"zoneid,omitempty"` Revertable bool `json:"revertable,omitempty"` Volumeid string `json:"volumeid,omitempty"` Created string `json:"created,omitempty"` Volumetype string `json:"volumetype,omitempty"` Snapshottype string `json:"snapshottype,omitempty"` }
type SnapshotPolicy ¶ added in v1.0.1
type SnapshotService ¶
type SnapshotService struct {
// contains filtered or unexported fields
}
func NewSnapshotService ¶
func NewSnapshotService(cs *CloudStackClient) *SnapshotService
func (*SnapshotService) CreateSnapshot ¶
func (s *SnapshotService) CreateSnapshot(p *CreateSnapshotParams) (*CreateSnapshotResponse, error)
Creates an instant snapshot of a volume.
func (*SnapshotService) CreateSnapshotPolicy ¶
func (s *SnapshotService) CreateSnapshotPolicy(p *CreateSnapshotPolicyParams) (*CreateSnapshotPolicyResponse, error)
Creates a snapshot policy for the account.
func (*SnapshotService) CreateVMSnapshot ¶
func (s *SnapshotService) CreateVMSnapshot(p *CreateVMSnapshotParams) (*CreateVMSnapshotResponse, error)
Creates snapshot for a vm.
func (*SnapshotService) DeleteSnapshot ¶
func (s *SnapshotService) DeleteSnapshot(p *DeleteSnapshotParams) (*DeleteSnapshotResponse, error)
Deletes a snapshot of a disk volume.
func (*SnapshotService) DeleteSnapshotPolicies ¶
func (s *SnapshotService) DeleteSnapshotPolicies(p *DeleteSnapshotPoliciesParams) (*DeleteSnapshotPoliciesResponse, error)
Deletes snapshot policies for the account.
func (*SnapshotService) DeleteVMSnapshot ¶
func (s *SnapshotService) DeleteVMSnapshot(p *DeleteVMSnapshotParams) (*DeleteVMSnapshotResponse, error)
Deletes a vmsnapshot.
func (*SnapshotService) GetSnapshotID ¶
func (s *SnapshotService) GetSnapshotID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*SnapshotService) GetSnapshotPolicyID ¶ added in v1.0.1
func (s *SnapshotService) GetSnapshotPolicyID(keyword string, volumeid string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*SnapshotService) GetVMSnapshotID ¶
func (s *SnapshotService) GetVMSnapshotID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*SnapshotService) ListSnapshotPolicies ¶
func (s *SnapshotService) ListSnapshotPolicies(p *ListSnapshotPoliciesParams) (*ListSnapshotPoliciesResponse, error)
Lists snapshot policies.
func (*SnapshotService) ListSnapshots ¶
func (s *SnapshotService) ListSnapshots(p *ListSnapshotsParams) (*ListSnapshotsResponse, error)
Lists all available snapshots for the account.
func (*SnapshotService) ListVMSnapshot ¶
func (s *SnapshotService) ListVMSnapshot(p *ListVMSnapshotParams) (*ListVMSnapshotResponse, error)
List virtual machine snapshot by conditions
func (*SnapshotService) NewCreateSnapshotParams ¶
func (s *SnapshotService) NewCreateSnapshotParams(volumeid string) *CreateSnapshotParams
You should always use this function to get a new CreateSnapshotParams instance, as then you are sure you have configured all required params
func (*SnapshotService) NewCreateSnapshotPolicyParams ¶
func (s *SnapshotService) NewCreateSnapshotPolicyParams(intervaltype string, maxsnaps int, schedule string, timezone string, volumeid string) *CreateSnapshotPolicyParams
You should always use this function to get a new CreateSnapshotPolicyParams instance, as then you are sure you have configured all required params
func (*SnapshotService) NewCreateVMSnapshotParams ¶
func (s *SnapshotService) NewCreateVMSnapshotParams(virtualmachineid string) *CreateVMSnapshotParams
You should always use this function to get a new CreateVMSnapshotParams instance, as then you are sure you have configured all required params
func (*SnapshotService) NewDeleteSnapshotParams ¶
func (s *SnapshotService) NewDeleteSnapshotParams(id string) *DeleteSnapshotParams
You should always use this function to get a new DeleteSnapshotParams instance, as then you are sure you have configured all required params
func (*SnapshotService) NewDeleteSnapshotPoliciesParams ¶
func (s *SnapshotService) NewDeleteSnapshotPoliciesParams() *DeleteSnapshotPoliciesParams
You should always use this function to get a new DeleteSnapshotPoliciesParams instance, as then you are sure you have configured all required params
func (*SnapshotService) NewDeleteVMSnapshotParams ¶
func (s *SnapshotService) NewDeleteVMSnapshotParams(vmsnapshotid string) *DeleteVMSnapshotParams
You should always use this function to get a new DeleteVMSnapshotParams instance, as then you are sure you have configured all required params
func (*SnapshotService) NewListSnapshotPoliciesParams ¶
func (s *SnapshotService) NewListSnapshotPoliciesParams(volumeid string) *ListSnapshotPoliciesParams
You should always use this function to get a new ListSnapshotPoliciesParams instance, as then you are sure you have configured all required params
func (*SnapshotService) NewListSnapshotsParams ¶
func (s *SnapshotService) NewListSnapshotsParams() *ListSnapshotsParams
You should always use this function to get a new ListSnapshotsParams instance, as then you are sure you have configured all required params
func (*SnapshotService) NewListVMSnapshotParams ¶
func (s *SnapshotService) NewListVMSnapshotParams() *ListVMSnapshotParams
You should always use this function to get a new ListVMSnapshotParams instance, as then you are sure you have configured all required params
func (*SnapshotService) NewRevertSnapshotParams ¶
func (s *SnapshotService) NewRevertSnapshotParams(id string) *RevertSnapshotParams
You should always use this function to get a new RevertSnapshotParams instance, as then you are sure you have configured all required params
func (*SnapshotService) NewRevertToVMSnapshotParams ¶
func (s *SnapshotService) NewRevertToVMSnapshotParams(vmsnapshotid string) *RevertToVMSnapshotParams
You should always use this function to get a new RevertToVMSnapshotParams instance, as then you are sure you have configured all required params
func (*SnapshotService) RevertSnapshot ¶
func (s *SnapshotService) RevertSnapshot(p *RevertSnapshotParams) (*RevertSnapshotResponse, error)
revert a volume snapshot.
func (*SnapshotService) RevertToVMSnapshot ¶
func (s *SnapshotService) RevertToVMSnapshot(p *RevertToVMSnapshotParams) (*RevertToVMSnapshotResponse, error)
Revert VM from a vmsnapshot.
type SrxFirewall ¶
type SrxFirewall struct { Privateinterface string `json:"privateinterface,omitempty"` Fwdevicename string `json:"fwdevicename,omitempty"` Fwdevicestate string `json:"fwdevicestate,omitempty"` Usageinterface string `json:"usageinterface,omitempty"` Fwdeviceid string `json:"fwdeviceid,omitempty"` Provider string `json:"provider,omitempty"` Fwdevicecapacity int `json:"fwdevicecapacity,omitempty"` Privatezone string `json:"privatezone,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Username string `json:"username,omitempty"` Numretries string `json:"numretries,omitempty"` Zoneid string `json:"zoneid,omitempty"` Timeout string `json:"timeout,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Publiczone string `json:"publiczone,omitempty"` Publicinterface string `json:"publicinterface,omitempty"` }
type SrxFirewallNetwork ¶
type SrxFirewallNetwork struct { Vlan string `json:"vlan,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Displaytext string `json:"displaytext,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Id string `json:"id,omitempty"` Networkofferingname string `json:"networkofferingname,omitempty"` Canusefordeploy bool `json:"canusefordeploy,omitempty"` Networkcidr string `json:"networkcidr,omitempty"` Tags []struct { Account string `json:"account,omitempty"` Resourceid string `json:"resourceid,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Value string `json:"value,omitempty"` Projectid string `json:"projectid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` Key string `json:"key,omitempty"` } `json:"tags,omitempty"` Project string `json:"project,omitempty"` Specifyipranges bool `json:"specifyipranges,omitempty"` Networkofferingavailability string `json:"networkofferingavailability,omitempty"` Broadcastdomaintype string `json:"broadcastdomaintype,omitempty"` Aclid string `json:"aclid,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Traffictype string `json:"traffictype,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Projectid string `json:"projectid,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Service []struct { Capability []struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` } `json:"capability,omitempty"` Provider []struct { Servicelist []string `json:"servicelist,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` State string `json:"state,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` } `json:"provider,omitempty"` Name string `json:"name,omitempty"` } `json:"service,omitempty"` Gateway string `json:"gateway,omitempty"` Networkofferingconservemode bool `json:"networkofferingconservemode,omitempty"` Netmask string `json:"netmask,omitempty"` Cidr string `json:"cidr,omitempty"` Issystem bool `json:"issystem,omitempty"` Displaynetwork bool `json:"displaynetwork,omitempty"` Subdomainaccess bool `json:"subdomainaccess,omitempty"` Zonename string `json:"zonename,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Dns1 string `json:"dns1,omitempty"` Vpcid string `json:"vpcid,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Domain string `json:"domain,omitempty"` Dns2 string `json:"dns2,omitempty"` Reservediprange string `json:"reservediprange,omitempty"` Restartrequired bool `json:"restartrequired,omitempty"` Networkofferingdisplaytext string `json:"networkofferingdisplaytext,omitempty"` State string `json:"state,omitempty"` Ispersistent bool `json:"ispersistent,omitempty"` Networkofferingid string `json:"networkofferingid,omitempty"` Related string `json:"related,omitempty"` Account string `json:"account,omitempty"` Acltype string `json:"acltype,omitempty"` Domainid string `json:"domainid,omitempty"` }
type SslCert ¶
type SslCert struct { Account string `json:"account,omitempty"` Certchain string `json:"certchain,omitempty"` Fingerprint string `json:"fingerprint,omitempty"` Privatekey string `json:"privatekey,omitempty"` Id string `json:"id,omitempty"` Loadbalancerrulelist []string `json:"loadbalancerrulelist,omitempty"` Certificate string `json:"certificate,omitempty"` }
type StartInternalLoadBalancerVMParams ¶
type StartInternalLoadBalancerVMParams struct {
// contains filtered or unexported fields
}
func (*StartInternalLoadBalancerVMParams) SetId ¶
func (p *StartInternalLoadBalancerVMParams) SetId(v string)
type StartInternalLoadBalancerVMResponse ¶
type StartInternalLoadBalancerVMResponse struct { JobID string `json:"jobid,omitempty"` Vpcid string `json:"vpcid,omitempty"` Hostid string `json:"hostid,omitempty"` Zonename string `json:"zonename,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Publicmacaddress string `json:"publicmacaddress,omitempty"` Guestnetmask string `json:"guestnetmask,omitempty"` Redundantstate string `json:"redundantstate,omitempty"` Gateway string `json:"gateway,omitempty"` Linklocalnetworkid string `json:"linklocalnetworkid,omitempty"` Projectid string `json:"projectid,omitempty"` Guestmacaddress string `json:"guestmacaddress,omitempty"` Ip6dns1 string `json:"ip6dns1,omitempty"` Publicip string `json:"publicip,omitempty"` State string `json:"state,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"` Role string `json:"role,omitempty"` Guestnetworkid string `json:"guestnetworkid,omitempty"` Dns2 string `json:"dns2,omitempty"` Created string `json:"created,omitempty"` Name string `json:"name,omitempty"` Nic []struct { Networkid string `json:"networkid,omitempty"` Type string `json:"type,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Gateway string `json:"gateway,omitempty"` Networkname string `json:"networkname,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Id string `json:"id,omitempty"` Macaddress string `json:"macaddress,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Netmask string `json:"netmask,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Ip6address string `json:"ip6address,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Traffictype string `json:"traffictype,omitempty"` } `json:"nic,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Publicnetworkid string `json:"publicnetworkid,omitempty"` Templateid string `json:"templateid,omitempty"` Publicnetmask string `json:"publicnetmask,omitempty"` Hostname string `json:"hostname,omitempty"` Zoneid string `json:"zoneid,omitempty"` Isredundantrouter bool `json:"isredundantrouter,omitempty"` Version string `json:"version,omitempty"` Requiresupgrade bool `json:"requiresupgrade,omitempty"` Account string `json:"account,omitempty"` Dns1 string `json:"dns1,omitempty"` Linklocalnetmask string `json:"linklocalnetmask,omitempty"` Scriptsversion string `json:"scriptsversion,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Guestipaddress string `json:"guestipaddress,omitempty"` Id string `json:"id,omitempty"` Ip6dns2 string `json:"ip6dns2,omitempty"` Podid string `json:"podid,omitempty"` Domainid string `json:"domainid,omitempty"` Linklocalip string `json:"linklocalip,omitempty"` }
type StartRouterParams ¶
type StartRouterParams struct {
// contains filtered or unexported fields
}
func (*StartRouterParams) SetId ¶
func (p *StartRouterParams) SetId(v string)
type StartRouterResponse ¶
type StartRouterResponse struct { JobID string `json:"jobid,omitempty"` Created string `json:"created,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Dns2 string `json:"dns2,omitempty"` Version string `json:"version,omitempty"` Zonename string `json:"zonename,omitempty"` Publicmacaddress string `json:"publicmacaddress,omitempty"` Scriptsversion string `json:"scriptsversion,omitempty"` Hostid string `json:"hostid,omitempty"` Linklocalip string `json:"linklocalip,omitempty"` Templateid string `json:"templateid,omitempty"` Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"` Id string `json:"id,omitempty"` Role string `json:"role,omitempty"` Gateway string `json:"gateway,omitempty"` Name string `json:"name,omitempty"` Account string `json:"account,omitempty"` Guestmacaddress string `json:"guestmacaddress,omitempty"` Vpcid string `json:"vpcid,omitempty"` Isredundantrouter bool `json:"isredundantrouter,omitempty"` Publicnetmask string `json:"publicnetmask,omitempty"` Ip6dns1 string `json:"ip6dns1,omitempty"` Redundantstate string `json:"redundantstate,omitempty"` Publicip string `json:"publicip,omitempty"` Publicnetworkid string `json:"publicnetworkid,omitempty"` Guestnetmask string `json:"guestnetmask,omitempty"` Guestipaddress string `json:"guestipaddress,omitempty"` Requiresupgrade bool `json:"requiresupgrade,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Nic []struct { Secondaryip []string `json:"secondaryip,omitempty"` Id string `json:"id,omitempty"` Type string `json:"type,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Networkid string `json:"networkid,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Netmask string `json:"netmask,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Networkname string `json:"networkname,omitempty"` Gateway string `json:"gateway,omitempty"` Ip6address string `json:"ip6address,omitempty"` Traffictype string `json:"traffictype,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Macaddress string `json:"macaddress,omitempty"` } `json:"nic,omitempty"` Hostname string `json:"hostname,omitempty"` Guestnetworkid string `json:"guestnetworkid,omitempty"` Domain string `json:"domain,omitempty"` Podid string `json:"podid,omitempty"` Projectid string `json:"projectid,omitempty"` State string `json:"state,omitempty"` Linklocalnetmask string `json:"linklocalnetmask,omitempty"` Ip6dns2 string `json:"ip6dns2,omitempty"` Dns1 string `json:"dns1,omitempty"` Linklocalnetworkid string `json:"linklocalnetworkid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` }
type StartSystemVmParams ¶
type StartSystemVmParams struct {
// contains filtered or unexported fields
}
func (*StartSystemVmParams) SetId ¶
func (p *StartSystemVmParams) SetId(v string)
type StartSystemVmResponse ¶
type StartSystemVmResponse struct { JobID string `json:"jobid,omitempty"` Dns2 string `json:"dns2,omitempty"` Zonename string `json:"zonename,omitempty"` Activeviewersessions int `json:"activeviewersessions,omitempty"` Hostid string `json:"hostid,omitempty"` Systemvmtype string `json:"systemvmtype,omitempty"` Hostname string `json:"hostname,omitempty"` Jobid string `json:"jobid,omitempty"` Jobstatus int `json:"jobstatus,omitempty"` Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"` Gateway string `json:"gateway,omitempty"` Dns1 string `json:"dns1,omitempty"` Podid string `json:"podid,omitempty"` Id string `json:"id,omitempty"` Publicnetmask string `json:"publicnetmask,omitempty"` Name string `json:"name,omitempty"` Privateip string `json:"privateip,omitempty"` Created string `json:"created,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Privatemacaddress string `json:"privatemacaddress,omitempty"` Linklocalip string `json:"linklocalip,omitempty"` Templateid string `json:"templateid,omitempty"` Linklocalnetmask string `json:"linklocalnetmask,omitempty"` Zoneid string `json:"zoneid,omitempty"` Publicmacaddress string `json:"publicmacaddress,omitempty"` State string `json:"state,omitempty"` Privatenetmask string `json:"privatenetmask,omitempty"` Publicip string `json:"publicip,omitempty"` }
type StartVirtualMachineParams ¶
type StartVirtualMachineParams struct {
// contains filtered or unexported fields
}
func (*StartVirtualMachineParams) SetHostid ¶
func (p *StartVirtualMachineParams) SetHostid(v string)
func (*StartVirtualMachineParams) SetId ¶
func (p *StartVirtualMachineParams) SetId(v string)
type StartVirtualMachineResponse ¶
type StartVirtualMachineResponse struct { JobID string `json:"jobid,omitempty"` Isoid string `json:"isoid,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Tags []struct { Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Key string `json:"key,omitempty"` Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Value string `json:"value,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Account string `json:"account,omitempty"` } `json:"tags,omitempty"` Projectid string `json:"projectid,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Details map[string]string `json:"details,omitempty"` Haenable bool `json:"haenable,omitempty"` Publicip string `json:"publicip,omitempty"` Servicestate string `json:"servicestate,omitempty"` Name string `json:"name,omitempty"` Memory int `json:"memory,omitempty"` Zonename string `json:"zonename,omitempty"` Displayname string `json:"displayname,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Zoneid string `json:"zoneid,omitempty"` Domain string `json:"domain,omitempty"` State string `json:"state,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Diskioread int `json:"diskioread,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Securitygroup []struct { Egressrule []struct { Icmptype int `json:"icmptype,omitempty"` Ruleid string `json:"ruleid,omitempty"` Account string `json:"account,omitempty"` Cidr string `json:"cidr,omitempty"` Endport int `json:"endport,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Startport int `json:"startport,omitempty"` Protocol string `json:"protocol,omitempty"` } `json:"egressrule,omitempty"` Project string `json:"project,omitempty"` Tags []struct { Projectid string `json:"projectid,omitempty"` Value string `json:"value,omitempty"` Domain string `json:"domain,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Key string `json:"key,omitempty"` Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` Resourceid string `json:"resourceid,omitempty"` } `json:"tags,omitempty"` Account string `json:"account,omitempty"` Description string `json:"description,omitempty"` Projectid string `json:"projectid,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Domain string `json:"domain,omitempty"` Ingressrule []struct { Startport int `json:"startport,omitempty"` Ruleid string `json:"ruleid,omitempty"` Account string `json:"account,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Cidr string `json:"cidr,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Endport int `json:"endport,omitempty"` Icmptype int `json:"icmptype,omitempty"` Protocol string `json:"protocol,omitempty"` } `json:"ingressrule,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"securitygroup,omitempty"` Instancename string `json:"instancename,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Account string `json:"account,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Id string `json:"id,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Hostname string `json:"hostname,omitempty"` Guestosid string `json:"guestosid,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Templateid string `json:"templateid,omitempty"` Groupid string `json:"groupid,omitempty"` Cpuused string `json:"cpuused,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Group string `json:"group,omitempty"` Nic []struct { Networkname string `json:"networkname,omitempty"` Networkid string `json:"networkid,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Netmask string `json:"netmask,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Id string `json:"id,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Type string `json:"type,omitempty"` Traffictype string `json:"traffictype,omitempty"` Ip6address string `json:"ip6address,omitempty"` Macaddress string `json:"macaddress,omitempty"` Gateway string `json:"gateway,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` } `json:"nic,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Isoname string `json:"isoname,omitempty"` Templatename string `json:"templatename,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Keypair string `json:"keypair,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Password string `json:"password,omitempty"` Affinitygroup []struct { VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Id string `json:"id,omitempty"` Type string `json:"type,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"affinitygroup,omitempty"` Created string `json:"created,omitempty"` Hostid string `json:"hostid,omitempty"` Publicipid string `json:"publicipid,omitempty"` Displayvm bool `json:"displayvm,omitempty"` }
type StaticRoute ¶
type StaticRoute struct { Projectid string `json:"projectid,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Project string `json:"project,omitempty"` Resourceid string `json:"resourceid,omitempty"` Domainid string `json:"domainid,omitempty"` Customer string `json:"customer,omitempty"` Value string `json:"value,omitempty"` Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` Key string `json:"key,omitempty"` } `json:"tags,omitempty"` Cidr string `json:"cidr,omitempty"` Gatewayid string `json:"gatewayid,omitempty"` Domain string `json:"domain,omitempty"` State string `json:"state,omitempty"` Domainid string `json:"domainid,omitempty"` Id string `json:"id,omitempty"` Account string `json:"account,omitempty"` Vpcid string `json:"vpcid,omitempty"` Project string `json:"project,omitempty"` }
type StopInternalLoadBalancerVMParams ¶
type StopInternalLoadBalancerVMParams struct {
// contains filtered or unexported fields
}
func (*StopInternalLoadBalancerVMParams) SetForced ¶
func (p *StopInternalLoadBalancerVMParams) SetForced(v bool)
func (*StopInternalLoadBalancerVMParams) SetId ¶
func (p *StopInternalLoadBalancerVMParams) SetId(v string)
type StopInternalLoadBalancerVMResponse ¶
type StopInternalLoadBalancerVMResponse struct { JobID string `json:"jobid,omitempty"` Ip6dns1 string `json:"ip6dns1,omitempty"` Podid string `json:"podid,omitempty"` Account string `json:"account,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Hostname string `json:"hostname,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Hostid string `json:"hostid,omitempty"` Name string `json:"name,omitempty"` Scriptsversion string `json:"scriptsversion,omitempty"` Dns1 string `json:"dns1,omitempty"` Zoneid string `json:"zoneid,omitempty"` Linklocalnetmask string `json:"linklocalnetmask,omitempty"` Isredundantrouter bool `json:"isredundantrouter,omitempty"` Publicip string `json:"publicip,omitempty"` Domain string `json:"domain,omitempty"` Publicnetmask string `json:"publicnetmask,omitempty"` Role string `json:"role,omitempty"` Publicmacaddress string `json:"publicmacaddress,omitempty"` Guestipaddress string `json:"guestipaddress,omitempty"` Zonename string `json:"zonename,omitempty"` Linklocalip string `json:"linklocalip,omitempty"` Dns2 string `json:"dns2,omitempty"` Vpcid string `json:"vpcid,omitempty"` Ip6dns2 string `json:"ip6dns2,omitempty"` Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"` Publicnetworkid string `json:"publicnetworkid,omitempty"` Gateway string `json:"gateway,omitempty"` Guestnetmask string `json:"guestnetmask,omitempty"` Domainid string `json:"domainid,omitempty"` Linklocalnetworkid string `json:"linklocalnetworkid,omitempty"` Created string `json:"created,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Id string `json:"id,omitempty"` Guestmacaddress string `json:"guestmacaddress,omitempty"` Version string `json:"version,omitempty"` Guestnetworkid string `json:"guestnetworkid,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Templateid string `json:"templateid,omitempty"` Redundantstate string `json:"redundantstate,omitempty"` Requiresupgrade bool `json:"requiresupgrade,omitempty"` Nic []struct { Broadcasturi string `json:"broadcasturi,omitempty"` Ip6address string `json:"ip6address,omitempty"` Networkname string `json:"networkname,omitempty"` Type string `json:"type,omitempty"` Netmask string `json:"netmask,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Id string `json:"id,omitempty"` Gateway string `json:"gateway,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Networkid string `json:"networkid,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Macaddress string `json:"macaddress,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Traffictype string `json:"traffictype,omitempty"` } `json:"nic,omitempty"` State string `json:"state,omitempty"` }
type StopRouterParams ¶
type StopRouterParams struct {
// contains filtered or unexported fields
}
func (*StopRouterParams) SetForced ¶
func (p *StopRouterParams) SetForced(v bool)
func (*StopRouterParams) SetId ¶
func (p *StopRouterParams) SetId(v string)
type StopRouterResponse ¶
type StopRouterResponse struct { JobID string `json:"jobid,omitempty"` Role string `json:"role,omitempty"` Guestnetmask string `json:"guestnetmask,omitempty"` Podid string `json:"podid,omitempty"` Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"` Created string `json:"created,omitempty"` Projectid string `json:"projectid,omitempty"` Guestipaddress string `json:"guestipaddress,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Account string `json:"account,omitempty"` Linklocalnetworkid string `json:"linklocalnetworkid,omitempty"` Scriptsversion string `json:"scriptsversion,omitempty"` Templateid string `json:"templateid,omitempty"` Hostname string `json:"hostname,omitempty"` Domainid string `json:"domainid,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Vpcid string `json:"vpcid,omitempty"` Isredundantrouter bool `json:"isredundantrouter,omitempty"` Publicmacaddress string `json:"publicmacaddress,omitempty"` Guestnetworkid string `json:"guestnetworkid,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Ip6dns1 string `json:"ip6dns1,omitempty"` Ip6dns2 string `json:"ip6dns2,omitempty"` Dns2 string `json:"dns2,omitempty"` Gateway string `json:"gateway,omitempty"` Nic []struct { Ip6gateway string `json:"ip6gateway,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Type string `json:"type,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Networkname string `json:"networkname,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Macaddress string `json:"macaddress,omitempty"` Networkid string `json:"networkid,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Gateway string `json:"gateway,omitempty"` Traffictype string `json:"traffictype,omitempty"` Ip6address string `json:"ip6address,omitempty"` Id string `json:"id,omitempty"` Netmask string `json:"netmask,omitempty"` } `json:"nic,omitempty"` Id string `json:"id,omitempty"` Dns1 string `json:"dns1,omitempty"` Zoneid string `json:"zoneid,omitempty"` Linklocalnetmask string `json:"linklocalnetmask,omitempty"` Zonename string `json:"zonename,omitempty"` Publicnetmask string `json:"publicnetmask,omitempty"` Hostid string `json:"hostid,omitempty"` Requiresupgrade bool `json:"requiresupgrade,omitempty"` Guestmacaddress string `json:"guestmacaddress,omitempty"` Publicnetworkid string `json:"publicnetworkid,omitempty"` State string `json:"state,omitempty"` Version string `json:"version,omitempty"` Redundantstate string `json:"redundantstate,omitempty"` Domain string `json:"domain,omitempty"` Name string `json:"name,omitempty"` Publicip string `json:"publicip,omitempty"` Linklocalip string `json:"linklocalip,omitempty"` Project string `json:"project,omitempty"` }
type StopSystemVmParams ¶
type StopSystemVmParams struct {
// contains filtered or unexported fields
}
func (*StopSystemVmParams) SetForced ¶
func (p *StopSystemVmParams) SetForced(v bool)
func (*StopSystemVmParams) SetId ¶
func (p *StopSystemVmParams) SetId(v string)
type StopSystemVmResponse ¶
type StopSystemVmResponse struct { JobID string `json:"jobid,omitempty"` Templateid string `json:"templateid,omitempty"` Publicip string `json:"publicip,omitempty"` Publicnetmask string `json:"publicnetmask,omitempty"` Privatenetmask string `json:"privatenetmask,omitempty"` Linklocalip string `json:"linklocalip,omitempty"` Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"` Activeviewersessions int `json:"activeviewersessions,omitempty"` Zonename string `json:"zonename,omitempty"` Linklocalnetmask string `json:"linklocalnetmask,omitempty"` Zoneid string `json:"zoneid,omitempty"` Jobstatus int `json:"jobstatus,omitempty"` Dns1 string `json:"dns1,omitempty"` Podid string `json:"podid,omitempty"` Privatemacaddress string `json:"privatemacaddress,omitempty"` Id string `json:"id,omitempty"` Hostname string `json:"hostname,omitempty"` State string `json:"state,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Dns2 string `json:"dns2,omitempty"` Systemvmtype string `json:"systemvmtype,omitempty"` Name string `json:"name,omitempty"` Privateip string `json:"privateip,omitempty"` Hostid string `json:"hostid,omitempty"` Publicmacaddress string `json:"publicmacaddress,omitempty"` Created string `json:"created,omitempty"` Jobid string `json:"jobid,omitempty"` Gateway string `json:"gateway,omitempty"` }
type StopVirtualMachineParams ¶
type StopVirtualMachineParams struct {
// contains filtered or unexported fields
}
func (*StopVirtualMachineParams) SetForced ¶
func (p *StopVirtualMachineParams) SetForced(v bool)
func (*StopVirtualMachineParams) SetId ¶
func (p *StopVirtualMachineParams) SetId(v string)
type StopVirtualMachineResponse ¶
type StopVirtualMachineResponse struct { JobID string `json:"jobid,omitempty"` Securitygroup []struct { Id string `json:"id,omitempty"` Tags []struct { Key string `json:"key,omitempty"` Project string `json:"project,omitempty"` Domainid string `json:"domainid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Value string `json:"value,omitempty"` } `json:"tags,omitempty"` Name string `json:"name,omitempty"` Account string `json:"account,omitempty"` Egressrule []struct { Securitygroupname string `json:"securitygroupname,omitempty"` Icmptype int `json:"icmptype,omitempty"` Endport int `json:"endport,omitempty"` Account string `json:"account,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Protocol string `json:"protocol,omitempty"` Cidr string `json:"cidr,omitempty"` Startport int `json:"startport,omitempty"` Ruleid string `json:"ruleid,omitempty"` } `json:"egressrule,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Description string `json:"description,omitempty"` Ingressrule []struct { Securitygroupname string `json:"securitygroupname,omitempty"` Startport int `json:"startport,omitempty"` Protocol string `json:"protocol,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Cidr string `json:"cidr,omitempty"` Endport int `json:"endport,omitempty"` Icmptype int `json:"icmptype,omitempty"` Account string `json:"account,omitempty"` Ruleid string `json:"ruleid,omitempty"` } `json:"ingressrule,omitempty"` Domain string `json:"domain,omitempty"` } `json:"securitygroup,omitempty"` Isoid string `json:"isoid,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Domain string `json:"domain,omitempty"` Diskioread int `json:"diskioread,omitempty"` Displayname string `json:"displayname,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Servicestate string `json:"servicestate,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Templatename string `json:"templatename,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Instancename string `json:"instancename,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Templateid string `json:"templateid,omitempty"` Isoname string `json:"isoname,omitempty"` Publicipid string `json:"publicipid,omitempty"` Cpuused string `json:"cpuused,omitempty"` Id string `json:"id,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Groupid string `json:"groupid,omitempty"` State string `json:"state,omitempty"` Projectid string `json:"projectid,omitempty"` Guestosid string `json:"guestosid,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Zoneid string `json:"zoneid,omitempty"` Password string `json:"password,omitempty"` Haenable bool `json:"haenable,omitempty"` Hostid string `json:"hostid,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Publicip string `json:"publicip,omitempty"` Details map[string]string `json:"details,omitempty"` Group string `json:"group,omitempty"` Name string `json:"name,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Tags []struct { Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Customer string `json:"customer,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Value string `json:"value,omitempty"` Projectid string `json:"projectid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Key string `json:"key,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"tags,omitempty"` Keypair string `json:"keypair,omitempty"` Domainid string `json:"domainid,omitempty"` Zonename string `json:"zonename,omitempty"` Account string `json:"account,omitempty"` Nic []struct { Netmask string `json:"netmask,omitempty"` Networkid string `json:"networkid,omitempty"` Id string `json:"id,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Gateway string `json:"gateway,omitempty"` Traffictype string `json:"traffictype,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Networkname string `json:"networkname,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Ip6address string `json:"ip6address,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Type string `json:"type,omitempty"` Macaddress string `json:"macaddress,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` } `json:"nic,omitempty"` Affinitygroup []struct { Account string `json:"account,omitempty"` Description string `json:"description,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Domain string `json:"domain,omitempty"` Name string `json:"name,omitempty"` Domainid string `json:"domainid,omitempty"` Id string `json:"id,omitempty"` Type string `json:"type,omitempty"` } `json:"affinitygroup,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Project string `json:"project,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Hostname string `json:"hostname,omitempty"` Memory int `json:"memory,omitempty"` Created string `json:"created,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` }
type StorageNetworkIpRange ¶
type StorageNetworkIpRange struct { Netmask string `json:"netmask,omitempty"` Startip string `json:"startip,omitempty"` Networkid string `json:"networkid,omitempty"` Vlan int `json:"vlan,omitempty"` Podid string `json:"podid,omitempty"` Gateway string `json:"gateway,omitempty"` Endip string `json:"endip,omitempty"` Zoneid string `json:"zoneid,omitempty"` Id string `json:"id,omitempty"` }
type StoragePool ¶
type StoragePool struct { Disksizetotal int `json:"disksizetotal,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Scope string `json:"scope,omitempty"` Tags string `json:"tags,omitempty"` Suitableformigration bool `json:"suitableformigration,omitempty"` Capacityiops int `json:"capacityiops,omitempty"` Podid string `json:"podid,omitempty"` Id string `json:"id,omitempty"` Type string `json:"type,omitempty"` Storagecapabilities map[string]string `json:"storagecapabilities,omitempty"` Zoneid string `json:"zoneid,omitempty"` State string `json:"state,omitempty"` Disksizeused int `json:"disksizeused,omitempty"` Clustername string `json:"clustername,omitempty"` Name string `json:"name,omitempty"` Clusterid string `json:"clusterid,omitempty"` Podname string `json:"podname,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Created string `json:"created,omitempty"` Disksizeallocated int `json:"disksizeallocated,omitempty"` Zonename string `json:"zonename,omitempty"` Path string `json:"path,omitempty"` }
type StoragePoolService ¶
type StoragePoolService struct {
// contains filtered or unexported fields
}
func NewStoragePoolService ¶
func NewStoragePoolService(cs *CloudStackClient) *StoragePoolService
func (*StoragePoolService) CancelStorageMaintenance ¶
func (s *StoragePoolService) CancelStorageMaintenance(p *CancelStorageMaintenanceParams) (*CancelStorageMaintenanceResponse, error)
Cancels maintenance for primary storage
func (*StoragePoolService) EnableStorageMaintenance ¶
func (s *StoragePoolService) EnableStorageMaintenance(p *EnableStorageMaintenanceParams) (*EnableStorageMaintenanceResponse, error)
Puts storage pool into maintenance state
func (*StoragePoolService) ListStorageProviders ¶
func (s *StoragePoolService) ListStorageProviders(p *ListStorageProvidersParams) (*ListStorageProvidersResponse, error)
Lists storage providers.
func (*StoragePoolService) NewCancelStorageMaintenanceParams ¶
func (s *StoragePoolService) NewCancelStorageMaintenanceParams(id string) *CancelStorageMaintenanceParams
You should always use this function to get a new CancelStorageMaintenanceParams instance, as then you are sure you have configured all required params
func (*StoragePoolService) NewEnableStorageMaintenanceParams ¶
func (s *StoragePoolService) NewEnableStorageMaintenanceParams(id string) *EnableStorageMaintenanceParams
You should always use this function to get a new EnableStorageMaintenanceParams instance, as then you are sure you have configured all required params
func (*StoragePoolService) NewListStorageProvidersParams ¶
func (s *StoragePoolService) NewListStorageProvidersParams(storagePoolType string) *ListStorageProvidersParams
You should always use this function to get a new ListStorageProvidersParams instance, as then you are sure you have configured all required params
type StorageProvider ¶
type StorageService ¶
type StorageService struct {
// contains filtered or unexported fields
}
func NewStorageService ¶
func NewStorageService(cs *CloudStackClient) *StorageService
type StratosphereSSPService ¶
type StratosphereSSPService struct {
// contains filtered or unexported fields
}
func NewStratosphereSSPService ¶
func NewStratosphereSSPService(cs *CloudStackClient) *StratosphereSSPService
func (*StratosphereSSPService) AddStratosphereSsp ¶
func (s *StratosphereSSPService) AddStratosphereSsp(p *AddStratosphereSspParams) (*AddStratosphereSspResponse, error)
Adds stratosphere ssp server
func (*StratosphereSSPService) NewAddStratosphereSspParams ¶
func (s *StratosphereSSPService) NewAddStratosphereSspParams(name string, url string, zoneid string) *AddStratosphereSspParams
You should always use this function to get a new AddStratosphereSspParams instance, as then you are sure you have configured all required params
type SupportedNetworkService ¶
type SupportedNetworkService struct { Name string `json:"name,omitempty"` Capability []struct { Value string `json:"value,omitempty"` Name string `json:"name,omitempty"` Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` } `json:"capability,omitempty"` Provider []struct { Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` State string `json:"state,omitempty"` Servicelist []string `json:"servicelist,omitempty"` } `json:"provider,omitempty"` }
type SuspendProjectParams ¶
type SuspendProjectParams struct {
// contains filtered or unexported fields
}
func (*SuspendProjectParams) SetId ¶
func (p *SuspendProjectParams) SetId(v string)
type SuspendProjectResponse ¶
type SuspendProjectResponse struct { JobID string `json:"jobid,omitempty"` Vmavailable string `json:"vmavailable,omitempty"` Vpctotal int `json:"vpctotal,omitempty"` Memoryavailable string `json:"memoryavailable,omitempty"` Cpulimit string `json:"cpulimit,omitempty"` Vmlimit string `json:"vmlimit,omitempty"` Volumeavailable string `json:"volumeavailable,omitempty"` Volumelimit string `json:"volumelimit,omitempty"` Snapshotavailable string `json:"snapshotavailable,omitempty"` Snapshotlimit string `json:"snapshotlimit,omitempty"` Templatelimit string `json:"templatelimit,omitempty"` Snapshottotal int `json:"snapshottotal,omitempty"` Iptotal int `json:"iptotal,omitempty"` Templateavailable string `json:"templateavailable,omitempty"` Vpclimit string `json:"vpclimit,omitempty"` Domain string `json:"domain,omitempty"` Vmrunning int `json:"vmrunning,omitempty"` Secondarystorageavailable string `json:"secondarystorageavailable,omitempty"` Networkavailable string `json:"networkavailable,omitempty"` Templatetotal int `json:"templatetotal,omitempty"` Iplimit string `json:"iplimit,omitempty"` Vmstopped int `json:"vmstopped,omitempty"` Volumetotal int `json:"volumetotal,omitempty"` Networktotal int `json:"networktotal,omitempty"` State string `json:"state,omitempty"` Displaytext string `json:"displaytext,omitempty"` Memorylimit string `json:"memorylimit,omitempty"` Secondarystoragetotal int `json:"secondarystoragetotal,omitempty"` Id string `json:"id,omitempty"` Vpcavailable string `json:"vpcavailable,omitempty"` Cpuavailable string `json:"cpuavailable,omitempty"` Primarystoragelimit string `json:"primarystoragelimit,omitempty"` Secondarystoragelimit string `json:"secondarystoragelimit,omitempty"` Name string `json:"name,omitempty"` Primarystoragetotal int `json:"primarystoragetotal,omitempty"` Vmtotal int `json:"vmtotal,omitempty"` Tags []struct { Resourceid string `json:"resourceid,omitempty"` Domain string `json:"domain,omitempty"` Value string `json:"value,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Key string `json:"key,omitempty"` Account string `json:"account,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` } `json:"tags,omitempty"` Primarystorageavailable string `json:"primarystorageavailable,omitempty"` Domainid string `json:"domainid,omitempty"` Ipavailable string `json:"ipavailable,omitempty"` Account string `json:"account,omitempty"` Networklimit string `json:"networklimit,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Cputotal int `json:"cputotal,omitempty"` }
type Swift ¶
type Swift struct { Url string `json:"url,omitempty"` Protocol string `json:"protocol,omitempty"` Zonename string `json:"zonename,omitempty"` Id string `json:"id,omitempty"` Scope string `json:"scope,omitempty"` Providername string `json:"providername,omitempty"` Name string `json:"name,omitempty"` Zoneid string `json:"zoneid,omitempty"` Details []string `json:"details,omitempty"` }
type SwiftService ¶
type SwiftService struct {
// contains filtered or unexported fields
}
func NewSwiftService ¶
func NewSwiftService(cs *CloudStackClient) *SwiftService
func (*SwiftService) AddSwift ¶
func (s *SwiftService) AddSwift(p *AddSwiftParams) (*AddSwiftResponse, error)
Adds Swift.
func (*SwiftService) GetSwiftID ¶
func (s *SwiftService) GetSwiftID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*SwiftService) ListSwifts ¶
func (s *SwiftService) ListSwifts(p *ListSwiftsParams) (*ListSwiftsResponse, error)
List Swift.
func (*SwiftService) NewAddSwiftParams ¶
func (s *SwiftService) NewAddSwiftParams(url string) *AddSwiftParams
You should always use this function to get a new AddSwiftParams instance, as then you are sure you have configured all required params
func (*SwiftService) NewListSwiftsParams ¶
func (s *SwiftService) NewListSwiftsParams() *ListSwiftsParams
You should always use this function to get a new ListSwiftsParams instance, as then you are sure you have configured all required params
type SystemCapacityService ¶
type SystemCapacityService struct {
// contains filtered or unexported fields
}
func NewSystemCapacityService ¶
func NewSystemCapacityService(cs *CloudStackClient) *SystemCapacityService
func (*SystemCapacityService) ListCapacity ¶
func (s *SystemCapacityService) ListCapacity(p *ListCapacityParams) (*ListCapacityResponse, error)
Lists all the system wide capacities.
func (*SystemCapacityService) NewListCapacityParams ¶
func (s *SystemCapacityService) NewListCapacityParams() *ListCapacityParams
You should always use this function to get a new ListCapacityParams instance, as then you are sure you have configured all required params
type SystemVMService ¶
type SystemVMService struct {
// contains filtered or unexported fields
}
func NewSystemVMService ¶
func NewSystemVMService(cs *CloudStackClient) *SystemVMService
func (*SystemVMService) ChangeServiceForSystemVm ¶
func (s *SystemVMService) ChangeServiceForSystemVm(p *ChangeServiceForSystemVmParams) (*ChangeServiceForSystemVmResponse, error)
Changes the service offering for a system vm (console proxy or secondary storage). The system vm must be in a "Stopped" state for this command to take effect.
func (*SystemVMService) DestroySystemVm ¶
func (s *SystemVMService) DestroySystemVm(p *DestroySystemVmParams) (*DestroySystemVmResponse, error)
Destroyes a system virtual machine.
func (*SystemVMService) GetSystemVmID ¶
func (s *SystemVMService) GetSystemVmID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*SystemVMService) ListSystemVms ¶
func (s *SystemVMService) ListSystemVms(p *ListSystemVmsParams) (*ListSystemVmsResponse, error)
List system virtual machines.
func (*SystemVMService) MigrateSystemVm ¶
func (s *SystemVMService) MigrateSystemVm(p *MigrateSystemVmParams) (*MigrateSystemVmResponse, error)
Attempts Migration of a system virtual machine to the host specified.
func (*SystemVMService) NewChangeServiceForSystemVmParams ¶
func (s *SystemVMService) NewChangeServiceForSystemVmParams(id string, serviceofferingid string) *ChangeServiceForSystemVmParams
You should always use this function to get a new ChangeServiceForSystemVmParams instance, as then you are sure you have configured all required params
func (*SystemVMService) NewDestroySystemVmParams ¶
func (s *SystemVMService) NewDestroySystemVmParams(id string) *DestroySystemVmParams
You should always use this function to get a new DestroySystemVmParams instance, as then you are sure you have configured all required params
func (*SystemVMService) NewListSystemVmsParams ¶
func (s *SystemVMService) NewListSystemVmsParams() *ListSystemVmsParams
You should always use this function to get a new ListSystemVmsParams instance, as then you are sure you have configured all required params
func (*SystemVMService) NewMigrateSystemVmParams ¶
func (s *SystemVMService) NewMigrateSystemVmParams(hostid string, virtualmachineid string) *MigrateSystemVmParams
You should always use this function to get a new MigrateSystemVmParams instance, as then you are sure you have configured all required params
func (*SystemVMService) NewRebootSystemVmParams ¶
func (s *SystemVMService) NewRebootSystemVmParams(id string) *RebootSystemVmParams
You should always use this function to get a new RebootSystemVmParams instance, as then you are sure you have configured all required params
func (*SystemVMService) NewScaleSystemVmParams ¶
func (s *SystemVMService) NewScaleSystemVmParams(id string, serviceofferingid string) *ScaleSystemVmParams
You should always use this function to get a new ScaleSystemVmParams instance, as then you are sure you have configured all required params
func (*SystemVMService) NewStartSystemVmParams ¶
func (s *SystemVMService) NewStartSystemVmParams(id string) *StartSystemVmParams
You should always use this function to get a new StartSystemVmParams instance, as then you are sure you have configured all required params
func (*SystemVMService) NewStopSystemVmParams ¶
func (s *SystemVMService) NewStopSystemVmParams(id string) *StopSystemVmParams
You should always use this function to get a new StopSystemVmParams instance, as then you are sure you have configured all required params
func (*SystemVMService) RebootSystemVm ¶
func (s *SystemVMService) RebootSystemVm(p *RebootSystemVmParams) (*RebootSystemVmResponse, error)
Reboots a system VM.
func (*SystemVMService) ScaleSystemVm ¶
func (s *SystemVMService) ScaleSystemVm(p *ScaleSystemVmParams) (*ScaleSystemVmResponse, error)
Scale the service offering for a system vm (console proxy or secondary storage). The system vm must be in a "Stopped" state for this command to take effect.
func (*SystemVMService) StartSystemVm ¶
func (s *SystemVMService) StartSystemVm(p *StartSystemVmParams) (*StartSystemVmResponse, error)
Starts a system virtual machine.
func (*SystemVMService) StopSystemVm ¶
func (s *SystemVMService) StopSystemVm(p *StopSystemVmParams) (*StopSystemVmResponse, error)
Stops a system VM.
type SystemVm ¶
type SystemVm struct { Networkdomain string `json:"networkdomain,omitempty"` Id string `json:"id,omitempty"` Publicip string `json:"publicip,omitempty"` Linklocalip string `json:"linklocalip,omitempty"` Publicmacaddress string `json:"publicmacaddress,omitempty"` Podid string `json:"podid,omitempty"` Gateway string `json:"gateway,omitempty"` Systemvmtype string `json:"systemvmtype,omitempty"` Activeviewersessions int `json:"activeviewersessions,omitempty"` Dns2 string `json:"dns2,omitempty"` Templateid string `json:"templateid,omitempty"` Zonename string `json:"zonename,omitempty"` State string `json:"state,omitempty"` Zoneid string `json:"zoneid,omitempty"` Hostname string `json:"hostname,omitempty"` Privatemacaddress string `json:"privatemacaddress,omitempty"` Privatenetmask string `json:"privatenetmask,omitempty"` Publicnetmask string `json:"publicnetmask,omitempty"` Hostid string `json:"hostid,omitempty"` Dns1 string `json:"dns1,omitempty"` Name string `json:"name,omitempty"` Jobstatus int `json:"jobstatus,omitempty"` Privateip string `json:"privateip,omitempty"` Linklocalmacaddress string `json:"linklocalmacaddress,omitempty"` Linklocalnetmask string `json:"linklocalnetmask,omitempty"` Jobid string `json:"jobid,omitempty"` Created string `json:"created,omitempty"` }
type Tag ¶
type Tag struct { Customer string `json:"customer,omitempty"` Key string `json:"key,omitempty"` Domainid string `json:"domainid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Value string `json:"value,omitempty"` Domain string `json:"domain,omitempty"` }
type Template ¶
type Template struct { Isextractable bool `json:"isextractable,omitempty"` Bootable bool `json:"bootable,omitempty"` Zoneid string `json:"zoneid,omitempty"` Sshkeyenabled bool `json:"sshkeyenabled,omitempty"` Ispublic bool `json:"ispublic,omitempty"` CrossZones bool `json:"crossZones,omitempty"` Templatetag string `json:"templatetag,omitempty"` Size int `json:"size,omitempty"` Sourcetemplateid string `json:"sourcetemplateid,omitempty"` Id string `json:"id,omitempty"` Ostypeid string `json:"ostypeid,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Hostname string `json:"hostname,omitempty"` Hostid string `json:"hostid,omitempty"` Project string `json:"project,omitempty"` Format string `json:"format,omitempty"` Removed string `json:"removed,omitempty"` Account string `json:"account,omitempty"` Zonename string `json:"zonename,omitempty"` Status string `json:"status,omitempty"` Checksum string `json:"checksum,omitempty"` Details map[string]string `json:"details,omitempty"` Ostypename string `json:"ostypename,omitempty"` Templatetype string `json:"templatetype,omitempty"` Isfeatured bool `json:"isfeatured,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Tags []struct { Account string `json:"account,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Resourceid string `json:"resourceid,omitempty"` Value string `json:"value,omitempty"` Key string `json:"key,omitempty"` Projectid string `json:"projectid,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"tags,omitempty"` Displaytext string `json:"displaytext,omitempty"` Created string `json:"created,omitempty"` Isready bool `json:"isready,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Name string `json:"name,omitempty"` Accountid string `json:"accountid,omitempty"` Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` }
type TemplatePermission ¶
type TemplateService ¶
type TemplateService struct {
// contains filtered or unexported fields
}
func NewTemplateService ¶
func NewTemplateService(cs *CloudStackClient) *TemplateService
func (*TemplateService) CopyTemplate ¶
func (s *TemplateService) CopyTemplate(p *CopyTemplateParams) (*CopyTemplateResponse, error)
Copies a template from one zone to another.
func (*TemplateService) CreateTemplate ¶
func (s *TemplateService) CreateTemplate(p *CreateTemplateParams) (*CreateTemplateResponse, error)
Creates a template of a virtual machine. The virtual machine must be in a STOPPED state. A template created from this command is automatically designated as a private template visible to the account that created it.
func (*TemplateService) DeleteTemplate ¶
func (s *TemplateService) DeleteTemplate(p *DeleteTemplateParams) (*DeleteTemplateResponse, error)
Deletes a template from the system. All virtual machines using the deleted template will not be affected.
func (*TemplateService) ExtractTemplate ¶
func (s *TemplateService) ExtractTemplate(p *ExtractTemplateParams) (*ExtractTemplateResponse, error)
Extracts a template
func (*TemplateService) GetTemplateID ¶
func (s *TemplateService) GetTemplateID(name string, templatefilter string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*TemplateService) InstantiateUcsTemplateAndAssocaciateToBlade ¶
func (s *TemplateService) InstantiateUcsTemplateAndAssocaciateToBlade(p *InstantiateUcsTemplateAndAssocaciateToBladeParams) (*InstantiateUcsTemplateAndAssocaciateToBladeResponse, error)
create a profile of template and associate to a blade
func (*TemplateService) ListTemplatePermissions ¶
func (s *TemplateService) ListTemplatePermissions(p *ListTemplatePermissionsParams) (*ListTemplatePermissionsResponse, error)
List template visibility and all accounts that have permissions to view this template.
func (*TemplateService) ListTemplates ¶
func (s *TemplateService) ListTemplates(p *ListTemplatesParams) (*ListTemplatesResponse, error)
List all public, private, and privileged templates.
func (*TemplateService) ListUcsTemplates ¶
func (s *TemplateService) ListUcsTemplates(p *ListUcsTemplatesParams) (*ListUcsTemplatesResponse, error)
List templates in ucs manager
func (*TemplateService) NewCopyTemplateParams ¶
func (s *TemplateService) NewCopyTemplateParams(destzoneid string, id string) *CopyTemplateParams
You should always use this function to get a new CopyTemplateParams instance, as then you are sure you have configured all required params
func (*TemplateService) NewCreateTemplateParams ¶
func (s *TemplateService) NewCreateTemplateParams(displaytext string, name string, ostypeid string) *CreateTemplateParams
You should always use this function to get a new CreateTemplateParams instance, as then you are sure you have configured all required params
func (*TemplateService) NewDeleteTemplateParams ¶
func (s *TemplateService) NewDeleteTemplateParams(id string) *DeleteTemplateParams
You should always use this function to get a new DeleteTemplateParams instance, as then you are sure you have configured all required params
func (*TemplateService) NewExtractTemplateParams ¶
func (s *TemplateService) NewExtractTemplateParams(id string, mode string) *ExtractTemplateParams
You should always use this function to get a new ExtractTemplateParams instance, as then you are sure you have configured all required params
func (*TemplateService) NewInstantiateUcsTemplateAndAssocaciateToBladeParams ¶
func (s *TemplateService) NewInstantiateUcsTemplateAndAssocaciateToBladeParams(bladeid string, templatedn string, ucsmanagerid string) *InstantiateUcsTemplateAndAssocaciateToBladeParams
You should always use this function to get a new InstantiateUcsTemplateAndAssocaciateToBladeParams instance, as then you are sure you have configured all required params
func (*TemplateService) NewListTemplatePermissionsParams ¶
func (s *TemplateService) NewListTemplatePermissionsParams(id string) *ListTemplatePermissionsParams
You should always use this function to get a new ListTemplatePermissionsParams instance, as then you are sure you have configured all required params
func (*TemplateService) NewListTemplatesParams ¶
func (s *TemplateService) NewListTemplatesParams(templatefilter string) *ListTemplatesParams
You should always use this function to get a new ListTemplatesParams instance, as then you are sure you have configured all required params
func (*TemplateService) NewListUcsTemplatesParams ¶
func (s *TemplateService) NewListUcsTemplatesParams(ucsmanagerid string) *ListUcsTemplatesParams
You should always use this function to get a new ListUcsTemplatesParams instance, as then you are sure you have configured all required params
func (*TemplateService) NewPrepareTemplateParams ¶
func (s *TemplateService) NewPrepareTemplateParams(templateid string, zoneid string) *PrepareTemplateParams
You should always use this function to get a new PrepareTemplateParams instance, as then you are sure you have configured all required params
func (*TemplateService) NewRegisterTemplateParams ¶
func (s *TemplateService) NewRegisterTemplateParams(displaytext string, format string, hypervisor string, name string, ostypeid string, url string, zoneid string) *RegisterTemplateParams
You should always use this function to get a new RegisterTemplateParams instance, as then you are sure you have configured all required params
func (*TemplateService) NewUpdateTemplateParams ¶
func (s *TemplateService) NewUpdateTemplateParams(id string) *UpdateTemplateParams
You should always use this function to get a new UpdateTemplateParams instance, as then you are sure you have configured all required params
func (*TemplateService) NewUpdateTemplatePermissionsParams ¶
func (s *TemplateService) NewUpdateTemplatePermissionsParams(id string) *UpdateTemplatePermissionsParams
You should always use this function to get a new UpdateTemplatePermissionsParams instance, as then you are sure you have configured all required params
func (*TemplateService) NewUpgradeRouterTemplateParams ¶
func (s *TemplateService) NewUpgradeRouterTemplateParams() *UpgradeRouterTemplateParams
You should always use this function to get a new UpgradeRouterTemplateParams instance, as then you are sure you have configured all required params
func (*TemplateService) PrepareTemplate ¶
func (s *TemplateService) PrepareTemplate(p *PrepareTemplateParams) (*PrepareTemplateResponse, error)
load template into primary storage
func (*TemplateService) RegisterTemplate ¶
func (s *TemplateService) RegisterTemplate(p *RegisterTemplateParams) (*RegisterTemplateResponse, error)
Registers an existing template into the CloudStack cloud.
func (*TemplateService) UpdateTemplate ¶
func (s *TemplateService) UpdateTemplate(p *UpdateTemplateParams) (*UpdateTemplateResponse, error)
Updates attributes of a template.
func (*TemplateService) UpdateTemplatePermissions ¶
func (s *TemplateService) UpdateTemplatePermissions(p *UpdateTemplatePermissionsParams) (*UpdateTemplatePermissionsResponse, error)
Updates a template visibility permissions. A public template is visible to all accounts within the same domain. A private template is visible only to the owner of the template. A priviledged template is a private template with account permissions added. Only accounts specified under the template permissions are visible to them.
func (*TemplateService) UpgradeRouterTemplate ¶
func (s *TemplateService) UpgradeRouterTemplate(p *UpgradeRouterTemplateParams) (*UpgradeRouterTemplateResponse, error)
Upgrades router to use newer template
type TrafficMonitor ¶
type TrafficType ¶
type TrafficType struct { Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` State string `json:"state,omitempty"` Servicelist []string `json:"servicelist,omitempty"` }
type TrafficTypeImplementor ¶
type UCSService ¶
type UCSService struct {
// contains filtered or unexported fields
}
func NewUCSService ¶
func NewUCSService(cs *CloudStackClient) *UCSService
func (*UCSService) AddUcsManager ¶
func (s *UCSService) AddUcsManager(p *AddUcsManagerParams) (*AddUcsManagerResponse, error)
Adds a Ucs manager
func (*UCSService) AssociateUcsProfileToBlade ¶
func (s *UCSService) AssociateUcsProfileToBlade(p *AssociateUcsProfileToBladeParams) (*AssociateUcsProfileToBladeResponse, error)
associate a profile to a blade
func (*UCSService) DeleteUcsManager ¶
func (s *UCSService) DeleteUcsManager(p *DeleteUcsManagerParams) (*DeleteUcsManagerResponse, error)
Delete a Ucs manager
func (*UCSService) DisassociateUcsProfileFromBlade ¶
func (s *UCSService) DisassociateUcsProfileFromBlade(p *DisassociateUcsProfileFromBladeParams) (*DisassociateUcsProfileFromBladeResponse, error)
disassociate a profile from a blade
func (*UCSService) GetUcsBladeID ¶
func (s *UCSService) GetUcsBladeID(keyword string, ucsmanagerid string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*UCSService) GetUcsManagerID ¶
func (s *UCSService) GetUcsManagerID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*UCSService) ListUcsBlades ¶
func (s *UCSService) ListUcsBlades(p *ListUcsBladesParams) (*ListUcsBladesResponse, error)
List ucs blades
func (*UCSService) ListUcsManagers ¶
func (s *UCSService) ListUcsManagers(p *ListUcsManagersParams) (*ListUcsManagersResponse, error)
List ucs manager
func (*UCSService) ListUcsProfiles ¶
func (s *UCSService) ListUcsProfiles(p *ListUcsProfilesParams) (*ListUcsProfilesResponse, error)
List profile in ucs manager
func (*UCSService) NewAddUcsManagerParams ¶
func (s *UCSService) NewAddUcsManagerParams(password string, url string, username string, zoneid string) *AddUcsManagerParams
You should always use this function to get a new AddUcsManagerParams instance, as then you are sure you have configured all required params
func (*UCSService) NewAssociateUcsProfileToBladeParams ¶
func (s *UCSService) NewAssociateUcsProfileToBladeParams(bladeid string, profiledn string, ucsmanagerid string) *AssociateUcsProfileToBladeParams
You should always use this function to get a new AssociateUcsProfileToBladeParams instance, as then you are sure you have configured all required params
func (*UCSService) NewDeleteUcsManagerParams ¶
func (s *UCSService) NewDeleteUcsManagerParams(ucsmanagerid string) *DeleteUcsManagerParams
You should always use this function to get a new DeleteUcsManagerParams instance, as then you are sure you have configured all required params
func (*UCSService) NewDisassociateUcsProfileFromBladeParams ¶
func (s *UCSService) NewDisassociateUcsProfileFromBladeParams(bladeid string) *DisassociateUcsProfileFromBladeParams
You should always use this function to get a new DisassociateUcsProfileFromBladeParams instance, as then you are sure you have configured all required params
func (*UCSService) NewListUcsBladesParams ¶
func (s *UCSService) NewListUcsBladesParams(ucsmanagerid string) *ListUcsBladesParams
You should always use this function to get a new ListUcsBladesParams instance, as then you are sure you have configured all required params
func (*UCSService) NewListUcsManagersParams ¶
func (s *UCSService) NewListUcsManagersParams() *ListUcsManagersParams
You should always use this function to get a new ListUcsManagersParams instance, as then you are sure you have configured all required params
func (*UCSService) NewListUcsProfilesParams ¶
func (s *UCSService) NewListUcsProfilesParams(ucsmanagerid string) *ListUcsProfilesParams
You should always use this function to get a new ListUcsProfilesParams instance, as then you are sure you have configured all required params
func (*UCSService) NewRefreshUcsBladesParams ¶
func (s *UCSService) NewRefreshUcsBladesParams(ucsmanagerid string) *RefreshUcsBladesParams
You should always use this function to get a new RefreshUcsBladesParams instance, as then you are sure you have configured all required params
func (*UCSService) RefreshUcsBlades ¶
func (s *UCSService) RefreshUcsBlades(p *RefreshUcsBladesParams) (*RefreshUcsBladesResponse, error)
refresh ucs blades to sync with UCS manager
type UcsManager ¶
type UcsProfile ¶
type UcsProfile struct {
Ucsdn string `json:"ucsdn,omitempty"`
}
type UcsTemplate ¶
type UcsTemplate struct {
Ucsdn string `json:"ucsdn,omitempty"`
}
type UpdateAccountParams ¶
type UpdateAccountParams struct {
// contains filtered or unexported fields
}
func (*UpdateAccountParams) SetAccount ¶
func (p *UpdateAccountParams) SetAccount(v string)
func (*UpdateAccountParams) SetAccountdetails ¶
func (p *UpdateAccountParams) SetAccountdetails(v map[string]string)
func (*UpdateAccountParams) SetDomainid ¶
func (p *UpdateAccountParams) SetDomainid(v string)
func (*UpdateAccountParams) SetId ¶
func (p *UpdateAccountParams) SetId(v string)
func (*UpdateAccountParams) SetNetworkdomain ¶
func (p *UpdateAccountParams) SetNetworkdomain(v string)
func (*UpdateAccountParams) SetNewname ¶
func (p *UpdateAccountParams) SetNewname(v string)
type UpdateAccountResponse ¶
type UpdateAccountResponse struct { Networkdomain string `json:"networkdomain,omitempty"` Networktotal int `json:"networktotal,omitempty"` Vpctotal int `json:"vpctotal,omitempty"` Secondarystorageavailable string `json:"secondarystorageavailable,omitempty"` Accountdetails map[string]string `json:"accountdetails,omitempty"` Templatelimit string `json:"templatelimit,omitempty"` Iscleanuprequired bool `json:"iscleanuprequired,omitempty"` Vmavailable string `json:"vmavailable,omitempty"` Memoryavailable string `json:"memoryavailable,omitempty"` Vmstopped int `json:"vmstopped,omitempty"` Name string `json:"name,omitempty"` Networklimit string `json:"networklimit,omitempty"` Templatetotal int `json:"templatetotal,omitempty"` Primarystoragetotal int `json:"primarystoragetotal,omitempty"` Cputotal int `json:"cputotal,omitempty"` Primarystorageavailable string `json:"primarystorageavailable,omitempty"` Receivedbytes int `json:"receivedbytes,omitempty"` Vmrunning int `json:"vmrunning,omitempty"` Ipavailable string `json:"ipavailable,omitempty"` Vmlimit string `json:"vmlimit,omitempty"` Memorylimit string `json:"memorylimit,omitempty"` Templateavailable string `json:"templateavailable,omitempty"` Projectavailable string `json:"projectavailable,omitempty"` Accounttype int `json:"accounttype,omitempty"` Projectlimit string `json:"projectlimit,omitempty"` Domain string `json:"domain,omitempty"` Vmtotal int `json:"vmtotal,omitempty"` Iplimit string `json:"iplimit,omitempty"` Secondarystoragetotal int `json:"secondarystoragetotal,omitempty"` Cpuavailable string `json:"cpuavailable,omitempty"` Snapshotavailable string `json:"snapshotavailable,omitempty"` Projecttotal int `json:"projecttotal,omitempty"` Id string `json:"id,omitempty"` Snapshotlimit string `json:"snapshotlimit,omitempty"` Volumeavailable string `json:"volumeavailable,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Primarystoragelimit string `json:"primarystoragelimit,omitempty"` Cpulimit string `json:"cpulimit,omitempty"` State string `json:"state,omitempty"` Volumelimit string `json:"volumelimit,omitempty"` User []struct { Secretkey string `json:"secretkey,omitempty"` Username string `json:"username,omitempty"` State string `json:"state,omitempty"` Accounttype int `json:"accounttype,omitempty"` Domain string `json:"domain,omitempty"` Timezone string `json:"timezone,omitempty"` Iscallerchilddomain bool `json:"iscallerchilddomain,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Domainid string `json:"domainid,omitempty"` Email string `json:"email,omitempty"` Id string `json:"id,omitempty"` Firstname string `json:"firstname,omitempty"` Lastname string `json:"lastname,omitempty"` Created string `json:"created,omitempty"` Accountid string `json:"accountid,omitempty"` Account string `json:"account,omitempty"` Apikey string `json:"apikey,omitempty"` } `json:"user,omitempty"` Defaultzoneid string `json:"defaultzoneid,omitempty"` Iptotal int `json:"iptotal,omitempty"` Secondarystoragelimit string `json:"secondarystoragelimit,omitempty"` Sentbytes int `json:"sentbytes,omitempty"` Snapshottotal int `json:"snapshottotal,omitempty"` Volumetotal int `json:"volumetotal,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Vpcavailable string `json:"vpcavailable,omitempty"` Vpclimit string `json:"vpclimit,omitempty"` Networkavailable string `json:"networkavailable,omitempty"` Domainid string `json:"domainid,omitempty"` }
type UpdateAutoScalePolicyParams ¶
type UpdateAutoScalePolicyParams struct {
// contains filtered or unexported fields
}
func (*UpdateAutoScalePolicyParams) SetConditionids ¶
func (p *UpdateAutoScalePolicyParams) SetConditionids(v []string)
func (*UpdateAutoScalePolicyParams) SetDuration ¶
func (p *UpdateAutoScalePolicyParams) SetDuration(v int)
func (*UpdateAutoScalePolicyParams) SetId ¶
func (p *UpdateAutoScalePolicyParams) SetId(v string)
func (*UpdateAutoScalePolicyParams) SetQuiettime ¶
func (p *UpdateAutoScalePolicyParams) SetQuiettime(v int)
type UpdateAutoScalePolicyResponse ¶
type UpdateAutoScalePolicyResponse struct { JobID string `json:"jobid,omitempty"` Projectid string `json:"projectid,omitempty"` Duration int `json:"duration,omitempty"` Id string `json:"id,omitempty"` Quiettime int `json:"quiettime,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Action string `json:"action,omitempty"` Conditions []string `json:"conditions,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` }
type UpdateAutoScaleVmGroupParams ¶
type UpdateAutoScaleVmGroupParams struct {
// contains filtered or unexported fields
}
func (*UpdateAutoScaleVmGroupParams) SetId ¶
func (p *UpdateAutoScaleVmGroupParams) SetId(v string)
func (*UpdateAutoScaleVmGroupParams) SetInterval ¶
func (p *UpdateAutoScaleVmGroupParams) SetInterval(v int)
func (*UpdateAutoScaleVmGroupParams) SetMaxmembers ¶
func (p *UpdateAutoScaleVmGroupParams) SetMaxmembers(v int)
func (*UpdateAutoScaleVmGroupParams) SetMinmembers ¶
func (p *UpdateAutoScaleVmGroupParams) SetMinmembers(v int)
func (*UpdateAutoScaleVmGroupParams) SetScaledownpolicyids ¶
func (p *UpdateAutoScaleVmGroupParams) SetScaledownpolicyids(v []string)
func (*UpdateAutoScaleVmGroupParams) SetScaleuppolicyids ¶
func (p *UpdateAutoScaleVmGroupParams) SetScaleuppolicyids(v []string)
type UpdateAutoScaleVmGroupResponse ¶
type UpdateAutoScaleVmGroupResponse struct { JobID string `json:"jobid,omitempty"` Interval int `json:"interval,omitempty"` Id string `json:"id,omitempty"` Lbruleid string `json:"lbruleid,omitempty"` Maxmembers int `json:"maxmembers,omitempty"` Project string `json:"project,omitempty"` State string `json:"state,omitempty"` Minmembers int `json:"minmembers,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Scaleuppolicies []string `json:"scaleuppolicies,omitempty"` Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` Scaledownpolicies []string `json:"scaledownpolicies,omitempty"` Vmprofileid string `json:"vmprofileid,omitempty"` }
type UpdateAutoScaleVmProfileParams ¶
type UpdateAutoScaleVmProfileParams struct {
// contains filtered or unexported fields
}
func (*UpdateAutoScaleVmProfileParams) SetAutoscaleuserid ¶
func (p *UpdateAutoScaleVmProfileParams) SetAutoscaleuserid(v string)
func (*UpdateAutoScaleVmProfileParams) SetCounterparam ¶
func (p *UpdateAutoScaleVmProfileParams) SetCounterparam(v map[string]string)
func (*UpdateAutoScaleVmProfileParams) SetDestroyvmgraceperiod ¶
func (p *UpdateAutoScaleVmProfileParams) SetDestroyvmgraceperiod(v int)
func (*UpdateAutoScaleVmProfileParams) SetId ¶
func (p *UpdateAutoScaleVmProfileParams) SetId(v string)
func (*UpdateAutoScaleVmProfileParams) SetTemplateid ¶
func (p *UpdateAutoScaleVmProfileParams) SetTemplateid(v string)
type UpdateAutoScaleVmProfileResponse ¶
type UpdateAutoScaleVmProfileResponse struct { JobID string `json:"jobid,omitempty"` Domainid string `json:"domainid,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Projectid string `json:"projectid,omitempty"` Id string `json:"id,omitempty"` Destroyvmgraceperiod int `json:"destroyvmgraceperiod,omitempty"` Domain string `json:"domain,omitempty"` Zoneid string `json:"zoneid,omitempty"` Autoscaleuserid string `json:"autoscaleuserid,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` Templateid string `json:"templateid,omitempty"` Otherdeployparams string `json:"otherdeployparams,omitempty"` }
type UpdateCloudToUseObjectStoreParams ¶
type UpdateCloudToUseObjectStoreParams struct {
// contains filtered or unexported fields
}
func (*UpdateCloudToUseObjectStoreParams) SetDetails ¶
func (p *UpdateCloudToUseObjectStoreParams) SetDetails(v map[string]string)
func (*UpdateCloudToUseObjectStoreParams) SetName ¶
func (p *UpdateCloudToUseObjectStoreParams) SetName(v string)
func (*UpdateCloudToUseObjectStoreParams) SetProvider ¶
func (p *UpdateCloudToUseObjectStoreParams) SetProvider(v string)
func (*UpdateCloudToUseObjectStoreParams) SetUrl ¶
func (p *UpdateCloudToUseObjectStoreParams) SetUrl(v string)
type UpdateCloudToUseObjectStoreResponse ¶
type UpdateCloudToUseObjectStoreResponse struct { Name string `json:"name,omitempty"` Providername string `json:"providername,omitempty"` Protocol string `json:"protocol,omitempty"` Scope string `json:"scope,omitempty"` Url string `json:"url,omitempty"` Id string `json:"id,omitempty"` Details []string `json:"details,omitempty"` Zonename string `json:"zonename,omitempty"` Zoneid string `json:"zoneid,omitempty"` }
type UpdateClusterParams ¶
type UpdateClusterParams struct {
// contains filtered or unexported fields
}
func (*UpdateClusterParams) SetAllocationstate ¶
func (p *UpdateClusterParams) SetAllocationstate(v string)
func (*UpdateClusterParams) SetClustername ¶
func (p *UpdateClusterParams) SetClustername(v string)
func (*UpdateClusterParams) SetClustertype ¶
func (p *UpdateClusterParams) SetClustertype(v string)
func (*UpdateClusterParams) SetHypervisor ¶
func (p *UpdateClusterParams) SetHypervisor(v string)
func (*UpdateClusterParams) SetId ¶
func (p *UpdateClusterParams) SetId(v string)
func (*UpdateClusterParams) SetManagedstate ¶
func (p *UpdateClusterParams) SetManagedstate(v string)
type UpdateClusterResponse ¶
type UpdateClusterResponse struct { Allocationstate string `json:"allocationstate,omitempty"` Memoryovercommitratio string `json:"memoryovercommitratio,omitempty"` Zoneid string `json:"zoneid,omitempty"` Capacity []struct { Clusterid string `json:"clusterid,omitempty"` Zonename string `json:"zonename,omitempty"` Type int `json:"type,omitempty"` Clustername string `json:"clustername,omitempty"` Capacitytotal int `json:"capacitytotal,omitempty"` Podname string `json:"podname,omitempty"` Zoneid string `json:"zoneid,omitempty"` Percentused string `json:"percentused,omitempty"` Capacityused int `json:"capacityused,omitempty"` Podid string `json:"podid,omitempty"` } `json:"capacity,omitempty"` Cpuovercommitratio string `json:"cpuovercommitratio,omitempty"` Clustertype string `json:"clustertype,omitempty"` Name string `json:"name,omitempty"` Podname string `json:"podname,omitempty"` Id string `json:"id,omitempty"` Podid string `json:"podid,omitempty"` Managedstate string `json:"managedstate,omitempty"` Zonename string `json:"zonename,omitempty"` Hypervisortype string `json:"hypervisortype,omitempty"` }
type UpdateConfigurationParams ¶
type UpdateConfigurationParams struct {
// contains filtered or unexported fields
}
func (*UpdateConfigurationParams) SetAccountid ¶
func (p *UpdateConfigurationParams) SetAccountid(v string)
func (*UpdateConfigurationParams) SetClusterid ¶
func (p *UpdateConfigurationParams) SetClusterid(v string)
func (*UpdateConfigurationParams) SetName ¶
func (p *UpdateConfigurationParams) SetName(v string)
func (*UpdateConfigurationParams) SetStorageid ¶
func (p *UpdateConfigurationParams) SetStorageid(v string)
func (*UpdateConfigurationParams) SetValue ¶
func (p *UpdateConfigurationParams) SetValue(v string)
func (*UpdateConfigurationParams) SetZoneid ¶
func (p *UpdateConfigurationParams) SetZoneid(v string)
type UpdateDefaultNicForVirtualMachineParams ¶
type UpdateDefaultNicForVirtualMachineParams struct {
// contains filtered or unexported fields
}
func (*UpdateDefaultNicForVirtualMachineParams) SetNicid ¶
func (p *UpdateDefaultNicForVirtualMachineParams) SetNicid(v string)
func (*UpdateDefaultNicForVirtualMachineParams) SetVirtualmachineid ¶
func (p *UpdateDefaultNicForVirtualMachineParams) SetVirtualmachineid(v string)
type UpdateDefaultNicForVirtualMachineResponse ¶
type UpdateDefaultNicForVirtualMachineResponse struct { JobID string `json:"jobid,omitempty"` Memory int `json:"memory,omitempty"` Cpuused string `json:"cpuused,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Hostid string `json:"hostid,omitempty"` State string `json:"state,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Nic []struct { Broadcasturi string `json:"broadcasturi,omitempty"` Traffictype string `json:"traffictype,omitempty"` Type string `json:"type,omitempty"` Ip6address string `json:"ip6address,omitempty"` Networkid string `json:"networkid,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Macaddress string `json:"macaddress,omitempty"` Netmask string `json:"netmask,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Id string `json:"id,omitempty"` Gateway string `json:"gateway,omitempty"` Networkname string `json:"networkname,omitempty"` Isdefault bool `json:"isdefault,omitempty"` } `json:"nic,omitempty"` Guestosid string `json:"guestosid,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Domainid string `json:"domainid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Account string `json:"account,omitempty"` Hostname string `json:"hostname,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Instancename string `json:"instancename,omitempty"` Password string `json:"password,omitempty"` Group string `json:"group,omitempty"` Name string `json:"name,omitempty"` Haenable bool `json:"haenable,omitempty"` Details map[string]string `json:"details,omitempty"` Created string `json:"created,omitempty"` Templateid string `json:"templateid,omitempty"` Domain string `json:"domain,omitempty"` Servicestate string `json:"servicestate,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Id string `json:"id,omitempty"` Tags []struct { Resourcetype string `json:"resourcetype,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Value string `json:"value,omitempty"` Projectid string `json:"projectid,omitempty"` Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Key string `json:"key,omitempty"` Account string `json:"account,omitempty"` } `json:"tags,omitempty"` Isoid string `json:"isoid,omitempty"` Templatename string `json:"templatename,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Projectid string `json:"projectid,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Groupid string `json:"groupid,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Displayname string `json:"displayname,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Securitygroup []struct { Domainid string `json:"domainid,omitempty"` Ingressrule []struct { Endport int `json:"endport,omitempty"` Icmptype int `json:"icmptype,omitempty"` Protocol string `json:"protocol,omitempty"` Startport int `json:"startport,omitempty"` Account string `json:"account,omitempty"` Cidr string `json:"cidr,omitempty"` Ruleid string `json:"ruleid,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` } `json:"ingressrule,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Tags []struct { Key string `json:"key,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Project string `json:"project,omitempty"` Value string `json:"value,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Resourceid string `json:"resourceid,omitempty"` } `json:"tags,omitempty"` Description string `json:"description,omitempty"` Egressrule []struct { Cidr string `json:"cidr,omitempty"` Startport int `json:"startport,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Account string `json:"account,omitempty"` Endport int `json:"endport,omitempty"` Icmptype int `json:"icmptype,omitempty"` Protocol string `json:"protocol,omitempty"` Ruleid string `json:"ruleid,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` } `json:"egressrule,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` } `json:"securitygroup,omitempty"` Keypair string `json:"keypair,omitempty"` Project string `json:"project,omitempty"` Isoname string `json:"isoname,omitempty"` Publicipid string `json:"publicipid,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Diskioread int `json:"diskioread,omitempty"` Affinitygroup []struct { Name string `json:"name,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Description string `json:"description,omitempty"` Domain string `json:"domain,omitempty"` Id string `json:"id,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Type string `json:"type,omitempty"` } `json:"affinitygroup,omitempty"` Zonename string `json:"zonename,omitempty"` Publicip string `json:"publicip,omitempty"` }
type UpdateDiskOfferingParams ¶
type UpdateDiskOfferingParams struct {
// contains filtered or unexported fields
}
func (*UpdateDiskOfferingParams) SetDisplayoffering ¶
func (p *UpdateDiskOfferingParams) SetDisplayoffering(v bool)
func (*UpdateDiskOfferingParams) SetDisplaytext ¶
func (p *UpdateDiskOfferingParams) SetDisplaytext(v string)
func (*UpdateDiskOfferingParams) SetId ¶
func (p *UpdateDiskOfferingParams) SetId(v string)
func (*UpdateDiskOfferingParams) SetName ¶
func (p *UpdateDiskOfferingParams) SetName(v string)
func (*UpdateDiskOfferingParams) SetSortkey ¶
func (p *UpdateDiskOfferingParams) SetSortkey(v int)
type UpdateDiskOfferingResponse ¶
type UpdateDiskOfferingResponse struct { Displaytext string `json:"displaytext,omitempty"` DiskBytesReadRate int `json:"diskBytesReadRate,omitempty"` Disksize int `json:"disksize,omitempty"` Domain string `json:"domain,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Tags string `json:"tags,omitempty"` Domainid string `json:"domainid,omitempty"` Miniops int `json:"miniops,omitempty"` Storagetype string `json:"storagetype,omitempty"` Maxiops int `json:"maxiops,omitempty"` Displayoffering bool `json:"displayoffering,omitempty"` DiskBytesWriteRate int `json:"diskBytesWriteRate,omitempty"` Created string `json:"created,omitempty"` DiskIopsWriteRate int `json:"diskIopsWriteRate,omitempty"` DiskIopsReadRate int `json:"diskIopsReadRate,omitempty"` Iscustomized bool `json:"iscustomized,omitempty"` Iscustomizediops bool `json:"iscustomizediops,omitempty"` }
type UpdateDomainParams ¶
type UpdateDomainParams struct {
// contains filtered or unexported fields
}
func (*UpdateDomainParams) SetId ¶
func (p *UpdateDomainParams) SetId(v string)
func (*UpdateDomainParams) SetName ¶
func (p *UpdateDomainParams) SetName(v string)
func (*UpdateDomainParams) SetNetworkdomain ¶
func (p *UpdateDomainParams) SetNetworkdomain(v string)
type UpdateDomainResponse ¶
type UpdateDomainResponse struct { Name string `json:"name,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Parentdomainid string `json:"parentdomainid,omitempty"` Parentdomainname string `json:"parentdomainname,omitempty"` Path string `json:"path,omitempty"` Id string `json:"id,omitempty"` Haschild bool `json:"haschild,omitempty"` Level int `json:"level,omitempty"` }
type UpdateGlobalLoadBalancerRuleParams ¶
type UpdateGlobalLoadBalancerRuleParams struct {
// contains filtered or unexported fields
}
func (*UpdateGlobalLoadBalancerRuleParams) SetDescription ¶
func (p *UpdateGlobalLoadBalancerRuleParams) SetDescription(v string)
func (*UpdateGlobalLoadBalancerRuleParams) SetGslblbmethod ¶
func (p *UpdateGlobalLoadBalancerRuleParams) SetGslblbmethod(v string)
func (*UpdateGlobalLoadBalancerRuleParams) SetGslbstickysessionmethodname ¶
func (p *UpdateGlobalLoadBalancerRuleParams) SetGslbstickysessionmethodname(v string)
func (*UpdateGlobalLoadBalancerRuleParams) SetId ¶
func (p *UpdateGlobalLoadBalancerRuleParams) SetId(v string)
type UpdateGlobalLoadBalancerRuleResponse ¶
type UpdateGlobalLoadBalancerRuleResponse struct { JobID string `json:"jobid,omitempty"` Name string `json:"name,omitempty"` Domain string `json:"domain,omitempty"` Gslbservicetype string `json:"gslbservicetype,omitempty"` Account string `json:"account,omitempty"` Description string `json:"description,omitempty"` Project string `json:"project,omitempty"` Loadbalancerrule []struct { State string `json:"state,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Networkid string `json:"networkid,omitempty"` Tags []struct { Value string `json:"value,omitempty"` Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Key string `json:"key,omitempty"` Resourceid string `json:"resourceid,omitempty"` Project string `json:"project,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` } `json:"tags,omitempty"` Publicip string `json:"publicip,omitempty"` Id string `json:"id,omitempty"` Publicport string `json:"publicport,omitempty"` Algorithm string `json:"algorithm,omitempty"` Protocol string `json:"protocol,omitempty"` Publicipid string `json:"publicipid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Description string `json:"description,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Name string `json:"name,omitempty"` Privateport string `json:"privateport,omitempty"` } `json:"loadbalancerrule,omitempty"` Gslbdomainname string `json:"gslbdomainname,omitempty"` Regionid int `json:"regionid,omitempty"` Domainid string `json:"domainid,omitempty"` Gslblbmethod string `json:"gslblbmethod,omitempty"` Id string `json:"id,omitempty"` Gslbstickysessionmethodname string `json:"gslbstickysessionmethodname,omitempty"` Projectid string `json:"projectid,omitempty"` }
type UpdateHostParams ¶
type UpdateHostParams struct {
// contains filtered or unexported fields
}
func (*UpdateHostParams) SetAllocationstate ¶
func (p *UpdateHostParams) SetAllocationstate(v string)
func (*UpdateHostParams) SetHosttags ¶
func (p *UpdateHostParams) SetHosttags(v []string)
func (*UpdateHostParams) SetId ¶
func (p *UpdateHostParams) SetId(v string)
func (*UpdateHostParams) SetOscategoryid ¶
func (p *UpdateHostParams) SetOscategoryid(v string)
func (*UpdateHostParams) SetUrl ¶
func (p *UpdateHostParams) SetUrl(v string)
type UpdateHostPasswordParams ¶
type UpdateHostPasswordParams struct {
// contains filtered or unexported fields
}
func (*UpdateHostPasswordParams) SetClusterid ¶
func (p *UpdateHostPasswordParams) SetClusterid(v string)
func (*UpdateHostPasswordParams) SetHostid ¶
func (p *UpdateHostPasswordParams) SetHostid(v string)
func (*UpdateHostPasswordParams) SetPassword ¶
func (p *UpdateHostPasswordParams) SetPassword(v string)
func (*UpdateHostPasswordParams) SetUsername ¶
func (p *UpdateHostPasswordParams) SetUsername(v string)
type UpdateHostResponse ¶
type UpdateHostResponse struct { Disksizeallocated int `json:"disksizeallocated,omitempty"` Name string `json:"name,omitempty"` Hahost bool `json:"hahost,omitempty"` Managementserverid int `json:"managementserverid,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` Disksizetotal int `json:"disksizetotal,omitempty"` Version string `json:"version,omitempty"` Zoneid string `json:"zoneid,omitempty"` Memoryused int `json:"memoryused,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Lastpinged string `json:"lastpinged,omitempty"` State string `json:"state,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Hypervisorversion string `json:"hypervisorversion,omitempty"` Id string `json:"id,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Cpuallocated string `json:"cpuallocated,omitempty"` Capabilities string `json:"capabilities,omitempty"` Zonename string `json:"zonename,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Cpuused string `json:"cpuused,omitempty"` Events string `json:"events,omitempty"` Podname string `json:"podname,omitempty"` Disconnected string `json:"disconnected,omitempty"` Oscategoryname string `json:"oscategoryname,omitempty"` Cpuwithoverprovisioning string `json:"cpuwithoverprovisioning,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Memoryallocated int `json:"memoryallocated,omitempty"` Cpusockets int `json:"cpusockets,omitempty"` Clustertype string `json:"clustertype,omitempty"` Podid string `json:"podid,omitempty"` Clusterid string `json:"clusterid,omitempty"` Resourcestate string `json:"resourcestate,omitempty"` Islocalstorageactive bool `json:"islocalstorageactive,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Averageload int `json:"averageload,omitempty"` Hasenoughcapacity bool `json:"hasenoughcapacity,omitempty"` Removed string `json:"removed,omitempty"` Type string `json:"type,omitempty"` Clustername string `json:"clustername,omitempty"` Suitableformigration bool `json:"suitableformigration,omitempty"` Created string `json:"created,omitempty"` Oscategoryid string `json:"oscategoryid,omitempty"` }
type UpdateHypervisorCapabilitiesParams ¶
type UpdateHypervisorCapabilitiesParams struct {
// contains filtered or unexported fields
}
func (*UpdateHypervisorCapabilitiesParams) SetId ¶
func (p *UpdateHypervisorCapabilitiesParams) SetId(v string)
func (*UpdateHypervisorCapabilitiesParams) SetMaxguestslimit ¶
func (p *UpdateHypervisorCapabilitiesParams) SetMaxguestslimit(v int)
func (*UpdateHypervisorCapabilitiesParams) SetSecuritygroupenabled ¶
func (p *UpdateHypervisorCapabilitiesParams) SetSecuritygroupenabled(v bool)
type UpdateHypervisorCapabilitiesResponse ¶
type UpdateHypervisorCapabilitiesResponse struct { Maxguestslimit int `json:"maxguestslimit,omitempty"` Id string `json:"id,omitempty"` Maxhostspercluster int `json:"maxhostspercluster,omitempty"` Maxdatavolumeslimit int `json:"maxdatavolumeslimit,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Storagemotionenabled bool `json:"storagemotionenabled,omitempty"` Securitygroupenabled bool `json:"securitygroupenabled,omitempty"` Hypervisorversion string `json:"hypervisorversion,omitempty"` }
type UpdateInstanceGroupParams ¶
type UpdateInstanceGroupParams struct {
// contains filtered or unexported fields
}
func (*UpdateInstanceGroupParams) SetId ¶
func (p *UpdateInstanceGroupParams) SetId(v string)
func (*UpdateInstanceGroupParams) SetName ¶
func (p *UpdateInstanceGroupParams) SetName(v string)
type UpdateInstanceGroupResponse ¶
type UpdateInstanceGroupResponse struct { Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Created string `json:"created,omitempty"` Domain string `json:"domain,omitempty"` Id string `json:"id,omitempty"` Account string `json:"account,omitempty"` Name string `json:"name,omitempty"` Domainid string `json:"domainid,omitempty"` }
type UpdateIsoParams ¶
type UpdateIsoParams struct {
// contains filtered or unexported fields
}
func (*UpdateIsoParams) SetBootable ¶
func (p *UpdateIsoParams) SetBootable(v bool)
func (*UpdateIsoParams) SetDisplaytext ¶
func (p *UpdateIsoParams) SetDisplaytext(v string)
func (*UpdateIsoParams) SetFormat ¶
func (p *UpdateIsoParams) SetFormat(v string)
func (*UpdateIsoParams) SetId ¶
func (p *UpdateIsoParams) SetId(v string)
func (*UpdateIsoParams) SetIsdynamicallyscalable ¶
func (p *UpdateIsoParams) SetIsdynamicallyscalable(v bool)
func (*UpdateIsoParams) SetIsrouting ¶
func (p *UpdateIsoParams) SetIsrouting(v bool)
func (*UpdateIsoParams) SetName ¶
func (p *UpdateIsoParams) SetName(v string)
func (*UpdateIsoParams) SetOstypeid ¶
func (p *UpdateIsoParams) SetOstypeid(v string)
func (*UpdateIsoParams) SetPasswordenabled ¶
func (p *UpdateIsoParams) SetPasswordenabled(v bool)
func (*UpdateIsoParams) SetSortkey ¶
func (p *UpdateIsoParams) SetSortkey(v int)
type UpdateIsoPermissionsParams ¶
type UpdateIsoPermissionsParams struct {
// contains filtered or unexported fields
}
func (*UpdateIsoPermissionsParams) SetAccounts ¶
func (p *UpdateIsoPermissionsParams) SetAccounts(v []string)
func (*UpdateIsoPermissionsParams) SetId ¶
func (p *UpdateIsoPermissionsParams) SetId(v string)
func (*UpdateIsoPermissionsParams) SetIsextractable ¶
func (p *UpdateIsoPermissionsParams) SetIsextractable(v bool)
func (*UpdateIsoPermissionsParams) SetIsfeatured ¶
func (p *UpdateIsoPermissionsParams) SetIsfeatured(v bool)
func (*UpdateIsoPermissionsParams) SetIspublic ¶
func (p *UpdateIsoPermissionsParams) SetIspublic(v bool)
func (*UpdateIsoPermissionsParams) SetOp ¶
func (p *UpdateIsoPermissionsParams) SetOp(v string)
func (*UpdateIsoPermissionsParams) SetProjectids ¶
func (p *UpdateIsoPermissionsParams) SetProjectids(v []string)
type UpdateIsoResponse ¶
type UpdateIsoResponse struct { Sshkeyenabled bool `json:"sshkeyenabled,omitempty"` Displaytext string `json:"displaytext,omitempty"` Domain string `json:"domain,omitempty"` Ostypeid string `json:"ostypeid,omitempty"` Accountid string `json:"accountid,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Removed string `json:"removed,omitempty"` Sourcetemplateid string `json:"sourcetemplateid,omitempty"` Format string `json:"format,omitempty"` Id string `json:"id,omitempty"` Ostypename string `json:"ostypename,omitempty"` Zoneid string `json:"zoneid,omitempty"` Details map[string]string `json:"details,omitempty"` Ispublic bool `json:"ispublic,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Project string `json:"project,omitempty"` CrossZones bool `json:"crossZones,omitempty"` Domainid string `json:"domainid,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Name string `json:"name,omitempty"` Projectid string `json:"projectid,omitempty"` Templatetype string `json:"templatetype,omitempty"` Templatetag string `json:"templatetag,omitempty"` Checksum string `json:"checksum,omitempty"` Zonename string `json:"zonename,omitempty"` Status string `json:"status,omitempty"` Isextractable bool `json:"isextractable,omitempty"` Account string `json:"account,omitempty"` Bootable bool `json:"bootable,omitempty"` Isready bool `json:"isready,omitempty"` Hostname string `json:"hostname,omitempty"` Hostid string `json:"hostid,omitempty"` Created string `json:"created,omitempty"` Isfeatured bool `json:"isfeatured,omitempty"` Tags []struct { Key string `json:"key,omitempty"` Domainid string `json:"domainid,omitempty"` Value string `json:"value,omitempty"` Projectid string `json:"projectid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Domain string `json:"domain,omitempty"` } `json:"tags,omitempty"` Size int `json:"size,omitempty"` }
type UpdateLoadBalancerRuleParams ¶
type UpdateLoadBalancerRuleParams struct {
// contains filtered or unexported fields
}
func (*UpdateLoadBalancerRuleParams) SetAlgorithm ¶
func (p *UpdateLoadBalancerRuleParams) SetAlgorithm(v string)
func (*UpdateLoadBalancerRuleParams) SetDescription ¶
func (p *UpdateLoadBalancerRuleParams) SetDescription(v string)
func (*UpdateLoadBalancerRuleParams) SetId ¶
func (p *UpdateLoadBalancerRuleParams) SetId(v string)
func (*UpdateLoadBalancerRuleParams) SetName ¶
func (p *UpdateLoadBalancerRuleParams) SetName(v string)
type UpdateLoadBalancerRuleResponse ¶
type UpdateLoadBalancerRuleResponse struct { JobID string `json:"jobid,omitempty"` Projectid string `json:"projectid,omitempty"` Project string `json:"project,omitempty"` Zoneid string `json:"zoneid,omitempty"` Description string `json:"description,omitempty"` Publicipid string `json:"publicipid,omitempty"` Privateport string `json:"privateport,omitempty"` Publicport string `json:"publicport,omitempty"` Protocol string `json:"protocol,omitempty"` Domain string `json:"domain,omitempty"` Id string `json:"id,omitempty"` Account string `json:"account,omitempty"` Name string `json:"name,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Tags []struct { Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` Customer string `json:"customer,omitempty"` Key string `json:"key,omitempty"` Resourceid string `json:"resourceid,omitempty"` Value string `json:"value,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` } `json:"tags,omitempty"` Domainid string `json:"domainid,omitempty"` State string `json:"state,omitempty"` Publicip string `json:"publicip,omitempty"` Algorithm string `json:"algorithm,omitempty"` Networkid string `json:"networkid,omitempty"` }
type UpdateNetworkACLItemParams ¶
type UpdateNetworkACLItemParams struct {
// contains filtered or unexported fields
}
func (*UpdateNetworkACLItemParams) SetAction ¶
func (p *UpdateNetworkACLItemParams) SetAction(v string)
func (*UpdateNetworkACLItemParams) SetCidrlist ¶
func (p *UpdateNetworkACLItemParams) SetCidrlist(v []string)
func (*UpdateNetworkACLItemParams) SetEndport ¶
func (p *UpdateNetworkACLItemParams) SetEndport(v int)
func (*UpdateNetworkACLItemParams) SetIcmpcode ¶
func (p *UpdateNetworkACLItemParams) SetIcmpcode(v int)
func (*UpdateNetworkACLItemParams) SetIcmptype ¶
func (p *UpdateNetworkACLItemParams) SetIcmptype(v int)
func (*UpdateNetworkACLItemParams) SetId ¶
func (p *UpdateNetworkACLItemParams) SetId(v string)
func (*UpdateNetworkACLItemParams) SetNumber ¶
func (p *UpdateNetworkACLItemParams) SetNumber(v int)
func (*UpdateNetworkACLItemParams) SetProtocol ¶
func (p *UpdateNetworkACLItemParams) SetProtocol(v string)
func (*UpdateNetworkACLItemParams) SetStartport ¶
func (p *UpdateNetworkACLItemParams) SetStartport(v int)
func (*UpdateNetworkACLItemParams) SetTraffictype ¶
func (p *UpdateNetworkACLItemParams) SetTraffictype(v string)
type UpdateNetworkACLItemResponse ¶
type UpdateNetworkACLItemResponse struct { JobID string `json:"jobid,omitempty"` Protocol string `json:"protocol,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Action string `json:"action,omitempty"` Traffictype string `json:"traffictype,omitempty"` Tags []struct { Projectid string `json:"projectid,omitempty"` Key string `json:"key,omitempty"` Resourceid string `json:"resourceid,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Domainid string `json:"domainid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Value string `json:"value,omitempty"` Account string `json:"account,omitempty"` } `json:"tags,omitempty"` Icmptype int `json:"icmptype,omitempty"` State string `json:"state,omitempty"` Startport string `json:"startport,omitempty"` Aclid string `json:"aclid,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Number int `json:"number,omitempty"` Id string `json:"id,omitempty"` Endport string `json:"endport,omitempty"` }
type UpdateNetworkOfferingParams ¶
type UpdateNetworkOfferingParams struct {
// contains filtered or unexported fields
}
func (*UpdateNetworkOfferingParams) SetAvailability ¶
func (p *UpdateNetworkOfferingParams) SetAvailability(v string)
func (*UpdateNetworkOfferingParams) SetDisplaytext ¶
func (p *UpdateNetworkOfferingParams) SetDisplaytext(v string)
func (*UpdateNetworkOfferingParams) SetId ¶
func (p *UpdateNetworkOfferingParams) SetId(v string)
func (*UpdateNetworkOfferingParams) SetKeepaliveenabled ¶
func (p *UpdateNetworkOfferingParams) SetKeepaliveenabled(v bool)
func (*UpdateNetworkOfferingParams) SetMaxconnections ¶
func (p *UpdateNetworkOfferingParams) SetMaxconnections(v int)
func (*UpdateNetworkOfferingParams) SetName ¶
func (p *UpdateNetworkOfferingParams) SetName(v string)
func (*UpdateNetworkOfferingParams) SetSortkey ¶
func (p *UpdateNetworkOfferingParams) SetSortkey(v int)
func (*UpdateNetworkOfferingParams) SetState ¶
func (p *UpdateNetworkOfferingParams) SetState(v string)
type UpdateNetworkOfferingResponse ¶
type UpdateNetworkOfferingResponse struct { Networkrate int `json:"networkrate,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Availability string `json:"availability,omitempty"` Name string `json:"name,omitempty"` Displaytext string `json:"displaytext,omitempty"` State string `json:"state,omitempty"` Guestiptype string `json:"guestiptype,omitempty"` Id string `json:"id,omitempty"` Traffictype string `json:"traffictype,omitempty"` Specifyipranges bool `json:"specifyipranges,omitempty"` Specifyvlan bool `json:"specifyvlan,omitempty"` Conservemode bool `json:"conservemode,omitempty"` Maxconnections int `json:"maxconnections,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Forvpc bool `json:"forvpc,omitempty"` Details map[string]string `json:"details,omitempty"` Created string `json:"created,omitempty"` Tags string `json:"tags,omitempty"` Egressdefaultpolicy bool `json:"egressdefaultpolicy,omitempty"` Ispersistent bool `json:"ispersistent,omitempty"` Service []struct { Capability []struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` } `json:"capability,omitempty"` Provider []struct { Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Servicelist []string `json:"servicelist,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Name string `json:"name,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Id string `json:"id,omitempty"` State string `json:"state,omitempty"` } `json:"provider,omitempty"` Name string `json:"name,omitempty"` } `json:"service,omitempty"` }
type UpdateNetworkParams ¶
type UpdateNetworkParams struct {
// contains filtered or unexported fields
}
func (*UpdateNetworkParams) SetChangecidr ¶
func (p *UpdateNetworkParams) SetChangecidr(v bool)
func (*UpdateNetworkParams) SetDisplaynetwork ¶
func (p *UpdateNetworkParams) SetDisplaynetwork(v bool)
func (*UpdateNetworkParams) SetDisplaytext ¶
func (p *UpdateNetworkParams) SetDisplaytext(v string)
func (*UpdateNetworkParams) SetGuestvmcidr ¶
func (p *UpdateNetworkParams) SetGuestvmcidr(v string)
func (*UpdateNetworkParams) SetId ¶
func (p *UpdateNetworkParams) SetId(v string)
func (*UpdateNetworkParams) SetName ¶
func (p *UpdateNetworkParams) SetName(v string)
func (*UpdateNetworkParams) SetNetworkdomain ¶
func (p *UpdateNetworkParams) SetNetworkdomain(v string)
func (*UpdateNetworkParams) SetNetworkofferingid ¶
func (p *UpdateNetworkParams) SetNetworkofferingid(v string)
type UpdateNetworkResponse ¶
type UpdateNetworkResponse struct { JobID string `json:"jobid,omitempty"` Displaynetwork bool `json:"displaynetwork,omitempty"` Traffictype string `json:"traffictype,omitempty"` Networkcidr string `json:"networkcidr,omitempty"` Networkofferingname string `json:"networkofferingname,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Dns1 string `json:"dns1,omitempty"` Dns2 string `json:"dns2,omitempty"` Vlan string `json:"vlan,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Networkofferingconservemode bool `json:"networkofferingconservemode,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Specifyipranges bool `json:"specifyipranges,omitempty"` Netmask string `json:"netmask,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Name string `json:"name,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` State string `json:"state,omitempty"` Ispersistent bool `json:"ispersistent,omitempty"` Reservediprange string `json:"reservediprange,omitempty"` Projectid string `json:"projectid,omitempty"` Cidr string `json:"cidr,omitempty"` Displaytext string `json:"displaytext,omitempty"` Issystem bool `json:"issystem,omitempty"` Type string `json:"type,omitempty"` Zonename string `json:"zonename,omitempty"` Vpcid string `json:"vpcid,omitempty"` Subdomainaccess bool `json:"subdomainaccess,omitempty"` Zoneid string `json:"zoneid,omitempty"` Aclid string `json:"aclid,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Related string `json:"related,omitempty"` Networkofferingavailability string `json:"networkofferingavailability,omitempty"` Service []struct { Provider []struct { Servicelist []string `json:"servicelist,omitempty"` Id string `json:"id,omitempty"` State string `json:"state,omitempty"` Name string `json:"name,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` } `json:"provider,omitempty"` Capability []struct { Value string `json:"value,omitempty"` Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` Name string `json:"name,omitempty"` } `json:"capability,omitempty"` Name string `json:"name,omitempty"` } `json:"service,omitempty"` Gateway string `json:"gateway,omitempty"` Broadcastdomaintype string `json:"broadcastdomaintype,omitempty"` Id string `json:"id,omitempty"` Restartrequired bool `json:"restartrequired,omitempty"` Acltype string `json:"acltype,omitempty"` Canusefordeploy bool `json:"canusefordeploy,omitempty"` Networkofferingdisplaytext string `json:"networkofferingdisplaytext,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Domain string `json:"domain,omitempty"` Networkofferingid string `json:"networkofferingid,omitempty"` Tags []struct { Resourceid string `json:"resourceid,omitempty"` Customer string `json:"customer,omitempty"` Projectid string `json:"projectid,omitempty"` Value string `json:"value,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Project string `json:"project,omitempty"` Key string `json:"key,omitempty"` Domain string `json:"domain,omitempty"` } `json:"tags,omitempty"` }
type UpdateNetworkServiceProviderParams ¶
type UpdateNetworkServiceProviderParams struct {
// contains filtered or unexported fields
}
func (*UpdateNetworkServiceProviderParams) SetId ¶
func (p *UpdateNetworkServiceProviderParams) SetId(v string)
func (*UpdateNetworkServiceProviderParams) SetServicelist ¶
func (p *UpdateNetworkServiceProviderParams) SetServicelist(v []string)
func (*UpdateNetworkServiceProviderParams) SetState ¶
func (p *UpdateNetworkServiceProviderParams) SetState(v string)
type UpdateNetworkServiceProviderResponse ¶
type UpdateNetworkServiceProviderResponse struct { JobID string `json:"jobid,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` State string `json:"state,omitempty"` Servicelist []string `json:"servicelist,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` }
type UpdatePhysicalNetworkParams ¶
type UpdatePhysicalNetworkParams struct {
// contains filtered or unexported fields
}
func (*UpdatePhysicalNetworkParams) SetId ¶
func (p *UpdatePhysicalNetworkParams) SetId(v string)
func (*UpdatePhysicalNetworkParams) SetNetworkspeed ¶
func (p *UpdatePhysicalNetworkParams) SetNetworkspeed(v string)
func (*UpdatePhysicalNetworkParams) SetState ¶
func (p *UpdatePhysicalNetworkParams) SetState(v string)
func (*UpdatePhysicalNetworkParams) SetTags ¶
func (p *UpdatePhysicalNetworkParams) SetTags(v []string)
func (*UpdatePhysicalNetworkParams) SetVlan ¶
func (p *UpdatePhysicalNetworkParams) SetVlan(v string)
type UpdatePhysicalNetworkResponse ¶
type UpdatePhysicalNetworkResponse struct { JobID string `json:"jobid,omitempty"` Tags string `json:"tags,omitempty"` Name string `json:"name,omitempty"` Isolationmethods string `json:"isolationmethods,omitempty"` Vlan string `json:"vlan,omitempty"` Networkspeed string `json:"networkspeed,omitempty"` State string `json:"state,omitempty"` Domainid string `json:"domainid,omitempty"` Id string `json:"id,omitempty"` Zoneid string `json:"zoneid,omitempty"` Broadcastdomainrange string `json:"broadcastdomainrange,omitempty"` }
type UpdatePodParams ¶
type UpdatePodParams struct {
// contains filtered or unexported fields
}
func (*UpdatePodParams) SetAllocationstate ¶
func (p *UpdatePodParams) SetAllocationstate(v string)
func (*UpdatePodParams) SetEndip ¶
func (p *UpdatePodParams) SetEndip(v string)
func (*UpdatePodParams) SetGateway ¶
func (p *UpdatePodParams) SetGateway(v string)
func (*UpdatePodParams) SetId ¶
func (p *UpdatePodParams) SetId(v string)
func (*UpdatePodParams) SetName ¶
func (p *UpdatePodParams) SetName(v string)
func (*UpdatePodParams) SetNetmask ¶
func (p *UpdatePodParams) SetNetmask(v string)
func (*UpdatePodParams) SetStartip ¶
func (p *UpdatePodParams) SetStartip(v string)
type UpdatePodResponse ¶
type UpdatePodResponse struct { Zonename string `json:"zonename,omitempty"` Zoneid string `json:"zoneid,omitempty"` Name string `json:"name,omitempty"` Capacity []struct { Podid string `json:"podid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Type int `json:"type,omitempty"` Podname string `json:"podname,omitempty"` Capacityused int `json:"capacityused,omitempty"` Clusterid string `json:"clusterid,omitempty"` Percentused string `json:"percentused,omitempty"` Clustername string `json:"clustername,omitempty"` Zonename string `json:"zonename,omitempty"` Capacitytotal int `json:"capacitytotal,omitempty"` } `json:"capacity,omitempty"` Gateway string `json:"gateway,omitempty"` Endip string `json:"endip,omitempty"` Startip string `json:"startip,omitempty"` Allocationstate string `json:"allocationstate,omitempty"` Id string `json:"id,omitempty"` Netmask string `json:"netmask,omitempty"` }
type UpdatePortForwardingRuleParams ¶
type UpdatePortForwardingRuleParams struct {
// contains filtered or unexported fields
}
func (*UpdatePortForwardingRuleParams) SetIpaddressid ¶
func (p *UpdatePortForwardingRuleParams) SetIpaddressid(v string)
func (*UpdatePortForwardingRuleParams) SetPrivateip ¶
func (p *UpdatePortForwardingRuleParams) SetPrivateip(v string)
func (*UpdatePortForwardingRuleParams) SetPrivateport ¶
func (p *UpdatePortForwardingRuleParams) SetPrivateport(v string)
func (*UpdatePortForwardingRuleParams) SetProtocol ¶
func (p *UpdatePortForwardingRuleParams) SetProtocol(v string)
func (*UpdatePortForwardingRuleParams) SetPublicport ¶
func (p *UpdatePortForwardingRuleParams) SetPublicport(v string)
func (*UpdatePortForwardingRuleParams) SetVirtualmachineid ¶
func (p *UpdatePortForwardingRuleParams) SetVirtualmachineid(v string)
type UpdatePortForwardingRuleResponse ¶
type UpdatePortForwardingRuleResponse struct { JobID string `json:"jobid,omitempty"` Publicendport string `json:"publicendport,omitempty"` Protocol string `json:"protocol,omitempty"` Privateport string `json:"privateport,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Vmguestip string `json:"vmguestip,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` Networkid string `json:"networkid,omitempty"` Virtualmachinename string `json:"virtualmachinename,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Privateendport string `json:"privateendport,omitempty"` Publicport string `json:"publicport,omitempty"` Virtualmachinedisplayname string `json:"virtualmachinedisplayname,omitempty"` Ipaddressid string `json:"ipaddressid,omitempty"` Tags []struct { Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Customer string `json:"customer,omitempty"` Value string `json:"value,omitempty"` Key string `json:"key,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Projectid string `json:"projectid,omitempty"` Project string `json:"project,omitempty"` Resourceid string `json:"resourceid,omitempty"` } `json:"tags,omitempty"` State string `json:"state,omitempty"` Id string `json:"id,omitempty"` }
type UpdateProjectInvitationParams ¶
type UpdateProjectInvitationParams struct {
// contains filtered or unexported fields
}
func (*UpdateProjectInvitationParams) SetAccept ¶
func (p *UpdateProjectInvitationParams) SetAccept(v bool)
func (*UpdateProjectInvitationParams) SetAccount ¶
func (p *UpdateProjectInvitationParams) SetAccount(v string)
func (*UpdateProjectInvitationParams) SetProjectid ¶
func (p *UpdateProjectInvitationParams) SetProjectid(v string)
func (*UpdateProjectInvitationParams) SetToken ¶
func (p *UpdateProjectInvitationParams) SetToken(v string)
type UpdateProjectParams ¶
type UpdateProjectParams struct {
// contains filtered or unexported fields
}
func (*UpdateProjectParams) SetAccount ¶
func (p *UpdateProjectParams) SetAccount(v string)
func (*UpdateProjectParams) SetDisplaytext ¶
func (p *UpdateProjectParams) SetDisplaytext(v string)
func (*UpdateProjectParams) SetId ¶
func (p *UpdateProjectParams) SetId(v string)
type UpdateProjectResponse ¶
type UpdateProjectResponse struct { JobID string `json:"jobid,omitempty"` Tags []struct { Value string `json:"value,omitempty"` Key string `json:"key,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Customer string `json:"customer,omitempty"` Account string `json:"account,omitempty"` Resourceid string `json:"resourceid,omitempty"` } `json:"tags,omitempty"` Cpuavailable string `json:"cpuavailable,omitempty"` Memoryavailable string `json:"memoryavailable,omitempty"` Secondarystoragelimit string `json:"secondarystoragelimit,omitempty"` Name string `json:"name,omitempty"` Vpcavailable string `json:"vpcavailable,omitempty"` Primarystoragelimit string `json:"primarystoragelimit,omitempty"` Domainid string `json:"domainid,omitempty"` Domain string `json:"domain,omitempty"` Templateavailable string `json:"templateavailable,omitempty"` Memorylimit string `json:"memorylimit,omitempty"` Snapshotlimit string `json:"snapshotlimit,omitempty"` Memorytotal int `json:"memorytotal,omitempty"` State string `json:"state,omitempty"` Volumelimit string `json:"volumelimit,omitempty"` Networktotal int `json:"networktotal,omitempty"` Networkavailable string `json:"networkavailable,omitempty"` Cputotal int `json:"cputotal,omitempty"` Primarystoragetotal int `json:"primarystoragetotal,omitempty"` Templatetotal int `json:"templatetotal,omitempty"` Iptotal int `json:"iptotal,omitempty"` Cpulimit string `json:"cpulimit,omitempty"` Id string `json:"id,omitempty"` Vmstopped int `json:"vmstopped,omitempty"` Vmlimit string `json:"vmlimit,omitempty"` Volumeavailable string `json:"volumeavailable,omitempty"` Networklimit string `json:"networklimit,omitempty"` Iplimit string `json:"iplimit,omitempty"` Vpctotal int `json:"vpctotal,omitempty"` Volumetotal int `json:"volumetotal,omitempty"` Vpclimit string `json:"vpclimit,omitempty"` Displaytext string `json:"displaytext,omitempty"` Vmtotal int `json:"vmtotal,omitempty"` Snapshottotal int `json:"snapshottotal,omitempty"` Snapshotavailable string `json:"snapshotavailable,omitempty"` Ipavailable string `json:"ipavailable,omitempty"` Account string `json:"account,omitempty"` Templatelimit string `json:"templatelimit,omitempty"` Primarystorageavailable string `json:"primarystorageavailable,omitempty"` Secondarystoragetotal int `json:"secondarystoragetotal,omitempty"` Vmrunning int `json:"vmrunning,omitempty"` Vmavailable string `json:"vmavailable,omitempty"` Secondarystorageavailable string `json:"secondarystorageavailable,omitempty"` }
type UpdateRegionParams ¶
type UpdateRegionParams struct {
// contains filtered or unexported fields
}
func (*UpdateRegionParams) SetEndpoint ¶
func (p *UpdateRegionParams) SetEndpoint(v string)
func (*UpdateRegionParams) SetId ¶
func (p *UpdateRegionParams) SetId(v int)
func (*UpdateRegionParams) SetName ¶
func (p *UpdateRegionParams) SetName(v string)
type UpdateRegionResponse ¶
type UpdateResourceCountParams ¶
type UpdateResourceCountParams struct {
// contains filtered or unexported fields
}
func (*UpdateResourceCountParams) SetAccount ¶
func (p *UpdateResourceCountParams) SetAccount(v string)
func (*UpdateResourceCountParams) SetDomainid ¶
func (p *UpdateResourceCountParams) SetDomainid(v string)
func (*UpdateResourceCountParams) SetProjectid ¶
func (p *UpdateResourceCountParams) SetProjectid(v string)
func (*UpdateResourceCountParams) SetResourcetype ¶
func (p *UpdateResourceCountParams) SetResourcetype(v int)
type UpdateResourceCountResponse ¶
type UpdateResourceCountResponse struct { Domain string `json:"domain,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Resourcecount int `json:"resourcecount,omitempty"` Projectid string `json:"projectid,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` }
type UpdateResourceLimitParams ¶
type UpdateResourceLimitParams struct {
// contains filtered or unexported fields
}
func (*UpdateResourceLimitParams) SetAccount ¶
func (p *UpdateResourceLimitParams) SetAccount(v string)
func (*UpdateResourceLimitParams) SetDomainid ¶
func (p *UpdateResourceLimitParams) SetDomainid(v string)
func (*UpdateResourceLimitParams) SetMax ¶
func (p *UpdateResourceLimitParams) SetMax(v int)
func (*UpdateResourceLimitParams) SetProjectid ¶
func (p *UpdateResourceLimitParams) SetProjectid(v string)
func (*UpdateResourceLimitParams) SetResourcetype ¶
func (p *UpdateResourceLimitParams) SetResourcetype(v int)
type UpdateResourceLimitResponse ¶
type UpdateResourceLimitResponse struct { Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domain string `json:"domain,omitempty"` Max int `json:"max,omitempty"` Account string `json:"account,omitempty"` }
type UpdateServiceOfferingParams ¶
type UpdateServiceOfferingParams struct {
// contains filtered or unexported fields
}
func (*UpdateServiceOfferingParams) SetDisplaytext ¶
func (p *UpdateServiceOfferingParams) SetDisplaytext(v string)
func (*UpdateServiceOfferingParams) SetId ¶
func (p *UpdateServiceOfferingParams) SetId(v string)
func (*UpdateServiceOfferingParams) SetName ¶
func (p *UpdateServiceOfferingParams) SetName(v string)
func (*UpdateServiceOfferingParams) SetSortkey ¶
func (p *UpdateServiceOfferingParams) SetSortkey(v int)
type UpdateServiceOfferingResponse ¶
type UpdateServiceOfferingResponse struct { DiskIopsReadRate int `json:"diskIopsReadRate,omitempty"` Systemvmtype string `json:"systemvmtype,omitempty"` Id string `json:"id,omitempty"` DiskBytesReadRate int `json:"diskBytesReadRate,omitempty"` Displaytext string `json:"displaytext,omitempty"` Name string `json:"name,omitempty"` Memory int `json:"memory,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Domainid string `json:"domainid,omitempty"` Domain string `json:"domain,omitempty"` Tags string `json:"tags,omitempty"` DiskIopsWriteRate int `json:"diskIopsWriteRate,omitempty"` Limitcpuuse bool `json:"limitcpuuse,omitempty"` Created string `json:"created,omitempty"` Isvolatile bool `json:"isvolatile,omitempty"` Defaultuse bool `json:"defaultuse,omitempty"` DiskBytesWriteRate int `json:"diskBytesWriteRate,omitempty"` Storagetype string `json:"storagetype,omitempty"` Deploymentplanner string `json:"deploymentplanner,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Serviceofferingdetails map[string]string `json:"serviceofferingdetails,omitempty"` Iscustomized bool `json:"iscustomized,omitempty"` Networkrate int `json:"networkrate,omitempty"` Offerha bool `json:"offerha,omitempty"` Issystem bool `json:"issystem,omitempty"` }
type UpdateStorageNetworkIpRangeParams ¶
type UpdateStorageNetworkIpRangeParams struct {
// contains filtered or unexported fields
}
func (*UpdateStorageNetworkIpRangeParams) SetEndip ¶
func (p *UpdateStorageNetworkIpRangeParams) SetEndip(v string)
func (*UpdateStorageNetworkIpRangeParams) SetId ¶
func (p *UpdateStorageNetworkIpRangeParams) SetId(v string)
func (*UpdateStorageNetworkIpRangeParams) SetNetmask ¶
func (p *UpdateStorageNetworkIpRangeParams) SetNetmask(v string)
func (*UpdateStorageNetworkIpRangeParams) SetStartip ¶
func (p *UpdateStorageNetworkIpRangeParams) SetStartip(v string)
func (*UpdateStorageNetworkIpRangeParams) SetVlan ¶
func (p *UpdateStorageNetworkIpRangeParams) SetVlan(v int)
type UpdateStorageNetworkIpRangeResponse ¶
type UpdateStorageNetworkIpRangeResponse struct { JobID string `json:"jobid,omitempty"` Endip string `json:"endip,omitempty"` Zoneid string `json:"zoneid,omitempty"` Gateway string `json:"gateway,omitempty"` Netmask string `json:"netmask,omitempty"` Networkid string `json:"networkid,omitempty"` Podid string `json:"podid,omitempty"` Vlan int `json:"vlan,omitempty"` Startip string `json:"startip,omitempty"` Id string `json:"id,omitempty"` }
type UpdateStoragePoolParams ¶
type UpdateStoragePoolParams struct {
// contains filtered or unexported fields
}
func (*UpdateStoragePoolParams) SetCapacitybytes ¶
func (p *UpdateStoragePoolParams) SetCapacitybytes(v int)
func (*UpdateStoragePoolParams) SetCapacityiops ¶
func (p *UpdateStoragePoolParams) SetCapacityiops(v int)
func (*UpdateStoragePoolParams) SetId ¶
func (p *UpdateStoragePoolParams) SetId(v string)
func (*UpdateStoragePoolParams) SetTags ¶
func (p *UpdateStoragePoolParams) SetTags(v []string)
type UpdateStoragePoolResponse ¶
type UpdateStoragePoolResponse struct { Clusterid string `json:"clusterid,omitempty"` Clustername string `json:"clustername,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Scope string `json:"scope,omitempty"` Zoneid string `json:"zoneid,omitempty"` Tags string `json:"tags,omitempty"` Disksizeallocated int `json:"disksizeallocated,omitempty"` Name string `json:"name,omitempty"` Storagecapabilities map[string]string `json:"storagecapabilities,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Id string `json:"id,omitempty"` Path string `json:"path,omitempty"` Zonename string `json:"zonename,omitempty"` Created string `json:"created,omitempty"` Type string `json:"type,omitempty"` Disksizetotal int `json:"disksizetotal,omitempty"` Podname string `json:"podname,omitempty"` Podid string `json:"podid,omitempty"` Capacityiops int `json:"capacityiops,omitempty"` Disksizeused int `json:"disksizeused,omitempty"` Suitableformigration bool `json:"suitableformigration,omitempty"` State string `json:"state,omitempty"` }
type UpdateTemplateParams ¶
type UpdateTemplateParams struct {
// contains filtered or unexported fields
}
func (*UpdateTemplateParams) SetBootable ¶
func (p *UpdateTemplateParams) SetBootable(v bool)
func (*UpdateTemplateParams) SetDisplaytext ¶
func (p *UpdateTemplateParams) SetDisplaytext(v string)
func (*UpdateTemplateParams) SetFormat ¶
func (p *UpdateTemplateParams) SetFormat(v string)
func (*UpdateTemplateParams) SetId ¶
func (p *UpdateTemplateParams) SetId(v string)
func (*UpdateTemplateParams) SetIsdynamicallyscalable ¶
func (p *UpdateTemplateParams) SetIsdynamicallyscalable(v bool)
func (*UpdateTemplateParams) SetIsrouting ¶
func (p *UpdateTemplateParams) SetIsrouting(v bool)
func (*UpdateTemplateParams) SetName ¶
func (p *UpdateTemplateParams) SetName(v string)
func (*UpdateTemplateParams) SetOstypeid ¶
func (p *UpdateTemplateParams) SetOstypeid(v string)
func (*UpdateTemplateParams) SetPasswordenabled ¶
func (p *UpdateTemplateParams) SetPasswordenabled(v bool)
func (*UpdateTemplateParams) SetSortkey ¶
func (p *UpdateTemplateParams) SetSortkey(v int)
type UpdateTemplatePermissionsParams ¶
type UpdateTemplatePermissionsParams struct {
// contains filtered or unexported fields
}
func (*UpdateTemplatePermissionsParams) SetAccounts ¶
func (p *UpdateTemplatePermissionsParams) SetAccounts(v []string)
func (*UpdateTemplatePermissionsParams) SetId ¶
func (p *UpdateTemplatePermissionsParams) SetId(v string)
func (*UpdateTemplatePermissionsParams) SetIsextractable ¶
func (p *UpdateTemplatePermissionsParams) SetIsextractable(v bool)
func (*UpdateTemplatePermissionsParams) SetIsfeatured ¶
func (p *UpdateTemplatePermissionsParams) SetIsfeatured(v bool)
func (*UpdateTemplatePermissionsParams) SetIspublic ¶
func (p *UpdateTemplatePermissionsParams) SetIspublic(v bool)
func (*UpdateTemplatePermissionsParams) SetOp ¶
func (p *UpdateTemplatePermissionsParams) SetOp(v string)
func (*UpdateTemplatePermissionsParams) SetProjectids ¶
func (p *UpdateTemplatePermissionsParams) SetProjectids(v []string)
type UpdateTemplateResponse ¶
type UpdateTemplateResponse struct { Name string `json:"name,omitempty"` Isextractable bool `json:"isextractable,omitempty"` Sshkeyenabled bool `json:"sshkeyenabled,omitempty"` Checksum string `json:"checksum,omitempty"` Status string `json:"status,omitempty"` Ispublic bool `json:"ispublic,omitempty"` Templatetag string `json:"templatetag,omitempty"` Account string `json:"account,omitempty"` Projectid string `json:"projectid,omitempty"` Bootable bool `json:"bootable,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Accountid string `json:"accountid,omitempty"` Sourcetemplateid string `json:"sourcetemplateid,omitempty"` Ostypename string `json:"ostypename,omitempty"` Tags []struct { Key string `json:"key,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Customer string `json:"customer,omitempty"` Account string `json:"account,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Projectid string `json:"projectid,omitempty"` Value string `json:"value,omitempty"` Resourceid string `json:"resourceid,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"tags,omitempty"` Templatetype string `json:"templatetype,omitempty"` Isfeatured bool `json:"isfeatured,omitempty"` Displaytext string `json:"displaytext,omitempty"` Domain string `json:"domain,omitempty"` Ostypeid string `json:"ostypeid,omitempty"` Id string `json:"id,omitempty"` Size int `json:"size,omitempty"` Format string `json:"format,omitempty"` Zoneid string `json:"zoneid,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` Removed string `json:"removed,omitempty"` Hostname string `json:"hostname,omitempty"` CrossZones bool `json:"crossZones,omitempty"` Details map[string]string `json:"details,omitempty"` Isready bool `json:"isready,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Created string `json:"created,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Zonename string `json:"zonename,omitempty"` Hostid string `json:"hostid,omitempty"` }
type UpdateTrafficTypeParams ¶
type UpdateTrafficTypeParams struct {
// contains filtered or unexported fields
}
func (*UpdateTrafficTypeParams) SetHypervnetworklabel ¶
func (p *UpdateTrafficTypeParams) SetHypervnetworklabel(v string)
func (*UpdateTrafficTypeParams) SetId ¶
func (p *UpdateTrafficTypeParams) SetId(v string)
func (*UpdateTrafficTypeParams) SetKvmnetworklabel ¶
func (p *UpdateTrafficTypeParams) SetKvmnetworklabel(v string)
func (*UpdateTrafficTypeParams) SetVmwarenetworklabel ¶
func (p *UpdateTrafficTypeParams) SetVmwarenetworklabel(v string)
func (*UpdateTrafficTypeParams) SetXennetworklabel ¶
func (p *UpdateTrafficTypeParams) SetXennetworklabel(v string)
type UpdateTrafficTypeResponse ¶
type UpdateTrafficTypeResponse struct { JobID string `json:"jobid,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Hypervnetworklabel string `json:"hypervnetworklabel,omitempty"` Id string `json:"id,omitempty"` Traffictype string `json:"traffictype,omitempty"` Xennetworklabel string `json:"xennetworklabel,omitempty"` Vmwarenetworklabel string `json:"vmwarenetworklabel,omitempty"` Kvmnetworklabel string `json:"kvmnetworklabel,omitempty"` }
type UpdateUserParams ¶
type UpdateUserParams struct {
// contains filtered or unexported fields
}
func (*UpdateUserParams) SetEmail ¶
func (p *UpdateUserParams) SetEmail(v string)
func (*UpdateUserParams) SetFirstname ¶
func (p *UpdateUserParams) SetFirstname(v string)
func (*UpdateUserParams) SetId ¶
func (p *UpdateUserParams) SetId(v string)
func (*UpdateUserParams) SetLastname ¶
func (p *UpdateUserParams) SetLastname(v string)
func (*UpdateUserParams) SetPassword ¶
func (p *UpdateUserParams) SetPassword(v string)
func (*UpdateUserParams) SetTimezone ¶
func (p *UpdateUserParams) SetTimezone(v string)
func (*UpdateUserParams) SetUserapikey ¶
func (p *UpdateUserParams) SetUserapikey(v string)
func (*UpdateUserParams) SetUsername ¶
func (p *UpdateUserParams) SetUsername(v string)
func (*UpdateUserParams) SetUsersecretkey ¶
func (p *UpdateUserParams) SetUsersecretkey(v string)
type UpdateUserResponse ¶
type UpdateUserResponse struct { Accountid string `json:"accountid,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Lastname string `json:"lastname,omitempty"` Iscallerchilddomain bool `json:"iscallerchilddomain,omitempty"` Account string `json:"account,omitempty"` Apikey string `json:"apikey,omitempty"` Secretkey string `json:"secretkey,omitempty"` Firstname string `json:"firstname,omitempty"` State string `json:"state,omitempty"` Id string `json:"id,omitempty"` Accounttype int `json:"accounttype,omitempty"` Timezone string `json:"timezone,omitempty"` Created string `json:"created,omitempty"` Domainid string `json:"domainid,omitempty"` Username string `json:"username,omitempty"` Email string `json:"email,omitempty"` Domain string `json:"domain,omitempty"` }
type UpdateVMAffinityGroupParams ¶
type UpdateVMAffinityGroupParams struct {
// contains filtered or unexported fields
}
func (*UpdateVMAffinityGroupParams) SetAffinitygroupids ¶
func (p *UpdateVMAffinityGroupParams) SetAffinitygroupids(v []string)
func (*UpdateVMAffinityGroupParams) SetAffinitygroupnames ¶
func (p *UpdateVMAffinityGroupParams) SetAffinitygroupnames(v []string)
func (*UpdateVMAffinityGroupParams) SetId ¶
func (p *UpdateVMAffinityGroupParams) SetId(v string)
type UpdateVMAffinityGroupResponse ¶
type UpdateVMAffinityGroupResponse struct { JobID string `json:"jobid,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Domainid string `json:"domainid,omitempty"` Created string `json:"created,omitempty"` Securitygroup []struct { Ingressrule []struct { Endport int `json:"endport,omitempty"` Cidr string `json:"cidr,omitempty"` Account string `json:"account,omitempty"` Startport int `json:"startport,omitempty"` Icmptype int `json:"icmptype,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Protocol string `json:"protocol,omitempty"` Ruleid string `json:"ruleid,omitempty"` } `json:"ingressrule,omitempty"` Description string `json:"description,omitempty"` Name string `json:"name,omitempty"` Tags []struct { Account string `json:"account,omitempty"` Projectid string `json:"projectid,omitempty"` Project string `json:"project,omitempty"` Key string `json:"key,omitempty"` Domainid string `json:"domainid,omitempty"` Value string `json:"value,omitempty"` Domain string `json:"domain,omitempty"` Customer string `json:"customer,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Resourceid string `json:"resourceid,omitempty"` } `json:"tags,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Id string `json:"id,omitempty"` Domainid string `json:"domainid,omitempty"` Egressrule []struct { Protocol string `json:"protocol,omitempty"` Cidr string `json:"cidr,omitempty"` Startport int `json:"startport,omitempty"` Icmptype int `json:"icmptype,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Account string `json:"account,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Endport int `json:"endport,omitempty"` Ruleid string `json:"ruleid,omitempty"` } `json:"egressrule,omitempty"` } `json:"securitygroup,omitempty"` Haenable bool `json:"haenable,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Publicipid string `json:"publicipid,omitempty"` Servicestate string `json:"servicestate,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Projectid string `json:"projectid,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Guestosid string `json:"guestosid,omitempty"` Instancename string `json:"instancename,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Account string `json:"account,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Hostid string `json:"hostid,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Domain string `json:"domain,omitempty"` Displayname string `json:"displayname,omitempty"` Nic []struct { Broadcasturi string `json:"broadcasturi,omitempty"` Networkname string `json:"networkname,omitempty"` Traffictype string `json:"traffictype,omitempty"` Networkid string `json:"networkid,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Macaddress string `json:"macaddress,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Id string `json:"id,omitempty"` Gateway string `json:"gateway,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Netmask string `json:"netmask,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Ip6address string `json:"ip6address,omitempty"` Type string `json:"type,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` } `json:"nic,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Groupid string `json:"groupid,omitempty"` Cpuused string `json:"cpuused,omitempty"` Diskioread int `json:"diskioread,omitempty"` Keypair string `json:"keypair,omitempty"` Password string `json:"password,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Isoname string `json:"isoname,omitempty"` Templateid string `json:"templateid,omitempty"` Publicip string `json:"publicip,omitempty"` Group string `json:"group,omitempty"` Zoneid string `json:"zoneid,omitempty"` Project string `json:"project,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Zonename string `json:"zonename,omitempty"` Tags []struct { Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Value string `json:"value,omitempty"` Customer string `json:"customer,omitempty"` Project string `json:"project,omitempty"` Key string `json:"key,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` } `json:"tags,omitempty"` Affinitygroup []struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Description string `json:"description,omitempty"` } `json:"affinitygroup,omitempty"` Isoid string `json:"isoid,omitempty"` Name string `json:"name,omitempty"` Templatename string `json:"templatename,omitempty"` Id string `json:"id,omitempty"` State string `json:"state,omitempty"` Details map[string]string `json:"details,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Memory int `json:"memory,omitempty"` Hostname string `json:"hostname,omitempty"` }
type UpdateVPCOfferingParams ¶
type UpdateVPCOfferingParams struct {
// contains filtered or unexported fields
}
func (*UpdateVPCOfferingParams) SetDisplaytext ¶
func (p *UpdateVPCOfferingParams) SetDisplaytext(v string)
func (*UpdateVPCOfferingParams) SetId ¶
func (p *UpdateVPCOfferingParams) SetId(v string)
func (*UpdateVPCOfferingParams) SetName ¶
func (p *UpdateVPCOfferingParams) SetName(v string)
func (*UpdateVPCOfferingParams) SetState ¶
func (p *UpdateVPCOfferingParams) SetState(v string)
type UpdateVPCOfferingResponse ¶
type UpdateVPCOfferingResponse struct { JobID string `json:"jobid,omitempty"` Name string `json:"name,omitempty"` Displaytext string `json:"displaytext,omitempty"` State string `json:"state,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Created string `json:"created,omitempty"` Id string `json:"id,omitempty"` Service []struct { Capability []struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` } `json:"capability,omitempty"` Name string `json:"name,omitempty"` Provider []struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Servicelist []string `json:"servicelist,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` State string `json:"state,omitempty"` } `json:"provider,omitempty"` } `json:"service,omitempty"` }
type UpdateVPCParams ¶
type UpdateVPCParams struct {
// contains filtered or unexported fields
}
func (*UpdateVPCParams) SetDisplaytext ¶
func (p *UpdateVPCParams) SetDisplaytext(v string)
func (*UpdateVPCParams) SetId ¶
func (p *UpdateVPCParams) SetId(v string)
func (*UpdateVPCParams) SetName ¶
func (p *UpdateVPCParams) SetName(v string)
type UpdateVPCResponse ¶
type UpdateVPCResponse struct { JobID string `json:"jobid,omitempty"` Domainid string `json:"domainid,omitempty"` Zonename string `json:"zonename,omitempty"` Displaytext string `json:"displaytext,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Domain string `json:"domain,omitempty"` Service []struct { Name string `json:"name,omitempty"` Capability []struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` } `json:"capability,omitempty"` Provider []struct { Servicelist []string `json:"servicelist,omitempty"` Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` State string `json:"state,omitempty"` } `json:"provider,omitempty"` } `json:"service,omitempty"` State string `json:"state,omitempty"` Vpcofferingid string `json:"vpcofferingid,omitempty"` Projectid string `json:"projectid,omitempty"` Network []struct { Account string `json:"account,omitempty"` Zonename string `json:"zonename,omitempty"` Ispersistent bool `json:"ispersistent,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Dns2 string `json:"dns2,omitempty"` Vpcid string `json:"vpcid,omitempty"` Traffictype string `json:"traffictype,omitempty"` Related string `json:"related,omitempty"` Reservediprange string `json:"reservediprange,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Canusefordeploy bool `json:"canusefordeploy,omitempty"` Service []struct { Name string `json:"name,omitempty"` Capability []struct { Name string `json:"name,omitempty"` Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` Value string `json:"value,omitempty"` } `json:"capability,omitempty"` Provider []struct { Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Servicelist []string `json:"servicelist,omitempty"` State string `json:"state,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` } `json:"provider,omitempty"` } `json:"service,omitempty"` Domain string `json:"domain,omitempty"` Broadcastdomaintype string `json:"broadcastdomaintype,omitempty"` Networkofferingavailability string `json:"networkofferingavailability,omitempty"` Dns1 string `json:"dns1,omitempty"` Issystem bool `json:"issystem,omitempty"` Specifyipranges bool `json:"specifyipranges,omitempty"` Networkofferingid string `json:"networkofferingid,omitempty"` Project string `json:"project,omitempty"` Domainid string `json:"domainid,omitempty"` Acltype string `json:"acltype,omitempty"` Displaytext string `json:"displaytext,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Restartrequired bool `json:"restartrequired,omitempty"` Projectid string `json:"projectid,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Zoneid string `json:"zoneid,omitempty"` Networkcidr string `json:"networkcidr,omitempty"` Id string `json:"id,omitempty"` Subdomainaccess bool `json:"subdomainaccess,omitempty"` Displaynetwork bool `json:"displaynetwork,omitempty"` Vlan string `json:"vlan,omitempty"` Netmask string `json:"netmask,omitempty"` Type string `json:"type,omitempty"` Name string `json:"name,omitempty"` Gateway string `json:"gateway,omitempty"` Tags []struct { Value string `json:"value,omitempty"` Domainid string `json:"domainid,omitempty"` Customer string `json:"customer,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Key string `json:"key,omitempty"` Project string `json:"project,omitempty"` Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Account string `json:"account,omitempty"` } `json:"tags,omitempty"` Networkofferingdisplaytext string `json:"networkofferingdisplaytext,omitempty"` Networkofferingconservemode bool `json:"networkofferingconservemode,omitempty"` Cidr string `json:"cidr,omitempty"` Networkofferingname string `json:"networkofferingname,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Aclid string `json:"aclid,omitempty"` State string `json:"state,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` } `json:"network,omitempty"` Name string `json:"name,omitempty"` Project string `json:"project,omitempty"` Id string `json:"id,omitempty"` Created string `json:"created,omitempty"` Tags []struct { Resourcetype string `json:"resourcetype,omitempty"` Value string `json:"value,omitempty"` Account string `json:"account,omitempty"` Key string `json:"key,omitempty"` Customer string `json:"customer,omitempty"` Project string `json:"project,omitempty"` Resourceid string `json:"resourceid,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"tags,omitempty"` Cidr string `json:"cidr,omitempty"` Account string `json:"account,omitempty"` Restartrequired bool `json:"restartrequired,omitempty"` Zoneid string `json:"zoneid,omitempty"` }
type UpdateVirtualMachineParams ¶
type UpdateVirtualMachineParams struct {
// contains filtered or unexported fields
}
func (*UpdateVirtualMachineParams) SetDisplayname ¶
func (p *UpdateVirtualMachineParams) SetDisplayname(v string)
func (*UpdateVirtualMachineParams) SetDisplayvm ¶
func (p *UpdateVirtualMachineParams) SetDisplayvm(v bool)
func (*UpdateVirtualMachineParams) SetGroup ¶
func (p *UpdateVirtualMachineParams) SetGroup(v string)
func (*UpdateVirtualMachineParams) SetHaenable ¶
func (p *UpdateVirtualMachineParams) SetHaenable(v bool)
func (*UpdateVirtualMachineParams) SetId ¶
func (p *UpdateVirtualMachineParams) SetId(v string)
func (*UpdateVirtualMachineParams) SetIsdynamicallyscalable ¶
func (p *UpdateVirtualMachineParams) SetIsdynamicallyscalable(v bool)
func (*UpdateVirtualMachineParams) SetOstypeid ¶
func (p *UpdateVirtualMachineParams) SetOstypeid(v string)
func (*UpdateVirtualMachineParams) SetUserdata ¶
func (p *UpdateVirtualMachineParams) SetUserdata(v string)
type UpdateVirtualMachineResponse ¶
type UpdateVirtualMachineResponse struct { Serviceofferingname string `json:"serviceofferingname,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Hostname string `json:"hostname,omitempty"` Cpuused string `json:"cpuused,omitempty"` Templatename string `json:"templatename,omitempty"` Id string `json:"id,omitempty"` Nic []struct { Secondaryip []string `json:"secondaryip,omitempty"` Type string `json:"type,omitempty"` Networkname string `json:"networkname,omitempty"` Traffictype string `json:"traffictype,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Ip6address string `json:"ip6address,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Gateway string `json:"gateway,omitempty"` Netmask string `json:"netmask,omitempty"` Networkid string `json:"networkid,omitempty"` Macaddress string `json:"macaddress,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Id string `json:"id,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` } `json:"nic,omitempty"` Keypair string `json:"keypair,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Servicestate string `json:"servicestate,omitempty"` Guestosid string `json:"guestosid,omitempty"` Password string `json:"password,omitempty"` Account string `json:"account,omitempty"` Securitygroup []struct { Egressrule []struct { Account string `json:"account,omitempty"` Protocol string `json:"protocol,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Cidr string `json:"cidr,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Endport int `json:"endport,omitempty"` Startport int `json:"startport,omitempty"` Ruleid string `json:"ruleid,omitempty"` Icmptype int `json:"icmptype,omitempty"` } `json:"egressrule,omitempty"` Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` Domain string `json:"domain,omitempty"` Tags []struct { Resourcetype string `json:"resourcetype,omitempty"` Key string `json:"key,omitempty"` Resourceid string `json:"resourceid,omitempty"` Value string `json:"value,omitempty"` Domainid string `json:"domainid,omitempty"` Customer string `json:"customer,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` } `json:"tags,omitempty"` Project string `json:"project,omitempty"` Ingressrule []struct { Startport int `json:"startport,omitempty"` Protocol string `json:"protocol,omitempty"` Ruleid string `json:"ruleid,omitempty"` Cidr string `json:"cidr,omitempty"` Account string `json:"account,omitempty"` Endport int `json:"endport,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Icmptype int `json:"icmptype,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` } `json:"ingressrule,omitempty"` Description string `json:"description,omitempty"` Account string `json:"account,omitempty"` } `json:"securitygroup,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Group string `json:"group,omitempty"` Zoneid string `json:"zoneid,omitempty"` Details map[string]string `json:"details,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Projectid string `json:"projectid,omitempty"` Project string `json:"project,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Hostid string `json:"hostid,omitempty"` Displayname string `json:"displayname,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Name string `json:"name,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Publicip string `json:"publicip,omitempty"` Instancename string `json:"instancename,omitempty"` Templateid string `json:"templateid,omitempty"` Memory int `json:"memory,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Publicipid string `json:"publicipid,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Domain string `json:"domain,omitempty"` Diskioread int `json:"diskioread,omitempty"` Zonename string `json:"zonename,omitempty"` Haenable bool `json:"haenable,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Isoname string `json:"isoname,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Isoid string `json:"isoid,omitempty"` Domainid string `json:"domainid,omitempty"` Groupid string `json:"groupid,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Affinitygroup []struct { Type string `json:"type,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Id string `json:"id,omitempty"` Description string `json:"description,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Domain string `json:"domain,omitempty"` Name string `json:"name,omitempty"` } `json:"affinitygroup,omitempty"` Created string `json:"created,omitempty"` State string `json:"state,omitempty"` Tags []struct { Domainid string `json:"domainid,omitempty"` Resourceid string `json:"resourceid,omitempty"` Project string `json:"project,omitempty"` Key string `json:"key,omitempty"` Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Value string `json:"value,omitempty"` Domain string `json:"domain,omitempty"` } `json:"tags,omitempty"` }
type UpdateVolumeParams ¶
type UpdateVolumeParams struct {
// contains filtered or unexported fields
}
func (*UpdateVolumeParams) SetDisplayvolume ¶
func (p *UpdateVolumeParams) SetDisplayvolume(v bool)
func (*UpdateVolumeParams) SetId ¶
func (p *UpdateVolumeParams) SetId(v string)
func (*UpdateVolumeParams) SetPath ¶
func (p *UpdateVolumeParams) SetPath(v string)
func (*UpdateVolumeParams) SetState ¶
func (p *UpdateVolumeParams) SetState(v string)
func (*UpdateVolumeParams) SetStorageid ¶
func (p *UpdateVolumeParams) SetStorageid(v string)
type UpdateVolumeResponse ¶
type UpdateVolumeResponse struct { JobID string `json:"jobid,omitempty"` Domain string `json:"domain,omitempty"` Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext,omitempty"` Id string `json:"id,omitempty"` Storagetype string `json:"storagetype,omitempty"` Vmname string `json:"vmname,omitempty"` Attached string `json:"attached,omitempty"` Miniops int `json:"miniops,omitempty"` Account string `json:"account,omitempty"` Diskofferingid string `json:"diskofferingid,omitempty"` Vmstate string `json:"vmstate,omitempty"` Zonename string `json:"zonename,omitempty"` Path string `json:"path,omitempty"` Vmdisplayname string `json:"vmdisplayname,omitempty"` Diskofferingdisplaytext string `json:"diskofferingdisplaytext,omitempty"` Size int `json:"size,omitempty"` Projectid string `json:"projectid,omitempty"` Name string `json:"name,omitempty"` Domainid string `json:"domainid,omitempty"` Created string `json:"created,omitempty"` Displayvolume bool `json:"displayvolume,omitempty"` Snapshotid string `json:"snapshotid,omitempty"` Maxiops int `json:"maxiops,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Diskofferingname string `json:"diskofferingname,omitempty"` Type string `json:"type,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Storageid string `json:"storageid,omitempty"` DiskBytesWriteRate int `json:"diskBytesWriteRate,omitempty"` Storage string `json:"storage,omitempty"` Isextractable bool `json:"isextractable,omitempty"` Destroyed bool `json:"destroyed,omitempty"` DiskIopsWriteRate int `json:"diskIopsWriteRate,omitempty"` Quiescevm bool `json:"quiescevm,omitempty"` Deviceid int `json:"deviceid,omitempty"` Zoneid string `json:"zoneid,omitempty"` DiskIopsReadRate int `json:"diskIopsReadRate,omitempty"` Status string `json:"status,omitempty"` Project string `json:"project,omitempty"` State string `json:"state,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Tags []struct { Projectid string `json:"projectid,omitempty"` Key string `json:"key,omitempty"` Domain string `json:"domain,omitempty"` Value string `json:"value,omitempty"` Account string `json:"account,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Project string `json:"project,omitempty"` Resourceid string `json:"resourceid,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"tags,omitempty"` DiskBytesReadRate int `json:"diskBytesReadRate,omitempty"` }
type UpdateVpnCustomerGatewayParams ¶
type UpdateVpnCustomerGatewayParams struct {
// contains filtered or unexported fields
}
func (*UpdateVpnCustomerGatewayParams) SetAccount ¶
func (p *UpdateVpnCustomerGatewayParams) SetAccount(v string)
func (*UpdateVpnCustomerGatewayParams) SetCidrlist ¶
func (p *UpdateVpnCustomerGatewayParams) SetCidrlist(v string)
func (*UpdateVpnCustomerGatewayParams) SetDomainid ¶
func (p *UpdateVpnCustomerGatewayParams) SetDomainid(v string)
func (*UpdateVpnCustomerGatewayParams) SetDpd ¶
func (p *UpdateVpnCustomerGatewayParams) SetDpd(v bool)
func (*UpdateVpnCustomerGatewayParams) SetEsplifetime ¶
func (p *UpdateVpnCustomerGatewayParams) SetEsplifetime(v int)
func (*UpdateVpnCustomerGatewayParams) SetEsppolicy ¶
func (p *UpdateVpnCustomerGatewayParams) SetEsppolicy(v string)
func (*UpdateVpnCustomerGatewayParams) SetGateway ¶
func (p *UpdateVpnCustomerGatewayParams) SetGateway(v string)
func (*UpdateVpnCustomerGatewayParams) SetId ¶
func (p *UpdateVpnCustomerGatewayParams) SetId(v string)
func (*UpdateVpnCustomerGatewayParams) SetIkelifetime ¶
func (p *UpdateVpnCustomerGatewayParams) SetIkelifetime(v int)
func (*UpdateVpnCustomerGatewayParams) SetIkepolicy ¶
func (p *UpdateVpnCustomerGatewayParams) SetIkepolicy(v string)
func (*UpdateVpnCustomerGatewayParams) SetIpsecpsk ¶
func (p *UpdateVpnCustomerGatewayParams) SetIpsecpsk(v string)
func (*UpdateVpnCustomerGatewayParams) SetName ¶
func (p *UpdateVpnCustomerGatewayParams) SetName(v string)
type UpdateVpnCustomerGatewayResponse ¶
type UpdateVpnCustomerGatewayResponse struct { JobID string `json:"jobid,omitempty"` Domain string `json:"domain,omitempty"` Dpd bool `json:"dpd,omitempty"` Projectid string `json:"projectid,omitempty"` Name string `json:"name,omitempty"` Project string `json:"project,omitempty"` Removed string `json:"removed,omitempty"` Ikelifetime int `json:"ikelifetime,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Ipsecpsk string `json:"ipsecpsk,omitempty"` Account string `json:"account,omitempty"` Domainid string `json:"domainid,omitempty"` Gateway string `json:"gateway,omitempty"` Ikepolicy string `json:"ikepolicy,omitempty"` Esppolicy string `json:"esppolicy,omitempty"` Id string `json:"id,omitempty"` Esplifetime int `json:"esplifetime,omitempty"` }
type UpdateZoneParams ¶
type UpdateZoneParams struct {
// contains filtered or unexported fields
}
func (*UpdateZoneParams) SetAllocationstate ¶
func (p *UpdateZoneParams) SetAllocationstate(v string)
func (*UpdateZoneParams) SetDetails ¶
func (p *UpdateZoneParams) SetDetails(v map[string]string)
func (*UpdateZoneParams) SetDhcpprovider ¶
func (p *UpdateZoneParams) SetDhcpprovider(v string)
func (*UpdateZoneParams) SetDns1 ¶
func (p *UpdateZoneParams) SetDns1(v string)
func (*UpdateZoneParams) SetDns2 ¶
func (p *UpdateZoneParams) SetDns2(v string)
func (*UpdateZoneParams) SetDnssearchorder ¶
func (p *UpdateZoneParams) SetDnssearchorder(v []string)
func (*UpdateZoneParams) SetDomain ¶
func (p *UpdateZoneParams) SetDomain(v string)
func (*UpdateZoneParams) SetGuestcidraddress ¶
func (p *UpdateZoneParams) SetGuestcidraddress(v string)
func (*UpdateZoneParams) SetId ¶
func (p *UpdateZoneParams) SetId(v string)
func (*UpdateZoneParams) SetInternaldns1 ¶
func (p *UpdateZoneParams) SetInternaldns1(v string)
func (*UpdateZoneParams) SetInternaldns2 ¶
func (p *UpdateZoneParams) SetInternaldns2(v string)
func (*UpdateZoneParams) SetIp6dns1 ¶
func (p *UpdateZoneParams) SetIp6dns1(v string)
func (*UpdateZoneParams) SetIp6dns2 ¶
func (p *UpdateZoneParams) SetIp6dns2(v string)
func (*UpdateZoneParams) SetIspublic ¶
func (p *UpdateZoneParams) SetIspublic(v bool)
func (*UpdateZoneParams) SetLocalstorageenabled ¶
func (p *UpdateZoneParams) SetLocalstorageenabled(v bool)
func (*UpdateZoneParams) SetName ¶
func (p *UpdateZoneParams) SetName(v string)
type UpdateZoneResponse ¶
type UpdateZoneResponse struct { Ip6dns1 string `json:"ip6dns1,omitempty"` Name string `json:"name,omitempty"` Domainname string `json:"domainname,omitempty"` Vlan string `json:"vlan,omitempty"` Displaytext string `json:"displaytext,omitempty"` Networktype string `json:"networktype,omitempty"` Securitygroupsenabled bool `json:"securitygroupsenabled,omitempty"` Internaldns1 string `json:"internaldns1,omitempty"` Ip6dns2 string `json:"ip6dns2,omitempty"` Dns2 string `json:"dns2,omitempty"` Resourcedetails map[string]string `json:"resourcedetails,omitempty"` Description string `json:"description,omitempty"` Domainid string `json:"domainid,omitempty"` Id string `json:"id,omitempty"` Dns1 string `json:"dns1,omitempty"` Domain string `json:"domain,omitempty"` Dhcpprovider string `json:"dhcpprovider,omitempty"` Allocationstate string `json:"allocationstate,omitempty"` Guestcidraddress string `json:"guestcidraddress,omitempty"` Capacity []struct { Capacitytotal int `json:"capacitytotal,omitempty"` Capacityused int `json:"capacityused,omitempty"` Clusterid string `json:"clusterid,omitempty"` Zonename string `json:"zonename,omitempty"` Percentused string `json:"percentused,omitempty"` Clustername string `json:"clustername,omitempty"` Zoneid string `json:"zoneid,omitempty"` Podname string `json:"podname,omitempty"` Type int `json:"type,omitempty"` Podid string `json:"podid,omitempty"` } `json:"capacity,omitempty"` Internaldns2 string `json:"internaldns2,omitempty"` Localstorageenabled bool `json:"localstorageenabled,omitempty"` Zonetoken string `json:"zonetoken,omitempty"` Tags []struct { Project string `json:"project,omitempty"` Customer string `json:"customer,omitempty"` Account string `json:"account,omitempty"` Key string `json:"key,omitempty"` Value string `json:"value,omitempty"` Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domain string `json:"domain,omitempty"` Resourceid string `json:"resourceid,omitempty"` } `json:"tags,omitempty"` }
type UpgradeRouterTemplateParams ¶
type UpgradeRouterTemplateParams struct {
// contains filtered or unexported fields
}
func (*UpgradeRouterTemplateParams) SetAccount ¶
func (p *UpgradeRouterTemplateParams) SetAccount(v string)
func (*UpgradeRouterTemplateParams) SetClusterid ¶
func (p *UpgradeRouterTemplateParams) SetClusterid(v string)
func (*UpgradeRouterTemplateParams) SetDomainid ¶
func (p *UpgradeRouterTemplateParams) SetDomainid(v string)
func (*UpgradeRouterTemplateParams) SetId ¶
func (p *UpgradeRouterTemplateParams) SetId(v string)
func (*UpgradeRouterTemplateParams) SetPodid ¶
func (p *UpgradeRouterTemplateParams) SetPodid(v string)
func (*UpgradeRouterTemplateParams) SetZoneid ¶
func (p *UpgradeRouterTemplateParams) SetZoneid(v string)
type UploadCustomCertificateParams ¶
type UploadCustomCertificateParams struct {
// contains filtered or unexported fields
}
func (*UploadCustomCertificateParams) SetCertificate ¶
func (p *UploadCustomCertificateParams) SetCertificate(v string)
func (*UploadCustomCertificateParams) SetDomainsuffix ¶
func (p *UploadCustomCertificateParams) SetDomainsuffix(v string)
func (*UploadCustomCertificateParams) SetId ¶
func (p *UploadCustomCertificateParams) SetId(v int)
func (*UploadCustomCertificateParams) SetName ¶
func (p *UploadCustomCertificateParams) SetName(v string)
func (*UploadCustomCertificateParams) SetPrivatekey ¶
func (p *UploadCustomCertificateParams) SetPrivatekey(v string)
type UploadSslCertParams ¶
type UploadSslCertParams struct {
// contains filtered or unexported fields
}
func (*UploadSslCertParams) SetCertchain ¶
func (p *UploadSslCertParams) SetCertchain(v string)
func (*UploadSslCertParams) SetCertificate ¶
func (p *UploadSslCertParams) SetCertificate(v string)
func (*UploadSslCertParams) SetPassword ¶
func (p *UploadSslCertParams) SetPassword(v string)
func (*UploadSslCertParams) SetPrivatekey ¶
func (p *UploadSslCertParams) SetPrivatekey(v string)
type UploadSslCertResponse ¶
type UploadSslCertResponse struct { Certificate string `json:"certificate,omitempty"` Id string `json:"id,omitempty"` Loadbalancerrulelist []string `json:"loadbalancerrulelist,omitempty"` Certchain string `json:"certchain,omitempty"` Account string `json:"account,omitempty"` Fingerprint string `json:"fingerprint,omitempty"` Privatekey string `json:"privatekey,omitempty"` }
type UploadVolumeParams ¶
type UploadVolumeParams struct {
// contains filtered or unexported fields
}
func (*UploadVolumeParams) SetAccount ¶
func (p *UploadVolumeParams) SetAccount(v string)
func (*UploadVolumeParams) SetChecksum ¶
func (p *UploadVolumeParams) SetChecksum(v string)
func (*UploadVolumeParams) SetDomainid ¶
func (p *UploadVolumeParams) SetDomainid(v string)
func (*UploadVolumeParams) SetFormat ¶
func (p *UploadVolumeParams) SetFormat(v string)
func (*UploadVolumeParams) SetImagestoreuuid ¶
func (p *UploadVolumeParams) SetImagestoreuuid(v string)
func (*UploadVolumeParams) SetName ¶
func (p *UploadVolumeParams) SetName(v string)
func (*UploadVolumeParams) SetProjectid ¶
func (p *UploadVolumeParams) SetProjectid(v string)
func (*UploadVolumeParams) SetUrl ¶
func (p *UploadVolumeParams) SetUrl(v string)
func (*UploadVolumeParams) SetZoneid ¶
func (p *UploadVolumeParams) SetZoneid(v string)
type UploadVolumeResponse ¶
type UploadVolumeResponse struct { JobID string `json:"jobid,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` DiskIopsWriteRate int `json:"diskIopsWriteRate,omitempty"` Projectid string `json:"projectid,omitempty"` Path string `json:"path,omitempty"` Isextractable bool `json:"isextractable,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Vmname string `json:"vmname,omitempty"` Deviceid int `json:"deviceid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` Storageid string `json:"storageid,omitempty"` Size int `json:"size,omitempty"` Destroyed bool `json:"destroyed,omitempty"` Tags []struct { Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Key string `json:"key,omitempty"` Resourceid string `json:"resourceid,omitempty"` Domain string `json:"domain,omitempty"` Customer string `json:"customer,omitempty"` Domainid string `json:"domainid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Projectid string `json:"projectid,omitempty"` Value string `json:"value,omitempty"` } `json:"tags,omitempty"` Storagetype string `json:"storagetype,omitempty"` Diskofferingdisplaytext string `json:"diskofferingdisplaytext,omitempty"` Maxiops int `json:"maxiops,omitempty"` Type string `json:"type,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext,omitempty"` Miniops int `json:"miniops,omitempty"` Name string `json:"name,omitempty"` Vmstate string `json:"vmstate,omitempty"` Quiescevm bool `json:"quiescevm,omitempty"` Id string `json:"id,omitempty"` Attached string `json:"attached,omitempty"` Vmdisplayname string `json:"vmdisplayname,omitempty"` Snapshotid string `json:"snapshotid,omitempty"` Storage string `json:"storage,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Status string `json:"status,omitempty"` Diskofferingname string `json:"diskofferingname,omitempty"` Diskofferingid string `json:"diskofferingid,omitempty"` DiskBytesWriteRate int `json:"diskBytesWriteRate,omitempty"` Created string `json:"created,omitempty"` DiskBytesReadRate int `json:"diskBytesReadRate,omitempty"` Account string `json:"account,omitempty"` State string `json:"state,omitempty"` DiskIopsReadRate int `json:"diskIopsReadRate,omitempty"` Displayvolume bool `json:"displayvolume,omitempty"` Zonename string `json:"zonename,omitempty"` Domainid string `json:"domainid,omitempty"` }
type UsageRecord ¶
type UsageRecord struct { Issourcenat bool `json:"issourcenat,omitempty"` Usageid string `json:"usageid,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Size int `json:"size,omitempty"` Projectid string `json:"projectid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Enddate string `json:"enddate,omitempty"` Startdate string `json:"startdate,omitempty"` Networkid string `json:"networkid,omitempty"` Type string `json:"type,omitempty"` Accountid string `json:"accountid,omitempty"` Usage string `json:"usage,omitempty"` Virtualsize int `json:"virtualsize,omitempty"` Domainid string `json:"domainid,omitempty"` Templateid string `json:"templateid,omitempty"` Rawusage string `json:"rawusage,omitempty"` Offeringid string `json:"offeringid,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` Description string `json:"description,omitempty"` Name string `json:"name,omitempty"` Project string `json:"project,omitempty"` Usagetype int `json:"usagetype,omitempty"` Issystem bool `json:"issystem,omitempty"` }
type UsageService ¶
type UsageService struct {
// contains filtered or unexported fields
}
func NewUsageService ¶
func NewUsageService(cs *CloudStackClient) *UsageService
func (*UsageService) AddTrafficMonitor ¶
func (s *UsageService) AddTrafficMonitor(p *AddTrafficMonitorParams) (*AddTrafficMonitorResponse, error)
Adds Traffic Monitor Host for Direct Network Usage
func (*UsageService) AddTrafficType ¶
func (s *UsageService) AddTrafficType(p *AddTrafficTypeParams) (*AddTrafficTypeResponse, error)
Adds traffic type to a physical network
func (*UsageService) DeleteTrafficMonitor ¶
func (s *UsageService) DeleteTrafficMonitor(p *DeleteTrafficMonitorParams) (*DeleteTrafficMonitorResponse, error)
Deletes an traffic monitor host.
func (*UsageService) DeleteTrafficType ¶
func (s *UsageService) DeleteTrafficType(p *DeleteTrafficTypeParams) (*DeleteTrafficTypeResponse, error)
Deletes traffic type of a physical network
func (*UsageService) GenerateUsageRecords ¶
func (s *UsageService) GenerateUsageRecords(p *GenerateUsageRecordsParams) (*GenerateUsageRecordsResponse, error)
Generates usage records. This will generate records only if there any records to be generated, i.e if the scheduled usage job was not run or failed
func (*UsageService) GetTrafficMonitorID ¶
func (s *UsageService) GetTrafficMonitorID(keyword string, zoneid string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*UsageService) GetTrafficTypeID ¶
func (s *UsageService) GetTrafficTypeID(keyword string, physicalnetworkid string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*UsageService) ListTrafficMonitors ¶
func (s *UsageService) ListTrafficMonitors(p *ListTrafficMonitorsParams) (*ListTrafficMonitorsResponse, error)
List traffic monitor Hosts.
func (*UsageService) ListTrafficTypeImplementors ¶
func (s *UsageService) ListTrafficTypeImplementors(p *ListTrafficTypeImplementorsParams) (*ListTrafficTypeImplementorsResponse, error)
Lists implementors of implementor of a network traffic type or implementors of all network traffic types
func (*UsageService) ListTrafficTypes ¶
func (s *UsageService) ListTrafficTypes(p *ListTrafficTypesParams) (*ListTrafficTypesResponse, error)
Lists traffic types of a given physical network.
func (*UsageService) ListUsageRecords ¶
func (s *UsageService) ListUsageRecords(p *ListUsageRecordsParams) (*ListUsageRecordsResponse, error)
Lists usage records for accounts
func (*UsageService) ListUsageTypes ¶
func (s *UsageService) ListUsageTypes(p *ListUsageTypesParams) (*ListUsageTypesResponse, error)
List Usage Types
func (*UsageService) NewAddTrafficMonitorParams ¶
func (s *UsageService) NewAddTrafficMonitorParams(url string, zoneid string) *AddTrafficMonitorParams
You should always use this function to get a new AddTrafficMonitorParams instance, as then you are sure you have configured all required params
func (*UsageService) NewAddTrafficTypeParams ¶
func (s *UsageService) NewAddTrafficTypeParams(physicalnetworkid string, traffictype string) *AddTrafficTypeParams
You should always use this function to get a new AddTrafficTypeParams instance, as then you are sure you have configured all required params
func (*UsageService) NewDeleteTrafficMonitorParams ¶
func (s *UsageService) NewDeleteTrafficMonitorParams(id string) *DeleteTrafficMonitorParams
You should always use this function to get a new DeleteTrafficMonitorParams instance, as then you are sure you have configured all required params
func (*UsageService) NewDeleteTrafficTypeParams ¶
func (s *UsageService) NewDeleteTrafficTypeParams(id string) *DeleteTrafficTypeParams
You should always use this function to get a new DeleteTrafficTypeParams instance, as then you are sure you have configured all required params
func (*UsageService) NewGenerateUsageRecordsParams ¶
func (s *UsageService) NewGenerateUsageRecordsParams(enddate string, startdate string) *GenerateUsageRecordsParams
You should always use this function to get a new GenerateUsageRecordsParams instance, as then you are sure you have configured all required params
func (*UsageService) NewListTrafficMonitorsParams ¶
func (s *UsageService) NewListTrafficMonitorsParams(zoneid string) *ListTrafficMonitorsParams
You should always use this function to get a new ListTrafficMonitorsParams instance, as then you are sure you have configured all required params
func (*UsageService) NewListTrafficTypeImplementorsParams ¶
func (s *UsageService) NewListTrafficTypeImplementorsParams() *ListTrafficTypeImplementorsParams
You should always use this function to get a new ListTrafficTypeImplementorsParams instance, as then you are sure you have configured all required params
func (*UsageService) NewListTrafficTypesParams ¶
func (s *UsageService) NewListTrafficTypesParams(physicalnetworkid string) *ListTrafficTypesParams
You should always use this function to get a new ListTrafficTypesParams instance, as then you are sure you have configured all required params
func (*UsageService) NewListUsageRecordsParams ¶
func (s *UsageService) NewListUsageRecordsParams(enddate string, startdate string) *ListUsageRecordsParams
You should always use this function to get a new ListUsageRecordsParams instance, as then you are sure you have configured all required params
func (*UsageService) NewListUsageTypesParams ¶
func (s *UsageService) NewListUsageTypesParams() *ListUsageTypesParams
You should always use this function to get a new ListUsageTypesParams instance, as then you are sure you have configured all required params
func (*UsageService) NewUpdateTrafficTypeParams ¶
func (s *UsageService) NewUpdateTrafficTypeParams(id string) *UpdateTrafficTypeParams
You should always use this function to get a new UpdateTrafficTypeParams instance, as then you are sure you have configured all required params
func (*UsageService) UpdateTrafficType ¶
func (s *UsageService) UpdateTrafficType(p *UpdateTrafficTypeParams) (*UpdateTrafficTypeResponse, error)
Updates traffic type of a physical network
type User ¶
type User struct { Id string `json:"id,omitempty"` State string `json:"state,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` Timezone string `json:"timezone,omitempty"` Accountid string `json:"accountid,omitempty"` Apikey string `json:"apikey,omitempty"` Accounttype int `json:"accounttype,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Username string `json:"username,omitempty"` Firstname string `json:"firstname,omitempty"` Secretkey string `json:"secretkey,omitempty"` Iscallerchilddomain bool `json:"iscallerchilddomain,omitempty"` Domainid string `json:"domainid,omitempty"` Email string `json:"email,omitempty"` Created string `json:"created,omitempty"` Lastname string `json:"lastname,omitempty"` }
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func NewUserService ¶
func NewUserService(cs *CloudStackClient) *UserService
func (*UserService) CreateUser ¶
func (s *UserService) CreateUser(p *CreateUserParams) (*CreateUserResponse, error)
Creates a user for an account that already exists
func (*UserService) DeleteUser ¶
func (s *UserService) DeleteUser(p *DeleteUserParams) (*DeleteUserResponse, error)
Deletes a user for an account
func (*UserService) DisableUser ¶
func (s *UserService) DisableUser(p *DisableUserParams) (*DisableUserResponse, error)
Disables a user account
func (*UserService) EnableUser ¶
func (s *UserService) EnableUser(p *EnableUserParams) (*EnableUserResponse, error)
Enables a user account
func (*UserService) GetUser ¶
func (s *UserService) GetUser(p *GetUserParams) (*GetUserResponse, error)
Find user account by API key
func (*UserService) GetUserID ¶
func (s *UserService) GetUserID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*UserService) ImportLdapUsers ¶
func (s *UserService) ImportLdapUsers(p *ImportLdapUsersParams) (*ImportLdapUsersResponse, error)
Import LDAP users
func (*UserService) ListLdapUsers ¶
func (s *UserService) ListLdapUsers(p *ListLdapUsersParams) (*ListLdapUsersResponse, error)
Lists all LDAP Users
func (*UserService) ListUsers ¶
func (s *UserService) ListUsers(p *ListUsersParams) (*ListUsersResponse, error)
Lists user accounts
func (*UserService) LockUser ¶
func (s *UserService) LockUser(p *LockUserParams) (*LockUserResponse, error)
Locks a user account
func (*UserService) NewCreateUserParams ¶
func (s *UserService) NewCreateUserParams(account string, email string, firstname string, lastname string, password string, username string) *CreateUserParams
You should always use this function to get a new CreateUserParams instance, as then you are sure you have configured all required params
func (*UserService) NewDeleteUserParams ¶
func (s *UserService) NewDeleteUserParams(id string) *DeleteUserParams
You should always use this function to get a new DeleteUserParams instance, as then you are sure you have configured all required params
func (*UserService) NewDisableUserParams ¶
func (s *UserService) NewDisableUserParams(id string) *DisableUserParams
You should always use this function to get a new DisableUserParams instance, as then you are sure you have configured all required params
func (*UserService) NewEnableUserParams ¶
func (s *UserService) NewEnableUserParams(id string) *EnableUserParams
You should always use this function to get a new EnableUserParams instance, as then you are sure you have configured all required params
func (*UserService) NewGetUserParams ¶
func (s *UserService) NewGetUserParams(userapikey string) *GetUserParams
You should always use this function to get a new GetUserParams instance, as then you are sure you have configured all required params
func (*UserService) NewImportLdapUsersParams ¶
func (s *UserService) NewImportLdapUsersParams(accounttype int) *ImportLdapUsersParams
You should always use this function to get a new ImportLdapUsersParams instance, as then you are sure you have configured all required params
func (*UserService) NewListLdapUsersParams ¶
func (s *UserService) NewListLdapUsersParams() *ListLdapUsersParams
You should always use this function to get a new ListLdapUsersParams instance, as then you are sure you have configured all required params
func (*UserService) NewListUsersParams ¶
func (s *UserService) NewListUsersParams() *ListUsersParams
You should always use this function to get a new ListUsersParams instance, as then you are sure you have configured all required params
func (*UserService) NewLockUserParams ¶
func (s *UserService) NewLockUserParams(id string) *LockUserParams
You should always use this function to get a new LockUserParams instance, as then you are sure you have configured all required params
func (*UserService) NewRegisterUserKeysParams ¶
func (s *UserService) NewRegisterUserKeysParams(id string) *RegisterUserKeysParams
You should always use this function to get a new RegisterUserKeysParams instance, as then you are sure you have configured all required params
func (*UserService) NewUpdateUserParams ¶
func (s *UserService) NewUpdateUserParams(id string) *UpdateUserParams
You should always use this function to get a new UpdateUserParams instance, as then you are sure you have configured all required params
func (*UserService) RegisterUserKeys ¶
func (s *UserService) RegisterUserKeys(p *RegisterUserKeysParams) (*RegisterUserKeysResponse, error)
This command allows a user to register for the developer API, returning a secret key and an API key. This request is made through the integration API port, so it is a privileged command and must be made on behalf of a user. It is up to the implementer just how the username and password are entered, and then how that translates to an integration API request. Both secret key and API key should be returned to the user
func (*UserService) UpdateUser ¶
func (s *UserService) UpdateUser(p *UpdateUserParams) (*UpdateUserResponse, error)
Updates a user account
type VLANService ¶
type VLANService struct {
// contains filtered or unexported fields
}
func NewVLANService ¶
func NewVLANService(cs *CloudStackClient) *VLANService
func (*VLANService) CreateVlanIpRange ¶
func (s *VLANService) CreateVlanIpRange(p *CreateVlanIpRangeParams) (*CreateVlanIpRangeResponse, error)
Creates a VLAN IP range.
func (*VLANService) DedicateGuestVlanRange ¶
func (s *VLANService) DedicateGuestVlanRange(p *DedicateGuestVlanRangeParams) (*DedicateGuestVlanRangeResponse, error)
Dedicates a guest vlan range to an account
func (*VLANService) DeleteVlanIpRange ¶
func (s *VLANService) DeleteVlanIpRange(p *DeleteVlanIpRangeParams) (*DeleteVlanIpRangeResponse, error)
Creates a VLAN IP range.
func (*VLANService) GetDedicatedGuestVlanRangeID ¶
func (s *VLANService) GetDedicatedGuestVlanRangeID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*VLANService) GetVlanIpRangeID ¶
func (s *VLANService) GetVlanIpRangeID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*VLANService) ListDedicatedGuestVlanRanges ¶
func (s *VLANService) ListDedicatedGuestVlanRanges(p *ListDedicatedGuestVlanRangesParams) (*ListDedicatedGuestVlanRangesResponse, error)
Lists dedicated guest vlan ranges
func (*VLANService) ListVlanIpRanges ¶
func (s *VLANService) ListVlanIpRanges(p *ListVlanIpRangesParams) (*ListVlanIpRangesResponse, error)
Lists all VLAN IP ranges.
func (*VLANService) NewCreateVlanIpRangeParams ¶
func (s *VLANService) NewCreateVlanIpRangeParams() *CreateVlanIpRangeParams
You should always use this function to get a new CreateVlanIpRangeParams instance, as then you are sure you have configured all required params
func (*VLANService) NewDedicateGuestVlanRangeParams ¶
func (s *VLANService) NewDedicateGuestVlanRangeParams(account string, domainid string, physicalnetworkid string, vlanrange string) *DedicateGuestVlanRangeParams
You should always use this function to get a new DedicateGuestVlanRangeParams instance, as then you are sure you have configured all required params
func (*VLANService) NewDeleteVlanIpRangeParams ¶
func (s *VLANService) NewDeleteVlanIpRangeParams(id string) *DeleteVlanIpRangeParams
You should always use this function to get a new DeleteVlanIpRangeParams instance, as then you are sure you have configured all required params
func (*VLANService) NewListDedicatedGuestVlanRangesParams ¶
func (s *VLANService) NewListDedicatedGuestVlanRangesParams() *ListDedicatedGuestVlanRangesParams
You should always use this function to get a new ListDedicatedGuestVlanRangesParams instance, as then you are sure you have configured all required params
func (*VLANService) NewListVlanIpRangesParams ¶
func (s *VLANService) NewListVlanIpRangesParams() *ListVlanIpRangesParams
You should always use this function to get a new ListVlanIpRangesParams instance, as then you are sure you have configured all required params
func (*VLANService) NewReleaseDedicatedGuestVlanRangeParams ¶
func (s *VLANService) NewReleaseDedicatedGuestVlanRangeParams(id string) *ReleaseDedicatedGuestVlanRangeParams
You should always use this function to get a new ReleaseDedicatedGuestVlanRangeParams instance, as then you are sure you have configured all required params
func (*VLANService) ReleaseDedicatedGuestVlanRange ¶
func (s *VLANService) ReleaseDedicatedGuestVlanRange(p *ReleaseDedicatedGuestVlanRangeParams) (*ReleaseDedicatedGuestVlanRangeResponse, error)
Releases a dedicated guest vlan range to the system
type VMGroupService ¶
type VMGroupService struct {
// contains filtered or unexported fields
}
func NewVMGroupService ¶
func NewVMGroupService(cs *CloudStackClient) *VMGroupService
func (*VMGroupService) CreateInstanceGroup ¶
func (s *VMGroupService) CreateInstanceGroup(p *CreateInstanceGroupParams) (*CreateInstanceGroupResponse, error)
Creates a vm group
func (*VMGroupService) DeleteInstanceGroup ¶
func (s *VMGroupService) DeleteInstanceGroup(p *DeleteInstanceGroupParams) (*DeleteInstanceGroupResponse, error)
Deletes a vm group
func (*VMGroupService) GetInstanceGroupID ¶
func (s *VMGroupService) GetInstanceGroupID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*VMGroupService) ListInstanceGroups ¶
func (s *VMGroupService) ListInstanceGroups(p *ListInstanceGroupsParams) (*ListInstanceGroupsResponse, error)
Lists vm groups
func (*VMGroupService) NewCreateInstanceGroupParams ¶
func (s *VMGroupService) NewCreateInstanceGroupParams(name string) *CreateInstanceGroupParams
You should always use this function to get a new CreateInstanceGroupParams instance, as then you are sure you have configured all required params
func (*VMGroupService) NewDeleteInstanceGroupParams ¶
func (s *VMGroupService) NewDeleteInstanceGroupParams(id string) *DeleteInstanceGroupParams
You should always use this function to get a new DeleteInstanceGroupParams instance, as then you are sure you have configured all required params
func (*VMGroupService) NewListInstanceGroupsParams ¶
func (s *VMGroupService) NewListInstanceGroupsParams() *ListInstanceGroupsParams
You should always use this function to get a new ListInstanceGroupsParams instance, as then you are sure you have configured all required params
func (*VMGroupService) NewUpdateInstanceGroupParams ¶
func (s *VMGroupService) NewUpdateInstanceGroupParams(id string) *UpdateInstanceGroupParams
You should always use this function to get a new UpdateInstanceGroupParams instance, as then you are sure you have configured all required params
func (*VMGroupService) UpdateInstanceGroup ¶
func (s *VMGroupService) UpdateInstanceGroup(p *UpdateInstanceGroupParams) (*UpdateInstanceGroupResponse, error)
Updates a vm group
type VMSnapshot ¶
type VMSnapshot struct { Domainid string `json:"domainid,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` Displayname string `json:"displayname,omitempty"` Domain string `json:"domain,omitempty"` Id string `json:"id,omitempty"` Zoneid string `json:"zoneid,omitempty"` Description string `json:"description,omitempty"` Parent string `json:"parent,omitempty"` ParentName string `json:"parentName,omitempty"` Current bool `json:"current,omitempty"` State string `json:"state,omitempty"` Name string `json:"name,omitempty"` Project string `json:"project,omitempty"` Account string `json:"account,omitempty"` Type string `json:"type,omitempty"` Projectid string `json:"projectid,omitempty"` Created string `json:"created,omitempty"` }
type VPC ¶
type VPC struct { Id string `json:"id,omitempty"` Service []struct { Provider []struct { Name string `json:"name,omitempty"` Id string `json:"id,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Servicelist []string `json:"servicelist,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` State string `json:"state,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` } `json:"provider,omitempty"` Capability []struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` } `json:"capability,omitempty"` Name string `json:"name,omitempty"` } `json:"service,omitempty"` Domain string `json:"domain,omitempty"` Cidr string `json:"cidr,omitempty"` Created string `json:"created,omitempty"` Tags []struct { Customer string `json:"customer,omitempty"` Project string `json:"project,omitempty"` Domainid string `json:"domainid,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Key string `json:"key,omitempty"` Account string `json:"account,omitempty"` Resourceid string `json:"resourceid,omitempty"` Value string `json:"value,omitempty"` } `json:"tags,omitempty"` Zoneid string `json:"zoneid,omitempty"` Name string `json:"name,omitempty"` Displaytext string `json:"displaytext,omitempty"` Project string `json:"project,omitempty"` Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` Zonename string `json:"zonename,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Network []struct { Domain string `json:"domain,omitempty"` State string `json:"state,omitempty"` Networkdomain string `json:"networkdomain,omitempty"` Vlan string `json:"vlan,omitempty"` Id string `json:"id,omitempty"` Networkofferingavailability string `json:"networkofferingavailability,omitempty"` Displaytext string `json:"displaytext,omitempty"` Networkofferingname string `json:"networkofferingname,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Traffictype string `json:"traffictype,omitempty"` Tags []struct { Value string `json:"value,omitempty"` Resourceid string `json:"resourceid,omitempty"` Projectid string `json:"projectid,omitempty"` Account string `json:"account,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Customer string `json:"customer,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Key string `json:"key,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"tags,omitempty"` Specifyipranges bool `json:"specifyipranges,omitempty"` Reservediprange string `json:"reservediprange,omitempty"` Broadcasturi string `json:"broadcasturi,omitempty"` Dns1 string `json:"dns1,omitempty"` Zonename string `json:"zonename,omitempty"` Vpcid string `json:"vpcid,omitempty"` Related string `json:"related,omitempty"` Type string `json:"type,omitempty"` Networkofferingconservemode bool `json:"networkofferingconservemode,omitempty"` Restartrequired bool `json:"restartrequired,omitempty"` Networkofferingdisplaytext string `json:"networkofferingdisplaytext,omitempty"` Canusefordeploy bool `json:"canusefordeploy,omitempty"` Networkofferingid string `json:"networkofferingid,omitempty"` Networkcidr string `json:"networkcidr,omitempty"` Broadcastdomaintype string `json:"broadcastdomaintype,omitempty"` Domainid string `json:"domainid,omitempty"` Netmask string `json:"netmask,omitempty"` Dns2 string `json:"dns2,omitempty"` Projectid string `json:"projectid,omitempty"` Cidr string `json:"cidr,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Name string `json:"name,omitempty"` Service []struct { Capability []struct { Value string `json:"value,omitempty"` Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` Name string `json:"name,omitempty"` } `json:"capability,omitempty"` Name string `json:"name,omitempty"` Provider []struct { Name string `json:"name,omitempty"` Servicelist []string `json:"servicelist,omitempty"` State string `json:"state,omitempty"` Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Id string `json:"id,omitempty"` } `json:"provider,omitempty"` } `json:"service,omitempty"` Acltype string `json:"acltype,omitempty"` Aclid string `json:"aclid,omitempty"` Gateway string `json:"gateway,omitempty"` Account string `json:"account,omitempty"` Zoneid string `json:"zoneid,omitempty"` Issystem bool `json:"issystem,omitempty"` Ispersistent bool `json:"ispersistent,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Project string `json:"project,omitempty"` Subdomainaccess bool `json:"subdomainaccess,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Displaynetwork bool `json:"displaynetwork,omitempty"` } `json:"network,omitempty"` Vpcofferingid string `json:"vpcofferingid,omitempty"` Account string `json:"account,omitempty"` Restartrequired bool `json:"restartrequired,omitempty"` State string `json:"state,omitempty"` }
type VPCOffering ¶
type VPCOffering struct { State string `json:"state,omitempty"` Name string `json:"name,omitempty"` Isdefault bool `json:"isdefault,omitempty"` Service []struct { Provider []struct { Destinationphysicalnetworkid string `json:"destinationphysicalnetworkid,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Servicelist []string `json:"servicelist,omitempty"` Id string `json:"id,omitempty"` State string `json:"state,omitempty"` Canenableindividualservice bool `json:"canenableindividualservice,omitempty"` Name string `json:"name,omitempty"` } `json:"provider,omitempty"` Capability []struct { Value string `json:"value,omitempty"` Canchooseservicecapability bool `json:"canchooseservicecapability,omitempty"` Name string `json:"name,omitempty"` } `json:"capability,omitempty"` Name string `json:"name,omitempty"` } `json:"service,omitempty"` Displaytext string `json:"displaytext,omitempty"` Id string `json:"id,omitempty"` Created string `json:"created,omitempty"` }
type VPCService ¶
type VPCService struct {
// contains filtered or unexported fields
}
func NewVPCService ¶
func NewVPCService(cs *CloudStackClient) *VPCService
func (*VPCService) CreatePrivateGateway ¶
func (s *VPCService) CreatePrivateGateway(p *CreatePrivateGatewayParams) (*CreatePrivateGatewayResponse, error)
Creates a private gateway
func (*VPCService) CreateStaticRoute ¶
func (s *VPCService) CreateStaticRoute(p *CreateStaticRouteParams) (*CreateStaticRouteResponse, error)
Creates a static route
func (*VPCService) CreateVPC ¶
func (s *VPCService) CreateVPC(p *CreateVPCParams) (*CreateVPCResponse, error)
Creates a VPC
func (*VPCService) CreateVPCOffering ¶
func (s *VPCService) CreateVPCOffering(p *CreateVPCOfferingParams) (*CreateVPCOfferingResponse, error)
Creates VPC offering
func (*VPCService) DeletePrivateGateway ¶
func (s *VPCService) DeletePrivateGateway(p *DeletePrivateGatewayParams) (*DeletePrivateGatewayResponse, error)
Deletes a Private gateway
func (*VPCService) DeleteStaticRoute ¶
func (s *VPCService) DeleteStaticRoute(p *DeleteStaticRouteParams) (*DeleteStaticRouteResponse, error)
Deletes a static route
func (*VPCService) DeleteVPC ¶
func (s *VPCService) DeleteVPC(p *DeleteVPCParams) (*DeleteVPCResponse, error)
Deletes a VPC
func (*VPCService) DeleteVPCOffering ¶
func (s *VPCService) DeleteVPCOffering(p *DeleteVPCOfferingParams) (*DeleteVPCOfferingResponse, error)
Deletes VPC offering
func (*VPCService) GetPrivateGatewayID ¶
func (s *VPCService) GetPrivateGatewayID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*VPCService) GetStaticRouteID ¶
func (s *VPCService) GetStaticRouteID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*VPCService) GetVPCID ¶
func (s *VPCService) GetVPCID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*VPCService) GetVPCOfferingID ¶
func (s *VPCService) GetVPCOfferingID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*VPCService) ListPrivateGateways ¶
func (s *VPCService) ListPrivateGateways(p *ListPrivateGatewaysParams) (*ListPrivateGatewaysResponse, error)
List private gateways
func (*VPCService) ListStaticRoutes ¶
func (s *VPCService) ListStaticRoutes(p *ListStaticRoutesParams) (*ListStaticRoutesResponse, error)
Lists all static routes
func (*VPCService) ListVPCOfferings ¶
func (s *VPCService) ListVPCOfferings(p *ListVPCOfferingsParams) (*ListVPCOfferingsResponse, error)
Lists VPC offerings
func (*VPCService) ListVPCs ¶
func (s *VPCService) ListVPCs(p *ListVPCsParams) (*ListVPCsResponse, error)
Lists VPCs
func (*VPCService) NewCreatePrivateGatewayParams ¶
func (s *VPCService) NewCreatePrivateGatewayParams(gateway string, ipaddress string, netmask string, vlan string, vpcid string) *CreatePrivateGatewayParams
You should always use this function to get a new CreatePrivateGatewayParams instance, as then you are sure you have configured all required params
func (*VPCService) NewCreateStaticRouteParams ¶
func (s *VPCService) NewCreateStaticRouteParams(cidr string, gatewayid string) *CreateStaticRouteParams
You should always use this function to get a new CreateStaticRouteParams instance, as then you are sure you have configured all required params
func (*VPCService) NewCreateVPCOfferingParams ¶
func (s *VPCService) NewCreateVPCOfferingParams(displaytext string, name string, supportedservices []string) *CreateVPCOfferingParams
You should always use this function to get a new CreateVPCOfferingParams instance, as then you are sure you have configured all required params
func (*VPCService) NewCreateVPCParams ¶
func (s *VPCService) NewCreateVPCParams(cidr string, displaytext string, name string, vpcofferingid string, zoneid string) *CreateVPCParams
You should always use this function to get a new CreateVPCParams instance, as then you are sure you have configured all required params
func (*VPCService) NewDeletePrivateGatewayParams ¶
func (s *VPCService) NewDeletePrivateGatewayParams(id string) *DeletePrivateGatewayParams
You should always use this function to get a new DeletePrivateGatewayParams instance, as then you are sure you have configured all required params
func (*VPCService) NewDeleteStaticRouteParams ¶
func (s *VPCService) NewDeleteStaticRouteParams(id string) *DeleteStaticRouteParams
You should always use this function to get a new DeleteStaticRouteParams instance, as then you are sure you have configured all required params
func (*VPCService) NewDeleteVPCOfferingParams ¶
func (s *VPCService) NewDeleteVPCOfferingParams(id string) *DeleteVPCOfferingParams
You should always use this function to get a new DeleteVPCOfferingParams instance, as then you are sure you have configured all required params
func (*VPCService) NewDeleteVPCParams ¶
func (s *VPCService) NewDeleteVPCParams(id string) *DeleteVPCParams
You should always use this function to get a new DeleteVPCParams instance, as then you are sure you have configured all required params
func (*VPCService) NewListPrivateGatewaysParams ¶
func (s *VPCService) NewListPrivateGatewaysParams() *ListPrivateGatewaysParams
You should always use this function to get a new ListPrivateGatewaysParams instance, as then you are sure you have configured all required params
func (*VPCService) NewListStaticRoutesParams ¶
func (s *VPCService) NewListStaticRoutesParams() *ListStaticRoutesParams
You should always use this function to get a new ListStaticRoutesParams instance, as then you are sure you have configured all required params
func (*VPCService) NewListVPCOfferingsParams ¶
func (s *VPCService) NewListVPCOfferingsParams() *ListVPCOfferingsParams
You should always use this function to get a new ListVPCOfferingsParams instance, as then you are sure you have configured all required params
func (*VPCService) NewListVPCsParams ¶
func (s *VPCService) NewListVPCsParams() *ListVPCsParams
You should always use this function to get a new ListVPCsParams instance, as then you are sure you have configured all required params
func (*VPCService) NewRestartVPCParams ¶
func (s *VPCService) NewRestartVPCParams(id string) *RestartVPCParams
You should always use this function to get a new RestartVPCParams instance, as then you are sure you have configured all required params
func (*VPCService) NewUpdateVPCOfferingParams ¶
func (s *VPCService) NewUpdateVPCOfferingParams(id string) *UpdateVPCOfferingParams
You should always use this function to get a new UpdateVPCOfferingParams instance, as then you are sure you have configured all required params
func (*VPCService) NewUpdateVPCParams ¶
func (s *VPCService) NewUpdateVPCParams(id string, name string) *UpdateVPCParams
You should always use this function to get a new UpdateVPCParams instance, as then you are sure you have configured all required params
func (*VPCService) RestartVPC ¶
func (s *VPCService) RestartVPC(p *RestartVPCParams) (*RestartVPCResponse, error)
Restarts a VPC
func (*VPCService) UpdateVPC ¶
func (s *VPCService) UpdateVPC(p *UpdateVPCParams) (*UpdateVPCResponse, error)
Updates a VPC
func (*VPCService) UpdateVPCOffering ¶
func (s *VPCService) UpdateVPCOffering(p *UpdateVPCOfferingParams) (*UpdateVPCOfferingResponse, error)
Updates VPC offering
type VPNService ¶
type VPNService struct {
// contains filtered or unexported fields
}
func NewVPNService ¶
func NewVPNService(cs *CloudStackClient) *VPNService
func (*VPNService) AddVpnUser ¶
func (s *VPNService) AddVpnUser(p *AddVpnUserParams) (*AddVpnUserResponse, error)
Adds vpn users
func (*VPNService) CreateRemoteAccessVpn ¶
func (s *VPNService) CreateRemoteAccessVpn(p *CreateRemoteAccessVpnParams) (*CreateRemoteAccessVpnResponse, error)
Creates a l2tp/ipsec remote access vpn
func (*VPNService) CreateVpnConnection ¶
func (s *VPNService) CreateVpnConnection(p *CreateVpnConnectionParams) (*CreateVpnConnectionResponse, error)
Create site to site vpn connection
func (*VPNService) CreateVpnCustomerGateway ¶
func (s *VPNService) CreateVpnCustomerGateway(p *CreateVpnCustomerGatewayParams) (*CreateVpnCustomerGatewayResponse, error)
Creates site to site vpn customer gateway
func (*VPNService) CreateVpnGateway ¶
func (s *VPNService) CreateVpnGateway(p *CreateVpnGatewayParams) (*CreateVpnGatewayResponse, error)
Creates site to site vpn local gateway
func (*VPNService) DeleteRemoteAccessVpn ¶
func (s *VPNService) DeleteRemoteAccessVpn(p *DeleteRemoteAccessVpnParams) (*DeleteRemoteAccessVpnResponse, error)
Destroys a l2tp/ipsec remote access vpn
func (*VPNService) DeleteVpnConnection ¶
func (s *VPNService) DeleteVpnConnection(p *DeleteVpnConnectionParams) (*DeleteVpnConnectionResponse, error)
Delete site to site vpn connection
func (*VPNService) DeleteVpnCustomerGateway ¶
func (s *VPNService) DeleteVpnCustomerGateway(p *DeleteVpnCustomerGatewayParams) (*DeleteVpnCustomerGatewayResponse, error)
Delete site to site vpn customer gateway
func (*VPNService) DeleteVpnGateway ¶
func (s *VPNService) DeleteVpnGateway(p *DeleteVpnGatewayParams) (*DeleteVpnGatewayResponse, error)
Delete site to site vpn gateway
func (*VPNService) GetRemoteAccessVpnID ¶
func (s *VPNService) GetRemoteAccessVpnID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*VPNService) GetVpnConnectionID ¶
func (s *VPNService) GetVpnConnectionID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*VPNService) GetVpnCustomerGatewayID ¶
func (s *VPNService) GetVpnCustomerGatewayID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*VPNService) GetVpnGatewayID ¶
func (s *VPNService) GetVpnGatewayID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*VPNService) GetVpnUserID ¶
func (s *VPNService) GetVpnUserID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*VPNService) ListRemoteAccessVpns ¶
func (s *VPNService) ListRemoteAccessVpns(p *ListRemoteAccessVpnsParams) (*ListRemoteAccessVpnsResponse, error)
Lists remote access vpns
func (*VPNService) ListVpnConnections ¶
func (s *VPNService) ListVpnConnections(p *ListVpnConnectionsParams) (*ListVpnConnectionsResponse, error)
Lists site to site vpn connection gateways
func (*VPNService) ListVpnCustomerGateways ¶
func (s *VPNService) ListVpnCustomerGateways(p *ListVpnCustomerGatewaysParams) (*ListVpnCustomerGatewaysResponse, error)
Lists site to site vpn customer gateways
func (*VPNService) ListVpnGateways ¶
func (s *VPNService) ListVpnGateways(p *ListVpnGatewaysParams) (*ListVpnGatewaysResponse, error)
Lists site 2 site vpn gateways
func (*VPNService) ListVpnUsers ¶
func (s *VPNService) ListVpnUsers(p *ListVpnUsersParams) (*ListVpnUsersResponse, error)
Lists vpn users
func (*VPNService) NewAddVpnUserParams ¶
func (s *VPNService) NewAddVpnUserParams(password string, username string) *AddVpnUserParams
You should always use this function to get a new AddVpnUserParams instance, as then you are sure you have configured all required params
func (*VPNService) NewCreateRemoteAccessVpnParams ¶
func (s *VPNService) NewCreateRemoteAccessVpnParams(publicipid string) *CreateRemoteAccessVpnParams
You should always use this function to get a new CreateRemoteAccessVpnParams instance, as then you are sure you have configured all required params
func (*VPNService) NewCreateVpnConnectionParams ¶
func (s *VPNService) NewCreateVpnConnectionParams(s2scustomergatewayid string, s2svpngatewayid string) *CreateVpnConnectionParams
You should always use this function to get a new CreateVpnConnectionParams instance, as then you are sure you have configured all required params
func (*VPNService) NewCreateVpnCustomerGatewayParams ¶
func (s *VPNService) NewCreateVpnCustomerGatewayParams(cidrlist string, esppolicy string, gateway string, ikepolicy string, ipsecpsk string) *CreateVpnCustomerGatewayParams
You should always use this function to get a new CreateVpnCustomerGatewayParams instance, as then you are sure you have configured all required params
func (*VPNService) NewCreateVpnGatewayParams ¶
func (s *VPNService) NewCreateVpnGatewayParams(vpcid string) *CreateVpnGatewayParams
You should always use this function to get a new CreateVpnGatewayParams instance, as then you are sure you have configured all required params
func (*VPNService) NewDeleteRemoteAccessVpnParams ¶
func (s *VPNService) NewDeleteRemoteAccessVpnParams(publicipid string) *DeleteRemoteAccessVpnParams
You should always use this function to get a new DeleteRemoteAccessVpnParams instance, as then you are sure you have configured all required params
func (*VPNService) NewDeleteVpnConnectionParams ¶
func (s *VPNService) NewDeleteVpnConnectionParams(id string) *DeleteVpnConnectionParams
You should always use this function to get a new DeleteVpnConnectionParams instance, as then you are sure you have configured all required params
func (*VPNService) NewDeleteVpnCustomerGatewayParams ¶
func (s *VPNService) NewDeleteVpnCustomerGatewayParams(id string) *DeleteVpnCustomerGatewayParams
You should always use this function to get a new DeleteVpnCustomerGatewayParams instance, as then you are sure you have configured all required params
func (*VPNService) NewDeleteVpnGatewayParams ¶
func (s *VPNService) NewDeleteVpnGatewayParams(id string) *DeleteVpnGatewayParams
You should always use this function to get a new DeleteVpnGatewayParams instance, as then you are sure you have configured all required params
func (*VPNService) NewListRemoteAccessVpnsParams ¶
func (s *VPNService) NewListRemoteAccessVpnsParams() *ListRemoteAccessVpnsParams
You should always use this function to get a new ListRemoteAccessVpnsParams instance, as then you are sure you have configured all required params
func (*VPNService) NewListVpnConnectionsParams ¶
func (s *VPNService) NewListVpnConnectionsParams() *ListVpnConnectionsParams
You should always use this function to get a new ListVpnConnectionsParams instance, as then you are sure you have configured all required params
func (*VPNService) NewListVpnCustomerGatewaysParams ¶
func (s *VPNService) NewListVpnCustomerGatewaysParams() *ListVpnCustomerGatewaysParams
You should always use this function to get a new ListVpnCustomerGatewaysParams instance, as then you are sure you have configured all required params
func (*VPNService) NewListVpnGatewaysParams ¶
func (s *VPNService) NewListVpnGatewaysParams() *ListVpnGatewaysParams
You should always use this function to get a new ListVpnGatewaysParams instance, as then you are sure you have configured all required params
func (*VPNService) NewListVpnUsersParams ¶
func (s *VPNService) NewListVpnUsersParams() *ListVpnUsersParams
You should always use this function to get a new ListVpnUsersParams instance, as then you are sure you have configured all required params
func (*VPNService) NewRemoveVpnUserParams ¶
func (s *VPNService) NewRemoveVpnUserParams(username string) *RemoveVpnUserParams
You should always use this function to get a new RemoveVpnUserParams instance, as then you are sure you have configured all required params
func (*VPNService) NewResetVpnConnectionParams ¶
func (s *VPNService) NewResetVpnConnectionParams(id string) *ResetVpnConnectionParams
You should always use this function to get a new ResetVpnConnectionParams instance, as then you are sure you have configured all required params
func (*VPNService) NewUpdateVpnCustomerGatewayParams ¶
func (s *VPNService) NewUpdateVpnCustomerGatewayParams(cidrlist string, esppolicy string, gateway string, id string, ikepolicy string, ipsecpsk string) *UpdateVpnCustomerGatewayParams
You should always use this function to get a new UpdateVpnCustomerGatewayParams instance, as then you are sure you have configured all required params
func (*VPNService) RemoveVpnUser ¶
func (s *VPNService) RemoveVpnUser(p *RemoveVpnUserParams) (*RemoveVpnUserResponse, error)
Removes vpn user
func (*VPNService) ResetVpnConnection ¶
func (s *VPNService) ResetVpnConnection(p *ResetVpnConnectionParams) (*ResetVpnConnectionResponse, error)
Reset site to site vpn connection
func (*VPNService) UpdateVpnCustomerGateway ¶
func (s *VPNService) UpdateVpnCustomerGateway(p *UpdateVpnCustomerGatewayParams) (*UpdateVpnCustomerGatewayResponse, error)
Update site to site vpn customer gateway
type VirtualMachine ¶
type VirtualMachine struct { Hostname string `json:"hostname,omitempty"` Rootdevicetype string `json:"rootdevicetype,omitempty"` Domain string `json:"domain,omitempty"` Isodisplaytext string `json:"isodisplaytext,omitempty"` Cpuspeed int `json:"cpuspeed,omitempty"` Rootdeviceid int `json:"rootdeviceid,omitempty"` Projectid string `json:"projectid,omitempty"` Diskiowrite int `json:"diskiowrite,omitempty"` Displayname string `json:"displayname,omitempty"` Instancename string `json:"instancename,omitempty"` Project string `json:"project,omitempty"` Displayvm bool `json:"displayvm,omitempty"` Templateid string `json:"templateid,omitempty"` Groupid string `json:"groupid,omitempty"` Id string `json:"id,omitempty"` Publicipid string `json:"publicipid,omitempty"` State string `json:"state,omitempty"` Memory int `json:"memory,omitempty"` Servicestate string `json:"servicestate,omitempty"` Publicip string `json:"publicip,omitempty"` Name string `json:"name,omitempty"` Hostid string `json:"hostid,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Diskkbswrite int `json:"diskkbswrite,omitempty"` Diskkbsread int `json:"diskkbsread,omitempty"` Templatename string `json:"templatename,omitempty"` Isoname string `json:"isoname,omitempty"` Isoid string `json:"isoid,omitempty"` Networkkbsread int `json:"networkkbsread,omitempty"` Group string `json:"group,omitempty"` Diskioread int `json:"diskioread,omitempty"` Zonename string `json:"zonename,omitempty"` Affinitygroup []struct { Type string `json:"type,omitempty"` Account string `json:"account,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Id string `json:"id,omitempty"` Domain string `json:"domain,omitempty"` VirtualmachineIds []string `json:"virtualmachineIds,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"affinitygroup,omitempty"` Securitygroup []struct { Tags []struct { Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` Customer string `json:"customer,omitempty"` Value string `json:"value,omitempty"` Project string `json:"project,omitempty"` Key string `json:"key,omitempty"` Resourceid string `json:"resourceid,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domain string `json:"domain,omitempty"` Account string `json:"account,omitempty"` } `json:"tags,omitempty"` Egressrule []struct { Protocol string `json:"protocol,omitempty"` Endport int `json:"endport,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` Ruleid string `json:"ruleid,omitempty"` Cidr string `json:"cidr,omitempty"` Account string `json:"account,omitempty"` Startport int `json:"startport,omitempty"` Icmptype int `json:"icmptype,omitempty"` } `json:"egressrule,omitempty"` Domain string `json:"domain,omitempty"` Project string `json:"project,omitempty"` Name string `json:"name,omitempty"` Projectid string `json:"projectid,omitempty"` Id string `json:"id,omitempty"` Account string `json:"account,omitempty"` Ingressrule []struct { Startport int `json:"startport,omitempty"` Cidr string `json:"cidr,omitempty"` Securitygroupname string `json:"securitygroupname,omitempty"` Protocol string `json:"protocol,omitempty"` Icmptype int `json:"icmptype,omitempty"` Ruleid string `json:"ruleid,omitempty"` Endport int `json:"endport,omitempty"` Account string `json:"account,omitempty"` Icmpcode int `json:"icmpcode,omitempty"` } `json:"ingressrule,omitempty"` Description string `json:"description,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"securitygroup,omitempty"` Nic []struct { Broadcasturi string `json:"broadcasturi,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Id string `json:"id,omitempty"` Gateway string `json:"gateway,omitempty"` Traffictype string `json:"traffictype,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Netmask string `json:"netmask,omitempty"` Networkid string `json:"networkid,omitempty"` Secondaryip []string `json:"secondaryip,omitempty"` Networkname string `json:"networkname,omitempty"` Type string `json:"type,omitempty"` Ip6address string `json:"ip6address,omitempty"` Isolationuri string `json:"isolationuri,omitempty"` Macaddress string `json:"macaddress,omitempty"` Isdefault bool `json:"isdefault,omitempty"` } `json:"nic,omitempty"` Cpuused string `json:"cpuused,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Networkkbswrite int `json:"networkkbswrite,omitempty"` Passwordenabled bool `json:"passwordenabled,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Guestosid string `json:"guestosid,omitempty"` Domainid string `json:"domainid,omitempty"` Templatedisplaytext string `json:"templatedisplaytext,omitempty"` Details map[string]string `json:"details,omitempty"` Zoneid string `json:"zoneid,omitempty"` Password string `json:"password,omitempty"` Keypair string `json:"keypair,omitempty"` Tags []struct { Customer string `json:"customer,omitempty"` Account string `json:"account,omitempty"` Resourceid string `json:"resourceid,omitempty"` Value string `json:"value,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Project string `json:"project,omitempty"` Key string `json:"key,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` } `json:"tags,omitempty"` Account string `json:"account,omitempty"` Cpunumber int `json:"cpunumber,omitempty"` Created string `json:"created,omitempty"` Haenable bool `json:"haenable,omitempty"` Isdynamicallyscalable bool `json:"isdynamicallyscalable,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` }
type VirtualMachineService ¶
type VirtualMachineService struct {
// contains filtered or unexported fields
}
func NewVirtualMachineService ¶
func NewVirtualMachineService(cs *CloudStackClient) *VirtualMachineService
func (*VirtualMachineService) AddNicToVirtualMachine ¶
func (s *VirtualMachineService) AddNicToVirtualMachine(p *AddNicToVirtualMachineParams) (*AddNicToVirtualMachineResponse, error)
Adds VM to specified network by creating a NIC
func (*VirtualMachineService) AssignVirtualMachine ¶
func (s *VirtualMachineService) AssignVirtualMachine(p *AssignVirtualMachineParams) (*AssignVirtualMachineResponse, error)
Change ownership of a VM from one account to another. This API is available for Basic zones with security groups and Advanced zones with guest networks. A root administrator can reassign a VM from any account to any other account in any domain. A domain administrator can reassign a VM to any account in the same domain.
func (*VirtualMachineService) ChangeServiceForVirtualMachine ¶
func (s *VirtualMachineService) ChangeServiceForVirtualMachine(p *ChangeServiceForVirtualMachineParams) (*ChangeServiceForVirtualMachineResponse, error)
Changes the service offering for a virtual machine. The virtual machine must be in a "Stopped" state for this command to take effect.
func (*VirtualMachineService) CleanVMReservations ¶
func (s *VirtualMachineService) CleanVMReservations(p *CleanVMReservationsParams) (*CleanVMReservationsResponse, error)
Cleanups VM reservations in the database.
func (*VirtualMachineService) DeployVirtualMachine ¶
func (s *VirtualMachineService) DeployVirtualMachine(p *DeployVirtualMachineParams) (*DeployVirtualMachineResponse, error)
Creates and automatically starts a virtual machine based on a service offering, disk offering, and template.
func (*VirtualMachineService) DestroyVirtualMachine ¶
func (s *VirtualMachineService) DestroyVirtualMachine(p *DestroyVirtualMachineParams) (*DestroyVirtualMachineResponse, error)
Destroys a virtual machine. Once destroyed, only the administrator can recover it.
func (*VirtualMachineService) ExpungeVirtualMachine ¶
func (s *VirtualMachineService) ExpungeVirtualMachine(p *ExpungeVirtualMachineParams) (*ExpungeVirtualMachineResponse, error)
Expunge a virtual machine. Once expunged, it cannot be recoverd.
func (*VirtualMachineService) GetVMPassword ¶
func (s *VirtualMachineService) GetVMPassword(p *GetVMPasswordParams) (*GetVMPasswordResponse, error)
Returns an encrypted password for the VM
func (*VirtualMachineService) GetVirtualMachineID ¶
func (s *VirtualMachineService) GetVirtualMachineID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*VirtualMachineService) ListVirtualMachines ¶
func (s *VirtualMachineService) ListVirtualMachines(p *ListVirtualMachinesParams) (*ListVirtualMachinesResponse, error)
List the virtual machines owned by the account.
func (*VirtualMachineService) MigrateVirtualMachine ¶
func (s *VirtualMachineService) MigrateVirtualMachine(p *MigrateVirtualMachineParams) (*MigrateVirtualMachineResponse, error)
Attempts Migration of a VM to a different host or Root volume of the vm to a different storage pool
func (*VirtualMachineService) MigrateVirtualMachineWithVolume ¶
func (s *VirtualMachineService) MigrateVirtualMachineWithVolume(p *MigrateVirtualMachineWithVolumeParams) (*MigrateVirtualMachineWithVolumeResponse, error)
Attempts Migration of a VM with its volumes to a different host
func (*VirtualMachineService) NewAddNicToVirtualMachineParams ¶
func (s *VirtualMachineService) NewAddNicToVirtualMachineParams(networkid string, virtualmachineid string) *AddNicToVirtualMachineParams
You should always use this function to get a new AddNicToVirtualMachineParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewAssignVirtualMachineParams ¶
func (s *VirtualMachineService) NewAssignVirtualMachineParams(account string, domainid string, virtualmachineid string) *AssignVirtualMachineParams
You should always use this function to get a new AssignVirtualMachineParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewChangeServiceForVirtualMachineParams ¶
func (s *VirtualMachineService) NewChangeServiceForVirtualMachineParams(id string, serviceofferingid string) *ChangeServiceForVirtualMachineParams
You should always use this function to get a new ChangeServiceForVirtualMachineParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewCleanVMReservationsParams ¶
func (s *VirtualMachineService) NewCleanVMReservationsParams() *CleanVMReservationsParams
You should always use this function to get a new CleanVMReservationsParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewDeployVirtualMachineParams ¶
func (s *VirtualMachineService) NewDeployVirtualMachineParams(serviceofferingid string, templateid string, zoneid string) *DeployVirtualMachineParams
You should always use this function to get a new DeployVirtualMachineParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewDestroyVirtualMachineParams ¶
func (s *VirtualMachineService) NewDestroyVirtualMachineParams(id string) *DestroyVirtualMachineParams
You should always use this function to get a new DestroyVirtualMachineParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewExpungeVirtualMachineParams ¶
func (s *VirtualMachineService) NewExpungeVirtualMachineParams(id string) *ExpungeVirtualMachineParams
You should always use this function to get a new ExpungeVirtualMachineParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewGetVMPasswordParams ¶
func (s *VirtualMachineService) NewGetVMPasswordParams(id string) *GetVMPasswordParams
You should always use this function to get a new GetVMPasswordParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewListVirtualMachinesParams ¶
func (s *VirtualMachineService) NewListVirtualMachinesParams() *ListVirtualMachinesParams
You should always use this function to get a new ListVirtualMachinesParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewMigrateVirtualMachineParams ¶
func (s *VirtualMachineService) NewMigrateVirtualMachineParams(virtualmachineid string) *MigrateVirtualMachineParams
You should always use this function to get a new MigrateVirtualMachineParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewMigrateVirtualMachineWithVolumeParams ¶
func (s *VirtualMachineService) NewMigrateVirtualMachineWithVolumeParams(hostid string, virtualmachineid string) *MigrateVirtualMachineWithVolumeParams
You should always use this function to get a new MigrateVirtualMachineWithVolumeParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewRebootVirtualMachineParams ¶
func (s *VirtualMachineService) NewRebootVirtualMachineParams(id string) *RebootVirtualMachineParams
You should always use this function to get a new RebootVirtualMachineParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewRecoverVirtualMachineParams ¶
func (s *VirtualMachineService) NewRecoverVirtualMachineParams(id string) *RecoverVirtualMachineParams
You should always use this function to get a new RecoverVirtualMachineParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewRemoveNicFromVirtualMachineParams ¶
func (s *VirtualMachineService) NewRemoveNicFromVirtualMachineParams(nicid string, virtualmachineid string) *RemoveNicFromVirtualMachineParams
You should always use this function to get a new RemoveNicFromVirtualMachineParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewResetPasswordForVirtualMachineParams ¶
func (s *VirtualMachineService) NewResetPasswordForVirtualMachineParams(id string) *ResetPasswordForVirtualMachineParams
You should always use this function to get a new ResetPasswordForVirtualMachineParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewRestoreVirtualMachineParams ¶
func (s *VirtualMachineService) NewRestoreVirtualMachineParams(virtualmachineid string) *RestoreVirtualMachineParams
You should always use this function to get a new RestoreVirtualMachineParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewScaleVirtualMachineParams ¶
func (s *VirtualMachineService) NewScaleVirtualMachineParams(id string, serviceofferingid string) *ScaleVirtualMachineParams
You should always use this function to get a new ScaleVirtualMachineParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewStartVirtualMachineParams ¶
func (s *VirtualMachineService) NewStartVirtualMachineParams(id string) *StartVirtualMachineParams
You should always use this function to get a new StartVirtualMachineParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewStopVirtualMachineParams ¶
func (s *VirtualMachineService) NewStopVirtualMachineParams(id string) *StopVirtualMachineParams
You should always use this function to get a new StopVirtualMachineParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewUpdateDefaultNicForVirtualMachineParams ¶
func (s *VirtualMachineService) NewUpdateDefaultNicForVirtualMachineParams(nicid string, virtualmachineid string) *UpdateDefaultNicForVirtualMachineParams
You should always use this function to get a new UpdateDefaultNicForVirtualMachineParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) NewUpdateVirtualMachineParams ¶
func (s *VirtualMachineService) NewUpdateVirtualMachineParams(id string) *UpdateVirtualMachineParams
You should always use this function to get a new UpdateVirtualMachineParams instance, as then you are sure you have configured all required params
func (*VirtualMachineService) RebootVirtualMachine ¶
func (s *VirtualMachineService) RebootVirtualMachine(p *RebootVirtualMachineParams) (*RebootVirtualMachineResponse, error)
Reboots a virtual machine.
func (*VirtualMachineService) RecoverVirtualMachine ¶
func (s *VirtualMachineService) RecoverVirtualMachine(p *RecoverVirtualMachineParams) (*RecoverVirtualMachineResponse, error)
Recovers a virtual machine.
func (*VirtualMachineService) RemoveNicFromVirtualMachine ¶
func (s *VirtualMachineService) RemoveNicFromVirtualMachine(p *RemoveNicFromVirtualMachineParams) (*RemoveNicFromVirtualMachineResponse, error)
Removes VM from specified network by deleting a NIC
func (*VirtualMachineService) ResetPasswordForVirtualMachine ¶
func (s *VirtualMachineService) ResetPasswordForVirtualMachine(p *ResetPasswordForVirtualMachineParams) (*ResetPasswordForVirtualMachineResponse, error)
Resets the password for virtual machine. The virtual machine must be in a "Stopped" state and the template must already support this feature for this command to take effect. [async]
func (*VirtualMachineService) RestoreVirtualMachine ¶
func (s *VirtualMachineService) RestoreVirtualMachine(p *RestoreVirtualMachineParams) (*RestoreVirtualMachineResponse, error)
Restore a VM to original template/ISO or new template/ISO
func (*VirtualMachineService) ScaleVirtualMachine ¶
func (s *VirtualMachineService) ScaleVirtualMachine(p *ScaleVirtualMachineParams) (*ScaleVirtualMachineResponse, error)
Scales the virtual machine to a new service offering.
func (*VirtualMachineService) StartVirtualMachine ¶
func (s *VirtualMachineService) StartVirtualMachine(p *StartVirtualMachineParams) (*StartVirtualMachineResponse, error)
Starts a virtual machine.
func (*VirtualMachineService) StopVirtualMachine ¶
func (s *VirtualMachineService) StopVirtualMachine(p *StopVirtualMachineParams) (*StopVirtualMachineResponse, error)
Stops a virtual machine.
func (*VirtualMachineService) UpdateDefaultNicForVirtualMachine ¶
func (s *VirtualMachineService) UpdateDefaultNicForVirtualMachine(p *UpdateDefaultNicForVirtualMachineParams) (*UpdateDefaultNicForVirtualMachineResponse, error)
Changes the default NIC on a VM
func (*VirtualMachineService) UpdateVirtualMachine ¶
func (s *VirtualMachineService) UpdateVirtualMachine(p *UpdateVirtualMachineParams) (*UpdateVirtualMachineResponse, error)
Updates properties of a virtual machine. The VM has to be stopped and restarted for the new properties to take effect. UpdateVirtualMachine does not first check whether the VM is stopped. Therefore, stop the VM manually before issuing this call.
type VirtualRouterElement ¶
type VirtualRouterElement struct { Projectid string `json:"projectid,omitempty"` Id string `json:"id,omitempty"` Domainid string `json:"domainid,omitempty"` Enabled bool `json:"enabled,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` Nspid string `json:"nspid,omitempty"` }
type VlanIpRange ¶
type VlanIpRange struct { Project string `json:"project,omitempty"` Networkid string `json:"networkid,omitempty"` Physicalnetworkid string `json:"physicalnetworkid,omitempty"` Forvirtualnetwork bool `json:"forvirtualnetwork,omitempty"` Endip string `json:"endip,omitempty"` Startip string `json:"startip,omitempty"` Projectid string `json:"projectid,omitempty"` Domainid string `json:"domainid,omitempty"` Id string `json:"id,omitempty"` Zoneid string `json:"zoneid,omitempty"` Vlan string `json:"vlan,omitempty"` Ip6cidr string `json:"ip6cidr,omitempty"` Gateway string `json:"gateway,omitempty"` Podname string `json:"podname,omitempty"` Netmask string `json:"netmask,omitempty"` Endipv6 string `json:"endipv6,omitempty"` Ip6gateway string `json:"ip6gateway,omitempty"` Description string `json:"description,omitempty"` Startipv6 string `json:"startipv6,omitempty"` Domain string `json:"domain,omitempty"` Podid string `json:"podid,omitempty"` Account string `json:"account,omitempty"` }
type Volume ¶
type Volume struct { Tags []struct { Key string `json:"key,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` Value string `json:"value,omitempty"` Resourceid string `json:"resourceid,omitempty"` Account string `json:"account,omitempty"` Project string `json:"project,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Projectid string `json:"projectid,omitempty"` Customer string `json:"customer,omitempty"` } `json:"tags,omitempty"` Vmname string `json:"vmname,omitempty"` Vmstate string `json:"vmstate,omitempty"` Projectid string `json:"projectid,omitempty"` Attached string `json:"attached,omitempty"` Hypervisor string `json:"hypervisor,omitempty"` Virtualmachineid string `json:"virtualmachineid,omitempty"` Path string `json:"path,omitempty"` Zonename string `json:"zonename,omitempty"` Miniops int `json:"miniops,omitempty"` Isextractable bool `json:"isextractable,omitempty"` Snapshotid string `json:"snapshotid,omitempty"` DiskIopsWriteRate int `json:"diskIopsWriteRate,omitempty"` Id string `json:"id,omitempty"` Status string `json:"status,omitempty"` Storagetype string `json:"storagetype,omitempty"` Zoneid string `json:"zoneid,omitempty"` Diskofferingid string `json:"diskofferingid,omitempty"` State string `json:"state,omitempty"` Account string `json:"account,omitempty"` Size int `json:"size,omitempty"` DiskBytesWriteRate int `json:"diskBytesWriteRate,omitempty"` Serviceofferingdisplaytext string `json:"serviceofferingdisplaytext,omitempty"` Diskofferingdisplaytext string `json:"diskofferingdisplaytext,omitempty"` Domain string `json:"domain,omitempty"` Name string `json:"name,omitempty"` DiskBytesReadRate int `json:"diskBytesReadRate,omitempty"` Created string `json:"created,omitempty"` DiskIopsReadRate int `json:"diskIopsReadRate,omitempty"` Storageid string `json:"storageid,omitempty"` Serviceofferingid string `json:"serviceofferingid,omitempty"` Storage string `json:"storage,omitempty"` Project string `json:"project,omitempty"` Domainid string `json:"domainid,omitempty"` Vmdisplayname string `json:"vmdisplayname,omitempty"` Destroyed bool `json:"destroyed,omitempty"` Diskofferingname string `json:"diskofferingname,omitempty"` Displayvolume bool `json:"displayvolume,omitempty"` Quiescevm bool `json:"quiescevm,omitempty"` Deviceid int `json:"deviceid,omitempty"` Maxiops int `json:"maxiops,omitempty"` Serviceofferingname string `json:"serviceofferingname,omitempty"` Type string `json:"type,omitempty"` }
type VolumeService ¶
type VolumeService struct {
// contains filtered or unexported fields
}
func NewVolumeService ¶
func NewVolumeService(cs *CloudStackClient) *VolumeService
func (*VolumeService) AttachVolume ¶
func (s *VolumeService) AttachVolume(p *AttachVolumeParams) (*AttachVolumeResponse, error)
Attaches a disk volume to a virtual machine.
func (*VolumeService) CreateVolume ¶
func (s *VolumeService) CreateVolume(p *CreateVolumeParams) (*CreateVolumeResponse, error)
Creates a disk volume from a disk offering. This disk volume must still be attached to a virtual machine to make use of it.
func (*VolumeService) DeleteVolume ¶
func (s *VolumeService) DeleteVolume(p *DeleteVolumeParams) (*DeleteVolumeResponse, error)
Deletes a detached disk volume.
func (*VolumeService) DetachVolume ¶
func (s *VolumeService) DetachVolume(p *DetachVolumeParams) (*DetachVolumeResponse, error)
Detaches a disk volume from a virtual machine.
func (*VolumeService) ExtractVolume ¶
func (s *VolumeService) ExtractVolume(p *ExtractVolumeParams) (*ExtractVolumeResponse, error)
Extracts volume
func (*VolumeService) GetVolumeID ¶
func (s *VolumeService) GetVolumeID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*VolumeService) ListVolumes ¶
func (s *VolumeService) ListVolumes(p *ListVolumesParams) (*ListVolumesResponse, error)
Lists all volumes.
func (*VolumeService) MigrateVolume ¶
func (s *VolumeService) MigrateVolume(p *MigrateVolumeParams) (*MigrateVolumeResponse, error)
Migrate volume
func (*VolumeService) NewAttachVolumeParams ¶
func (s *VolumeService) NewAttachVolumeParams(id string, virtualmachineid string) *AttachVolumeParams
You should always use this function to get a new AttachVolumeParams instance, as then you are sure you have configured all required params
func (*VolumeService) NewCreateVolumeParams ¶
func (s *VolumeService) NewCreateVolumeParams(name string) *CreateVolumeParams
You should always use this function to get a new CreateVolumeParams instance, as then you are sure you have configured all required params
func (*VolumeService) NewDeleteVolumeParams ¶
func (s *VolumeService) NewDeleteVolumeParams(id string) *DeleteVolumeParams
You should always use this function to get a new DeleteVolumeParams instance, as then you are sure you have configured all required params
func (*VolumeService) NewDetachVolumeParams ¶
func (s *VolumeService) NewDetachVolumeParams() *DetachVolumeParams
You should always use this function to get a new DetachVolumeParams instance, as then you are sure you have configured all required params
func (*VolumeService) NewExtractVolumeParams ¶
func (s *VolumeService) NewExtractVolumeParams(id string, mode string, zoneid string) *ExtractVolumeParams
You should always use this function to get a new ExtractVolumeParams instance, as then you are sure you have configured all required params
func (*VolumeService) NewListVolumesParams ¶
func (s *VolumeService) NewListVolumesParams() *ListVolumesParams
You should always use this function to get a new ListVolumesParams instance, as then you are sure you have configured all required params
func (*VolumeService) NewMigrateVolumeParams ¶
func (s *VolumeService) NewMigrateVolumeParams(storageid string, volumeid string) *MigrateVolumeParams
You should always use this function to get a new MigrateVolumeParams instance, as then you are sure you have configured all required params
func (*VolumeService) NewResizeVolumeParams ¶
func (s *VolumeService) NewResizeVolumeParams() *ResizeVolumeParams
You should always use this function to get a new ResizeVolumeParams instance, as then you are sure you have configured all required params
func (*VolumeService) NewUpdateVolumeParams ¶
func (s *VolumeService) NewUpdateVolumeParams() *UpdateVolumeParams
You should always use this function to get a new UpdateVolumeParams instance, as then you are sure you have configured all required params
func (*VolumeService) NewUploadVolumeParams ¶
func (s *VolumeService) NewUploadVolumeParams(format string, name string, url string, zoneid string) *UploadVolumeParams
You should always use this function to get a new UploadVolumeParams instance, as then you are sure you have configured all required params
func (*VolumeService) ResizeVolume ¶
func (s *VolumeService) ResizeVolume(p *ResizeVolumeParams) (*ResizeVolumeResponse, error)
Resizes a volume
func (*VolumeService) UpdateVolume ¶
func (s *VolumeService) UpdateVolume(p *UpdateVolumeParams) (*UpdateVolumeResponse, error)
Updates the volume.
func (*VolumeService) UploadVolume ¶
func (s *VolumeService) UploadVolume(p *UploadVolumeParams) (*UploadVolumeResponse, error)
Uploads a data disk.
type VpnConnection ¶
type VpnConnection struct { S2svpngatewayid string `json:"s2svpngatewayid,omitempty"` State string `json:"state,omitempty"` Projectid string `json:"projectid,omitempty"` Project string `json:"project,omitempty"` Id string `json:"id,omitempty"` Gateway string `json:"gateway,omitempty"` Domainid string `json:"domainid,omitempty"` Account string `json:"account,omitempty"` Created string `json:"created,omitempty"` Ikelifetime int `json:"ikelifetime,omitempty"` Dpd bool `json:"dpd,omitempty"` Passive bool `json:"passive,omitempty"` Esplifetime int `json:"esplifetime,omitempty"` S2scustomergatewayid string `json:"s2scustomergatewayid,omitempty"` Publicip string `json:"publicip,omitempty"` Domain string `json:"domain,omitempty"` Ikepolicy string `json:"ikepolicy,omitempty"` Removed string `json:"removed,omitempty"` Esppolicy string `json:"esppolicy,omitempty"` Ipsecpsk string `json:"ipsecpsk,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` }
type VpnCustomerGateway ¶
type VpnCustomerGateway struct { Removed string `json:"removed,omitempty"` Project string `json:"project,omitempty"` Dpd bool `json:"dpd,omitempty"` Ikelifetime int `json:"ikelifetime,omitempty"` Esplifetime int `json:"esplifetime,omitempty"` Domainid string `json:"domainid,omitempty"` Name string `json:"name,omitempty"` Cidrlist string `json:"cidrlist,omitempty"` Domain string `json:"domain,omitempty"` Projectid string `json:"projectid,omitempty"` Ipsecpsk string `json:"ipsecpsk,omitempty"` Account string `json:"account,omitempty"` Ikepolicy string `json:"ikepolicy,omitempty"` Gateway string `json:"gateway,omitempty"` Ipaddress string `json:"ipaddress,omitempty"` Id string `json:"id,omitempty"` Esppolicy string `json:"esppolicy,omitempty"` }
type VpnGateway ¶
type VpnGateway struct { Project string `json:"project,omitempty"` Removed string `json:"removed,omitempty"` Projectid string `json:"projectid,omitempty"` Vpcid string `json:"vpcid,omitempty"` Account string `json:"account,omitempty"` Id string `json:"id,omitempty"` Publicip string `json:"publicip,omitempty"` Domain string `json:"domain,omitempty"` Domainid string `json:"domainid,omitempty"` }
type VpnUser ¶
type VpnUser struct { Domainid string `json:"domainid,omitempty"` Projectid string `json:"projectid,omitempty"` Username string `json:"username,omitempty"` Account string `json:"account,omitempty"` Id string `json:"id,omitempty"` Project string `json:"project,omitempty"` Domain string `json:"domain,omitempty"` State string `json:"state,omitempty"` }
type Zone ¶
type Zone struct { Capacity []struct { Zonename string `json:"zonename,omitempty"` Clusterid string `json:"clusterid,omitempty"` Capacityused int `json:"capacityused,omitempty"` Clustername string `json:"clustername,omitempty"` Type int `json:"type,omitempty"` Podid string `json:"podid,omitempty"` Zoneid string `json:"zoneid,omitempty"` Capacitytotal int `json:"capacitytotal,omitempty"` Percentused string `json:"percentused,omitempty"` Podname string `json:"podname,omitempty"` } `json:"capacity,omitempty"` Dns2 string `json:"dns2,omitempty"` Id string `json:"id,omitempty"` Guestcidraddress string `json:"guestcidraddress,omitempty"` Networktype string `json:"networktype,omitempty"` Tags []struct { Key string `json:"key,omitempty"` Customer string `json:"customer,omitempty"` Resourcetype string `json:"resourcetype,omitempty"` Domain string `json:"domain,omitempty"` Resourceid string `json:"resourceid,omitempty"` Account string `json:"account,omitempty"` Projectid string `json:"projectid,omitempty"` Value string `json:"value,omitempty"` Domainid string `json:"domainid,omitempty"` Project string `json:"project,omitempty"` } `json:"tags,omitempty"` Ip6dns1 string `json:"ip6dns1,omitempty"` Internaldns2 string `json:"internaldns2,omitempty"` Description string `json:"description,omitempty"` Domain string `json:"domain,omitempty"` Vlan string `json:"vlan,omitempty"` Name string `json:"name,omitempty"` Domainname string `json:"domainname,omitempty"` Localstorageenabled bool `json:"localstorageenabled,omitempty"` Dns1 string `json:"dns1,omitempty"` Dhcpprovider string `json:"dhcpprovider,omitempty"` Displaytext string `json:"displaytext,omitempty"` Ip6dns2 string `json:"ip6dns2,omitempty"` Resourcedetails map[string]string `json:"resourcedetails,omitempty"` Internaldns1 string `json:"internaldns1,omitempty"` Domainid string `json:"domainid,omitempty"` Securitygroupsenabled bool `json:"securitygroupsenabled,omitempty"` Allocationstate string `json:"allocationstate,omitempty"` Zonetoken string `json:"zonetoken,omitempty"` }
type ZoneService ¶
type ZoneService struct {
// contains filtered or unexported fields
}
func NewZoneService ¶
func NewZoneService(cs *CloudStackClient) *ZoneService
func (*ZoneService) AddVmwareDc ¶
func (s *ZoneService) AddVmwareDc(p *AddVmwareDcParams) (*AddVmwareDcResponse, error)
Adds a VMware datacenter to specified zone
func (*ZoneService) CreateZone ¶
func (s *ZoneService) CreateZone(p *CreateZoneParams) (*CreateZoneResponse, error)
Creates a Zone.
func (*ZoneService) DedicateZone ¶
func (s *ZoneService) DedicateZone(p *DedicateZoneParams) (*DedicateZoneResponse, error)
Dedicates a zones.
func (*ZoneService) DeleteZone ¶
func (s *ZoneService) DeleteZone(p *DeleteZoneParams) (*DeleteZoneResponse, error)
Deletes a Zone.
func (*ZoneService) GetDedicatedZoneID ¶
func (s *ZoneService) GetDedicatedZoneID(keyword string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*ZoneService) GetVmwareDcID ¶
func (s *ZoneService) GetVmwareDcID(keyword string, zoneid string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*ZoneService) GetZoneID ¶
func (s *ZoneService) GetZoneID(name string) (string, error)
This is a courtesy helper function, which in some cases may not work as expected!
func (*ZoneService) ListDedicatedZones ¶
func (s *ZoneService) ListDedicatedZones(p *ListDedicatedZonesParams) (*ListDedicatedZonesResponse, error)
List dedicated zones.
func (*ZoneService) ListVmwareDcs ¶
func (s *ZoneService) ListVmwareDcs(p *ListVmwareDcsParams) (*ListVmwareDcsResponse, error)
Retrieves VMware DC(s) associated with a zone.
func (*ZoneService) ListZones ¶
func (s *ZoneService) ListZones(p *ListZonesParams) (*ListZonesResponse, error)
Lists zones
func (*ZoneService) NewAddVmwareDcParams ¶
func (s *ZoneService) NewAddVmwareDcParams(name string, vcenter string, zoneid string) *AddVmwareDcParams
You should always use this function to get a new AddVmwareDcParams instance, as then you are sure you have configured all required params
func (*ZoneService) NewCreateZoneParams ¶
func (s *ZoneService) NewCreateZoneParams(dns1 string, internaldns1 string, name string, networktype string) *CreateZoneParams
You should always use this function to get a new CreateZoneParams instance, as then you are sure you have configured all required params
func (*ZoneService) NewDedicateZoneParams ¶
func (s *ZoneService) NewDedicateZoneParams(domainid string, zoneid string) *DedicateZoneParams
You should always use this function to get a new DedicateZoneParams instance, as then you are sure you have configured all required params
func (*ZoneService) NewDeleteZoneParams ¶
func (s *ZoneService) NewDeleteZoneParams(id string) *DeleteZoneParams
You should always use this function to get a new DeleteZoneParams instance, as then you are sure you have configured all required params
func (*ZoneService) NewListDedicatedZonesParams ¶
func (s *ZoneService) NewListDedicatedZonesParams() *ListDedicatedZonesParams
You should always use this function to get a new ListDedicatedZonesParams instance, as then you are sure you have configured all required params
func (*ZoneService) NewListVmwareDcsParams ¶
func (s *ZoneService) NewListVmwareDcsParams(zoneid string) *ListVmwareDcsParams
You should always use this function to get a new ListVmwareDcsParams instance, as then you are sure you have configured all required params
func (*ZoneService) NewListZonesParams ¶
func (s *ZoneService) NewListZonesParams() *ListZonesParams
You should always use this function to get a new ListZonesParams instance, as then you are sure you have configured all required params
func (*ZoneService) NewReleaseDedicatedZoneParams ¶
func (s *ZoneService) NewReleaseDedicatedZoneParams(zoneid string) *ReleaseDedicatedZoneParams
You should always use this function to get a new ReleaseDedicatedZoneParams instance, as then you are sure you have configured all required params
func (*ZoneService) NewRemoveVmwareDcParams ¶
func (s *ZoneService) NewRemoveVmwareDcParams(zoneid string) *RemoveVmwareDcParams
You should always use this function to get a new RemoveVmwareDcParams instance, as then you are sure you have configured all required params
func (*ZoneService) NewUpdateZoneParams ¶
func (s *ZoneService) NewUpdateZoneParams(id string) *UpdateZoneParams
You should always use this function to get a new UpdateZoneParams instance, as then you are sure you have configured all required params
func (*ZoneService) ReleaseDedicatedZone ¶
func (s *ZoneService) ReleaseDedicatedZone(p *ReleaseDedicatedZoneParams) (*ReleaseDedicatedZoneResponse, error)
Release dedication of zone
func (*ZoneService) RemoveVmwareDc ¶
func (s *ZoneService) RemoveVmwareDc(p *RemoveVmwareDcParams) (*RemoveVmwareDcResponse, error)
Remove a VMware datacenter from a zone.
func (*ZoneService) UpdateZone ¶
func (s *ZoneService) UpdateZone(p *UpdateZoneParams) (*UpdateZoneResponse, error)
Updates a Zone.
Source Files ¶
- APIDiscoveryService.go
- AccountService.go
- AddressService.go
- AffinityGroupService.go
- AlertService.go
- AsyncjobService.go
- AutoScaleService.go
- BaremetalService.go
- BigSwitchVNSService.go
- CertificateService.go
- CloudIdentifierService.go
- ClusterService.go
- ConfigurationService.go
- DiskOfferingService.go
- DomainService.go
- EventService.go
- ExtFirewallService.go
- ExtLoadBalancerService.go
- ExternalDeviceService.go
- FirewallService.go
- GuestOSService.go
- HostService.go
- HypervisorService.go
- ISOService.go
- ImageStoreService.go
- InternalLBService.go
- LDAPService.go
- LimitService.go
- LoadBalancerService.go
- LoginService.go
- LogoutService.go
- NATService.go
- NetworkACLService.go
- NetworkDeviceService.go
- NetworkOfferingService.go
- NetworkService.go
- NicService.go
- NiciraNVPService.go
- PodService.go
- PoolService.go
- PortableIPService.go
- ProjectService.go
- RegionService.go
- ResourcemetadataService.go
- ResourcetagsService.go
- RouterService.go
- S3Service.go
- SSHService.go
- SecurityGroupService.go
- ServiceOfferingService.go
- SnapshotService.go
- StoragePoolService.go
- StorageService.go
- StratosphereSSPService.go
- SwiftService.go
- SystemCapacityService.go
- SystemVMService.go
- TemplateService.go
- UCSService.go
- UsageService.go
- UserService.go
- VLANService.go
- VMGroupService.go
- VPCService.go
- VPNService.go
- VirtualMachineService.go
- VolumeService.go
- ZoneService.go
- cloudstack.go