Documentation ¶
Index ¶
- Variables
- func NewMachineCatalogDataSource() datasource.DataSource
- func NewMachineCatalogResource() resource.Resource
- func NewPvsDataSource() datasource.DataSource
- type AwsMachineConfigModel
- type AzureComputeGallerySettings
- type AzureDiskEncryptionSetModel
- type AzureMachineConfigModel
- type AzureMachineProfileModel
- type AzureMasterImageModel
- type AzurePvsConfigurationModel
- type AzureWritebackCacheModel
- type CustomPropertyModel
- type GalleryImageModel
- type GcpMachineConfigModel
- type GcpWritebackCacheModel
- type ImageUpdateRebootOptionsModel
- type MachineAccountCreationRulesModel
- type MachineAccountsModel
- type MachineCatalogDataSource
- func (d *MachineCatalogDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *MachineCatalogDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *MachineCatalogDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *MachineCatalogDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type MachineCatalogDataSourceModel
- type MachineCatalogMachineModel
- type MachineCatalogResourceModel
- type MachineDomainIdentityModel
- type NetworkMappingModel
- func (NetworkMappingModel) GetAttributes() map[string]schema.Attribute
- func (n NetworkMappingModel) GetKey() string
- func (NetworkMappingModel) GetSchema() schema.NestedAttributeObject
- func (networkMapping NetworkMappingModel) RefreshListItem(_ context.Context, _ *diag.Diagnostics, ...) util.ModelWithAttributes
- type NutanixMachineConfigModel
- type ProvisioningSchemeModel
- type PvsDataSource
- func (d *PvsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *PvsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *PvsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *PvsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type PvsDataSourceModel
- type RemotePcOuModel
- type SCVMMMachineConfigModel
- type VsphereAndSCVMMWritebackCacheModel
- type VsphereMachineConfigModel
- type XenserverMachineConfigModel
- type XenserverWritebackCacheModel
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 NewMachineCatalogDataSource ¶ added in v0.6.2
func NewMachineCatalogDataSource() datasource.DataSource
func NewMachineCatalogResource ¶
NewMachineCatalogResource is a helper function to simplify the provider implementation.
func NewPvsDataSource ¶ added in v0.6.2
func NewPvsDataSource() datasource.DataSource
Types ¶
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 **/ 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) GetSchema() schema.SingleNestedAttribute
func (*AwsMachineConfigModel) RefreshProperties ¶
func (mc *AwsMachineConfigModel) RefreshProperties(ctx context.Context, diagnostics *diag.Diagnostics, catalog citrixorchestration.MachineCatalogDetailResponseModel)
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
func (AzureComputeGallerySettings) GetSchema() schema.SingleNestedAttribute
type AzureDiskEncryptionSetModel ¶ added in v0.5.5
type AzureDiskEncryptionSetModel struct { DiskEncryptionSetName types.String `tfsdk:"disk_encryption_set_name"` DiskEncryptionSetResourceGroup types.String `tfsdk:"disk_encryption_set_resource_group"` }
func (AzureDiskEncryptionSetModel) GetAttributes ¶ added in v0.6.1
func (AzureDiskEncryptionSetModel) GetAttributes() map[string]schema.Attribute
func (AzureDiskEncryptionSetModel) GetSchema ¶ added in v0.6.1
func (AzureDiskEncryptionSetModel) GetSchema() schema.SingleNestedAttribute
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"` 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"` }
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) GetSchema() schema.SingleNestedAttribute
func (*AzureMachineConfigModel) RefreshProperties ¶
func (mc *AzureMachineConfigModel) RefreshProperties(ctx context.Context, diagnostics *diag.Diagnostics, catalog citrixorchestration.MachineCatalogDetailResponseModel, provisioningType *citrixorchestration.ProvisioningType)
type AzureMachineProfileModel ¶ added in v0.5.5
type AzureMachineProfileModel struct { MachineProfileVmName types.String `tfsdk:"machine_profile_vm_name"` MachineProfileTemplateSpecName types.String `tfsdk:"machine_profile_template_spec_name"` MachineProfileTemplateSpecVersion types.String `tfsdk:"machine_profile_template_spec_version"` MachineProfileResourceGroup types.String `tfsdk:"machine_profile_resource_group"` }
func (AzureMachineProfileModel) GetAttributes ¶ added in v0.6.1
func (AzureMachineProfileModel) GetAttributes() map[string]schema.Attribute
func (AzureMachineProfileModel) GetSchema ¶ added in v0.6.1
func (AzureMachineProfileModel) GetSchema() schema.SingleNestedAttribute
type AzureMasterImageModel ¶ added in v0.5.5
type AzureMasterImageModel struct { ResourceGroup types.String `tfsdk:"resource_group"` 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
func (AzureMasterImageModel) GetSchema() schema.SingleNestedAttribute
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
func (AzurePvsConfigurationModel) GetSchema() schema.SingleNestedAttribute
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
func (AzureWritebackCacheModel) GetSchema() schema.SingleNestedAttribute
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
func (CustomPropertyModel) GetSchema() schema.NestedAttributeObject
type GalleryImageModel ¶
type GalleryImageModel struct { Gallery types.String `tfsdk:"gallery"` Definition types.String `tfsdk:"definition"` Version types.String `tfsdk:"version"` }
func (GalleryImageModel) GetAttributes ¶ added in v0.6.1
func (GalleryImageModel) GetAttributes() map[string]schema.Attribute
func (GalleryImageModel) GetSchema ¶ added in v0.6.1
func (GalleryImageModel) GetSchema() schema.SingleNestedAttribute
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) GetSchema() schema.SingleNestedAttribute
func (*GcpMachineConfigModel) RefreshProperties ¶
func (mc *GcpMachineConfigModel) RefreshProperties(ctx context.Context, diagnostics *diag.Diagnostics, catalog citrixorchestration.MachineCatalogDetailResponseModel)
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
func (GcpWritebackCacheModel) GetSchema() schema.SingleNestedAttribute
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) GetAttributes() map[string]schema.Attribute
func (ImageUpdateRebootOptionsModel) GetSchema ¶ added in v0.6.1
func (ImageUpdateRebootOptionsModel) GetSchema() schema.SingleNestedAttribute
func (ImageUpdateRebootOptionsModel) ValidateConfig ¶ added in v0.6.1
func (rebootOptions ImageUpdateRebootOptionsModel) ValidateConfig(diagnostics *diag.Diagnostics)
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.
func (MachineAccountCreationRulesModel) GetAttributes ¶ added in v0.6.1
func (MachineAccountCreationRulesModel) GetAttributes() map[string]schema.Attribute
func (MachineAccountCreationRulesModel) GetSchema ¶ added in v0.6.1
func (MachineAccountCreationRulesModel) GetSchema() schema.SingleNestedAttribute
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
func (MachineAccountsModel) GetSchema() schema.NestedAttributeObject
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 (d *MachineCatalogDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*MachineCatalogDataSource) Metadata ¶ added in v0.6.2
func (d *MachineCatalogDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*MachineCatalogDataSource) Read ¶ added in v0.6.2
func (d *MachineCatalogDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*MachineCatalogDataSource) Schema ¶ added in v0.6.2
func (d *MachineCatalogDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
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] }
MachineCatalogDataSourceModel defines the Machine Catalog data source implementation.
func (MachineCatalogDataSourceModel) GetSchema ¶ added in v0.6.2
func (MachineCatalogDataSourceModel) GetSchema() schema.Schema
func (MachineCatalogDataSourceModel) RefreshPropertyValues ¶ added in v0.6.2
func (r MachineCatalogDataSourceModel) RefreshPropertyValues(catalog *citrixorchestration.MachineCatalogDetailResponseModel, vdas *citrixorchestration.MachineResponseModelCollection) MachineCatalogDataSourceModel
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"` 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
func (MachineCatalogMachineModel) GetSchema() schema.NestedAttributeObject
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 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] MachineCatalogFolderPath types.String `tfsdk:"machine_catalog_folder_path"` Tenants types.Set `tfsdk:"tenants"` // Set[String] }
MachineCatalogResourceModel maps the resource schema data.
func (MachineCatalogResourceModel) GetAttributes ¶ added in v0.6.2
func (MachineCatalogResourceModel) GetAttributes() map[string]schema.Attribute
func (MachineCatalogResourceModel) GetSchema ¶ added in v0.6.2
func (MachineCatalogResourceModel) GetSchema() schema.Schema
func (MachineCatalogResourceModel) RefreshPropertyValues ¶
func (r MachineCatalogResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, client *citrixclient.CitrixDaasClient, catalog *citrixorchestration.MachineCatalogDetailResponseModel, connectionType *citrixorchestration.HypervisorConnectionType, machines *citrixorchestration.MachineResponseModelCollection, pluginId string) MachineCatalogResourceModel
type MachineDomainIdentityModel ¶
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"` }
func (MachineDomainIdentityModel) GetAttributes ¶ added in v0.6.1
func (MachineDomainIdentityModel) GetAttributes() map[string]schema.Attribute
func (MachineDomainIdentityModel) GetSchema ¶ added in v0.6.1
func (MachineDomainIdentityModel) GetSchema() schema.SingleNestedAttribute
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.
func (NetworkMappingModel) GetAttributes ¶ added in v0.6.1
func (NetworkMappingModel) GetAttributes() map[string]schema.Attribute
func (NetworkMappingModel) GetKey ¶ added in v0.6.1
func (n NetworkMappingModel) GetKey() string
func (NetworkMappingModel) GetSchema ¶ added in v0.6.1
func (NetworkMappingModel) GetSchema() schema.NestedAttributeObject
func (NetworkMappingModel) RefreshListItem ¶ added in v0.6.0
func (networkMapping NetworkMappingModel) RefreshListItem(_ context.Context, _ *diag.Diagnostics, nic citrixorchestration.NetworkMapResponseModel) util.ModelWithAttributes
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) GetSchema() schema.SingleNestedAttribute
func (*NutanixMachineConfigModel) RefreshProperties ¶ added in v0.5.4
func (mc *NutanixMachineConfigModel) RefreshProperties(catalog citrixorchestration.MachineCatalogDetailResponseModel)
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 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 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 CustomProperties types.List `tfsdk:"custom_properties"` // List[CustomPropertyModel] }
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
func (ProvisioningSchemeModel) GetSchema() schema.SingleNestedAttribute
type PvsDataSource ¶ added in v0.6.2
type PvsDataSource struct {
// contains filtered or unexported fields
}
func (*PvsDataSource) Configure ¶ added in v0.6.2
func (d *PvsDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*PvsDataSource) Metadata ¶ added in v0.6.2
func (d *PvsDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*PvsDataSource) Read ¶ added in v0.6.2
func (d *PvsDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*PvsDataSource) Schema ¶ added in v0.6.2
func (d *PvsDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
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
func (RemotePcOuModel) GetSchema() schema.NestedAttributeObject
func (RemotePcOuModel) RefreshListItem ¶
func (scope RemotePcOuModel) RefreshListItem(_ context.Context, _ *diag.Diagnostics, remote citrixorchestration.RemotePCEnrollmentScopeResponseModel) util.ModelWithAttributes
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) GetSchema() schema.SingleNestedAttribute
func (*SCVMMMachineConfigModel) RefreshProperties ¶ added in v0.6.3
func (mc *SCVMMMachineConfigModel) RefreshProperties(ctx context.Context, diagnostics *diag.Diagnostics, catalog citrixorchestration.MachineCatalogDetailResponseModel)
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) GetAttributes() map[string]schema.Attribute
func (VsphereAndSCVMMWritebackCacheModel) GetSchema ¶ added in v0.6.3
func (VsphereAndSCVMMWritebackCacheModel) GetSchema() schema.SingleNestedAttribute
type VsphereMachineConfigModel ¶ added in v0.5.3
type VsphereMachineConfigModel struct { /** vSphere 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"` // VsphereAndSCVMMWritebackCacheModel MachineProfile types.String `tfsdk:"machine_profile"` }
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) GetSchema() schema.SingleNestedAttribute
func (*VsphereMachineConfigModel) RefreshProperties ¶ added in v0.5.3
func (mc *VsphereMachineConfigModel) RefreshProperties(ctx context.Context, diagnostics *diag.Diagnostics, catalog citrixorchestration.MachineCatalogDetailResponseModel)
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 }
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) GetSchema() schema.SingleNestedAttribute
func (*XenserverMachineConfigModel) RefreshProperties ¶ added in v0.5.3
func (mc *XenserverMachineConfigModel) RefreshProperties(ctx context.Context, diagnostics *diag.Diagnostics, catalog citrixorchestration.MachineCatalogDetailResponseModel)
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) GetAttributes() map[string]schema.Attribute
func (XenserverWritebackCacheModel) GetSchema ¶ added in v0.6.1
func (XenserverWritebackCacheModel) GetSchema() schema.SingleNestedAttribute
Source Files ¶
- machine_catalog_common_utils.go
- machine_catalog_data_source.go
- machine_catalog_data_source_model.go
- machine_catalog_manual_utils.go
- machine_catalog_mcs_pvs_utils.go
- machine_catalog_remote_pc_utils.go
- machine_catalog_resource.go
- machine_catalog_resource_model.go
- machine_config.go
- pvs_data_source.go
- pvs_data_source_model.go
Click to show internal directories.
Click to hide internal directories.