provider

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MPL-2.0 Imports: 51 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(version string) func() provider.Provider

func NewComputeScriptResource added in v0.4.0

func NewComputeScriptResource() resource.Resource

func NewComputeScriptVariableResource added in v0.4.0

func NewComputeScriptVariableResource() resource.Resource

func NewDnsRecordDataSource added in v0.3.12

func NewDnsRecordDataSource() datasource.DataSource

func NewDnsRecordResourceResource

func NewDnsRecordResourceResource() resource.Resource

func NewDnsZoneDataSource added in v0.3.12

func NewDnsZoneDataSource() datasource.DataSource

func NewDnsZoneResourceResource

func NewDnsZoneResourceResource() resource.Resource

func NewPullzoneEdgeruleResource

func NewPullzoneEdgeruleResource() resource.Resource

func NewPullzoneHostnameResource

func NewPullzoneHostnameResource() resource.Resource

func NewPullzoneOptimizerClassResource

func NewPullzoneOptimizerClassResource() resource.Resource

func NewPullzoneResource

func NewPullzoneResource() resource.Resource

func NewRegionDataSource

func NewRegionDataSource() datasource.DataSource

func NewStorageFileResource

func NewStorageFileResource() resource.Resource

func NewStorageZoneResource

func NewStorageZoneResource() resource.Resource

func NewStreamCollectionResource

func NewStreamCollectionResource() resource.Resource

func NewStreamLibraryResource

func NewStreamLibraryResource() resource.Resource

func NewStreamVideoResource

func NewStreamVideoResource() resource.Resource

func NewVideoLanguageDataSource

func NewVideoLanguageDataSource() datasource.DataSource

Types

type BunnyProviderModel

type BunnyProviderModel struct {
	ApiKey       types.String `tfsdk:"api_key"`
	ApiUrl       types.String `tfsdk:"api_url"`
	StreamApiUrl types.String `tfsdk:"stream_api_url"`
}

type BunnynetProvider

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

func (*BunnynetProvider) Configure

func (*BunnynetProvider) DataSources

func (p *BunnynetProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*BunnynetProvider) Metadata

func (*BunnynetProvider) Resources

func (p *BunnynetProvider) Resources(ctx context.Context) []func() resource.Resource

func (*BunnynetProvider) Schema

type ComputeScriptResource added in v0.4.0

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

func (*ComputeScriptResource) Configure added in v0.4.0

func (*ComputeScriptResource) Create added in v0.4.0

func (*ComputeScriptResource) Delete added in v0.4.0

func (*ComputeScriptResource) ImportState added in v0.4.0

func (*ComputeScriptResource) Metadata added in v0.4.0

func (*ComputeScriptResource) Read added in v0.4.0

func (*ComputeScriptResource) Schema added in v0.4.0

func (*ComputeScriptResource) Update added in v0.4.0

type ComputeScriptResourceModel added in v0.4.0

type ComputeScriptResourceModel struct {
	Id      types.Int64  `tfsdk:"id"`
	Type    types.String `tfsdk:"type"`
	Name    types.String `tfsdk:"name"`
	Content types.String `tfsdk:"content"`
}

type ComputeScriptVariableResource added in v0.4.0

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

func (*ComputeScriptVariableResource) Configure added in v0.4.0

func (*ComputeScriptVariableResource) Create added in v0.4.0

func (*ComputeScriptVariableResource) Delete added in v0.4.0

func (*ComputeScriptVariableResource) ImportState added in v0.4.0

func (*ComputeScriptVariableResource) Metadata added in v0.4.0

func (*ComputeScriptVariableResource) Read added in v0.4.0

func (*ComputeScriptVariableResource) Schema added in v0.4.0

func (*ComputeScriptVariableResource) Update added in v0.4.0

type ComputeScriptVariableResourceModel added in v0.4.0

type ComputeScriptVariableResourceModel struct {
	Id           types.Int64  `tfsdk:"id"`
	Script       types.Int64  `tfsdk:"script"`
	Name         types.String `tfsdk:"name"`
	DefaultValue types.String `tfsdk:"default_value"`
	Required     types.Bool   `tfsdk:"required"`
}

type DnsRecordDataSource added in v0.3.12

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

func (*DnsRecordDataSource) Configure added in v0.3.12

func (*DnsRecordDataSource) Metadata added in v0.3.12

func (*DnsRecordDataSource) Read added in v0.3.12

func (*DnsRecordDataSource) Schema added in v0.3.12

type DnsRecordResource

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

func (*DnsRecordResource) Configure

func (*DnsRecordResource) Create

func (*DnsRecordResource) Delete

func (*DnsRecordResource) ImportState

func (*DnsRecordResource) Metadata

func (*DnsRecordResource) Read

func (*DnsRecordResource) Schema

func (*DnsRecordResource) Update

type DnsRecordResourceModel

type DnsRecordResourceModel struct {
	Id                    types.Int64   `tfsdk:"id"`
	Zone                  types.Int64   `tfsdk:"zone"`
	Enabled               types.Bool    `tfsdk:"enabled"`
	Type                  types.String  `tfsdk:"type"`
	Ttl                   types.Int64   `tfsdk:"ttl"`
	Value                 types.String  `tfsdk:"value"`
	Name                  types.String  `tfsdk:"name"`
	Weight                types.Int64   `tfsdk:"weight"`
	Priority              types.Int64   `tfsdk:"priority"`
	Port                  types.Int64   `tfsdk:"port"`
	Flags                 types.Int64   `tfsdk:"flags"`
	Tag                   types.String  `tfsdk:"tag"`
	Accelerated           types.Bool    `tfsdk:"accelerated"`
	AcceleratedPullZoneId types.Int64   `tfsdk:"accelerated_pullzone"`
	LinkName              types.String  `tfsdk:"link_name"`
	MonitorType           types.String  `tfsdk:"monitor_type"`
	GeolocationLatitude   types.Float64 `tfsdk:"geolocation_lat"`
	GeolocationLongitude  types.Float64 `tfsdk:"geolocation_long"`
	LatencyZone           types.String  `tfsdk:"latency_zone"`
	SmartRoutingType      types.String  `tfsdk:"smart_routing_type"`
	Comment               types.String  `tfsdk:"comment"`
}

type DnsZoneDataSource added in v0.3.12

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

func (*DnsZoneDataSource) Configure added in v0.3.12

func (*DnsZoneDataSource) Metadata added in v0.3.12

func (*DnsZoneDataSource) Read added in v0.3.12

func (*DnsZoneDataSource) Schema added in v0.3.12

type DnsZoneResource

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

func (*DnsZoneResource) ConfigValidators added in v0.3.7

func (r *DnsZoneResource) ConfigValidators(ctx context.Context) []resource.ConfigValidator

func (*DnsZoneResource) Configure

func (*DnsZoneResource) Create

func (*DnsZoneResource) Delete

func (*DnsZoneResource) ImportState

func (*DnsZoneResource) Metadata

func (*DnsZoneResource) Read

func (*DnsZoneResource) Schema

func (*DnsZoneResource) Update

type DnsZoneResourceModel

type DnsZoneResourceModel struct {
	Id                 types.Int64  `tfsdk:"id"`
	Domain             types.String `tfsdk:"domain"`
	NameserverCustom   types.Bool   `tfsdk:"nameserver_custom"`
	Nameserver1        types.String `tfsdk:"nameserver1"`
	Nameserver2        types.String `tfsdk:"nameserver2"`
	SoaEmail           types.String `tfsdk:"soa_email"`
	LogEnabled         types.Bool   `tfsdk:"log_enabled"`
	LogAnonymized      types.Bool   `tfsdk:"log_anonymized"`
	LogAnonymizedStyle types.String `tfsdk:"log_anonymized_style"`
}

type PullzoneEdgeruleResource

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

func (*PullzoneEdgeruleResource) ConfigValidators added in v0.3.15

func (*PullzoneEdgeruleResource) Configure

func (*PullzoneEdgeruleResource) Create

func (*PullzoneEdgeruleResource) Delete

func (*PullzoneEdgeruleResource) ImportState

func (*PullzoneEdgeruleResource) Metadata

func (*PullzoneEdgeruleResource) Read

func (*PullzoneEdgeruleResource) Schema

func (*PullzoneEdgeruleResource) Update

type PullzoneEdgeruleResourceModel

type PullzoneEdgeruleResourceModel struct {
	Id               types.String `tfsdk:"id"`
	PullzoneId       types.Int64  `tfsdk:"pullzone"`
	Enabled          types.Bool   `tfsdk:"enabled"`
	Description      types.String `tfsdk:"description"`
	Action           types.String `tfsdk:"action"`
	ActionParameter1 types.String `tfsdk:"action_parameter1"`
	ActionParameter2 types.String `tfsdk:"action_parameter2"`
	MatchType        types.String `tfsdk:"match_type"`
	Actions          types.List   `tfsdk:"actions"`
	Triggers         types.List   `tfsdk:"triggers"`
}

type PullzoneHostnameResource

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

func (*PullzoneHostnameResource) ConfigValidators added in v0.3.11

func (*PullzoneHostnameResource) Configure

func (*PullzoneHostnameResource) Create

func (*PullzoneHostnameResource) Delete

func (*PullzoneHostnameResource) ImportState

func (*PullzoneHostnameResource) Metadata

func (*PullzoneHostnameResource) Read

func (*PullzoneHostnameResource) Schema

func (*PullzoneHostnameResource) Update

type PullzoneHostnameResourceModel

type PullzoneHostnameResourceModel struct {
	Id             types.Int64  `tfsdk:"id"`
	PullzoneId     types.Int64  `tfsdk:"pullzone"`
	Name           types.String `tfsdk:"name"`
	IsInternal     types.Bool   `tfsdk:"is_internal"`
	TLSEnabled     types.Bool   `tfsdk:"tls_enabled"`
	ForceSSL       types.Bool   `tfsdk:"force_ssl"`
	Certificate    types.String `tfsdk:"certificate"`
	CertificateKey types.String `tfsdk:"certificate_key"`
}

type PullzoneOptimizerClassResource

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

func (*PullzoneOptimizerClassResource) Configure

func (*PullzoneOptimizerClassResource) Create

func (*PullzoneOptimizerClassResource) Delete

func (*PullzoneOptimizerClassResource) ImportState

func (*PullzoneOptimizerClassResource) Metadata

func (*PullzoneOptimizerClassResource) Read

func (*PullzoneOptimizerClassResource) Schema

func (*PullzoneOptimizerClassResource) Update

type PullzoneOptimizerClassResourceModel

type PullzoneOptimizerClassResourceModel struct {
	PullzoneId   types.Int64  `tfsdk:"pullzone"`
	Name         types.String `tfsdk:"name"`
	Width        types.Int64  `tfsdk:"width"`
	Height       types.Int64  `tfsdk:"height"`
	AspectRatio  types.String `tfsdk:"aspect_ratio"`
	Quality      types.Int64  `tfsdk:"quality"`
	Sharpen      types.Bool   `tfsdk:"sharpen"`
	Blur         types.Int64  `tfsdk:"blur"`
	Crop         types.String `tfsdk:"crop"`
	CropGravity  types.String `tfsdk:"crop_gravity"`
	Flip         types.Bool   `tfsdk:"flip"`
	Flop         types.Bool   `tfsdk:"flop"`
	Brightness   types.Int64  `tfsdk:"brightness"`
	Saturation   types.Int64  `tfsdk:"saturation"`
	Hue          types.Int64  `tfsdk:"hue"`
	Contrast     types.Int64  `tfsdk:"contrast"`
	AutoOptimize types.String `tfsdk:"auto_optimize"`
	Sepia        types.Int64  `tfsdk:"sepia"`
}

type PullzoneResource

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

func (*PullzoneResource) ConfigValidators added in v0.3.9

func (r *PullzoneResource) ConfigValidators(ctx context.Context) []resource.ConfigValidator

func (*PullzoneResource) Configure

func (*PullzoneResource) Create

func (*PullzoneResource) Delete

func (*PullzoneResource) ImportState

func (*PullzoneResource) Metadata

func (*PullzoneResource) ModifyPlan added in v0.3.9

func (*PullzoneResource) Read

func (*PullzoneResource) Schema

func (*PullzoneResource) Update

type PullzoneResourceModel

type PullzoneResourceModel struct {
	Id                                 types.Int64   `tfsdk:"id"`
	Name                               types.String  `tfsdk:"name"`
	CdnDomain                          types.String  `tfsdk:"cdn_domain"`
	DisableLetsEncrypt                 types.Bool    `tfsdk:"disable_letsencrypt"`
	UseBackgroundUpdate                types.Bool    `tfsdk:"use_background_update"`
	CacheEnabled                       types.Bool    `tfsdk:"cache_enabled"`
	CacheExpirationTime                types.Int64   `tfsdk:"cache_expiration_time"`
	CacheExpirationTimeBrowser         types.Int64   `tfsdk:"cache_expiration_time_browser"`
	SortQueryString                    types.Bool    `tfsdk:"sort_querystring"`
	CacheErrors                        types.Bool    `tfsdk:"cache_errors"`
	CacheVary                          types.Set     `tfsdk:"cache_vary"`
	CacheVaryQueryStringValues         types.Set     `tfsdk:"cache_vary_querystring"`
	CacheVaryCookieValues              types.Set     `tfsdk:"cache_vary_cookie"`
	StripCookies                       types.Bool    `tfsdk:"strip_cookies"`
	CacheChunked                       types.Bool    `tfsdk:"cache_chunked"`
	CacheStale                         types.Set     `tfsdk:"cache_stale"`
	PermacacheStoragezone              types.Int64   `tfsdk:"permacache_storagezone"`
	OriginShieldEnabled                types.Bool    `tfsdk:"originshield_enabled"`
	OriginShieldConcurrencyLimit       types.Bool    `tfsdk:"originshield_concurrency_limit"`
	OriginShieldConcurrencyRequests    types.Int64   `tfsdk:"originshield_concurrency_requests"`
	OriginShieldQueueRequests          types.Int64   `tfsdk:"originshield_queue_requests"`
	OriginShieldQueueWait              types.Int64   `tfsdk:"originshield_queue_wait"`
	OriginShieldZone                   types.String  `tfsdk:"originshield_zone"`
	RequestCoalescingEnabled           types.Bool    `tfsdk:"request_coalescing_enabled"`
	RequestCoalescingTimeout           types.Int64   `tfsdk:"request_coalescing_timeout"`
	CorsEnabled                        types.Bool    `tfsdk:"cors_enabled"`
	CorsExtensions                     types.Set     `tfsdk:"cors_extensions"`
	AddCanonicalHeader                 types.Bool    `tfsdk:"add_canonical_header"`
	Origin                             types.Object  `tfsdk:"origin"`
	Routing                            types.Object  `tfsdk:"routing"`
	LimitDownloadSpeed                 types.Float64 `tfsdk:"limit_download_speed"`
	LimitRequests                      types.Int64   `tfsdk:"limit_requests"`
	LimitAfter                         types.Float64 `tfsdk:"limit_after"`
	LimitBurst                         types.Int64   `tfsdk:"limit_burst"`
	LimitConnections                   types.Int64   `tfsdk:"limit_connections"`
	LimitBandwidth                     types.Int64   `tfsdk:"limit_bandwidth"`
	OptimizerEnabled                   types.Bool    `tfsdk:"optimizer_enabled"`
	OptimizerMinifyCss                 types.Bool    `tfsdk:"optimizer_minify_css"`
	OptimizerMinifyJs                  types.Bool    `tfsdk:"optimizer_minify_js"`
	OptimizerWebp                      types.Bool    `tfsdk:"optimizer_webp"`
	OptimizerClassesForce              types.Bool    `tfsdk:"optimizer_classes_force"`
	OptimizerDynamicImageApi           types.Bool    `tfsdk:"optimizer_dynamic_image_api"`
	OptimizerSmartImage                types.Bool    `tfsdk:"optimizer_smartimage"`
	OptimizerSmartImageDesktopMaxwidth types.Int64   `tfsdk:"optimizer_smartimage_desktop_maxwidth"`
	OptimizerSmartImageDesktopQuality  types.Int64   `tfsdk:"optimizer_smartimage_desktop_quality"`
	OptimizerSmartImageMobileMaxwidth  types.Int64   `tfsdk:"optimizer_smartimage_mobile_maxwidth"`
	OptimizerSmartImageMobileQuality   types.Int64   `tfsdk:"optimizer_smartimage_mobile_quality"`
	OptimizerWatermark                 types.Bool    `tfsdk:"optimizer_watermark"`
	OptimizerWatermarkUrl              types.String  `tfsdk:"optimizer_watermark_url"`
	OptimizerWatermarkPosition         types.String  `tfsdk:"optimizer_watermark_position"`
	OptimizerWatermarkBorderoffset     types.Float64 `tfsdk:"optimizer_watermark_borderoffset"`
	OptimizerWatermarkMinsize          types.Int64   `tfsdk:"optimizer_watermark_minsize"`
	SafehopEnabled                     types.Bool    `tfsdk:"safehop_enabled"`
	SafehopRetryCount                  types.Int64   `tfsdk:"safehop_retry_count"`
	SafehopRetryDelay                  types.Int64   `tfsdk:"safehop_retry_delay"`
	SafehopRetryReasons                types.Set     `tfsdk:"safehop_retry_reasons"`
	SafehopConnectionTimeout           types.Int64   `tfsdk:"safehop_connection_timeout"`
	SafehopResponseTimeout             types.Int64   `tfsdk:"safehop_response_timeout"`
	BlockRootPath                      types.Bool    `tfsdk:"block_root_path"`
	BlockPostRequests                  types.Bool    `tfsdk:"block_post_requests"`
	ReferersAllowed                    types.Set     `tfsdk:"allow_referers"`
	ReferersBlocked                    types.Set     `tfsdk:"block_referers"`
	BlockNoReferer                     types.Bool    `tfsdk:"block_no_referer"`
	IPsBlocked                         types.Set     `tfsdk:"block_ips"`
	LogEnabled                         types.Bool    `tfsdk:"log_enabled"`
	LogAnonymized                      types.Bool    `tfsdk:"log_anonymized"`
	LogAnonymizedStyle                 types.String  `tfsdk:"log_anonymized_style"`
	LogForwardEnabled                  types.Bool    `tfsdk:"log_forward_enabled"`
	LogForwardServer                   types.String  `tfsdk:"log_forward_server"`
	LogForwardPort                     types.Int64   `tfsdk:"log_forward_port"`
	LogForwardToken                    types.String  `tfsdk:"log_forward_token"`
	LogForwardProtocol                 types.String  `tfsdk:"log_forward_protocol"`
	LogForwardFormat                   types.String  `tfsdk:"log_forward_format"`
	LogStorageEnabled                  types.Bool    `tfsdk:"log_storage_enabled"`
	LogStorageZone                     types.Int64   `tfsdk:"log_storage_zone"`
	TlsSupport                         types.Set     `tfsdk:"tls_support"`
	ErrorPageWhitelabel                types.Bool    `tfsdk:"errorpage_whitelabel"`
	ErrorPageStatuspageEnabled         types.Bool    `tfsdk:"errorpage_statuspage_enabled"`
	ErrorPageStatuspageCode            types.String  `tfsdk:"errorpage_statuspage_code"`
	ErrorPageCustomEnabled             types.Bool    `tfsdk:"errorpage_custom_enabled"`
	ErrorPageCustomContent             types.String  `tfsdk:"errorpage_custom_content"`
	S3AuthEnabled                      types.Bool    `tfsdk:"s3_auth_enabled"`
	S3AuthKey                          types.String  `tfsdk:"s3_auth_key"`
	S3AuthSecret                       types.String  `tfsdk:"s3_auth_secret"`
	S3AuthRegion                       types.String  `tfsdk:"s3_auth_region"`
	TokenAuthEnabled                   types.Bool    `tfsdk:"token_auth_enabled"`
	TokenAuthIpValidation              types.Bool    `tfsdk:"token_auth_ip_validation"`
	TokenAuthKey                       types.String  `tfsdk:"token_auth_key"`
}

type RegionDataSource

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

func (*RegionDataSource) Configure

func (*RegionDataSource) Metadata

func (*RegionDataSource) Read

func (*RegionDataSource) Schema

type RegionDataSourceModel

type RegionDataSourceModel struct {
	Id                  types.Int64   `tfsdk:"id"`
	Name                types.String  `tfsdk:"name"`
	PricePerGigabyte    types.Float64 `tfsdk:"price_per_gigabyte"`
	RegionCode          types.String  `tfsdk:"region_code"`
	ContinentCode       types.String  `tfsdk:"continent_code"`
	CountryCode         types.String  `tfsdk:"country_code"`
	Latitude            types.Float64 `tfsdk:"latitude"`
	Longitude           types.Float64 `tfsdk:"longitude"`
	AllowLatencyRouting types.Bool    `tfsdk:"allow_latency_routing"`
}

type StorageFileResource

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

func (*StorageFileResource) ConfigValidators

func (r *StorageFileResource) ConfigValidators(ctx context.Context) []resource.ConfigValidator

func (*StorageFileResource) Configure

func (*StorageFileResource) Create

func (*StorageFileResource) Delete

func (*StorageFileResource) ImportState

func (*StorageFileResource) Metadata

func (*StorageFileResource) Read

func (*StorageFileResource) Schema

func (*StorageFileResource) Update

type StorageFileResourceModel

type StorageFileResourceModel struct {
	Id           types.String `tfsdk:"id"`
	Zone         types.Int64  `tfsdk:"zone"`
	Path         types.String `tfsdk:"path"`
	Content      types.String `tfsdk:"content"`
	Source       types.String `tfsdk:"source"`
	Size         types.Int64  `tfsdk:"size"`
	ContentType  types.String `tfsdk:"content_type"`
	DateCreated  types.String `tfsdk:"date_created"`
	DateModified types.String `tfsdk:"date_modified"`
	Checksum     types.String `tfsdk:"checksum"`
}

type StorageZoneResource

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

func (*StorageZoneResource) Configure

func (*StorageZoneResource) Create

func (*StorageZoneResource) Delete

func (*StorageZoneResource) ImportState

func (*StorageZoneResource) Metadata

func (*StorageZoneResource) Read

func (*StorageZoneResource) Schema

func (*StorageZoneResource) Update

type StorageZoneResourceModel

type StorageZoneResourceModel struct {
	Id                 types.Int64  `tfsdk:"id"`
	Name               types.String `tfsdk:"name"`
	Password           types.String `tfsdk:"password"`
	ReadOnlyPassword   types.String `tfsdk:"password_readonly"`
	Region             types.String `tfsdk:"region"`
	ReplicationRegions types.Set    `tfsdk:"replication_regions"`
	StorageHostname    types.String `tfsdk:"hostname"`
	ZoneTier           types.String `tfsdk:"zone_tier"`
	Custom404FilePath  types.String `tfsdk:"custom_404_file_path"`
	Rewrite404To200    types.Bool   `tfsdk:"rewrite_404_to_200"`
	DateModified       types.String `tfsdk:"date_modified"`
}

type StreamCollectionResource

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

func (*StreamCollectionResource) Configure

func (*StreamCollectionResource) Create

func (*StreamCollectionResource) Delete

func (*StreamCollectionResource) ImportState

func (*StreamCollectionResource) Metadata

func (*StreamCollectionResource) Read

func (*StreamCollectionResource) Schema

func (*StreamCollectionResource) Update

type StreamCollectionResourceModel

type StreamCollectionResourceModel struct {
	Id      types.String `tfsdk:"id"`
	Library types.Int64  `tfsdk:"library"`
	Name    types.String `tfsdk:"name"`
}

type StreamLibraryResource

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

func (*StreamLibraryResource) Configure

func (*StreamLibraryResource) Create

func (*StreamLibraryResource) Delete

func (*StreamLibraryResource) ImportState

func (*StreamLibraryResource) Metadata

func (*StreamLibraryResource) Read

func (*StreamLibraryResource) Schema

func (*StreamLibraryResource) Update

type StreamLibraryResourceModel

type StreamLibraryResourceModel struct {
	Id                                  types.Int64  `tfsdk:"id"`
	Name                                types.String `tfsdk:"name"`
	Pullzone                            types.Int64  `tfsdk:"pullzone"`
	StorageZone                         types.Int64  `tfsdk:"storage_zone"`
	ApiKey                              types.String `tfsdk:"api_key"`
	PlayerLanguage                      types.String `tfsdk:"player_language"`
	PlayerFontFamily                    types.String `tfsdk:"player_font_family"`
	PlayerPrimaryColor                  types.String `tfsdk:"player_primary_color"`
	PlayerControls                      types.Set    `tfsdk:"player_controls"`
	PlayerCustomHead                    types.String `tfsdk:"player_custom_head"`
	PlayerCaptionsFontColor             types.String `tfsdk:"player_captions_font_color"`
	PlayerCaptionsFontSize              types.Int64  `tfsdk:"player_captions_font_size"`
	PlayerCaptionsBackgroundColor       types.String `tfsdk:"player_captions_background_color"`
	PlayerWatchtimeHeatmapEnabled       types.Bool   `tfsdk:"player_watchtime_heatmap_enabled"`
	VastTagUrl                          types.String `tfsdk:"vast_tag_url"`
	OriginalFilesKeep                   types.Bool   `tfsdk:"original_files_keep"`
	EarlyPlayEnabled                    types.Bool   `tfsdk:"early_play_enabled"`
	ContentTaggingEnabled               types.Bool   `tfsdk:"content_tagging_enabled"`
	Mp4FallbackEnabled                  types.Bool   `tfsdk:"mp4_fallback_enabled"`
	MultiAudioTrackSupportEnabled       types.Bool   `tfsdk:"multi_audio_track_support_enabled"`
	Resolutions                         types.Set    `tfsdk:"resolutions"`
	Bitrate240p                         types.Int64  `tfsdk:"bitrate_240p"`
	Bitrate360p                         types.Int64  `tfsdk:"bitrate_360p"`
	Bitrate480p                         types.Int64  `tfsdk:"bitrate_480p"`
	Bitrate720p                         types.Int64  `tfsdk:"bitrate_720p"`
	Bitrate1080p                        types.Int64  `tfsdk:"bitrate_1080p"`
	Bitrate1440p                        types.Int64  `tfsdk:"bitrate_1440p"`
	Bitrate2160p                        types.Int64  `tfsdk:"bitrate_2160p"`
	WatermarkPositionLeft               types.Int64  `tfsdk:"watermark_position_left"`
	WatermarkPositionTop                types.Int64  `tfsdk:"watermark_position_top"`
	WatermarkWidth                      types.Int64  `tfsdk:"watermark_width"`
	WatermarkHeight                     types.Int64  `tfsdk:"watermark_height"`
	TranscribingEnabled                 types.Bool   `tfsdk:"transcribing_enabled"`
	TranscribingSmartTitleEnabled       types.Bool   `tfsdk:"transcribing_smart_title_enabled"`
	TranscribingSmartDescriptionEnabled types.Bool   `tfsdk:"transcribing_smart_description_enabled"`
	TranscribingLanguages               types.Set    `tfsdk:"transcribing_languages"`
	DirectPlayEnabled                   types.Bool   `tfsdk:"direct_play_enabled"`
	ReferersAllowed                     types.Set    `tfsdk:"referers_allowed"`
	ReferersBlocked                     types.Set    `tfsdk:"referers_blocked"`
	DirectUrlFileAccessBlocked          types.Bool   `tfsdk:"direct_url_file_access_blocked"`
	ViewTokenAuthenticationRequired     types.Bool   `tfsdk:"view_token_authentication_required"`
	CdnTokenAuthenticationRequired      types.Bool   `tfsdk:"cdn_token_authentication_required"`
	DrmMediacageBasicEnabled            types.Bool   `tfsdk:"drm_mediacage_basic_enabled"`
	WebhookUrl                          types.String `tfsdk:"webhook_url"`
}

type StreamVideoResource

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

func (*StreamVideoResource) Configure

func (*StreamVideoResource) Create

func (*StreamVideoResource) Delete

func (*StreamVideoResource) ImportState

func (*StreamVideoResource) Metadata

func (*StreamVideoResource) Read

func (*StreamVideoResource) Schema

func (*StreamVideoResource) Update

type StreamVideoResourceModel

type StreamVideoResourceModel struct {
	Id          types.String `tfsdk:"id"`
	Library     types.Int64  `tfsdk:"library"`
	Collection  types.String `tfsdk:"collection"`
	Title       types.String `tfsdk:"title"`
	Description types.String `tfsdk:"description"`
	Chapters    types.Set    `tfsdk:"chapters"`
	Moments     types.Set    `tfsdk:"moments"`
}

type VideoLanguageDataSource

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

func (*VideoLanguageDataSource) Configure

func (*VideoLanguageDataSource) Metadata

func (*VideoLanguageDataSource) Read

func (*VideoLanguageDataSource) Schema

type VideoLanguageDataSourceModel

type VideoLanguageDataSourceModel struct {
	Code                     types.String `tfsdk:"code"`
	Name                     types.String `tfsdk:"name"`
	SupportPlayerTranslation types.Bool   `tfsdk:"support_player_translation"`
	SupportTranscribing      types.Bool   `tfsdk:"support_transcribing"`
	TranscribingAccuracy     types.Int64  `tfsdk:"transcribing_accuracy"`
}

Jump to

Keyboard shortcuts

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