Documentation
¶
Index ¶
- func NewMachineCatalogResource() resource.Resource
- func ParseCustomPropertiesToClientModel(provisioningScheme ProvisioningSchemeModel, ...) []citrixorchestration.NameValueStringPairModel
- func ParseNetworkMappingToClientModel(networkMapping NetworkMappingModel, ...) ([]citrixorchestration.NetworkMapRequestModel, error)
- type AwsMachineConfigModel
- type AzureMachineConfigModel
- type GalleryImageModel
- type GcpMachineConfigModel
- type MachineAccountCreationRulesModel
- type MachineAccountsModel
- type MachineCatalogMachineModel
- type MachineCatalogResourceModel
- type MachineDomainIdentityModel
- type MachineProfileModel
- type NetworkMappingModel
- type ProvisioningSchemeModel
- type RemotePcOuModel
- type WritebackCacheModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMachineCatalogResource ¶
NewMachineCatalogResource is a helper function to simplify the provider implementation.
func ParseCustomPropertiesToClientModel ¶
func ParseCustomPropertiesToClientModel(provisioningScheme ProvisioningSchemeModel, connectionType citrixorchestration.HypervisorConnectionType) []citrixorchestration.NameValueStringPairModel
func ParseNetworkMappingToClientModel ¶
func ParseNetworkMappingToClientModel(networkMapping NetworkMappingModel, resourcePool *citrixorchestration.HypervisorResourcePoolDetailResponseModel) ([]citrixorchestration.NetworkMapRequestModel, error)
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
func (mc *AwsMachineConfigModel) RefreshProperties(catalog citrixorchestration.MachineCatalogDetailResponseModel)
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
func (mc *AzureMachineConfigModel) RefreshProperties(catalog citrixorchestration.MachineCatalogDetailResponseModel)
type GalleryImageModel ¶
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
func (mc *GcpMachineConfigModel) RefreshProperties(catalog citrixorchestration.MachineCatalogDetailResponseModel)
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 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.
func (MachineCatalogResourceModel) RefreshPropertyValues ¶
func (r MachineCatalogResourceModel) RefreshPropertyValues(ctx context.Context, client *citrixclient.CitrixDaasClient, catalog *citrixorchestration.MachineCatalogDetailResponseModel, connectionType *citrixorchestration.HypervisorConnectionType, machines *citrixorchestration.MachineResponseModelCollection) MachineCatalogResourceModel
type MachineDomainIdentityModel ¶ added in v0.4.0
type MachineProfileModel ¶ added in v0.4.0
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
func (scope RemotePcOuModel) RefreshListItem(remote citrixorchestration.RemotePCEnrollmentScopeResponseModel) RemotePcOuModel
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.
Click to show internal directories.
Click to hide internal directories.