provider

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: MPL-2.0 Imports: 60 Imported by: 0

Documentation

Index

Constants

View Source
const Version = "0.18.1"

Version contains the current terraform provider version.

Variables

This section is empty.

Functions

func ModifyPlanForHostnameDeprecation added in v0.18.0

func ModifyPlanForHostnameDeprecation(
	ctx context.Context,
	req planmodifier.StringRequest,
	resp *stringplanmodifier.RequiresReplaceIfFuncResponse,
)

ModifyPlanForHostnameDeprecation modifies the plan to support the deprecation of `host_name` in favor of `hostname`. This must be added to both the deprecated `host_name` attribute and the new `hostname` attribute. This function is responsible for setting stringplanmodifier.RequiresReplaceIfFuncResponse.RequiresReplace to `true` when it's deemed the user is actually changing the hostname value in the configuration or `false` when the user is just updating their configuration to comply with the deprecation.

func New

func New() provider.Provider

New initialises a new provider

func NewAddressLotDataSource added in v0.18.0

func NewAddressLotDataSource() datasource.DataSource

NewAddressLotDataSource initialises an address_lot datasource.

func NewAddressLotResource added in v0.18.0

func NewAddressLotResource() resource.Resource

NewAddressLotResource is a helper function to simplify the provider implementation.

func NewAntiAffinityGroupDataSource added in v0.8.0

func NewAntiAffinityGroupDataSource() datasource.DataSource

NewAntiAffinityGroupDataSource initialises an anti-affinity group datasource

func NewAntiAffinityGroupResource added in v0.8.0

func NewAntiAffinityGroupResource() resource.Resource

NewAntiAffinityGroupResource is a helper function to simplify the provider implementation.

func NewDiskDataSource added in v0.17.0

func NewDiskDataSource() datasource.DataSource

NewDiskDataSource is a helper function to simplify the provider implementation.

func NewDiskResource

func NewDiskResource() resource.Resource

NewDiskResource is a helper function to simplify the provider implementation.

func NewExternalSubnetAttachmentResource added in v0.18.0

func NewExternalSubnetAttachmentResource() resource.Resource

NewExternalSubnetAttachmentResource is a helper function to simplify the provider implementation.

func NewExternalSubnetResource added in v0.18.0

func NewExternalSubnetResource() resource.Resource

NewExternalSubnetResource is a helper function to simplify the provider implementation.

func NewFloatingIPDataSource added in v0.9.0

func NewFloatingIPDataSource() datasource.DataSource

NewFloatingIPDataSource is a helper to easily construct a floatingIPDataSource as a type that implements the Terraform data source interface.

func NewFloatingIPResource added in v0.9.0

func NewFloatingIPResource() resource.Resource

NewFloatingIPResource is a helper to easily construct a floatingIPResource as a type that implements the Terraform resource interface.

func NewIPPoolResource added in v0.4.0

func NewIPPoolResource() resource.Resource

NewIPPoolResource is a helper function to simplify the provider implementation.

func NewImageDataSource

func NewImageDataSource() datasource.DataSource

NewImageDataSource initialises an images datasource

func NewImageResource

func NewImageResource() resource.Resource

NewImageResource is a helper function to simplify the provider implementation.

func NewImagesDataSource

func NewImagesDataSource() datasource.DataSource

NewImagesDataSource initialises an images datasource

func NewInstanceExternalIPsDataSource

func NewInstanceExternalIPsDataSource() datasource.DataSource

NewInstanceExternalIPsDataSource initialises an images datasource

func NewInstanceResource

func NewInstanceResource() resource.Resource

NewInstanceResource is a helper function to simplify the provider implementation.

func NewIpPoolDataSource added in v0.2.0

func NewIpPoolDataSource() datasource.DataSource

NewIpPoolDataSource initialises an ip_pool datasource

func NewIpPoolSiloLinkResource added in v0.5.0

func NewIpPoolSiloLinkResource() resource.Resource

NewIpPoolSiloLinkResource is a helper function to simplify the provider implementation.

func NewProjectDataSource

func NewProjectDataSource() datasource.DataSource

NewProjectDataSource initialises a project datasource

func NewProjectResource

func NewProjectResource() resource.Resource

NewProjectResource is a helper function to simplify the provider implementation.

func NewProjectsDataSource

func NewProjectsDataSource() datasource.DataSource

NewProjectsDataSource initialises a projects datasource

func NewSSHKeyDataSource

func NewSSHKeyDataSource() datasource.DataSource

NewSSHKeyDataSource is a helper function to simplify the provider implementation.

func NewSSHKeyResource

func NewSSHKeyResource() resource.Resource

NewSSHKeyResource is a helper function to simplify the provider implementation.

func NewSiloDataSource added in v0.5.0

func NewSiloDataSource() datasource.DataSource

NewSiloDataSource initialises a silo datasource

func NewSiloResource added in v0.10.0

func NewSiloResource() resource.Resource

NewSiloResource is a helper to easily construct a siloResource as a type that implements the Terraform resource interface.

func NewSiloSamlIdentityProviderResource added in v0.14.0

func NewSiloSamlIdentityProviderResource() resource.Resource

NewSiloSamlIdentityProviderResource returns a new silo SAML identity provider resource.

func NewSnapshotResource

func NewSnapshotResource() resource.Resource

NewSnapshotResource is a helper function to simplify the provider implementation.

func NewSubnetPoolDataSource added in v0.18.0

func NewSubnetPoolDataSource() datasource.DataSource

NewSubnetPoolDataSource initialises a subnet_pool datasource

func NewSubnetPoolMemberResource added in v0.18.0

func NewSubnetPoolMemberResource() resource.Resource

NewSubnetPoolMemberResource is a helper function to simplify the provider implementation.

func NewSubnetPoolResource added in v0.18.0

func NewSubnetPoolResource() resource.Resource

NewSubnetPoolResource is a helper function to simplify the provider implementation.

func NewSubnetPoolSiloLinkResource added in v0.18.0

func NewSubnetPoolSiloLinkResource() resource.Resource

NewSubnetPoolSiloLinkResource is a helper function to simplify the provider implementation.

func NewSwitchPortSettingsResource added in v0.13.0

func NewSwitchPortSettingsResource() resource.Resource

NewSwitchPortSettingsResource contructs a Terraform resource.

func NewSystemIpPoolsDataSource added in v0.14.0

func NewSystemIpPoolsDataSource() datasource.DataSource

NewSystemIpPoolsDataSource initialises a system_ip_pools data source.

func NewToVPCFirewallRulesMapFunction added in v0.16.0

func NewToVPCFirewallRulesMapFunction() function.Function

NewToVPCFirewallRulesMapFunction returns a new function.Function for the to_vpc_firewall_rules_map provider function.

func NewVPCDataSource

func NewVPCDataSource() datasource.DataSource

NewVPCDataSource initialises an images datasource

func NewVPCFirewallRulesResource

func NewVPCFirewallRulesResource() resource.Resource

NewVPCFirewallRulesResource is a helper function to simplify the provider implementation.

func NewVPCInternetGatewayDataSource added in v0.7.0

func NewVPCInternetGatewayDataSource() datasource.DataSource

NewVPCInternetGatewayDataSource initialises an images datasource

func NewVPCInternetGatewayResource added in v0.7.0

func NewVPCInternetGatewayResource() resource.Resource

NewVPCInternetGatewayResource is a helper function to simplify the provider implementation.

func NewVPCResource

func NewVPCResource() resource.Resource

NewVPCResource is a helper function to simplify the provider implementation.

func NewVPCRouterDataSource added in v0.7.0

func NewVPCRouterDataSource() datasource.DataSource

NewVPCRouterDataSource initialises an images datasource

func NewVPCRouterResource added in v0.7.0

func NewVPCRouterResource() resource.Resource

NewVPCRouterResource is a helper function to simplify the provider implementation.

func NewVPCRouterRouteDataSource added in v0.10.0

func NewVPCRouterRouteDataSource() datasource.DataSource

NewVPCRouterRouteDataSource initialises a VPC router route datasource

func NewVPCRouterRouteResource added in v0.10.0

func NewVPCRouterRouteResource() resource.Resource

NewVPCRouterRouteResource is a helper function to simplify the provider implementation.

func NewVPCSubnetDataSource

func NewVPCSubnetDataSource() datasource.DataSource

NewVPCSubnetDataSource initialises an images datasource

func NewVPCSubnetResource

func NewVPCSubnetResource() resource.Resource

NewVPCSubnetResource is a helper function to simplify the provider implementation.

func RequiresReplaceUnlessEmptyStringOrNull

func RequiresReplaceUnlessEmptyStringOrNull() stringplanmodifier.RequiresReplaceIfFunc

RequiresReplaceUnlessEmptyStringOrNull returns a resource.RequiresReplaceIfFunc that returns true unless the change is from an empty string or null.

This is particularly helpful for creating new nested objects that cannot be modified themselves, but it is possible to add or remove them.

Types

This section is empty.

Jump to

Keyboard shortcuts

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