Documentation ¶
Index ¶
- type Args
- type HostPool
- type HostPoolAttributes
- func (hp HostPoolAttributes) HostpoolId() terra.StringValue
- func (hp HostPoolAttributes) InternalRef() (terra.Reference, error)
- func (hp HostPoolAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hp HostPoolAttributes) InternalWithRef(ref terra.Reference) HostPoolAttributes
- func (hp HostPoolAttributes) ScalingPlanEnabled() terra.BoolValue
- type HostPoolState
- type Resource
- func (avdsp *Resource) Attributes() azurermVirtualDesktopScalingPlanAttributes
- func (avdsp *Resource) Configuration() interface{}
- func (avdsp *Resource) DependOn() terra.Reference
- func (avdsp *Resource) Dependencies() terra.Dependencies
- func (avdsp *Resource) ImportState(state io.Reader) error
- func (avdsp *Resource) LifecycleManagement() *terra.Lifecycle
- func (avdsp *Resource) LocalName() string
- func (avdsp *Resource) State() (*azurermVirtualDesktopScalingPlanState, bool)
- func (avdsp *Resource) StateMust() *azurermVirtualDesktopScalingPlanState
- func (avdsp *Resource) Type() string
- type Schedule
- type ScheduleAttributes
- func (s ScheduleAttributes) DaysOfWeek() terra.SetValue[terra.StringValue]
- func (s ScheduleAttributes) InternalRef() (terra.Reference, error)
- func (s ScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s ScheduleAttributes) InternalWithRef(ref terra.Reference) ScheduleAttributes
- func (s ScheduleAttributes) Name() terra.StringValue
- func (s ScheduleAttributes) OffPeakLoadBalancingAlgorithm() terra.StringValue
- func (s ScheduleAttributes) OffPeakStartTime() terra.StringValue
- func (s ScheduleAttributes) PeakLoadBalancingAlgorithm() terra.StringValue
- func (s ScheduleAttributes) PeakStartTime() terra.StringValue
- func (s ScheduleAttributes) RampDownCapacityThresholdPercent() terra.NumberValue
- func (s ScheduleAttributes) RampDownForceLogoffUsers() terra.BoolValue
- func (s ScheduleAttributes) RampDownLoadBalancingAlgorithm() terra.StringValue
- func (s ScheduleAttributes) RampDownMinimumHostsPercent() terra.NumberValue
- func (s ScheduleAttributes) RampDownNotificationMessage() terra.StringValue
- func (s ScheduleAttributes) RampDownStartTime() terra.StringValue
- func (s ScheduleAttributes) RampDownStopHostsWhen() terra.StringValue
- func (s ScheduleAttributes) RampDownWaitTimeMinutes() terra.NumberValue
- func (s ScheduleAttributes) RampUpCapacityThresholdPercent() terra.NumberValue
- func (s ScheduleAttributes) RampUpLoadBalancingAlgorithm() terra.StringValue
- func (s ScheduleAttributes) RampUpMinimumHostsPercent() terra.NumberValue
- func (s ScheduleAttributes) RampUpStartTime() terra.StringValue
- type ScheduleState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // ExclusionTag: string, optional ExclusionTag terra.StringValue `hcl:"exclusion_tag,attr"` // FriendlyName: string, optional FriendlyName terra.StringValue `hcl:"friendly_name,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TimeZone: string, required TimeZone terra.StringValue `hcl:"time_zone,attr" validate:"required"` // HostPool: min=0 HostPool []HostPool `hcl:"host_pool,block" validate:"min=0"` // Schedule: min=1 Schedule []Schedule `hcl:"schedule,block" validate:"min=1"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_virtual_desktop_scaling_plan.
type HostPool ¶
type HostPool struct { // HostpoolId: string, required HostpoolId terra.StringValue `hcl:"hostpool_id,attr" validate:"required"` // ScalingPlanEnabled: bool, required ScalingPlanEnabled terra.BoolValue `hcl:"scaling_plan_enabled,attr" validate:"required"` }
type HostPoolAttributes ¶
type HostPoolAttributes struct {
// contains filtered or unexported fields
}
func (HostPoolAttributes) HostpoolId ¶
func (hp HostPoolAttributes) HostpoolId() terra.StringValue
func (HostPoolAttributes) InternalRef ¶
func (hp HostPoolAttributes) InternalRef() (terra.Reference, error)
func (HostPoolAttributes) InternalTokens ¶
func (hp HostPoolAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HostPoolAttributes) InternalWithRef ¶
func (hp HostPoolAttributes) InternalWithRef(ref terra.Reference) HostPoolAttributes
func (HostPoolAttributes) ScalingPlanEnabled ¶
func (hp HostPoolAttributes) ScalingPlanEnabled() terra.BoolValue
type HostPoolState ¶
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource azurerm_virtual_desktop_scaling_plan.
func (*Resource) Attributes ¶
func (avdsp *Resource) Attributes() azurermVirtualDesktopScalingPlanAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (avdsp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (avdsp *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Schedule ¶
type Schedule struct { // DaysOfWeek: set of string, required DaysOfWeek terra.SetValue[terra.StringValue] `hcl:"days_of_week,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // OffPeakLoadBalancingAlgorithm: string, required OffPeakLoadBalancingAlgorithm terra.StringValue `hcl:"off_peak_load_balancing_algorithm,attr" validate:"required"` // OffPeakStartTime: string, required OffPeakStartTime terra.StringValue `hcl:"off_peak_start_time,attr" validate:"required"` // PeakLoadBalancingAlgorithm: string, required PeakLoadBalancingAlgorithm terra.StringValue `hcl:"peak_load_balancing_algorithm,attr" validate:"required"` // PeakStartTime: string, required PeakStartTime terra.StringValue `hcl:"peak_start_time,attr" validate:"required"` // RampDownCapacityThresholdPercent: number, required RampDownCapacityThresholdPercent terra.NumberValue `hcl:"ramp_down_capacity_threshold_percent,attr" validate:"required"` // RampDownForceLogoffUsers: bool, required RampDownForceLogoffUsers terra.BoolValue `hcl:"ramp_down_force_logoff_users,attr" validate:"required"` // RampDownLoadBalancingAlgorithm: string, required RampDownLoadBalancingAlgorithm terra.StringValue `hcl:"ramp_down_load_balancing_algorithm,attr" validate:"required"` // RampDownMinimumHostsPercent: number, required RampDownMinimumHostsPercent terra.NumberValue `hcl:"ramp_down_minimum_hosts_percent,attr" validate:"required"` // RampDownNotificationMessage: string, required RampDownNotificationMessage terra.StringValue `hcl:"ramp_down_notification_message,attr" validate:"required"` // RampDownStartTime: string, required RampDownStartTime terra.StringValue `hcl:"ramp_down_start_time,attr" validate:"required"` // RampDownStopHostsWhen: string, required RampDownStopHostsWhen terra.StringValue `hcl:"ramp_down_stop_hosts_when,attr" validate:"required"` // RampDownWaitTimeMinutes: number, required RampDownWaitTimeMinutes terra.NumberValue `hcl:"ramp_down_wait_time_minutes,attr" validate:"required"` // RampUpCapacityThresholdPercent: number, optional RampUpCapacityThresholdPercent terra.NumberValue `hcl:"ramp_up_capacity_threshold_percent,attr"` // RampUpLoadBalancingAlgorithm: string, required RampUpLoadBalancingAlgorithm terra.StringValue `hcl:"ramp_up_load_balancing_algorithm,attr" validate:"required"` // RampUpMinimumHostsPercent: number, optional RampUpMinimumHostsPercent terra.NumberValue `hcl:"ramp_up_minimum_hosts_percent,attr"` // RampUpStartTime: string, required RampUpStartTime terra.StringValue `hcl:"ramp_up_start_time,attr" validate:"required"` }
type ScheduleAttributes ¶
type ScheduleAttributes struct {
// contains filtered or unexported fields
}
func (ScheduleAttributes) DaysOfWeek ¶
func (s ScheduleAttributes) DaysOfWeek() terra.SetValue[terra.StringValue]
func (ScheduleAttributes) InternalRef ¶
func (s ScheduleAttributes) InternalRef() (terra.Reference, error)
func (ScheduleAttributes) InternalTokens ¶
func (s ScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScheduleAttributes) InternalWithRef ¶
func (s ScheduleAttributes) InternalWithRef(ref terra.Reference) ScheduleAttributes
func (ScheduleAttributes) Name ¶
func (s ScheduleAttributes) Name() terra.StringValue
func (ScheduleAttributes) OffPeakLoadBalancingAlgorithm ¶
func (s ScheduleAttributes) OffPeakLoadBalancingAlgorithm() terra.StringValue
func (ScheduleAttributes) OffPeakStartTime ¶
func (s ScheduleAttributes) OffPeakStartTime() terra.StringValue
func (ScheduleAttributes) PeakLoadBalancingAlgorithm ¶
func (s ScheduleAttributes) PeakLoadBalancingAlgorithm() terra.StringValue
func (ScheduleAttributes) PeakStartTime ¶
func (s ScheduleAttributes) PeakStartTime() terra.StringValue
func (ScheduleAttributes) RampDownCapacityThresholdPercent ¶
func (s ScheduleAttributes) RampDownCapacityThresholdPercent() terra.NumberValue
func (ScheduleAttributes) RampDownForceLogoffUsers ¶
func (s ScheduleAttributes) RampDownForceLogoffUsers() terra.BoolValue
func (ScheduleAttributes) RampDownLoadBalancingAlgorithm ¶
func (s ScheduleAttributes) RampDownLoadBalancingAlgorithm() terra.StringValue
func (ScheduleAttributes) RampDownMinimumHostsPercent ¶
func (s ScheduleAttributes) RampDownMinimumHostsPercent() terra.NumberValue
func (ScheduleAttributes) RampDownNotificationMessage ¶
func (s ScheduleAttributes) RampDownNotificationMessage() terra.StringValue
func (ScheduleAttributes) RampDownStartTime ¶
func (s ScheduleAttributes) RampDownStartTime() terra.StringValue
func (ScheduleAttributes) RampDownStopHostsWhen ¶
func (s ScheduleAttributes) RampDownStopHostsWhen() terra.StringValue
func (ScheduleAttributes) RampDownWaitTimeMinutes ¶
func (s ScheduleAttributes) RampDownWaitTimeMinutes() terra.NumberValue
func (ScheduleAttributes) RampUpCapacityThresholdPercent ¶
func (s ScheduleAttributes) RampUpCapacityThresholdPercent() terra.NumberValue
func (ScheduleAttributes) RampUpLoadBalancingAlgorithm ¶
func (s ScheduleAttributes) RampUpLoadBalancingAlgorithm() terra.StringValue
func (ScheduleAttributes) RampUpMinimumHostsPercent ¶
func (s ScheduleAttributes) RampUpMinimumHostsPercent() terra.NumberValue
func (ScheduleAttributes) RampUpStartTime ¶
func (s ScheduleAttributes) RampUpStartTime() terra.StringValue
type ScheduleState ¶
type ScheduleState struct { DaysOfWeek []string `json:"days_of_week"` Name string `json:"name"` OffPeakLoadBalancingAlgorithm string `json:"off_peak_load_balancing_algorithm"` OffPeakStartTime string `json:"off_peak_start_time"` PeakLoadBalancingAlgorithm string `json:"peak_load_balancing_algorithm"` PeakStartTime string `json:"peak_start_time"` RampDownCapacityThresholdPercent float64 `json:"ramp_down_capacity_threshold_percent"` RampDownForceLogoffUsers bool `json:"ramp_down_force_logoff_users"` RampDownLoadBalancingAlgorithm string `json:"ramp_down_load_balancing_algorithm"` RampDownMinimumHostsPercent float64 `json:"ramp_down_minimum_hosts_percent"` RampDownNotificationMessage string `json:"ramp_down_notification_message"` RampDownStartTime string `json:"ramp_down_start_time"` RampDownStopHostsWhen string `json:"ramp_down_stop_hosts_when"` RampDownWaitTimeMinutes float64 `json:"ramp_down_wait_time_minutes"` RampUpCapacityThresholdPercent float64 `json:"ramp_up_capacity_threshold_percent"` RampUpLoadBalancingAlgorithm string `json:"ramp_up_load_balancing_algorithm"` RampUpMinimumHostsPercent float64 `json:"ramp_up_minimum_hosts_percent"` RampUpStartTime string `json:"ramp_up_start_time"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
Click to show internal directories.
Click to hide internal directories.