Documentation ¶
Index ¶
- func ParseCustomPropertiesToClientModel(provisioningScheme ProvisioningSchemeModel, ...) *[]citrixorchestration.NameValueStringPairModel
- func ParseNetworkMappingToClientModel(networkMapping NetworkMappingModel, ...) []citrixorchestration.NetworkMapRequestModel
- func ParsePowerTimeSchemesPluginToClientModel(powerTimeSchemes []DeliveryGroupPowerTimeScheme) []citrixorchestration.PowerTimeSchemeRequestModel
- type DeliveryGroupMachineCatalogModel
- type DeliveryGroupPowerManagementSettings
- type DeliveryGroupPowerTimeScheme
- type DeliveryGroupResourceModel
- type GalleryImageModel
- type HypervisorResourceModel
- type HypervisorResourcePoolResourceModel
- type MachineAccountCreationRulesModel
- type MachineCatalogResourceModel
- type MachineConfigModel
- type NetworkMappingModel
- type PowerTimeSchemePoolSizeScheduleRequestModel
- type ProvisioningSchemeModel
- type VdaDataSourceModel
- type VdaModel
- type WritebackCacheModel
- type ZoneResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseCustomPropertiesToClientModel ¶ added in v0.3.0
func ParseCustomPropertiesToClientModel(provisioningScheme ProvisioningSchemeModel, connectionType citrixorchestration.HypervisorConnectionType) *[]citrixorchestration.NameValueStringPairModel
func ParseNetworkMappingToClientModel ¶ added in v0.3.0
func ParseNetworkMappingToClientModel(networkMapping NetworkMappingModel, resourcePool *citrixorchestration.HypervisorResourcePoolDetailResponseModel) []citrixorchestration.NetworkMapRequestModel
func ParsePowerTimeSchemesPluginToClientModel ¶ added in v0.3.0
func ParsePowerTimeSchemesPluginToClientModel(powerTimeSchemes []DeliveryGroupPowerTimeScheme) []citrixorchestration.PowerTimeSchemeRequestModel
Types ¶
type DeliveryGroupMachineCatalogModel ¶ added in v0.3.0
type DeliveryGroupPowerManagementSettings ¶ added in v0.3.0
type DeliveryGroupPowerManagementSettings struct { Timezone types.String `tfsdk:"timezone"` PeakDisconnectTimeoutMinutes types.Int64 `tfsdk:"peak_disconnect_timeout_minutes"` PeakLogOffAction types.String `tfsdk:"peak_log_off_action"` PeakDisconnectAction types.String `tfsdk:"peak_disconnect_action"` PeakExtendedDisconnectAction types.String `tfsdk:"peak_extended_disconnect_action"` PeakExtendedDisconnectTimeoutMinutes types.Int64 `tfsdk:"peak_extended_disconnect_timeout_minutes"` OffPeakDisconnectTimeoutMinutes types.Int64 `tfsdk:"off_peak_disconnect_timeout_minutes"` OffPeakLogOffAction types.String `tfsdk:"off_peak_log_off_action"` OffPeakDisconnectAction types.String `tfsdk:"off_peak_disconnect_action"` OffPeakExtendedDisconnectAction types.String `tfsdk:"off_peak_extended_disconnect_action"` OffPeakExtendedDisconnectTimeoutMinutes types.Int64 `tfsdk:"off_peak_extended_disconnect_timeout_minutes"` PeakBufferSizePercent types.Int64 `tfsdk:"peak_buffer_size_percent"` OffPeakBufferSizePercent types.Int64 `tfsdk:"off_peak_buffer_size_percent"` PowerOffDelayMinutes types.Int64 `tfsdk:"power_off_delay_minutes"` DisconnectPeakIdleSessionAfterSeconds types.Int64 `tfsdk:"disconnect_peak_idle_session_after_seconds"` DisconnectOffPeakIdleSessionAfterSeconds types.Int64 `tfsdk:"disconnect_off_peak_idle_session_after_seconds"` LogoffPeakDisconnectedSessionAfterSeconds types.Int64 `tfsdk:"log_off_peak_disconnected_session_after_seconds"` LogoffOffPeakDisconnectedSessionAfterSeconds types.Int64 `tfsdk:"log_off_off_peak_disconnected_session_after_seconds"` PowerTimeSchemes []DeliveryGroupPowerTimeScheme `tfsdk:"power_time_schemes"` }
type DeliveryGroupPowerTimeScheme ¶ added in v0.3.0
type DeliveryGroupPowerTimeScheme struct { DaysOfWeek []types.String `tfsdk:"days_of_week"` DisplayName types.String `tfsdk:"display_name"` PeakTimeRanges []types.String `tfsdk:"peak_time_ranges"` PoolSizeSchedule []PowerTimeSchemePoolSizeScheduleRequestModel `tfsdk:"pool_size_schedules"` PoolUsingPercentage types.Bool `tfsdk:"pool_using_percentage"` }
func ParsePowerTimeSchemesClientToPluginModel ¶ added in v0.3.0
func ParsePowerTimeSchemesClientToPluginModel(powerTimeSchemesResponse []citrixorchestration.PowerTimeSchemeResponseModel) []DeliveryGroupPowerTimeScheme
type DeliveryGroupResourceModel ¶ added in v0.3.0
type DeliveryGroupResourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` AssociatedMachineCatalogs []DeliveryGroupMachineCatalogModel `tfsdk:"associated_machine_catalogs"` Users []types.String `tfsdk:"users"` AutoscaleEnabled types.Bool `tfsdk:"autoscale_enabled"` AutoscaleSettings *DeliveryGroupPowerManagementSettings `tfsdk:"autoscale_settings"` TotalMachines types.Int64 `tfsdk:"total_machines"` }
DeliveryGroupResourceModel maps the resource schema data.
func (DeliveryGroupResourceModel) RefreshPropertyValues ¶ added in v0.3.0
func (r DeliveryGroupResourceModel) RefreshPropertyValues(deliveryGroup *citrixorchestration.DeliveryGroupDetailResponseModel, dgDesktops *citrixorchestration.DesktopResponseModelCollection, dgPowerTimeSchemes *citrixorchestration.PowerTimeSchemeResponseModelCollection, dgMachines *citrixorchestration.MachineResponseModelCollection) DeliveryGroupResourceModel
type GalleryImageModel ¶ added in v0.3.4
type HypervisorResourceModel ¶ added in v0.3.0
type HypervisorResourceModel struct { /**** Connection Details ****/ Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` ConnectionType types.String `tfsdk:"connection_type"` Zone types.String `tfsdk:"zone"` /** Azure Connection **/ ApplicationId types.String `tfsdk:"application_id"` ApplicationSecret types.String `tfsdk:"application_secret"` ApplicationSecretExpirationDate types.String `tfsdk:"application_secret_expiration_date"` SubscriptionId types.String `tfsdk:"subscription_id"` ActiveDirectoryId types.String `tfsdk:"active_directory_id"` /** AWS EC2 Connection **/ AwsRegion types.String `tfsdk:"aws_region"` ApiKey types.String `tfsdk:"api_key"` SecretKey types.String `tfsdk:"secret_key"` /** GCP Connection **/ ServiceAccountId types.String `tfsdk:"service_account_id"` ServiceAccountCredentials types.String `tfsdk:"service_account_credentials"` }
HypervisorResourceModel maps the resource schema data.
func (HypervisorResourceModel) RefreshPropertyValues ¶ added in v0.3.0
func (r HypervisorResourceModel) RefreshPropertyValues(hypervisor *citrixorchestration.HypervisorDetailResponseModel) HypervisorResourceModel
type HypervisorResourcePoolResourceModel ¶ added in v0.3.0
type HypervisorResourcePoolResourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Hypervisor types.String `tfsdk:"hypervisor"` HypervisorConnectionType types.String `tfsdk:"hypervisor_connection_type"` /**** 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"` /** AWS Resource Pool **/ AvailabilityZone types.String `tfsdk:"availability_zone"` /** GCP Resource Pool **/ ProjectName types.String `tfsdk:"project_name"` }
func (HypervisorResourcePoolResourceModel) RefreshPropertyValues ¶ added in v0.3.0
func (r HypervisorResourcePoolResourceModel) RefreshPropertyValues(resourcePool citrixorchestration.HypervisorResourcePoolDetailResponseModel, hypervisorConnectionType citrixorchestration.HypervisorConnectionType) HypervisorResourcePoolResourceModel
type MachineAccountCreationRulesModel ¶ added in v0.3.0
type MachineAccountCreationRulesModel struct { NamingScheme types.String `tfsdk:"naming_scheme"` NamingSchemeType types.String `tfsdk:"naming_scheme_type"` Domain types.String `tfsdk:"domain"` Ou types.String `tfsdk:"domain_ou"` }
MachineAccountCreationRulesModel maps the nested machine account creation rules resource schema data.
type MachineCatalogResourceModel ¶ added in v0.3.0
type MachineCatalogResourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` ServiceAccount types.String `tfsdk:"service_account"` ServiceAccountPassword types.String `tfsdk:"service_account_password"` AllocationType types.String `tfsdk:"allocation_type"` SessionSupport types.String `tfsdk:"session_support"` Zone types.String `tfsdk:"zone"` VdaUpgradeType types.String `tfsdk:"vda_upgrade_type"` ProvisioningScheme *ProvisioningSchemeModel `tfsdk:"provisioning_scheme"` }
MachineCatalogResourceModel maps the resource schema data.
func (MachineCatalogResourceModel) RefreshPropertyValues ¶ added in v0.3.0
func (r MachineCatalogResourceModel) RefreshPropertyValues(ctx context.Context, catalog *citrixorchestration.MachineCatalogDetailResponseModel, connectionType citrixorchestration.HypervisorConnectionType) MachineCatalogResourceModel
type MachineConfigModel ¶ added in v0.3.0
type MachineConfigModel struct { Hypervisor types.String `tfsdk:"hypervisor"` HypervisorResourcePool types.String `tfsdk:"hypervisor_resource_pool"` 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"` /** AWS Hypervisor **/ ImageAmi types.String `tfsdk:"image_ami"` /** GCP Hypervisor **/ MachineProfile types.String `tfsdk:"machine_profile"` MachineSnapshot types.String `tfsdk:"machine_snapshot"` }
type NetworkMappingModel ¶ added in v0.3.0
type NetworkMappingModel struct { NetworkDevice types.String `tfsdk:"network_device"` Network types.String `tfsdk:"network"` }
NetworkMappingModel maps the nested network mapping resource schema data.
type PowerTimeSchemePoolSizeScheduleRequestModel ¶ added in v0.3.0
type ProvisioningSchemeModel ¶ added in v0.3.0
type ProvisioningSchemeModel struct { MachineConfig *MachineConfigModel `tfsdk:"machine_config"` NumTotalMachines types.Int64 `tfsdk:"number_of_total_machines"` NetworkMapping *NetworkMappingModel `tfsdk:"network_mapping"` MachineAccountCreationRules *MachineAccountCreationRulesModel `tfsdk:"machine_account_creation_rules"` AvailabilityZones types.String `tfsdk:"availability_zones"` StorageType types.String `tfsdk:"storage_type"` VdaResourceGroup types.String `tfsdk:"vda_resource_group"` UseManagedDisks types.Bool `tfsdk:"use_managed_disks"` WritebackCache *WritebackCacheModel `tfsdk:"writeback_cache"` }
ProvisioningSchemeModel maps the nested provisioning scheme resource schema data.
func (*ProvisioningSchemeModel) RefreshProperties ¶ added in v0.3.0
func (res *ProvisioningSchemeModel) RefreshProperties(stringPairs []citrixorchestration.NameValueStringPairModel)
type VdaDataSourceModel ¶ added in v0.3.3
type VdaDataSourceModel struct { MachineCatalog types.String `tfsdk:"machine_catalog"` DeliveryGroup types.String `tfsdk:"delivery_group"` Vdas []VdaModel `tfsdk:"vdas"` }
VdaDataSourceModel defines the VDA data source implementation.
func (VdaDataSourceModel) RefreshPropertyValues ¶ added in v0.3.3
func (r VdaDataSourceModel) RefreshPropertyValues(vdas *citrixorchestration.MachineResponseModelCollection) VdaDataSourceModel
type VdaModel ¶ added in v0.3.3
type VdaModel struct { MachineName types.String `tfsdk:"machine_name"` HostedMachineId types.String `tfsdk:"hosted_machine_id"` AssociatedMachineCatalog types.String `tfsdk:"associated_machine_catalog"` AssociatedDeliveryGroup types.String `tfsdk:"associated_delivery_group"` }
VdaModel defines the single VDA data model implementation.
type WritebackCacheModel ¶ added in v0.3.0
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.
type ZoneResourceModel ¶
type ZoneResourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Metadata *[]util.NameValueStringPairModel `tfsdk:"metadata"` }
ZoneResourceModel maps the resource schema data.
func (ZoneResourceModel) RefreshPropertyValues ¶
func (r ZoneResourceModel) RefreshPropertyValues(zone *citrixorchestration.ZoneDetailResponseModel, onpremises bool) ZoneResourceModel