Documentation
¶
Index ¶
- Constants
- Variables
- func Provider() *schema.Provider
- type BankAccount
- type CloudProject
- type CloudProjectCapabilitiesContainerRegistry
- type CloudProjectCapabilitiesContainerRegistryPlan
- type CloudProjectCapabilitiesContainerRegistryPlanFeatures
- type CloudProjectCapabilitiesContainerRegistryPlanRegistryLimits
- type CloudProjectConfirmTerminationOpts
- type CloudProjectContainerRegistry
- type CloudProjectContainerRegistryCreateOpts
- type CloudProjectContainerRegistryPlanUpdateOpts
- type CloudProjectContainerRegistryUpdateOpts
- type CloudProjectContainerRegistryUser
- type CloudProjectContainerRegistryUserCreateOpts
- type CloudProjectKubeCreateOpts
- type CloudProjectKubeKubeConfigResponse
- type CloudProjectKubeNodePoolCreateOpts
- type CloudProjectKubeNodePoolResponse
- type CloudProjectKubeNodePoolUpdateOpts
- type CloudProjectKubeResponse
- type CloudProjectNetworkPrivateCreateOpts
- type CloudProjectNetworkPrivateRegion
- type CloudProjectNetworkPrivateResponse
- type CloudProjectNetworkPrivateUpdateOpts
- type CloudProjectNetworkPrivatesCreateOpts
- type CloudProjectNetworkPrivatesResponse
- type CloudProjectRegionResponse
- type CloudProjectUpdateOpts
- type CloudProjectUser
- type CloudProjectUserCreateOpts
- type CloudProjectUserOpenstackRC
- type CloudProjectUserRole
- type CloudServiceStatusResponse
- type Config
- type ConfirmTerminationFunc
- type CreditCard
- type DbaasLogsInput
- type DbaasLogsInputConfigurationFlowgger
- type DbaasLogsInputConfigurationLogstash
- type DbaasLogsInputEngine
- type DbaasLogsInputOpts
- type DbaasLogsOperation
- type DbaasLogsOutputGraylogStream
- type DbaasLogsOutputGraylogStreamCreateOpts
- type DbaasLogsOutputGraylogStreamUpdateOpts
- 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 DomainZoneConfirmTerminationOpts
- type HardwareRaid
- type HardwareRaidCreateOrUpdateOpts
- type IPLoadbalancingHttpRoute
- type IPLoadbalancingHttpRouteAction
- type IPLoadbalancingHttpRouteActionOpts
- type IPLoadbalancingHttpRouteOpts
- type IPLoadbalancingRefreshPending
- type IPLoadbalancingRefreshPendings
- type IPLoadbalancingRefreshTask
- type IPLoadbalancingRouteRule
- type IPLoadbalancingRouteRuleOpts
- type IPLoadbalancingTcpRoute
- type IPLoadbalancingTcpRouteAction
- type IPLoadbalancingTcpRouteActionOpts
- type IPLoadbalancingTcpRouteOpts
- type IPPool
- type InstallationTemplate
- type InstallationTemplateCreateOpts
- type InstallationTemplateCustomization
- type InstallationTemplateUpdateOpts
- type IpLoadbalancing
- type IpLoadbalancingConfirmTerminationOpts
- type IpLoadbalancingDefinedFarm
- type IpLoadbalancingFarm
- type IpLoadbalancingFarmBackendProbe
- type IpLoadbalancingFarmCreateOrUpdateOpts
- type IpLoadbalancingFarmServer
- type IpLoadbalancingFarmServerCreateOpts
- type IpLoadbalancingFarmServerUpdateOpts
- type IpLoadbalancingHttpFrontend
- type IpLoadbalancingOrderableZone
- type IpLoadbalancingTcpFrontend
- type IpLoadbalancingUpdateOpts
- type IpLoadbalancingVrackNetwork
- type IpLoadbalancingVrackNetworkCreateOpts
- type IpLoadbalancingVrackNetworkUpdateOpts
- type IpReverse
- type IpReverseCreateOpts
- type IpService
- type IpServiceConfirmTerminationOpts
- type IpServiceRoutedTo
- type IpServiceUpdateOpts
- type MeIdentityUserCreateOpts
- type MeIdentityUserResponse
- type MeIdentityUserUpdateOpts
- type MeIpxeScriptCreateOpts
- type MeIpxeScriptResponse
- type MeOrder
- type MeOrderDetail
- type MeOrderPaymentOpts
- type MePaymentMeanBankAccount
- type MePaymentMeanCreditCard
- type MePaymentMeanIcon
- type MePaymentMeanPaypal
- type MeSshKeyCreateOpts
- type MeSshKeyResponse
- type MeSshKeyUpdateOpts
- type NotificationEmail
- type OrderCart
- type OrderCartCreateOpts
- type OrderCartGenericOptions
- type OrderCartGenericProduct
- type OrderCartGenericProductPrice
- type OrderCartGenericProductPricePrice
- type OrderCartItem
- type OrderCartItemConfiguration
- type OrderCartItemConfigurationOpts
- type OrderCartItemCreateOpts
- type OrderCartItemDomainSettings
- type OrderCartPlanCreateOpts
- type OrderCartPlanOptionsCreateOpts
- type OvhAuthCurrentCredential
- type OvhDomainZoneRecord
- type OvhDomainZoneRedirection
- type Partition
- type PartitionCreateOpts
- type PartitionScheme
- type PartitionSchemeCreateOrUpdateOpts
- type PartitionUpdateOpts
- type TaskOpts
- type TerminateFunc
- type UnitAndValue
- type VPS
- type VPSDatacenter
- type VPSModel
- type VPSProperties
- type Vrack
- type VrackCloudProject
- type VrackCloudProjectCreateOpts
- type VrackDedicatedServer
- type VrackDedicatedServerCreateOpts
- type VrackDedicatedServerInterface
- type VrackDedicatedServerInterfaceCreateOpts
- type VrackIp
- type VrackIpCreateOpts
- type VrackIpLoadbalancing
- type VrackIpLoadbalancingCreateOpts
- type VrackTask
- type VrackUpdateOpts
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 ¶
View Source
var ( MePaymentMeanOvhAccountPaymentOpts = &MeOrderPaymentOpts{PaymentMean: "ovhAccount"} MePaymentMeanFidelityAccountPaymentOpts = &MeOrderPaymentOpts{PaymentMean: "fidelityAccount"} )
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 CloudProject ¶ added in v0.14.0
type CloudProject struct { Access string `json:"access"` Description *string `json:"description"` ProjectName *string `json:"projectName"` ProjectId string `json:"project_id"` Status string `json:"status"` }
func (CloudProject) ToMap ¶ added in v0.14.0
func (v CloudProject) ToMap() map[string]interface{}
type CloudProjectCapabilitiesContainerRegistry ¶ added in v0.12.0
type CloudProjectCapabilitiesContainerRegistry struct { RegionName string `json:"regionName"` Plans []CloudProjectCapabilitiesContainerRegistryPlan `json:"plans"` }
func (CloudProjectCapabilitiesContainerRegistry) ToMap ¶ added in v0.12.0
func (v CloudProjectCapabilitiesContainerRegistry) ToMap() map[string]interface{}
type CloudProjectCapabilitiesContainerRegistryPlan ¶ added in v0.12.0
type CloudProjectCapabilitiesContainerRegistryPlan struct { Code string `json:"code"` CreatedAt string `json:"createdAt"` Features CloudProjectCapabilitiesContainerRegistryPlanFeatures `json:"features"` Id string `json:"id"` Name string `json:"name"` RegistryLimits CloudProjectCapabilitiesContainerRegistryPlanRegistryLimits `json:"registryLimits"` UpdatedAt string `json:"updatedAt"` }
func (CloudProjectCapabilitiesContainerRegistryPlan) ToMap ¶ added in v0.12.0
func (v CloudProjectCapabilitiesContainerRegistryPlan) ToMap() map[string]interface{}
type CloudProjectCapabilitiesContainerRegistryPlanFeatures ¶ added in v0.12.0
type CloudProjectCapabilitiesContainerRegistryPlanFeatures struct {
Vulnerability bool `json:"vulnerability"`
}
func (CloudProjectCapabilitiesContainerRegistryPlanFeatures) ToMap ¶ added in v0.12.0
func (v CloudProjectCapabilitiesContainerRegistryPlanFeatures) ToMap() map[string]interface{}
type CloudProjectCapabilitiesContainerRegistryPlanRegistryLimits ¶ added in v0.12.0
type CloudProjectCapabilitiesContainerRegistryPlanRegistryLimits struct { ImageStorage int64 `json:"imageStorage"` ParallelRequest int64 `json:"parallelRequest"` }
func (CloudProjectCapabilitiesContainerRegistryPlanRegistryLimits) ToMap ¶ added in v0.12.0
func (v CloudProjectCapabilitiesContainerRegistryPlanRegistryLimits) ToMap() map[string]interface{}
type CloudProjectConfirmTerminationOpts ¶ added in v0.14.0
type CloudProjectConfirmTerminationOpts struct {
Token string `json:"token"`
}
type CloudProjectContainerRegistry ¶ added in v0.12.0
type CloudProjectContainerRegistry struct { CreatedAt string `json:"createdAt"` Id string `json:"id"` Name string `json:"name"` ProjectID string `json:"projectID"` Region string `json:"region"` Size int64 `json:"size"` Status string `json:"status"` UpdatedAt string `json:"updatedAt"` Url string `json:"url"` Version string `json:"version"` }
func (*CloudProjectContainerRegistry) String ¶ added in v0.12.0
func (p *CloudProjectContainerRegistry) String() string
func (CloudProjectContainerRegistry) ToMap ¶ added in v0.12.0
func (r CloudProjectContainerRegistry) ToMap() map[string]interface{}
type CloudProjectContainerRegistryCreateOpts ¶ added in v0.12.0
type CloudProjectContainerRegistryCreateOpts struct { Name string `json:"name"` Region string `json:"region"` PlanId *string `json:"planID,omitempty"` }
func (*CloudProjectContainerRegistryCreateOpts) FromResource ¶ added in v0.12.0
func (opts *CloudProjectContainerRegistryCreateOpts) FromResource(d *schema.ResourceData) *CloudProjectContainerRegistryCreateOpts
type CloudProjectContainerRegistryPlanUpdateOpts ¶ added in v0.12.0
type CloudProjectContainerRegistryPlanUpdateOpts struct {
PlanId string `json:"planID"`
}
func (*CloudProjectContainerRegistryPlanUpdateOpts) FromResource ¶ added in v0.12.0
func (opts *CloudProjectContainerRegistryPlanUpdateOpts) FromResource(d *schema.ResourceData) *CloudProjectContainerRegistryPlanUpdateOpts
type CloudProjectContainerRegistryUpdateOpts ¶ added in v0.12.0
type CloudProjectContainerRegistryUpdateOpts struct {
Name string `json:"name"`
}
func (*CloudProjectContainerRegistryUpdateOpts) FromResource ¶ added in v0.12.0
func (opts *CloudProjectContainerRegistryUpdateOpts) FromResource(d *schema.ResourceData) *CloudProjectContainerRegistryUpdateOpts
type CloudProjectContainerRegistryUser ¶ added in v0.12.0
type CloudProjectContainerRegistryUser struct { Email string `json:"email"` Id string `json:"id"` Password string `json:"password"` User string `json:"user"` }
func (*CloudProjectContainerRegistryUser) String ¶ added in v0.12.0
func (p *CloudProjectContainerRegistryUser) String() string
func (CloudProjectContainerRegistryUser) ToMap ¶ added in v0.12.0
func (r CloudProjectContainerRegistryUser) ToMap() map[string]interface{}
func (CloudProjectContainerRegistryUser) ToMapWithKeys ¶ added in v0.12.0
func (r CloudProjectContainerRegistryUser) ToMapWithKeys(keys []string) map[string]interface{}
type CloudProjectContainerRegistryUserCreateOpts ¶ added in v0.12.0
type CloudProjectContainerRegistryUserCreateOpts struct { Email string `json:"email"` Login string `json:"login"` }
func (*CloudProjectContainerRegistryUserCreateOpts) FromResource ¶ added in v0.12.0
func (opts *CloudProjectContainerRegistryUserCreateOpts) FromResource(d *schema.ResourceData) *CloudProjectContainerRegistryUserCreateOpts
type CloudProjectKubeCreateOpts ¶ added in v0.11.0
type CloudProjectKubeCreateOpts struct { Name *string `json:"name,omitempty"` PrivateNetworkId *string `json:"privateNetworkId,omitempty"` Region string `json:"region"` Version *string `json:"version,omitempty"` }
func (*CloudProjectKubeCreateOpts) FromResource ¶ added in v0.12.0
func (opts *CloudProjectKubeCreateOpts) FromResource(d *schema.ResourceData) *CloudProjectKubeCreateOpts
func (*CloudProjectKubeCreateOpts) String ¶ added in v0.11.0
func (s *CloudProjectKubeCreateOpts) String() string
type CloudProjectKubeKubeConfigResponse ¶ added in v0.11.0
type CloudProjectKubeKubeConfigResponse struct {
Content string `json:"content"`
}
type CloudProjectKubeNodePoolCreateOpts ¶ added in v0.11.0
type CloudProjectKubeNodePoolCreateOpts struct { AntiAffinity *bool `json:"antiAffinity,omitempty"` Autoscale *bool `json:"autoscale,omitempty"` DesiredNodes *int `json:"desiredNodes,omitempty"` FlavorName string `json:"flavorName"` MaxNodes *int `json:"maxNodes,omitempty"` MinNodes *int `json:"minNodes,omitempty"` MonthlyBilled *bool `json:"monthlyBilled,omitempty"` Name *string `json:"name,omitempty"` }
func (*CloudProjectKubeNodePoolCreateOpts) FromResource ¶ added in v0.12.0
func (opts *CloudProjectKubeNodePoolCreateOpts) FromResource(d *schema.ResourceData) *CloudProjectKubeNodePoolCreateOpts
func (*CloudProjectKubeNodePoolCreateOpts) String ¶ added in v0.11.0
func (s *CloudProjectKubeNodePoolCreateOpts) String() string
type CloudProjectKubeNodePoolResponse ¶ added in v0.11.0
type CloudProjectKubeNodePoolResponse struct { Autoscale bool `json:"autoscale"` AntiAffinity bool `json:"antiAffinity"` AvailableNodes int `json:"availableNodes"` CreatedAt string `json:"createdAt"` CurrentNodes int `json:"currentNodes"` DesiredNodes int `json:"desiredNodes"` Flavor string `json:"flavor"` Id string `json:"id"` MaxNodes int `json:"maxNodes"` MinNodes int `json:"minNodes"` MonthlyBilled bool `json:"monthlyBilled"` Name string `json:"name"` ProjectId string `json:"projectId"` SizeStatus string `json:"sizeStatus"` Status string `json:"status"` UpToDateNodes int `json:"upToDateNodes"` UpdatedAt string `json:"updatedAt"` }
func (*CloudProjectKubeNodePoolResponse) String ¶ added in v0.11.0
func (n *CloudProjectKubeNodePoolResponse) String() string
func (CloudProjectKubeNodePoolResponse) ToMap ¶ added in v0.12.0
func (v CloudProjectKubeNodePoolResponse) ToMap() map[string]interface{}
type CloudProjectKubeNodePoolUpdateOpts ¶ added in v0.11.0
type CloudProjectKubeNodePoolUpdateOpts struct { Autoscale *bool `json:"autoscale,omitempty"` DesiredNodes *int `json:"desiredNodes,omitempty"` MaxNodes *int `json:"maxNodes,omitempty"` MinNodes *int `json:"minNodes,omitempty"` }
func (*CloudProjectKubeNodePoolUpdateOpts) FromResource ¶ added in v0.12.0
func (opts *CloudProjectKubeNodePoolUpdateOpts) FromResource(d *schema.ResourceData) *CloudProjectKubeNodePoolUpdateOpts
func (*CloudProjectKubeNodePoolUpdateOpts) String ¶ added in v0.11.0
func (s *CloudProjectKubeNodePoolUpdateOpts) String() string
type CloudProjectKubeResponse ¶ added in v0.11.0
type CloudProjectKubeResponse struct { ControlPlaneIsUpToDate bool `json:"controlPlaneIsUpToDate"` Id string `json:"id"` IsUpToDate bool `json:"isUpToDate"` Name string `json:"name"` NextUpgradeVersions []string `json:"nextUpgradeVersions"` NodesUrl string `json:"nodesUrl"` PrivateNetworkId string `json:"privateNetworkId"` Region string `json:"region"` Status string `json:"status"` UpdatePolicy string `json:"updatePolicy"` Url string `json:"url"` Version string `json:"version"` }
func (*CloudProjectKubeResponse) String ¶ added in v0.11.0
func (s *CloudProjectKubeResponse) String() string
func (CloudProjectKubeResponse) ToMap ¶ added in v0.12.0
func (v CloudProjectKubeResponse) ToMap() map[string]interface{}
type CloudProjectNetworkPrivateCreateOpts ¶ added in v0.10.0
type CloudProjectNetworkPrivateCreateOpts struct { ServiceName string `json:"serviceName"` VlanId int `json:"vlanId"` Name string `json:"name"` Regions []string `json:"regions"` }
Opts
func (*CloudProjectNetworkPrivateCreateOpts) String ¶ added in v0.10.0
func (p *CloudProjectNetworkPrivateCreateOpts) String() string
type CloudProjectNetworkPrivateRegion ¶ added in v0.10.0
type CloudProjectNetworkPrivateRegion struct { Status string `json:"status"` Region string `json:"region"` OpenStackId string `json:"openstackId"` }
func (*CloudProjectNetworkPrivateRegion) String ¶ added in v0.10.0
func (p *CloudProjectNetworkPrivateRegion) String() string
type CloudProjectNetworkPrivateResponse ¶ added in v0.10.0
type CloudProjectNetworkPrivateResponse struct { Id string `json:"id"` Status string `json:"status"` Vlanid int `json:"vlanId"` Name string `json:"name"` Type string `json:"type"` Regions []*CloudProjectNetworkPrivateRegion `json:"regions"` }
func (*CloudProjectNetworkPrivateResponse) String ¶ added in v0.10.0
func (p *CloudProjectNetworkPrivateResponse) String() string
type CloudProjectNetworkPrivateUpdateOpts ¶ added in v0.10.0
type CloudProjectNetworkPrivateUpdateOpts struct {
Name string `json:"name"`
}
Opts
type CloudProjectNetworkPrivatesCreateOpts ¶ added in v0.10.0
type CloudProjectNetworkPrivatesCreateOpts struct { ServiceName 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 (*CloudProjectNetworkPrivatesCreateOpts) String ¶ added in v0.10.0
func (p *CloudProjectNetworkPrivatesCreateOpts) String() string
type CloudProjectNetworkPrivatesResponse ¶ added in v0.10.0
type CloudProjectNetworkPrivatesResponse struct { Id string `json:"id"` GatewayIp string `json:"gatewayIp"` Cidr string `json:"cidr"` IPPools []*IPPool `json:"ipPools"` }
func (*CloudProjectNetworkPrivatesResponse) String ¶ added in v0.10.0
func (p *CloudProjectNetworkPrivatesResponse) String() string
type CloudProjectRegionResponse ¶ added in v0.10.0
type CloudProjectRegionResponse struct { ContinentCode string `json:"continentCode"` DatacenterLocation string `json:"datacenterLocation"` Name string `json:"name"` Services []CloudServiceStatusResponse `json:"services"` }
func (*CloudProjectRegionResponse) HasServiceUp ¶ added in v0.10.0
func (r *CloudProjectRegionResponse) HasServiceUp(service string) bool
func (*CloudProjectRegionResponse) String ¶ added in v0.10.0
func (r *CloudProjectRegionResponse) String() string
type CloudProjectUpdateOpts ¶ added in v0.14.0
type CloudProjectUpdateOpts struct {
Description *string `json:"description,omitempty"`
}
func (*CloudProjectUpdateOpts) FromResource ¶ added in v0.14.0
func (opts *CloudProjectUpdateOpts) FromResource(d *schema.ResourceData) *CloudProjectUpdateOpts
type CloudProjectUser ¶ added in v0.10.0
type CloudProjectUser struct { CreationDate string `json:"creationDate"` Description string `json:"description"` Id int `json:"id"` Password string `json:"password"` Roles []*CloudProjectUserRole `json:"roles"` Status string `json:"status"` Username string `json:"username"` }
func (*CloudProjectUser) String ¶ added in v0.10.0
func (u *CloudProjectUser) String() string
func (CloudProjectUser) ToMap ¶ added in v0.10.0
func (u CloudProjectUser) ToMap() map[string]interface{}
type CloudProjectUserCreateOpts ¶ added in v0.10.0
type CloudProjectUserCreateOpts struct { Description *string `json:"description,omitempty"` Role *string `json:"role,omitempty"` Roles []string `json:"roles"` }
Opts
func (*CloudProjectUserCreateOpts) FromResource ¶ added in v0.10.0
func (opts *CloudProjectUserCreateOpts) FromResource(d *schema.ResourceData) *CloudProjectUserCreateOpts
func (*CloudProjectUserCreateOpts) String ¶ added in v0.10.0
func (p *CloudProjectUserCreateOpts) String() string
type CloudProjectUserOpenstackRC ¶ added in v0.10.0
type CloudProjectUserOpenstackRC struct {
Content string `json:"content"`
}
type CloudProjectUserRole ¶ added in v0.10.0
type CloudProjectUserRole struct { Description string `json:"description"` Id string `json:"id"` Name string `json:"name"` Permissions []string `json:"permissions"` }
func (CloudProjectUserRole) ToMap ¶ added in v0.10.0
func (r CloudProjectUserRole) ToMap() map[string]interface{}
type CloudServiceStatusResponse ¶ added in v0.10.0
func (*CloudServiceStatusResponse) String ¶ added in v0.10.0
func (s *CloudServiceStatusResponse) String() string
type ConfirmTerminationFunc ¶ added in v0.14.0
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 DbaasLogsInput ¶ added in v0.14.0
type DbaasLogsInput struct { AllowedNetworks []string `json:"allowedNetworks"` CreatedAt string `json:"createdAt"` Description string `json:"description"` EngineId string `json:"engineId"` ExposedPort *string `json:"exposedPort"` Hostname string `json:"hostname"` InputId string `json:"inputId"` IsRestartRequired bool `json:"isRestartRequired"` NbInstance *int64 `json:"nbInstance"` PublicAddress string `json:"publicAddress"` SslCertificate string `json:"sslCertificate"` Status string `json:"status"` StreamId string `json:"streamId"` Title string `json:"title"` UpdatedAt string `json:"updatedAt"` }
func (DbaasLogsInput) ToMap ¶ added in v0.14.0
func (v DbaasLogsInput) ToMap() map[string]interface{}
type DbaasLogsInputConfigurationFlowgger ¶ added in v0.14.0
type DbaasLogsInputConfigurationFlowgger struct { LogFormat string `json:"logFormat"` LogFraming string `json:"logFraming"` }
func (*DbaasLogsInputConfigurationFlowgger) FromResourceWithPath ¶ added in v0.14.0
func (opts *DbaasLogsInputConfigurationFlowgger) FromResourceWithPath(d *schema.ResourceData, path string) *DbaasLogsInputConfigurationFlowgger
func (DbaasLogsInputConfigurationFlowgger) ToMap ¶ added in v0.14.0
func (v DbaasLogsInputConfigurationFlowgger) ToMap() map[string]interface{}
type DbaasLogsInputConfigurationLogstash ¶ added in v0.14.0
type DbaasLogsInputConfigurationLogstash struct { FilterSection *string `json:"filterSection"` InputSection string `json:"inputSection"` PatternSection *string `json:"patternSection"` }
func (*DbaasLogsInputConfigurationLogstash) FromResourceWithPath ¶ added in v0.14.0
func (opts *DbaasLogsInputConfigurationLogstash) FromResourceWithPath(d *schema.ResourceData, path string) *DbaasLogsInputConfigurationLogstash
func (DbaasLogsInputConfigurationLogstash) ToMap ¶ added in v0.14.0
func (v DbaasLogsInputConfigurationLogstash) ToMap() map[string]interface{}
type DbaasLogsInputEngine ¶ added in v0.14.0
type DbaasLogsInputEngine struct { Id string `json:"engineId"` IsDeprecated bool `json:"isDeprecated"` Name string `json:"name"` Version string `json:"version"` }
func (DbaasLogsInputEngine) ToMap ¶ added in v0.14.0
func (v DbaasLogsInputEngine) ToMap() map[string]interface{}
type DbaasLogsInputOpts ¶ added in v0.14.0
type DbaasLogsInputOpts struct { Description string `json:"description"` EngineId string `json:"engineId"` StreamId string `json:"streamId"` Title string `json:"title"` AllowedNetworks []string `json:"allowedNetworks,omitempty"` ExposedPort *string `json:"exposedPort,omitempty"` NbInstance *int64 `json:"nbInstance,omitempty"` }
func (*DbaasLogsInputOpts) FromResource ¶ added in v0.14.0
func (opts *DbaasLogsInputOpts) FromResource(d *schema.ResourceData) *DbaasLogsInputOpts
type DbaasLogsOperation ¶ added in v0.14.0
type DbaasLogsOperation struct { AliasId *string `json:"aliasId"` CreatedAt string `json:"createdAt"` DashboardId *string `json:"dashboardId"` IndexId *string `json:"indexId"` InputId *string `json:"inputId"` KibanaId *string `json:"kibanaId"` OperationId string `json:"operationId"` RoleId *string `json:"roleId"` State string `json:"state"` StreamId *string `json:"streamId"` UpdatedAt string `json:"updatedAt"` }
type DbaasLogsOutputGraylogStream ¶ added in v0.14.0
type DbaasLogsOutputGraylogStream struct { CanAlert bool `json:"canAlert"` ColdStorageCompression *string `json:"coldStorageCompression"` ColdStorageContent *string `json:"coldStorageContent"` ColdStorageEnabled *bool `json:"coldStorageEnabled"` ColdStorageNotifyEnabled *bool `json:"coldStorageNotifyEnabled"` ColdStorageRetention *int64 `json:"coldStorageRetention"` ColdStorageTarget *string `json:"coldStorageTarget"` CreatedAt string `json:"createdAt"` Description string `json:"description"` IndexingEnabled *bool `json:"indexingEnabled"` IndexingMaxSize *int64 `json:"indexingMaxSize"` IndexingNotifyEnabled *bool `json:"indexingNotifyEnabled"` IsEditable bool `json:"isEditable"` NbAlertCondition int64 `json:"nbAlertCondition"` NbArchive int64 `json:"nbArchive"` ParentStreamId *string `json:"parentStreamId"` PauseIndexingOnMaxSize *bool `json:"pauseIndexingOnMaxSize"` RetentionId string `json:"retentionId"` StreamId string `json:"streamId"` Title string `json:"title"` UpdatedAt string `json:"updatedAt"` WebSocketEnabled *bool `json:"webSocketEnabled"` }
func (DbaasLogsOutputGraylogStream) ToMap ¶ added in v0.14.0
func (v DbaasLogsOutputGraylogStream) ToMap() map[string]interface{}
type DbaasLogsOutputGraylogStreamCreateOpts ¶ added in v0.14.0
type DbaasLogsOutputGraylogStreamCreateOpts struct { ColdStorageCompression *string `json:"coldStorageCompression,omitempty"` ColdStorageContent *string `json:"coldStorageContent,omitempty"` ColdStorageEnabled *bool `json:"coldStorageEnabled,omitempty"` ColdStorageNotifyEnabled *bool `json:"coldStorageNotifyEnabled,omitempty"` ColdStorageRetention *int64 `json:"coldStorageRetention,omitempty"` ColdStorageTarget *string `json:"coldStorageTarget,omitempty"` Description string `json:"description"` IndexingEnabled *bool `json:"indexingEnabled,omitempty"` IndexingMaxSize *int64 `json:"indexingMaxSize,omitempty"` IndexingNotifyEnabled *bool `json:"indexingNotifyEnabled,omitempty"` ParentStreamId *string `json:"parentStreamId,omitempty"` PauseIndexingOnMaxSize *bool `json:"pauseIndexingOnMaxSize,omitempty"` RetentionId *string `json:"retentionId,omitempty"` Title string `json:"title"` WebSocketEnabled *bool `json:"webSocketEnabled,omitempty"` }
func (*DbaasLogsOutputGraylogStreamCreateOpts) FromResource ¶ added in v0.14.0
func (opts *DbaasLogsOutputGraylogStreamCreateOpts) FromResource(d *schema.ResourceData) *DbaasLogsOutputGraylogStreamCreateOpts
type DbaasLogsOutputGraylogStreamUpdateOpts ¶ added in v0.14.0
type DbaasLogsOutputGraylogStreamUpdateOpts struct { ColdStorageCompression *string `json:"coldStorageCompression,omitempty"` ColdStorageContent *string `json:"coldStorageContent,omitempty"` ColdStorageEnabled *bool `json:"coldStorageEnabled,omitempty"` ColdStorageNotifyEnabled *bool `json:"coldStorageNotifyEnabled,omitempty"` ColdStorageRetention *int64 `json:"coldStorageRetention,omitempty"` ColdStorageTarget *string `json:"coldStorageTarget,omitempty"` Description string `json:"description"` IndexingEnabled *bool `json:"indexingEnabled,omitempty"` IndexingMaxSize *int64 `json:"indexingMaxSize,omitempty"` IndexingNotifyEnabled *bool `json:"indexingNotifyEnabled,omitempty"` ParentStreamId *string `json:"parentStreamId,omitempty"` PauseIndexingOnMaxSize *bool `json:"pauseIndexingOnMaxSize,omitempty"` RetentionId *string `json:"retentionId"` Title string `json:"title"` WebSocketEnabled *bool `json:"webSocketEnabled,omitempty"` }
func (*DbaasLogsOutputGraylogStreamUpdateOpts) FromResource ¶ added in v0.14.0
func (opts *DbaasLogsOutputGraylogStreamUpdateOpts) FromResource(d *schema.ResourceData) *DbaasLogsOutputGraylogStreamUpdateOpts
type DedicatedCeph ¶ added in v0.10.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.10.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.10.0
type DedicatedCephACLCreateOpts struct {
AclList []string `json:"aclList"`
}
func (*DedicatedCephACLCreateOpts) FromResource ¶ added in v0.10.0
func (opts *DedicatedCephACLCreateOpts) FromResource(d *schema.ResourceData) *DedicatedCephACLCreateOpts
type DedicatedCephACLType ¶ added in v0.10.0
type DedicatedCephACLType string
type DedicatedCephCrushTunable ¶ added in v0.10.0
type DedicatedCephCrushTunable string
type DedicatedCephState ¶ added in v0.10.0
type DedicatedCephState string
type DedicatedCephStatus ¶ added in v0.10.0
type DedicatedCephStatus string
type DedicatedCephTask ¶ added in v0.10.0
type DedicatedServer ¶ added in v0.10.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.10.0
func (ds DedicatedServer) String() string
type DedicatedServerBoot ¶ added in v0.10.0
type DedicatedServerInstallTaskCreateOpts ¶ added in v0.10.0
type DedicatedServerInstallTaskCreateOpts struct { TemplateName string `json:"templateName"` PartitionSchemeName *string `json:"partitionSchemeName,omitempty"` Details *DedicatedServerInstallTaskDetails `json:"details"` }
func (*DedicatedServerInstallTaskCreateOpts) FromResource ¶ added in v0.10.0
func (opts *DedicatedServerInstallTaskCreateOpts) FromResource(d *schema.ResourceData) *DedicatedServerInstallTaskCreateOpts
type DedicatedServerInstallTaskDetails ¶ added in v0.10.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.10.0
func (opts *DedicatedServerInstallTaskDetails) FromResource(d *schema.ResourceData, parent string) *DedicatedServerInstallTaskDetails
type DedicatedServerTask ¶ added in v0.10.0
type DedicatedServerUpdateOpts ¶ added in v0.10.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.10.0
func (opts *DedicatedServerUpdateOpts) FromResource(d *schema.ResourceData) *DedicatedServerUpdateOpts
type DedicatedServerVNI ¶ added in v0.10.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.10.0
func (vni DedicatedServerVNI) String() string
func (DedicatedServerVNI) ToMap ¶ added in v0.10.0
func (v DedicatedServerVNI) ToMap() map[string]interface{}
type DomainZone ¶ added in v0.3.0
type DomainZone struct { DnssecSupported bool `json:"dnssecSupported"` HasDnsAnycast bool `json:"hasDnsAnycast"` LastUpdate string `json:"lastUpdate"` Name string `json:"name"` NameServers []string `json:"nameServers"` }
func (DomainZone) ToMap ¶ added in v0.14.0
func (v DomainZone) ToMap() map[string]interface{}
type DomainZoneConfirmTerminationOpts ¶ added in v0.14.0
type DomainZoneConfirmTerminationOpts struct {
Token string `json:"token"`
}
type HardwareRaid ¶ added in v0.10.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.10.0
func (v HardwareRaid) ToMap() map[string]interface{}
type HardwareRaidCreateOrUpdateOpts ¶ added in v0.10.0
type HardwareRaidCreateOrUpdateOpts struct {
HardwareRaid
}
func (*HardwareRaidCreateOrUpdateOpts) FromResource ¶ added in v0.10.0
func (opts *HardwareRaidCreateOrUpdateOpts) FromResource(d *schema.ResourceData) *HardwareRaidCreateOrUpdateOpts
type IPLoadbalancingHttpRoute ¶ added in v0.16.0
type IPLoadbalancingHttpRoute struct { Action IPLoadbalancingHttpRouteAction `json:"action"` //Action triggered when all rules match DisplayName *string `json:"displayName"` //Human readable name for your route, this field is for you FrontendId *int64 `json:"frontendId"` //Route traffic for this frontend RouteId int64 `json:"routeId"` //Id of your route Rules []*IPLoadbalancingRouteRule `json:"rules"` //List of rules to match to trigger action Status string `json:"status"` //Route status. Routes in "ok" state are ready to operate Weight int64 `json:"weight"` //Route priority ([0..255]). 0 if null. Highest priority routes are evaluated first. Only the first matching route will trigger an action }
IPLoadbalancingHttpRoute HTTP Route
func (IPLoadbalancingHttpRoute) ToMap ¶ added in v0.16.0
func (v IPLoadbalancingHttpRoute) ToMap() map[string]interface{}
type IPLoadbalancingHttpRouteAction ¶ added in v0.16.0
type IPLoadbalancingHttpRouteAction struct { Target *string `json:"target"` // 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 *int64 `json:"status"` // HTTP status code for "redirect" and "reject" actions Type string `json:"type"` // Action to trigger if all the rules of this route matches }
IPLoadbalancingHttpRouteAction Action triggered when all rules match
func (IPLoadbalancingHttpRouteAction) ToMap ¶ added in v0.16.0
func (v IPLoadbalancingHttpRouteAction) ToMap() map[string]interface{}
type IPLoadbalancingHttpRouteActionOpts ¶ added in v0.16.0
type IPLoadbalancingHttpRouteActionOpts 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 *int64 `json:"status,omitempty"` // HTTP status code for "redirect" and "reject" actions Type string `json:"type"` // Action to trigger if all the rules of this route matches }
IPLoadbalancingHttpRouteAction Action triggered when all rules match
func (*IPLoadbalancingHttpRouteActionOpts) FromResource ¶ added in v0.16.0
func (opts *IPLoadbalancingHttpRouteActionOpts) FromResource(d *schema.ResourceData, parent string) *IPLoadbalancingHttpRouteActionOpts
type IPLoadbalancingHttpRouteOpts ¶ added in v0.16.0
type IPLoadbalancingHttpRouteOpts struct { Action IPLoadbalancingHttpRouteActionOpts `json:"action"` //Action triggered when all rules match DisplayName *string `json:"displayName,omitempty"` //Human readable name for your route, this field is for you FrontendId *int64 `json:"frontendId,omitempty"` //Route traffic for this frontend Weight *int64 `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 }
IPLoadbalancingHttpRoute HTTP Route
func (*IPLoadbalancingHttpRouteOpts) FromResource ¶ added in v0.16.0
func (opts *IPLoadbalancingHttpRouteOpts) FromResource(d *schema.ResourceData) *IPLoadbalancingHttpRouteOpts
type IPLoadbalancingRefreshPending ¶ added in v0.10.0
type IPLoadbalancingRefreshPendings ¶ added in v0.10.0
type IPLoadbalancingRefreshPendings []IPLoadbalancingRefreshPending
type IPLoadbalancingRefreshTask ¶ added in v0.10.0
type IPLoadbalancingRouteRule ¶ added in v0.16.0
type IPLoadbalancingRouteRule struct { DisplayName *string `json:"displayName"` //Human readable name for your rule Field string `json:"field"` //Name of the field to match like "protocol" or "host". See "/ipLoadbalancing/{serviceName}/availableRouteRules" for a list of available rules Match string `json:"match"` //Matching operator. Not all operators are available for all fields. See "/ipLoadbalancing/{serviceName}/availableRouteRules" Negate bool `json:"negate"` //Invert the matching operator effect Pattern *string `json:"pattern"` //Value to match against this match. Interpretation if this field depends on the match and field RuleId int64 `json:"ruleId"` //Id of your rule SubField *string `json:"subField"` //Name of sub-field, if applicable. This may be a Cookie or Header name for instance }
IPLoadbalancingRouteRule Route Rule
func (IPLoadbalancingRouteRule) ToMap ¶ added in v0.16.0
func (v IPLoadbalancingRouteRule) ToMap() map[string]interface{}
func (IPLoadbalancingRouteRule) ToMapForRoutes ¶ added in v0.16.0
func (v IPLoadbalancingRouteRule) ToMapForRoutes() map[string]interface{}
type IPLoadbalancingRouteRuleOpts ¶ added in v0.16.0
type IPLoadbalancingRouteRuleOpts struct { DisplayName *string `json:"displayName,omitempty"` //Human readable name for your rule Field string `json:"field"` //Name of the field to match like "protocol" or "host". See "/ipLoadbalancing/{serviceName}/availableRouteRules" for a list of available rules Match string `json:"match"` //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 }
IPLoadbalancingRouteRule Route Rule
func (*IPLoadbalancingRouteRuleOpts) FromResource ¶ added in v0.16.0
func (opts *IPLoadbalancingRouteRuleOpts) FromResource(d *schema.ResourceData) *IPLoadbalancingRouteRuleOpts
type IPLoadbalancingTcpRoute ¶ added in v0.16.0
type IPLoadbalancingTcpRoute struct { Action IPLoadbalancingTcpRouteAction `json:"action"` //Action triggered when all rules match DisplayName *string `json:"displayName"` //Human readable name for your route, this field is for you FrontendId *int64 `json:"frontendId"` //Route traffic for this frontend RouteId int64 `json:"routeId"` //Id of your route Rules []*IPLoadbalancingRouteRule `json:"rules"` //List of rules to match to trigger action Status string `json:"status"` //Route status. Routes in "ok" state are ready to operate Weight int64 `json:"weight"` //Route priority ([0..255]). 0 if null. Highest priority routes are evaluated first. Only the first matching route will trigger an action }
IPLoadbalancingTcpRoute HTTP Route
func (IPLoadbalancingTcpRoute) ToMap ¶ added in v0.16.0
func (v IPLoadbalancingTcpRoute) ToMap() map[string]interface{}
type IPLoadbalancingTcpRouteAction ¶ added in v0.16.0
type IPLoadbalancingTcpRouteAction struct { Target *string `json:"target"` // 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 Type string `json:"type"` // Action to trigger if all the rules of this route matches }
IPLoadbalancingTcpRouteAction Action triggered when all rules match
func (IPLoadbalancingTcpRouteAction) ToMap ¶ added in v0.16.0
func (v IPLoadbalancingTcpRouteAction) ToMap() map[string]interface{}
type IPLoadbalancingTcpRouteActionOpts ¶ added in v0.16.0
type IPLoadbalancingTcpRouteActionOpts struct { Target *string `json:"target,omitempty"` // Farm ID for "farm" action type, empty for others Type string `json:"type"` // Action to trigger if all the rules of this route matches }
IPLoadbalancingTcpRouteAction Action triggered when all rules match
func (*IPLoadbalancingTcpRouteActionOpts) FromResource ¶ added in v0.16.0
func (opts *IPLoadbalancingTcpRouteActionOpts) FromResource(d *schema.ResourceData, parent string) *IPLoadbalancingTcpRouteActionOpts
type IPLoadbalancingTcpRouteOpts ¶ added in v0.16.0
type IPLoadbalancingTcpRouteOpts struct { Action IPLoadbalancingTcpRouteActionOpts `json:"action"` //Action triggered when all rules match DisplayName *string `json:"displayName,omitempty"` //Human readable name for your route, this field is for you FrontendId *int64 `json:"frontendId,omitempty"` //Route traffic for this frontend Weight *int64 `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 }
IPLoadbalancingTcpRoute HTTP Route
func (*IPLoadbalancingTcpRouteOpts) FromResource ¶ added in v0.16.0
func (opts *IPLoadbalancingTcpRouteOpts) FromResource(d *schema.ResourceData) *IPLoadbalancingTcpRouteOpts
type IPPool ¶
type InstallationTemplate ¶ added in v0.10.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.10.0
func (v InstallationTemplate) ToMap() map[string]interface{}
type InstallationTemplateCreateOpts ¶ added in v0.10.0
type InstallationTemplateCreateOpts struct { BaseTemplateName string `json:"baseTemplateName"` Name string `json:"name"` DefaultLanguage string `json:"defaultLanguage"` }
func (*InstallationTemplateCreateOpts) FromResource ¶ added in v0.10.0
func (opts *InstallationTemplateCreateOpts) FromResource(d *schema.ResourceData) *InstallationTemplateCreateOpts
type InstallationTemplateCustomization ¶ added in v0.10.0
type InstallationTemplateCustomization struct { CustomHostname *string `json:"customHostname,omitempty"` PostInstallationScriptLink *string `json:"postInstallationScriptLink,omitempty"` PostInstallationScriptReturn *string `json:"postInstallationScriptReturn,omitempty"` SshKeyName *string `json:"sshKeyName,omitempty"` UseDistributionKernel *bool `json:"useDistributionKernel,omitempty"` }
func (*InstallationTemplateCustomization) FromResource ¶ added in v0.10.0
func (opts *InstallationTemplateCustomization) FromResource(d *schema.ResourceData, parent string) *InstallationTemplateCustomization
func (InstallationTemplateCustomization) ToMap ¶ added in v0.10.0
func (v InstallationTemplateCustomization) ToMap() map[string]interface{}
type InstallationTemplateUpdateOpts ¶ added in v0.10.0
type InstallationTemplateUpdateOpts struct { DefaultLanguage string `json:"defaultLanguage"` Customization *InstallationTemplateCustomization `json:"customization"` TemplateName string `json:"templateName"` }
func (*InstallationTemplateUpdateOpts) FromResource ¶ added in v0.10.0
func (opts *InstallationTemplateUpdateOpts) FromResource(d *schema.ResourceData) *InstallationTemplateUpdateOpts
type IpLoadbalancing ¶ added in v0.3.0
type IpLoadbalancing struct { DisplayName *string `json:"displayName"` IPv4 *string `json:"ipv4,omitempty"` IPv6 *string `json:"ipv6,omitempty"` IpLoadbalancing string `json:"ipLoadbalancing"` MetricsToken *string `json:"metricsToken,omitempty"` Offer string `json:"offer"` OrderableZones []*IpLoadbalancingOrderableZone `json:"orderableZone"` ServiceName string `json:"serviceName"` SslConfiguration *string `json:"sslConfiguration"` State string `json:"state"` VrackEligibility bool `json:"vrackEligibility"` VrackName *string `json:"vrackName"` Zone []string `json:"zone"` }
func (IpLoadbalancing) ToMap ¶ added in v0.14.0
func (v IpLoadbalancing) ToMap() map[string]interface{}
type IpLoadbalancingConfirmTerminationOpts ¶ added in v0.14.0
type IpLoadbalancingConfirmTerminationOpts struct {
Token string `json:"token"`
}
type IpLoadbalancingDefinedFarm ¶ added in v0.10.0
func (IpLoadbalancingDefinedFarm) ToMap ¶ added in v0.10.0
func (v IpLoadbalancingDefinedFarm) ToMap() map[string]interface{}
type IpLoadbalancingFarm ¶ added in v0.10.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.10.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.10.0
func (opts *IpLoadbalancingFarmBackendProbe) FromResource(d *schema.ResourceData, parent string) *IpLoadbalancingFarmBackendProbe
func (IpLoadbalancingFarmBackendProbe) ToMap ¶ added in v0.10.0
func (v IpLoadbalancingFarmBackendProbe) ToMap() map[string]interface{}
type IpLoadbalancingFarmCreateOrUpdateOpts ¶ added in v0.10.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.10.0
func (opts *IpLoadbalancingFarmCreateOrUpdateOpts) FromResource(d *schema.ResourceData) *IpLoadbalancingFarmCreateOrUpdateOpts
type IpLoadbalancingFarmServer ¶ added in v0.10.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.10.0
func (v IpLoadbalancingFarmServer) ToMap() map[string]interface{}
type IpLoadbalancingFarmServerCreateOpts ¶ added in v0.10.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.10.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.10.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"` RedirectLocation string `json:"redirectLocation,omitempty"` DisplayName string `json:"displayName,omitempty"` }
type IpLoadbalancingOrderableZone ¶ added in v0.3.0
type IpLoadbalancingOrderableZone struct { Name string `json:"name"` PlanCode string `json:"plan_code"` }
func (IpLoadbalancingOrderableZone) ToMap ¶ added in v0.14.0
func (v IpLoadbalancingOrderableZone) ToMap() map[string]interface{}
type IpLoadbalancingTcpFrontend ¶ added in v0.10.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 IpLoadbalancingUpdateOpts ¶ added in v0.14.0
type IpLoadbalancingUpdateOpts struct { DisplayName *string `json:"displayName,omitempty"` SslConfiguration *string `json:"sslConfiguration,omitempty"` }
func (*IpLoadbalancingUpdateOpts) FromResource ¶ added in v0.14.0
func (opts *IpLoadbalancingUpdateOpts) FromResource(d *schema.ResourceData) *IpLoadbalancingUpdateOpts
type IpLoadbalancingVrackNetwork ¶ added in v0.10.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.10.0
func (v IpLoadbalancingVrackNetwork) ToMap() map[string]interface{}
type IpLoadbalancingVrackNetworkCreateOpts ¶ added in v0.10.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.10.0
func (opts *IpLoadbalancingVrackNetworkCreateOpts) FromResource(d *schema.ResourceData) *IpLoadbalancingVrackNetworkCreateOpts
type IpLoadbalancingVrackNetworkUpdateOpts ¶ added in v0.10.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.10.0
func (opts *IpLoadbalancingVrackNetworkUpdateOpts) FromResource(d *schema.ResourceData) *IpLoadbalancingVrackNetworkUpdateOpts
type IpReverseCreateOpts ¶ added in v0.15.0
type IpReverseCreateOpts struct { IpReverse string `json:"ipReverse"` Reverse string `json:"reverse"` }
func (*IpReverseCreateOpts) FromResource ¶ added in v0.15.0
func (opts *IpReverseCreateOpts) FromResource(d *schema.ResourceData) *IpReverseCreateOpts
type IpService ¶ added in v0.14.0
type IpServiceConfirmTerminationOpts ¶ added in v0.14.0
type IpServiceConfirmTerminationOpts struct {
Token string `json:"token"`
}
type IpServiceRoutedTo ¶ added in v0.14.0
type IpServiceRoutedTo struct {
ServiceName string `json:"serviceName"`
}
func (IpServiceRoutedTo) ToMap ¶ added in v0.14.0
func (v IpServiceRoutedTo) ToMap() map[string]interface{}
type IpServiceUpdateOpts ¶ added in v0.14.0
type IpServiceUpdateOpts struct {
Description *string `json:"description,omitempty"`
}
func (*IpServiceUpdateOpts) FromResource ¶ added in v0.14.0
func (opts *IpServiceUpdateOpts) FromResource(d *schema.ResourceData) *IpServiceUpdateOpts
type MeIdentityUserCreateOpts ¶ added in v0.10.0
type MeIdentityUserCreateOpts struct { Description string `json:"description"` Email string `json:"email"` Group string `json:"group"` Login string `json:"login"` Password string `json:"password"` }
MeIdentityUser Opts
type MeIdentityUserResponse ¶ added in v0.10.0
type MeIdentityUserResponse struct { Creation string `json:"creation"` Description string `json:"description"` Email string `json:"email"` Group string `json:"group"` LastUpdate string `json:"lastUpdate"` Login string `json:"login"` PasswordLastUpdate string `json:"passwordLastUpdate"` Status string `json:"status"` }
type MeIdentityUserUpdateOpts ¶ added in v0.10.0
type MeIpxeScriptCreateOpts ¶ added in v0.10.0
type MeIpxeScriptCreateOpts struct { Description string `json:"description"` Name string `json:"name"` Script string `json:"script"` }
MeIpxeScript Opts
type MeIpxeScriptResponse ¶ added in v0.10.0
func (*MeIpxeScriptResponse) String ¶ added in v0.10.0
func (s *MeIpxeScriptResponse) String() string
type MeOrder ¶ added in v0.14.0
type MeOrderDetail ¶ added in v0.14.0
type MeOrderDetail struct { Description string `json:"description"` Domain string `json:"domain"` OrderDetailId int64 `json:"orderDetailId"` Quantity string `json:"quantity"` }
func (MeOrderDetail) ToMap ¶ added in v0.14.0
func (v MeOrderDetail) ToMap() map[string]interface{}
type MeOrderPaymentOpts ¶ added in v0.14.0
type MeOrderPaymentOpts struct { PaymentMean string `json:"paymentMean"` PaymentMeanId *int64 `json:"paymentMeanId,omitEmpty"` }
func MePaymentMeanDefaultPaymentOpts ¶ added in v0.14.0
func MePaymentMeanDefaultPaymentOpts(c *ovh.Client) (*MeOrderPaymentOpts, error)
type MePaymentMeanBankAccount ¶ added in v0.14.0
type MePaymentMeanBankAccount struct { Bic string `json:"bic"` CreationDate string `json:"creationDate"` DefaultPaymentMean bool `json:"defaultPaymentMean"` Description *string `json:"description"` Iban string `json:"iban"` Icon *MePaymentMeanIcon `json:"icon"` Id int64 `json:"id"` MandateSignatureDate *string `json:"mandateSignatureDate"` OwnerAddress string `json:"ownerAddress"` OwnerName string `json:"ownerName"` State string `json:"state"` UniqueReference string `json:"uniqueReference"` ValidationDocumentLink *string `json:"validationDocumentLink"` }
func MePaymentMeanBankAccounts ¶ added in v0.14.0
func MePaymentMeanBankAccounts(c *ovh.Client) ([]*MePaymentMeanBankAccount, error)
type MePaymentMeanCreditCard ¶ added in v0.14.0
type MePaymentMeanCreditCard struct { DefaultPaymentMean bool `json:"defaultPaymentMean"` Description *string `json:"description"` ExpirationDate string `json:"expirationDate"` Icon *MePaymentMeanIcon `json:"icon"` Id int64 `json:"id"` Number string `json:"number"` State string `json:"state"` ThreeDsValidated string `json:"threeDsValidated"` Type string `json:"type"` }
func MePaymentMeanCreditCards ¶ added in v0.14.0
func MePaymentMeanCreditCards(c *ovh.Client) ([]*MePaymentMeanCreditCard, error)
type MePaymentMeanIcon ¶ added in v0.14.0
type MePaymentMeanPaypal ¶ added in v0.14.0
type MePaymentMeanPaypal struct { AgreementId string `json:"agreementId"` CreationDate string `json:"creationDate"` DefaultPaymentMean bool `json:"defaultPaymentMean"` Description *string `json:"description"` Email string `json:"email"` Icon *MePaymentMeanIcon `json:"icon"` Id int64 `json:"id"` State string `json:"state"` }
func MePaymentMeanPaypals ¶ added in v0.14.0
func MePaymentMeanPaypals(c *ovh.Client) ([]*MePaymentMeanPaypal, error)
type MeSshKeyCreateOpts ¶ added in v0.10.0
MeSshKey Opts
type MeSshKeyResponse ¶ added in v0.10.0
type MeSshKeyResponse struct { KeyName string `json:"keyName"` Key string `json:"key"` Default bool `json:"default"` }
func (*MeSshKeyResponse) String ¶ added in v0.10.0
func (s *MeSshKeyResponse) String() string
type MeSshKeyUpdateOpts ¶ added in v0.10.0
type MeSshKeyUpdateOpts struct {
Default bool `json:"default"`
}
type NotificationEmail ¶ added in v0.14.0
type OrderCart ¶ added in v0.14.0
type OrderCartCreateOpts ¶ added in v0.14.0
type OrderCartCreateOpts struct { OvhSubsidiary string `json:"ovhSubsidiary"` Description *string `json:"description,omitempty"` Expire *string `json:"expire,omitempty"` }
func (*OrderCartCreateOpts) FromResource ¶ added in v0.14.0
func (opts *OrderCartCreateOpts) FromResource(d *schema.ResourceData) *OrderCartCreateOpts
type OrderCartGenericOptions ¶ added in v0.14.0
type OrderCartGenericOptions struct { OrderCartGenericProduct Exclusive bool `json:"exclusive"` Family string `json:"family"` Mandatory bool `json:"mandatory"` }
func (OrderCartGenericOptions) ToMap ¶ added in v0.14.0
func (v OrderCartGenericOptions) ToMap() map[string]interface{}
type OrderCartGenericProduct ¶ added in v0.14.0
type OrderCartGenericProduct struct { PlanCode string `json:"planCode"` Prices []OrderCartGenericProductPrice `json:"prices"` ProductName string `json:"productName"` ProductType string `json:"productType"` }
func (OrderCartGenericProduct) ToMap ¶ added in v0.14.0
func (v OrderCartGenericProduct) ToMap() map[string]interface{}
type OrderCartGenericProductPrice ¶ added in v0.14.0
type OrderCartGenericProductPrice struct { Capacities []string `json:"capacities"` Description string `json:"description"` Duration string `json:"duration"` Interval int `json:"interval"` MaximumQuantity int `json:"maximumQuantity"` MaximumRepeat int `json:"maximumRepeat"` MinimumQuantity int `json:"minimumQuantity"` MinimumRepeat int `json:"minimumRepeat"` Price OrderCartGenericProductPricePrice `json:"price"` PriceInUcents int64 `json:"priceInUcents"` PricingMode string `json:"pricingMode"` PricingType string `json:"pricingType"` }
func (OrderCartGenericProductPrice) ToMap ¶ added in v0.14.0
func (v OrderCartGenericProductPrice) ToMap() map[string]interface{}
type OrderCartGenericProductPricePrice ¶ added in v0.14.0
type OrderCartGenericProductPricePrice struct { CurrencyCode string `json:"currencyCode"` Text string `json:"text"` Value float64 `json:"value"` }
func (OrderCartGenericProductPricePrice) ToMap ¶ added in v0.14.0
func (v OrderCartGenericProductPricePrice) ToMap() map[string]interface{}
type OrderCartItem ¶ added in v0.14.0
type OrderCartItem struct { CartId string `json:"cartId"` Configurations []int64 `json:"configurations"` Duration string `json:"duration"` ItemId int64 `json:"itemId"` OfferId string `json:"offerId"` Options []int64 `json:"options"` ParentItemId int64 `json:"parentItemId"` ProductId string `json:"productId"` Settings OrderCartItemDomainSettings `json:"settings"` }
type OrderCartItemConfiguration ¶ added in v0.14.0
type OrderCartItemConfigurationOpts ¶ added in v0.14.0
type OrderCartItemConfigurationOpts struct { Label string `json:"label"` Value string `json:"value"` }
func (*OrderCartItemConfigurationOpts) FromResourceWithPath ¶ added in v0.14.0
func (opts *OrderCartItemConfigurationOpts) FromResourceWithPath(d *schema.ResourceData, path string) *OrderCartItemConfigurationOpts
type OrderCartItemCreateOpts ¶ added in v0.14.0
type OrderCartItemCreateOpts struct { CatalogName *string `json:"catalogName,omitempty"` Duration string `json:"duration"` PlanCode string `json:"planCode"` PricingMode string `json:"pricingMode"` Quantity int `json:"quantity"` }
func (*OrderCartItemCreateOpts) FromResource ¶ added in v0.14.0
func (opts *OrderCartItemCreateOpts) FromResource(d *schema.ResourceData) *OrderCartItemCreateOpts
type OrderCartItemDomainSettings ¶ added in v0.14.0
type OrderCartItemDomainSettings struct {
Domain string `json:"domain"`
}
type OrderCartPlanCreateOpts ¶ added in v0.14.0
type OrderCartPlanCreateOpts struct { CatalogName *string `json:"catalogName,omitempty"` Duration string `json:"duration"` PlanCode string `json:"planCode"` PricingMode string `json:"pricingMode"` Quantity int `json:"quantity"` }
func (*OrderCartPlanCreateOpts) FromResourceWithPath ¶ added in v0.14.0
func (opts *OrderCartPlanCreateOpts) FromResourceWithPath(d *schema.ResourceData, path string) *OrderCartPlanCreateOpts
func (*OrderCartPlanCreateOpts) String ¶ added in v0.14.0
func (opts *OrderCartPlanCreateOpts) String() string
type OrderCartPlanOptionsCreateOpts ¶ added in v0.14.0
type OrderCartPlanOptionsCreateOpts struct { CatalogName *string `json:"catalogName,omitempty"` Duration string `json:"duration"` PlanCode string `json:"planCode"` PricingMode string `json:"pricingMode"` Quantity int `json:"quantity"` ItemId int64 `json:"itemId"` }
func (*OrderCartPlanOptionsCreateOpts) FromResourceWithPath ¶ added in v0.14.0
func (opts *OrderCartPlanOptionsCreateOpts) FromResourceWithPath(d *schema.ResourceData, path string) *OrderCartPlanOptionsCreateOpts
func (*OrderCartPlanOptionsCreateOpts) String ¶ added in v0.14.0
func (opts *OrderCartPlanOptionsCreateOpts) String() string
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.10.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 Partition ¶ added in v0.10.0
type PartitionCreateOpts ¶ added in v0.10.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.10.0
func (opts *PartitionCreateOpts) FromResource(d *schema.ResourceData) *PartitionCreateOpts
type PartitionScheme ¶ added in v0.10.0
func (PartitionScheme) ToMap ¶ added in v0.10.0
func (v PartitionScheme) ToMap() map[string]interface{}
type PartitionSchemeCreateOrUpdateOpts ¶ added in v0.10.0
type PartitionSchemeCreateOrUpdateOpts struct {
PartitionScheme
}
func (*PartitionSchemeCreateOrUpdateOpts) FromResource ¶ added in v0.10.0
func (opts *PartitionSchemeCreateOrUpdateOpts) FromResource(d *schema.ResourceData) *PartitionSchemeCreateOrUpdateOpts
type PartitionUpdateOpts ¶ added in v0.10.0
type PartitionUpdateOpts struct {
Partition
}
func (*PartitionUpdateOpts) FromResource ¶ added in v0.10.0
func (opts *PartitionUpdateOpts) FromResource(d *schema.ResourceData) *PartitionUpdateOpts
type TerminateFunc ¶ added in v0.14.0
type UnitAndValue ¶ added in v0.10.0
func (UnitAndValue) ToMap ¶ added in v0.10.0
func (v UnitAndValue) ToMap() map[string]interface{}
type VPS ¶ added in v0.10.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.10.0
type VPSProperties ¶ added in v0.10.0
type VrackCloudProject ¶ added in v0.10.0
type VrackCloudProjectCreateOpts ¶ added in v0.10.0
type VrackCloudProjectCreateOpts struct {
Project string `json:"project"`
}
func (*VrackCloudProjectCreateOpts) FromResource ¶ added in v0.10.0
func (opts *VrackCloudProjectCreateOpts) FromResource(d *schema.ResourceData) *VrackCloudProjectCreateOpts
type VrackDedicatedServer ¶ added in v0.10.0
type VrackDedicatedServerCreateOpts ¶ added in v0.10.0
type VrackDedicatedServerCreateOpts struct {
DedicatedServer string `json:"dedicatedServer"`
}
func (*VrackDedicatedServerCreateOpts) FromResource ¶ added in v0.10.0
func (opts *VrackDedicatedServerCreateOpts) FromResource(d *schema.ResourceData) *VrackDedicatedServerCreateOpts
type VrackDedicatedServerInterface ¶ added in v0.10.0
type VrackDedicatedServerInterfaceCreateOpts ¶ added in v0.10.0
type VrackDedicatedServerInterfaceCreateOpts struct {
DedicatedServerInterface string `json:"dedicatedServerInterface"`
}
func (*VrackDedicatedServerInterfaceCreateOpts) FromResource ¶ added in v0.10.0
func (opts *VrackDedicatedServerInterfaceCreateOpts) FromResource(d *schema.ResourceData) *VrackDedicatedServerInterfaceCreateOpts
type VrackIp ¶ added in v0.14.0
type VrackIpCreateOpts ¶ added in v0.14.0
type VrackIpCreateOpts struct {
Block string `json:"block"`
}
func (*VrackIpCreateOpts) FromResource ¶ added in v0.14.0
func (opts *VrackIpCreateOpts) FromResource(d *schema.ResourceData) *VrackIpCreateOpts
type VrackIpLoadbalancing ¶ added in v0.10.0
type VrackIpLoadbalancingCreateOpts ¶ added in v0.10.0
type VrackIpLoadbalancingCreateOpts struct {
IpLoadbalancing string `json:"ipLoadbalancing"`
}
func (*VrackIpLoadbalancingCreateOpts) FromResource ¶ added in v0.10.0
func (opts *VrackIpLoadbalancingCreateOpts) FromResource(d *schema.ResourceData) *VrackIpLoadbalancingCreateOpts
type VrackUpdateOpts ¶ added in v0.14.0
type VrackUpdateOpts struct { Description *string `json:"description,omitempty"` Name *string `json:"name,omitempty"` }
func (*VrackUpdateOpts) FromResource ¶ added in v0.14.0
func (opts *VrackUpdateOpts) FromResource(d *schema.ResourceData) *VrackUpdateOpts
Source Files
¶
- config.go
- data_cloud_project_capabilities_containerregistry.go
- data_cloud_project_capabilities_containerregistry_filter.go
- data_cloud_project_containerregistries.go
- data_cloud_project_containerregistry.go
- data_cloud_project_containerregistry_users.go
- data_cloud_project_kube.go
- data_cloud_project_region.go
- data_cloud_project_regions.go
- data_dbaas_logs_input_engine.go
- data_dbaas_logs_output_graylog_stream.go
- data_dedicated_ceph.go
- data_dedicated_installation_templates.go
- data_dedicated_server.go
- data_dedicated_server_boots.go
- data_dedicated_servers.go
- data_domain_zone.go
- data_ip_service.go
- data_iploadbalancing.go
- data_iploadbalancing_vrack_network.go
- data_iploadbalancing_vrack_networks.go
- data_me_identity_user.go
- data_me_identity_users.go
- data_me_installation_template.go
- data_me_installation_templates.go
- data_me_ipxe_script.go
- data_me_ipxe_scripts.go
- data_me_paymentmean_bankaccount.go
- data_me_paymentmean_creditcard.go
- data_me_ssh_key.go
- data_me_ssh_keys.go
- data_order_cart.go
- data_order_cart_product.go
- data_order_cart_product_options.go
- data_order_cart_product_options_plan.go
- data_order_cart_product_plan.go
- data_vps.go
- data_vracks.go
- dbaas_logs_operation.go
- dedicated_server_task.go
- me_payment_mean.go
- notification_email.go
- order.go
- order_cart.go
- provider.go
- resource_cloud_project.go
- resource_cloud_project_containerregistry.go
- resource_cloud_project_containerregistry_user.go
- resource_cloud_project_kube.go
- resource_cloud_project_kube_nodepool.go
- resource_cloud_project_network_private.go
- resource_cloud_project_network_private_subnet.go
- resource_cloud_project_user.go
- resource_dbaas_logs_input.go
- resource_dbaas_logs_output_graylog_stream.go
- resource_dedicated_ceph_acl.go
- resource_dedicated_server_install_task.go
- resource_dedicated_server_reboot_task.go
- resource_dedicated_server_update.go
- resource_domain_zone.go
- resource_domain_zone_record.go
- resource_domain_zone_redirection.go
- resource_ip_reverse.go
- resource_ip_service.go
- resource_iploadbalancing.go
- resource_iploadbalancing_http_farm.go
- resource_iploadbalancing_http_farm_server.go
- resource_iploadbalancing_http_frontend.go
- resource_iploadbalancing_http_route.go
- resource_iploadbalancing_http_route_rule.go
- resource_iploadbalancing_refresh.go
- resource_iploadbalancing_tcp_farm.go
- resource_iploadbalancing_tcp_farm_server.go
- resource_iploadbalancing_tcp_frontend.go
- resource_iploadbalancing_tcp_route.go
- resource_iploadbalancing_tcp_route_rule.go
- resource_iploadbalancing_vrack_network.go
- resource_me_identity_user.go
- resource_me_installation_template.go
- resource_me_installation_template_partition_scheme.go
- resource_me_installation_template_partition_scheme_hardware_raid.go
- resource_me_installation_template_partition_scheme_partition.go
- resource_me_ipxe_script.go
- resource_me_ssh_key.go
- resource_vrack.go
- resource_vrack_cloudproject.go
- resource_vrack_dedicated_server.go
- resource_vrack_dedicated_server_interface.go
- resource_vrack_ip.go
- resource_vrack_ip_loadbalancing.go
- testing.go
- types.go
- types_cloud.go
- types_cloud_project.go
- types_cloud_project_containerregistry.go
- types_dbaas_logs.go
- types_dbaas_logs_input.go
- types_dbaas_logs_output_graylog_stream.go
- types_dedicated_ceph.go
- types_dedicated_server.go
- types_domain_zone.go
- types_installation_template.go
- types_ip.go
- types_ip_service.go
- types_iploadbalancing.go
- types_me.go
- types_me_order.go
- types_notification_email.go
- types_order_cart.go
- types_order_cart_generic_product.go
- types_order_cart_item.go
- types_vps.go
- types_vrack.go
- vrack_task.go
Click to show internal directories.
Click to hide internal directories.