resource_resource

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MPL-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const ResourceReadyTimeout = 10 * time.Minute

Variables

This section is empty.

Functions

func OptionEnabled

func OptionEnabled(option basetypes.ObjectValue) (bool, diag.Diagnostics)

func ResourceResourceSchema

func ResourceResourceSchema(ctx context.Context) schema.Schema

func WaitForResourceReady

func WaitForResourceReady(ctx context.Context, client *gophercloud.ServiceClient, projectID string, resourceID int, timeout time.Duration) diag.Diagnostics

Types

type AllowedHttpMethodsType

type AllowedHttpMethodsType struct {
	basetypes.ObjectType
}

func (AllowedHttpMethodsType) Equal

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

func (AllowedHttpMethodsType) String

func (t AllowedHttpMethodsType) String() string

func (AllowedHttpMethodsType) ValueFromObject

func (AllowedHttpMethodsType) ValueFromTerraform

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

func (AllowedHttpMethodsType) ValueType

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

type AllowedHttpMethodsValue

type AllowedHttpMethodsValue struct {
	Enabled basetypes.BoolValue `tfsdk:"enabled"`
	Value   basetypes.ListValue `tfsdk:"value"`
	// contains filtered or unexported fields
}

func NewAllowedHttpMethodsValue

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

func NewAllowedHttpMethodsValueMust

func NewAllowedHttpMethodsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) AllowedHttpMethodsValue

func NewAllowedHttpMethodsValueNull

func NewAllowedHttpMethodsValueNull() AllowedHttpMethodsValue

func NewAllowedHttpMethodsValueUnknown

func NewAllowedHttpMethodsValueUnknown() AllowedHttpMethodsValue

func (AllowedHttpMethodsValue) AttributeTypes

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

func (AllowedHttpMethodsValue) Equal

func (AllowedHttpMethodsValue) IsNull

func (v AllowedHttpMethodsValue) IsNull() bool

func (AllowedHttpMethodsValue) IsUnknown

func (v AllowedHttpMethodsValue) IsUnknown() bool

func (AllowedHttpMethodsValue) String

func (v AllowedHttpMethodsValue) String() string

func (AllowedHttpMethodsValue) ToObjectValue

func (AllowedHttpMethodsValue) ToTerraformValue

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

func (AllowedHttpMethodsValue) Type

type BrotliCompressionType

type BrotliCompressionType struct {
	basetypes.ObjectType
}

func (BrotliCompressionType) Equal

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

func (BrotliCompressionType) String

func (t BrotliCompressionType) String() string

func (BrotliCompressionType) ValueFromObject

func (BrotliCompressionType) ValueFromTerraform

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

func (BrotliCompressionType) ValueType

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

type BrotliCompressionValue

type BrotliCompressionValue struct {
	Enabled basetypes.BoolValue `tfsdk:"enabled"`
	Value   basetypes.SetValue  `tfsdk:"value"`
	// contains filtered or unexported fields
}

func NewBrotliCompressionValue

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

func NewBrotliCompressionValueMust

func NewBrotliCompressionValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) BrotliCompressionValue

func NewBrotliCompressionValueNull

func NewBrotliCompressionValueNull() BrotliCompressionValue

func NewBrotliCompressionValueUnknown

func NewBrotliCompressionValueUnknown() BrotliCompressionValue

func (BrotliCompressionValue) AttributeTypes

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

func (BrotliCompressionValue) Equal

func (BrotliCompressionValue) IsNull

func (v BrotliCompressionValue) IsNull() bool

func (BrotliCompressionValue) IsUnknown

func (v BrotliCompressionValue) IsUnknown() bool

func (BrotliCompressionValue) String

func (v BrotliCompressionValue) String() string

func (BrotliCompressionValue) ToObjectValue

func (BrotliCompressionValue) ToTerraformValue

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

func (BrotliCompressionValue) Type

type BrowserCacheSettingsType

type BrowserCacheSettingsType struct {
	basetypes.ObjectType
}

func (BrowserCacheSettingsType) Equal

func (BrowserCacheSettingsType) String

func (t BrowserCacheSettingsType) String() string

func (BrowserCacheSettingsType) ValueFromObject

func (BrowserCacheSettingsType) ValueFromTerraform

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

func (BrowserCacheSettingsType) ValueType

type BrowserCacheSettingsValue

type BrowserCacheSettingsValue struct {
	Enabled basetypes.BoolValue   `tfsdk:"enabled"`
	Value   basetypes.StringValue `tfsdk:"value"`
	// contains filtered or unexported fields
}

func NewBrowserCacheSettingsValue

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

func NewBrowserCacheSettingsValueMust

func NewBrowserCacheSettingsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) BrowserCacheSettingsValue

func NewBrowserCacheSettingsValueNull

func NewBrowserCacheSettingsValueNull() BrowserCacheSettingsValue

func NewBrowserCacheSettingsValueUnknown

func NewBrowserCacheSettingsValueUnknown() BrowserCacheSettingsValue

func (BrowserCacheSettingsValue) AttributeTypes

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

func (BrowserCacheSettingsValue) Equal

func (BrowserCacheSettingsValue) IsNull

func (v BrowserCacheSettingsValue) IsNull() bool

func (BrowserCacheSettingsValue) IsUnknown

func (v BrowserCacheSettingsValue) IsUnknown() bool

func (BrowserCacheSettingsValue) String

func (v BrowserCacheSettingsValue) String() string

func (BrowserCacheSettingsValue) ToObjectValue

func (BrowserCacheSettingsValue) ToTerraformValue

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

func (BrowserCacheSettingsValue) Type

type CorsType

type CorsType struct {
	basetypes.ObjectType
}

func (CorsType) Equal

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

func (CorsType) String

func (t CorsType) String() string

func (CorsType) ValueFromObject

func (CorsType) ValueFromTerraform

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

func (CorsType) ValueType

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

type CorsValue

type CorsValue struct {
	Enabled basetypes.BoolValue `tfsdk:"enabled"`
	Value   basetypes.ListValue `tfsdk:"value"`
	// contains filtered or unexported fields
}

func NewCorsValue

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

func NewCorsValueMust

func NewCorsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) CorsValue

func NewCorsValueNull

func NewCorsValueNull() CorsValue

func NewCorsValueUnknown

func NewCorsValueUnknown() CorsValue

func (CorsValue) AttributeTypes

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

func (CorsValue) Equal

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

func (CorsValue) IsNull

func (v CorsValue) IsNull() bool

func (CorsValue) IsUnknown

func (v CorsValue) IsUnknown() bool

func (CorsValue) String

func (v CorsValue) String() string

func (CorsValue) ToObjectValue

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

func (CorsValue) ToTerraformValue

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

func (CorsValue) Type

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

type CountryAclType

type CountryAclType struct {
	basetypes.ObjectType
}

func (CountryAclType) Equal

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

func (CountryAclType) String

func (t CountryAclType) String() string

func (CountryAclType) ValueFromObject

func (CountryAclType) ValueFromTerraform

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

func (CountryAclType) ValueType

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

type CountryAclValue

type CountryAclValue struct {
	Enabled        basetypes.BoolValue   `tfsdk:"enabled"`
	ExceptedValues basetypes.ListValue   `tfsdk:"excepted_values"`
	PolicyType     basetypes.StringValue `tfsdk:"policy_type"`
	// contains filtered or unexported fields
}

func NewCountryAclValue

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

func NewCountryAclValueMust

func NewCountryAclValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) CountryAclValue

func NewCountryAclValueNull

func NewCountryAclValueNull() CountryAclValue

func NewCountryAclValueUnknown

func NewCountryAclValueUnknown() CountryAclValue

func (CountryAclValue) AttributeTypes

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

func (CountryAclValue) Equal

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

func (CountryAclValue) IsNull

func (v CountryAclValue) IsNull() bool

func (CountryAclValue) IsUnknown

func (v CountryAclValue) IsUnknown() bool

func (CountryAclValue) String

func (v CountryAclValue) String() string

func (CountryAclValue) ToObjectValue

func (CountryAclValue) ToTerraformValue

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

func (CountryAclValue) Type

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

type EdgeCacheSettingsType

type EdgeCacheSettingsType struct {
	basetypes.ObjectType
}

func (EdgeCacheSettingsType) Equal

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

func (EdgeCacheSettingsType) String

func (t EdgeCacheSettingsType) String() string

func (EdgeCacheSettingsType) ValueFromObject

func (EdgeCacheSettingsType) ValueFromTerraform

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

func (EdgeCacheSettingsType) ValueType

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

type EdgeCacheSettingsValue

type EdgeCacheSettingsValue struct {
	CustomValues basetypes.MapValue    `tfsdk:"custom_values"`
	Default      basetypes.StringValue `tfsdk:"default"`
	Enabled      basetypes.BoolValue   `tfsdk:"enabled"`
	Value        basetypes.StringValue `tfsdk:"value"`
	// contains filtered or unexported fields
}

func NewEdgeCacheSettingsValue

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

func NewEdgeCacheSettingsValueMust

func NewEdgeCacheSettingsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) EdgeCacheSettingsValue

func NewEdgeCacheSettingsValueNull

func NewEdgeCacheSettingsValueNull() EdgeCacheSettingsValue

func NewEdgeCacheSettingsValueUnknown

func NewEdgeCacheSettingsValueUnknown() EdgeCacheSettingsValue

func (EdgeCacheSettingsValue) AttributeTypes

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

func (EdgeCacheSettingsValue) Equal

func (EdgeCacheSettingsValue) IsNull

func (v EdgeCacheSettingsValue) IsNull() bool

func (EdgeCacheSettingsValue) IsUnknown

func (v EdgeCacheSettingsValue) IsUnknown() bool

func (EdgeCacheSettingsValue) String

func (v EdgeCacheSettingsValue) String() string

func (EdgeCacheSettingsValue) ToObjectValue

func (EdgeCacheSettingsValue) ToTerraformValue

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

func (EdgeCacheSettingsValue) Type

type ForceReturnType

type ForceReturnType struct {
	basetypes.ObjectType
}

func (ForceReturnType) Equal

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

func (ForceReturnType) String

func (t ForceReturnType) String() string

func (ForceReturnType) ValueFromObject

func (ForceReturnType) ValueFromTerraform

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

func (ForceReturnType) ValueType

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

type ForceReturnValue

type ForceReturnValue struct {
	Body    basetypes.StringValue `tfsdk:"body"`
	Code    basetypes.Int64Value  `tfsdk:"code"`
	Enabled basetypes.BoolValue   `tfsdk:"enabled"`
	// contains filtered or unexported fields
}

func NewForceReturnValue

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

func NewForceReturnValueMust

func NewForceReturnValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ForceReturnValue

func NewForceReturnValueNull

func NewForceReturnValueNull() ForceReturnValue

func NewForceReturnValueUnknown

func NewForceReturnValueUnknown() ForceReturnValue

func (ForceReturnValue) AttributeTypes

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

func (ForceReturnValue) Equal

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

func (ForceReturnValue) IsNull

func (v ForceReturnValue) IsNull() bool

func (ForceReturnValue) IsUnknown

func (v ForceReturnValue) IsUnknown() bool

func (ForceReturnValue) String

func (v ForceReturnValue) String() string

func (ForceReturnValue) ToObjectValue

func (ForceReturnValue) ToTerraformValue

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

func (ForceReturnValue) Type

type HostHeaderType

type HostHeaderType struct {
	basetypes.ObjectType
}

func (HostHeaderType) Equal

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

func (HostHeaderType) String

func (t HostHeaderType) String() string

func (HostHeaderType) ValueFromObject

func (HostHeaderType) ValueFromTerraform

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

func (HostHeaderType) ValueType

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

type HostHeaderValue

type HostHeaderValue struct {
	Enabled basetypes.BoolValue   `tfsdk:"enabled"`
	Value   basetypes.StringValue `tfsdk:"value"`
	// contains filtered or unexported fields
}

func NewHostHeaderValue

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

func NewHostHeaderValueMust

func NewHostHeaderValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) HostHeaderValue

func NewHostHeaderValueNull

func NewHostHeaderValueNull() HostHeaderValue

func NewHostHeaderValueUnknown

func NewHostHeaderValueUnknown() HostHeaderValue

func (HostHeaderValue) AttributeTypes

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

func (HostHeaderValue) Equal

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

func (HostHeaderValue) IsNull

func (v HostHeaderValue) IsNull() bool

func (HostHeaderValue) IsUnknown

func (v HostHeaderValue) IsUnknown() bool

func (HostHeaderValue) String

func (v HostHeaderValue) String() string

func (HostHeaderValue) ToObjectValue

func (HostHeaderValue) ToTerraformValue

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

func (HostHeaderValue) Type

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

type IpAddressAclType

type IpAddressAclType struct {
	basetypes.ObjectType
}

func (IpAddressAclType) Equal

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

func (IpAddressAclType) String

func (t IpAddressAclType) String() string

func (IpAddressAclType) ValueFromObject

func (IpAddressAclType) ValueFromTerraform

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

func (IpAddressAclType) ValueType

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

type IpAddressAclValue

type IpAddressAclValue struct {
	Enabled        basetypes.BoolValue   `tfsdk:"enabled"`
	ExceptedValues basetypes.ListValue   `tfsdk:"excepted_values"`
	PolicyType     basetypes.StringValue `tfsdk:"policy_type"`
	// contains filtered or unexported fields
}

func NewIpAddressAclValue

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

func NewIpAddressAclValueMust

func NewIpAddressAclValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) IpAddressAclValue

func NewIpAddressAclValueNull

func NewIpAddressAclValueNull() IpAddressAclValue

func NewIpAddressAclValueUnknown

func NewIpAddressAclValueUnknown() IpAddressAclValue

func (IpAddressAclValue) AttributeTypes

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

func (IpAddressAclValue) Equal

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

func (IpAddressAclValue) IsNull

func (v IpAddressAclValue) IsNull() bool

func (IpAddressAclValue) IsUnknown

func (v IpAddressAclValue) IsUnknown() bool

func (IpAddressAclValue) String

func (v IpAddressAclValue) String() string

func (IpAddressAclValue) ToObjectValue

func (IpAddressAclValue) ToTerraformValue

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

func (IpAddressAclValue) Type

type OptionsType

type OptionsType struct {
	basetypes.ObjectType
}

func (OptionsType) Equal

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

func (OptionsType) String

func (t OptionsType) String() string

func (OptionsType) ValueFromObject

func (OptionsType) ValueFromTerraform

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

func (OptionsType) ValueType

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

type OptionsValue

type OptionsValue struct {
	AllowedHttpMethods   basetypes.ObjectValue `tfsdk:"allowed_http_methods"`
	BrotliCompression    basetypes.ObjectValue `tfsdk:"brotli_compression"`
	BrowserCacheSettings basetypes.ObjectValue `tfsdk:"browser_cache_settings"`
	Cors                 basetypes.ObjectValue `tfsdk:"cors"`
	CountryAcl           basetypes.ObjectValue `tfsdk:"country_acl"`
	EdgeCacheSettings    basetypes.ObjectValue `tfsdk:"edge_cache_settings"`
	FetchCompressed      basetypes.BoolValue   `tfsdk:"fetch_compressed"`
	ForceReturn          basetypes.ObjectValue `tfsdk:"force_return"`
	ForwardHostHeader    basetypes.BoolValue   `tfsdk:"forward_host_header"`
	GzipOn               basetypes.BoolValue   `tfsdk:"gzip_on"`
	HostHeader           basetypes.ObjectValue `tfsdk:"host_header"`
	IgnoreCookie         basetypes.BoolValue   `tfsdk:"ignore_cookie"`
	IgnoreQueryString    basetypes.BoolValue   `tfsdk:"ignore_query_string"`
	IpAddressAcl         basetypes.ObjectValue `tfsdk:"ip_address_acl"`
	QueryParamsBlacklist basetypes.ObjectValue `tfsdk:"query_params_blacklist"`
	QueryParamsWhitelist basetypes.ObjectValue `tfsdk:"query_params_whitelist"`
	ReferrerAcl          basetypes.ObjectValue `tfsdk:"referrer_acl"`
	Slice                basetypes.BoolValue   `tfsdk:"slice"`
	Stale                basetypes.ObjectValue `tfsdk:"stale"`
	StaticHeaders        basetypes.ObjectValue `tfsdk:"static_headers"`
	StaticRequestHeaders basetypes.ObjectValue `tfsdk:"static_request_headers"`
	// contains filtered or unexported fields
}

func NewOptionsValue

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

func NewOptionsValueMust

func NewOptionsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) OptionsValue

func NewOptionsValueNull

func NewOptionsValueNull() OptionsValue

func NewOptionsValueUnknown

func NewOptionsValueUnknown() OptionsValue

func (OptionsValue) AttributeTypes

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

func (OptionsValue) Equal

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

func (OptionsValue) FromResourceOptions

func (v OptionsValue) FromResourceOptions(ctx context.Context, opts *resources.ResourceOptions) (OptionsValue, diag.Diagnostics)

func (OptionsValue) IsNull

func (v OptionsValue) IsNull() bool

func (OptionsValue) IsUnknown

func (v OptionsValue) IsUnknown() bool

func (OptionsValue) String

func (v OptionsValue) String() string

func (OptionsValue) ToObjectValue

func (OptionsValue) ToResourceOptions

func (v OptionsValue) ToResourceOptions(ctx context.Context) (*resources.ResourceOptions, diag.Diagnostics)

func (OptionsValue) ToTerraformValue

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

func (OptionsValue) Type

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

type QueryParamsBlacklistType

type QueryParamsBlacklistType struct {
	basetypes.ObjectType
}

func (QueryParamsBlacklistType) Equal

func (QueryParamsBlacklistType) String

func (t QueryParamsBlacklistType) String() string

func (QueryParamsBlacklistType) ValueFromObject

func (QueryParamsBlacklistType) ValueFromTerraform

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

func (QueryParamsBlacklistType) ValueType

type QueryParamsBlacklistValue

type QueryParamsBlacklistValue struct {
	Enabled basetypes.BoolValue `tfsdk:"enabled"`
	Value   basetypes.ListValue `tfsdk:"value"`
	// contains filtered or unexported fields
}

func NewQueryParamsBlacklistValue

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

func NewQueryParamsBlacklistValueMust

func NewQueryParamsBlacklistValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) QueryParamsBlacklistValue

func NewQueryParamsBlacklistValueNull

func NewQueryParamsBlacklistValueNull() QueryParamsBlacklistValue

func NewQueryParamsBlacklistValueUnknown

func NewQueryParamsBlacklistValueUnknown() QueryParamsBlacklistValue

func (QueryParamsBlacklistValue) AttributeTypes

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

func (QueryParamsBlacklistValue) Equal

func (QueryParamsBlacklistValue) IsNull

func (v QueryParamsBlacklistValue) IsNull() bool

func (QueryParamsBlacklistValue) IsUnknown

func (v QueryParamsBlacklistValue) IsUnknown() bool

func (QueryParamsBlacklistValue) String

func (v QueryParamsBlacklistValue) String() string

func (QueryParamsBlacklistValue) ToObjectValue

func (QueryParamsBlacklistValue) ToTerraformValue

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

func (QueryParamsBlacklistValue) Type

type QueryParamsWhitelistType

type QueryParamsWhitelistType struct {
	basetypes.ObjectType
}

func (QueryParamsWhitelistType) Equal

func (QueryParamsWhitelistType) String

func (t QueryParamsWhitelistType) String() string

func (QueryParamsWhitelistType) ValueFromObject

func (QueryParamsWhitelistType) ValueFromTerraform

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

func (QueryParamsWhitelistType) ValueType

type QueryParamsWhitelistValue

type QueryParamsWhitelistValue struct {
	Enabled basetypes.BoolValue `tfsdk:"enabled"`
	Value   basetypes.ListValue `tfsdk:"value"`
	// contains filtered or unexported fields
}

func NewQueryParamsWhitelistValue

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

func NewQueryParamsWhitelistValueMust

func NewQueryParamsWhitelistValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) QueryParamsWhitelistValue

func NewQueryParamsWhitelistValueNull

func NewQueryParamsWhitelistValueNull() QueryParamsWhitelistValue

func NewQueryParamsWhitelistValueUnknown

func NewQueryParamsWhitelistValueUnknown() QueryParamsWhitelistValue

func (QueryParamsWhitelistValue) AttributeTypes

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

func (QueryParamsWhitelistValue) Equal

func (QueryParamsWhitelistValue) IsNull

func (v QueryParamsWhitelistValue) IsNull() bool

func (QueryParamsWhitelistValue) IsUnknown

func (v QueryParamsWhitelistValue) IsUnknown() bool

func (QueryParamsWhitelistValue) String

func (v QueryParamsWhitelistValue) String() string

func (QueryParamsWhitelistValue) ToObjectValue

func (QueryParamsWhitelistValue) ToTerraformValue

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

func (QueryParamsWhitelistValue) Type

type ReferrerAclType

type ReferrerAclType struct {
	basetypes.ObjectType
}

func (ReferrerAclType) Equal

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

func (ReferrerAclType) String

func (t ReferrerAclType) String() string

func (ReferrerAclType) ValueFromObject

func (ReferrerAclType) ValueFromTerraform

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

func (ReferrerAclType) ValueType

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

type ReferrerAclValue

type ReferrerAclValue struct {
	Enabled        basetypes.BoolValue   `tfsdk:"enabled"`
	ExceptedValues basetypes.ListValue   `tfsdk:"excepted_values"`
	PolicyType     basetypes.StringValue `tfsdk:"policy_type"`
	// contains filtered or unexported fields
}

func NewReferrerAclValue

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

func NewReferrerAclValueMust

func NewReferrerAclValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ReferrerAclValue

func NewReferrerAclValueNull

func NewReferrerAclValueNull() ReferrerAclValue

func NewReferrerAclValueUnknown

func NewReferrerAclValueUnknown() ReferrerAclValue

func (ReferrerAclValue) AttributeTypes

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

func (ReferrerAclValue) Equal

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

func (ReferrerAclValue) IsNull

func (v ReferrerAclValue) IsNull() bool

func (ReferrerAclValue) IsUnknown

func (v ReferrerAclValue) IsUnknown() bool

func (ReferrerAclValue) String

func (v ReferrerAclValue) String() string

func (ReferrerAclValue) ToObjectValue

func (ReferrerAclValue) ToTerraformValue

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

func (ReferrerAclValue) Type

type ResourceModel

type ResourceModel struct {
	Active             types.Bool          `tfsdk:"active"`
	Cname              types.String        `tfsdk:"cname"`
	Id                 types.Int64         `tfsdk:"id"`
	Options            OptionsValue        `tfsdk:"options"`
	OriginGroup        types.Int64         `tfsdk:"origin_group"`
	OriginProtocol     types.String        `tfsdk:"origin_protocol"`
	PresetApplied      types.Bool          `tfsdk:"preset_applied"`
	Region             types.String        `tfsdk:"region"`
	SecondaryHostnames types.List          `tfsdk:"secondary_hostnames"`
	Shielding          ShieldingValue      `tfsdk:"shielding"`
	SslCertificate     SslCertificateValue `tfsdk:"ssl_certificate"`
	Status             types.String        `tfsdk:"status"`
	Timeouts           timeouts.Value      `tfsdk:"timeouts"`
	VpEnabled          types.Bool          `tfsdk:"vp_enabled"`
}

func (*ResourceModel) UpdateFromResource

func (m *ResourceModel) UpdateFromResource(ctx context.Context, resource *resources.Resource) diag.Diagnostics

type ResourceStatus

type ResourceStatus string
var (
	ResourceStatusActive    ResourceStatus = "active"
	ResourceStatusProcessed ResourceStatus = "processed"
	ResourceStatusSuspended ResourceStatus = "suspended"
)

type ShieldingType

type ShieldingType struct {
	basetypes.ObjectType
}

func (ShieldingType) Equal

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

func (ShieldingType) String

func (t ShieldingType) String() string

func (ShieldingType) ValueFromObject

func (ShieldingType) ValueFromTerraform

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

func (ShieldingType) ValueType

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

type ShieldingValue

type ShieldingValue struct {
	Enabled basetypes.BoolValue  `tfsdk:"enabled"`
	PopId   basetypes.Int64Value `tfsdk:"pop_id"`
	// contains filtered or unexported fields
}

func NewShieldingValue

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

func NewShieldingValueMust

func NewShieldingValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ShieldingValue

func NewShieldingValueNull

func NewShieldingValueNull() ShieldingValue

func NewShieldingValueUnknown

func NewShieldingValueUnknown() ShieldingValue

func (ShieldingValue) AttributeTypes

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

func (ShieldingValue) Equal

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

func (ShieldingValue) FromResourceShielding

func (v ShieldingValue) FromResourceShielding(resourceShielding *resources.ResourceShielding) ShieldingValue

func (ShieldingValue) IsNull

func (v ShieldingValue) IsNull() bool

func (ShieldingValue) IsUnknown

func (v ShieldingValue) IsUnknown() bool

func (ShieldingValue) String

func (v ShieldingValue) String() string

func (ShieldingValue) ToObjectValue

func (ShieldingValue) ToTerraformValue

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

func (ShieldingValue) ToUpdateShieldingOpts

func (v ShieldingValue) ToUpdateShieldingOpts() *resources.UpdateShieldingOpts

func (ShieldingValue) Type

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

type SslCertificateProviderType

type SslCertificateProviderType string
var (
	SslCertificateProviderTypeNotUsed     SslCertificateProviderType = "not_used"
	SslCertificateProviderTypeLetsEncrypt SslCertificateProviderType = "lets_encrypt"
	SslCertificateProviderTypeOwn         SslCertificateProviderType = "own"
)

type SslCertificateStatus

type SslCertificateStatus string
var (
	SslCertificateStatusBeingIssued SslCertificateStatus = "being_issued"
	SslCertificateStatusReady       SslCertificateStatus = "ready"
)

type SslCertificateType

type SslCertificateType struct {
	basetypes.ObjectType
}

func (SslCertificateType) Equal

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

func (SslCertificateType) String

func (t SslCertificateType) String() string

func (SslCertificateType) ValueFromObject

func (SslCertificateType) ValueFromTerraform

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

func (SslCertificateType) ValueType

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

type SslCertificateValue

type SslCertificateValue struct {
	Id                 basetypes.Int64Value  `tfsdk:"id"`
	Status             basetypes.StringValue `tfsdk:"status"`
	SslCertificateType basetypes.StringValue `tfsdk:"type"`
	// contains filtered or unexported fields
}

func NewSslCertificateValue

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

func NewSslCertificateValueMust

func NewSslCertificateValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) SslCertificateValue

func NewSslCertificateValueNull

func NewSslCertificateValueNull() SslCertificateValue

func NewSslCertificateValueUnknown

func NewSslCertificateValueUnknown() SslCertificateValue

func (SslCertificateValue) AttributeTypes

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

func (SslCertificateValue) Equal

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

func (SslCertificateValue) FromSslOpts

func (SslCertificateValue) IsNull

func (v SslCertificateValue) IsNull() bool

func (SslCertificateValue) IsUnknown

func (v SslCertificateValue) IsUnknown() bool

func (SslCertificateValue) String

func (v SslCertificateValue) String() string

func (SslCertificateValue) ToObjectValue

func (SslCertificateValue) ToSslOpts

func (v SslCertificateValue) ToSslOpts() *SslOpts

func (SslCertificateValue) ToTerraformValue

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

func (SslCertificateValue) Type

type SslOpts

type SslOpts struct {
	Automated bool
	Enabled   bool
	Data      int
}

type StaleType

type StaleType struct {
	basetypes.ObjectType
}

func (StaleType) Equal

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

func (StaleType) String

func (t StaleType) String() string

func (StaleType) ValueFromObject

func (StaleType) ValueFromTerraform

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

func (StaleType) ValueType

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

type StaleValue

type StaleValue struct {
	Enabled basetypes.BoolValue `tfsdk:"enabled"`
	Value   basetypes.ListValue `tfsdk:"value"`
	// contains filtered or unexported fields
}

func NewStaleValue

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

func NewStaleValueMust

func NewStaleValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) StaleValue

func NewStaleValueNull

func NewStaleValueNull() StaleValue

func NewStaleValueUnknown

func NewStaleValueUnknown() StaleValue

func (StaleValue) AttributeTypes

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

func (StaleValue) Equal

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

func (StaleValue) IsNull

func (v StaleValue) IsNull() bool

func (StaleValue) IsUnknown

func (v StaleValue) IsUnknown() bool

func (StaleValue) String

func (v StaleValue) String() string

func (StaleValue) ToObjectValue

func (StaleValue) ToTerraformValue

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

func (StaleValue) Type

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

type StaticHeadersType

type StaticHeadersType struct {
	basetypes.ObjectType
}

func (StaticHeadersType) Equal

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

func (StaticHeadersType) String

func (t StaticHeadersType) String() string

func (StaticHeadersType) ValueFromObject

func (StaticHeadersType) ValueFromTerraform

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

func (StaticHeadersType) ValueType

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

type StaticHeadersValue

type StaticHeadersValue struct {
	Enabled basetypes.BoolValue `tfsdk:"enabled"`
	Value   basetypes.MapValue  `tfsdk:"value"`
	// contains filtered or unexported fields
}

func NewStaticHeadersValue

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

func NewStaticHeadersValueMust

func NewStaticHeadersValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) StaticHeadersValue

func NewStaticHeadersValueNull

func NewStaticHeadersValueNull() StaticHeadersValue

func NewStaticHeadersValueUnknown

func NewStaticHeadersValueUnknown() StaticHeadersValue

func (StaticHeadersValue) AttributeTypes

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

func (StaticHeadersValue) Equal

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

func (StaticHeadersValue) IsNull

func (v StaticHeadersValue) IsNull() bool

func (StaticHeadersValue) IsUnknown

func (v StaticHeadersValue) IsUnknown() bool

func (StaticHeadersValue) String

func (v StaticHeadersValue) String() string

func (StaticHeadersValue) ToObjectValue

func (StaticHeadersValue) ToTerraformValue

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

func (StaticHeadersValue) Type

type StaticRequestHeadersType

type StaticRequestHeadersType struct {
	basetypes.ObjectType
}

func (StaticRequestHeadersType) Equal

func (StaticRequestHeadersType) String

func (t StaticRequestHeadersType) String() string

func (StaticRequestHeadersType) ValueFromObject

func (StaticRequestHeadersType) ValueFromTerraform

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

func (StaticRequestHeadersType) ValueType

type StaticRequestHeadersValue

type StaticRequestHeadersValue struct {
	Enabled basetypes.BoolValue `tfsdk:"enabled"`
	Value   basetypes.MapValue  `tfsdk:"value"`
	// contains filtered or unexported fields
}

func NewStaticRequestHeadersValue

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

func NewStaticRequestHeadersValueMust

func NewStaticRequestHeadersValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) StaticRequestHeadersValue

func NewStaticRequestHeadersValueNull

func NewStaticRequestHeadersValueNull() StaticRequestHeadersValue

func NewStaticRequestHeadersValueUnknown

func NewStaticRequestHeadersValueUnknown() StaticRequestHeadersValue

func (StaticRequestHeadersValue) AttributeTypes

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

func (StaticRequestHeadersValue) Equal

func (StaticRequestHeadersValue) IsNull

func (v StaticRequestHeadersValue) IsNull() bool

func (StaticRequestHeadersValue) IsUnknown

func (v StaticRequestHeadersValue) IsUnknown() bool

func (StaticRequestHeadersValue) String

func (v StaticRequestHeadersValue) String() string

func (StaticRequestHeadersValue) ToObjectValue

func (StaticRequestHeadersValue) ToTerraformValue

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

func (StaticRequestHeadersValue) Type

type TimeoutsType

type TimeoutsType struct {
	basetypes.ObjectType
}

func (TimeoutsType) Equal

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

func (TimeoutsType) String

func (t TimeoutsType) String() string

func (TimeoutsType) ValueFromObject

func (TimeoutsType) ValueFromTerraform

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

func (TimeoutsType) ValueType

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

type TimeoutsValue

type TimeoutsValue struct {
	Create basetypes.StringValue `tfsdk:"create"`
	Update basetypes.StringValue `tfsdk:"update"`
	// contains filtered or unexported fields
}

func NewTimeoutsValue

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

func NewTimeoutsValueMust

func NewTimeoutsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) TimeoutsValue

func NewTimeoutsValueNull

func NewTimeoutsValueNull() TimeoutsValue

func NewTimeoutsValueUnknown

func NewTimeoutsValueUnknown() TimeoutsValue

func (TimeoutsValue) AttributeTypes

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

func (TimeoutsValue) Equal

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

func (TimeoutsValue) IsNull

func (v TimeoutsValue) IsNull() bool

func (TimeoutsValue) IsUnknown

func (v TimeoutsValue) IsUnknown() bool

func (TimeoutsValue) String

func (v TimeoutsValue) String() string

func (TimeoutsValue) ToObjectValue

func (TimeoutsValue) ToTerraformValue

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

func (TimeoutsValue) Type

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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