hypervisor_resource_pool

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHypervisorResourcePool

Create creates the resource and sets the initial Terraform state.

func GetNestedAttributeObjectSchmeaForStorege added in v0.5.3

func GetNestedAttributeObjectSchmeaForStorege() schema.NestedAttributeObject

func NewAwsHypervisorResourcePoolResource

func NewAwsHypervisorResourcePoolResource() resource.Resource

NewHypervisorResourcePoolResource is a helper function to simplify the provider implementation.

func NewAzureHypervisorResourcePoolResource

func NewAzureHypervisorResourcePoolResource() resource.Resource

NewHypervisorResourcePoolResource is a helper function to simplify the provider implementation.

func NewGcpHypervisorResourcePoolResource

func NewGcpHypervisorResourcePoolResource() resource.Resource

NewHypervisorResourcePoolResource is a helper function to simplify the provider implementation.

func NewNutanixHypervisorResourcePoolResource added in v0.5.3

func NewNutanixHypervisorResourcePoolResource() resource.Resource

NewHypervisorResourcePoolResource is a helper function to simplify the provider implementation.

func NewVsphereHypervisorResourcePoolResource added in v0.5.2

func NewVsphereHypervisorResourcePoolResource() resource.Resource

NewHypervisorResourcePoolResource is a helper function to simplify the provider implementation.

func NewXenserverHypervisorResourcePoolResource

func NewXenserverHypervisorResourcePoolResource() resource.Resource

NewHypervisorResourcePoolResource is a helper function to simplify the provider implementation.

func ReadHypervisorResourcePool

func ReadHypervisorResourcePool(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, resp *resource.ReadResponse, hypervisorId, hypervisorResourcePoolId string) (*citrixorchestration.HypervisorResourcePoolDetailResponseModel, error)

func UpdateHypervisorResourcePool

func UpdateHypervisorResourcePool(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, diagnostics *diag.Diagnostics, hypervisorId string, resourcePoolId string, editHypervisorResourcePool citrixorchestration.EditHypervisorResourcePoolRequestModel) (*citrixorchestration.HypervisorResourcePoolDetailResponseModel, error)

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

Types

type AwsHypervisorResourcePoolResourceModel

type AwsHypervisorResourcePoolResourceModel struct {
	Id         types.String `tfsdk:"id"`
	Name       types.String `tfsdk:"name"`
	Hypervisor types.String `tfsdk:"hypervisor"`
	/**** Resource Pool Details ****/
	Vpc     types.String   `tfsdk:"vpc"`
	Subnets []types.String `tfsdk:"subnets"`
	/** AWS Resource Pool **/
	AvailabilityZone types.String `tfsdk:"availability_zone"`
}

type AzureHypervisorResourcePoolResourceModel

type AzureHypervisorResourcePoolResourceModel struct {
	Id         types.String `tfsdk:"id"`
	Name       types.String `tfsdk:"name"`
	Hypervisor types.String `tfsdk:"hypervisor"`
	/**** Resource Pool Details ****/
	Region         types.String   `tfsdk:"region"`
	VirtualNetwork types.String   `tfsdk:"virtual_network"`
	Subnets        []types.String `tfsdk:"subnets"`
	/** Azure Resource Pool **/
	VirtualNetworkResourceGroup types.String `tfsdk:"virtual_network_resource_group"`
}

type GcpHypervisorResourcePoolResourceModel

type GcpHypervisorResourcePoolResourceModel struct {
	Id         types.String `tfsdk:"id"`
	Name       types.String `tfsdk:"name"`
	Hypervisor types.String `tfsdk:"hypervisor"`
	/**** Resource Pool Details ****/
	Region  types.String   `tfsdk:"region"`
	Vpc     types.String   `tfsdk:"vpc"`
	Subnets []types.String `tfsdk:"subnets"`
	/** GCP Resource Pool **/
	ProjectName types.String `tfsdk:"project_name"`
	SharedVpc   types.Bool   `tfsdk:"shared_vpc"`
}

type HypervisorStorageModel added in v0.5.3

type HypervisorStorageModel struct {
	StorageName types.String `tfsdk:"storage_name"`
	Superseded  types.Bool   `tfsdk:"superseded"`
}

func (HypervisorStorageModel) RefreshListItem added in v0.5.3

type NutanixHypervisorResourcePoolResourceModel added in v0.5.3

type NutanixHypervisorResourcePoolResourceModel struct {
	Id         types.String `tfsdk:"id"`
	Name       types.String `tfsdk:"name"`
	Hypervisor types.String `tfsdk:"hypervisor"`
	/**** Resource Pool Details ****/
	Networks []types.String `tfsdk:"networks"`
}

func (NutanixHypervisorResourcePoolResourceModel) GetNetworksList added in v0.5.3

func (NutanixHypervisorResourcePoolResourceModel) RefreshPropertyValues added in v0.5.3

type VsphereHypervisorClusterModel added in v0.5.2

type VsphereHypervisorClusterModel struct {
	Datacenter  types.String `tfsdk:"datacenter"`
	ClusterName types.String `tfsdk:"cluster_name"`
	Host        types.String `tfsdk:"host"`
}

type VsphereHypervisorResourcePoolResourceModel added in v0.5.2

type VsphereHypervisorResourcePoolResourceModel struct {
	Id         types.String `tfsdk:"id"`
	Name       types.String `tfsdk:"name"`
	Hypervisor types.String `tfsdk:"hypervisor"`
	/**** Resource Pool Details ****/
	Cluster                *VsphereHypervisorClusterModel `tfsdk:"cluster"`
	Networks               []types.String                 `tfsdk:"networks"`
	Storage                []HypervisorStorageModel       `tfsdk:"storage"`
	TemporaryStorage       []HypervisorStorageModel       `tfsdk:"temporary_storage"`
	UseLocalStorageCaching types.Bool                     `tfsdk:"use_local_storage_caching"`
}

func (VsphereHypervisorResourcePoolResourceModel) GetNetworksList added in v0.5.3

func (VsphereHypervisorResourcePoolResourceModel) GetStorageList added in v0.5.3

func (VsphereHypervisorResourcePoolResourceModel) RefreshPropertyValues added in v0.5.2

type XenserverHypervisorResourcePoolResourceModel

type XenserverHypervisorResourcePoolResourceModel struct {
	Id         types.String `tfsdk:"id"`
	Name       types.String `tfsdk:"name"`
	Hypervisor types.String `tfsdk:"hypervisor"`
	/**** Resource Pool Details ****/
	Networks               []types.String           `tfsdk:"networks"`
	Storage                []HypervisorStorageModel `tfsdk:"storage"`
	TemporaryStorage       []HypervisorStorageModel `tfsdk:"temporary_storage"`
	UseLocalStorageCaching types.Bool               `tfsdk:"use_local_storage_caching"`
}

func (XenserverHypervisorResourcePoolResourceModel) GetNetworksList added in v0.5.3

func (XenserverHypervisorResourcePoolResourceModel) GetStorageList added in v0.5.3

Jump to

Keyboard shortcuts

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