ovh

package
v0.43.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MPL-2.0 Imports: 55 Imported by: 4

Documentation

Index

Constants

View Source
const (
	OVH_CLOUD_PROJECT_WORKFLOW_BACKUP_ENDPOINT = "/cloud/project/%s/region/%s/workflow/backup"
	OVH_CLOUD_PROJECT_WORKFLOW_BACKUP_REGION   = "region_name"
	OVH_CLOUD_PROJECT_WORKFLOW_BACKUP_SERVICE  = "service_name"
)
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"
)
View Source
const (
	SERVICE_NAME_ATT = "service_name"
)

Variables

View Source
var (
	MePaymentMeanOvhAccountPaymentOpts      = &MeOrderPaymentOpts{PaymentMean: "ovhAccount"}
	MePaymentMeanFidelityAccountPaymentOpts = &MeOrderPaymentOpts{PaymentMean: "fidelityAccount"}
)
View Source
var TaintEffecTypeToID = map[string]TaintEffectType{
	"":                 NotATaint,
	"NoExecute":        NoExecute,
	"NoSchedule":       NoSchedule,
	"PreferNoSchedule": PreferNoSchedule,
}

Functions

func CloudProjectAlertingResourceSchema added in v0.38.0

func CloudProjectAlertingResourceSchema(ctx context.Context) schema.Schema

func CloudProjectDataSourceSchema added in v0.41.0

func CloudProjectDataSourceSchema(ctx context.Context) schema.Schema

func CloudProjectsDataSourceSchema added in v0.41.0

func CloudProjectsDataSourceSchema(ctx context.Context) schema.Schema

func ConfigureContextFunc added in v0.26.0

func ConfigureContextFunc(context context.Context, d *schema.ResourceData) (interface{}, diag.Diagnostics)

func CustomApiServerAdmissionPluginsSchemaSetFunc added in v0.28.0

func CustomApiServerAdmissionPluginsSchemaSetFunc() schema.SchemaSetFunc

CustomApiServerAdmissionPluginsSchemaSetFunc is a custom schema.SchemaSetFunc for api_server.admission_plugins It orders plugins by alphabetical order to avoid hashset diff

func CustomIPVSIPTablesSchemaSetFunc added in v0.28.0

func CustomIPVSIPTablesSchemaSetFunc() schema.SchemaSetFunc

CustomIPVSIPTablesSchemaSetFunc is a custom schema.SchemaSetFunc for IPVS and IPTables block configuration.

Even if setting in the API `PT0S`, it returns `P0D` which is exactly the same duration but induce issue when calculating hashset.

Moreover, we cannot use DiffSuppressFunc because even if the diff is removed the hashset is still different.

Using schema.StateFunc does not help because of internal terraform execution diff calculation order.

func CustomSchemaSetFunc added in v0.28.0

func CustomSchemaSetFunc() schema.SchemaSetFunc

func DedicatedServerSpecificationsHardwareDataSourceSchema added in v0.40.0

func DedicatedServerSpecificationsHardwareDataSourceSchema(ctx context.Context) schema.Schema

func DedicatedServerSpecificationsNetworkDataSourceSchema added in v0.43.0

func DedicatedServerSpecificationsNetworkDataSourceSchema(ctx context.Context) schema.Schema

func DiffDurationRfc3339 added in v0.22.0

func DiffDurationRfc3339(k, old, new string, d *schema.ResourceData) bool

func DomainZoneDnssecDataSourceSchema added in v0.41.0

func DomainZoneDnssecDataSourceSchema(ctx context.Context) schema.Schema

func DomainZoneDnssecResourceSchema added in v0.41.0

func DomainZoneDnssecResourceSchema(ctx context.Context) schema.Schema

func GetRoutedToServiceName added in v0.40.0

func GetRoutedToServiceName(d *schema.ResourceData) *string

func IpFirewallDataSourceSchema added in v0.41.0

func IpFirewallDataSourceSchema(ctx context.Context) schema.Schema

func IpFirewallResourceSchema added in v0.41.0

func IpFirewallResourceSchema(ctx context.Context) schema.Schema

func IpFirewallRuleDataSourceSchema added in v0.41.0

func IpFirewallRuleDataSourceSchema(ctx context.Context) schema.Schema

func IpFirewallRuleResourceSchema added in v0.41.0

func IpFirewallRuleResourceSchema(ctx context.Context) schema.Schema

func IpMitigationDataSourceSchema added in v0.41.0

func IpMitigationDataSourceSchema(ctx context.Context) schema.Schema

func IpMitigationResourceSchema added in v0.41.0

func IpMitigationResourceSchema(ctx context.Context) schema.Schema

func IploadbalancingUdpFrontendResourceSchema added in v0.41.0

func IploadbalancingUdpFrontendResourceSchema(ctx context.Context) schema.Schema

func NewCloudProjectAlertingResource added in v0.38.0

func NewCloudProjectAlertingResource() resource.Resource

func NewCloudProjectDataSource added in v0.41.0

func NewCloudProjectDataSource() datasource.DataSource

func NewCloudProjectDatabaseIPRestrictionsDataSource added in v0.37.0

func NewCloudProjectDatabaseIPRestrictionsDataSource() datasource.DataSource

func NewCloudProjectsDataSource added in v0.41.0

func NewCloudProjectsDataSource() datasource.DataSource

func NewDedicatedServerSpecificationsHardwareDataSource added in v0.40.0

func NewDedicatedServerSpecificationsHardwareDataSource() datasource.DataSource

func NewDedicatedServerSpecificationsNetworkDataSource added in v0.43.0

func NewDedicatedServerSpecificationsNetworkDataSource() datasource.DataSource

func NewDomainZoneDnssecDataSource added in v0.41.0

func NewDomainZoneDnssecDataSource() datasource.DataSource

func NewDomainZoneDnssecResource added in v0.41.0

func NewDomainZoneDnssecResource() resource.Resource

func NewIpFirewallDataSource added in v0.41.0

func NewIpFirewallDataSource() datasource.DataSource

func NewIpFirewallResource added in v0.41.0

func NewIpFirewallResource() resource.Resource

func NewIpFirewallRuleDataSource added in v0.41.0

func NewIpFirewallRuleDataSource() datasource.DataSource

func NewIpFirewallRuleResource added in v0.41.0

func NewIpFirewallRuleResource() resource.Resource

func NewIpMitigationDataSource added in v0.41.0

func NewIpMitigationDataSource() datasource.DataSource

func NewIpMitigationResource added in v0.41.0

func NewIpMitigationResource() resource.Resource

func NewIploadbalancingUdpFrontendResource added in v0.41.0

func NewIploadbalancingUdpFrontendResource() resource.Resource

func NewVpsResource added in v0.41.0

func NewVpsResource() resource.Resource

func OrderResourceSchema added in v0.41.0

func OrderResourceSchema(ctx context.Context) schema.Schema

func Provider

func Provider() *schema.Provider

Provider returns a *schema.Provider for OVH.

func RegionAttributesHash added in v0.20.0

func RegionAttributesHash(v interface{}) int

RegionAttributesHash creates an hash for the region attributes.

func VpsResourceSchema added in v0.41.0

func VpsResourceSchema(ctx context.Context) schema.Schema

func WaitArchivedHostingPrivateDabaseTask added in v0.24.0

func WaitArchivedHostingPrivateDabaseTask(client *ovh.Client, endpoint string, timeout time.Duration) error

WaitArchivedHostingPrivateDabaseTask wait for a task to become archived in the API (aka 404)

Types

type APIServer added in v0.21.0

type APIServer struct {
	AdmissionPlugins *AdmissionPlugins `json:"admissionPlugins,omitempty"`
}

type AdmissionPlugins added in v0.21.0

type AdmissionPlugins struct {
	Enabled  *[]string `json:"enabled,omitempty"`
	Disabled *[]string `json:"disabled,omitempty"`
}

type ApiOauth2ClientCreateOpts added in v0.36.0

type ApiOauth2ClientCreateOpts struct {
	CallbackUrls []string `json:"callbackUrls"`
	Description  string   `json:"description"`
	Flow         string   `json:"flow"`
	Name         string   `json:"name"`
}

Request body parameters for a oauth2 client POST request

type ApiOauth2ClientCreateResponse added in v0.36.0

type ApiOauth2ClientCreateResponse struct {
	ClientId     string `json:"clientId"`
	ClientSecret string `json:"clientSecret"`
}

Response body parameters from a successful oauth2 client POST request

type ApiOauth2ClientReadResponse added in v0.36.0

type ApiOauth2ClientReadResponse struct {
	CallbackUrls []string `json:"callbackUrls"`
	ClientId     string   `json:"clientId"`
	Description  string   `json:"description"`
	Flow         string   `json:"flow"`
	Name         string   `json:"name"`
	Identity     string   `json:"identity"`
}

Response body parameters from a successful oauth2 client GET request

type ApiOauth2ClientUpdateOpts added in v0.36.0

type ApiOauth2ClientUpdateOpts struct {
	CallbackUrls []string `json:"callbackUrls"`
	Description  string   `json:"description"`
	Name         string   `json:"name"`
}

Request body parameters for a oauth2 client PUT request

type BandwidthInternetToOvhType added in v0.43.0

type BandwidthInternetToOvhType struct {
	basetypes.ObjectType
}

func (BandwidthInternetToOvhType) Equal added in v0.43.0

func (BandwidthInternetToOvhType) String added in v0.43.0

func (BandwidthInternetToOvhType) ValueFromObject added in v0.43.0

func (BandwidthInternetToOvhType) ValueFromTerraform added in v0.43.0

func (t BandwidthInternetToOvhType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (BandwidthInternetToOvhType) ValueType added in v0.43.0

type BandwidthInternetToOvhValue added in v0.43.0

type BandwidthInternetToOvhValue struct {
	Unit  ovhtypes.TfStringValue `tfsdk:"unit" json:"unit"`
	Value ovhtypes.TfInt64Value  `tfsdk:"value" json:"value"`
	// contains filtered or unexported fields
}

func NewBandwidthInternetToOvhValue added in v0.43.0

func NewBandwidthInternetToOvhValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (BandwidthInternetToOvhValue, diag.Diagnostics)

func NewBandwidthInternetToOvhValueMust added in v0.43.0

func NewBandwidthInternetToOvhValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) BandwidthInternetToOvhValue

func NewBandwidthInternetToOvhValueNull added in v0.43.0

func NewBandwidthInternetToOvhValueNull() BandwidthInternetToOvhValue

func NewBandwidthInternetToOvhValueUnknown added in v0.43.0

func NewBandwidthInternetToOvhValueUnknown() BandwidthInternetToOvhValue

func (BandwidthInternetToOvhValue) AttributeTypes added in v0.43.0

func (v BandwidthInternetToOvhValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (BandwidthInternetToOvhValue) Attributes added in v0.43.0

func (v BandwidthInternetToOvhValue) Attributes() map[string]attr.Value

func (BandwidthInternetToOvhValue) Equal added in v0.43.0

func (BandwidthInternetToOvhValue) IsNull added in v0.43.0

func (v BandwidthInternetToOvhValue) IsNull() bool

func (BandwidthInternetToOvhValue) IsUnknown added in v0.43.0

func (v BandwidthInternetToOvhValue) IsUnknown() bool

func (*BandwidthInternetToOvhValue) MergeWith added in v0.43.0

func (BandwidthInternetToOvhValue) String added in v0.43.0

func (BandwidthInternetToOvhValue) ToObjectValue added in v0.43.0

func (BandwidthInternetToOvhValue) ToTerraformValue added in v0.43.0

func (v BandwidthInternetToOvhValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (BandwidthInternetToOvhValue) Type added in v0.43.0

func (*BandwidthInternetToOvhValue) UnmarshalJSON added in v0.43.0

func (v *BandwidthInternetToOvhValue) UnmarshalJSON(data []byte) error

type BandwidthOvhToInternetType added in v0.43.0

type BandwidthOvhToInternetType struct {
	basetypes.ObjectType
}

func (BandwidthOvhToInternetType) Equal added in v0.43.0

func (BandwidthOvhToInternetType) String added in v0.43.0

func (BandwidthOvhToInternetType) ValueFromObject added in v0.43.0

func (BandwidthOvhToInternetType) ValueFromTerraform added in v0.43.0

func (t BandwidthOvhToInternetType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (BandwidthOvhToInternetType) ValueType added in v0.43.0

type BandwidthOvhToInternetValue added in v0.43.0

type BandwidthOvhToInternetValue struct {
	Unit  ovhtypes.TfStringValue `tfsdk:"unit" json:"unit"`
	Value ovhtypes.TfInt64Value  `tfsdk:"value" json:"value"`
	// contains filtered or unexported fields
}

func NewBandwidthOvhToInternetValue added in v0.43.0

func NewBandwidthOvhToInternetValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (BandwidthOvhToInternetValue, diag.Diagnostics)

func NewBandwidthOvhToInternetValueMust added in v0.43.0

func NewBandwidthOvhToInternetValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) BandwidthOvhToInternetValue

func NewBandwidthOvhToInternetValueNull added in v0.43.0

func NewBandwidthOvhToInternetValueNull() BandwidthOvhToInternetValue

func NewBandwidthOvhToInternetValueUnknown added in v0.43.0

func NewBandwidthOvhToInternetValueUnknown() BandwidthOvhToInternetValue

func (BandwidthOvhToInternetValue) AttributeTypes added in v0.43.0

func (v BandwidthOvhToInternetValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (BandwidthOvhToInternetValue) Attributes added in v0.43.0

func (v BandwidthOvhToInternetValue) Attributes() map[string]attr.Value

func (BandwidthOvhToInternetValue) Equal added in v0.43.0

func (BandwidthOvhToInternetValue) IsNull added in v0.43.0

func (v BandwidthOvhToInternetValue) IsNull() bool

func (BandwidthOvhToInternetValue) IsUnknown added in v0.43.0

func (v BandwidthOvhToInternetValue) IsUnknown() bool

func (*BandwidthOvhToInternetValue) MergeWith added in v0.43.0

func (BandwidthOvhToInternetValue) String added in v0.43.0

func (BandwidthOvhToInternetValue) ToObjectValue added in v0.43.0

func (BandwidthOvhToInternetValue) ToTerraformValue added in v0.43.0

func (v BandwidthOvhToInternetValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (BandwidthOvhToInternetValue) Type added in v0.43.0

func (*BandwidthOvhToInternetValue) UnmarshalJSON added in v0.43.0

func (v *BandwidthOvhToInternetValue) UnmarshalJSON(data []byte) error

type BandwidthOvhToOvhType added in v0.43.0

type BandwidthOvhToOvhType struct {
	basetypes.ObjectType
}

func (BandwidthOvhToOvhType) Equal added in v0.43.0

func (t BandwidthOvhToOvhType) Equal(o attr.Type) bool

func (BandwidthOvhToOvhType) String added in v0.43.0

func (t BandwidthOvhToOvhType) String() string

func (BandwidthOvhToOvhType) ValueFromObject added in v0.43.0

func (BandwidthOvhToOvhType) ValueFromTerraform added in v0.43.0

func (t BandwidthOvhToOvhType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (BandwidthOvhToOvhType) ValueType added in v0.43.0

func (t BandwidthOvhToOvhType) ValueType(ctx context.Context) attr.Value

type BandwidthOvhToOvhValue added in v0.43.0

type BandwidthOvhToOvhValue struct {
	Unit  ovhtypes.TfStringValue `tfsdk:"unit" json:"unit"`
	Value ovhtypes.TfInt64Value  `tfsdk:"value" json:"value"`
	// contains filtered or unexported fields
}

func NewBandwidthOvhToOvhValue added in v0.43.0

func NewBandwidthOvhToOvhValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (BandwidthOvhToOvhValue, diag.Diagnostics)

func NewBandwidthOvhToOvhValueMust added in v0.43.0

func NewBandwidthOvhToOvhValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) BandwidthOvhToOvhValue

func NewBandwidthOvhToOvhValueNull added in v0.43.0

func NewBandwidthOvhToOvhValueNull() BandwidthOvhToOvhValue

func NewBandwidthOvhToOvhValueUnknown added in v0.43.0

func NewBandwidthOvhToOvhValueUnknown() BandwidthOvhToOvhValue

func (BandwidthOvhToOvhValue) AttributeTypes added in v0.43.0

func (v BandwidthOvhToOvhValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (BandwidthOvhToOvhValue) Attributes added in v0.43.0

func (v BandwidthOvhToOvhValue) Attributes() map[string]attr.Value

func (BandwidthOvhToOvhValue) Equal added in v0.43.0

func (BandwidthOvhToOvhValue) IsNull added in v0.43.0

func (v BandwidthOvhToOvhValue) IsNull() bool

func (BandwidthOvhToOvhValue) IsUnknown added in v0.43.0

func (v BandwidthOvhToOvhValue) IsUnknown() bool

func (*BandwidthOvhToOvhValue) MergeWith added in v0.43.0

func (v *BandwidthOvhToOvhValue) MergeWith(other *BandwidthOvhToOvhValue)

func (BandwidthOvhToOvhValue) String added in v0.43.0

func (v BandwidthOvhToOvhValue) String() string

func (BandwidthOvhToOvhValue) ToObjectValue added in v0.43.0

func (BandwidthOvhToOvhValue) ToTerraformValue added in v0.43.0

func (v BandwidthOvhToOvhValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (BandwidthOvhToOvhValue) Type added in v0.43.0

func (*BandwidthOvhToOvhValue) UnmarshalJSON added in v0.43.0

func (v *BandwidthOvhToOvhValue) UnmarshalJSON(data []byte) error

type BandwidthType added in v0.43.0

type BandwidthType struct {
	basetypes.ObjectType
}

func (BandwidthType) Equal added in v0.43.0

func (t BandwidthType) Equal(o attr.Type) bool

func (BandwidthType) String added in v0.43.0

func (t BandwidthType) String() string

func (BandwidthType) ValueFromObject added in v0.43.0

func (BandwidthType) ValueFromTerraform added in v0.43.0

func (t BandwidthType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (BandwidthType) ValueType added in v0.43.0

func (t BandwidthType) ValueType(ctx context.Context) attr.Value

type BandwidthValue added in v0.43.0

type BandwidthValue struct {
	InternetToOvh BandwidthInternetToOvhValue `tfsdk:"internet_to_ovh" json:"internetToOvh"`
	OvhToInternet BandwidthOvhToInternetValue `tfsdk:"ovh_to_internet" json:"ovhToInternet"`
	OvhToOvh      BandwidthOvhToOvhValue      `tfsdk:"ovh_to_ovh" json:"ovhToOvh"`
	BandwidthType ovhtypes.TfStringValue      `tfsdk:"type" json:"type"`
	// contains filtered or unexported fields
}

func NewBandwidthValue added in v0.43.0

func NewBandwidthValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (BandwidthValue, diag.Diagnostics)

func NewBandwidthValueMust added in v0.43.0

func NewBandwidthValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) BandwidthValue

func NewBandwidthValueNull added in v0.43.0

func NewBandwidthValueNull() BandwidthValue

func NewBandwidthValueUnknown added in v0.43.0

func NewBandwidthValueUnknown() BandwidthValue

func (BandwidthValue) AttributeTypes added in v0.43.0

func (v BandwidthValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (BandwidthValue) Attributes added in v0.43.0

func (v BandwidthValue) Attributes() map[string]attr.Value

func (BandwidthValue) Equal added in v0.43.0

func (v BandwidthValue) Equal(o attr.Value) bool

func (BandwidthValue) IsNull added in v0.43.0

func (v BandwidthValue) IsNull() bool

func (BandwidthValue) IsUnknown added in v0.43.0

func (v BandwidthValue) IsUnknown() bool

func (*BandwidthValue) MergeWith added in v0.43.0

func (v *BandwidthValue) MergeWith(other *BandwidthValue)

func (BandwidthValue) String added in v0.43.0

func (v BandwidthValue) String() string

func (BandwidthValue) ToObjectValue added in v0.43.0

func (BandwidthValue) ToTerraformValue added in v0.43.0

func (v BandwidthValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (BandwidthValue) Type added in v0.43.0

func (v BandwidthValue) Type(ctx context.Context) attr.Type

func (*BandwidthValue) UnmarshalJSON added in v0.43.0

func (v *BandwidthValue) UnmarshalJSON(data []byte) error

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"`
	IamResourceDetails `json:"iam"`
}

func (CloudProject) ToMap added in v0.14.0

func (v CloudProject) ToMap() map[string]interface{}

type CloudProjectAlertingModel added in v0.38.0

type CloudProjectAlertingModel struct {
	CreationDate              ovhtypes.TfStringValue         `tfsdk:"creation_date" json:"creationDate"`
	Delay                     ovhtypes.TfInt64Value          `tfsdk:"delay" json:"delay"`
	Email                     ovhtypes.TfStringValue         `tfsdk:"email" json:"email"`
	FormattedMonthlyThreshold FormattedMonthlyThresholdValue `tfsdk:"formatted_monthly_threshold" json:"formattedMonthlyThreshold"`
	Id                        ovhtypes.TfStringValue         `tfsdk:"id" json:"id"`
	MonthlyThreshold          ovhtypes.TfInt64Value          `tfsdk:"monthly_threshold" json:"monthlyThreshold"`
	ServiceName               ovhtypes.TfStringValue         `tfsdk:"service_name" json:"serviceName"`
}

func (*CloudProjectAlertingModel) MergeWith added in v0.38.0

func (CloudProjectAlertingModel) ToCreate added in v0.38.0

func (CloudProjectAlertingModel) ToUpdate added in v0.38.0

type CloudProjectAlertingWritableModel added in v0.38.0

type CloudProjectAlertingWritableModel struct {
	Delay            *ovhtypes.TfInt64Value  `tfsdk:"delay" json:"delay,omitempty"`
	Email            *ovhtypes.TfStringValue `tfsdk:"email" json:"email,omitempty"`
	MonthlyThreshold *ovhtypes.TfInt64Value  `tfsdk:"monthly_threshold" json:"monthlyThreshold,omitempty"`
}

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

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

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 (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

type CloudProjectContainerRegistryIPRestriction added in v0.37.0

type CloudProjectContainerRegistryIPRestriction struct {
	Description string `json:"description,omitempty"`
	IPBlock     string `json:"ipBlock"`
}

func (CloudProjectContainerRegistryIPRestriction) ToMap added in v0.37.0

func (r CloudProjectContainerRegistryIPRestriction) ToMap() map[string]interface{}

type CloudProjectContainerRegistryIPRestrictionCreateOpts added in v0.37.0

type CloudProjectContainerRegistryIPRestrictionCreateOpts struct {
	IPRestrictions []CloudProjectContainerRegistryIPRestriction `json:"ipRestrictions"`
}

func (*CloudProjectContainerRegistryIPRestrictionCreateOpts) FromResource added in v0.37.0

type CloudProjectContainerRegistryOIDCCreateOpts added in v0.34.0

type CloudProjectContainerRegistryOIDCCreateOpts struct {
	DeleteUsers bool                                      `json:"deleteUsers"`
	Provider    CloudProjectContainerRegistryOIDCProvider `json:"provider"`
}

func (*CloudProjectContainerRegistryOIDCCreateOpts) FromResource added in v0.34.0

type CloudProjectContainerRegistryOIDCProvider added in v0.34.0

type CloudProjectContainerRegistryOIDCProvider struct {
	// Fields required, omitempty for patch, requirements checked with ValidateParameters
	Name         string `json:"name"`
	Endpoint     string `json:"endpoint"`
	ClientID     string `json:"clientId"`
	ClientSecret string `json:"clientSecret"`
	Scope        string `json:"scope"`

	// Optional fields
	GroupsClaim string `json:"groupsClaim,omitempty"`
	AdminGroup  string `json:"adminGroup,omitempty"`
	VerifyCert  bool   `json:"verifyCert,omitempty"`
	AutoOnboard bool   `json:"autoOnboard,omitempty"`
	UserClaim   string `json:"userClaim,omitempty"`
}

type CloudProjectContainerRegistryOIDCResponse added in v0.34.0

type CloudProjectContainerRegistryOIDCResponse struct {
	// Fields required, omitempty for patch, requirements checked with ValidateParameters
	Name     string `json:"name"`
	Endpoint string `json:"endpoint"`
	ClientID string `json:"clientId"`
	Scope    string `json:"scope"`

	// Non required
	GroupsClaim string `json:"groupsClaim"`
	AdminGroup  string `json:"adminGroup"`
	VerifyCert  bool   `json:"verifyCert"`
	AutoOnboard bool   `json:"autoOnboard"`
	UserClaim   string `json:"userClaim"`
}

func (CloudProjectContainerRegistryOIDCResponse) ToMap added in v0.34.0

func (v CloudProjectContainerRegistryOIDCResponse) ToMap() map[string]interface{}

type CloudProjectContainerRegistryOIDCUpdateOpts added in v0.34.0

type CloudProjectContainerRegistryOIDCUpdateOpts struct {
	Provider CloudProjectContainerRegistryOIDCProvider `json:"provider"`
}

func (*CloudProjectContainerRegistryOIDCUpdateOpts) FromResource added in v0.34.0

type CloudProjectContainerRegistryPlanUpdateOpts added in v0.12.0

type CloudProjectContainerRegistryPlanUpdateOpts struct {
	PlanId string `json:"planID"`
}

func (*CloudProjectContainerRegistryPlanUpdateOpts) FromResource added in v0.12.0

type CloudProjectContainerRegistryUpdateOpts added in v0.12.0

type CloudProjectContainerRegistryUpdateOpts struct {
	Name string `json:"name"`
}

func (*CloudProjectContainerRegistryUpdateOpts) FromResource added in v0.12.0

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 (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

type CloudProjectDatabaseBackups added in v0.37.0

type CloudProjectDatabaseBackups struct {
	Regions []string `json:"regions,omitempty"`
	Time    string   `json:"time,omitempty"`
}

type CloudProjectDatabaseCapabilitiesEngine added in v0.22.0

type CloudProjectDatabaseCapabilitiesEngine struct {
	DefaultVersion string   `json:"defaultVersion"`
	Description    string   `json:"description"`
	Name           string   `json:"name"`
	SslModes       []string `json:"sslModes"`
	Versions       []string `json:"versions"`
}

func (CloudProjectDatabaseCapabilitiesEngine) ToMap added in v0.22.0

func (v CloudProjectDatabaseCapabilitiesEngine) ToMap() map[string]interface{}

type CloudProjectDatabaseCapabilitiesFlavor added in v0.22.0

type CloudProjectDatabaseCapabilitiesFlavor struct {
	Core    int    `json:"core"`
	Memory  int    `json:"memory"`
	Name    string `json:"name"`
	Storage int    `json:"storage"`
}

func (CloudProjectDatabaseCapabilitiesFlavor) ToMap added in v0.22.0

func (v CloudProjectDatabaseCapabilitiesFlavor) ToMap() map[string]interface{}

type CloudProjectDatabaseCapabilitiesOption added in v0.22.0

type CloudProjectDatabaseCapabilitiesOption struct {
	Name string `json:"name"`
	Type string `json:"type"`
}

func (CloudProjectDatabaseCapabilitiesOption) ToMap added in v0.22.0

func (v CloudProjectDatabaseCapabilitiesOption) ToMap() map[string]interface{}

type CloudProjectDatabaseCapabilitiesPlan added in v0.22.0

type CloudProjectDatabaseCapabilitiesPlan struct {
	BackupRetention string `json:"backupRetention"`
	Description     string `json:"description"`
	Name            string `json:"name"`
}

func (CloudProjectDatabaseCapabilitiesPlan) ToMap added in v0.22.0

func (v CloudProjectDatabaseCapabilitiesPlan) ToMap() map[string]interface{}

type CloudProjectDatabaseCapabilitiesResponse added in v0.22.0

type CloudProjectDatabaseCapabilitiesResponse struct {
	Engines []CloudProjectDatabaseCapabilitiesEngine `json:"engines"`
	Flavors []CloudProjectDatabaseCapabilitiesFlavor `json:"flavors"`
	Options []CloudProjectDatabaseCapabilitiesOption `json:"options"`
	Plans   []CloudProjectDatabaseCapabilitiesPlan   `json:"plans"`
}

func (CloudProjectDatabaseCapabilitiesResponse) ToMap added in v0.22.0

func (v CloudProjectDatabaseCapabilitiesResponse) ToMap() map[string]interface{}

type CloudProjectDatabaseCertificatesResponse added in v0.22.0

type CloudProjectDatabaseCertificatesResponse struct {
	Ca string `json:"ca"`
}

func (*CloudProjectDatabaseCertificatesResponse) String added in v0.22.0

func (CloudProjectDatabaseCertificatesResponse) ToMap added in v0.22.0

func (v CloudProjectDatabaseCertificatesResponse) ToMap() map[string]interface{}

type CloudProjectDatabaseCreateOpts added in v0.19.0

type CloudProjectDatabaseCreateOpts struct {
	Backups        *CloudProjectDatabaseBackups        `json:"backups,omitempty"`
	Description    string                              `json:"description,omitempty"`
	Disk           CloudProjectDatabaseDisk            `json:"disk,omitempty"`
	IPRestrictions []CloudProjectDatabaseIPRestriction `json:"ipRestrictions,omitempty"`
	NetworkId      string                              `json:"networkId,omitempty"`
	NodesPattern   CloudProjectDatabaseNodesPattern    `json:"nodesPattern,omitempty"`
	Plan           string                              `json:"plan"`
	SubnetId       string                              `json:"subnetId,omitempty"`
	Version        string                              `json:"version"`
}

type CloudProjectDatabaseDatabaseCreateOpts added in v0.22.0

type CloudProjectDatabaseDatabaseCreateOpts struct {
	Name string `json:"name"`
}

func (*CloudProjectDatabaseDatabaseCreateOpts) FromResource added in v0.22.0

type CloudProjectDatabaseDatabaseResponse added in v0.22.0

type CloudProjectDatabaseDatabaseResponse struct {
	Default bool   `json:"default"`
	Id      string `json:"id"`
	Name    string `json:"name"`
}

func (*CloudProjectDatabaseDatabaseResponse) String added in v0.22.0

func (CloudProjectDatabaseDatabaseResponse) ToMap added in v0.22.0

func (v CloudProjectDatabaseDatabaseResponse) ToMap() map[string]interface{}

type CloudProjectDatabaseDisk added in v0.23.0

type CloudProjectDatabaseDisk struct {
	Type string `json:"type,omitempty"`
	Size int    `json:"size,omitempty"`
}

type CloudProjectDatabaseEndpoint added in v0.19.0

type CloudProjectDatabaseEndpoint struct {
	Component string `json:"component"`
	Domain    string `json:"domain"`
	Path      string `json:"path"`
	Port      int    `json:"port"`
	Scheme    string `json:"scheme"`
	Ssl       bool   `json:"ssl"`
	SslMode   string `json:"sslMode"`
	Uri       string `json:"uri"`
}

func (CloudProjectDatabaseEndpoint) ToMap added in v0.19.0

func (v CloudProjectDatabaseEndpoint) ToMap() map[string]interface{}

type CloudProjectDatabaseIPRestriction added in v0.42.0

type CloudProjectDatabaseIPRestriction struct {
	Description string `json:"description"`
	IP          string `json:"ip"`
}

func (*CloudProjectDatabaseIPRestriction) FromResourceWithPath added in v0.42.0

type CloudProjectDatabaseIPRestrictionResponse added in v0.42.0

type CloudProjectDatabaseIPRestrictionResponse struct {
	CloudProjectDatabaseIPRestriction
	Status string `json:"status"`
}

type CloudProjectDatabaseIntegrationCreateOpts added in v0.22.0

type CloudProjectDatabaseIntegrationCreateOpts struct {
	DestinationServiceId string            `json:"destinationServiceId"`
	Parameters           map[string]string `json:"parameters,omitempty"`
	SourceServiceId      string            `json:"sourceServiceId"`
	Type                 string            `json:"type,omitempty"`
}

func (*CloudProjectDatabaseIntegrationCreateOpts) FromResource added in v0.22.0

type CloudProjectDatabaseIntegrationResponse added in v0.22.0

type CloudProjectDatabaseIntegrationResponse struct {
	DestinationServiceId string            `json:"destinationServiceId"`
	Id                   string            `json:"id"`
	Parameters           map[string]string `json:"parameters"`
	SourceServiceId      string            `json:"sourceServiceId"`
	Status               string            `json:"status"`
	Type                 string            `json:"type"`
}

func (*CloudProjectDatabaseIntegrationResponse) String added in v0.22.0

func (CloudProjectDatabaseIntegrationResponse) ToMap added in v0.22.0

func (v CloudProjectDatabaseIntegrationResponse) ToMap() map[string]interface{}

type CloudProjectDatabaseIpRestrictionCreateOpts added in v0.19.0

type CloudProjectDatabaseIpRestrictionCreateOpts struct {
	Description string `json:"description,omitempty"`
	Ip          string `json:"ip"`
}

func (*CloudProjectDatabaseIpRestrictionCreateOpts) FromResource added in v0.19.0

type CloudProjectDatabaseIpRestrictionResponse added in v0.19.0

type CloudProjectDatabaseIpRestrictionResponse struct {
	Description string `json:"description"`
	Ip          string `json:"ip"`
	Status      string `json:"status"`
}

func (*CloudProjectDatabaseIpRestrictionResponse) String added in v0.19.0

func (CloudProjectDatabaseIpRestrictionResponse) ToMap added in v0.19.0

func (v CloudProjectDatabaseIpRestrictionResponse) ToMap() map[string]interface{}

type CloudProjectDatabaseIpRestrictionUpdateOpts added in v0.19.0

type CloudProjectDatabaseIpRestrictionUpdateOpts struct {
	Description string `json:"description,omitempty"`
}

func (*CloudProjectDatabaseIpRestrictionUpdateOpts) FromResource added in v0.19.0

type CloudProjectDatabaseKafkaAclCreateOpts added in v0.20.0

type CloudProjectDatabaseKafkaAclCreateOpts struct {
	Permission string `json:"permission"`
	Topic      string `json:"topic"`
	Username   string `json:"username"`
}

func (*CloudProjectDatabaseKafkaAclCreateOpts) FromResource added in v0.20.0

type CloudProjectDatabaseKafkaAclResponse added in v0.20.0

type CloudProjectDatabaseKafkaAclResponse struct {
	Id         string `json:"id"`
	Permission string `json:"permission"`
	Topic      string `json:"topic"`
	Username   string `json:"username"`
}

func (*CloudProjectDatabaseKafkaAclResponse) String added in v0.20.0

func (CloudProjectDatabaseKafkaAclResponse) ToMap added in v0.20.0

func (v CloudProjectDatabaseKafkaAclResponse) ToMap() map[string]interface{}

type CloudProjectDatabaseKafkaSchemaRegistryAclCreateOpts added in v0.33.0

type CloudProjectDatabaseKafkaSchemaRegistryAclCreateOpts struct {
	Permission string `json:"permission"`
	Resource   string `json:"resource"`
	Username   string `json:"username"`
}

func (*CloudProjectDatabaseKafkaSchemaRegistryAclCreateOpts) FromResource added in v0.33.0

type CloudProjectDatabaseKafkaSchemaRegistryAclResponse added in v0.33.0

type CloudProjectDatabaseKafkaSchemaRegistryAclResponse struct {
	Id         string `json:"id"`
	Permission string `json:"permission"`
	Resource   string `json:"resource"`
	Username   string `json:"username"`
}

func (*CloudProjectDatabaseKafkaSchemaRegistryAclResponse) String added in v0.33.0

func (CloudProjectDatabaseKafkaSchemaRegistryAclResponse) ToMap added in v0.33.0

type CloudProjectDatabaseKafkaTopicCreateOpts added in v0.20.0

type CloudProjectDatabaseKafkaTopicCreateOpts struct {
	MinInsyncReplicas int    `json:"minInsyncReplicas"`
	Name              string `json:"name,omitempty"`
	Partitions        int    `json:"partitions"`
	Replication       int    `json:"replication"`
	RetentionBytes    int    `json:"retentionBytes"`
	RetentionHours    int    `json:"retentionHours"`
}

func (*CloudProjectDatabaseKafkaTopicCreateOpts) FromResource added in v0.20.0

type CloudProjectDatabaseKafkaTopicResponse added in v0.20.0

type CloudProjectDatabaseKafkaTopicResponse struct {
	Id                string `json:"id"`
	MinInsyncReplicas int    `json:"minInsyncReplicas"`
	Name              string `json:"name"`
	Partitions        int    `json:"partitions"`
	Replication       int    `json:"replication"`
	RetentionBytes    int    `json:"retentionBytes"`
	RetentionHours    int    `json:"retentionHours"`
}

func (*CloudProjectDatabaseKafkaTopicResponse) String added in v0.20.0

func (CloudProjectDatabaseKafkaTopicResponse) ToMap added in v0.20.0

func (v CloudProjectDatabaseKafkaTopicResponse) ToMap() map[string]interface{}

type CloudProjectDatabaseKafkaUserAccessResponse added in v0.20.0

type CloudProjectDatabaseKafkaUserAccessResponse struct {
	Cert string `json:"cert"`
	Key  string `json:"key"`
}

func (*CloudProjectDatabaseKafkaUserAccessResponse) String added in v0.20.0

func (CloudProjectDatabaseKafkaUserAccessResponse) ToMap added in v0.20.0

func (v CloudProjectDatabaseKafkaUserAccessResponse) ToMap() map[string]interface{}

type CloudProjectDatabaseLogSubscriptionCreateOpts added in v0.42.0

type CloudProjectDatabaseLogSubscriptionCreateOpts struct {
	StreamID string `json:"streamId"`
}

type CloudProjectDatabaseLogSubscriptionResource added in v0.42.0

type CloudProjectDatabaseLogSubscriptionResource struct {
	Name string `json:"name"`
	Type string `json:"type"`
}

type CloudProjectDatabaseLogSubscriptionResponse added in v0.42.0

type CloudProjectDatabaseLogSubscriptionResponse struct {
	CreatedAt      string                                      `json:"createdAt"`
	Kind           string                                      `json:"kind"`
	OperationID    string                                      `json:"operationId"`
	Resource       CloudProjectDatabaseLogSubscriptionResource `json:"resource"`
	LDPServiceName string                                      `json:"serviceName"`
	StreamID       string                                      `json:"streamId"`
	SubscriptionID string                                      `json:"subscriptionId"`
	UpdatedAt      string                                      `json:"updatedAt"`
}

type CloudProjectDatabaseM3dbNamespaceCreateOpts added in v0.22.0

type CloudProjectDatabaseM3dbNamespaceCreateOpts struct {
	Name                     string                                     `json:"name"`
	Resolution               string                                     `json:"resolution,omitempty"`
	Retention                CloudProjectDatabaseM3dbNamespaceRetention `json:"retention,omitempty"`
	SnapshotEnabled          bool                                       `json:"snapshotEnabled"`
	Type                     string                                     `json:"type"`
	WritesToCommitLogEnabled bool                                       `json:"writesToCommitLogEnabled"`
}

func (*CloudProjectDatabaseM3dbNamespaceCreateOpts) FromResource added in v0.22.0

type CloudProjectDatabaseM3dbNamespaceResponse added in v0.22.0

type CloudProjectDatabaseM3dbNamespaceResponse struct {
	Id                       string                                     `json:"id"`
	Name                     string                                     `json:"name"`
	Resolution               string                                     `json:"resolution"`
	Retention                CloudProjectDatabaseM3dbNamespaceRetention `json:"retention"`
	SnapshotEnabled          bool                                       `json:"snapshotEnabled"`
	Type                     string                                     `json:"type"`
	WritesToCommitLogEnabled bool                                       `json:"writesToCommitLogEnabled"`
}

func (*CloudProjectDatabaseM3dbNamespaceResponse) String added in v0.22.0

func (CloudProjectDatabaseM3dbNamespaceResponse) ToMap added in v0.22.0

func (v CloudProjectDatabaseM3dbNamespaceResponse) ToMap() map[string]interface{}

type CloudProjectDatabaseM3dbNamespaceRetention added in v0.22.0

type CloudProjectDatabaseM3dbNamespaceRetention struct {
	BlockDataExpirationDuration string `json:"blockDataExpirationDuration,omitempty"`
	BlockSizeDuration           string `json:"blockSizeDuration,omitempty"`
	BufferFutureDuration        string `json:"bufferFutureDuration,omitempty"`
	BufferPastDuration          string `json:"bufferPastDuration,omitempty"`
	PeriodDuration              string `json:"periodDuration,omitempty"`
}

type CloudProjectDatabaseM3dbNamespaceUpdateOpts added in v0.22.0

type CloudProjectDatabaseM3dbNamespaceUpdateOpts struct {
	Resolution               string                                     `json:"resolution,omitempty"`
	Retention                CloudProjectDatabaseM3dbNamespaceRetention `json:"retention,omitempty"`
	SnapshotEnabled          bool                                       `json:"snapshotEnabled,omitempty"`
	WritesToCommitLogEnabled bool                                       `json:"writesToCommitLogEnabled,omitempty"`
}

func (*CloudProjectDatabaseM3dbNamespaceUpdateOpts) FromResource added in v0.22.0

type CloudProjectDatabaseM3dbUserCreateOpts added in v0.22.0

type CloudProjectDatabaseM3dbUserCreateOpts struct {
	Group string `json:"group,omitempty"`
	Name  string `json:"name"`
}

func (*CloudProjectDatabaseM3dbUserCreateOpts) FromResource added in v0.22.0

type CloudProjectDatabaseM3dbUserResponse added in v0.22.0

type CloudProjectDatabaseM3dbUserResponse struct {
	CreatedAt string `json:"createdAt"`
	Group     string `json:"group"`
	Id        string `json:"id"`
	Password  string `json:"password"`
	Status    string `json:"status"`
	Username  string `json:"username"`
}

func (*CloudProjectDatabaseM3dbUserResponse) String added in v0.22.0

func (CloudProjectDatabaseM3dbUserResponse) ToMap added in v0.22.0

func (v CloudProjectDatabaseM3dbUserResponse) ToMap() map[string]interface{}

type CloudProjectDatabaseM3dbUserUpdateOpts added in v0.22.0

type CloudProjectDatabaseM3dbUserUpdateOpts struct {
	Group string `json:"group,omitempty"`
}

func (*CloudProjectDatabaseM3dbUserUpdateOpts) FromResource added in v0.22.0

type CloudProjectDatabaseMongodbUserCreateOpts added in v0.20.0

type CloudProjectDatabaseMongodbUserCreateOpts struct {
	Name  string   `json:"name"`
	Roles []string `json:"roles"`
}

type CloudProjectDatabaseMongodbUserResponse added in v0.20.0

type CloudProjectDatabaseMongodbUserResponse struct {
	CreatedAt string   `json:"createdAt"`
	ID        string   `json:"id"`
	Password  string   `json:"password"`
	Roles     []string `json:"roles"`
	Status    string   `json:"status"`
	Username  string   `json:"username"`
}

func (*CloudProjectDatabaseMongodbUserResponse) String added in v0.20.0

type CloudProjectDatabaseMongodbUserUpdateOpts added in v0.20.0

type CloudProjectDatabaseMongodbUserUpdateOpts struct {
	Roles []string `json:"roles"`
}

type CloudProjectDatabaseNodes added in v0.19.0

type CloudProjectDatabaseNodes struct {
	NetworkId string `json:"networkId,omitempty"`
	Region    string `json:"region"`
	SubnetId  string `json:"subnetId,omitempty"`
}

func (*CloudProjectDatabaseNodes) FromResourceWithPath added in v0.19.0

func (opts *CloudProjectDatabaseNodes) FromResourceWithPath(d *schema.ResourceData, path string) *CloudProjectDatabaseNodes

func (CloudProjectDatabaseNodes) ToMap added in v0.19.0

func (v CloudProjectDatabaseNodes) ToMap() map[string]interface{}

type CloudProjectDatabaseNodesPattern added in v0.19.0

type CloudProjectDatabaseNodesPattern struct {
	Flavor string `json:"flavor"`
	Number int    `json:"number"`
	Region string `json:"region"`
}

type CloudProjectDatabaseOpensearchPatternCreateOpts added in v0.20.0

type CloudProjectDatabaseOpensearchPatternCreateOpts struct {
	MaxIndexCount int    `json:"maxIndexCount,omitempty"`
	Pattern       string `json:"pattern"`
}

func (*CloudProjectDatabaseOpensearchPatternCreateOpts) FromResource added in v0.20.0

type CloudProjectDatabaseOpensearchPatternResponse added in v0.20.0

type CloudProjectDatabaseOpensearchPatternResponse struct {
	Id            string `json:"id"`
	MaxIndexCount int    `json:"maxIndexCount"`
	Pattern       string `json:"pattern"`
}

func (*CloudProjectDatabaseOpensearchPatternResponse) String added in v0.20.0

func (CloudProjectDatabaseOpensearchPatternResponse) ToMap added in v0.20.0

func (v CloudProjectDatabaseOpensearchPatternResponse) ToMap() map[string]interface{}

type CloudProjectDatabaseOpensearchUserAcl added in v0.20.0

type CloudProjectDatabaseOpensearchUserAcl struct {
	Pattern    string `json:"pattern"`
	Permission string `json:"permission"`
}

func (CloudProjectDatabaseOpensearchUserAcl) ToMap added in v0.20.0

type CloudProjectDatabaseOpensearchUserCreateOpts added in v0.20.0

type CloudProjectDatabaseOpensearchUserCreateOpts struct {
	Acls []CloudProjectDatabaseOpensearchUserAcl `json:"acls,omitempty"`
	Name string                                  `json:"name"`
}

func (*CloudProjectDatabaseOpensearchUserCreateOpts) FromResource added in v0.20.0

type CloudProjectDatabaseOpensearchUserResponse added in v0.20.0

type CloudProjectDatabaseOpensearchUserResponse struct {
	Acls      []CloudProjectDatabaseOpensearchUserAcl `json:"acls"`
	CreatedAt string                                  `json:"createdAt"`
	Id        string                                  `json:"id"`
	Password  string                                  `json:"password"`
	Status    string                                  `json:"status"`
	Username  string                                  `json:"username"`
}

func (*CloudProjectDatabaseOpensearchUserResponse) String added in v0.20.0

func (CloudProjectDatabaseOpensearchUserResponse) ToMap added in v0.20.0

func (v CloudProjectDatabaseOpensearchUserResponse) ToMap() map[string]interface{}

type CloudProjectDatabaseOpensearchUserUpdateOpts added in v0.20.0

type CloudProjectDatabaseOpensearchUserUpdateOpts struct {
	Acls []CloudProjectDatabaseOpensearchUserAcl `json:"acls,omitempty"`
}

func (*CloudProjectDatabaseOpensearchUserUpdateOpts) FromResource added in v0.20.0

type CloudProjectDatabasePostgresqlConnectionPoolCreateOpts added in v0.37.0

type CloudProjectDatabasePostgresqlConnectionPoolCreateOpts struct {
	DatabaseID string `json:"databaseId"`
	Mode       string `json:"mode"`
	Name       string `json:"name"`
	Size       int    `json:"size"`
	UserID     string `json:"userId,omitempty"`
}

type CloudProjectDatabasePostgresqlConnectionPoolResponse added in v0.37.0

type CloudProjectDatabasePostgresqlConnectionPoolResponse struct {
	DatabaseID string `json:"databaseId"`
	ID         string `json:"id"`
	Mode       string `json:"mode"`
	Name       string `json:"name"`
	Port       int64  `json:"port"`
	Size       int    `json:"size"`
	SslMode    string `json:"sslMode"`
	URI        string `json:"uri"`
	UserID     string `json:"userId"`
}

type CloudProjectDatabasePostgresqlConnectionPoolUpdateOpts added in v0.37.0

type CloudProjectDatabasePostgresqlConnectionPoolUpdateOpts struct {
	DatabaseID string `json:"databaseId,omitempty"`
	Mode       string `json:"mode,omitempty"`
	Size       int    `json:"size,omitempty"`
	UserID     string `json:"userId,omitempty"`
}

type CloudProjectDatabasePostgresqlUserCreateOpts added in v0.19.0

type CloudProjectDatabasePostgresqlUserCreateOpts struct {
	Name  string   `json:"name"`
	Roles []string `json:"roles,omitempty"`
}

func (*CloudProjectDatabasePostgresqlUserCreateOpts) FromResource added in v0.19.0

type CloudProjectDatabasePostgresqlUserResponse added in v0.19.0

type CloudProjectDatabasePostgresqlUserResponse struct {
	CreatedAt string   `json:"createdAt"`
	Id        string   `json:"id"`
	Password  string   `json:"password"`
	Roles     []string `json:"roles"`
	Status    string   `json:"status"`
	Username  string   `json:"username"`
}

func (*CloudProjectDatabasePostgresqlUserResponse) String added in v0.19.0

func (CloudProjectDatabasePostgresqlUserResponse) ToMap added in v0.19.0

func (v CloudProjectDatabasePostgresqlUserResponse) ToMap() map[string]interface{}

type CloudProjectDatabasePostgresqlUserUpdateOpts added in v0.19.0

type CloudProjectDatabasePostgresqlUserUpdateOpts struct {
	Roles []string `json:"roles,omitempty"`
}

func (*CloudProjectDatabasePostgresqlUserUpdateOpts) FromResource added in v0.19.0

type CloudProjectDatabaseRedisUserCreateOpts added in v0.20.0

type CloudProjectDatabaseRedisUserCreateOpts struct {
	Categories []string `json:"categories,omitempty"`
	Channels   []string `json:"channels,omitempty"`
	Commands   []string `json:"commands,omitempty"`
	Keys       []string `json:"keys,omitempty"`
	Name       string   `json:"name"`
}

func (*CloudProjectDatabaseRedisUserCreateOpts) FromResource added in v0.20.0

type CloudProjectDatabaseRedisUserResponse added in v0.20.0

type CloudProjectDatabaseRedisUserResponse struct {
	Categories []string `json:"categories"`
	Channels   []string `json:"channels"`
	Commands   []string `json:"commands"`
	CreatedAt  string   `json:"createdAt"`
	Id         string   `json:"id"`
	Keys       []string `json:"keys"`
	Password   string   `json:"password"`
	Status     string   `json:"status"`
	Username   string   `json:"username"`
}

func (*CloudProjectDatabaseRedisUserResponse) String added in v0.20.0

func (CloudProjectDatabaseRedisUserResponse) ToMap added in v0.20.0

func (v CloudProjectDatabaseRedisUserResponse) ToMap() map[string]interface{}

type CloudProjectDatabaseRedisUserUpdateOpts added in v0.20.0

type CloudProjectDatabaseRedisUserUpdateOpts struct {
	Categories []string `json:"categories,omitempty"`
	Channels   []string `json:"channels,omitempty"`
	Commands   []string `json:"commands,omitempty"`
	Keys       []string `json:"keys,omitempty"`
}

func (*CloudProjectDatabaseRedisUserUpdateOpts) FromResource added in v0.20.0

type CloudProjectDatabaseResponse added in v0.19.0

type CloudProjectDatabaseResponse struct {
	AclsEnabled           bool                                        `json:"aclsEnabled"`
	Backups               CloudProjectDatabaseBackups                 `json:"backups"`
	CreatedAt             string                                      `json:"createdAt"`
	Description           string                                      `json:"description"`
	Endpoints             []CloudProjectDatabaseEndpoint              `json:"endpoints"`
	Flavor                string                                      `json:"flavor"`
	ID                    string                                      `json:"id"`
	IPRestrictions        []CloudProjectDatabaseIPRestrictionResponse `json:"ipRestrictions"`
	MaintenanceTime       string                                      `json:"maintenanceTime"`
	NetworkID             string                                      `json:"networkId"`
	NetworkType           string                                      `json:"networkType"`
	Plan                  string                                      `json:"plan"`
	NodeNumber            int                                         `json:"nodeNumber"`
	Region                string                                      `json:"region"`
	RestAPI               bool                                        `json:"restApi"`
	SchemaRegistry        bool                                        `json:"schemaRegistry"`
	Status                string                                      `json:"status"`
	SubnetID              string                                      `json:"subnetId"`
	Version               string                                      `json:"version"`
	Disk                  CloudProjectDatabaseDisk                    `json:"disk"`
	AdvancedConfiguration map[string]string                           `json:"advancedConfiguration"`
}

type CloudProjectDatabaseUpdateOpts added in v0.19.0

type CloudProjectDatabaseUpdateOpts struct {
	AclsEnabled    bool                                `json:"aclsEnabled,omitempty"`
	Backups        *CloudProjectDatabaseBackups        `json:"backups,omitempty"`
	Description    string                              `json:"description,omitempty"`
	Disk           CloudProjectDatabaseDisk            `json:"disk,omitempty"`
	Flavor         string                              `json:"flavor,omitempty"`
	IPRestrictions []CloudProjectDatabaseIPRestriction `json:"ipRestrictions,omitempty"`
	Plan           string                              `json:"plan,omitempty"`
	RestAPI        bool                                `json:"restApi,omitempty"`
	SchemaRegistry bool                                `json:"schemaRegistry,omitempty"`
	Version        string                              `json:"version,omitempty"`
}

type CloudProjectDatabaseUserCreateOpts added in v0.19.0

type CloudProjectDatabaseUserCreateOpts struct {
	Name string `json:"name"`
}

func (*CloudProjectDatabaseUserCreateOpts) FromResource added in v0.19.0

type CloudProjectDatabaseUserResponse added in v0.19.0

type CloudProjectDatabaseUserResponse struct {
	CreatedAt string `json:"createdAt"`
	Id        string `json:"id"`
	Password  string `json:"password"`
	Status    string `json:"status"`
	Username  string `json:"username"`
}

func (*CloudProjectDatabaseUserResponse) String added in v0.19.0

func (CloudProjectDatabaseUserResponse) ToMap added in v0.19.0

func (v CloudProjectDatabaseUserResponse) ToMap() map[string]interface{}

type CloudProjectGatewayCreateOpts added in v0.40.0

type CloudProjectGatewayCreateOpts struct {
	Name  string `json:"name"`
	Model string `json:"model"`
}

Opts

func (*CloudProjectGatewayCreateOpts) String added in v0.40.0

type CloudProjectGatewayExternal added in v0.40.0

type CloudProjectGatewayExternal struct {
	Ips       []*CloudProjectGatewayExternalIp `json:"ip"`
	NetworkId string                           `json:"networkId"`
}

type CloudProjectGatewayExternalIp added in v0.40.0

type CloudProjectGatewayExternalIp struct {
	Ip       string `json:"ip"`
	SubnetId string `json:"subnetId"`
}

type CloudProjectGatewayInterface added in v0.40.0

type CloudProjectGatewayInterface struct {
	Id        string `json:"id"`
	Ip        string `json:"ip"`
	SubnetId  string `json:"subnetId"`
	NetworkId string `json:"networkId"`
}

type CloudProjectGatewayResponse added in v0.40.0

type CloudProjectGatewayResponse struct {
	Id                  string                          `json:"id"`
	Name                string                          `json:"name"`
	Status              string                          `json:"status"`
	Interfaces          []*CloudProjectGatewayInterface `json:"interfaces"`
	ExternalInformation *CloudProjectGatewayExternal    `json:"externalInformation"`
	Region              string                          `json:"region"`
	Model               string                          `json:"model"`
}

type CloudProjectGatewayUpdateOpts added in v0.40.0

type CloudProjectGatewayUpdateOpts struct {
	Name  string `json:"name"`
	Model string `json:"model"`
}

type CloudProjectKubeCreateOpts added in v0.11.0

type CloudProjectKubeCreateOpts struct {
	Name                        *string                      `json:"name,omitempty"`
	PrivateNetworkId            *string                      `json:"privateNetworkId,omitempty"`
	PrivateNetworkConfiguration *privateNetworkConfiguration `json:"privateNetworkConfiguration,omitempty"`
	Region                      string                       `json:"region"`
	Version                     *string                      `json:"version,omitempty"`
	UpdatePolicy                *string                      `json:"updatePolicy,omitempty"`
	Customization               *Customization               `json:"customization,omitempty"`
	KubeProxyMode               *string                      `json:"kubeProxyMode,omitempty"`
}

func (*CloudProjectKubeCreateOpts) FromResource added in v0.12.0

func (opts *CloudProjectKubeCreateOpts) FromResource(d *schema.ResourceData)

func (*CloudProjectKubeCreateOpts) String added in v0.11.0

func (opts *CloudProjectKubeCreateOpts) String() string

type CloudProjectKubeIpRestrictionsCreateOrUpdateOpts added in v0.19.0

type CloudProjectKubeIpRestrictionsCreateOrUpdateOpts struct {
	Ips []string `json:"ips"`
}

func (*CloudProjectKubeIpRestrictionsCreateOrUpdateOpts) FromResource added in v0.19.0

func (*CloudProjectKubeIpRestrictionsCreateOrUpdateOpts) String added in v0.19.0

type CloudProjectKubeIpRestrictionsResponse added in v0.19.0

type CloudProjectKubeIpRestrictionsResponse = []string

type CloudProjectKubeKubeConfigResponse added in v0.11.0

type CloudProjectKubeKubeConfigResponse struct {
	Content string `json:"content"`
}

type CloudProjectKubeNodePoolAutoscaling added in v0.37.0

type CloudProjectKubeNodePoolAutoscaling struct {
	ScaleDownUtilizationThreshold *float64 `json:"scaleDownUtilizationThreshold,omitempty"`
	ScaleDownUnneededTimeSeconds  *int     `json:"scaleDownUnneededTimeSeconds,omitempty"`
	ScaleDownUnreadyTimeSeconds   *int     `json:"scaleDownUnreadyTimeSeconds,omitempty"`
}

func GetAutoscalingOpts added in v0.37.0

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"`
	Autoscaling   *CloudProjectKubeNodePoolAutoscaling `json:"autoscaling,omitempty"`
	Template      *CloudProjectKubeNodePoolTemplate    `json:"template,omitempty"`
}

func (*CloudProjectKubeNodePoolCreateOpts) FromResource added in v0.12.0

func (*CloudProjectKubeNodePoolCreateOpts) String added in v0.11.0

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"`
	Autoscaling    CloudProjectKubeNodePoolAutoscaling `json:"autoscaling"`
	Template       *CloudProjectKubeNodePoolTemplate   `json:"template,omitempty"`
}

func (*CloudProjectKubeNodePoolResponse) String added in v0.11.0

func (CloudProjectKubeNodePoolResponse) ToMap added in v0.12.0

func (v CloudProjectKubeNodePoolResponse) ToMap() map[string]interface{}

type CloudProjectKubeNodePoolTemplate added in v0.19.0

type CloudProjectKubeNodePoolTemplate struct {
	Metadata CloudProjectKubeNodePoolTemplateMetadata `json:"metadata"`
	Spec     CloudProjectKubeNodePoolTemplateSpec     `json:"spec"`
}

type CloudProjectKubeNodePoolTemplateMetadata added in v0.19.0

type CloudProjectKubeNodePoolTemplateMetadata struct {
	Annotations map[string]string `json:"annotations"`
	Finalizers  []string          `json:"finalizers"`
	Labels      map[string]string `json:"labels"`
}

type CloudProjectKubeNodePoolTemplateSpec added in v0.19.0

type CloudProjectKubeNodePoolTemplateSpec struct {
	Taints        []Taint `json:"taints"`
	Unschedulable bool    `json:"unschedulable"`
}

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"`
	Autoscaling  *CloudProjectKubeNodePoolAutoscaling `json:"autoscaling,omitempty"`
	Template     *CloudProjectKubeNodePoolTemplate    `json:"template,omitempty"`
}

func (*CloudProjectKubeNodePoolUpdateOpts) FromResource added in v0.12.0

func (*CloudProjectKubeNodePoolUpdateOpts) String added in v0.11.0

type CloudProjectKubeNodeResponse added in v0.24.0

type CloudProjectKubeNodeResponse struct {
	CreatedAt  string `json:"createdAt"`
	UpdatedAt  string `json:"updatedAt"`
	DeployedAt string `json:"deployedAt"`
	Flavor     string `json:"flavor"`
	Id         string `json:"id"`
	InstanceId string `json:"instanceId"`
	IsUpToDate bool   `json:"isUpToDate"`
	Name       string `json:"name"`
	NodePoolId string `json:"nodePoolId"`
	ProjectId  string `json:"projectId"`
	Status     string `json:"status"`
	Version    string `json:"version"`
}

func (CloudProjectKubeNodeResponse) ToMap added in v0.24.0

func (v CloudProjectKubeNodeResponse) ToMap() map[string]interface{}

type CloudProjectKubeOIDCCreateOpts added in v0.19.0

type CloudProjectKubeOIDCCreateOpts struct {
	ClientID       string   `json:"clientId"`
	IssuerUrl      string   `json:"issuerUrl"`
	UsernameClaim  string   `json:"usernameClaim"`
	UsernamePrefix string   `json:"usernamePrefix"`
	GroupsClaim    []string `json:"groupsClaim"`
	GroupsPrefix   string   `json:"groupsPrefix"`
	RequiredClaim  []string `json:"requiredClaim"`
	SigningAlgs    []string `json:"signingAlgorithms"`
	CaContent      string   `json:"caContent"`
}

func (*CloudProjectKubeOIDCCreateOpts) FromResource added in v0.19.0

type CloudProjectKubeOIDCResponse added in v0.19.0

type CloudProjectKubeOIDCResponse struct {
	ClientID       string   `json:"clientId"`
	IssuerUrl      string   `json:"issuerUrl"`
	UsernameClaim  string   `json:"usernameClaim"`
	UsernamePrefix string   `json:"usernamePrefix"`
	GroupsClaim    []string `json:"groupsClaim"`
	GroupsPrefix   string   `json:"groupsPrefix"`
	RequiredClaim  []string `json:"requiredClaim"`
	SigningAlgs    []string `json:"signingAlgorithms"`
	CaContent      string   `json:"caContent"`
}

func (CloudProjectKubeOIDCResponse) ToMap added in v0.19.0

func (v CloudProjectKubeOIDCResponse) ToMap() map[string]interface{}

type CloudProjectKubeOIDCUpdateOpts added in v0.19.0

type CloudProjectKubeOIDCUpdateOpts struct {
	ClientID       string   `json:"clientId"`
	IssuerUrl      string   `json:"issuerUrl"`
	UsernameClaim  string   `json:"usernameClaim"`
	UsernamePrefix string   `json:"usernamePrefix"`
	GroupsClaim    []string `json:"groupsClaim"`
	GroupsPrefix   string   `json:"groupsPrefix"`
	RequiredClaim  []string `json:"requiredClaim"`
	SigningAlgs    []string `json:"signingAlgorithms"`
	CaContent      string   `json:"caContent"`
}

func (*CloudProjectKubeOIDCUpdateOpts) FromResource added in v0.19.0

type CloudProjectKubePutOpts added in v0.19.0

type CloudProjectKubePutOpts struct {
	Name *string `json:"name,omitempty"`
}

CloudProjectKubePutOpts update cluster options

type CloudProjectKubeResetOpts added in v0.19.0

type CloudProjectKubeResetOpts struct {
	PrivateNetworkId *string `json:"privateNetworkId,omitempty"`
}

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"`
	Customization          Customization `json:"customization"`
	KubeProxyMode          string        `json:"kubeProxyMode"`
}

func (*CloudProjectKubeResponse) String added in v0.11.0

func (v *CloudProjectKubeResponse) String() string

func (*CloudProjectKubeResponse) ToMap added in v0.12.0

func (v *CloudProjectKubeResponse) ToMap(d *schema.ResourceData) map[string]interface{}

type CloudProjectKubeUpdateCustomizationOpts added in v0.21.0

type CloudProjectKubeUpdateCustomizationOpts struct {
	APIServer *APIServer              `json:"apiServer,omitempty"`
	KubeProxy *kubeProxyCustomization `json:"kubeProxy,omitempty"`
}

type CloudProjectKubeUpdateOpts added in v0.19.0

type CloudProjectKubeUpdateOpts struct {
	Strategy string `json:"strategy"`
}

type CloudProjectKubeUpdatePNCOpts added in v0.19.0

type CloudProjectKubeUpdatePNCOpts struct {
	DefaultVrackGateway            string `json:"defaultVrackGateway"`
	PrivateNetworkRoutingAsDefault bool   `json:"privateNetworkRoutingAsDefault"`
}

type CloudProjectKubeUpdatePolicyOpts added in v0.19.0

type CloudProjectKubeUpdatePolicyOpts struct {
	UpdatePolicy string `json:"updatePolicy"`
}

type CloudProjectModel added in v0.41.0

type CloudProjectModel struct {
	Access       ovhtypes.TfStringValue `tfsdk:"access" json:"access"`
	CreationDate ovhtypes.TfStringValue `tfsdk:"creation_date" json:"creationDate"`
	Description  ovhtypes.TfStringValue `tfsdk:"description" json:"description"`
	Expiration   ovhtypes.TfStringValue `tfsdk:"expiration" json:"expiration"`
	Iam          IamValue               `tfsdk:"iam" json:"iam"`
	ManualQuota  ovhtypes.TfBoolValue   `tfsdk:"manual_quota" json:"manualQuota"`
	OrderId      ovhtypes.TfInt64Value  `tfsdk:"order_id" json:"orderId"`
	PlanCode     ovhtypes.TfStringValue `tfsdk:"plan_code" json:"planCode"`
	ProjectId    ovhtypes.TfStringValue `tfsdk:"project_id" json:"projectId"`
	ProjectName  ovhtypes.TfStringValue `tfsdk:"project_name" json:"projectName"`
	ServiceName  ovhtypes.TfStringValue `tfsdk:"service_name" json:"serviceName"`
	Status       ovhtypes.TfStringValue `tfsdk:"status" json:"status"`
	Unleash      ovhtypes.TfBoolValue   `tfsdk:"unleash" json:"unleash"`
}

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

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

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

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

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

type CloudProjectOperationResponse added in v0.40.0

type CloudProjectOperationResponse struct {
	Id          string   `json:"id"`
	Action      string   `json:"action"`
	CreateAt    string   `json:"createdAt"`
	StartedAt   string   `json:"startedAt"`
	CompletedAt *string  `json:"completedAt"`
	Progress    int      `json:"progress"`
	Regions     []string `json:"regions"`
	ResourceId  *string  `json:"resourceId"`
	Status      string   `json:"status"`
}

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

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 (*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 CloudProjectUserS3Credential added in v0.20.0

type CloudProjectUserS3Credential struct {
	Access      string `json:"access"`
	ServiceName string `json:"tenantId"`
	UserId      string `json:"userId"`
}

func (*CloudProjectUserS3Credential) String added in v0.20.0

func (CloudProjectUserS3Credential) ToMap added in v0.20.0

func (u CloudProjectUserS3Credential) ToMap() map[string]interface{}

type CloudProjectUserS3CredentialSecret added in v0.35.0

type CloudProjectUserS3CredentialSecret struct {
	CloudProjectUserS3Credential
	CloudProjectUserS3Secret
}

func (*CloudProjectUserS3CredentialSecret) String added in v0.35.0

func (CloudProjectUserS3CredentialSecret) ToMap added in v0.35.0

func (u CloudProjectUserS3CredentialSecret) ToMap() map[string]interface{}

type CloudProjectUserS3Policy added in v0.20.0

type CloudProjectUserS3Policy struct {
	Policy string `json:"policy"`
}

type CloudProjectUserS3Secret added in v0.35.0

type CloudProjectUserS3Secret struct {
	Secret string `json:"secret"`
}

func (*CloudProjectUserS3Secret) String added in v0.35.0

func (u *CloudProjectUserS3Secret) String() string

func (CloudProjectUserS3Secret) ToMap added in v0.35.0

func (u CloudProjectUserS3Secret) ToMap() map[string]interface{}

type CloudProjectVrackResponse added in v0.36.0

type CloudProjectVrackResponse struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

func (*CloudProjectVrackResponse) ToMap added in v0.36.0

func (v *CloudProjectVrackResponse) ToMap(d *schema.ResourceData) map[string]interface{}

type CloudProjectWorkflowBackupCreateOpts added in v0.28.0

type CloudProjectWorkflowBackupCreateOpts struct {
	Cron              *string `json:"cron"`
	InstanceId        *string `json:"instanceId"`
	MaxExecutionCount *int64  `json:"maxExecutionCount,omitempty"`
	Name              *string `json:"name"`
	Rotation          *int64  `json:"rotation"`
}

func (*CloudProjectWorkflowBackupCreateOpts) FromResource added in v0.28.0

type CloudProjectWorkflowBackupResponse added in v0.28.0

type CloudProjectWorkflowBackupResponse struct {
	BackupName string `json:"backupName"`
	CreatedAt  string `json:"createdAt"`
	Cron       string `json:"cron"`
	Id         string `json:"id"`
	InstanceId string `json:"instanceId"`
	Name       string `json:"name"`
}

func (CloudProjectWorkflowBackupResponse) ToMap added in v0.28.0

func (v CloudProjectWorkflowBackupResponse) ToMap() map[string]interface{}

type CloudProjectroleResponse added in v0.37.0

type CloudProjectroleResponse struct {
	Id          string   `json:"id"`
	Name        string   `json:"name"`
	Description string   `json:"description"`
	Permissions []string `json:"permissions"`
}

type CloudProjectroleUpdate added in v0.37.0

type CloudProjectroleUpdate struct {
	RolesIds []string `json:"rolesIds"`
}

type CloudProjectrolesResponse added in v0.37.0

type CloudProjectrolesResponse struct {
	Roles []CloudProjectroleResponse `json:"roles"`
}

type CloudProjectsModel added in v0.41.0

type CloudProjectsModel struct {
	Projects []CloudProjectModel `tfsdk:"projects"`
}

type CloudServiceStatusResponse added in v0.10.0

type CloudServiceStatusResponse struct {
	Status string `json:"status"`
	Name   string `json:"name"`
}

func (*CloudServiceStatusResponse) String added in v0.10.0

func (s *CloudServiceStatusResponse) String() string

type Config

type Config struct {
	Account  string
	Plate    string
	Endpoint string

	// AK / AS / CK authentication information
	ApplicationKey    string
	ApplicationSecret string
	ConsumerKey       string

	// oAuth2 authentication information
	ClientID     string
	ClientSecret string

	OVHClient *ovh.Client
	// contains filtered or unexported fields
}

type ConfirmTerminationFunc added in v0.14.0

type ConfirmTerminationFunc func(token string) error

type ConfirmTerminationOpts added in v0.41.0

type ConfirmTerminationOpts struct {
	Token string `json:"token"`
}

type ConnectionType added in v0.43.0

type ConnectionType struct {
	basetypes.ObjectType
}

func (ConnectionType) Equal added in v0.43.0

func (t ConnectionType) Equal(o attr.Type) bool

func (ConnectionType) String added in v0.43.0

func (t ConnectionType) String() string

func (ConnectionType) ValueFromObject added in v0.43.0

func (ConnectionType) ValueFromTerraform added in v0.43.0

func (t ConnectionType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (ConnectionType) ValueType added in v0.43.0

func (t ConnectionType) ValueType(ctx context.Context) attr.Value

type ConnectionValue added in v0.43.0

type ConnectionValue struct {
	Unit  ovhtypes.TfStringValue `tfsdk:"unit" json:"unit"`
	Value ovhtypes.TfInt64Value  `tfsdk:"value" json:"value"`
	// contains filtered or unexported fields
}

func NewConnectionValue added in v0.43.0

func NewConnectionValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ConnectionValue, diag.Diagnostics)

func NewConnectionValueMust added in v0.43.0

func NewConnectionValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ConnectionValue

func NewConnectionValueNull added in v0.43.0

func NewConnectionValueNull() ConnectionValue

func NewConnectionValueUnknown added in v0.43.0

func NewConnectionValueUnknown() ConnectionValue

func (ConnectionValue) AttributeTypes added in v0.43.0

func (v ConnectionValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (ConnectionValue) Attributes added in v0.43.0

func (v ConnectionValue) Attributes() map[string]attr.Value

func (ConnectionValue) Equal added in v0.43.0

func (v ConnectionValue) Equal(o attr.Value) bool

func (ConnectionValue) IsNull added in v0.43.0

func (v ConnectionValue) IsNull() bool

func (ConnectionValue) IsUnknown added in v0.43.0

func (v ConnectionValue) IsUnknown() bool

func (*ConnectionValue) MergeWith added in v0.43.0

func (v *ConnectionValue) MergeWith(other *ConnectionValue)

func (ConnectionValue) String added in v0.43.0

func (v ConnectionValue) String() string

func (ConnectionValue) ToObjectValue added in v0.43.0

func (ConnectionValue) ToTerraformValue added in v0.43.0

func (v ConnectionValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (ConnectionValue) Type added in v0.43.0

func (v ConnectionValue) Type(ctx context.Context) attr.Type

func (*ConnectionValue) UnmarshalJSON added in v0.43.0

func (v *ConnectionValue) UnmarshalJSON(data []byte) error

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 Customization added in v0.21.0

type Customization struct {
	APIServer *APIServer              `json:"apiServer,omitempty"`
	KubeProxy *kubeProxyCustomization `json:"kubeProxy,omitempty"`
}

type DataSourceHostingPrivateDatabaseDatabase added in v0.24.0

type DataSourceHostingPrivateDatabaseDatabase struct {
	BackupTime   string                                           `json:"backupTime"`
	QuotaUsed    *UnitAndValue                                    `json:"quotaUsed"`
	CreationDate string                                           `json:"creationDate"`
	Users        []*DataSourceHostingPrivateDatabaseDatabaseUsers `json:"users"`
}

func (DataSourceHostingPrivateDatabaseDatabase) ToMap added in v0.24.0

func (v DataSourceHostingPrivateDatabaseDatabase) ToMap() map[string]interface{}

type DataSourceHostingPrivateDatabaseDatabaseUsers added in v0.24.0

type DataSourceHostingPrivateDatabaseDatabaseUsers struct {
	UserName  string `json:"userName"`
	GrantType string `json:"grantType"`
}

func (DataSourceHostingPrivateDatabaseDatabaseUsers) ToMap added in v0.24.0

func (v DataSourceHostingPrivateDatabaseDatabaseUsers) ToMap() map[string]interface{}

type DataSourceHostingPrivateDatabaseUser added in v0.24.0

type DataSourceHostingPrivateDatabaseUser struct {
	CreationDate string                                           `json:"creationDate"`
	Databases    []*DataSourceHostingPrivateDatabaseUserDatabases `json:"databases"`
}

func (DataSourceHostingPrivateDatabaseUser) ToMap added in v0.24.0

func (v DataSourceHostingPrivateDatabaseUser) ToMap() map[string]interface{}

type DataSourceHostingPrivateDatabaseUserDatabases added in v0.24.0

type DataSourceHostingPrivateDatabaseUserDatabases struct {
	DatabaseName string `json:"databaseName"`
	GrantType    string `json:"grantType"`
}

func (DataSourceHostingPrivateDatabaseUserDatabases) ToMap added in v0.24.0

func (v DataSourceHostingPrivateDatabaseUserDatabases) ToMap() map[string]interface{}

type DataSourceHostingPrivateDatabaseUserGrant added in v0.24.0

type DataSourceHostingPrivateDatabaseUserGrant struct {
	CreationDate string `json:"creationDate"`
	Grant        string `json:"grant"`
}

func (DataSourceHostingPrivateDatabaseUserGrant) ToMap added in v0.24.0

func (v DataSourceHostingPrivateDatabaseUserGrant) ToMap() map[string]interface{}

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 (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 (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"`
	OsdId          *string `json:"osdId"`
	RoleId         *string `json:"roleId"`
	State          string  `json:"state"`
	StreamId       *string `json:"streamId"`
	SubscriptionID *string `json:"subscriptionId"`
	UpdatedAt      string  `json:"updatedAt"`
}

type DbaasLogsOpts added in v0.28.0

type DbaasLogsOpts struct {
	ArchiveAllowedNetworks     []string `json:"archiveAllowedNetworks"`
	DirectInputAllowedNetworks []string `json:"directInputAllowedNetworks"`
	QueryAllowedNetworks       []string `json:"queryAllowedNetworks"`
}

func (*DbaasLogsOpts) FromResource added in v0.28.0

func (opts *DbaasLogsOpts) FromResource(d *schema.ResourceData) *DbaasLogsOpts

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"`
	IsShareable              bool    `json:"isShareable"`
	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

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

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"`
	IamResourceDetails `json:"iam"`
}

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

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 DedicatedCephTask struct {
	Name       string `json:"name"`
	State      string `json:"state"`
	FinishDate string `json:"finishDate"`
	Type       string `json:"type"`
	CreateDate string `json:"createDate"`
}

type DedicatedNASHA added in v0.26.0

type DedicatedNASHA struct {
	ServiceName        string `json:"serviceName,omitempty"`
	Monitored          bool   `json:"monitored,omitempty"`
	ZpoolSize          int    `json:"zpoolSize,omitempty"`
	CustomName         string `json:"customName,omitempty"`
	Datacenter         string `json:"datacenter,omitempty"`
	DiskType           string `json:"diskType,omitempty"`
	CanCreatePartition bool   `json:"canCreatePartition,omitempty"`
	Ip                 string `json:"ip,omitempty"`
	ZpoolCapacity      int    `json:"zpoolCapacity,omitempty"`
	IamResourceDetails `json:"iam"`
}

type DedicatedNASHAPartition added in v0.26.0

type DedicatedNASHAPartition struct {
	Name            string `json:"partitionName,omitempty"`
	Description     string `json:"partitionDescription,omitempty"`
	Protocol        string `json:"protocol,omitempty"`
	Size            int    `json:"size,omitempty"`
	Capacity        int    `json:"partitionCapacity,omitempty"`
	UsedBySnapshots int    `json:"usedBySnapshots,omitempty"`
}

type DedicatedNASHAPartitionAccess added in v0.26.0

type DedicatedNASHAPartitionAccess struct {
	IP   string `json:"ip"`
	Type string `json:"type,omitempty"` // readonly, readwrite
}

type DedicatedNASHAPartitionSnapshot added in v0.26.0

type DedicatedNASHAPartitionSnapshot struct {
	Type string `json:"snapshotType"` // day-1, day-2, day-3, day-7, hour-1, hour-6
}

type DedicatedNASHATask added in v0.26.0

type DedicatedNASHATask struct {
	ID          int    `json:"taskId"`
	StorageName string `json:"storageName"`
	Status      string `json:"status"`
	// "cancelled"
	// "customerError"
	// "doing"
	// "done"
	// "init"
	// "ovhError"
	// "todo"
	Details       string    `json:"details"`
	LastUpdate    time.Time `json:"lastUpdate"`
	TodoDate      time.Time `json:"todoDate"`
	PartitionName string    `json:"partitionName"`
	Operation     string    `json:"operation"`
	DoneDate      time.Time `json:"doneDate"`
}

func (*DedicatedNASHATask) StateChangeConf added in v0.26.0

func (t *DedicatedNASHATask) StateChangeConf(d *schema.ResourceData, meta interface{}) *resource.StateChangeConf

type DedicatedServer added in v0.10.0

type DedicatedServer struct {
	Name               string `json:"name"`
	BootId             int    `json:"bootId"`
	BootScript         string `json:"bootScript"`
	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"`
	IamResourceDetails `json:"iam"`
}

func (DedicatedServer) String added in v0.10.0

func (ds DedicatedServer) String() string

type DedicatedServerBoot added in v0.10.0

type DedicatedServerBoot struct {
	BootId      int    `json:"bootId"`
	BootType    string `json:"bootType"`
	Description string `json:"description"`
	Kernel      string `json:"kernel"`
}

type DedicatedServerInstallTaskCreateOpts added in v0.10.0

type DedicatedServerInstallTaskCreateOpts struct {
	TemplateName        string                                   `json:"templateName"`
	PartitionSchemeName *string                                  `json:"partitionSchemeName,omitempty"`
	Details             *DedicatedServerInstallTaskDetails       `json:"details"`
	UserMetadata        []DedicatedServerInstallTaskUserMetadata `json:"userMetadata,omitempty"`
}

func (*DedicatedServerInstallTaskCreateOpts) FromResource added in v0.10.0

type DedicatedServerInstallTaskDetails added in v0.10.0

type DedicatedServerInstallTaskDetails struct {
	CustomHostname               *string `json:"customHostname,omitempty"`
	DiskGroupId                  *int64  `json:"diskGroupId,omitempty"`
	Language                     *string `json:"language,omitempty"`
	NoRaid                       *bool   `json:"noRaid,omitempty"`
	PostInstallationScriptLink   *string `json:"postInstallationScriptLink,omitempty"`
	PostInstallationScriptReturn *string `json:"postInstallationScriptReturn,omitempty"`
	SoftRaidDevices              *int64  `json:"softRaidDevices,omitempty"`
	SshKeyName                   *string `json:"sshKeyName,omitempty"`
	UseSpla                      *bool   `json:"useSpla,omitempty"`
}

func (*DedicatedServerInstallTaskDetails) FromResource added in v0.10.0

type DedicatedServerInstallTaskUserMetadata added in v0.43.0

type DedicatedServerInstallTaskUserMetadata struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type DedicatedServerNetworking added in v0.26.0

type DedicatedServerNetworking struct {
	Status      string                               `json:"status"`
	Description string                               `json:"description"`
	Interfaces  []DedicatedServerNetworkingInterface `json:"interfaces"`
}

type DedicatedServerNetworkingCreateOpts added in v0.26.0

type DedicatedServerNetworkingCreateOpts struct {
	Interfaces []DedicatedServerNetworkingInterface `json:"interfaces"`
}

func (*DedicatedServerNetworkingCreateOpts) FromResource added in v0.26.0

type DedicatedServerNetworkingInterface added in v0.26.0

type DedicatedServerNetworkingInterface struct {
	Macs []string `json:"macs"`
	Type string   `json:"type"`
}

type DedicatedServerNetworkingResponse added in v0.26.0

type DedicatedServerNetworkingResponse struct {
	Status string
}

type DedicatedServerSpecificationsHardwareModel added in v0.40.0

type DedicatedServerSpecificationsHardwareModel struct {
	BootMode                ovhtypes.TfStringValue                          `tfsdk:"boot_mode" json:"bootMode"`
	CoresPerProcessor       ovhtypes.TfInt64Value                           `tfsdk:"cores_per_processor" json:"coresPerProcessor"`
	DefaultHardwareRaidSize DefaultHardwareRaidSizeValue                    `tfsdk:"default_hardware_raid_size" json:"defaultHardwareRaidSize"`
	DefaultHardwareRaidType ovhtypes.TfStringValue                          `tfsdk:"default_hardware_raid_type" json:"defaultHardwareRaidType"`
	Description             ovhtypes.TfStringValue                          `tfsdk:"description" json:"description"`
	DiskGroups              ovhtypes.TfListNestedValue[DiskGroupsValue]     `tfsdk:"disk_groups" json:"diskGroups"`
	ExpansionCards          ovhtypes.TfListNestedValue[ExpansionCardsValue] `tfsdk:"expansion_cards" json:"expansionCards"`
	FormFactor              ovhtypes.TfStringValue                          `tfsdk:"form_factor" json:"formFactor"`
	MemorySize              MemorySizeValue                                 `tfsdk:"memory_size" json:"memorySize"`
	Motherboard             ovhtypes.TfStringValue                          `tfsdk:"motherboard" json:"motherboard"`
	NumberOfProcessors      ovhtypes.TfInt64Value                           `tfsdk:"number_of_processors" json:"numberOfProcessors"`
	ProcessorArchitecture   ovhtypes.TfStringValue                          `tfsdk:"processor_architecture" json:"processorArchitecture"`
	ProcessorName           ovhtypes.TfStringValue                          `tfsdk:"processor_name" json:"processorName"`
	ServiceName             ovhtypes.TfStringValue                          `tfsdk:"service_name" json:"serviceName"`
	ThreadsPerProcessor     ovhtypes.TfInt64Value                           `tfsdk:"threads_per_processor" json:"threadsPerProcessor"`
	UsbKeys                 ovhtypes.TfListNestedValue[UsbKeysValue]        `tfsdk:"usb_keys" json:"usbKeys"`
}

func (*DedicatedServerSpecificationsHardwareModel) MergeWith added in v0.40.0

type DedicatedServerSpecificationsNetworkModel added in v0.43.0

type DedicatedServerSpecificationsNetworkModel struct {
	Bandwidth   BandwidthValue         `tfsdk:"bandwidth" json:"bandwidth"`
	Connection  ConnectionValue        `tfsdk:"connection_val" json:"connection"`
	Ola         OlaValue               `tfsdk:"ola" json:"ola"`
	Routing     RoutingValue           `tfsdk:"routing" json:"routing"`
	ServiceName ovhtypes.TfStringValue `tfsdk:"service_name" json:"serviceName"`
	Switching   SwitchingValue         `tfsdk:"switching" json:"switching"`
	Traffic     TrafficValue           `tfsdk:"traffic" json:"traffic"`
	Vmac        VmacValue              `tfsdk:"vmac" json:"vmac"`
	Vrack       VrackValue             `tfsdk:"vrack" json:"vrack"`
}

func (*DedicatedServerSpecificationsNetworkModel) MergeWith added in v0.43.0

type DedicatedServerTask added in v0.10.0

type DedicatedServerTask struct {
	Id         int64     `json:"taskId"`
	Function   string    `json:"function"`
	Comment    string    `json:"comment"`
	Status     string    `json:"status"`
	LastUpdate time.Time `json:"lastUpdate"`
	DoneDate   time.Time `json:"doneDate"`
	StartDate  time.Time `json:"startDate"`
}

type DedicatedServerUpdateOpts added in v0.10.0

type DedicatedServerUpdateOpts struct {
	BootId     *int64  `json:"bootId,omitempty"`
	BootScript *string `json:"bootScript,omitempty"`
	Monitoring *bool   `json:"monitoring,omitempty"`
	State      *string `json:"state,omitempty"`
}

func (*DedicatedServerUpdateOpts) FromResource added in v0.10.0

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 DefaultHardwareRaidSizeType added in v0.40.0

type DefaultHardwareRaidSizeType struct {
	basetypes.ObjectType
}

func (DefaultHardwareRaidSizeType) Equal added in v0.40.0

func (DefaultHardwareRaidSizeType) String added in v0.40.0

func (DefaultHardwareRaidSizeType) ValueFromObject added in v0.40.0

func (DefaultHardwareRaidSizeType) ValueFromTerraform added in v0.40.0

func (t DefaultHardwareRaidSizeType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (DefaultHardwareRaidSizeType) ValueType added in v0.40.0

type DefaultHardwareRaidSizeValue added in v0.40.0

type DefaultHardwareRaidSizeValue struct {
	Unit  ovhtypes.TfStringValue `tfsdk:"unit" json:"unit"`
	Value ovhtypes.TfInt64Value  `tfsdk:"value" json:"value"`
	// contains filtered or unexported fields
}

func NewDefaultHardwareRaidSizeValue added in v0.40.0

func NewDefaultHardwareRaidSizeValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (DefaultHardwareRaidSizeValue, diag.Diagnostics)

func NewDefaultHardwareRaidSizeValueMust added in v0.40.0

func NewDefaultHardwareRaidSizeValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) DefaultHardwareRaidSizeValue

func NewDefaultHardwareRaidSizeValueNull added in v0.40.0

func NewDefaultHardwareRaidSizeValueNull() DefaultHardwareRaidSizeValue

func NewDefaultHardwareRaidSizeValueUnknown added in v0.40.0

func NewDefaultHardwareRaidSizeValueUnknown() DefaultHardwareRaidSizeValue

func (DefaultHardwareRaidSizeValue) AttributeTypes added in v0.40.0

func (v DefaultHardwareRaidSizeValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (DefaultHardwareRaidSizeValue) Attributes added in v0.40.0

func (v DefaultHardwareRaidSizeValue) Attributes() map[string]attr.Value

func (DefaultHardwareRaidSizeValue) Equal added in v0.40.0

func (DefaultHardwareRaidSizeValue) IsNull added in v0.40.0

func (DefaultHardwareRaidSizeValue) IsUnknown added in v0.40.0

func (v DefaultHardwareRaidSizeValue) IsUnknown() bool

func (*DefaultHardwareRaidSizeValue) MergeWith added in v0.40.0

func (DefaultHardwareRaidSizeValue) String added in v0.40.0

func (DefaultHardwareRaidSizeValue) ToObjectValue added in v0.40.0

func (DefaultHardwareRaidSizeValue) ToTerraformValue added in v0.40.0

func (v DefaultHardwareRaidSizeValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (DefaultHardwareRaidSizeValue) Type added in v0.40.0

func (*DefaultHardwareRaidSizeValue) UnmarshalJSON added in v0.40.0

func (v *DefaultHardwareRaidSizeValue) UnmarshalJSON(data []byte) error

type DiskGroupsDefaultHardwareRaidSizeType added in v0.40.0

type DiskGroupsDefaultHardwareRaidSizeType struct {
	basetypes.ObjectType
}

func (DiskGroupsDefaultHardwareRaidSizeType) Equal added in v0.40.0

func (DiskGroupsDefaultHardwareRaidSizeType) String added in v0.40.0

func (DiskGroupsDefaultHardwareRaidSizeType) ValueFromObject added in v0.40.0

func (DiskGroupsDefaultHardwareRaidSizeType) ValueFromTerraform added in v0.40.0

func (DiskGroupsDefaultHardwareRaidSizeType) ValueType added in v0.40.0

type DiskGroupsDefaultHardwareRaidSizeValue added in v0.40.0

type DiskGroupsDefaultHardwareRaidSizeValue struct {
	Unit  ovhtypes.TfStringValue `tfsdk:"unit" json:"unit"`
	Value ovhtypes.TfInt64Value  `tfsdk:"value" json:"value"`
	// contains filtered or unexported fields
}

func NewDiskGroupsDefaultHardwareRaidSizeValue added in v0.40.0

func NewDiskGroupsDefaultHardwareRaidSizeValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (DiskGroupsDefaultHardwareRaidSizeValue, diag.Diagnostics)

func NewDiskGroupsDefaultHardwareRaidSizeValueMust added in v0.40.0

func NewDiskGroupsDefaultHardwareRaidSizeValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) DiskGroupsDefaultHardwareRaidSizeValue

func NewDiskGroupsDefaultHardwareRaidSizeValueNull added in v0.40.0

func NewDiskGroupsDefaultHardwareRaidSizeValueNull() DiskGroupsDefaultHardwareRaidSizeValue

func NewDiskGroupsDefaultHardwareRaidSizeValueUnknown added in v0.40.0

func NewDiskGroupsDefaultHardwareRaidSizeValueUnknown() DiskGroupsDefaultHardwareRaidSizeValue

func (DiskGroupsDefaultHardwareRaidSizeValue) AttributeTypes added in v0.40.0

func (DiskGroupsDefaultHardwareRaidSizeValue) Attributes added in v0.40.0

func (DiskGroupsDefaultHardwareRaidSizeValue) Equal added in v0.40.0

func (DiskGroupsDefaultHardwareRaidSizeValue) IsNull added in v0.40.0

func (DiskGroupsDefaultHardwareRaidSizeValue) IsUnknown added in v0.40.0

func (*DiskGroupsDefaultHardwareRaidSizeValue) MergeWith added in v0.40.0

func (DiskGroupsDefaultHardwareRaidSizeValue) String added in v0.40.0

func (DiskGroupsDefaultHardwareRaidSizeValue) ToObjectValue added in v0.40.0

func (DiskGroupsDefaultHardwareRaidSizeValue) ToTerraformValue added in v0.40.0

func (DiskGroupsDefaultHardwareRaidSizeValue) Type added in v0.40.0

func (*DiskGroupsDefaultHardwareRaidSizeValue) UnmarshalJSON added in v0.40.0

func (v *DiskGroupsDefaultHardwareRaidSizeValue) UnmarshalJSON(data []byte) error

type DiskGroupsDiskSizeType added in v0.40.0

type DiskGroupsDiskSizeType struct {
	basetypes.ObjectType
}

func (DiskGroupsDiskSizeType) Equal added in v0.40.0

func (t DiskGroupsDiskSizeType) Equal(o attr.Type) bool

func (DiskGroupsDiskSizeType) String added in v0.40.0

func (t DiskGroupsDiskSizeType) String() string

func (DiskGroupsDiskSizeType) ValueFromObject added in v0.40.0

func (DiskGroupsDiskSizeType) ValueFromTerraform added in v0.40.0

func (t DiskGroupsDiskSizeType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (DiskGroupsDiskSizeType) ValueType added in v0.40.0

func (t DiskGroupsDiskSizeType) ValueType(ctx context.Context) attr.Value

type DiskGroupsDiskSizeValue added in v0.40.0

type DiskGroupsDiskSizeValue struct {
	Unit  ovhtypes.TfStringValue `tfsdk:"unit" json:"unit"`
	Value ovhtypes.TfInt64Value  `tfsdk:"value" json:"value"`
	// contains filtered or unexported fields
}

func NewDiskGroupsDiskSizeValue added in v0.40.0

func NewDiskGroupsDiskSizeValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (DiskGroupsDiskSizeValue, diag.Diagnostics)

func NewDiskGroupsDiskSizeValueMust added in v0.40.0

func NewDiskGroupsDiskSizeValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) DiskGroupsDiskSizeValue

func NewDiskGroupsDiskSizeValueNull added in v0.40.0

func NewDiskGroupsDiskSizeValueNull() DiskGroupsDiskSizeValue

func NewDiskGroupsDiskSizeValueUnknown added in v0.40.0

func NewDiskGroupsDiskSizeValueUnknown() DiskGroupsDiskSizeValue

func (DiskGroupsDiskSizeValue) AttributeTypes added in v0.40.0

func (v DiskGroupsDiskSizeValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (DiskGroupsDiskSizeValue) Attributes added in v0.40.0

func (v DiskGroupsDiskSizeValue) Attributes() map[string]attr.Value

func (DiskGroupsDiskSizeValue) Equal added in v0.40.0

func (DiskGroupsDiskSizeValue) IsNull added in v0.40.0

func (v DiskGroupsDiskSizeValue) IsNull() bool

func (DiskGroupsDiskSizeValue) IsUnknown added in v0.40.0

func (v DiskGroupsDiskSizeValue) IsUnknown() bool

func (*DiskGroupsDiskSizeValue) MergeWith added in v0.40.0

func (v *DiskGroupsDiskSizeValue) MergeWith(other *DiskGroupsDiskSizeValue)

func (DiskGroupsDiskSizeValue) String added in v0.40.0

func (v DiskGroupsDiskSizeValue) String() string

func (DiskGroupsDiskSizeValue) ToObjectValue added in v0.40.0

func (DiskGroupsDiskSizeValue) ToTerraformValue added in v0.40.0

func (v DiskGroupsDiskSizeValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (DiskGroupsDiskSizeValue) Type added in v0.40.0

func (*DiskGroupsDiskSizeValue) UnmarshalJSON added in v0.40.0

func (v *DiskGroupsDiskSizeValue) UnmarshalJSON(data []byte) error

type DiskGroupsType added in v0.40.0

type DiskGroupsType struct {
	basetypes.ObjectType
}

func (DiskGroupsType) Equal added in v0.40.0

func (t DiskGroupsType) Equal(o attr.Type) bool

func (DiskGroupsType) String added in v0.40.0

func (t DiskGroupsType) String() string

func (DiskGroupsType) ValueFromObject added in v0.40.0

func (DiskGroupsType) ValueFromTerraform added in v0.40.0

func (t DiskGroupsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (DiskGroupsType) ValueType added in v0.40.0

func (t DiskGroupsType) ValueType(ctx context.Context) attr.Value

type DiskGroupsValue added in v0.40.0

type DiskGroupsValue struct {
	DefaultHardwareRaidSize DiskGroupsDefaultHardwareRaidSizeValue `tfsdk:"default_hardware_raid_size" json:"defaultHardwareRaidSize"`
	DefaultHardwareRaidType ovhtypes.TfStringValue                 `tfsdk:"default_hardware_raid_type" json:"defaultHardwareRaidType"`
	Description             ovhtypes.TfStringValue                 `tfsdk:"description" json:"description"`
	DiskGroupId             ovhtypes.TfInt64Value                  `tfsdk:"disk_group_id" json:"diskGroupId"`
	DiskSize                DiskGroupsDiskSizeValue                `tfsdk:"disk_size" json:"diskSize"`
	DiskType                ovhtypes.TfStringValue                 `tfsdk:"disk_type" json:"diskType"`
	NumberOfDisks           ovhtypes.TfInt64Value                  `tfsdk:"number_of_disks" json:"numberOfDisks"`
	RaidController          ovhtypes.TfStringValue                 `tfsdk:"raid_controller" json:"raidController"`
	// contains filtered or unexported fields
}

func NewDiskGroupsValue added in v0.40.0

func NewDiskGroupsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (DiskGroupsValue, diag.Diagnostics)

func NewDiskGroupsValueMust added in v0.40.0

func NewDiskGroupsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) DiskGroupsValue

func NewDiskGroupsValueNull added in v0.40.0

func NewDiskGroupsValueNull() DiskGroupsValue

func NewDiskGroupsValueUnknown added in v0.40.0

func NewDiskGroupsValueUnknown() DiskGroupsValue

func (DiskGroupsValue) AttributeTypes added in v0.40.0

func (v DiskGroupsValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (DiskGroupsValue) Attributes added in v0.40.0

func (v DiskGroupsValue) Attributes() map[string]attr.Value

func (DiskGroupsValue) Equal added in v0.40.0

func (v DiskGroupsValue) Equal(o attr.Value) bool

func (DiskGroupsValue) IsNull added in v0.40.0

func (v DiskGroupsValue) IsNull() bool

func (DiskGroupsValue) IsUnknown added in v0.40.0

func (v DiskGroupsValue) IsUnknown() bool

func (*DiskGroupsValue) MergeWith added in v0.40.0

func (v *DiskGroupsValue) MergeWith(other *DiskGroupsValue)

func (DiskGroupsValue) String added in v0.40.0

func (v DiskGroupsValue) String() string

func (DiskGroupsValue) ToObjectValue added in v0.40.0

func (DiskGroupsValue) ToTerraformValue added in v0.40.0

func (v DiskGroupsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (DiskGroupsValue) Type added in v0.40.0

func (v DiskGroupsValue) Type(ctx context.Context) attr.Type

func (*DiskGroupsValue) UnmarshalJSON added in v0.40.0

func (v *DiskGroupsValue) UnmarshalJSON(data []byte) error

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"`
	IamResourceDetails `json:"iam"`
}

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 DomainZoneDnssecModel added in v0.41.0

type DomainZoneDnssecModel struct {
	Status   ovhtypes.TfStringValue `tfsdk:"status" json:"status"`
	ZoneName ovhtypes.TfStringValue `tfsdk:"zone_name" json:"zoneName"`
}

func (*DomainZoneDnssecModel) MergeWith added in v0.41.0

func (v *DomainZoneDnssecModel) MergeWith(other *DomainZoneDnssecModel)

type ExpansionCardsType added in v0.40.0

type ExpansionCardsType struct {
	basetypes.ObjectType
}

func (ExpansionCardsType) Equal added in v0.40.0

func (t ExpansionCardsType) Equal(o attr.Type) bool

func (ExpansionCardsType) String added in v0.40.0

func (t ExpansionCardsType) String() string

func (ExpansionCardsType) ValueFromObject added in v0.40.0

func (ExpansionCardsType) ValueFromTerraform added in v0.40.0

func (t ExpansionCardsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (ExpansionCardsType) ValueType added in v0.40.0

func (t ExpansionCardsType) ValueType(ctx context.Context) attr.Value

type ExpansionCardsValue added in v0.40.0

type ExpansionCardsValue struct {
	Description        ovhtypes.TfStringValue `tfsdk:"description" json:"description"`
	ExpansionCardsType ovhtypes.TfStringValue `tfsdk:"type" json:"type"`
	// contains filtered or unexported fields
}

func NewExpansionCardsValue added in v0.40.0

func NewExpansionCardsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ExpansionCardsValue, diag.Diagnostics)

func NewExpansionCardsValueMust added in v0.40.0

func NewExpansionCardsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ExpansionCardsValue

func NewExpansionCardsValueNull added in v0.40.0

func NewExpansionCardsValueNull() ExpansionCardsValue

func NewExpansionCardsValueUnknown added in v0.40.0

func NewExpansionCardsValueUnknown() ExpansionCardsValue

func (ExpansionCardsValue) AttributeTypes added in v0.40.0

func (v ExpansionCardsValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (ExpansionCardsValue) Attributes added in v0.40.0

func (v ExpansionCardsValue) Attributes() map[string]attr.Value

func (ExpansionCardsValue) Equal added in v0.40.0

func (v ExpansionCardsValue) Equal(o attr.Value) bool

func (ExpansionCardsValue) IsNull added in v0.40.0

func (v ExpansionCardsValue) IsNull() bool

func (ExpansionCardsValue) IsUnknown added in v0.40.0

func (v ExpansionCardsValue) IsUnknown() bool

func (*ExpansionCardsValue) MergeWith added in v0.40.0

func (v *ExpansionCardsValue) MergeWith(other *ExpansionCardsValue)

func (ExpansionCardsValue) String added in v0.40.0

func (v ExpansionCardsValue) String() string

func (ExpansionCardsValue) ToObjectValue added in v0.40.0

func (ExpansionCardsValue) ToTerraformValue added in v0.40.0

func (v ExpansionCardsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (ExpansionCardsValue) Type added in v0.40.0

func (*ExpansionCardsValue) UnmarshalJSON added in v0.40.0

func (v *ExpansionCardsValue) UnmarshalJSON(data []byte) error

type FailoverIp added in v0.17.0

type FailoverIp struct {
	Block         string `json:"block"`
	ContinentCode string `json:"continentCode"`
	GeoLoc        string `json:"geoLoc"`
	Id            string `json:"id"`
	Ip            string `json:"ip"`
	Progress      *int64 `json:"progress"`
	RoutedTo      string `json:"routedTo"`
	Status        string `json:"status"`
	SubType       string `json:"subType"`
}

func (FailoverIp) ToMap added in v0.17.0

func (v FailoverIp) ToMap() map[string]interface{}

type FormattedMonthlyThresholdType added in v0.38.0

type FormattedMonthlyThresholdType struct {
	basetypes.ObjectType
}

func (FormattedMonthlyThresholdType) Equal added in v0.38.0

func (FormattedMonthlyThresholdType) String added in v0.38.0

func (FormattedMonthlyThresholdType) ValueFromObject added in v0.38.0

func (FormattedMonthlyThresholdType) ValueFromTerraform added in v0.38.0

func (t FormattedMonthlyThresholdType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (FormattedMonthlyThresholdType) ValueType added in v0.38.0

type FormattedMonthlyThresholdValue added in v0.38.0

type FormattedMonthlyThresholdValue struct {
	CurrencyCode ovhtypes.TfStringValue `tfsdk:"currency_code" json:"currencyCode"`
	Text         ovhtypes.TfStringValue `tfsdk:"text" json:"text"`
	Value        ovhtypes.TfNumberValue `tfsdk:"value" json:"value"`
	// contains filtered or unexported fields
}

func NewFormattedMonthlyThresholdValue added in v0.38.0

func NewFormattedMonthlyThresholdValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (FormattedMonthlyThresholdValue, diag.Diagnostics)

func NewFormattedMonthlyThresholdValueMust added in v0.38.0

func NewFormattedMonthlyThresholdValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) FormattedMonthlyThresholdValue

func NewFormattedMonthlyThresholdValueNull added in v0.38.0

func NewFormattedMonthlyThresholdValueNull() FormattedMonthlyThresholdValue

func NewFormattedMonthlyThresholdValueUnknown added in v0.38.0

func NewFormattedMonthlyThresholdValueUnknown() FormattedMonthlyThresholdValue

func (FormattedMonthlyThresholdValue) AttributeTypes added in v0.38.0

func (v FormattedMonthlyThresholdValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (FormattedMonthlyThresholdValue) Attributes added in v0.38.0

func (v FormattedMonthlyThresholdValue) Attributes() map[string]attr.Value

func (FormattedMonthlyThresholdValue) Equal added in v0.38.0

func (FormattedMonthlyThresholdValue) IsNull added in v0.38.0

func (FormattedMonthlyThresholdValue) IsUnknown added in v0.38.0

func (v FormattedMonthlyThresholdValue) IsUnknown() bool

func (*FormattedMonthlyThresholdValue) MergeWith added in v0.38.0

func (FormattedMonthlyThresholdValue) String added in v0.38.0

func (FormattedMonthlyThresholdValue) ToObjectValue added in v0.38.0

func (FormattedMonthlyThresholdValue) ToTerraformValue added in v0.38.0

func (v FormattedMonthlyThresholdValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (FormattedMonthlyThresholdValue) Type added in v0.38.0

func (*FormattedMonthlyThresholdValue) UnmarshalJSON added in v0.38.0

func (v *FormattedMonthlyThresholdValue) UnmarshalJSON(data []byte) error

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

type HostingPrivateDatabase added in v0.24.0

type HostingPrivateDatabase struct {
	ServiceName        string        `json:"serviceName"`
	Cpu                int           `json:"cpu"`
	Datacenter         string        `json:"datacenter"`
	DisplayName        string        `json:"displayName"`
	Hostname           string        `json:"hostname"`
	HostnameFtp        string        `json:"hostnameFtp"`
	Infrastructure     string        `json:"infrastructure"`
	Offer              string        `json:"offer"`
	Port               int           `json:"port"`
	PortFtp            int           `json:"portFtp"`
	QuotaSize          *UnitAndValue `json:"quotasize"`
	QuotaUsed          *UnitAndValue `json:"quotaUsed"`
	Ram                *UnitAndValue `json:"ram"`
	Server             string        `json:"server"`
	State              string        `json:"state"`
	Type               string        `json:"type"`
	Version            string        `json:"version"`
	VersionLabel       string        `json:"versionLabel"`
	VersionNumber      float64       `json:"versionNumber"`
	IamResourceDetails `json:"iam"`
}

func (HostingPrivateDatabase) ToMap added in v0.24.0

func (v HostingPrivateDatabase) ToMap() map[string]interface{}

type HostingPrivateDatabaseConfirmTerminationOpts added in v0.24.0

type HostingPrivateDatabaseConfirmTerminationOpts struct {
	Token string `json:"token"`
}

type HostingPrivateDatabaseDatabase added in v0.24.0

type HostingPrivateDatabaseDatabase struct {
	DoneDate     string `json:"doneDate"`
	LastUpdate   string `json:"lastUpdate"`
	UserName     string `json:"userName"`
	DumpId       string `json:"dumpId"`
	DatabaseName string `json:"databaseName"`
	TaskId       int    `json:"id"`
	StartDate    string `json:"startDate"`
	Status       string `json:"status"`
}

func (HostingPrivateDatabaseDatabase) ToMap added in v0.24.0

func (v HostingPrivateDatabaseDatabase) ToMap() map[string]interface{}

type HostingPrivateDatabaseDatabaseCreateOpts added in v0.24.0

type HostingPrivateDatabaseDatabaseCreateOpts struct {
	DatabaseName string `json:"databaseName"`
}

func (*HostingPrivateDatabaseDatabaseCreateOpts) FromResource added in v0.24.0

type HostingPrivateDatabaseOpts added in v0.24.0

type HostingPrivateDatabaseOpts struct {
	DisplayName *string `json:"displayName"`
}

func (*HostingPrivateDatabaseOpts) FromResource added in v0.24.0

type HostingPrivateDatabaseUser added in v0.24.0

type HostingPrivateDatabaseUser struct {
	LastUpdate   string `json:"lastUpdate"`
	DoneDate     string `json:"doneDate"`
	Status       string `json:"status"`
	StartDate    string `json:"startDate"`
	DatabaseName string `json:"databaseName"`
	UserName     string `json:"userName"`
	TaskId       int    `json:"id"`
}

func (HostingPrivateDatabaseUser) ToMap added in v0.24.0

func (v HostingPrivateDatabaseUser) ToMap() map[string]interface{}

type HostingPrivateDatabaseUserCreateOpts added in v0.24.0

type HostingPrivateDatabaseUserCreateOpts struct {
	Password string `json:"password"`
	UserName string `json:"userName"`
}

func (*HostingPrivateDatabaseUserCreateOpts) FromResource added in v0.24.0

type HostingPrivateDatabaseUserGrant added in v0.24.0

type HostingPrivateDatabaseUserGrant struct {
	LastUpdate   string `json:"lastUpdate"`
	DoneDate     string `json:"doneDate"`
	Status       string `json:"status"`
	StartDate    string `json:"startDate"`
	DatabaseName string `json:"databaseName"`
	UserName     string `json:"userName"`
	TaskId       int    `json:"id"`
}

type HostingPrivateDatabaseUserGrantCreateOpts added in v0.24.0

type HostingPrivateDatabaseUserGrantCreateOpts struct {
	DatabaseName string `json:"databaseName"`
	Grant        string `json:"grant"`
}

func (*HostingPrivateDatabaseUserGrantCreateOpts) FromResource added in v0.24.0

func (HostingPrivateDatabaseUserGrantCreateOpts) ToMap added in v0.24.0

func (v HostingPrivateDatabaseUserGrantCreateOpts) ToMap() map[string]interface{}

type HostingPrivateDatabaseWhitelist added in v0.24.0

type HostingPrivateDatabaseWhitelist struct {
	CreationDate string `json:"creationDate"`
	LastUpdate   string `json:"lastUpdate"`
	Name         string `json:"name"`
	Service      bool   `json:"service"`
	Sftp         bool   `json:"sftp"`
	Status       string `json:"status"`
	TaskId       int    `json:"id"`
}

func (HostingPrivateDatabaseWhitelist) DataSourceToMap added in v0.24.0

func (v HostingPrivateDatabaseWhitelist) DataSourceToMap() map[string]interface{}

func (HostingPrivateDatabaseWhitelist) ToMap added in v0.24.0

func (v HostingPrivateDatabaseWhitelist) ToMap() map[string]interface{}

type HostingPrivateDatabaseWhitelistCreateOpts added in v0.24.0

type HostingPrivateDatabaseWhitelistCreateOpts struct {
	Ip      string `json:"ip"`
	Name    string `json:"name"`
	Service bool   `json:"service"`
	Sftp    bool   `json:"sftp"`
}

func (*HostingPrivateDatabaseWhitelistCreateOpts) FromResource added in v0.24.0

type HostingPrivateDatabaseWhitelistUpdateOpts added in v0.24.0

type HostingPrivateDatabaseWhitelistUpdateOpts struct {
	Name    string `json:"name"`
	Service bool   `json:"service"`
	Sftp    bool   `json:"sftp"`
}

func (*HostingPrivateDatabaseWhitelistUpdateOpts) FromResource added in v0.24.0

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

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

type IPLoadbalancingRefreshPending added in v0.10.0

type IPLoadbalancingRefreshPending struct {
	Number int    `json:"number"`
	Zone   string `json:"zone"`
}

type IPLoadbalancingRefreshPendings added in v0.10.0

type IPLoadbalancingRefreshPendings []IPLoadbalancingRefreshPending

type IPLoadbalancingRefreshTask added in v0.10.0

type IPLoadbalancingRefreshTask struct {
	CreationDate string   `json:"creationDate"`
	Status       string   `json:"status"`
	Progress     int      `json:"progress"`
	Action       string   `json:"action"`
	ID           int      `json:"id"`
	DoneDate     string   `json:"doneDate"`
	Zones        []string `json:"zones"`
}

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

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

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

type IPPool

type IPPool struct {
	Network string `json:"network"`
	Region  string `json:"region"`
	Dhcp    bool   `json:"dhcp"`
	Start   string `json:"start"`
	End     string `json:"end"`
}

func (*IPPool) String

func (p *IPPool) String() string

type IamAction added in v0.32.0

type IamAction struct {
	Action string `json:"action"`
}

type IamPermissions added in v0.32.0

type IamPermissions struct {
	Allow  []IamAction `json:"allow"`
	Except []IamAction `json:"except"`
	Deny   []IamAction `json:"deny"`
}

func (IamPermissions) ToLists added in v0.32.0

func (p IamPermissions) ToLists() ([]string, []string, []string)

type IamPermissionsGroup added in v0.37.0

type IamPermissionsGroup struct {
	Id          string         `json:"id,omitempty"`
	Name        string         `json:"name"`
	Description string         `json:"description,omitempty"`
	Permissions IamPermissions `json:"permissions"`
	CreatedAt   string         `json:"createdAt,omitempty"`
	UpdatedAt   string         `json:"updatedAt,omitempty"`
	Urn         string         `json:"urn,omitempty"`
	Owner       string         `json:"owner,omitempty"`
}

func (IamPermissionsGroup) ToMap added in v0.37.0

func (p IamPermissionsGroup) ToMap() map[string]any

type IamPolicy added in v0.32.0

type IamPolicy struct {
	Id                string            `json:"id,omitempty"`
	Name              string            `json:"name"`
	Description       string            `json:"description,omitempty"`
	Identities        []string          `json:"identities"`
	Resources         []IamResource     `json:"resources"`
	Permissions       IamPermissions    `json:"permissions"`
	PermissionsGroups []PermissionGroup `json:"permissionsGroups"`
	CreatedAt         string            `json:"createdAt,omitempty"`
	UpdatedAt         string            `json:"updatedAt,omitempty"`
	ReadOnly          bool              `json:"readOnly,omitempty"`
	Owner             string            `json:"owner,omitempty"`
}

func (IamPolicy) ToMap added in v0.32.0

func (p IamPolicy) ToMap() map[string]any

type IamReferenceAction added in v0.32.0

type IamReferenceAction struct {
	Action       string   `json:"action"`
	Categories   []string `json:"categories"`
	Description  string   `json:"description"`
	ResourceType string   `json:"resourceType"`
}

func (*IamReferenceAction) ToMap added in v0.32.0

func (a *IamReferenceAction) ToMap() map[string]any

type IamResource added in v0.32.0

type IamResource struct {
	// URN is always returned and is the urn of the resource or resource group
	// can also be a globing urn, for example "urn:v1:eu:resource:*"
	URN string `json:"urn,omitempty"`
	// If the urn is a resourceGroup. the details are also present
	Group *IamResourceGroup `json:"group,omitempty"`
	// If the urn is an IAM resource, the details are also present
	Resource *IamResourceDetails `json:"resource,omitempty"`
}

IamResource represent a possible information returned when viewing a policy

type IamResourceDetails added in v0.32.0

type IamResourceDetails struct {
	Id          string            `json:"id,omitempty"`
	URN         string            `json:"urn,omitempty"`
	Name        string            `json:"name,omitempty"`
	DisplayName string            `json:"displayName,omitempty"`
	Owner       string            `json:"owner,omitempty"`
	Type        string            `json:"type,omitempty"`
	Tags        map[string]string `json:"tags,omitempty"`
}

type IamResourceGroup added in v0.36.0

type IamResourceGroup struct {
	ID        string               `json:"id,omitempty"`
	Name      string               `json:"name"`
	Resources []IamResourceDetails `json:"resources"`
	URN       string               `json:"urn,omitempty"`
	Owner     string               `json:"owner,omitempty"`
	CreatedAt string               `json:"createdAt,omitempty"`
	UpdatedAt string               `json:"updatedAt,omitempty"`
	ReadOnly  bool                 `json:"readOnly,omitempty"`
}

type IamResourceGroupCreate added in v0.36.0

type IamResourceGroupCreate struct {
	Name      string               `json:"name"`
	Resources []IamResourceDetails `json:"resources"`
}

type IamType added in v0.41.0

type IamType struct {
	basetypes.ObjectType
}

func (IamType) Equal added in v0.41.0

func (t IamType) Equal(o attr.Type) bool

func (IamType) String added in v0.41.0

func (t IamType) String() string

func (IamType) ValueFromObject added in v0.41.0

func (IamType) ValueFromTerraform added in v0.41.0

func (t IamType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (IamType) ValueType added in v0.41.0

func (t IamType) ValueType(ctx context.Context) attr.Value

type IamValue added in v0.41.0

type IamValue struct {
	DisplayName ovhtypes.TfStringValue                            `tfsdk:"display_name" json:"displayName"`
	Id          ovhtypes.TfStringValue                            `tfsdk:"id" json:"id"`
	Tags        ovhtypes.TfMapNestedValue[ovhtypes.TfStringValue] `tfsdk:"tags" json:"tags"`
	Urn         ovhtypes.TfStringValue                            `tfsdk:"urn" json:"urn"`
	// contains filtered or unexported fields
}

func NewIamValue added in v0.41.0

func NewIamValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (IamValue, diag.Diagnostics)

func NewIamValueMust added in v0.41.0

func NewIamValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) IamValue

func NewIamValueNull added in v0.41.0

func NewIamValueNull() IamValue

func NewIamValueUnknown added in v0.41.0

func NewIamValueUnknown() IamValue

func (IamValue) AttributeTypes added in v0.41.0

func (v IamValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (IamValue) Attributes added in v0.41.0

func (v IamValue) Attributes() map[string]attr.Value

func (IamValue) Equal added in v0.41.0

func (v IamValue) Equal(o attr.Value) bool

func (IamValue) IsNull added in v0.41.0

func (v IamValue) IsNull() bool

func (IamValue) IsUnknown added in v0.41.0

func (v IamValue) IsUnknown() bool

func (*IamValue) MergeWith added in v0.41.0

func (v *IamValue) MergeWith(other *IamValue)

func (IamValue) String added in v0.41.0

func (v IamValue) String() string

func (IamValue) ToCreate added in v0.41.0

func (v IamValue) ToCreate() *IamWritableValue

func (IamValue) ToObjectValue added in v0.41.0

func (v IamValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (IamValue) ToTerraformValue added in v0.41.0

func (v IamValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (IamValue) Type added in v0.41.0

func (v IamValue) Type(ctx context.Context) attr.Type

func (*IamValue) UnmarshalJSON added in v0.41.0

func (v *IamValue) UnmarshalJSON(data []byte) error

type IamWritableValue added in v0.41.0

type IamWritableValue struct {
	*IamValue   `json:"-"`
	DisplayName *ovhtypes.TfStringValue                            `json:"displayName,omitempty"`
	Id          *ovhtypes.TfStringValue                            `json:"id,omitempty"`
	Tags        *ovhtypes.TfMapNestedValue[ovhtypes.TfStringValue] `json:"tags,omitempty"`
	Urn         *ovhtypes.TfStringValue                            `json:"urn,omitempty"`
}

type InstallationTemplate added in v0.10.0

type InstallationTemplate struct {
	AvailableLanguages    []string                           `json:"available_languages"`
	BitFormat             int                                `json:"bitFormat"`
	Category              string                             `json:"category"`
	Customization         *InstallationTemplateCustomization `json:"customization,omitempty"`
	DefaultLanguage       string                             `json:"defaultLanguage,omitempty"`
	Description           string                             `json:"description"`
	Distribution          string                             `json:"distribution"`
	Family                string                             `json:"family"`
	Filesystems           []string                           `json:"filesystems"`
	HardRaidConfiguration *bool                              `json:"hardRaidConfigurtion,omitempty"`
	LvmReady              *bool                              `json:"lvmReady,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,omitempty"`
}

func (*InstallationTemplateCreateOpts) FromResource added in v0.10.0

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"`
}

func (*InstallationTemplateCustomization) FromResource added in v0.10.0

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,omitempty"`
	Customization   *InstallationTemplateCustomization `json:"customization"`
	TemplateName    string                             `json:"templateName"`
}

func (*InstallationTemplateUpdateOpts) FromResource added in v0.10.0

type IpFirewallModel added in v0.41.0

type IpFirewallModel struct {
	Enabled      ovhtypes.TfBoolValue   `tfsdk:"enabled" json:"enabled"`
	Ip           ovhtypes.TfStringValue `tfsdk:"ip" json:"ip"`
	IpOnFirewall ovhtypes.TfStringValue `tfsdk:"ip_on_firewall" json:"ipOnFirewall"`
	State        ovhtypes.TfStringValue `tfsdk:"state" json:"state"`
}

func (*IpFirewallModel) MergeWith added in v0.41.0

func (v *IpFirewallModel) MergeWith(other *IpFirewallModel)

func (IpFirewallModel) ToCreate added in v0.41.0

func (IpFirewallModel) ToUpdate added in v0.41.0

type IpFirewallRuleDataResponseModel added in v0.42.0

type IpFirewallRuleDataResponseModel struct {
	Action          ovhtypes.TfStringValue `tfsdk:"action" json:"action"`
	CreationDate    ovhtypes.TfStringValue `tfsdk:"creation_date" json:"creationDate"`
	Destination     ovhtypes.TfStringValue `tfsdk:"destination" json:"destination"`
	DestinationPort ovhtypes.TfStringValue `tfsdk:"destination_port" json:"destinationPort"`
	Fragments       ovhtypes.TfBoolValue   `tfsdk:"fragments" json:"fragments"`
	Ip              ovhtypes.TfStringValue `tfsdk:"ip" json:"ip"`
	IpOnFirewall    ovhtypes.TfStringValue `tfsdk:"ip_on_firewall" json:"ipOnFirewall"`
	Protocol        ovhtypes.TfStringValue `tfsdk:"protocol" json:"protocol"`
	Rule            ovhtypes.TfStringValue `tfsdk:"rule" json:"rule"`
	Sequence        ovhtypes.TfInt64Value  `tfsdk:"sequence" json:"sequence"`
	Source          ovhtypes.TfStringValue `tfsdk:"source" json:"source"`
	SourcePort      ovhtypes.TfStringValue `tfsdk:"source_port" json:"sourcePort"`
	State           ovhtypes.TfStringValue `tfsdk:"state" json:"state"`
	TcpOption       ovhtypes.TfStringValue `tfsdk:"tcp_option" json:"tcpOption"`
}

type IpFirewallRuleModel added in v0.41.0

type IpFirewallRuleModel struct {
	Action              ovhtypes.TfStringValue `tfsdk:"action" json:"action"`
	CreationDate        ovhtypes.TfStringValue `tfsdk:"creation_date" json:"creationDate"`
	Destination         ovhtypes.TfStringValue `tfsdk:"destination" json:"destination"`
	DestinationPort     ovhtypes.TfInt64Value  `tfsdk:"destination_port" json:"destinationPort"`
	DestinationPortDesc ovhtypes.TfStringValue `tfsdk:"destination_port_desc" json:"-"`
	Fragments           ovhtypes.TfBoolValue   `tfsdk:"fragments" json:"fragments"`
	Ip                  ovhtypes.TfStringValue `tfsdk:"ip" json:"ip"`
	IpOnFirewall        ovhtypes.TfStringValue `tfsdk:"ip_on_firewall" json:"ipOnFirewall"`
	Protocol            ovhtypes.TfStringValue `tfsdk:"protocol" json:"protocol"`
	Rule                ovhtypes.TfStringValue `tfsdk:"rule" json:"rule"`
	Sequence            ovhtypes.TfInt64Value  `tfsdk:"sequence" json:"sequence"`
	Source              ovhtypes.TfStringValue `tfsdk:"source" json:"source"`
	SourcePort          ovhtypes.TfInt64Value  `tfsdk:"source_port" json:"sourcePort"`
	SourcePortDesc      ovhtypes.TfStringValue `tfsdk:"source_port_desc" json:"-"`
	State               ovhtypes.TfStringValue `tfsdk:"state" json:"state"`
	TcpOption           ovhtypes.TfStringValue `tfsdk:"tcp_option" json:"tcpOption"`
}

func (*IpFirewallRuleModel) MergeWith added in v0.41.0

func (v *IpFirewallRuleModel) MergeWith(other *IpFirewallRuleModel)

func (IpFirewallRuleModel) ToCreate added in v0.41.0

type IpFirewallRuleResponseModel added in v0.42.0

type IpFirewallRuleResponseModel struct {
	Action              ovhtypes.TfStringValue `tfsdk:"action" json:"action"`
	CreationDate        ovhtypes.TfStringValue `tfsdk:"creation_date" json:"creationDate"`
	Destination         ovhtypes.TfStringValue `tfsdk:"destination" json:"destination"`
	DestinationPort     ovhtypes.TfInt64Value  `tfsdk:"destination_port" json:"-"`
	DestinationPortDesc ovhtypes.TfStringValue `tfsdk:"destination_port_desc" json:"destinationPort"`
	Fragments           ovhtypes.TfBoolValue   `tfsdk:"fragments" json:"fragments"`
	Ip                  ovhtypes.TfStringValue `tfsdk:"ip" json:"ip"`
	IpOnFirewall        ovhtypes.TfStringValue `tfsdk:"ip_on_firewall" json:"ipOnFirewall"`
	Protocol            ovhtypes.TfStringValue `tfsdk:"protocol" json:"protocol"`
	Rule                ovhtypes.TfStringValue `tfsdk:"rule" json:"rule"`
	Sequence            ovhtypes.TfInt64Value  `tfsdk:"sequence" json:"sequence"`
	Source              ovhtypes.TfStringValue `tfsdk:"source" json:"source"`
	SourcePort          ovhtypes.TfInt64Value  `tfsdk:"source_port" json:"-"`
	SourcePortDesc      ovhtypes.TfStringValue `tfsdk:"source_port_desc" json:"sourcePort"`
	State               ovhtypes.TfStringValue `tfsdk:"state" json:"state"`
	TcpOption           ovhtypes.TfStringValue `tfsdk:"tcp_option" json:"tcpOption"`
}

IpFirewallRuleResponseModel is used to read the API response body. We need a separate model to write and read because some properties don't have the same type everywhere.

func (*IpFirewallRuleResponseModel) MergeWith added in v0.42.0

func (v *IpFirewallRuleResponseModel) MergeWith(other *IpFirewallRuleModel)

type IpFirewallRuleWritableModel added in v0.41.0

type IpFirewallRuleWritableModel struct {
	Action          *ovhtypes.TfStringValue `tfsdk:"action" json:"action,omitempty"`
	DestinationPort *ovhtypes.TfInt64Value  `tfsdk:"destination_port" json:"destinationPort,omitempty"`
	Protocol        *ovhtypes.TfStringValue `tfsdk:"protocol" json:"protocol,omitempty"`
	Sequence        *ovhtypes.TfInt64Value  `tfsdk:"sequence" json:"sequence,omitempty"`
	Source          *ovhtypes.TfStringValue `tfsdk:"source" json:"source,omitempty"`
	SourcePort      *ovhtypes.TfInt64Value  `tfsdk:"source_port" json:"sourcePort,omitempty"`
	TcpOption       *TcpOptionWritableValue `tfsdk:"tcp_option" json:"tcpOption,omitempty"`
}

IpFirewallRuleWritableModel is an additional model used to create the rules. Field `tcpOption` has a different type compared to struct IpFirewallRuleModel because the field type is different in the API's request and response bodies.

type IpFirewallWritableModel added in v0.41.0

type IpFirewallWritableModel struct {
	Enabled      *ovhtypes.TfBoolValue   `tfsdk:"enabled" json:"enabled,omitempty"`
	IpOnFirewall *ovhtypes.TfStringValue `tfsdk:"ip_on_firewall" json:"ipOnFirewall,omitempty"`
}

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"`
	IamResourceDetails `json:"iam"`
}

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

type IpLoadbalancingDefinedFarm struct {
	Type string `json:"type"`
	Id   int64  `json:"id"`
}

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 (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"`
	VrackNetworkId *int64                           `json:"vrackNetworkId,omitempty"`
	Zone           string                           `json:"zone"`
}

func (*IpLoadbalancingFarmCreateOrUpdateOpts) FromResource added in v0.10.0

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"`
	OnMarkedDown         *string `json:"onMarkedDown"`
	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"`
	OnMarkedDown         *string `json:"onMarkedDown"`
	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"`
	OnMarkedDown         *string `json:"onMarkedDown"`
	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"`
	Hsts             bool     `json:"hsts"`
	RedirectLocation string   `json:"redirectLocation,omitempty"`
	DisplayName      string   `json:"displayName,omitempty"`
	HttpHeader       []string `json:"httpHeader"`
}

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

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

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

type IpMitigationModel added in v0.41.0

type IpMitigationModel struct {
	Auto           ovhtypes.TfBoolValue   `tfsdk:"auto" json:"auto"`
	Ip             ovhtypes.TfStringValue `tfsdk:"ip" json:"ip"`
	IpOnMitigation ovhtypes.TfStringValue `tfsdk:"ip_on_mitigation" json:"ipOnMitigation"`
	Permanent      ovhtypes.TfBoolValue   `tfsdk:"permanent" json:"permanent"`
	State          ovhtypes.TfStringValue `tfsdk:"state" json:"state"`
}

func (*IpMitigationModel) MergeWith added in v0.41.0

func (v *IpMitigationModel) MergeWith(other *IpMitigationModel)

func (IpMitigationModel) ToCreate added in v0.41.0

func (IpMitigationModel) ToUpdate added in v0.41.0

type IpMitigationWritableModel added in v0.41.0

type IpMitigationWritableModel struct {
	IpOnMitigation *ovhtypes.TfStringValue `tfsdk:"ip_on_mitigation" json:"ipOnMitigation,omitempty"`
	Permanent      *ovhtypes.TfBoolValue   `tfsdk:"permanent" json:"permanent,omitempty"`
}

type IpMoveOpts added in v0.40.0

type IpMoveOpts struct {
	NextHop *string `json:"nexthop,omitempty"`
	To      *string `json:"to"`
}

see https://api.ovh.com/console/#/ip/%7Bip%7D/move~POST

func (*IpMoveOpts) FromResource added in v0.40.0

func (opts *IpMoveOpts) FromResource(d *schema.ResourceData) (*IpMoveOpts, error)

type IpReverse added in v0.15.0

type IpReverse struct {
	IpReverse string `json:"ipReverse"`
	Reverse   string `json:"reverse"`
}

func (IpReverse) ToMap added in v0.15.0

func (v IpReverse) ToMap() map[string]interface{}

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

type IpService added in v0.14.0

type IpService struct {
	CanBeTerminated bool               `json:"canBeTerminated"`
	Country         *string            `json:"country"`
	Description     *string            `json:"description"`
	Ip              string             `json:"ip"`
	OrganisationId  *string            `json:"organisationId"`
	RoutedTo        *IpServiceRoutedTo `json:"routedTo"`
	Type            string             `json:"type"`
}

func (IpService) ToMap added in v0.14.0

func (v IpService) ToMap() map[string]interface{}

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

type IpTask added in v0.40.0

type IpTask struct {
	Comment     *string            `json:"comment;omitempty"`
	Destination *IpServiceRoutedTo `json:"routedTo;omitempty"`
	DoneDate    *time.Time         `json:"doneDate;omitempty"`
	Function    IpTaskFunctionEnum `json:"function"`
	LastUpdate  *time.Time         `json:"lastUpdate;omitempty"`
	StartDate   time.Time          `json:"startDate"`
	Status      IpTaskStatusEnum   `json:"status"`
	TaskId      int64              `json:"taskId"`
}

type IpTaskFunctionEnum added in v0.40.0

type IpTaskFunctionEnum string
const (
	IpTaskFunctionEnumArinBlockReassign                 IpTaskFunctionEnum = "arinBlockReassign"
	IpTaskFunctionEnumChangeRipeOrg                     IpTaskFunctionEnum = "changeRipeOrg"
	IpTaskFunctionEnumCheckAndReleaseIp                 IpTaskFunctionEnum = "checkAndReleaseIp"
	IpTaskFunctionEnumGenericMoveFloatingIp             IpTaskFunctionEnum = "genericMoveFloatingIp"
	IpTaskFunctionEnumSupernetByoipFailoverPartitioning IpTaskFunctionEnum = "supernetByoipFailoverPartitioning"
)

type IpTaskStatusEnum added in v0.40.0

type IpTaskStatusEnum string
const (
	IpTaskStatusCancelled     IpTaskStatusEnum = "cancelled"
	IpTaskStatusCustomerError IpTaskStatusEnum = "customerError"
	IpTaskStatusDoing         IpTaskStatusEnum = "doing"
	IpTaskStatusDone          IpTaskStatusEnum = "done"
	IpTaskStatusInit          IpTaskStatusEnum = "init"
	IpTaskStatusOvhError      IpTaskStatusEnum = "ovhError"
	IpTaskStatusTodo          IpTaskStatusEnum = "todo"
)

type IploadbalancingUdpFrontendModel added in v0.41.0

type IploadbalancingUdpFrontendModel struct {
	DedicatedIpfo ovhtypes.TfListNestedValue[ovhtypes.TfStringValue] `tfsdk:"dedicated_ipfo" json:"dedicatedIpfo"`
	DefaultFarmId ovhtypes.TfInt64Value                              `tfsdk:"default_farm_id" json:"defaultFarmId"`
	Disabled      ovhtypes.TfBoolValue                               `tfsdk:"disabled" json:"disabled"`
	DisplayName   ovhtypes.TfStringValue                             `tfsdk:"display_name" json:"displayName"`
	FrontendId    ovhtypes.TfInt64Value                              `tfsdk:"frontend_id" json:"frontendId"`
	Port          ovhtypes.TfStringValue                             `tfsdk:"port" json:"port"`
	ServiceName   ovhtypes.TfStringValue                             `tfsdk:"service_name" json:"serviceName"`
	Zone          ovhtypes.TfStringValue                             `tfsdk:"zone" json:"zone"`
}

func (*IploadbalancingUdpFrontendModel) MergeWith added in v0.41.0

func (IploadbalancingUdpFrontendModel) ToCreate added in v0.41.0

func (IploadbalancingUdpFrontendModel) ToUpdate added in v0.41.0

type IploadbalancingUdpFrontendWritableModel added in v0.41.0

type IploadbalancingUdpFrontendWritableModel struct {
	DedicatedIpfo *ovhtypes.TfListNestedValue[ovhtypes.TfStringValue] `tfsdk:"dedicated_ipfo" json:"dedicatedIpfo,omitempty"`
	DefaultFarmId *ovhtypes.TfInt64Value                              `tfsdk:"default_farm_id" json:"defaultFarmId,omitempty"`
	Disabled      *ovhtypes.TfBoolValue                               `tfsdk:"disabled" json:"disabled,omitempty"`
	DisplayName   *ovhtypes.TfStringValue                             `tfsdk:"display_name" json:"displayName,omitempty"`
	Port          *ovhtypes.TfStringValue                             `tfsdk:"port" json:"port,omitempty"`
	Zone          *ovhtypes.TfStringValue                             `tfsdk:"zone" json:"zone,omitempty"`
}

type KubectlCluster added in v0.28.0

type KubectlCluster struct {
	Server                   string `json:"server,omitempty" yaml:"server,omitempty"`
	CertificateAuthorityData string `json:"certificate-authority-data,omitempty" yaml:"certificate-authority-data,omitempty"`
}

type KubectlClusterWithName added in v0.28.0

type KubectlClusterWithName struct {
	Name    string         `json:"name" yaml:"name"`
	Cluster KubectlCluster `json:"cluster" yaml:"cluster"`
}

type KubectlConfig added in v0.28.0

type KubectlConfig struct {
	Kind           string                    `json:"kind" yaml:"kind"`
	ApiVersion     string                    `json:"apiVersion" yaml:"apiVersion"`
	CurrentContext string                    `json:"current-context" yaml:"current-context"`
	Clusters       []*KubectlClusterWithName `json:"clusters" yaml:"clusters"`
	Contexts       []*KubectlContextWithName `json:"contexts" yaml:"contexts"`
	Users          []*KubectlUserWithName    `json:"users" yaml:"users"`
	Raw            *string                   `json:"-" yaml:"-"`
}

KubectlConfig is a struct to store the kubeconfig file Same as https://github.com/kubernetes/kops/blob/2e84499741471ba67582aa0ba6fa3f2e3bdbe3e8/pkg/kubeconfig/config.go#L19 but with yaml format

type KubectlContext added in v0.28.0

type KubectlContext struct {
	Cluster string `json:"cluster" yaml:"cluster"`
	User    string `json:"user" yaml:"user"`
}

type KubectlContextWithName added in v0.28.0

type KubectlContextWithName struct {
	Name    string         `json:"name" yaml:"name"`
	Context KubectlContext `json:"context" yaml:"context"`
}

type KubectlUser added in v0.28.0

type KubectlUser struct {
	ClientCertificateData string `json:"client-certificate-data,omitempty" yaml:"client-certificate-data,omitempty"`
	ClientKeyData         string `json:"client-key-data,omitempty" yaml:"client-key-data,omitempty"`
	Password              string `json:"password,omitempty" yaml:"password,omitempty"`
	Username              string `json:"username,omitempty" yaml:"username,omitempty"`
	Token                 string `json:"token,omitempty" yaml:"token,omitempty"`
}

type KubectlUserWithName added in v0.28.0

type KubectlUserWithName struct {
	Name string      `json:"name" yaml:"name"`
	User KubectlUser `json:"user" yaml:"user"`
}

type MeCurrency added in v0.18.0

type MeCurrency struct {
	Code   string `json:"code"`
	Symbol string `json:"symbol"`
}

func (MeCurrency) ToMap added in v0.18.0

func (c MeCurrency) ToMap() map[string]interface{}

type MeIdentityGroupCreateOpts added in v0.31.0

type MeIdentityGroupCreateOpts struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Role        string `json:"role"`
}

type MeIdentityGroupResponse added in v0.31.0

type MeIdentityGroupResponse struct {
	Name         string `json:"name"`
	DefaultGroup bool   `json:"defaultGroup"`
	Role         string `json:"role"`
	Creation     string `json:"creation"`
	Description  string `json:"description"`
	LastUpdate   string `json:"lastUpdate"`
}

type MeIdentityGroupUpdateOpts added in v0.31.0

type MeIdentityGroupUpdateOpts struct {
	Description string `json:"description"`
	Role        string `json:"role"`
}

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 MeIdentityUserUpdateOpts struct {
	Description string `json:"description"`
	Email       string `json:"email"`
	Group       string `json:"group"`
}

type MeOrder added in v0.14.0

type MeOrder struct {
	Date           string `json:"date"`
	ExpirationDate string `json:"expirationDate"`
	OrderId        int64  `json:"orderId"`
}

func (MeOrder) ToMap added in v0.14.0

func (v MeOrder) ToMap() map[string]interface{}

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 MeOrderDetailExtension added in v0.41.0

type MeOrderDetailExtension struct {
	Order struct {
		Plan struct {
			Code string `json:"code"`
		} `json:"plan"`
	} `json:"order"`
}

type MeOrderDetailOperation added in v0.34.0

type MeOrderDetailOperation struct {
	Status   string                         `json:"status"`
	ID       int                            `json:"id"`
	Type     string                         `json:"type"`
	Resource MeOrderDetailOperationResource `json:"resource"`
	Quantity int                            `json:"quantity"`
}

type MeOrderDetailOperationResource added in v0.34.0

type MeOrderDetailOperationResource struct {
	Name        string `json:"name"`
	State       string `json:"state"`
	DisplayName string `json:"displayName"`
}

type MeOrderPaymentMethodOpts added in v0.29.0

type MeOrderPaymentMethodOpts struct {
	PaymentMethod PaymentMethod `json:"paymentMethod"`
}

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 MePaymentMeanIcon struct {
	Data *string `json:"data"`
	Name *string `json:"name"`
}

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 MeResponse added in v0.18.0

type MeResponse struct {
	Address                             *string     `json:"address"`
	Area                                *string     `json:"area"`
	BirthCity                           *string     `json:"birthCity"`
	BirthDay                            *string     `json:"birthDay"`
	City                                *string     `json:"city"`
	CompanyNationalIdentificationNumber *string     `json:"companyNationalIdentificationNumber"`
	CorporationType                     *string     `json:"corporationType"`
	Country                             string      `json:"country"`
	Currency                            *MeCurrency `json:"currency"`
	CustomerCode                        *string     `json:"customerCode"`
	Email                               string      `json:"email"`
	Fax                                 *string     `json:"fax"`
	Firstname                           *string     `json:"firstname"`
	ItalianSDI                          *string     `json:"italianSDI"`
	Language                            *string     `json:"language"`
	Legalform                           string      `json:"legalform"`
	Name                                *string     `json:"name"`
	NationalIdentificationNumber        *string     `json:"nationalIdentificationNumber"`
	Nichandle                           string      `json:"nichandle"`
	Organisation                        *string     `json:"organisation"`
	OvhCompany                          string      `json:"ovhCompany"`
	OvhSubsidiary                       string      `json:"ovhSubsidiary"`
	Phone                               *string     `json:"phone"`
	PhoneCountry                        *string     `json:"phoneCountry"`
	Sex                                 *string     `json:"sex"`
	SpareEmail                          *string     `json:"spareEmail"`
	State                               string      `json:"state"`
	Vat                                 *string     `json:"vat"`
	Zip                                 *string     `json:"zip"`
}

func (MeResponse) ToMap added in v0.18.0

func (m MeResponse) ToMap() map[string]interface{}

type MeSshKeyCreateOpts added in v0.10.0

type MeSshKeyCreateOpts struct {
	KeyName string `json:"keyName"`
	Key     string `json:"key"`
}

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 MemorySizeType added in v0.40.0

type MemorySizeType struct {
	basetypes.ObjectType
}

func (MemorySizeType) Equal added in v0.40.0

func (t MemorySizeType) Equal(o attr.Type) bool

func (MemorySizeType) String added in v0.40.0

func (t MemorySizeType) String() string

func (MemorySizeType) ValueFromObject added in v0.40.0

func (MemorySizeType) ValueFromTerraform added in v0.40.0

func (t MemorySizeType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (MemorySizeType) ValueType added in v0.40.0

func (t MemorySizeType) ValueType(ctx context.Context) attr.Value

type MemorySizeValue added in v0.40.0

type MemorySizeValue struct {
	Unit  ovhtypes.TfStringValue `tfsdk:"unit" json:"unit"`
	Value ovhtypes.TfInt64Value  `tfsdk:"value" json:"value"`
	// contains filtered or unexported fields
}

func NewMemorySizeValue added in v0.40.0

func NewMemorySizeValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (MemorySizeValue, diag.Diagnostics)

func NewMemorySizeValueMust added in v0.40.0

func NewMemorySizeValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) MemorySizeValue

func NewMemorySizeValueNull added in v0.40.0

func NewMemorySizeValueNull() MemorySizeValue

func NewMemorySizeValueUnknown added in v0.40.0

func NewMemorySizeValueUnknown() MemorySizeValue

func (MemorySizeValue) AttributeTypes added in v0.40.0

func (v MemorySizeValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (MemorySizeValue) Attributes added in v0.40.0

func (v MemorySizeValue) Attributes() map[string]attr.Value

func (MemorySizeValue) Equal added in v0.40.0

func (v MemorySizeValue) Equal(o attr.Value) bool

func (MemorySizeValue) IsNull added in v0.40.0

func (v MemorySizeValue) IsNull() bool

func (MemorySizeValue) IsUnknown added in v0.40.0

func (v MemorySizeValue) IsUnknown() bool

func (*MemorySizeValue) MergeWith added in v0.40.0

func (v *MemorySizeValue) MergeWith(other *MemorySizeValue)

func (MemorySizeValue) String added in v0.40.0

func (v MemorySizeValue) String() string

func (MemorySizeValue) ToObjectValue added in v0.40.0

func (MemorySizeValue) ToTerraformValue added in v0.40.0

func (v MemorySizeValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (MemorySizeValue) Type added in v0.40.0

func (v MemorySizeValue) Type(ctx context.Context) attr.Type

func (*MemorySizeValue) UnmarshalJSON added in v0.40.0

func (v *MemorySizeValue) UnmarshalJSON(data []byte) error

type ModelType added in v0.41.0

type ModelType struct {
	basetypes.ObjectType
}

func (ModelType) Equal added in v0.41.0

func (t ModelType) Equal(o attr.Type) bool

func (ModelType) String added in v0.41.0

func (t ModelType) String() string

func (ModelType) ValueFromObject added in v0.41.0

func (ModelType) ValueFromTerraform added in v0.41.0

func (t ModelType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (ModelType) ValueType added in v0.41.0

func (t ModelType) ValueType(ctx context.Context) attr.Value

type ModelValue added in v0.41.0

type ModelValue struct {
	AvailableOptions     ovhtypes.TfListNestedValue[ovhtypes.TfStringValue] `tfsdk:"available_options" json:"availableOptions"`
	Datacenter           ovhtypes.TfListNestedValue[ovhtypes.TfStringValue] `tfsdk:"datacenter" json:"datacenter"`
	Disk                 ovhtypes.TfInt64Value                              `tfsdk:"disk" json:"disk"`
	MaximumAdditionnalIp ovhtypes.TfInt64Value                              `tfsdk:"maximum_additionnal_ip" json:"maximumAdditionnalIp"`
	Memory               ovhtypes.TfInt64Value                              `tfsdk:"memory" json:"memory"`
	Name                 ovhtypes.TfStringValue                             `tfsdk:"name" json:"name"`
	Offer                ovhtypes.TfStringValue                             `tfsdk:"offer" json:"offer"`
	Vcore                ovhtypes.TfInt64Value                              `tfsdk:"vcore" json:"vcore"`
	Version              ovhtypes.TfStringValue                             `tfsdk:"version" json:"version"`
	// contains filtered or unexported fields
}

func NewModelValue added in v0.41.0

func NewModelValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ModelValue, diag.Diagnostics)

func NewModelValueMust added in v0.41.0

func NewModelValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ModelValue

func NewModelValueNull added in v0.41.0

func NewModelValueNull() ModelValue

func NewModelValueUnknown added in v0.41.0

func NewModelValueUnknown() ModelValue

func (ModelValue) AttributeTypes added in v0.41.0

func (v ModelValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (ModelValue) Attributes added in v0.41.0

func (v ModelValue) Attributes() map[string]attr.Value

func (ModelValue) Equal added in v0.41.0

func (v ModelValue) Equal(o attr.Value) bool

func (ModelValue) IsNull added in v0.41.0

func (v ModelValue) IsNull() bool

func (ModelValue) IsUnknown added in v0.41.0

func (v ModelValue) IsUnknown() bool

func (*ModelValue) MergeWith added in v0.41.0

func (v *ModelValue) MergeWith(other *ModelValue)

func (ModelValue) String added in v0.41.0

func (v ModelValue) String() string

func (ModelValue) ToObjectValue added in v0.41.0

func (ModelValue) ToTerraformValue added in v0.41.0

func (v ModelValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (ModelValue) Type added in v0.41.0

func (v ModelValue) Type(ctx context.Context) attr.Type

func (*ModelValue) UnmarshalJSON added in v0.41.0

func (v *ModelValue) UnmarshalJSON(data []byte) error

type NotificationEmail added in v0.14.0

type NotificationEmail struct {
	Subject string `json:"subject"`
	Body    string `json:"body"`
	Date    string `json:"date"`
	Id      int64  `json:"id"`
}

type OlaAvailableModesInterfacesType added in v0.43.0

type OlaAvailableModesInterfacesType struct {
	basetypes.ObjectType
}

func (OlaAvailableModesInterfacesType) Equal added in v0.43.0

func (OlaAvailableModesInterfacesType) String added in v0.43.0

func (OlaAvailableModesInterfacesType) ValueFromObject added in v0.43.0

func (OlaAvailableModesInterfacesType) ValueFromTerraform added in v0.43.0

func (t OlaAvailableModesInterfacesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (OlaAvailableModesInterfacesType) ValueType added in v0.43.0

type OlaAvailableModesInterfacesValue added in v0.43.0

type OlaAvailableModesInterfacesValue struct {
	Aggregation                     ovhtypes.TfBoolValue   `tfsdk:"aggregation" json:"aggregation"`
	Count                           ovhtypes.TfInt64Value  `tfsdk:"count" json:"count"`
	OlaAvailableModesInterfacesType ovhtypes.TfStringValue `tfsdk:"type" json:"type"`
	// contains filtered or unexported fields
}

func NewOlaAvailableModesInterfacesValue added in v0.43.0

func NewOlaAvailableModesInterfacesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (OlaAvailableModesInterfacesValue, diag.Diagnostics)

func NewOlaAvailableModesInterfacesValueMust added in v0.43.0

func NewOlaAvailableModesInterfacesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) OlaAvailableModesInterfacesValue

func NewOlaAvailableModesInterfacesValueNull added in v0.43.0

func NewOlaAvailableModesInterfacesValueNull() OlaAvailableModesInterfacesValue

func NewOlaAvailableModesInterfacesValueUnknown added in v0.43.0

func NewOlaAvailableModesInterfacesValueUnknown() OlaAvailableModesInterfacesValue

func (OlaAvailableModesInterfacesValue) AttributeTypes added in v0.43.0

func (v OlaAvailableModesInterfacesValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (OlaAvailableModesInterfacesValue) Attributes added in v0.43.0

func (OlaAvailableModesInterfacesValue) Equal added in v0.43.0

func (OlaAvailableModesInterfacesValue) IsNull added in v0.43.0

func (OlaAvailableModesInterfacesValue) IsUnknown added in v0.43.0

func (v OlaAvailableModesInterfacesValue) IsUnknown() bool

func (*OlaAvailableModesInterfacesValue) MergeWith added in v0.43.0

func (OlaAvailableModesInterfacesValue) String added in v0.43.0

func (OlaAvailableModesInterfacesValue) ToObjectValue added in v0.43.0

func (OlaAvailableModesInterfacesValue) ToTerraformValue added in v0.43.0

func (OlaAvailableModesInterfacesValue) Type added in v0.43.0

func (*OlaAvailableModesInterfacesValue) UnmarshalJSON added in v0.43.0

func (v *OlaAvailableModesInterfacesValue) UnmarshalJSON(data []byte) error

type OlaAvailableModesType added in v0.43.0

type OlaAvailableModesType struct {
	basetypes.ObjectType
}

func (OlaAvailableModesType) Equal added in v0.43.0

func (t OlaAvailableModesType) Equal(o attr.Type) bool

func (OlaAvailableModesType) String added in v0.43.0

func (t OlaAvailableModesType) String() string

func (OlaAvailableModesType) ValueFromObject added in v0.43.0

func (OlaAvailableModesType) ValueFromTerraform added in v0.43.0

func (t OlaAvailableModesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (OlaAvailableModesType) ValueType added in v0.43.0

func (t OlaAvailableModesType) ValueType(ctx context.Context) attr.Value

type OlaAvailableModesValue added in v0.43.0

type OlaAvailableModesValue struct {
	Default    ovhtypes.TfBoolValue                                         `tfsdk:"default" json:"default"`
	Interfaces ovhtypes.TfListNestedValue[OlaAvailableModesInterfacesValue] `tfsdk:"interfaces" json:"interfaces"`
	Name       ovhtypes.TfStringValue                                       `tfsdk:"name" json:"name"`
	// contains filtered or unexported fields
}

func NewOlaAvailableModesValue added in v0.43.0

func NewOlaAvailableModesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (OlaAvailableModesValue, diag.Diagnostics)

func NewOlaAvailableModesValueMust added in v0.43.0

func NewOlaAvailableModesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) OlaAvailableModesValue

func NewOlaAvailableModesValueNull added in v0.43.0

func NewOlaAvailableModesValueNull() OlaAvailableModesValue

func NewOlaAvailableModesValueUnknown added in v0.43.0

func NewOlaAvailableModesValueUnknown() OlaAvailableModesValue

func (OlaAvailableModesValue) AttributeTypes added in v0.43.0

func (v OlaAvailableModesValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (OlaAvailableModesValue) Attributes added in v0.43.0

func (v OlaAvailableModesValue) Attributes() map[string]attr.Value

func (OlaAvailableModesValue) Equal added in v0.43.0

func (OlaAvailableModesValue) IsNull added in v0.43.0

func (v OlaAvailableModesValue) IsNull() bool

func (OlaAvailableModesValue) IsUnknown added in v0.43.0

func (v OlaAvailableModesValue) IsUnknown() bool

func (*OlaAvailableModesValue) MergeWith added in v0.43.0

func (v *OlaAvailableModesValue) MergeWith(other *OlaAvailableModesValue)

func (OlaAvailableModesValue) String added in v0.43.0

func (v OlaAvailableModesValue) String() string

func (OlaAvailableModesValue) ToObjectValue added in v0.43.0

func (OlaAvailableModesValue) ToTerraformValue added in v0.43.0

func (v OlaAvailableModesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (OlaAvailableModesValue) Type added in v0.43.0

func (*OlaAvailableModesValue) UnmarshalJSON added in v0.43.0

func (v *OlaAvailableModesValue) UnmarshalJSON(data []byte) error

type OlaType added in v0.43.0

type OlaType struct {
	basetypes.ObjectType
}

func (OlaType) Equal added in v0.43.0

func (t OlaType) Equal(o attr.Type) bool

func (OlaType) String added in v0.43.0

func (t OlaType) String() string

func (OlaType) ValueFromObject added in v0.43.0

func (OlaType) ValueFromTerraform added in v0.43.0

func (t OlaType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (OlaType) ValueType added in v0.43.0

func (t OlaType) ValueType(ctx context.Context) attr.Value

type OlaValue added in v0.43.0

type OlaValue struct {
	Available      ovhtypes.TfBoolValue                               `tfsdk:"available" json:"available"`
	AvailableModes ovhtypes.TfListNestedValue[OlaAvailableModesValue] `tfsdk:"available_modes" json:"availableModes"`
	SupportedModes ovhtypes.TfListNestedValue[ovhtypes.TfStringValue] `tfsdk:"supported_modes" json:"supportedModes"`
	// contains filtered or unexported fields
}

func NewOlaValue added in v0.43.0

func NewOlaValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (OlaValue, diag.Diagnostics)

func NewOlaValueMust added in v0.43.0

func NewOlaValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) OlaValue

func NewOlaValueNull added in v0.43.0

func NewOlaValueNull() OlaValue

func NewOlaValueUnknown added in v0.43.0

func NewOlaValueUnknown() OlaValue

func (OlaValue) AttributeTypes added in v0.43.0

func (v OlaValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (OlaValue) Attributes added in v0.43.0

func (v OlaValue) Attributes() map[string]attr.Value

func (OlaValue) Equal added in v0.43.0

func (v OlaValue) Equal(o attr.Value) bool

func (OlaValue) IsNull added in v0.43.0

func (v OlaValue) IsNull() bool

func (OlaValue) IsUnknown added in v0.43.0

func (v OlaValue) IsUnknown() bool

func (*OlaValue) MergeWith added in v0.43.0

func (v *OlaValue) MergeWith(other *OlaValue)

func (OlaValue) String added in v0.43.0

func (v OlaValue) String() string

func (OlaValue) ToObjectValue added in v0.43.0

func (v OlaValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (OlaValue) ToTerraformValue added in v0.43.0

func (v OlaValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (OlaValue) Type added in v0.43.0

func (v OlaValue) Type(ctx context.Context) attr.Type

func (*OlaValue) UnmarshalJSON added in v0.43.0

func (v *OlaValue) UnmarshalJSON(data []byte) error

type OrderCart added in v0.14.0

type OrderCart struct {
	CartId      string  `json:"cartId"`
	Description *string `json:"description"`
	Expire      *string `json:"expire"`
	Items       []int64 `json:"items"`
	ReadOnly    bool    `json:"readOnly"`
}

func (OrderCart) ToMap added in v0.14.0

func (v OrderCart) ToMap() map[string]interface{}

type OrderCartCheckout added in v0.37.0

type OrderCartCheckout struct {
	OrderID int64                   `json:"orderId"`
	Prices  OrderCartCheckoutPrices `json:"prices"`
}

type OrderCartCheckoutPrice added in v0.37.0

type OrderCartCheckoutPrice struct {
	Value float64 `json:"value"`
}

type OrderCartCheckoutPrices added in v0.37.0

type OrderCartCheckoutPrices struct {
	WithoutTax OrderCartCheckoutPrice `json:"withoutTax"`
}

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

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 OrderCartItemConfiguration struct {
	Id    int64  `json:"id"`
	Label string `json:"label"`
	Value string `json:"value"`
}

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

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

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"`
	Configuration []*OrderCartItemConfigurationOpts `json:"-"`
}

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"`
	Configuration []*OrderCartItemConfigurationOpts `json:"-"`
}

func (*OrderCartPlanOptionsCreateOpts) FromResourceWithPath added in v0.14.0

func (*OrderCartPlanOptionsCreateOpts) String added in v0.14.0

func (opts *OrderCartPlanOptionsCreateOpts) String() string

type OrderCreateType added in v0.41.0

type OrderCreateType struct {
	OrderID string
	*OrderCartCreateOpts
	Plans       []*OrderCartPlanCreateOpts
	PlanOptions []*OrderCartPlanOptionsCreateOpts
}

func (*OrderCreateType) FromResource added in v0.41.0

func (o *OrderCreateType) FromResource(d *schema.ResourceData) *OrderCreateType

type OrderDetailsType added in v0.41.0

type OrderDetailsType struct {
	basetypes.ObjectType
}

func (OrderDetailsType) Equal added in v0.41.0

func (t OrderDetailsType) Equal(o attr.Type) bool

func (OrderDetailsType) String added in v0.41.0

func (t OrderDetailsType) String() string

func (OrderDetailsType) ValueFromObject added in v0.41.0

func (OrderDetailsType) ValueFromTerraform added in v0.41.0

func (t OrderDetailsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (OrderDetailsType) ValueType added in v0.41.0

func (t OrderDetailsType) ValueType(ctx context.Context) attr.Value

type OrderDetailsValue added in v0.41.0

type OrderDetailsValue struct {
	Description   ovhtypes.TfStringValue `tfsdk:"description" json:"description"`
	DetailType    ovhtypes.TfStringValue `tfsdk:"detail_type" json:"detailType"`
	Domain        ovhtypes.TfStringValue `tfsdk:"domain" json:"domain"`
	OrderDetailId ovhtypes.TfInt64Value  `tfsdk:"order_detail_id" json:"orderDetailId"`
	Quantity      ovhtypes.TfStringValue `tfsdk:"quantity" json:"quantity"`
	// contains filtered or unexported fields
}

func NewOrderDetailsValue added in v0.41.0

func NewOrderDetailsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (OrderDetailsValue, diag.Diagnostics)

func NewOrderDetailsValueMust added in v0.41.0

func NewOrderDetailsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) OrderDetailsValue

func NewOrderDetailsValueNull added in v0.41.0

func NewOrderDetailsValueNull() OrderDetailsValue

func NewOrderDetailsValueUnknown added in v0.41.0

func NewOrderDetailsValueUnknown() OrderDetailsValue

func (OrderDetailsValue) AttributeTypes added in v0.41.0

func (v OrderDetailsValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (OrderDetailsValue) Attributes added in v0.41.0

func (v OrderDetailsValue) Attributes() map[string]attr.Value

func (OrderDetailsValue) Equal added in v0.41.0

func (v OrderDetailsValue) Equal(o attr.Value) bool

func (OrderDetailsValue) IsNull added in v0.41.0

func (v OrderDetailsValue) IsNull() bool

func (OrderDetailsValue) IsUnknown added in v0.41.0

func (v OrderDetailsValue) IsUnknown() bool

func (*OrderDetailsValue) MergeWith added in v0.41.0

func (v *OrderDetailsValue) MergeWith(other *OrderDetailsValue)

func (OrderDetailsValue) String added in v0.41.0

func (v OrderDetailsValue) String() string

func (OrderDetailsValue) ToCreate added in v0.41.0

func (OrderDetailsValue) ToObjectValue added in v0.41.0

func (OrderDetailsValue) ToTerraformValue added in v0.41.0

func (v OrderDetailsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (OrderDetailsValue) Type added in v0.41.0

func (*OrderDetailsValue) UnmarshalJSON added in v0.41.0

func (v *OrderDetailsValue) UnmarshalJSON(data []byte) error

type OrderDetailsWritableValue added in v0.41.0

type OrderDetailsWritableValue struct {
	*OrderDetailsValue `json:"-"`
	Description        *ovhtypes.TfStringValue `json:"description,omitempty"`
	DetailType         *ovhtypes.TfStringValue `json:"detailType,omitempty"`
	Domain             *ovhtypes.TfStringValue `json:"domain,omitempty"`
	OrderDetailId      *ovhtypes.TfInt64Value  `json:"orderDetailId,omitempty"`
	Quantity           *ovhtypes.TfStringValue `json:"quantity,omitempty"`
}

type OrderModel added in v0.41.0

type OrderModel struct {
	Order         OrderValue                                  `tfsdk:"order" json:"order"`
	OvhSubsidiary ovhtypes.TfStringValue                      `tfsdk:"ovh_subsidiary" json:"ovhSubsidiary"`
	Plan          ovhtypes.TfListNestedValue[PlanValue]       `tfsdk:"plan" json:"plan"`
	PlanOption    ovhtypes.TfListNestedValue[PlanOptionValue] `tfsdk:"plan_option" json:"planOption"`
}

func (*OrderModel) FromResource added in v0.41.0

func (o *OrderModel) FromResource(d *legacyschema.ResourceData) *OrderModel

func (*OrderModel) MergeWith added in v0.41.0

func (v *OrderModel) MergeWith(other *OrderModel)

func (OrderModel) ToCreate added in v0.41.0

func (v OrderModel) ToCreate() *OrderWritableModel

type OrderType added in v0.41.0

type OrderType struct {
	basetypes.ObjectType
}

func (OrderType) Equal added in v0.41.0

func (t OrderType) Equal(o attr.Type) bool

func (OrderType) String added in v0.41.0

func (t OrderType) String() string

func (OrderType) ValueFromObject added in v0.41.0

func (OrderType) ValueFromTerraform added in v0.41.0

func (t OrderType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (OrderType) ValueType added in v0.41.0

func (t OrderType) ValueType(ctx context.Context) attr.Value

type OrderValue added in v0.41.0

type OrderValue struct {
	Date           ovhtypes.TfStringValue                        `tfsdk:"date" json:"date"`
	Details        ovhtypes.TfListNestedValue[OrderDetailsValue] `tfsdk:"details" json:"details"`
	ExpirationDate ovhtypes.TfStringValue                        `tfsdk:"expiration_date" json:"expirationDate"`
	OrderId        ovhtypes.TfInt64Value                         `tfsdk:"order_id" json:"orderId"`
	// contains filtered or unexported fields
}

func NewOrderValue added in v0.41.0

func NewOrderValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (OrderValue, diag.Diagnostics)

func NewOrderValueMust added in v0.41.0

func NewOrderValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) OrderValue

func NewOrderValueNull added in v0.41.0

func NewOrderValueNull() OrderValue

func NewOrderValueUnknown added in v0.41.0

func NewOrderValueUnknown() OrderValue

func (OrderValue) AttributeTypes added in v0.41.0

func (v OrderValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (OrderValue) Attributes added in v0.41.0

func (v OrderValue) Attributes() map[string]attr.Value

func (OrderValue) Equal added in v0.41.0

func (v OrderValue) Equal(o attr.Value) bool

func (OrderValue) IsNull added in v0.41.0

func (v OrderValue) IsNull() bool

func (OrderValue) IsUnknown added in v0.41.0

func (v OrderValue) IsUnknown() bool

func (*OrderValue) MergeWith added in v0.41.0

func (v *OrderValue) MergeWith(other *OrderValue)

func (OrderValue) String added in v0.41.0

func (v OrderValue) String() string

func (OrderValue) ToCreate added in v0.41.0

func (v OrderValue) ToCreate() *OrderWritableValue

func (OrderValue) ToObjectValue added in v0.41.0

func (OrderValue) ToTerraformValue added in v0.41.0

func (v OrderValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (OrderValue) Type added in v0.41.0

func (v OrderValue) Type(ctx context.Context) attr.Type

func (*OrderValue) UnmarshalJSON added in v0.41.0

func (v *OrderValue) UnmarshalJSON(data []byte) error

type OrderWritableModel added in v0.41.0

type OrderWritableModel struct {
	OvhSubsidiary *ovhtypes.TfStringValue                              `tfsdk:"ovh_subsidiary" json:"ovhSubsidiary,omitempty"`
	Plan          *ovhtypes.TfListNestedValue[PlanWritableValue]       `tfsdk:"plan" json:"plan,omitempty"`
	PlanOption    *ovhtypes.TfListNestedValue[PlanOptionWritableValue] `tfsdk:"plan_option" json:"planOption,omitempty"`
}

type OrderWritableValue added in v0.41.0

type OrderWritableValue struct {
	*OrderValue    `json:"-"`
	Date           *ovhtypes.TfStringValue                        `json:"date,omitempty"`
	Details        *ovhtypes.TfListNestedValue[OrderDetailsValue] `json:"details,omitempty"`
	ExpirationDate *ovhtypes.TfStringValue                        `json:"expirationDate,omitempty"`
	OrderId        *ovhtypes.TfInt64Value                         `json:"orderId,omitempty"`
}

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 OvhAuthDetails added in v0.32.0

type OvhAuthDetails struct {
	Account       string           `json:"account"`
	AllowedRoutes []ovh.AccessRule `json:"allowedRoutes"`
	Description   string           `json:"description"`
	Identities    []string         `json:"identities"`
	Method        string           `json:"method"`
	Roles         []string         `json:"roles"`
	User          string           `json:"user"`
}

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,omitempty"`
	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 OvhProvider added in v0.36.0

type OvhProvider struct {
	// contains filtered or unexported fields
}

OvhProvider is the provider implementation.

func (*OvhProvider) Configure added in v0.36.0

Configure prepares a HashiCups API client for data sources and resources.

func (*OvhProvider) DataSources added in v0.36.0

func (p *OvhProvider) DataSources(_ context.Context) []func() datasource.DataSource

DataSources defines the data sources implemented in the provider.

func (*OvhProvider) Metadata added in v0.36.0

Metadata returns the provider type name.

func (*OvhProvider) Resources added in v0.36.0

func (p *OvhProvider) Resources(_ context.Context) []func() resource.Resource

Resources defines the resources implemented in the provider.

func (*OvhProvider) Schema added in v0.36.0

Schema defines the provider-level schema for configuration data.

type Partition added in v0.10.0

type Partition struct {
	Filesystem string       `json:"filesystem"`
	Mountpoint string       `json:"mountpoint"`
	Order      int          `json:"order"`
	Raid       *string      `json:"raid,omitempty"`
	Size       UnitAndValue `json:"size"`
	Type       string       `json:"type"`
	VolumeName *string      `json:"volumeName,omitempty"`
}

func (Partition) ToMap added in v0.10.0

func (v Partition) ToMap() map[string]interface{}

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

type PartitionScheme added in v0.10.0

type PartitionScheme struct {
	Name     string `json:"name"`
	Priority int    `json:"priority"`
}

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

type PartitionUpdateOpts added in v0.10.0

type PartitionUpdateOpts struct {
	Partition
}

func (*PartitionUpdateOpts) FromResource added in v0.10.0

type PaymentMethod added in v0.29.0

type PaymentMethod struct {
	Id int64 `json:"id"`
}

type PermissionGroup added in v0.37.0

type PermissionGroup struct {
	Urn string `json:"urn"`
}

type PlanConfigurationType added in v0.41.0

type PlanConfigurationType struct {
	basetypes.ObjectType
}

func (PlanConfigurationType) Equal added in v0.41.0

func (t PlanConfigurationType) Equal(o attr.Type) bool

func (PlanConfigurationType) String added in v0.41.0

func (t PlanConfigurationType) String() string

func (PlanConfigurationType) ValueFromObject added in v0.41.0

func (PlanConfigurationType) ValueFromTerraform added in v0.41.0

func (t PlanConfigurationType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (PlanConfigurationType) ValueType added in v0.41.0

func (t PlanConfigurationType) ValueType(ctx context.Context) attr.Value

type PlanConfigurationValue added in v0.41.0

type PlanConfigurationValue struct {
	Label ovhtypes.TfStringValue `tfsdk:"label" json:"label"`
	Value ovhtypes.TfStringValue `tfsdk:"value" json:"value"`
	// contains filtered or unexported fields
}

func NewPlanConfigurationValue added in v0.41.0

func NewPlanConfigurationValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PlanConfigurationValue, diag.Diagnostics)

func NewPlanConfigurationValueMust added in v0.41.0

func NewPlanConfigurationValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PlanConfigurationValue

func NewPlanConfigurationValueNull added in v0.41.0

func NewPlanConfigurationValueNull() PlanConfigurationValue

func NewPlanConfigurationValueUnknown added in v0.41.0

func NewPlanConfigurationValueUnknown() PlanConfigurationValue

func (PlanConfigurationValue) AttributeTypes added in v0.41.0

func (v PlanConfigurationValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (PlanConfigurationValue) Attributes added in v0.41.0

func (v PlanConfigurationValue) Attributes() map[string]attr.Value

func (PlanConfigurationValue) Equal added in v0.41.0

func (PlanConfigurationValue) IsNull added in v0.41.0

func (v PlanConfigurationValue) IsNull() bool

func (PlanConfigurationValue) IsUnknown added in v0.41.0

func (v PlanConfigurationValue) IsUnknown() bool

func (*PlanConfigurationValue) MergeWith added in v0.41.0

func (v *PlanConfigurationValue) MergeWith(other *PlanConfigurationValue)

func (PlanConfigurationValue) String added in v0.41.0

func (v PlanConfigurationValue) String() string

func (PlanConfigurationValue) ToCreate added in v0.41.0

func (PlanConfigurationValue) ToObjectValue added in v0.41.0

func (PlanConfigurationValue) ToTerraformValue added in v0.41.0

func (v PlanConfigurationValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (PlanConfigurationValue) Type added in v0.41.0

func (*PlanConfigurationValue) UnmarshalJSON added in v0.41.0

func (v *PlanConfigurationValue) UnmarshalJSON(data []byte) error

type PlanConfigurationWritableValue added in v0.41.0

type PlanConfigurationWritableValue struct {
	*PlanConfigurationValue `json:"-"`
	Label                   *ovhtypes.TfStringValue `json:"label,omitempty"`
	Value                   *ovhtypes.TfStringValue `json:"value,omitempty"`
}

type PlanOptionConfigurationType added in v0.41.0

type PlanOptionConfigurationType struct {
	basetypes.ObjectType
}

func (PlanOptionConfigurationType) Equal added in v0.41.0

func (PlanOptionConfigurationType) String added in v0.41.0

func (PlanOptionConfigurationType) ValueFromObject added in v0.41.0

func (PlanOptionConfigurationType) ValueFromTerraform added in v0.41.0

func (t PlanOptionConfigurationType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (PlanOptionConfigurationType) ValueType added in v0.41.0

type PlanOptionConfigurationValue added in v0.41.0

type PlanOptionConfigurationValue struct {
	Label ovhtypes.TfStringValue `tfsdk:"label" json:"label"`
	Value ovhtypes.TfStringValue `tfsdk:"value" json:"value"`
	// contains filtered or unexported fields
}

func NewPlanOptionConfigurationValue added in v0.41.0

func NewPlanOptionConfigurationValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PlanOptionConfigurationValue, diag.Diagnostics)

func NewPlanOptionConfigurationValueMust added in v0.41.0

func NewPlanOptionConfigurationValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PlanOptionConfigurationValue

func NewPlanOptionConfigurationValueNull added in v0.41.0

func NewPlanOptionConfigurationValueNull() PlanOptionConfigurationValue

func NewPlanOptionConfigurationValueUnknown added in v0.41.0

func NewPlanOptionConfigurationValueUnknown() PlanOptionConfigurationValue

func (PlanOptionConfigurationValue) AttributeTypes added in v0.41.0

func (v PlanOptionConfigurationValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (PlanOptionConfigurationValue) Attributes added in v0.41.0

func (v PlanOptionConfigurationValue) Attributes() map[string]attr.Value

func (PlanOptionConfigurationValue) Equal added in v0.41.0

func (PlanOptionConfigurationValue) IsNull added in v0.41.0

func (PlanOptionConfigurationValue) IsUnknown added in v0.41.0

func (v PlanOptionConfigurationValue) IsUnknown() bool

func (*PlanOptionConfigurationValue) MergeWith added in v0.41.0

func (PlanOptionConfigurationValue) String added in v0.41.0

func (PlanOptionConfigurationValue) ToCreate added in v0.41.0

func (PlanOptionConfigurationValue) ToObjectValue added in v0.41.0

func (PlanOptionConfigurationValue) ToTerraformValue added in v0.41.0

func (v PlanOptionConfigurationValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (PlanOptionConfigurationValue) Type added in v0.41.0

func (*PlanOptionConfigurationValue) UnmarshalJSON added in v0.41.0

func (v *PlanOptionConfigurationValue) UnmarshalJSON(data []byte) error

type PlanOptionConfigurationWritableValue added in v0.41.0

type PlanOptionConfigurationWritableValue struct {
	*PlanOptionConfigurationValue `json:"-"`
	Label                         *ovhtypes.TfStringValue `json:"label,omitempty"`
	Value                         *ovhtypes.TfStringValue `json:"value,omitempty"`
}

type PlanOptionType added in v0.41.0

type PlanOptionType struct {
	basetypes.ObjectType
}

func (PlanOptionType) Equal added in v0.41.0

func (t PlanOptionType) Equal(o attr.Type) bool

func (PlanOptionType) String added in v0.41.0

func (t PlanOptionType) String() string

func (PlanOptionType) ValueFromObject added in v0.41.0

func (PlanOptionType) ValueFromTerraform added in v0.41.0

func (t PlanOptionType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (PlanOptionType) ValueType added in v0.41.0

func (t PlanOptionType) ValueType(ctx context.Context) attr.Value

type PlanOptionValue added in v0.41.0

type PlanOptionValue struct {
	Configuration ovhtypes.TfListNestedValue[PlanOptionConfigurationValue] `tfsdk:"configuration" json:"configuration"`
	Duration      ovhtypes.TfStringValue                                   `tfsdk:"duration" json:"duration"`
	ItemId        ovhtypes.TfInt64Value                                    `tfsdk:"item_id" json:"itemId"`
	PlanCode      ovhtypes.TfStringValue                                   `tfsdk:"plan_code" json:"planCode"`
	PricingMode   ovhtypes.TfStringValue                                   `tfsdk:"pricing_mode" json:"pricingMode"`
	Quantity      ovhtypes.TfInt64Value                                    `tfsdk:"quantity" json:"quantity"`
	// contains filtered or unexported fields
}

func NewPlanOptionValue added in v0.41.0

func NewPlanOptionValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PlanOptionValue, diag.Diagnostics)

func NewPlanOptionValueMust added in v0.41.0

func NewPlanOptionValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PlanOptionValue

func NewPlanOptionValueNull added in v0.41.0

func NewPlanOptionValueNull() PlanOptionValue

func NewPlanOptionValueUnknown added in v0.41.0

func NewPlanOptionValueUnknown() PlanOptionValue

func (PlanOptionValue) AttributeTypes added in v0.41.0

func (v PlanOptionValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (PlanOptionValue) Attributes added in v0.41.0

func (v PlanOptionValue) Attributes() map[string]attr.Value

func (PlanOptionValue) Equal added in v0.41.0

func (v PlanOptionValue) Equal(o attr.Value) bool

func (PlanOptionValue) FromResourceWithPath added in v0.41.0

func (opts PlanOptionValue) FromResourceWithPath(d *legacyschema.ResourceData, path string) PlanOptionValue

func (PlanOptionValue) IsNull added in v0.41.0

func (v PlanOptionValue) IsNull() bool

func (PlanOptionValue) IsUnknown added in v0.41.0

func (v PlanOptionValue) IsUnknown() bool

func (*PlanOptionValue) MergeWith added in v0.41.0

func (v *PlanOptionValue) MergeWith(other *PlanOptionValue)

func (PlanOptionValue) String added in v0.41.0

func (v PlanOptionValue) String() string

func (PlanOptionValue) ToCreate added in v0.41.0

func (PlanOptionValue) ToObjectValue added in v0.41.0

func (PlanOptionValue) ToTerraformValue added in v0.41.0

func (v PlanOptionValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (PlanOptionValue) Type added in v0.41.0

func (v PlanOptionValue) Type(ctx context.Context) attr.Type

func (*PlanOptionValue) UnmarshalJSON added in v0.41.0

func (v *PlanOptionValue) UnmarshalJSON(data []byte) error

type PlanOptionWritableValue added in v0.41.0

type PlanOptionWritableValue struct {
	*PlanOptionValue `json:"-"`
	Configuration    *ovhtypes.TfListNestedValue[PlanOptionConfigurationValue] `json:"configuration,omitempty"`
	Duration         *ovhtypes.TfStringValue                                   `json:"duration,omitempty"`
	ItemId           *ovhtypes.TfInt64Value                                    `json:"itemId,omitempty"`
	PlanCode         *ovhtypes.TfStringValue                                   `json:"planCode,omitempty"`
	PricingMode      *ovhtypes.TfStringValue                                   `json:"pricingMode,omitempty"`
	Quantity         *ovhtypes.TfInt64Value                                    `json:"quantity,omitempty"`
}

type PlanType added in v0.41.0

type PlanType struct {
	basetypes.ObjectType
}

func (PlanType) Equal added in v0.41.0

func (t PlanType) Equal(o attr.Type) bool

func (PlanType) String added in v0.41.0

func (t PlanType) String() string

func (PlanType) ValueFromObject added in v0.41.0

func (PlanType) ValueFromTerraform added in v0.41.0

func (t PlanType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (PlanType) ValueType added in v0.41.0

func (t PlanType) ValueType(ctx context.Context) attr.Value

type PlanValue added in v0.41.0

type PlanValue struct {
	Configuration ovhtypes.TfListNestedValue[PlanConfigurationValue] `tfsdk:"configuration" json:"configuration"`
	Duration      ovhtypes.TfStringValue                             `tfsdk:"duration" json:"duration"`
	ItemId        ovhtypes.TfInt64Value                              `tfsdk:"item_id" json:"itemId"`
	PlanCode      ovhtypes.TfStringValue                             `tfsdk:"plan_code" json:"planCode"`
	PricingMode   ovhtypes.TfStringValue                             `tfsdk:"pricing_mode" json:"pricingMode"`
	Quantity      ovhtypes.TfInt64Value                              `tfsdk:"quantity" json:"quantity"`
	// contains filtered or unexported fields
}

func NewPlanValue added in v0.41.0

func NewPlanValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PlanValue, diag.Diagnostics)

func NewPlanValueMust added in v0.41.0

func NewPlanValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PlanValue

func NewPlanValueNull added in v0.41.0

func NewPlanValueNull() PlanValue

func NewPlanValueUnknown added in v0.41.0

func NewPlanValueUnknown() PlanValue

func (PlanValue) AttributeTypes added in v0.41.0

func (v PlanValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (PlanValue) Attributes added in v0.41.0

func (v PlanValue) Attributes() map[string]attr.Value

func (PlanValue) Equal added in v0.41.0

func (v PlanValue) Equal(o attr.Value) bool

func (PlanValue) FromResourceWithPath added in v0.41.0

func (opts PlanValue) FromResourceWithPath(d *legacyschema.ResourceData, path string) PlanValue

func (PlanValue) IsNull added in v0.41.0

func (v PlanValue) IsNull() bool

func (PlanValue) IsUnknown added in v0.41.0

func (v PlanValue) IsUnknown() bool

func (*PlanValue) MergeWith added in v0.41.0

func (v *PlanValue) MergeWith(other *PlanValue)

func (PlanValue) String added in v0.41.0

func (v PlanValue) String() string

func (PlanValue) ToCreate added in v0.41.0

func (v PlanValue) ToCreate() *PlanWritableValue

func (PlanValue) ToObjectValue added in v0.41.0

func (v PlanValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (PlanValue) ToTerraformValue added in v0.41.0

func (v PlanValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (PlanValue) Type added in v0.41.0

func (v PlanValue) Type(ctx context.Context) attr.Type

func (*PlanValue) UnmarshalJSON added in v0.41.0

func (v *PlanValue) UnmarshalJSON(data []byte) error

type PlanWritableValue added in v0.41.0

type PlanWritableValue struct {
	*PlanValue    `json:"-"`
	Configuration *ovhtypes.TfListNestedValue[PlanConfigurationValue] `json:"configuration,omitempty"`
	Duration      *ovhtypes.TfStringValue                             `json:"duration,omitempty"`
	ItemId        *ovhtypes.TfInt64Value                              `json:"itemId,omitempty"`
	PlanCode      *ovhtypes.TfStringValue                             `json:"planCode,omitempty"`
	PricingMode   *ovhtypes.TfStringValue                             `json:"pricingMode,omitempty"`
	Quantity      *ovhtypes.TfInt64Value                              `json:"quantity,omitempty"`
}

type PresignedURL added in v0.23.0

type PresignedURL struct {
	Method string `json:"method"`
	URL    string `json:"url"`
}

type PresignedURLInput added in v0.23.0

type PresignedURLInput struct {
	Expire int    `json:"expire"`
	Method string `json:"method"`
	Object string `json:"object"`
}

func (*PresignedURLInput) FromResource added in v0.23.0

func (opts *PresignedURLInput) FromResource(d *schema.ResourceData) *PresignedURLInput

type ProjectIpFailoverAttachCreation added in v0.17.0

type ProjectIpFailoverAttachCreation struct {
	InstanceId *string `json:"instanceId,omitempty"`
}

func (*ProjectIpFailoverAttachCreation) FromResource added in v0.17.0

type RoutingIpv4Type added in v0.43.0

type RoutingIpv4Type struct {
	basetypes.ObjectType
}

func (RoutingIpv4Type) Equal added in v0.43.0

func (t RoutingIpv4Type) Equal(o attr.Type) bool

func (RoutingIpv4Type) String added in v0.43.0

func (t RoutingIpv4Type) String() string

func (RoutingIpv4Type) ValueFromObject added in v0.43.0

func (RoutingIpv4Type) ValueFromTerraform added in v0.43.0

func (t RoutingIpv4Type) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (RoutingIpv4Type) ValueType added in v0.43.0

func (t RoutingIpv4Type) ValueType(ctx context.Context) attr.Value

type RoutingIpv4Value added in v0.43.0

type RoutingIpv4Value struct {
	Gateway ovhtypes.TfStringValue `tfsdk:"gateway" json:"gateway"`
	Ip      ovhtypes.TfStringValue `tfsdk:"ip" json:"ip"`
	Network ovhtypes.TfStringValue `tfsdk:"network" json:"network"`
	// contains filtered or unexported fields
}

func NewRoutingIpv4Value added in v0.43.0

func NewRoutingIpv4Value(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (RoutingIpv4Value, diag.Diagnostics)

func NewRoutingIpv4ValueMust added in v0.43.0

func NewRoutingIpv4ValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) RoutingIpv4Value

func NewRoutingIpv4ValueNull added in v0.43.0

func NewRoutingIpv4ValueNull() RoutingIpv4Value

func NewRoutingIpv4ValueUnknown added in v0.43.0

func NewRoutingIpv4ValueUnknown() RoutingIpv4Value

func (RoutingIpv4Value) AttributeTypes added in v0.43.0

func (v RoutingIpv4Value) AttributeTypes(ctx context.Context) map[string]attr.Type

func (RoutingIpv4Value) Attributes added in v0.43.0

func (v RoutingIpv4Value) Attributes() map[string]attr.Value

func (RoutingIpv4Value) Equal added in v0.43.0

func (v RoutingIpv4Value) Equal(o attr.Value) bool

func (RoutingIpv4Value) IsNull added in v0.43.0

func (v RoutingIpv4Value) IsNull() bool

func (RoutingIpv4Value) IsUnknown added in v0.43.0

func (v RoutingIpv4Value) IsUnknown() bool

func (*RoutingIpv4Value) MergeWith added in v0.43.0

func (v *RoutingIpv4Value) MergeWith(other *RoutingIpv4Value)

func (RoutingIpv4Value) String added in v0.43.0

func (v RoutingIpv4Value) String() string

func (RoutingIpv4Value) ToObjectValue added in v0.43.0

func (RoutingIpv4Value) ToTerraformValue added in v0.43.0

func (v RoutingIpv4Value) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (RoutingIpv4Value) Type added in v0.43.0

func (*RoutingIpv4Value) UnmarshalJSON added in v0.43.0

func (v *RoutingIpv4Value) UnmarshalJSON(data []byte) error

type RoutingIpv6Type added in v0.43.0

type RoutingIpv6Type struct {
	basetypes.ObjectType
}

func (RoutingIpv6Type) Equal added in v0.43.0

func (t RoutingIpv6Type) Equal(o attr.Type) bool

func (RoutingIpv6Type) String added in v0.43.0

func (t RoutingIpv6Type) String() string

func (RoutingIpv6Type) ValueFromObject added in v0.43.0

func (RoutingIpv6Type) ValueFromTerraform added in v0.43.0

func (t RoutingIpv6Type) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (RoutingIpv6Type) ValueType added in v0.43.0

func (t RoutingIpv6Type) ValueType(ctx context.Context) attr.Value

type RoutingIpv6Value added in v0.43.0

type RoutingIpv6Value struct {
	Gateway ovhtypes.TfStringValue `tfsdk:"gateway" json:"gateway"`
	Ip      ovhtypes.TfStringValue `tfsdk:"ip" json:"ip"`
	Network ovhtypes.TfStringValue `tfsdk:"network" json:"network"`
	// contains filtered or unexported fields
}

func NewRoutingIpv6Value added in v0.43.0

func NewRoutingIpv6Value(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (RoutingIpv6Value, diag.Diagnostics)

func NewRoutingIpv6ValueMust added in v0.43.0

func NewRoutingIpv6ValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) RoutingIpv6Value

func NewRoutingIpv6ValueNull added in v0.43.0

func NewRoutingIpv6ValueNull() RoutingIpv6Value

func NewRoutingIpv6ValueUnknown added in v0.43.0

func NewRoutingIpv6ValueUnknown() RoutingIpv6Value

func (RoutingIpv6Value) AttributeTypes added in v0.43.0

func (v RoutingIpv6Value) AttributeTypes(ctx context.Context) map[string]attr.Type

func (RoutingIpv6Value) Attributes added in v0.43.0

func (v RoutingIpv6Value) Attributes() map[string]attr.Value

func (RoutingIpv6Value) Equal added in v0.43.0

func (v RoutingIpv6Value) Equal(o attr.Value) bool

func (RoutingIpv6Value) IsNull added in v0.43.0

func (v RoutingIpv6Value) IsNull() bool

func (RoutingIpv6Value) IsUnknown added in v0.43.0

func (v RoutingIpv6Value) IsUnknown() bool

func (*RoutingIpv6Value) MergeWith added in v0.43.0

func (v *RoutingIpv6Value) MergeWith(other *RoutingIpv6Value)

func (RoutingIpv6Value) String added in v0.43.0

func (v RoutingIpv6Value) String() string

func (RoutingIpv6Value) ToObjectValue added in v0.43.0

func (RoutingIpv6Value) ToTerraformValue added in v0.43.0

func (v RoutingIpv6Value) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (RoutingIpv6Value) Type added in v0.43.0

func (*RoutingIpv6Value) UnmarshalJSON added in v0.43.0

func (v *RoutingIpv6Value) UnmarshalJSON(data []byte) error

type RoutingType added in v0.43.0

type RoutingType struct {
	basetypes.ObjectType
}

func (RoutingType) Equal added in v0.43.0

func (t RoutingType) Equal(o attr.Type) bool

func (RoutingType) String added in v0.43.0

func (t RoutingType) String() string

func (RoutingType) ValueFromObject added in v0.43.0

func (RoutingType) ValueFromTerraform added in v0.43.0

func (t RoutingType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (RoutingType) ValueType added in v0.43.0

func (t RoutingType) ValueType(ctx context.Context) attr.Value

type RoutingValue added in v0.43.0

type RoutingValue struct {
	Ipv4 RoutingIpv4Value `tfsdk:"ipv4" json:"ipv4"`
	Ipv6 RoutingIpv6Value `tfsdk:"ipv6" json:"ipv6"`
	// contains filtered or unexported fields
}

func NewRoutingValue added in v0.43.0

func NewRoutingValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (RoutingValue, diag.Diagnostics)

func NewRoutingValueMust added in v0.43.0

func NewRoutingValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) RoutingValue

func NewRoutingValueNull added in v0.43.0

func NewRoutingValueNull() RoutingValue

func NewRoutingValueUnknown added in v0.43.0

func NewRoutingValueUnknown() RoutingValue

func (RoutingValue) AttributeTypes added in v0.43.0

func (v RoutingValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (RoutingValue) Attributes added in v0.43.0

func (v RoutingValue) Attributes() map[string]attr.Value

func (RoutingValue) Equal added in v0.43.0

func (v RoutingValue) Equal(o attr.Value) bool

func (RoutingValue) IsNull added in v0.43.0

func (v RoutingValue) IsNull() bool

func (RoutingValue) IsUnknown added in v0.43.0

func (v RoutingValue) IsUnknown() bool

func (*RoutingValue) MergeWith added in v0.43.0

func (v *RoutingValue) MergeWith(other *RoutingValue)

func (RoutingValue) String added in v0.43.0

func (v RoutingValue) String() string

func (RoutingValue) ToObjectValue added in v0.43.0

func (RoutingValue) ToTerraformValue added in v0.43.0

func (v RoutingValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (RoutingValue) Type added in v0.43.0

func (v RoutingValue) Type(ctx context.Context) attr.Type

func (*RoutingValue) UnmarshalJSON added in v0.43.0

func (v *RoutingValue) UnmarshalJSON(data []byte) error

type Service added in v0.41.0

type Service struct {
	Billing ServiceBilling `json:"billing"`
}

Service contains the information returned by calls to /services/{serviceId}

func (*Service) ToPlanValue added in v0.41.0

type ServiceBilling added in v0.41.0

type ServiceBilling struct {
	Plan    ServiceBillingPlan    `json:"plan"`
	Pricing ServiceBillingPricing `json:"pricing"`
}

type ServiceBillingPlan added in v0.41.0

type ServiceBillingPlan struct {
	Code string `json:"code"`
}

type ServiceBillingPricing added in v0.41.0

type ServiceBillingPricing struct {
	PricingMode string `json:"pricingMode"`
	Duration    string `json:"duration"`
}

type ServiceInfos added in v0.41.0

type ServiceInfos struct {
	ServiceID int `json:"serviceId"`
}

ServiceInfos contains the information returned by calls to /serviceType/{serviceId}/serviceInfos

type SwitchingType added in v0.43.0

type SwitchingType struct {
	basetypes.ObjectType
}

func (SwitchingType) Equal added in v0.43.0

func (t SwitchingType) Equal(o attr.Type) bool

func (SwitchingType) String added in v0.43.0

func (t SwitchingType) String() string

func (SwitchingType) ValueFromObject added in v0.43.0

func (SwitchingType) ValueFromTerraform added in v0.43.0

func (t SwitchingType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (SwitchingType) ValueType added in v0.43.0

func (t SwitchingType) ValueType(ctx context.Context) attr.Value

type SwitchingValue added in v0.43.0

type SwitchingValue struct {
	Name ovhtypes.TfStringValue `tfsdk:"name" json:"name"`
	// contains filtered or unexported fields
}

func NewSwitchingValue added in v0.43.0

func NewSwitchingValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (SwitchingValue, diag.Diagnostics)

func NewSwitchingValueMust added in v0.43.0

func NewSwitchingValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) SwitchingValue

func NewSwitchingValueNull added in v0.43.0

func NewSwitchingValueNull() SwitchingValue

func NewSwitchingValueUnknown added in v0.43.0

func NewSwitchingValueUnknown() SwitchingValue

func (SwitchingValue) AttributeTypes added in v0.43.0

func (v SwitchingValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (SwitchingValue) Attributes added in v0.43.0

func (v SwitchingValue) Attributes() map[string]attr.Value

func (SwitchingValue) Equal added in v0.43.0

func (v SwitchingValue) Equal(o attr.Value) bool

func (SwitchingValue) IsNull added in v0.43.0

func (v SwitchingValue) IsNull() bool

func (SwitchingValue) IsUnknown added in v0.43.0

func (v SwitchingValue) IsUnknown() bool

func (*SwitchingValue) MergeWith added in v0.43.0

func (v *SwitchingValue) MergeWith(other *SwitchingValue)

func (SwitchingValue) String added in v0.43.0

func (v SwitchingValue) String() string

func (SwitchingValue) ToObjectValue added in v0.43.0

func (SwitchingValue) ToTerraformValue added in v0.43.0

func (v SwitchingValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (SwitchingValue) Type added in v0.43.0

func (v SwitchingValue) Type(ctx context.Context) attr.Type

func (*SwitchingValue) UnmarshalJSON added in v0.43.0

func (v *SwitchingValue) UnmarshalJSON(data []byte) error

type Taint added in v0.19.0

type Taint struct {
	Effect TaintEffectType `json:"effect"`
	Key    string          `json:"key"`
	Value  string          `json:"value"`
}

type TaintEffectType added in v0.19.0

type TaintEffectType int
const (
	NotATaint TaintEffectType = iota
	NoExecute
	NoSchedule
	PreferNoSchedule
)

func (TaintEffectType) MarshalJSON added in v0.19.0

func (e TaintEffectType) MarshalJSON() ([]byte, error)

MarshalJSON marshals the enum as a quoted json string

func (TaintEffectType) String added in v0.19.0

func (e TaintEffectType) String() string

func (*TaintEffectType) UnmarshalJSON added in v0.19.0

func (e *TaintEffectType) UnmarshalJSON(b []byte) error

UnmarshalJSON unmashals a quoted json string to the enum value

type TaskOpts

type TaskOpts struct {
	ServiceName string `json:"serviceName"`
	TaskId      string `json:"taskId"`
}

Task Opts

type TcpOptionWritableValue added in v0.41.0

type TcpOptionWritableValue struct {
	Fragments *ovhtypes.TfBoolValue   `json:"fragments,omitempty"`
	Option    *ovhtypes.TfStringValue `json:"option,omitempty"`
}

type TerminateFunc added in v0.14.0

type TerminateFunc func() (string, error)

type TrafficInputQuotaSizeType added in v0.43.0

type TrafficInputQuotaSizeType struct {
	basetypes.ObjectType
}

func (TrafficInputQuotaSizeType) Equal added in v0.43.0

func (TrafficInputQuotaSizeType) String added in v0.43.0

func (t TrafficInputQuotaSizeType) String() string

func (TrafficInputQuotaSizeType) ValueFromObject added in v0.43.0

func (TrafficInputQuotaSizeType) ValueFromTerraform added in v0.43.0

func (t TrafficInputQuotaSizeType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (TrafficInputQuotaSizeType) ValueType added in v0.43.0

type TrafficInputQuotaSizeValue added in v0.43.0

type TrafficInputQuotaSizeValue struct {
	Unit  ovhtypes.TfStringValue `tfsdk:"unit" json:"unit"`
	Value ovhtypes.TfInt64Value  `tfsdk:"value" json:"value"`
	// contains filtered or unexported fields
}

func NewTrafficInputQuotaSizeValue added in v0.43.0

func NewTrafficInputQuotaSizeValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (TrafficInputQuotaSizeValue, diag.Diagnostics)

func NewTrafficInputQuotaSizeValueMust added in v0.43.0

func NewTrafficInputQuotaSizeValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) TrafficInputQuotaSizeValue

func NewTrafficInputQuotaSizeValueNull added in v0.43.0

func NewTrafficInputQuotaSizeValueNull() TrafficInputQuotaSizeValue

func NewTrafficInputQuotaSizeValueUnknown added in v0.43.0

func NewTrafficInputQuotaSizeValueUnknown() TrafficInputQuotaSizeValue

func (TrafficInputQuotaSizeValue) AttributeTypes added in v0.43.0

func (v TrafficInputQuotaSizeValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (TrafficInputQuotaSizeValue) Attributes added in v0.43.0

func (v TrafficInputQuotaSizeValue) Attributes() map[string]attr.Value

func (TrafficInputQuotaSizeValue) Equal added in v0.43.0

func (TrafficInputQuotaSizeValue) IsNull added in v0.43.0

func (v TrafficInputQuotaSizeValue) IsNull() bool

func (TrafficInputQuotaSizeValue) IsUnknown added in v0.43.0

func (v TrafficInputQuotaSizeValue) IsUnknown() bool

func (*TrafficInputQuotaSizeValue) MergeWith added in v0.43.0

func (TrafficInputQuotaSizeValue) String added in v0.43.0

func (TrafficInputQuotaSizeValue) ToObjectValue added in v0.43.0

func (TrafficInputQuotaSizeValue) ToTerraformValue added in v0.43.0

func (v TrafficInputQuotaSizeValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (TrafficInputQuotaSizeValue) Type added in v0.43.0

func (*TrafficInputQuotaSizeValue) UnmarshalJSON added in v0.43.0

func (v *TrafficInputQuotaSizeValue) UnmarshalJSON(data []byte) error

type TrafficInputQuotaUsedType added in v0.43.0

type TrafficInputQuotaUsedType struct {
	basetypes.ObjectType
}

func (TrafficInputQuotaUsedType) Equal added in v0.43.0

func (TrafficInputQuotaUsedType) String added in v0.43.0

func (t TrafficInputQuotaUsedType) String() string

func (TrafficInputQuotaUsedType) ValueFromObject added in v0.43.0

func (TrafficInputQuotaUsedType) ValueFromTerraform added in v0.43.0

func (t TrafficInputQuotaUsedType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (TrafficInputQuotaUsedType) ValueType added in v0.43.0

type TrafficInputQuotaUsedValue added in v0.43.0

type TrafficInputQuotaUsedValue struct {
	Unit  ovhtypes.TfStringValue `tfsdk:"unit" json:"unit"`
	Value ovhtypes.TfInt64Value  `tfsdk:"value" json:"value"`
	// contains filtered or unexported fields
}

func NewTrafficInputQuotaUsedValue added in v0.43.0

func NewTrafficInputQuotaUsedValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (TrafficInputQuotaUsedValue, diag.Diagnostics)

func NewTrafficInputQuotaUsedValueMust added in v0.43.0

func NewTrafficInputQuotaUsedValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) TrafficInputQuotaUsedValue

func NewTrafficInputQuotaUsedValueNull added in v0.43.0

func NewTrafficInputQuotaUsedValueNull() TrafficInputQuotaUsedValue

func NewTrafficInputQuotaUsedValueUnknown added in v0.43.0

func NewTrafficInputQuotaUsedValueUnknown() TrafficInputQuotaUsedValue

func (TrafficInputQuotaUsedValue) AttributeTypes added in v0.43.0

func (v TrafficInputQuotaUsedValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (TrafficInputQuotaUsedValue) Attributes added in v0.43.0

func (v TrafficInputQuotaUsedValue) Attributes() map[string]attr.Value

func (TrafficInputQuotaUsedValue) Equal added in v0.43.0

func (TrafficInputQuotaUsedValue) IsNull added in v0.43.0

func (v TrafficInputQuotaUsedValue) IsNull() bool

func (TrafficInputQuotaUsedValue) IsUnknown added in v0.43.0

func (v TrafficInputQuotaUsedValue) IsUnknown() bool

func (*TrafficInputQuotaUsedValue) MergeWith added in v0.43.0

func (TrafficInputQuotaUsedValue) String added in v0.43.0

func (TrafficInputQuotaUsedValue) ToObjectValue added in v0.43.0

func (TrafficInputQuotaUsedValue) ToTerraformValue added in v0.43.0

func (v TrafficInputQuotaUsedValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (TrafficInputQuotaUsedValue) Type added in v0.43.0

func (*TrafficInputQuotaUsedValue) UnmarshalJSON added in v0.43.0

func (v *TrafficInputQuotaUsedValue) UnmarshalJSON(data []byte) error

type TrafficOutputQuotaSizeType added in v0.43.0

type TrafficOutputQuotaSizeType struct {
	basetypes.ObjectType
}

func (TrafficOutputQuotaSizeType) Equal added in v0.43.0

func (TrafficOutputQuotaSizeType) String added in v0.43.0

func (TrafficOutputQuotaSizeType) ValueFromObject added in v0.43.0

func (TrafficOutputQuotaSizeType) ValueFromTerraform added in v0.43.0

func (t TrafficOutputQuotaSizeType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (TrafficOutputQuotaSizeType) ValueType added in v0.43.0

type TrafficOutputQuotaSizeValue added in v0.43.0

type TrafficOutputQuotaSizeValue struct {
	Unit  ovhtypes.TfStringValue `tfsdk:"unit" json:"unit"`
	Value ovhtypes.TfInt64Value  `tfsdk:"value" json:"value"`
	// contains filtered or unexported fields
}

func NewTrafficOutputQuotaSizeValue added in v0.43.0

func NewTrafficOutputQuotaSizeValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (TrafficOutputQuotaSizeValue, diag.Diagnostics)

func NewTrafficOutputQuotaSizeValueMust added in v0.43.0

func NewTrafficOutputQuotaSizeValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) TrafficOutputQuotaSizeValue

func NewTrafficOutputQuotaSizeValueNull added in v0.43.0

func NewTrafficOutputQuotaSizeValueNull() TrafficOutputQuotaSizeValue

func NewTrafficOutputQuotaSizeValueUnknown added in v0.43.0

func NewTrafficOutputQuotaSizeValueUnknown() TrafficOutputQuotaSizeValue

func (TrafficOutputQuotaSizeValue) AttributeTypes added in v0.43.0

func (v TrafficOutputQuotaSizeValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (TrafficOutputQuotaSizeValue) Attributes added in v0.43.0

func (v TrafficOutputQuotaSizeValue) Attributes() map[string]attr.Value

func (TrafficOutputQuotaSizeValue) Equal added in v0.43.0

func (TrafficOutputQuotaSizeValue) IsNull added in v0.43.0

func (v TrafficOutputQuotaSizeValue) IsNull() bool

func (TrafficOutputQuotaSizeValue) IsUnknown added in v0.43.0

func (v TrafficOutputQuotaSizeValue) IsUnknown() bool

func (*TrafficOutputQuotaSizeValue) MergeWith added in v0.43.0

func (TrafficOutputQuotaSizeValue) String added in v0.43.0

func (TrafficOutputQuotaSizeValue) ToObjectValue added in v0.43.0

func (TrafficOutputQuotaSizeValue) ToTerraformValue added in v0.43.0

func (v TrafficOutputQuotaSizeValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (TrafficOutputQuotaSizeValue) Type added in v0.43.0

func (*TrafficOutputQuotaSizeValue) UnmarshalJSON added in v0.43.0

func (v *TrafficOutputQuotaSizeValue) UnmarshalJSON(data []byte) error

type TrafficOutputQuotaUsedType added in v0.43.0

type TrafficOutputQuotaUsedType struct {
	basetypes.ObjectType
}

func (TrafficOutputQuotaUsedType) Equal added in v0.43.0

func (TrafficOutputQuotaUsedType) String added in v0.43.0

func (TrafficOutputQuotaUsedType) ValueFromObject added in v0.43.0

func (TrafficOutputQuotaUsedType) ValueFromTerraform added in v0.43.0

func (t TrafficOutputQuotaUsedType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (TrafficOutputQuotaUsedType) ValueType added in v0.43.0

type TrafficOutputQuotaUsedValue added in v0.43.0

type TrafficOutputQuotaUsedValue struct {
	Unit  ovhtypes.TfStringValue `tfsdk:"unit" json:"unit"`
	Value ovhtypes.TfInt64Value  `tfsdk:"value" json:"value"`
	// contains filtered or unexported fields
}

func NewTrafficOutputQuotaUsedValue added in v0.43.0

func NewTrafficOutputQuotaUsedValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (TrafficOutputQuotaUsedValue, diag.Diagnostics)

func NewTrafficOutputQuotaUsedValueMust added in v0.43.0

func NewTrafficOutputQuotaUsedValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) TrafficOutputQuotaUsedValue

func NewTrafficOutputQuotaUsedValueNull added in v0.43.0

func NewTrafficOutputQuotaUsedValueNull() TrafficOutputQuotaUsedValue

func NewTrafficOutputQuotaUsedValueUnknown added in v0.43.0

func NewTrafficOutputQuotaUsedValueUnknown() TrafficOutputQuotaUsedValue

func (TrafficOutputQuotaUsedValue) AttributeTypes added in v0.43.0

func (v TrafficOutputQuotaUsedValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (TrafficOutputQuotaUsedValue) Attributes added in v0.43.0

func (v TrafficOutputQuotaUsedValue) Attributes() map[string]attr.Value

func (TrafficOutputQuotaUsedValue) Equal added in v0.43.0

func (TrafficOutputQuotaUsedValue) IsNull added in v0.43.0

func (v TrafficOutputQuotaUsedValue) IsNull() bool

func (TrafficOutputQuotaUsedValue) IsUnknown added in v0.43.0

func (v TrafficOutputQuotaUsedValue) IsUnknown() bool

func (*TrafficOutputQuotaUsedValue) MergeWith added in v0.43.0

func (TrafficOutputQuotaUsedValue) String added in v0.43.0

func (TrafficOutputQuotaUsedValue) ToObjectValue added in v0.43.0

func (TrafficOutputQuotaUsedValue) ToTerraformValue added in v0.43.0

func (v TrafficOutputQuotaUsedValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (TrafficOutputQuotaUsedValue) Type added in v0.43.0

func (*TrafficOutputQuotaUsedValue) UnmarshalJSON added in v0.43.0

func (v *TrafficOutputQuotaUsedValue) UnmarshalJSON(data []byte) error

type TrafficType added in v0.43.0

type TrafficType struct {
	basetypes.ObjectType
}

func (TrafficType) Equal added in v0.43.0

func (t TrafficType) Equal(o attr.Type) bool

func (TrafficType) String added in v0.43.0

func (t TrafficType) String() string

func (TrafficType) ValueFromObject added in v0.43.0

func (TrafficType) ValueFromTerraform added in v0.43.0

func (t TrafficType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (TrafficType) ValueType added in v0.43.0

func (t TrafficType) ValueType(ctx context.Context) attr.Value

type TrafficValue added in v0.43.0

type TrafficValue struct {
	InputQuotaSize  TrafficInputQuotaSizeValue  `tfsdk:"input_quota_size" json:"inputQuotaSize"`
	InputQuotaUsed  TrafficInputQuotaUsedValue  `tfsdk:"input_quota_used" json:"inputQuotaUsed"`
	IsThrottled     ovhtypes.TfBoolValue        `tfsdk:"is_throttled" json:"isThrottled"`
	OutputQuotaSize TrafficOutputQuotaSizeValue `tfsdk:"output_quota_size" json:"outputQuotaSize"`
	OutputQuotaUsed TrafficOutputQuotaUsedValue `tfsdk:"output_quota_used" json:"outputQuotaUsed"`
	ResetQuotaDate  ovhtypes.TfStringValue      `tfsdk:"reset_quota_date" json:"resetQuotaDate"`
	// contains filtered or unexported fields
}

func NewTrafficValue added in v0.43.0

func NewTrafficValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (TrafficValue, diag.Diagnostics)

func NewTrafficValueMust added in v0.43.0

func NewTrafficValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) TrafficValue

func NewTrafficValueNull added in v0.43.0

func NewTrafficValueNull() TrafficValue

func NewTrafficValueUnknown added in v0.43.0

func NewTrafficValueUnknown() TrafficValue

func (TrafficValue) AttributeTypes added in v0.43.0

func (v TrafficValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (TrafficValue) Attributes added in v0.43.0

func (v TrafficValue) Attributes() map[string]attr.Value

func (TrafficValue) Equal added in v0.43.0

func (v TrafficValue) Equal(o attr.Value) bool

func (TrafficValue) IsNull added in v0.43.0

func (v TrafficValue) IsNull() bool

func (TrafficValue) IsUnknown added in v0.43.0

func (v TrafficValue) IsUnknown() bool

func (*TrafficValue) MergeWith added in v0.43.0

func (v *TrafficValue) MergeWith(other *TrafficValue)

func (TrafficValue) String added in v0.43.0

func (v TrafficValue) String() string

func (TrafficValue) ToObjectValue added in v0.43.0

func (TrafficValue) ToTerraformValue added in v0.43.0

func (v TrafficValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (TrafficValue) Type added in v0.43.0

func (v TrafficValue) Type(ctx context.Context) attr.Type

func (*TrafficValue) UnmarshalJSON added in v0.43.0

func (v *TrafficValue) UnmarshalJSON(data []byte) error

type UnitAndValue added in v0.10.0

type UnitAndValue struct {
	Unit  string `json:"unit"`
	Value int    `json:"value"`
}

func (UnitAndValue) ToMap added in v0.10.0

func (v UnitAndValue) ToMap() map[string]interface{}

type UsbKeysType added in v0.40.0

type UsbKeysType struct {
	basetypes.ObjectType
}

func (UsbKeysType) Equal added in v0.40.0

func (t UsbKeysType) Equal(o attr.Type) bool

func (UsbKeysType) String added in v0.40.0

func (t UsbKeysType) String() string

func (UsbKeysType) ValueFromObject added in v0.40.0

func (UsbKeysType) ValueFromTerraform added in v0.40.0

func (t UsbKeysType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (UsbKeysType) ValueType added in v0.40.0

func (t UsbKeysType) ValueType(ctx context.Context) attr.Value

type UsbKeysValue added in v0.40.0

type UsbKeysValue struct {
	Unit  ovhtypes.TfStringValue `tfsdk:"unit" json:"unit"`
	Value ovhtypes.TfInt64Value  `tfsdk:"value" json:"value"`
	// contains filtered or unexported fields
}

func NewUsbKeysValue added in v0.40.0

func NewUsbKeysValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (UsbKeysValue, diag.Diagnostics)

func NewUsbKeysValueMust added in v0.40.0

func NewUsbKeysValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) UsbKeysValue

func NewUsbKeysValueNull added in v0.40.0

func NewUsbKeysValueNull() UsbKeysValue

func NewUsbKeysValueUnknown added in v0.40.0

func NewUsbKeysValueUnknown() UsbKeysValue

func (UsbKeysValue) AttributeTypes added in v0.40.0

func (v UsbKeysValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (UsbKeysValue) Attributes added in v0.40.0

func (v UsbKeysValue) Attributes() map[string]attr.Value

func (UsbKeysValue) Equal added in v0.40.0

func (v UsbKeysValue) Equal(o attr.Value) bool

func (UsbKeysValue) IsNull added in v0.40.0

func (v UsbKeysValue) IsNull() bool

func (UsbKeysValue) IsUnknown added in v0.40.0

func (v UsbKeysValue) IsUnknown() bool

func (*UsbKeysValue) MergeWith added in v0.40.0

func (v *UsbKeysValue) MergeWith(other *UsbKeysValue)

func (UsbKeysValue) String added in v0.40.0

func (v UsbKeysValue) String() string

func (UsbKeysValue) ToObjectValue added in v0.40.0

func (UsbKeysValue) ToTerraformValue added in v0.40.0

func (v UsbKeysValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (UsbKeysValue) Type added in v0.40.0

func (v UsbKeysValue) Type(ctx context.Context) attr.Type

func (*UsbKeysValue) UnmarshalJSON added in v0.40.0

func (v *UsbKeysValue) UnmarshalJSON(data []byte) error

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"`
	IamResourceDetails `json:"iam"`
}

type VPSDatacenter added in v0.10.0

type VPSDatacenter struct {
	Name     string `json:"name"`
	Longname string `json:"longname"`
}

type VPSModel added in v0.10.0

type VPSModel struct {
	Name    string `json:"name"`
	Offer   string `json:"offer"`
	Memory  int    `json:"memory"`
	Vcore   int    `json:"vcore"`
	Version string `json:"version"`
	Disk    int    `json:"disk"`
}

type VPSProperties added in v0.10.0

type VPSProperties struct {
	NetbootMode    *string `json:"netbootMode"`
	Keymap         *string `json:"keymap"`
	SlaMonitorting bool    `json:"slaMonitoring"`
	DisplayName    *string `json:"displayName"`
}

type VmacType added in v0.43.0

type VmacType struct {
	basetypes.ObjectType
}

func (VmacType) Equal added in v0.43.0

func (t VmacType) Equal(o attr.Type) bool

func (VmacType) String added in v0.43.0

func (t VmacType) String() string

func (VmacType) ValueFromObject added in v0.43.0

func (VmacType) ValueFromTerraform added in v0.43.0

func (t VmacType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (VmacType) ValueType added in v0.43.0

func (t VmacType) ValueType(ctx context.Context) attr.Value

type VmacValue added in v0.43.0

type VmacValue struct {
	Supported ovhtypes.TfBoolValue `tfsdk:"supported" json:"supported"`
	// contains filtered or unexported fields
}

func NewVmacValue added in v0.43.0

func NewVmacValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (VmacValue, diag.Diagnostics)

func NewVmacValueMust added in v0.43.0

func NewVmacValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) VmacValue

func NewVmacValueNull added in v0.43.0

func NewVmacValueNull() VmacValue

func NewVmacValueUnknown added in v0.43.0

func NewVmacValueUnknown() VmacValue

func (VmacValue) AttributeTypes added in v0.43.0

func (v VmacValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (VmacValue) Attributes added in v0.43.0

func (v VmacValue) Attributes() map[string]attr.Value

func (VmacValue) Equal added in v0.43.0

func (v VmacValue) Equal(o attr.Value) bool

func (VmacValue) IsNull added in v0.43.0

func (v VmacValue) IsNull() bool

func (VmacValue) IsUnknown added in v0.43.0

func (v VmacValue) IsUnknown() bool

func (*VmacValue) MergeWith added in v0.43.0

func (v *VmacValue) MergeWith(other *VmacValue)

func (VmacValue) String added in v0.43.0

func (v VmacValue) String() string

func (VmacValue) ToObjectValue added in v0.43.0

func (v VmacValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)

func (VmacValue) ToTerraformValue added in v0.43.0

func (v VmacValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (VmacValue) Type added in v0.43.0

func (v VmacValue) Type(ctx context.Context) attr.Type

func (*VmacValue) UnmarshalJSON added in v0.43.0

func (v *VmacValue) UnmarshalJSON(data []byte) error

type VpsModel added in v0.41.0

type VpsModel struct {
	Cluster            ovhtypes.TfStringValue                             `tfsdk:"cluster" json:"cluster"`
	DisplayName        ovhtypes.TfStringValue                             `tfsdk:"display_name" json:"displayName"`
	Iam                IamValue                                           `tfsdk:"iam" json:"iam"`
	Keymap             ovhtypes.TfStringValue                             `tfsdk:"keymap" json:"keymap"`
	MemoryLimit        ovhtypes.TfInt64Value                              `tfsdk:"memory_limit" json:"memoryLimit"`
	Model              ModelValue                                         `tfsdk:"model" json:"model"`
	MonitoringIpBlocks ovhtypes.TfListNestedValue[ovhtypes.TfStringValue] `tfsdk:"monitoring_ip_blocks" json:"monitoringIpBlocks"`
	Name               ovhtypes.TfStringValue                             `tfsdk:"name" json:"name"`
	NetbootMode        ovhtypes.TfStringValue                             `tfsdk:"netboot_mode" json:"netbootMode"`
	OfferType          ovhtypes.TfStringValue                             `tfsdk:"offer_type" json:"offerType"`
	ServiceName        ovhtypes.TfStringValue                             `tfsdk:"service_name" json:"serviceName"`
	SlaMonitoring      ovhtypes.TfBoolValue                               `tfsdk:"sla_monitoring" json:"slaMonitoring"`
	State              ovhtypes.TfStringValue                             `tfsdk:"state" json:"state"`
	Vcore              ovhtypes.TfInt64Value                              `tfsdk:"vcore" json:"vcore"`
	Zone               ovhtypes.TfStringValue                             `tfsdk:"zone" json:"zone"`
	// Fields used for order
	Order         OrderValue                                  `tfsdk:"order" json:"order"`
	OvhSubsidiary ovhtypes.TfStringValue                      `tfsdk:"ovh_subsidiary" json:"ovhSubsidiary"`
	Plan          ovhtypes.TfListNestedValue[PlanValue]       `tfsdk:"plan" json:"plan"`
	PlanOption    ovhtypes.TfListNestedValue[PlanOptionValue] `tfsdk:"plan_option" json:"planOption"`
}

func (*VpsModel) MergeWith added in v0.41.0

func (v *VpsModel) MergeWith(other *VpsModel)

func (VpsModel) ToCreate added in v0.41.0

func (v VpsModel) ToCreate() *VpsWritableModel

func (*VpsModel) ToOrder added in v0.41.0

func (v *VpsModel) ToOrder() *OrderModel

func (VpsModel) ToUpdate added in v0.41.0

func (v VpsModel) ToUpdate() *VpsWritableModel

type VpsWritableModel added in v0.41.0

type VpsWritableModel struct {
	DisplayName   *ovhtypes.TfStringValue `tfsdk:"display_name" json:"displayName,omitempty"`
	NetbootMode   *ovhtypes.TfStringValue `tfsdk:"netboot_mode" json:"netbootMode,omitempty"`
	SlaMonitoring *ovhtypes.TfBoolValue   `tfsdk:"sla_monitoring" json:"slaMonitoring,omitempty"`
}

type Vrack added in v0.14.0

type Vrack struct {
	Description        *string `json:"description"`
	Name               *string `json:"name"`
	IamResourceDetails `json:"iam"`
}

func (Vrack) ToMap added in v0.14.0

func (v Vrack) ToMap() map[string]interface{}

type VrackBandwidthType added in v0.43.0

type VrackBandwidthType struct {
	basetypes.ObjectType
}

func (VrackBandwidthType) Equal added in v0.43.0

func (t VrackBandwidthType) Equal(o attr.Type) bool

func (VrackBandwidthType) String added in v0.43.0

func (t VrackBandwidthType) String() string

func (VrackBandwidthType) ValueFromObject added in v0.43.0

func (VrackBandwidthType) ValueFromTerraform added in v0.43.0

func (t VrackBandwidthType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (VrackBandwidthType) ValueType added in v0.43.0

func (t VrackBandwidthType) ValueType(ctx context.Context) attr.Value

type VrackBandwidthValue added in v0.43.0

type VrackBandwidthValue struct {
	Unit  ovhtypes.TfStringValue `tfsdk:"unit" json:"unit"`
	Value ovhtypes.TfInt64Value  `tfsdk:"value" json:"value"`
	// contains filtered or unexported fields
}

func NewVrackBandwidthValue added in v0.43.0

func NewVrackBandwidthValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (VrackBandwidthValue, diag.Diagnostics)

func NewVrackBandwidthValueMust added in v0.43.0

func NewVrackBandwidthValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) VrackBandwidthValue

func NewVrackBandwidthValueNull added in v0.43.0

func NewVrackBandwidthValueNull() VrackBandwidthValue

func NewVrackBandwidthValueUnknown added in v0.43.0

func NewVrackBandwidthValueUnknown() VrackBandwidthValue

func (VrackBandwidthValue) AttributeTypes added in v0.43.0

func (v VrackBandwidthValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (VrackBandwidthValue) Attributes added in v0.43.0

func (v VrackBandwidthValue) Attributes() map[string]attr.Value

func (VrackBandwidthValue) Equal added in v0.43.0

func (v VrackBandwidthValue) Equal(o attr.Value) bool

func (VrackBandwidthValue) IsNull added in v0.43.0

func (v VrackBandwidthValue) IsNull() bool

func (VrackBandwidthValue) IsUnknown added in v0.43.0

func (v VrackBandwidthValue) IsUnknown() bool

func (*VrackBandwidthValue) MergeWith added in v0.43.0

func (v *VrackBandwidthValue) MergeWith(other *VrackBandwidthValue)

func (VrackBandwidthValue) String added in v0.43.0

func (v VrackBandwidthValue) String() string

func (VrackBandwidthValue) ToObjectValue added in v0.43.0

func (VrackBandwidthValue) ToTerraformValue added in v0.43.0

func (v VrackBandwidthValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (VrackBandwidthValue) Type added in v0.43.0

func (*VrackBandwidthValue) UnmarshalJSON added in v0.43.0

func (v *VrackBandwidthValue) UnmarshalJSON(data []byte) error

type VrackCloudProject added in v0.10.0

type VrackCloudProject struct {
	Vrack   string `json:"vrack"`
	Project string `json:"project"`
}

type VrackCloudProjectCreateOpts added in v0.10.0

type VrackCloudProjectCreateOpts struct {
	Project string `json:"project"`
}

func (*VrackCloudProjectCreateOpts) FromResource added in v0.10.0

type VrackDedicatedServer added in v0.10.0

type VrackDedicatedServer struct {
	Vrack           string `json:"vrack"`
	DedicatedServer string `json:"dedicatedServer"`
}

type VrackDedicatedServerCreateOpts added in v0.10.0

type VrackDedicatedServerCreateOpts struct {
	DedicatedServer string `json:"dedicatedServer"`
}

func (*VrackDedicatedServerCreateOpts) FromResource added in v0.10.0

type VrackDedicatedServerInterface added in v0.10.0

type VrackDedicatedServerInterface struct {
	Vrack                    string `json:"vrack"`
	DedicatedServerInterface string `json:"dedicatedServerInterface"`
}

type VrackDedicatedServerInterfaceCreateOpts added in v0.10.0

type VrackDedicatedServerInterfaceCreateOpts struct {
	DedicatedServerInterface string `json:"dedicatedServerInterface"`
}

func (*VrackDedicatedServerInterfaceCreateOpts) FromResource added in v0.10.0

type VrackIp added in v0.14.0

type VrackIp struct {
	Gateway string `json:"gateway"`
	Ip      string `json:"ip"`
	Zone    string `json:"zone"`
}

func (VrackIp) ToMap added in v0.14.0

func (v VrackIp) ToMap() map[string]interface{}

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 VrackIpLoadbalancing struct {
	Vrack           string `json:"vrack"`
	IpLoadbalancing string `json:"ipLoadbalancing"`
}

type VrackIpLoadbalancingCreateOpts added in v0.10.0

type VrackIpLoadbalancingCreateOpts struct {
	IpLoadbalancing string `json:"ipLoadbalancing"`
}

func (*VrackIpLoadbalancingCreateOpts) FromResource added in v0.10.0

type VrackTask added in v0.10.0

type VrackTask struct {
	Id           int       `json:"id"`
	Function     string    `json:"function"`
	TargetDomain string    `json:"targetDomain"`
	Status       string    `json:"status"`
	ServiceName  string    `json:"serviceName"`
	OrderId      int       `json:"orderId"`
	LastUpdate   time.Time `json:"lastUpdate"`
	TodoDate     time.Time `json:"TodoDate"`
}

type VrackType added in v0.43.0

type VrackType struct {
	basetypes.ObjectType
}

func (VrackType) Equal added in v0.43.0

func (t VrackType) Equal(o attr.Type) bool

func (VrackType) String added in v0.43.0

func (t VrackType) String() string

func (VrackType) ValueFromObject added in v0.43.0

func (VrackType) ValueFromTerraform added in v0.43.0

func (t VrackType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (VrackType) ValueType added in v0.43.0

func (t VrackType) ValueType(ctx context.Context) attr.Value

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

type VrackValue added in v0.43.0

type VrackValue struct {
	Bandwidth VrackBandwidthValue    `tfsdk:"bandwidth" json:"bandwidth"`
	VrackType ovhtypes.TfStringValue `tfsdk:"type" json:"type"`
	// contains filtered or unexported fields
}

func NewVrackValue added in v0.43.0

func NewVrackValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (VrackValue, diag.Diagnostics)

func NewVrackValueMust added in v0.43.0

func NewVrackValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) VrackValue

func NewVrackValueNull added in v0.43.0

func NewVrackValueNull() VrackValue

func NewVrackValueUnknown added in v0.43.0

func NewVrackValueUnknown() VrackValue

func (VrackValue) AttributeTypes added in v0.43.0

func (v VrackValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (VrackValue) Attributes added in v0.43.0

func (v VrackValue) Attributes() map[string]attr.Value

func (VrackValue) Equal added in v0.43.0

func (v VrackValue) Equal(o attr.Value) bool

func (VrackValue) IsNull added in v0.43.0

func (v VrackValue) IsNull() bool

func (VrackValue) IsUnknown added in v0.43.0

func (v VrackValue) IsUnknown() bool

func (*VrackValue) MergeWith added in v0.43.0

func (v *VrackValue) MergeWith(other *VrackValue)

func (VrackValue) String added in v0.43.0

func (v VrackValue) String() string

func (VrackValue) ToObjectValue added in v0.43.0

func (VrackValue) ToTerraformValue added in v0.43.0

func (v VrackValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (VrackValue) Type added in v0.43.0

func (v VrackValue) Type(ctx context.Context) attr.Type

func (*VrackValue) UnmarshalJSON added in v0.43.0

func (v *VrackValue) UnmarshalJSON(data []byte) error

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL