provider

package
v0.13.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DisabledState = "DISABLED"
	EnabledState  = "ENABLED"

	EnableApiParam  = "ENABLE"
	DisableApiParam = "DISABLE"
)

Variables

This section is empty.

Functions

func DataSourceCertificate added in v0.11.0

func DataSourceCertificate() *schema.Resource

func DataSourceCluster added in v0.3.0

func DataSourceCluster() *schema.Resource

func DataSourceCredentials added in v0.7.0

func DataSourceCredentials() *schema.Resource

func DataSourceDomain added in v0.2.0

func DataSourceDomain() *schema.Resource

func DataSourceHost added in v0.13.0

func DataSourceHost() *schema.Resource

func DataSourceNetworkPool added in v0.11.0

func DataSourceNetworkPool() *schema.Resource

func New added in v0.11.0

func New() provider.Provider

func Provider

func Provider() *schema.Provider

Provider returns the resource configuration of the provider.

func ResourceCeip

func ResourceCeip() *schema.Resource

func ResourceCertificate added in v0.6.0

func ResourceCertificate() *schema.Resource

func ResourceCertificateAuthority added in v0.6.0

func ResourceCertificateAuthority() *schema.Resource

func ResourceCluster added in v0.2.0

func ResourceCluster() *schema.Resource

func ResourceClusterPersonality added in v0.8.5

func ResourceClusterPersonality() *schema.Resource

func ResourceCredentialsAutoRotatePolicy added in v0.7.0

func ResourceCredentialsAutoRotatePolicy() *schema.Resource

func ResourceCredentialsRotate added in v0.7.0

func ResourceCredentialsRotate() *schema.Resource

func ResourceCredentialsUpdate added in v0.7.0

func ResourceCredentialsUpdate() *schema.Resource

func ResourceCsr added in v0.6.0

func ResourceCsr() *schema.Resource

func ResourceDomain added in v0.2.0

func ResourceDomain() *schema.Resource

func ResourceEdgeCluster added in v0.8.0

func ResourceEdgeCluster() *schema.Resource

func ResourceExternalCertificate added in v0.6.0

func ResourceExternalCertificate() *schema.Resource

func ResourceHost

func ResourceHost() *schema.Resource

func ResourceUser

func ResourceUser() *schema.Resource

func ResourceVcfInstance added in v0.5.0

func ResourceVcfInstance() *schema.Resource

Types

type FrameworkProvider added in v0.11.0

type FrameworkProvider struct {
	// The clients are exposed for the purpose of running the existing tests
	// Individual resources should obtain access to these in their Configure methods
	// via the ConfigureRequest
	SddcManagerClient  *api_client.SddcManagerClient
	CloudBuilderClient *api_client.CloudBuilderClient
}

func (*FrameworkProvider) Configure added in v0.11.0

func (frameworkProvider *FrameworkProvider) Configure(ctx context.Context, req provider.ConfigureRequest, res *provider.ConfigureResponse)

func (*FrameworkProvider) DataSources added in v0.11.0

func (frameworkProvider *FrameworkProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*FrameworkProvider) Metadata added in v0.11.0

func (frameworkProvider *FrameworkProvider) Metadata(ctx context.Context, req provider.MetadataRequest, res *provider.MetadataResponse)

func (*FrameworkProvider) Resources added in v0.11.0

func (frameworkProvider *FrameworkProvider) Resources(ctx context.Context) []func() resource.Resource

func (*FrameworkProvider) Schema added in v0.11.0

func (frameworkProvider *FrameworkProvider) Schema(ctx context.Context, req provider.SchemaRequest, res *provider.SchemaResponse)

type FrameworkProviderModel added in v0.11.0

type FrameworkProviderModel struct {
	SddcManagerUsername types.String `tfsdk:"sddc_manager_username"`
	SddcManagerPassword types.String `tfsdk:"sddc_manager_password"`
	SddcManagerHost     types.String `tfsdk:"sddc_manager_host"`

	CloudBuilderUsername types.String `tfsdk:"cloud_builder_username"`
	CloudBuilderPassword types.String `tfsdk:"cloud_builder_password"`
	CloudBuilderHost     types.String `tfsdk:"cloud_builder_host"`

	AllowUnverifiedTls types.Bool `tfsdk:"allow_unverified_tls"`
}

type IpPoolModel added in v0.11.0

type IpPoolModel struct {
	Start types.String `tfsdk:"start"`
	End   types.String `tfsdk:"end"`
}

type NetworkModel added in v0.11.0

type NetworkModel struct {
	Gateway types.String `tfsdk:"gateway"`
	Mask    types.String `tfsdk:"mask"`
	Subnet  types.String `tfsdk:"subnet"`
	Type    types.String `tfsdk:"type"`
	Mtu     types.Int64  `tfsdk:"mtu"`
	VlanId  types.Int64  `tfsdk:"vlan_id"`
	IpPools types.List   `tfsdk:"ip_pools"`
}

type ResourceNetworkPool

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

func (*ResourceNetworkPool) Configure added in v0.11.0

func (*ResourceNetworkPool) Create added in v0.11.0

func (*ResourceNetworkPool) Delete added in v0.11.0

func (*ResourceNetworkPool) ImportState added in v0.11.0

func (*ResourceNetworkPool) Metadata added in v0.11.0

func (*ResourceNetworkPool) Read added in v0.11.0

func (*ResourceNetworkPool) Schema added in v0.11.0

func (*ResourceNetworkPool) Update added in v0.11.0

type ResourceNetworkPoolModel added in v0.11.0

type ResourceNetworkPoolModel struct {
	Timeouts timeouts.Value `tfsdk:"timeouts"`
	Id       types.String   `tfsdk:"id"`
	Name     types.String   `tfsdk:"name"`
	Networks types.List     `tfsdk:"network"`
}

Jump to

Keyboard shortcuts

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