Documentation ¶
Index ¶
- Constants
- func Provider() *schema.Provider
- type BankAccount
- type CloudNetworkPrivateCreateOpts
- type CloudNetworkPrivateRegion
- type CloudNetworkPrivateResponse
- type CloudNetworkPrivateUpdateOpts
- type CloudNetworkPrivatesCreateOpts
- type CloudNetworkPrivatesResponse
- type CloudRegionResponse
- type CloudServiceStatusResponse
- type CloudUser
- type CloudUserCreateOpts
- type CloudUserOpenstackRC
- type CloudUserRole
- type Config
- type CreditCard
- type DedicatedCeph
- type DedicatedCephACL
- type DedicatedCephACLCreateOpts
- type DedicatedCephACLType
- type DedicatedCephCrushTunable
- type DedicatedCephState
- type DedicatedCephStatus
- type DedicatedCephTask
- type DedicatedServer
- type DedicatedServerBoot
- type DedicatedServerInstallTaskCreateOpts
- type DedicatedServerInstallTaskDetails
- type DedicatedServerTask
- type DedicatedServerUpdateOpts
- type DedicatedServerVNI
- type DomainZone
- type HardwareRaid
- type HardwareRaidCreateOrUpdateOpts
- type IPLoadbalancingRefreshPending
- type IPLoadbalancingRefreshPendings
- type IPLoadbalancingRefreshTask
- type IPLoadbalancingRouteHTTP
- type IPLoadbalancingRouteHTTPAction
- type IPLoadbalancingRouteHTTPRule
- type IPPool
- type InstallationTemplate
- type InstallationTemplateCreateOpts
- type InstallationTemplateCustomization
- type InstallationTemplateUpdateOpts
- type IpLoadbalancing
- type IpLoadbalancingDefinedFarm
- type IpLoadbalancingFarm
- type IpLoadbalancingFarmBackendProbe
- type IpLoadbalancingFarmCreateOrUpdateOpts
- type IpLoadbalancingFarmServer
- type IpLoadbalancingFarmServerCreateOpts
- type IpLoadbalancingFarmServerUpdateOpts
- type IpLoadbalancingHttpFrontend
- type IpLoadbalancingOrderableZone
- type IpLoadbalancingTcpFrontend
- type IpLoadbalancingVrackNetwork
- type IpLoadbalancingVrackNetworkCreateOpts
- type IpLoadbalancingVrackNetworkUpdateOpts
- type MeIpxeScriptCreateOpts
- type MeIpxeScriptResponse
- type MeSshKeyCreateOpts
- type MeSshKeyResponse
- type MeSshKeyUpdateOpts
- type OvhAuthCurrentCredential
- type OvhDomainZoneRecord
- type OvhDomainZoneRedirection
- type OvhIpReverse
- type Partition
- type PartitionCreateOpts
- type PartitionScheme
- type PartitionSchemeCreateOrUpdateOpts
- type PartitionUpdateOpts
- type TaskOpts
- type UnitAndValue
- type VPS
- type VPSDatacenter
- type VPSModel
- type VPSProperties
- type VrackCloudProject
- type VrackCloudProjectCreateOpts
- type VrackDedicatedServer
- type VrackDedicatedServerCreateOpts
- type VrackDedicatedServerInterface
- type VrackDedicatedServerInterfaceCreateOpts
- type VrackIpLoadbalancing
- type VrackIpLoadbalancingCreateOpts
- type VrackTask
Constants ¶
View Source
const ( CrushTunableOptimal DedicatedCephCrushTunable = "OPTIMAL" CrushTunableDefault DedicatedCephCrushTunable = "DEFAULT" CrushTunableLegacy DedicatedCephCrushTunable = "LEGACY" CrushTunableBobtail DedicatedCephCrushTunable = "BOBTAIL" CrushTunableArgonaut DedicatedCephCrushTunable = "ARGONAUT" CrushTunableFirefly DedicatedCephCrushTunable = "FIREFLY" CrushTunableHammer DedicatedCephCrushTunable = "HAMMER" CrushTunablEjewel DedicatedCephCrushTunable = "JEWEL" StateActive DedicatedCephState = "ACTIVE" StateSuspended DedicatedCephState = "SUSPENDED" ACLTypeIPv4 DedicatedCephACLType = "IPV4" ACLTypeIPv6 DedicatedCephACLType = "IPV6" StatusCreating DedicatedCephStatus = "CREATING" StatusInstalled DedicatedCephStatus = "INSTALLED" StatusDeleting DedicatedCephStatus = "DELETING" StatusDeleted DedicatedCephStatus = "DELETED" StatusTaskInProgress DedicatedCephStatus = "TASK_IN_PROGRESS" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BankAccount ¶ added in v0.3.0
type BankAccount struct { Description string `json:"description"` Default bool `json:"defaultPaymentMean"` State string `json:"state"` Id int `json:"id"` ValidationDocumentLink string `json:"validationDocumentLink"` UniqueReference string `json:"uniqueReference"` CreationDate string `json:"creationDate"` MandateSignatureDate string `json:"mandateSignatureDate"` OwnerName string `json:"ownerName"` OwnerAddress string `json:"ownerAddress"` Iban string `json:"iban"` Bic string `json:"bic"` }
type CloudNetworkPrivateCreateOpts ¶ added in v0.6.0
type CloudNetworkPrivateCreateOpts struct { ProjectId string `json:"serviceName"` VlanId int `json:"vlanId"` Name string `json:"name"` Regions []string `json:"regions"` }
Opts
func (*CloudNetworkPrivateCreateOpts) String ¶ added in v0.6.0
func (p *CloudNetworkPrivateCreateOpts) String() string
type CloudNetworkPrivateRegion ¶ added in v0.6.0
type CloudNetworkPrivateRegion struct { Status string `json:"status"` Region string `json:"region"` }
func (*CloudNetworkPrivateRegion) String ¶ added in v0.6.0
func (p *CloudNetworkPrivateRegion) String() string
type CloudNetworkPrivateResponse ¶ added in v0.6.0
type CloudNetworkPrivateResponse struct { Id string `json:"id"` Status string `json:"status"` Vlanid int `json:"vlanId"` Name string `json:"name"` Type string `json:"type"` Regions []*CloudNetworkPrivateRegion `json:"regions"` }
func (*CloudNetworkPrivateResponse) String ¶ added in v0.6.0
func (p *CloudNetworkPrivateResponse) String() string
type CloudNetworkPrivateUpdateOpts ¶ added in v0.6.0
type CloudNetworkPrivateUpdateOpts struct {
Name string `json:"name"`
}
Opts
type CloudNetworkPrivatesCreateOpts ¶ added in v0.6.0
type CloudNetworkPrivatesCreateOpts struct { ProjectId string `json:"serviceName"` NetworkId string `json:"networkId"` Dhcp bool `json:"dhcp"` NoGateway bool `json:"noGateway"` Start string `json:"start"` End string `json:"end"` Network string `json:"network"` Region string `json:"region"` }
Opts
func (*CloudNetworkPrivatesCreateOpts) String ¶ added in v0.6.0
func (p *CloudNetworkPrivatesCreateOpts) String() string
type CloudNetworkPrivatesResponse ¶ added in v0.6.0
type CloudNetworkPrivatesResponse struct { Id string `json:"id"` GatewayIp string `json:"gatewayIp"` Cidr string `json:"cidr"` IPPools []*IPPool `json:"ipPools"` }
func (*CloudNetworkPrivatesResponse) String ¶ added in v0.6.0
func (p *CloudNetworkPrivatesResponse) String() string
type CloudRegionResponse ¶ added in v0.6.0
type CloudRegionResponse struct { ContinentCode string `json:"continentCode"` DatacenterLocation string `json:"datacenterLocation"` Name string `json:"name"` Services []CloudServiceStatusResponse `json:"services"` }
func (*CloudRegionResponse) HasServiceUp ¶ added in v0.6.0
func (r *CloudRegionResponse) HasServiceUp(service string) bool
func (*CloudRegionResponse) String ¶ added in v0.6.0
func (r *CloudRegionResponse) String() string
type CloudServiceStatusResponse ¶ added in v0.6.0
func (*CloudServiceStatusResponse) String ¶ added in v0.6.0
func (s *CloudServiceStatusResponse) String() string
type CloudUser ¶ added in v0.9.0
type CloudUserCreateOpts ¶ added in v0.6.0
type CloudUserCreateOpts struct { Description *string `json:"description,omitempty"` Role *string `json:"role,omitempty"` Roles []string `json:"roles"` }
Opts
func (*CloudUserCreateOpts) FromResource ¶ added in v0.9.0
func (opts *CloudUserCreateOpts) FromResource(d *schema.ResourceData) *CloudUserCreateOpts
func (*CloudUserCreateOpts) String ¶ added in v0.6.0
func (p *CloudUserCreateOpts) String() string
type CloudUserOpenstackRC ¶ added in v0.6.0
type CloudUserOpenstackRC struct {
Content string `json:"content"`
}
type CloudUserRole ¶ added in v0.9.0
type CloudUserRole struct { Description string `json:"description"` Id string `json:"id"` Name string `json:"name"` Permissions []string `json:"permissions"` }
func (CloudUserRole) ToMap ¶ added in v0.9.0
func (r CloudUserRole) ToMap() map[string]interface{}
type CreditCard ¶ added in v0.3.0
type CreditCard struct { Description string `json:"description"` Number string `json:"number"` Expiration string `json:"expirationDate"` Default bool `json:"defaultPaymentMean"` State string `json:"state"` ThreeDSValidated bool `json:"threeDsValidated"` Id int `json:"id"` Type string `json:"type"` }
type DedicatedCeph ¶ added in v0.9.0
type DedicatedCeph struct { ServiceName string `json:"serviceName"` CephMonitors []string `json:"cephMons"` CephVersion string `json:"cephVersion"` CrushTunables DedicatedCephCrushTunable `json:"crushTunables"` Label string `json:"label"` Region string `json:"region"` Size float32 `json:"size"` State DedicatedCephState `json:"state"` Status DedicatedCephStatus `json:"status"` }
type DedicatedCephACL ¶ added in v0.9.0
type DedicatedCephACL struct { Id int `json:"id"` Family DedicatedCephACLType `json:"family"` Netmask string `json:"netmask"` Network string `json:"network"` }
type DedicatedCephACLCreateOpts ¶ added in v0.9.0
type DedicatedCephACLCreateOpts struct {
AclList []string `json:"aclList"`
}
func (*DedicatedCephACLCreateOpts) FromResource ¶ added in v0.9.0
func (opts *DedicatedCephACLCreateOpts) FromResource(d *schema.ResourceData) *DedicatedCephACLCreateOpts
type DedicatedCephACLType ¶ added in v0.9.0
type DedicatedCephACLType string
type DedicatedCephCrushTunable ¶ added in v0.9.0
type DedicatedCephCrushTunable string
type DedicatedCephState ¶ added in v0.9.0
type DedicatedCephState string
type DedicatedCephStatus ¶ added in v0.9.0
type DedicatedCephStatus string
type DedicatedCephTask ¶ added in v0.9.0
type DedicatedServer ¶ added in v0.6.0
type DedicatedServer struct { Name string `json:"name"` BootId int `json:"bootId"` CommercialRange string `json:"commercialRange"` Datacenter string `json:"datacenter"` Ip string `json:"ip"` LinkSpeed int `json:"linkSpeed"` Monitoring bool `json:"monitoring"` Os string `json:"os"` ProfessionalUse bool `json:"professionalUse"` Rack string `json:"rack"` RescueMail string `json:"rescueMail"` Reverse string `json:"reverse"` RootDevice string `json:"rootDevice"` ServerId int `json:"serverId"` State string `json:"state"` SupportLevel string `json:"supportLevel"` }
func (DedicatedServer) String ¶ added in v0.6.0
func (ds DedicatedServer) String() string
type DedicatedServerBoot ¶ added in v0.6.0
type DedicatedServerInstallTaskCreateOpts ¶ added in v0.6.0
type DedicatedServerInstallTaskCreateOpts struct { TemplateName string `json:"templateName"` PartitionSchemeName *string `json:"partitionSchemeName,omitempty"` Details *DedicatedServerInstallTaskDetails `json:"details"` }
func (*DedicatedServerInstallTaskCreateOpts) FromResource ¶ added in v0.6.0
func (opts *DedicatedServerInstallTaskCreateOpts) FromResource(d *schema.ResourceData) *DedicatedServerInstallTaskCreateOpts
type DedicatedServerInstallTaskDetails ¶ added in v0.6.0
type DedicatedServerInstallTaskDetails struct { CustomHostname *string `json:"customHostname,omitempty"` DiskGroupId *int64 `json:"diskGroupId,omitempty"` InstallRTM *bool `json:"installRTM,omitempty"` InstallSqlServer *bool `json:"installSqlServer,omitempty"` Language *string `json:"language,omitempty"` NoRaid *bool `json:"noRaid,omitempty"` PostInstallationScriptLink *string `json:"postInstallationScriptLink,omitempty"` PostInstallationScriptReturn *string `json:"postInstallationScriptReturn,omitempty"` ResetHwRaid *bool `json:"resetHwRaid,omitempty"` SoftRaidDevices *int64 `json:"softRaidDevices,omitempty"` SshKeyName *string `json:"sshKeyName,omitempty"` UseDistribKernel *bool `json:"useDistribKernel,omitempty"` UseSpla *bool `json:"useSpla,omitempty"` }
func (*DedicatedServerInstallTaskDetails) FromResource ¶ added in v0.6.0
func (opts *DedicatedServerInstallTaskDetails) FromResource(d *schema.ResourceData, parent string) *DedicatedServerInstallTaskDetails
type DedicatedServerTask ¶ added in v0.6.0
type DedicatedServerUpdateOpts ¶ added in v0.6.0
type DedicatedServerUpdateOpts struct { BootId *int64 `json:"bootId,omitempty"` Monitoring *bool `json:"monitoring,omitempty"` State *string `json:"state,omitempty"` }
func (*DedicatedServerUpdateOpts) FromResource ¶ added in v0.6.0
func (opts *DedicatedServerUpdateOpts) FromResource(d *schema.ResourceData) *DedicatedServerUpdateOpts
type DedicatedServerVNI ¶ added in v0.6.0
type DedicatedServerVNI struct { Enabled bool `json:"enabled"` Mode string `json:"mode"` Name string `json:"name"` NICs []string `json:"networkInterfaceController"` ServerName string `json:"serverName"` Uuid string `json:"uuid"` Vrack *string `json:"vrack,omitempty"` }
func (DedicatedServerVNI) String ¶ added in v0.6.0
func (vni DedicatedServerVNI) String() string
func (DedicatedServerVNI) ToMap ¶ added in v0.6.0
func (v DedicatedServerVNI) ToMap() map[string]interface{}
type DomainZone ¶ added in v0.3.0
type HardwareRaid ¶ added in v0.6.0
type HardwareRaid struct { Disks []string `json:"disks"` Mode string `json:"mode"` Name string `json:"name"` Step int `json:"step"` }
func (HardwareRaid) ToMap ¶ added in v0.6.0
func (v HardwareRaid) ToMap() map[string]interface{}
type HardwareRaidCreateOrUpdateOpts ¶ added in v0.6.0
type HardwareRaidCreateOrUpdateOpts struct {
HardwareRaid
}
func (*HardwareRaidCreateOrUpdateOpts) FromResource ¶ added in v0.6.0
func (opts *HardwareRaidCreateOrUpdateOpts) FromResource(d *schema.ResourceData) *HardwareRaidCreateOrUpdateOpts
type IPLoadbalancingRefreshPending ¶ added in v0.4.0
type IPLoadbalancingRefreshPendings ¶ added in v0.4.0
type IPLoadbalancingRefreshPendings []IPLoadbalancingRefreshPending
type IPLoadbalancingRefreshTask ¶ added in v0.4.0
type IPLoadbalancingRouteHTTP ¶ added in v0.3.0
type IPLoadbalancingRouteHTTP struct { Status string `json:"status,omitempty"` //Route status. Routes in "ok" state are ready to operate Weight int `json:"weight,omitempty"` //Route priority ([0..255]). 0 if null. Highest priority routes are evaluated first. Only the first matching route will trigger an action Action *IPLoadbalancingRouteHTTPAction `json:"action,omitempty"` //Action triggered when all rules match RouteID int `json:"routeId,omitempty"` //Id of your route DisplayName string `json:"displayName,omitempty"` //Human readable name for your route, this field is for you FrontendID int `json:"frontendId,omitempty"` //Route traffic for this frontend }
IPLoadbalancingRouteHTTP HTTP Route
type IPLoadbalancingRouteHTTPAction ¶ added in v0.3.0
type IPLoadbalancingRouteHTTPAction struct { Target string `json:"target,omitempty"` // Farm ID for "farm" action type or URL template for "redirect" action. You may use ${uri}, ${protocol}, ${host}, ${port} and ${path} variables in redirect target Status int `json:"status,omitempty"` // HTTP status code for "redirect" and "reject" actions Type string `json:"type,omitempty"` // Action to trigger if all the rules of this route matches }
IPLoadbalancingRouteHTTPAction Action triggered when all rules match
type IPLoadbalancingRouteHTTPRule ¶ added in v0.3.0
type IPLoadbalancingRouteHTTPRule struct { RuleID int `json:"ruleId,omitempty"` //Id of your rule RouteID int `json:"routeId,omitempty"` //Id of your route DisplayName string `json:"displayName,omitempty"` //Human readable name for your rule Field string `json:"field,omitempty"` //Name of the field to match like "protocol" or "host". See "/ipLoadbalancing/{serviceName}/availableRouteRules" for a list of available rules Match string `json:"match,omitempty"` //Matching operator. Not all operators are available for all fields. See "/ipLoadbalancing/{serviceName}/availableRouteRules" Negate bool `json:"negate,omitempty"` //Invert the matching operator effect Pattern string `json:"pattern,omitempty"` //Value to match against this match. Interpretation if this field depends on the match and field SubField string `json:"subField,omitempty"` //Name of sub-field, if applicable. This may be a Cookie or Header name for instance }
IPLoadbalancingRouteHTTPRule HTTP Route Rule
type IPPool ¶
type InstallationTemplate ¶ added in v0.6.0
type InstallationTemplate struct { AvailableLanguages []string `json:"available_languages"` Beta *bool `json:"beta,omitempty"` BitFormat int `json:"bitFormat"` Category string `json:"category"` Customization *InstallationTemplateCustomization `json:"customization,omitempty"` DefaultLanguage string `json:"defaultLanguage"` Deprecated *bool `json:"deprecated,omitempty"` Description string `json:"description"` Distribution string `json:"distribution"` Family string `json:"family"` Filesystems []string `json:"filesystems"` HardRaidConfiguration *bool `json:"hardRaidConfigurtion,omitempty"` LastModification *string `json:"last_modification"` LvmReady *bool `json:"lvmReady,omitempty"` SupportsDistributionKernel *bool `json:"supportsDistributionKernel,omitempty"` SupportsGptLabel *bool `json:"supportsGptLabel,omitempty"` SupportsRTM bool `json:"supportsRTM"` SupportsSqlServer *bool `json:"supportsSqlServer,omitempty"` SupportsUEFI *string `json:"supportsUEFI,omitempty"` TemplateName string `json:"templateName"` }
func (InstallationTemplate) ToMap ¶ added in v0.6.0
func (v InstallationTemplate) ToMap() map[string]interface{}
type InstallationTemplateCreateOpts ¶ added in v0.6.0
type InstallationTemplateCreateOpts struct { BaseTemplateName string `json:"baseTemplateName"` Name string `json:"name"` DefaultLanguage string `json:"defaultLanguage"` }
func (*InstallationTemplateCreateOpts) FromResource ¶ added in v0.6.0
func (opts *InstallationTemplateCreateOpts) FromResource(d *schema.ResourceData) *InstallationTemplateCreateOpts
type InstallationTemplateCustomization ¶ added in v0.6.0
type InstallationTemplateCustomization struct { ChangeLog *string `json:"changeLog,omitempty"` CustomHostname *string `json:"customHostname,omitempty"` PostInstallationScriptLink *string `json:"postInstallationScriptLink,omitempty"` PostInstallationScriptReturn *string `json:"postInstallationScriptReturn,omitempty"` Rating *int `json:"rating,omitempty"` SshKeyName *string `json:"sshKeyName,omitempty"` UseDistributionKernel *bool `json:"useDistributionKernel,omitempty"` }
func (*InstallationTemplateCustomization) FromResource ¶ added in v0.6.0
func (opts *InstallationTemplateCustomization) FromResource(d *schema.ResourceData, parent string) *InstallationTemplateCustomization
func (InstallationTemplateCustomization) ToMap ¶ added in v0.6.0
func (v InstallationTemplateCustomization) ToMap() map[string]interface{}
type InstallationTemplateUpdateOpts ¶ added in v0.6.0
type InstallationTemplateUpdateOpts struct { DefaultLanguage string `json:"defaultLanguage"` Customization *InstallationTemplateCustomization `json:"customization"` TemplateName string `json:"templateName"` }
func (*InstallationTemplateUpdateOpts) FromResource ¶ added in v0.6.0
func (opts *InstallationTemplateUpdateOpts) FromResource(d *schema.ResourceData) *InstallationTemplateUpdateOpts
type IpLoadbalancing ¶ added in v0.3.0
type IpLoadbalancing struct { IPv6 string `json:"ipv6,omitempty"` IPv4 string `json:"ipv4,omitempty"` MetricsToken string `json:"metricsToken,omitempty"` Zone []string `json:"zone"` Offer string `json:"offer"` ServiceName string `json:"serviceName"` IpLoadbalancing string `json:"ipLoadbalancing"` State string `json:"state"` OrderableZones []*IpLoadbalancingOrderableZone `json:"orderableZone"` VrackEligibility bool `json:"vrackEligibility"` VrackName string `json:"vrackName"` SslConfiguration string `json:"sslConfiguration"` DisplayName string `json:"displayName"` }
type IpLoadbalancingDefinedFarm ¶ added in v0.6.0
func (IpLoadbalancingDefinedFarm) ToMap ¶ added in v0.6.0
func (v IpLoadbalancingDefinedFarm) ToMap() map[string]interface{}
type IpLoadbalancingFarm ¶ added in v0.8.0
type IpLoadbalancingFarm struct { Balance *string `json:"balance,omitempty"` DisplayName *string `json:"displayName,omitempty"` FarmId int `json:"farmId"` Port *int `json:"port,omitempty"` Probe *IpLoadbalancingFarmBackendProbe `json:"probe,omitempty"` Stickiness *string `json:"stickiness,omitempty"` VrackNetworkId *int64 `json:"vrackNetworkId,omitempty"` Zone string `json:"zone"` }
type IpLoadbalancingFarmBackendProbe ¶ added in v0.8.0
type IpLoadbalancingFarmBackendProbe struct { ForceSsl *bool `json:"forceSsl"` Interval *int `json:"interval,omitempty"` Match *string `json:"match,omitempty"` Method *string `json:"method,omitempty"` Negate *bool `json:"negate"` Pattern *string `json:"pattern,omitempty"` Port *int `json:"port,omitempty"` Type *string `json:"type,omitempty"` URL *string `json:"url,omitempty"` }
func (*IpLoadbalancingFarmBackendProbe) FromResource ¶ added in v0.8.0
func (opts *IpLoadbalancingFarmBackendProbe) FromResource(d *schema.ResourceData, parent string) *IpLoadbalancingFarmBackendProbe
func (IpLoadbalancingFarmBackendProbe) ToMap ¶ added in v0.8.0
func (v IpLoadbalancingFarmBackendProbe) ToMap() map[string]interface{}
type IpLoadbalancingFarmCreateOrUpdateOpts ¶ added in v0.8.0
type IpLoadbalancingFarmCreateOrUpdateOpts struct { Balance *string `json:"balance,omitempty"` DisplayName *string `json:"displayName,omitempty"` Port *int `json:"port,omitempty"` Probe *IpLoadbalancingFarmBackendProbe `json:"probe,omitempty"` Stickiness *string `json:"stickiness,omitempty"` VrackNetworkId *int64 `json:"vrackNetworkId,omitempty"` Zone string `json:"zone"` }
func (*IpLoadbalancingFarmCreateOrUpdateOpts) FromResource ¶ added in v0.8.0
func (opts *IpLoadbalancingFarmCreateOrUpdateOpts) FromResource(d *schema.ResourceData) *IpLoadbalancingFarmCreateOrUpdateOpts
type IpLoadbalancingFarmServer ¶ added in v0.8.0
type IpLoadbalancingFarmServer struct { Address string `json:"address"` Backup *bool `json:"backup"` Chain *string `json:"chain"` Cookie *string `json:"cookie"` DisplayName *string `json:"displayName"` FarmId int `json:"backendId"` Port *int `json:"port"` Probe *bool `json:"probe"` ProxyProtocolVersion *string `json:"proxyProtocolVersion"` ServerId int `json:"serverId"` Ssl *bool `json:"ssl"` Status string `json:"status"` Weight *int `json:"weight"` }
func (IpLoadbalancingFarmServer) ToMap ¶ added in v0.8.0
func (v IpLoadbalancingFarmServer) ToMap() map[string]interface{}
type IpLoadbalancingFarmServerCreateOpts ¶ added in v0.8.0
type IpLoadbalancingFarmServerCreateOpts struct { Address string `json:"address"` Backup *bool `json:"backup"` Chain *string `json:"chain,omitempty"` Cookie *string `json:"cookie,omitempty"` DisplayName *string `json:"displayName,omitempty"` Port *int `json:"port,omitempty"` Probe *bool `json:"probe"` ProxyProtocolVersion *string `json:"proxyProtocolVersion,omitempty"` Ssl *bool `json:"ssl"` Status string `json:"status"` Weight *int `json:"weight,omitempty"` }
type IpLoadbalancingFarmServerUpdateOpts ¶ added in v0.8.0
type IpLoadbalancingFarmServerUpdateOpts struct { Address *string `json:"address"` Backup *bool `json:"backup"` Chain *string `json:"chain"` Cookie *string `json:"cookie,omitempty"` DisplayName *string `json:"displayName"` Port *int `json:"port,omitempty"` Probe *bool `json:"probe"` ProxyProtocolVersion *string `json:"proxyProtocolVersion"` Ssl *bool `json:"ssl"` Status *string `json:"status"` Weight *int `json:"weight,omitempty"` }
type IpLoadbalancingHttpFrontend ¶ added in v0.6.0
type IpLoadbalancingHttpFrontend struct { FrontendId int `json:"frontendId,omitempty"` Port string `json:"port"` Zone string `json:"zone"` AllowedSource []string `json:"allowedSource"` DedicatedIpFo []string `json:"dedicatedIpfo"` DefaultFarmId *int `json:"defaultFarmId,omitempty"` DefaultSslId *int `json:"defaultSslId,omitempty"` Disabled bool `json:"disabled"` Ssl bool `json:"ssl"` DisplayName string `json:"displayName"` }
type IpLoadbalancingOrderableZone ¶ added in v0.3.0
type IpLoadbalancingTcpFrontend ¶ added in v0.4.0
type IpLoadbalancingTcpFrontend struct { FrontendId int `json:"frontendId,omitempty"` Port string `json:"port"` Zone string `json:"zone"` AllowedSource []string `json:"allowedSource"` DedicatedIpFo []string `json:"dedicatedIpfo"` DefaultFarmId *int `json:"defaultFarmId,omitempty"` DefaultSslId *int `json:"defaultSslId,omitempty"` Disabled bool `json:"disabled"` Ssl bool `json:"ssl"` DisplayName string `json:"displayName"` }
type IpLoadbalancingVrackNetwork ¶ added in v0.6.0
type IpLoadbalancingVrackNetwork struct { Subnet string `json:"subnet"` Vlan int64 `json:"vlan"` VrackNetworkId int64 `json:"vrackNetworkId"` DisplayName *string `json:"displayName,omitempty"` NatIp string `json:"natIp"` }
func (IpLoadbalancingVrackNetwork) ToMap ¶ added in v0.6.0
func (v IpLoadbalancingVrackNetwork) ToMap() map[string]interface{}
type IpLoadbalancingVrackNetworkCreateOpts ¶ added in v0.6.0
type IpLoadbalancingVrackNetworkCreateOpts struct { Subnet string `json:"subnet"` Vlan *int64 `json:"vlan,omitempty"` DisplayName *string `json:"displayName,omitempty"` NatIp string `json:"natIp"` }
func (*IpLoadbalancingVrackNetworkCreateOpts) FromResource ¶ added in v0.6.0
func (opts *IpLoadbalancingVrackNetworkCreateOpts) FromResource(d *schema.ResourceData) *IpLoadbalancingVrackNetworkCreateOpts
type IpLoadbalancingVrackNetworkUpdateOpts ¶ added in v0.6.0
type IpLoadbalancingVrackNetworkUpdateOpts struct { Vlan *int64 `json:"vlan,omitempty"` DisplayName *string `json:"displayName,omitempty"` NatIp *string `json:"natIp,omitempty"` }
func (*IpLoadbalancingVrackNetworkUpdateOpts) FromResource ¶ added in v0.6.0
func (opts *IpLoadbalancingVrackNetworkUpdateOpts) FromResource(d *schema.ResourceData) *IpLoadbalancingVrackNetworkUpdateOpts
type MeIpxeScriptCreateOpts ¶ added in v0.8.0
type MeIpxeScriptCreateOpts struct { Description string `json:"description"` Name string `json:"name"` Script string `json:"script"` }
MeIpxeScript Opts
type MeIpxeScriptResponse ¶ added in v0.8.0
func (*MeIpxeScriptResponse) String ¶ added in v0.8.0
func (s *MeIpxeScriptResponse) String() string
type MeSshKeyCreateOpts ¶ added in v0.6.0
MeSshKey Opts
type MeSshKeyResponse ¶ added in v0.6.0
type MeSshKeyResponse struct { KeyName string `json:"keyName"` Key string `json:"key"` Default bool `json:"default"` }
func (*MeSshKeyResponse) String ¶ added in v0.6.0
func (s *MeSshKeyResponse) String() string
type MeSshKeyUpdateOpts ¶ added in v0.6.0
type MeSshKeyUpdateOpts struct {
Default bool `json:"default"`
}
type OvhAuthCurrentCredential ¶ added in v0.3.0
type OvhAuthCurrentCredential struct { OvhSupport bool `json:"ovhSupport"` Status string `json:"status"` ApplicationId int64 `json:"applicationId"` CredentialId int64 `json:"credentialId"` Rules []ovh.AccessRule `json:"rules"` Expiration time.Time `json:"expiration"` LastUse time.Time `json:"lastUse"` Creation time.Time `json:"creation"` }
type OvhDomainZoneRecord ¶ added in v0.3.0
type OvhDomainZoneRecord struct { Id int64 `json:"id,omitempty"` Zone string `json:"zone,omitempty"` Target string `json:"target"` Ttl int `json:"ttl,omitempty"` FieldType string `json:"fieldType"` SubDomain string `json:"subDomain,omitempty"` }
func (*OvhDomainZoneRecord) String ¶ added in v0.4.0
func (r *OvhDomainZoneRecord) String() string
type OvhDomainZoneRedirection ¶ added in v0.3.0
type OvhDomainZoneRedirection struct { Id int `json:"id,omitempty"` Zone string `json:"zone,omitempty"` Target string `json:"target,omitempty"` SubDomain string `json:"subDomain"` Type string `json:"type,omitempty"` Description string `json:"description"` Keywords string `json:"keywords"` Title string `json:"title"` }
type OvhIpReverse ¶ added in v0.4.0
type Partition ¶ added in v0.6.0
type PartitionCreateOpts ¶ added in v0.6.0
type PartitionCreateOpts struct { Filesystem string `json:"filesystem"` Mountpoint string `json:"mountpoint"` Step int `json:"step"` Raid *string `json:"raid,omitempty"` Size int `json:"size"` Type string `json:"type"` VolumeName *string `json:"volumeName,omitempty"` }
func (*PartitionCreateOpts) FromResource ¶ added in v0.6.0
func (opts *PartitionCreateOpts) FromResource(d *schema.ResourceData) *PartitionCreateOpts
type PartitionScheme ¶ added in v0.6.0
func (PartitionScheme) ToMap ¶ added in v0.6.0
func (v PartitionScheme) ToMap() map[string]interface{}
type PartitionSchemeCreateOrUpdateOpts ¶ added in v0.6.0
type PartitionSchemeCreateOrUpdateOpts struct {
PartitionScheme
}
func (*PartitionSchemeCreateOrUpdateOpts) FromResource ¶ added in v0.6.0
func (opts *PartitionSchemeCreateOrUpdateOpts) FromResource(d *schema.ResourceData) *PartitionSchemeCreateOrUpdateOpts
type PartitionUpdateOpts ¶ added in v0.6.0
type PartitionUpdateOpts struct {
Partition
}
func (*PartitionUpdateOpts) FromResource ¶ added in v0.6.0
func (opts *PartitionUpdateOpts) FromResource(d *schema.ResourceData) *PartitionUpdateOpts
type UnitAndValue ¶ added in v0.6.0
func (UnitAndValue) ToMap ¶ added in v0.6.0
func (v UnitAndValue) ToMap() map[string]interface{}
type VPS ¶ added in v0.7.0
type VPS struct { Name string `json:"name"` Cluster string `json:"cluster"` Memory int `json:"memoryLimit"` NetbootMode string `json:"netbootMode"` Keymap string `json:"keymap"` Zone string `json:"zone"` State string `json:"state"` Vcore int `json:"vcore"` OfferType string `json:"offerType"` SlaMonitorting bool `json:"slaMonitoring"` DisplayName string `json:"displayName"` Model VPSModel `json:"model"` }
type VPSDatacenter ¶ added in v0.7.0
type VPSProperties ¶ added in v0.7.0
type VrackCloudProject ¶ added in v0.6.0
type VrackCloudProjectCreateOpts ¶ added in v0.6.0
type VrackCloudProjectCreateOpts struct {
Project string `json:"project"`
}
func (*VrackCloudProjectCreateOpts) FromResource ¶ added in v0.6.0
func (opts *VrackCloudProjectCreateOpts) FromResource(d *schema.ResourceData) *VrackCloudProjectCreateOpts
type VrackDedicatedServer ¶ added in v0.6.0
type VrackDedicatedServerCreateOpts ¶ added in v0.6.0
type VrackDedicatedServerCreateOpts struct {
DedicatedServer string `json:"dedicatedServer"`
}
func (*VrackDedicatedServerCreateOpts) FromResource ¶ added in v0.6.0
func (opts *VrackDedicatedServerCreateOpts) FromResource(d *schema.ResourceData) *VrackDedicatedServerCreateOpts
type VrackDedicatedServerInterface ¶ added in v0.6.0
type VrackDedicatedServerInterfaceCreateOpts ¶ added in v0.6.0
type VrackDedicatedServerInterfaceCreateOpts struct {
DedicatedServerInterface string `json:"dedicatedServerInterface"`
}
func (*VrackDedicatedServerInterfaceCreateOpts) FromResource ¶ added in v0.6.0
func (opts *VrackDedicatedServerInterfaceCreateOpts) FromResource(d *schema.ResourceData) *VrackDedicatedServerInterfaceCreateOpts
type VrackIpLoadbalancing ¶ added in v0.6.0
type VrackIpLoadbalancingCreateOpts ¶ added in v0.6.0
type VrackIpLoadbalancingCreateOpts struct {
IpLoadbalancing string `json:"ipLoadbalancing"`
}
func (*VrackIpLoadbalancingCreateOpts) FromResource ¶ added in v0.6.0
func (opts *VrackIpLoadbalancingCreateOpts) FromResource(d *schema.ResourceData) *VrackIpLoadbalancingCreateOpts
Source Files ¶
- config.go
- data_source_ovh_cloud_region.go
- data_source_ovh_cloud_regions.go
- data_source_ovh_dedicated_ceph.go
- data_source_ovh_dedicated_installation_templates.go
- data_source_ovh_dedicated_server.go
- data_source_ovh_dedicated_server_boots.go
- data_source_ovh_dedicated_servers.go
- data_source_ovh_domain_zone.go
- data_source_ovh_iploadbalancing.go
- data_source_ovh_iploadbalancing_vrack_network.go
- data_source_ovh_iploadbalancing_vrack_networks.go
- data_source_ovh_me_installation_template.go
- data_source_ovh_me_installation_templates.go
- data_source_ovh_me_ipxe_script.go
- data_source_ovh_me_ipxe_scripts.go
- data_source_ovh_me_paymentmean_bankaccount.go
- data_source_ovh_me_paymentmean_creditcard.go
- data_source_ovh_me_ssh_key.go
- data_source_ovh_me_ssh_keys.go
- data_source_ovh_vps.go
- data_source_ovh_vracks.go
- dedicated_server_task.go
- provider.go
- resource_ovh_cloud_network_private.go
- resource_ovh_cloud_network_private_subnet.go
- resource_ovh_cloud_user.go
- resource_ovh_dedicated_ceph_acl.go
- resource_ovh_dedicated_server_install_task.go
- resource_ovh_dedicated_server_reboot_task.go
- resource_ovh_dedicated_server_update.go
- resource_ovh_domain_zone_record.go
- resource_ovh_domain_zone_redirection.go
- resource_ovh_ip_reverse.go
- resource_ovh_iploadbalancing_http_farm.go
- resource_ovh_iploadbalancing_http_farm_server.go
- resource_ovh_iploadbalancing_http_frontend.go
- resource_ovh_iploadbalancing_http_route.go
- resource_ovh_iploadbalancing_http_route_rule.go
- resource_ovh_iploadbalancing_refresh.go
- resource_ovh_iploadbalancing_tcp_farm.go
- resource_ovh_iploadbalancing_tcp_farm_server.go
- resource_ovh_iploadbalancing_tcp_frontend.go
- resource_ovh_iploadbalancing_vrack_network.go
- resource_ovh_me_installation_template.go
- resource_ovh_me_installation_template_partition_scheme.go
- resource_ovh_me_installation_template_partition_scheme_hardware_raid.go
- resource_ovh_me_installation_template_partition_scheme_partition.go
- resource_ovh_me_ipxe_script.go
- resource_ovh_me_ssh_key.go
- resource_ovh_vrack_cloudproject.go
- resource_ovh_vrack_dedicated_server.go
- resource_ovh_vrack_dedicated_server_interface.go
- resource_ovh_vrack_ip_loadbalancing.go
- testing.go
- types.go
- types_cloud.go
- types_dedicated_ceph.go
- types_dedicated_server.go
- types_installation_template.go
- types_iploadbalancing.go
- types_me.go
- types_vps.go
- types_vrack.go
- vrack_task.go
Click to show internal directories.
Click to hide internal directories.