Documentation
¶
Overview ¶
Copyright © 2024. Citrix Systems, Inc.
Copyright © 2024. Citrix Systems, Inc.
Index ¶
- func NewCitrixManagedCatalogResource() resource.Resource
- type CitrixManagedCatalogResourceModel
- func (CitrixManagedCatalogResourceModel) GetAttributes() map[string]schema.Attribute
- func (CitrixManagedCatalogResourceModel) GetAttributesNamesToMask() map[string]bool
- func (CitrixManagedCatalogResourceModel) GetSchema() schema.Schema
- func (r CitrixManagedCatalogResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, ...) CitrixManagedCatalogResourceModel
- type MachineNamingSchemeModel
- type PowerScheduleModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CitrixManagedCatalogResourceModel ¶
type CitrixManagedCatalogResourceModel struct {
Id types.String `tfsdk:"id"`
Name types.String `tfsdk:"name"`
CatalogType types.String `tfsdk:"catalog_type"`
Region types.String `tfsdk:"region"`
SubscriptionName types.String `tfsdk:"subscription_name"`
TemplateImageId types.String `tfsdk:"template_image_id"`
MachineSize types.String `tfsdk:"machine_size"`
StorageType types.String `tfsdk:"storage_type"`
UseManagedDisks types.Bool `tfsdk:"use_managed_disks"`
NumberOfMachines types.Int64 `tfsdk:"number_of_machines"`
MaxUsersPerVm types.Int64 `tfsdk:"max_users_per_vm"`
MachineNamingScheme types.Object `tfsdk:"machine_naming_scheme"` // MachineNamingSchemeModel
PowerSchedule types.Object `tfsdk:"power_schedule"` // PowerScheduleModel
}
func (CitrixManagedCatalogResourceModel) GetAttributes ¶
func (CitrixManagedCatalogResourceModel) GetAttributes() map[string]schema.Attribute
func (CitrixManagedCatalogResourceModel) GetAttributesNamesToMask ¶
func (CitrixManagedCatalogResourceModel) GetAttributesNamesToMask() map[string]bool
func (CitrixManagedCatalogResourceModel) GetSchema ¶
func (CitrixManagedCatalogResourceModel) GetSchema() schema.Schema
func (CitrixManagedCatalogResourceModel) RefreshPropertyValues ¶
func (r CitrixManagedCatalogResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, catalog *citrixquickdeploy.CatalogOverview, capacity *citrixquickdeploy.CatalogCapacitySettingsModel, region *catalogservice.DeploymentRegionModel) CitrixManagedCatalogResourceModel
type MachineNamingSchemeModel ¶
type MachineNamingSchemeModel struct {
NamingScheme types.String `tfsdk:"naming_scheme"`
NamingSchemeType types.String `tfsdk:"naming_scheme_type"`
}
func (MachineNamingSchemeModel) Equals ¶
func (a MachineNamingSchemeModel) Equals(b MachineNamingSchemeModel) bool
func (MachineNamingSchemeModel) GetAttributes ¶
func (MachineNamingSchemeModel) GetAttributes() map[string]schema.Attribute
func (MachineNamingSchemeModel) GetSchema ¶
func (MachineNamingSchemeModel) GetSchema() schema.SingleNestedAttribute
type PowerScheduleModel ¶
type PowerScheduleModel struct {
PeakDisconnectedSessionTimeout types.Int64 `tfsdk:"peak_disconnected_session_timeout"`
OffPeakDisconnectedSessionTimeout types.Int64 `tfsdk:"off_peak_disconnected_session_timeout"`
PeakExtendedDisconnectTimeout types.Int64 `tfsdk:"peak_extended_disconnect_timeout"`
OffPeakExtendedDisconnectTimeout types.Int64 `tfsdk:"off_peak_extended_disconnect_timeout"`
PeakBufferCapacity types.Int64 `tfsdk:"peak_buffer_capacity"`
OffPeakBufferCapacity types.Int64 `tfsdk:"off_peak_buffer_capacity"`
PeakMinInstances types.Int64 `tfsdk:"peak_min_instances"`
OffPeakMinInstances types.Int64 `tfsdk:"off_peak_min_instances"`
PeakDisconnectedSessionAction types.String `tfsdk:"peak_disconnected_session_action"`
OffPeakDisconnectedSessionAction types.String `tfsdk:"off_peak_disconnected_session_action"`
PeakEndTime types.Int64 `tfsdk:"peak_end_time"`
PeakStartTime types.Int64 `tfsdk:"peak_start_time"`
PeakTimeZoneId types.String `tfsdk:"peak_time_zone_id"`
Weekdays types.Set `tfsdk:"weekdays"`
PowerOffDelay types.Int64 `tfsdk:"power_off_delay"`
}
func (PowerScheduleModel) GetAttributes ¶
func (PowerScheduleModel) GetAttributes() map[string]schema.Attribute
func (PowerScheduleModel) GetSchema ¶
func (PowerScheduleModel) GetSchema() schema.SingleNestedAttribute
Click to show internal directories.
Click to hide internal directories.