hypervisor

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnableAzureADDeviceManagement_CustomProperty = "AzureAdDeviceManagement"
)

Variables

This section is empty.

Functions

func CreateHypervisor

Create creates the resource and sets the initial Terraform state.

func NewAwsHypervisorResource

func NewAwsHypervisorResource() resource.Resource

NewHypervisorResource is a helper function to simplify the provider implementation.

func NewAzureHypervisorResource

func NewAzureHypervisorResource() resource.Resource

NewHypervisorResource is a helper function to simplify the provider implementation.

func NewGcpHypervisorResource

func NewGcpHypervisorResource() resource.Resource

NewHypervisorResource is a helper function to simplify the provider implementation.

func NewNutanixHypervisorResource

func NewNutanixHypervisorResource() resource.Resource

NewHypervisorResource is a helper function to simplify the provider implementation.

func NewVsphereHypervisorResource

func NewVsphereHypervisorResource() resource.Resource

NewHypervisorResource is a helper function to simplify the provider implementation.

func NewXenserverHypervisorResource

func NewXenserverHypervisorResource() resource.Resource

NewHypervisorResource is a helper function to simplify the provider implementation.

func UpdateHypervisor

Update updates the resource and sets the updated Terraform state on success.

Types

type AwsHypervisorResourceModel

type AwsHypervisorResourceModel struct {
	/**** Connection Details ****/
	Id   types.String `tfsdk:"id"`
	Name types.String `tfsdk:"name"`
	Zone types.String `tfsdk:"zone"`
	/** AWS EC2 Connection **/
	Region    types.String `tfsdk:"region"`
	ApiKey    types.String `tfsdk:"api_key"`
	SecretKey types.String `tfsdk:"secret_key"`
}

HypervisorResourceModel maps the resource schema data.

func (AwsHypervisorResourceModel) RefreshPropertyValues

type AzureHypervisorResourceModel

type AzureHypervisorResourceModel struct {
	/**** Connection Details ****/
	Id   types.String `tfsdk:"id"`
	Name types.String `tfsdk:"name"`
	Zone types.String `tfsdk:"zone"`
	/** Azure Connection **/
	ApplicationId                   types.String `tfsdk:"application_id"`
	ApplicationSecret               types.String `tfsdk:"application_secret"`
	ApplicationSecretExpirationDate types.String `tfsdk:"application_secret_expiration_date"`
	SubscriptionId                  types.String `tfsdk:"subscription_id"`
	ActiveDirectoryId               types.String `tfsdk:"active_directory_id"`
	EnableAzureADDeviceManagement   types.Bool   `tfsdk:"enable_azure_ad_device_management"`
}

HypervisorResourceModel maps the resource schema data.

func (AzureHypervisorResourceModel) RefreshPropertyValues

type GcpHypervisorResourceModel

type GcpHypervisorResourceModel struct {
	/**** Connection Details ****/
	Id   types.String `tfsdk:"id"`
	Name types.String `tfsdk:"name"`
	Zone types.String `tfsdk:"zone"`
	/** GCP Connection **/
	ServiceAccountId          types.String `tfsdk:"service_account_id"`
	ServiceAccountCredentials types.String `tfsdk:"service_account_credentials"`
}

HypervisorResourceModel maps the resource schema data.

func (GcpHypervisorResourceModel) RefreshPropertyValues

type HYPERVISOR_FAULT_STATE

type HYPERVISOR_FAULT_STATE string
const (
	Initializing HYPERVISOR_FAULT_STATE = "Initializing"
)

type NutanixHypervisorResourceModel

type NutanixHypervisorResourceModel struct {
	/**** Connection Details ****/
	Id   types.String `tfsdk:"id"`
	Name types.String `tfsdk:"name"`
	Zone types.String `tfsdk:"zone"`
	/** Nutanix Connection **/
	Username                            types.String   `tfsdk:"username"`
	Password                            types.String   `tfsdk:"password"`
	PasswordFormat                      types.String   `tfsdk:"password_format"`
	Addresses                           []types.String `tfsdk:"addresses"`
	MaxAbsoluteActiveActions            types.Int64    `tfsdk:"max_absolute_active_actions"`
	MaxAbsoluteNewActionsPerMinute      types.Int64    `tfsdk:"max_absolute_new_actions_per_minute"`
	MaxPowerActionsPercentageOfMachines types.Int64    `tfsdk:"max_power_actions_percentage_of_machines"`
}

HypervisorResourceModel maps the resource schema data.

func (NutanixHypervisorResourceModel) RefreshPropertyValues

type VsphereHypervisorResourceModel

type VsphereHypervisorResourceModel struct {
	/**** Connection Details ****/
	Id   types.String `tfsdk:"id"`
	Name types.String `tfsdk:"name"`
	Zone types.String `tfsdk:"zone"`
	/** Vsphere Connection **/
	Username                            types.String   `tfsdk:"username"`
	Password                            types.String   `tfsdk:"password"`
	PasswordFormat                      types.String   `tfsdk:"password_format"`
	Addresses                           []types.String `tfsdk:"addresses"`
	SslThumbprints                      []types.String `tfsdk:"ssl_thumbprints"`
	MaxAbsoluteActiveActions            types.Int64    `tfsdk:"max_absolute_active_actions"`
	MaxAbsoluteNewActionsPerMinute      types.Int64    `tfsdk:"max_absolute_new_actions_per_minute"`
	MaxPowerActionsPercentageOfMachines types.Int64    `tfsdk:"max_power_actions_percentage_of_machines"`
}

HypervisorResourceModel maps the resource schema data.

func (VsphereHypervisorResourceModel) RefreshPropertyValues

type XenserverHypervisorResourceModel

type XenserverHypervisorResourceModel struct {
	/**** Connection Details ****/
	Id   types.String `tfsdk:"id"`
	Name types.String `tfsdk:"name"`
	Zone types.String `tfsdk:"zone"`
	/** Xenserver Connection **/
	Username                            types.String   `tfsdk:"username"`
	Password                            types.String   `tfsdk:"password"`
	PasswordFormat                      types.String   `tfsdk:"password_format"`
	Addresses                           []types.String `tfsdk:"addresses"`
	SslThumbprints                      []types.String `tfsdk:"ssl_thumbprints"`
	MaxAbsoluteActiveActions            types.Int64    `tfsdk:"max_absolute_active_actions"`
	MaxAbsoluteNewActionsPerMinute      types.Int64    `tfsdk:"max_absolute_new_actions_per_minute"`
	MaxPowerActionsPercentageOfMachines types.Int64    `tfsdk:"max_power_actions_percentage_of_machines"`
}

HypervisorResourceModel maps the resource schema data.

func (XenserverHypervisorResourceModel) RefreshPropertyValues

Jump to

Keyboard shortcuts

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