machine_catalog

package
v1.0.26-bugfix-1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: Apache-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MappedCustomProperties = map[string]string{
	"Zones":                            "availability_zones",
	"StorageType":                      "storage_type",
	"ResourceGroups":                   "vda_resource_group",
	"UseManagedDisks":                  "use_managed_disks",
	"WBCDiskStorageType":               "wbc_disk_storage_type",
	"PersistWBC":                       "persist_wbc",
	"PersistOsDisk":                    "persist_os_disk",
	"PersistVm":                        "persist_vm",
	"CatalogZones":                     "availability_zones",
	"StorageTypeAtShutdown":            "storage_cost_saving",
	"LicenseType":                      "license_type",
	"UseSharedImageGallery":            "use_azure_compute_gallery",
	"SharedImageGalleryReplicaRatio":   "replica_ratio",
	"SharedImageGalleryReplicaMaximum": "replica_maximum",
	"UseEphemeralOsDisk":               "storage_type",
}

Functions

func IsAzureImageDefinitionUsingSharedImageGallery added in v1.0.12

func IsAzureImageDefinitionUsingSharedImageGallery(imageDefinitionResp *citrixorchestration.ImageDefinitionResponseModel) bool

func NewMachineCatalogDataSource added in v0.6.2

func NewMachineCatalogDataSource() datasource.DataSource

func NewMachineCatalogResource

func NewMachineCatalogResource() resource.Resource

NewMachineCatalogResource is a helper function to simplify the provider implementation.

func NewMachinePropertiesResource added in v1.0.7

func NewMachinePropertiesResource() resource.Resource

NewAdminFolderResource is a helper function to simplify the provider implementation.

func NewPvsDataSource added in v0.6.2

func NewPvsDataSource() datasource.DataSource

Types

type AmazonWorkspacesCoreMachineConfigModel added in v1.0.24

type AmazonWorkspacesCoreMachineConfigModel struct {
	ServiceOffering                   types.String `tfsdk:"service_offering"`
	AmazonWorkspacesCorePreparedImage types.Object `tfsdk:"prepared_image"` // PreparedImageConfigModel
	ImageUpdateRebootOptions          types.Object `tfsdk:"image_update_reboot_options"`
	MasterImageNote                   types.String `tfsdk:"master_image_note"`
	MachineProfile                    types.Object `tfsdk:"machine_profile"` // AmazonWorkspacesCoreMachineProfileModel
	TenancyType                       types.String `tfsdk:"tenancy_type"`
}

func (AmazonWorkspacesCoreMachineConfigModel) GetAttributes added in v1.0.24

func (AmazonWorkspacesCoreMachineConfigModel) GetSchema added in v1.0.24

func (*AmazonWorkspacesCoreMachineConfigModel) RefreshProperties added in v1.0.24

type AwsMachineConfigModel

type AwsMachineConfigModel struct {
	ServiceOffering          types.String `tfsdk:"service_offering"`
	MasterImage              types.String `tfsdk:"master_image"`
	MasterImageNote          types.String `tfsdk:"master_image_note"`
	ImageUpdateRebootOptions types.Object `tfsdk:"image_update_reboot_options"`
	/** AWS Hypervisor **/
	MachineProfile types.Object `tfsdk:"machine_profile"`
	ImageAmi       types.String `tfsdk:"image_ami"`
	SecurityGroups types.List   `tfsdk:"security_groups"` // List[String]
	TenancyType    types.String `tfsdk:"tenancy_type"`
}

func (AwsMachineConfigModel) GetAttributes added in v0.6.1

func (AwsMachineConfigModel) GetAttributes() map[string]schema.Attribute

func (AwsMachineConfigModel) GetSchema added in v0.6.1

func (*AwsMachineConfigModel) RefreshProperties

type AzureComputeGallerySettings added in v0.5.5

type AzureComputeGallerySettings struct {
	ReplicaRatio   types.Int64 `tfsdk:"replica_ratio"`
	ReplicaMaximum types.Int64 `tfsdk:"replica_maximum"`
}

func (AzureComputeGallerySettings) GetAttributes added in v0.6.1

func (AzureComputeGallerySettings) GetAttributes() map[string]schema.Attribute

func (AzureComputeGallerySettings) GetSchema added in v0.6.1

type AzureMachineConfigModel

type AzureMachineConfigModel struct {
	ServiceOffering types.String `tfsdk:"service_offering"`
	/** Azure Hypervisor **/
	AzureMasterImage         types.Object `tfsdk:"azure_master_image"`
	AzurePvsConfiguration    types.Object `tfsdk:"azure_pvs_config"`
	AzurePreparedImage       types.Object `tfsdk:"prepared_image"` // PreparedImageConfigModel
	MasterImageNote          types.String `tfsdk:"master_image_note"`
	ImageUpdateRebootOptions types.Object `tfsdk:"image_update_reboot_options"`
	VdaResourceGroup         types.String `tfsdk:"vda_resource_group"`
	StorageType              types.String `tfsdk:"storage_type"`
	UseAzureComputeGallery   types.Object `tfsdk:"use_azure_compute_gallery"`
	LicenseType              types.String `tfsdk:"license_type"`
	UseManagedDisks          types.Bool   `tfsdk:"use_managed_disks"`
	MachineProfile           types.Object `tfsdk:"machine_profile"`
	WritebackCache           types.Object `tfsdk:"writeback_cache"`
	DiskEncryptionSet        types.Object `tfsdk:"disk_encryption_set"`
	EnrollInIntune           types.Bool   `tfsdk:"enroll_in_intune"`
	SecondaryVmSizes         types.List   `tfsdk:"secondary_vm_sizes"` // List[SecondaryVmSizeModel]
}

func (AzureMachineConfigModel) GetAttributes added in v0.6.1

func (AzureMachineConfigModel) GetAttributes() map[string]schema.Attribute

func (AzureMachineConfigModel) GetSchema added in v0.6.1

func (*AzureMachineConfigModel) RefreshProperties

type AzureMasterImageModel added in v0.5.5

type AzureMasterImageModel struct {
	ResourceGroup      types.String `tfsdk:"resource_group"`
	SharedSubscription types.String `tfsdk:"shared_subscription"`
	MasterImage        types.String `tfsdk:"master_image"`
	StorageAccount     types.String `tfsdk:"storage_account"`
	Container          types.String `tfsdk:"container"`
	GalleryImage       types.Object `tfsdk:"gallery_image"`
}

func (AzureMasterImageModel) GetAttributes added in v0.6.1

func (AzureMasterImageModel) GetAttributes() map[string]schema.Attribute

func (AzureMasterImageModel) GetSchema added in v0.6.1

type AzurePvsConfigurationModel added in v0.6.2

type AzurePvsConfigurationModel struct {
	PvsSiteId  types.String `tfsdk:"pvs_site_id"`
	PvsVdiskId types.String `tfsdk:"pvs_vdisk_id"`
}

func (AzurePvsConfigurationModel) GetAttributes added in v0.6.2

func (AzurePvsConfigurationModel) GetAttributes() map[string]schema.Attribute

func (AzurePvsConfigurationModel) GetSchema added in v0.6.2

type AzureWritebackCacheModel added in v0.5.3

type AzureWritebackCacheModel 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.

func (AzureWritebackCacheModel) GetAttributes added in v0.6.1

func (AzureWritebackCacheModel) GetAttributes() map[string]schema.Attribute

func (AzureWritebackCacheModel) GetSchema added in v0.6.1

type BackupVmConfigurationModel added in v1.0.22

type BackupVmConfigurationModel struct {
	ServiceOffering string `json:"ServiceOffering"`
	Type            string `json:"Type"`
}

type CustomPropertyModel added in v0.5.5

type CustomPropertyModel struct {
	Name  types.String `tfsdk:"name"`
	Value types.String `tfsdk:"value"`
}

func (CustomPropertyModel) GetAttributes added in v0.6.1

func (CustomPropertyModel) GetAttributes() map[string]schema.Attribute

func (CustomPropertyModel) GetSchema added in v0.6.1

type GcpMachineConfigModel

type GcpMachineConfigModel struct {
	MasterImage              types.String `tfsdk:"master_image"`
	MasterImageNote          types.String `tfsdk:"master_image_note"`
	ImageUpdateRebootOptions types.Object `tfsdk:"image_update_reboot_options"`
	/** GCP Hypervisor **/
	MachineProfile  types.String `tfsdk:"machine_profile"`
	MachineSnapshot types.String `tfsdk:"machine_snapshot"`
	StorageType     types.String `tfsdk:"storage_type"`
	WritebackCache  types.Object `tfsdk:"writeback_cache"` // GcpWritebackCacheModel
}

func (GcpMachineConfigModel) GetAttributes added in v0.6.1

func (GcpMachineConfigModel) GetAttributes() map[string]schema.Attribute

func (GcpMachineConfigModel) GetSchema added in v0.6.1

func (*GcpMachineConfigModel) RefreshProperties

type GcpWritebackCacheModel added in v0.5.3

type GcpWritebackCacheModel struct {
	PersistWBC                 types.Bool   `tfsdk:"persist_wbc"`
	WBCDiskStorageType         types.String `tfsdk:"wbc_disk_storage_type"`
	PersistOsDisk              types.Bool   `tfsdk:"persist_os_disk"`
	WriteBackCacheDiskSizeGB   types.Int64  `tfsdk:"writeback_cache_disk_size_gb"`
	WriteBackCacheMemorySizeMB types.Int64  `tfsdk:"writeback_cache_memory_size_mb"`
}

func (GcpWritebackCacheModel) GetAttributes added in v0.6.1

func (GcpWritebackCacheModel) GetAttributes() map[string]schema.Attribute

func (GcpWritebackCacheModel) GetSchema added in v0.6.1

type ImageUpdateRebootOptionsModel added in v0.6.1

type ImageUpdateRebootOptionsModel struct {
	RebootDuration        types.Int64  `tfsdk:"reboot_duration"`
	WarningDuration       types.Int64  `tfsdk:"warning_duration"`
	WarningMessage        types.String `tfsdk:"warning_message"`
	WarningRepeatInterval types.Int64  `tfsdk:"warning_repeat_interval"`
}

func (ImageUpdateRebootOptionsModel) GetAttributes added in v0.6.1

func (ImageUpdateRebootOptionsModel) GetSchema added in v0.6.1

func (ImageUpdateRebootOptionsModel) ValidateConfig added in v0.6.1

func (rebootOptions ImageUpdateRebootOptionsModel) ValidateConfig(diagnostics *diag.Diagnostics)

type MachineADAccountModel added in v1.0.8

type MachineADAccountModel struct {
	ADAccountName  types.String `tfsdk:"ad_account_name"`
	PasswordFormat types.String `tfsdk:"password_format"`
	ResetPassword  types.Bool   `tfsdk:"reset_password"`
	Password       types.String `tfsdk:"password"`
	State          types.String `tfsdk:"state"`
}

func (MachineADAccountModel) GetAttributes added in v1.0.8

func (MachineADAccountModel) GetAttributes() map[string]schema.Attribute

func (MachineADAccountModel) GetKey added in v1.0.8

func (r MachineADAccountModel) GetKey() string

GetKey implements util.RefreshableListItemWithAttributes.

func (MachineADAccountModel) GetSchema added in v1.0.8

func (MachineADAccountModel) RefreshListItem added in v1.0.8

type MachineAccountCreationRulesModel

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

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

func (MachineAccountCreationRulesModel) Equals added in v1.0.21

func (MachineAccountCreationRulesModel) GetAttributes added in v0.6.1

func (MachineAccountCreationRulesModel) GetSchema added in v0.6.1

type MachineAccountsModel

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

func (MachineAccountsModel) GetAttributes added in v0.6.1

func (MachineAccountsModel) GetAttributes() map[string]schema.Attribute

func (MachineAccountsModel) GetSchema added in v0.6.1

type MachineCatalogDataSource added in v0.6.2

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

MachineCatalogDataSource defines the data source implementation.

func (*MachineCatalogDataSource) Configure added in v0.6.2

func (*MachineCatalogDataSource) Metadata added in v0.6.2

func (*MachineCatalogDataSource) Read added in v0.6.2

func (*MachineCatalogDataSource) Schema added in v0.6.2

type MachineCatalogDataSourceModel added in v0.6.2

type MachineCatalogDataSourceModel struct {
	Id                       types.String   `tfsdk:"id"`
	Name                     types.String   `tfsdk:"name"`
	MachineCatalogFolderPath types.String   `tfsdk:"machine_catalog_folder_path"`
	Vdas                     []vda.VdaModel `tfsdk:"vdas"`    // List[VdaModel]
	Tenants                  types.Set      `tfsdk:"tenants"` // Set[String]
	Tags                     types.Set      `tfsdk:"tags"`    // Set[string]
}

MachineCatalogDataSourceModel defines the Machine Catalog data source implementation.

func (MachineCatalogDataSourceModel) GetSchema added in v0.6.2

func (MachineCatalogDataSourceModel) RefreshPropertyValues added in v0.6.2

type MachineCatalogMachineModel

type MachineCatalogMachineModel struct {
	MachineAccount    types.String `tfsdk:"machine_account"`
	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"`
	Datacenter        types.String `tfsdk:"datacenter"`
	ClusterFolderPath types.String `tfsdk:"cluster_folder_path"`
	Cluster           types.String `tfsdk:"cluster"`
	Host              types.String `tfsdk:"host"`
}

func (MachineCatalogMachineModel) GetAttributes added in v0.6.1

func (MachineCatalogMachineModel) GetAttributes() map[string]schema.Attribute

func (MachineCatalogMachineModel) GetSchema added in v0.6.1

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"`
	RemotePcPowerManagementHypervisor types.String `tfsdk:"remote_pc_power_management_hypervisor"`
	PersistUserChanges                types.String `tfsdk:"persist_user_changes"`
	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                types.Object `tfsdk:"provisioning_scheme"` // ProvisioningSchemeModel
	MachineAccounts                   types.List   `tfsdk:"machine_accounts"`    // List[MachineAccountsModel]
	RemotePcOus                       types.List   `tfsdk:"remote_pc_ous"`       // List[RemotePcOuModel]
	MinimumFunctionalLevel            types.String `tfsdk:"minimum_functional_level"`
	Scopes                            types.Set    `tfsdk:"scopes"`           //Set[String]
	BuiltInScopes                     types.Set    `tfsdk:"built_in_scopes"`  //Set[String]
	InheritedScopes                   types.Set    `tfsdk:"inherited_scopes"` //Set[String]
	MachineCatalogFolderPath          types.String `tfsdk:"machine_catalog_folder_path"`
	Tenants                           types.Set    `tfsdk:"tenants"`  // Set[String]
	Metadata                          types.List   `tfsdk:"metadata"` // List[NameValueStringPairModel]
	Tags                              types.Set    `tfsdk:"tags"`     // Set[String]
	DeleteVirtualMachines             types.Bool   `tfsdk:"delete_virtual_machines"`
	DeleteMachineAccounts             types.String `tfsdk:"delete_machine_accounts"`
	Timeout                           types.Object `tfsdk:"timeout"` // MachineCatalogTimeout
}

MachineCatalogResourceModel maps the resource schema data.

func (MachineCatalogResourceModel) GetAttributes added in v0.6.2

func (MachineCatalogResourceModel) GetAttributes() map[string]schema.Attribute

func (MachineCatalogResourceModel) GetAttributesNamesToMask added in v1.0.20

func (MachineCatalogResourceModel) GetAttributesNamesToMask() map[string]bool

func (MachineCatalogResourceModel) GetSchema added in v0.6.2

type MachineCatalogTimeout added in v1.0.14

type MachineCatalogTimeout struct {
	Create types.Int32 `tfsdk:"create"`
	Update types.Int32 `tfsdk:"update"`
	Delete types.Int32 `tfsdk:"delete"`
}

func (MachineCatalogTimeout) GetAttributes added in v1.0.14

func (MachineCatalogTimeout) GetAttributes() map[string]schema.Attribute

func (MachineCatalogTimeout) GetSchema added in v1.0.14

type MachineDomainIdentityModel

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

func (MachineDomainIdentityModel) GetAttributes added in v0.6.1

func (MachineDomainIdentityModel) GetAttributes() map[string]schema.Attribute

func (MachineDomainIdentityModel) GetSchema added in v0.6.1

type MachinePropertiesModel added in v1.0.7

type MachinePropertiesModel struct {
	Name             types.String `tfsdk:"name"`
	MachineCatalogId types.String `tfsdk:"machine_catalog_id"`
	Tags             types.Set    `tfsdk:"tags"`
}

func (MachinePropertiesModel) GetAttributes added in v1.0.7

func (MachinePropertiesModel) GetAttributes() map[string]schema.Attribute

func (MachinePropertiesModel) GetAttributesNamesToMask added in v1.0.20

func (MachinePropertiesModel) GetAttributesNamesToMask() map[string]bool

func (MachinePropertiesModel) GetSchema added in v1.0.7

func (MachinePropertiesModel) GetSchema() schema.Schema

func (MachinePropertiesModel) RefreshPropertyValues added in v1.0.7

type MachinePropertiesResource added in v1.0.7

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

MachinePropertiesResource is the resource implementation.

func (*MachinePropertiesResource) Configure added in v1.0.7

Configure adds the provider configured client to the data source.

func (*MachinePropertiesResource) Create added in v1.0.7

Create implements resource.Resource.

func (*MachinePropertiesResource) Delete added in v1.0.7

Delete implements resource.Resource.

func (*MachinePropertiesResource) ImportState added in v1.0.7

func (*MachinePropertiesResource) Metadata added in v1.0.7

Metadata returns the data source type name.

func (*MachinePropertiesResource) ModifyPlan added in v1.0.7

func (*MachinePropertiesResource) Read added in v1.0.7

Read implements resource.Resource.

func (*MachinePropertiesResource) Schema added in v1.0.7

Schema defines the schema for the data source.

func (*MachinePropertiesResource) Update added in v1.0.7

Update implements resource.Resource.

func (*MachinePropertiesResource) ValidateConfig added in v1.0.7

type NutanixMachineConfigModel added in v0.5.4

type NutanixMachineConfigModel struct {
	Container                types.String `tfsdk:"container"`
	MasterImage              types.String `tfsdk:"master_image"`
	MasterImageNote          types.String `tfsdk:"master_image_note"`
	ImageUpdateRebootOptions types.Object `tfsdk:"image_update_reboot_options"`
	CpuCount                 types.Int64  `tfsdk:"cpu_count"`
	CoresPerCpuCount         types.Int64  `tfsdk:"cores_per_cpu_count"`
	MemoryMB                 types.Int64  `tfsdk:"memory_mb"`
}

func (NutanixMachineConfigModel) GetAttributes added in v0.6.1

func (NutanixMachineConfigModel) GetAttributes() map[string]schema.Attribute

func (NutanixMachineConfigModel) GetSchema added in v0.6.1

func (*NutanixMachineConfigModel) RefreshProperties added in v0.5.4

type OpenshiftMachineConfigModel added in v1.0.18

type OpenshiftMachineConfigModel struct {
	/** OpenShift Hypervisor **/
	MasterImageVm                types.String `tfsdk:"master_image_vm"`
	MasterImageNote              types.String `tfsdk:"master_image_note"`
	ImageUpdateRebootOptions     types.Object `tfsdk:"image_update_reboot_options"`
	CpuCount                     types.Int64  `tfsdk:"cpu_count"`
	MemoryMB                     types.Int64  `tfsdk:"memory_mb"`
	WritebackCache               types.Object `tfsdk:"writeback_cache"` // OpenshiftWritebackCacheModel
	UseFullDiskCloneProvisioning types.Bool   `tfsdk:"use_full_disk_clone_provisioning"`
	MachineProfile               types.String `tfsdk:"machine_profile"`
}

func (OpenshiftMachineConfigModel) GetAttributes added in v1.0.18

func (OpenshiftMachineConfigModel) GetAttributes() map[string]schema.Attribute

func (OpenshiftMachineConfigModel) GetSchema added in v1.0.18

func (*OpenshiftMachineConfigModel) RefreshProperties added in v1.0.18

type OpenshiftWritebackCacheModel added in v1.0.18

type OpenshiftWritebackCacheModel struct {
	WriteBackCacheDiskSizeGB   types.Int64 `tfsdk:"writeback_cache_disk_size_gb"`
	WriteBackCacheMemorySizeMB types.Int64 `tfsdk:"writeback_cache_memory_size_mb"`
}

func (OpenshiftWritebackCacheModel) GetAttributes added in v1.0.18

func (OpenshiftWritebackCacheModel) GetSchema added in v1.0.18

type PreparedImageConfigModel added in v1.0.9

type PreparedImageConfigModel struct {
	ImageDefinition types.String `tfsdk:"image_definition"`
	ImageVersion    types.String `tfsdk:"image_version"`
}

func (PreparedImageConfigModel) GetAttributes added in v1.0.9

func (PreparedImageConfigModel) GetAttributes() map[string]schema.Attribute

func (PreparedImageConfigModel) GetSchema added in v1.0.9

type ProvisioningSchemeModel

type ProvisioningSchemeModel struct {
	Hypervisor                        types.String `tfsdk:"hypervisor"`
	HypervisorResourcePool            types.String `tfsdk:"hypervisor_resource_pool"`
	AzureMachineConfig                types.Object `tfsdk:"azure_machine_config"`                  // AzureMachineConfigModel
	AwsMachineConfig                  types.Object `tfsdk:"aws_machine_config"`                    // AwsMachineConfigModel
	AmazonWorkspacesCoreMachineConfig types.Object `tfsdk:"amazon_workspaces_core_machine_config"` // AmazonWorkspacesCoreMachineConfigModel
	GcpMachineConfig                  types.Object `tfsdk:"gcp_machine_config"`                    // GcpMachineConfigModel
	VsphereMachineConfig              types.Object `tfsdk:"vsphere_machine_config"`                // VsphereMachineConfigModel
	XenserverMachineConfig            types.Object `tfsdk:"xenserver_machine_config"`              // XenserverMachineConfigModel
	NutanixMachineConfig              types.Object `tfsdk:"nutanix_machine_config"`                // NutanixMachineConfigModel
	SCVMMMachineConfigModel           types.Object `tfsdk:"scvmm_machine_config"`                  // SCVMMMachineConfigModel
	OpenshiftMachineConfig            types.Object `tfsdk:"openshift_machine_config"`              // OpenshiftMachineConfigModel
	NumTotalMachines                  types.Int64  `tfsdk:"number_of_total_machines"`
	NetworkMapping                    types.List   `tfsdk:"network_mapping"`    // List[NetworkMappingModel]
	AvailabilityZones                 types.List   `tfsdk:"availability_zones"` // List[string]
	IdentityType                      types.String `tfsdk:"identity_type"`
	MachineDomainIdentity             types.Object `tfsdk:"machine_domain_identity"`        // MachineDomainIdentityModel
	MachineAccountCreationRules       types.Object `tfsdk:"machine_account_creation_rules"` // MachineAccountCreationRulesModel
	MachineADAccounts                 types.List   `tfsdk:"machine_ad_accounts"`            // Set[MachineADAccountModel]
	CustomProperties                  types.List   `tfsdk:"custom_properties"`              // List[CustomPropertyModel]
	Metadata                          types.List   `tfsdk:"metadata"`                       // List[NameValueStringPairModel]
	ApplyUpdatesToExistingMachines    types.Bool   `tfsdk:"apply_updates_to_existing_machines"`
}

ProvisioningSchemeModel maps the nested provisioning scheme resource schema data.

func (ProvisioningSchemeModel) GetAttributes added in v0.6.1

func (ProvisioningSchemeModel) GetAttributes() map[string]schema.Attribute

func (ProvisioningSchemeModel) GetSchema added in v0.6.1

type PvsDataSource added in v0.6.2

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

func (*PvsDataSource) Configure added in v0.6.2

func (*PvsDataSource) Metadata added in v0.6.2

func (*PvsDataSource) Read added in v0.6.2

func (*PvsDataSource) Schema added in v0.6.2

type PvsDataSourceModel added in v0.6.2

type PvsDataSourceModel struct {
	FarmName  types.String `tfsdk:"pvs_farm_name"`
	SiteId    types.String `tfsdk:"pvs_site_id"`
	SiteName  types.String `tfsdk:"pvs_site_name"`
	StoreName types.String `tfsdk:"pvs_store_name"`
	VdiskId   types.String `tfsdk:"pvs_vdisk_id"`
	VdiskName types.String `tfsdk:"pvs_vdisk_name"`
}

func (PvsDataSourceModel) GetSchema added in v0.6.2

func (PvsDataSourceModel) GetSchema() schema.Schema

func (PvsDataSourceModel) RefreshPropertyValues added in v0.6.2

func (r PvsDataSourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, pvsSiteId string, pvsVdiskId string) PvsDataSourceModel

type RemotePcOuModel

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

func (RemotePcOuModel) GetAttributes added in v0.6.1

func (RemotePcOuModel) GetAttributes() map[string]schema.Attribute

func (RemotePcOuModel) GetKey added in v0.6.1

func (r RemotePcOuModel) GetKey() string

func (RemotePcOuModel) GetSchema added in v0.6.1

type SCVMMMachineConfigModel added in v0.6.3

type SCVMMMachineConfigModel struct {
	MasterImage                  types.String `tfsdk:"master_image"`
	ImageSnapshot                types.String `tfsdk:"image_snapshot"`
	MasterImageNote              types.String `tfsdk:"master_image_note"`
	ImageUpdateRebootOptions     types.Object `tfsdk:"image_update_reboot_options"`
	CpuCount                     types.Int64  `tfsdk:"cpu_count"`
	MemoryMB                     types.Int64  `tfsdk:"memory_mb"`
	UseFullDiskCloneProvisioning types.Bool   `tfsdk:"use_full_disk_clone_provisioning"`
	WritebackCache               types.Object `tfsdk:"writeback_cache"` // VsphereAndSCVMMWritebackCacheModel
}

func (SCVMMMachineConfigModel) GetAttributes added in v0.6.3

func (SCVMMMachineConfigModel) GetAttributes() map[string]schema.Attribute

func (SCVMMMachineConfigModel) GetSchema added in v0.6.3

func (*SCVMMMachineConfigModel) RefreshProperties added in v0.6.3

type SecondaryVmSizeModel added in v1.0.22

type SecondaryVmSizeModel struct {
	VmSize                    types.String `tfsdk:"vm_size"`
	UseSpotPricingIfAvailable types.Bool   `tfsdk:"use_spot_pricing_if_available"`
}

func (SecondaryVmSizeModel) GetAttributes added in v1.0.22

func (SecondaryVmSizeModel) GetAttributes() map[string]schema.Attribute

func (SecondaryVmSizeModel) GetSchema added in v1.0.22

type VsphereAndSCVMMWritebackCacheModel added in v0.6.3

type VsphereAndSCVMMWritebackCacheModel struct {
	WriteBackCacheDiskSizeGB   types.Int64  `tfsdk:"writeback_cache_disk_size_gb"`
	WriteBackCacheMemorySizeMB types.Int64  `tfsdk:"writeback_cache_memory_size_mb"`
	WriteBackCacheDriveLetter  types.String `tfsdk:"writeback_cache_drive_letter"`
}

func (VsphereAndSCVMMWritebackCacheModel) GetAttributes added in v0.6.3

func (VsphereAndSCVMMWritebackCacheModel) GetSchema added in v0.6.3

type VsphereMachineConfigModel added in v0.5.3

type VsphereMachineConfigModel struct {
	/** vSphere Hypervisor **/
	MasterImageVm                types.String `tfsdk:"master_image_vm"`
	VspherePreparedImage         types.Object `tfsdk:"prepared_image"` // PreparedImageConfigModel
	ResourcePoolPath             types.String `tfsdk:"resource_pool_path"`
	ImageSnapshot                types.String `tfsdk:"image_snapshot"`
	MasterImageNote              types.String `tfsdk:"master_image_note"`
	ImageUpdateRebootOptions     types.Object `tfsdk:"image_update_reboot_options"`
	CpuCount                     types.Int64  `tfsdk:"cpu_count"`
	MemoryMB                     types.Int64  `tfsdk:"memory_mb"`
	WritebackCache               types.Object `tfsdk:"writeback_cache"` // VsphereAndSCVMMWritebackCacheModel
	MachineProfile               types.String `tfsdk:"machine_profile"`
	UseFullDiskCloneProvisioning types.Bool   `tfsdk:"use_full_disk_clone_provisioning"`
}

func (VsphereMachineConfigModel) GetAttributes added in v0.6.1

func (VsphereMachineConfigModel) GetAttributes() map[string]schema.Attribute

func (VsphereMachineConfigModel) GetSchema added in v0.6.1

func (*VsphereMachineConfigModel) RefreshProperties added in v0.5.3

type XenserverMachineConfigModel added in v0.5.3

type XenserverMachineConfigModel struct {
	/** XenServer Hypervisor **/
	MasterImageVm                types.String `tfsdk:"master_image_vm"`
	ImageSnapshot                types.String `tfsdk:"image_snapshot"`
	MasterImageNote              types.String `tfsdk:"master_image_note"`
	ImageUpdateRebootOptions     types.Object `tfsdk:"image_update_reboot_options"`
	CpuCount                     types.Int64  `tfsdk:"cpu_count"`
	MemoryMB                     types.Int64  `tfsdk:"memory_mb"`
	WritebackCache               types.Object `tfsdk:"writeback_cache"` // XenserverWritebackCacheModel
	UseFullDiskCloneProvisioning types.Bool   `tfsdk:"use_full_disk_clone_provisioning"`
}

func (XenserverMachineConfigModel) GetAttributes added in v0.6.1

func (XenserverMachineConfigModel) GetAttributes() map[string]schema.Attribute

func (XenserverMachineConfigModel) GetSchema added in v0.6.1

func (*XenserverMachineConfigModel) RefreshProperties added in v0.5.3

type XenserverWritebackCacheModel added in v0.5.3

type XenserverWritebackCacheModel struct {
	WriteBackCacheDiskSizeGB   types.Int64 `tfsdk:"writeback_cache_disk_size_gb"`
	WriteBackCacheMemorySizeMB types.Int64 `tfsdk:"writeback_cache_memory_size_mb"`
}

func (XenserverWritebackCacheModel) GetAttributes added in v0.6.1

func (XenserverWritebackCacheModel) GetSchema added in v0.6.1

Jump to

Keyboard shortcuts

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