machine_catalog

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMachineCatalogResource

func NewMachineCatalogResource() resource.Resource

NewMachineCatalogResource is a helper function to simplify the provider implementation.

Types

type AwsMachineConfigModel added in v0.4.0

type AwsMachineConfigModel struct {
	ServiceOffering types.String `tfsdk:"service_offering"`
	MasterImage     types.String `tfsdk:"master_image"`
	/** AWS Hypervisor **/
	ImageAmi types.String `tfsdk:"image_ami"`
}

func (*AwsMachineConfigModel) RefreshProperties added in v0.4.0

type AzureMachineConfigModel added in v0.4.0

type AzureMachineConfigModel struct {
	ServiceOffering types.String `tfsdk:"service_offering"`
	MasterImage     types.String `tfsdk:"master_image"`
	/** Azure Hypervisor **/
	ResourceGroup    types.String         `tfsdk:"resource_group"`
	StorageAccount   types.String         `tfsdk:"storage_account"`
	Container        types.String         `tfsdk:"container"`
	GalleryImage     *GalleryImageModel   `tfsdk:"gallery_image"`
	VdaResourceGroup types.String         `tfsdk:"vda_resource_group"`
	StorageType      types.String         `tfsdk:"storage_type"`
	UseManagedDisks  types.Bool           `tfsdk:"use_managed_disks"`
	MachineProfile   *MachineProfileModel `tfsdk:"machine_profile"`
	WritebackCache   *WritebackCacheModel `tfsdk:"writeback_cache"`
}

func (*AzureMachineConfigModel) RefreshProperties added in v0.4.0

type GalleryImageModel

type GalleryImageModel struct {
	Gallery    types.String `tfsdk:"gallery"`
	Definition types.String `tfsdk:"definition"`
	Version    types.String `tfsdk:"version"`
}

type GcpMachineConfigModel added in v0.4.0

type GcpMachineConfigModel struct {
	MasterImage types.String `tfsdk:"master_image"`
	/** GCP Hypervisor **/
	MachineProfile  types.String         `tfsdk:"machine_profile"`
	MachineSnapshot types.String         `tfsdk:"machine_snapshot"`
	StorageType     types.String         `tfsdk:"storage_type"`
	WritebackCache  *WritebackCacheModel `tfsdk:"writeback_cache"`
}

func (*GcpMachineConfigModel) RefreshProperties added in v0.4.0

type MachineAccountCreationRulesModel

type MachineAccountCreationRulesModel struct {
	NamingScheme     types.String `tfsdk:"naming_scheme"`
	NamingSchemeType types.String `tfsdk:"naming_scheme_type"`
}

MachineAccountCreationRulesModel maps the nested machine account creation rules resource schema data.

type MachineAccountsModel

type MachineAccountsModel struct {
	Hypervisor types.String                 `tfsdk:"hypervisor"`
	Machines   []MachineCatalogMachineModel `tfsdk:"machines"`
}

type MachineCatalogMachineModel

type MachineCatalogMachineModel struct {
	MachineName       types.String `tfsdk:"machine_name"`
	Region            types.String `tfsdk:"region"`
	ResourceGroupName types.String `tfsdk:"resource_group_name"`
	ProjectName       types.String `tfsdk:"project_name"`
	AvailabilityZone  types.String `tfsdk:"availability_zone"`
}

type MachineCatalogResourceModel

type MachineCatalogResourceModel struct {
	Id                 types.String             `tfsdk:"id"`
	Name               types.String             `tfsdk:"name"`
	Description        types.String             `tfsdk:"description"`
	IsPowerManaged     types.Bool               `tfsdk:"is_power_managed"`
	IsRemotePc         types.Bool               `tfsdk:"is_remote_pc"`
	AllocationType     types.String             `tfsdk:"allocation_type"`
	SessionSupport     types.String             `tfsdk:"session_support"`
	Zone               types.String             `tfsdk:"zone"`
	VdaUpgradeType     types.String             `tfsdk:"vda_upgrade_type"`
	ProvisioningType   types.String             `tfsdk:"provisioning_type"`
	ProvisioningScheme *ProvisioningSchemeModel `tfsdk:"provisioning_scheme"`
	MachineAccounts    []MachineAccountsModel   `tfsdk:"machine_accounts"`
	RemotePcOus        []RemotePcOuModel        `tfsdk:"remote_pc_ous"`
}

MachineCatalogResourceModel maps the resource schema data.

type MachineDomainIdentityModel added in v0.4.0

type MachineDomainIdentityModel struct {
	Domain                 types.String `tfsdk:"domain"`
	Ou                     types.String `tfsdk:"domain_ou"`
	ServiceAccount         types.String `tfsdk:"service_account"`
	ServiceAccountPassword types.String `tfsdk:"service_account_password"`
}

type MachineProfileModel added in v0.4.0

type MachineProfileModel struct {
	MachineProfileVmName        types.String `tfsdk:"machine_profile_vm_name"`
	MachineProfileResourceGroup types.String `tfsdk:"machine_profile_resource_group"`
}

type NetworkMappingModel

type NetworkMappingModel struct {
	NetworkDevice types.String `tfsdk:"network_device"`
	Network       types.String `tfsdk:"network"`
}

NetworkMappingModel maps the nested network mapping resource schema data.

type ProvisioningSchemeModel

type ProvisioningSchemeModel struct {
	Hypervisor                  types.String                      `tfsdk:"hypervisor"`
	HypervisorResourcePool      types.String                      `tfsdk:"hypervisor_resource_pool"`
	AzureMachineConfig          *AzureMachineConfigModel          `tfsdk:"azure_machine_config"`
	AwsMachineConfig            *AwsMachineConfigModel            `tfsdk:"aws_machine_config"`
	GcpMachineConfig            *GcpMachineConfigModel            `tfsdk:"gcp_machine_config"`
	NumTotalMachines            types.Int64                       `tfsdk:"number_of_total_machines"`
	NetworkMapping              *NetworkMappingModel              `tfsdk:"network_mapping"`
	AvailabilityZones           types.String                      `tfsdk:"availability_zones"`
	IdentityType                types.String                      `tfsdk:"identity_type"`
	MachineDomainIdentity       *MachineDomainIdentityModel       `tfsdk:"machine_domain_identity"`
	MachineAccountCreationRules *MachineAccountCreationRulesModel `tfsdk:"machine_account_creation_rules"`
}

ProvisioningSchemeModel maps the nested provisioning scheme resource schema data.

type RemotePcOuModel

type RemotePcOuModel struct {
	IncludeSubFolders types.Bool   `tfsdk:"include_subfolders"`
	OUName            types.String `tfsdk:"ou_name"`
}

func (RemotePcOuModel) RefreshListItem added in v0.4.0

type WritebackCacheModel

type WritebackCacheModel struct {
	PersistWBC                 types.Bool   `tfsdk:"persist_wbc"`
	WBCDiskStorageType         types.String `tfsdk:"wbc_disk_storage_type"`
	PersistOsDisk              types.Bool   `tfsdk:"persist_os_disk"`
	PersistVm                  types.Bool   `tfsdk:"persist_vm"`
	StorageCostSaving          types.Bool   `tfsdk:"storage_cost_saving"`
	WriteBackCacheDiskSizeGB   types.Int64  `tfsdk:"writeback_cache_disk_size_gb"`
	WriteBackCacheMemorySizeMB types.Int64  `tfsdk:"writeback_cache_memory_size_mb"`
}

WritebackCacheModel maps the write back cacheconfiguration schema data.

Jump to

Keyboard shortcuts

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