Documentation ¶
Index ¶
- func PossibleValuesForDayOfWeek() []string
- func PossibleValuesForSessionHostLoadBalancingAlgorithm() []string
- func PossibleValuesForStopHostsWhen() []string
- func ValidatePooledScheduleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateScalingPlanID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DayOfWeek
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type PooledScheduleId
- type ScalingPlanId
- type ScalingPlanPooledSchedule
- type ScalingPlanPooledScheduleClient
- func (c ScalingPlanPooledScheduleClient) Create(ctx context.Context, id PooledScheduleId, input ScalingPlanPooledSchedule) (result CreateOperationResponse, err error)
- func (c ScalingPlanPooledScheduleClient) Delete(ctx context.Context, id PooledScheduleId) (result DeleteOperationResponse, err error)
- func (c ScalingPlanPooledScheduleClient) Get(ctx context.Context, id PooledScheduleId) (result GetOperationResponse, err error)
- func (c ScalingPlanPooledScheduleClient) List(ctx context.Context, id ScalingPlanId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c ScalingPlanPooledScheduleClient) ListComplete(ctx context.Context, id ScalingPlanId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ScalingPlanPooledScheduleClient) ListCompleteMatchingPredicate(ctx context.Context, id ScalingPlanId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- func (c ScalingPlanPooledScheduleClient) Update(ctx context.Context, id PooledScheduleId, input ScalingPlanPooledSchedulePatch) (result UpdateOperationResponse, err error)
- type ScalingPlanPooledScheduleOperationPredicate
- type ScalingPlanPooledSchedulePatch
- type ScalingPlanPooledScheduleProperties
- type SessionHostLoadBalancingAlgorithm
- type StopHostsWhen
- type Time
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDayOfWeek ¶
func PossibleValuesForDayOfWeek() []string
func PossibleValuesForSessionHostLoadBalancingAlgorithm ¶
func PossibleValuesForSessionHostLoadBalancingAlgorithm() []string
func PossibleValuesForStopHostsWhen ¶
func PossibleValuesForStopHostsWhen() []string
func ValidatePooledScheduleID ¶
ValidatePooledScheduleID checks that 'input' can be parsed as a Pooled Schedule ID
func ValidateScalingPlanID ¶
ValidateScalingPlanID checks that 'input' can be parsed as a Scaling Plan ID
Types ¶
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response Model *ScalingPlanPooledSchedule }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ScalingPlanPooledSchedule }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ScalingPlanPooledSchedule
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]ScalingPlanPooledSchedule // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type PooledScheduleId ¶
type PooledScheduleId struct { SubscriptionId string ResourceGroupName string ScalingPlanName string PooledScheduleName string }
PooledScheduleId is a struct representing the Resource ID for a Pooled Schedule
func NewPooledScheduleID ¶
func NewPooledScheduleID(subscriptionId string, resourceGroupName string, scalingPlanName string, pooledScheduleName string) PooledScheduleId
NewPooledScheduleID returns a new PooledScheduleId struct
func ParsePooledScheduleID ¶
func ParsePooledScheduleID(input string) (*PooledScheduleId, error)
ParsePooledScheduleID parses 'input' into a PooledScheduleId
func ParsePooledScheduleIDInsensitively ¶
func ParsePooledScheduleIDInsensitively(input string) (*PooledScheduleId, error)
ParsePooledScheduleIDInsensitively parses 'input' case-insensitively into a PooledScheduleId note: this method should only be used for API response data and not user input
func (PooledScheduleId) ID ¶
func (id PooledScheduleId) ID() string
ID returns the formatted Pooled Schedule ID
func (PooledScheduleId) Segments ¶
func (id PooledScheduleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Pooled Schedule ID
func (PooledScheduleId) String ¶
func (id PooledScheduleId) String() string
String returns a human-readable description of this Pooled Schedule ID
type ScalingPlanId ¶
ScalingPlanId is a struct representing the Resource ID for a Scaling Plan
func NewScalingPlanID ¶
func NewScalingPlanID(subscriptionId string, resourceGroupName string, scalingPlanName string) ScalingPlanId
NewScalingPlanID returns a new ScalingPlanId struct
func ParseScalingPlanID ¶
func ParseScalingPlanID(input string) (*ScalingPlanId, error)
ParseScalingPlanID parses 'input' into a ScalingPlanId
func ParseScalingPlanIDInsensitively ¶
func ParseScalingPlanIDInsensitively(input string) (*ScalingPlanId, error)
ParseScalingPlanIDInsensitively parses 'input' case-insensitively into a ScalingPlanId note: this method should only be used for API response data and not user input
func (ScalingPlanId) ID ¶
func (id ScalingPlanId) ID() string
ID returns the formatted Scaling Plan ID
func (ScalingPlanId) Segments ¶
func (id ScalingPlanId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scaling Plan ID
func (ScalingPlanId) String ¶
func (id ScalingPlanId) String() string
String returns a human-readable description of this Scaling Plan ID
type ScalingPlanPooledSchedule ¶
type ScalingPlanPooledSchedule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties ScalingPlanPooledScheduleProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ScalingPlanPooledScheduleClient ¶
type ScalingPlanPooledScheduleClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewScalingPlanPooledScheduleClientWithBaseURI ¶
func NewScalingPlanPooledScheduleClientWithBaseURI(endpoint string) ScalingPlanPooledScheduleClient
func (ScalingPlanPooledScheduleClient) Create ¶
func (c ScalingPlanPooledScheduleClient) Create(ctx context.Context, id PooledScheduleId, input ScalingPlanPooledSchedule) (result CreateOperationResponse, err error)
Create ...
func (ScalingPlanPooledScheduleClient) Delete ¶
func (c ScalingPlanPooledScheduleClient) Delete(ctx context.Context, id PooledScheduleId) (result DeleteOperationResponse, err error)
Delete ...
func (ScalingPlanPooledScheduleClient) Get ¶
func (c ScalingPlanPooledScheduleClient) Get(ctx context.Context, id PooledScheduleId) (result GetOperationResponse, err error)
Get ...
func (ScalingPlanPooledScheduleClient) List ¶
func (c ScalingPlanPooledScheduleClient) List(ctx context.Context, id ScalingPlanId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (ScalingPlanPooledScheduleClient) ListComplete ¶
func (c ScalingPlanPooledScheduleClient) ListComplete(ctx context.Context, id ScalingPlanId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ScalingPlanPooledScheduleClient) ListCompleteMatchingPredicate ¶
func (c ScalingPlanPooledScheduleClient) ListCompleteMatchingPredicate(ctx context.Context, id ScalingPlanId, options ListOperationOptions, predicate ScalingPlanPooledScheduleOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ScalingPlanPooledScheduleClient) Update ¶
func (c ScalingPlanPooledScheduleClient) Update(ctx context.Context, id PooledScheduleId, input ScalingPlanPooledSchedulePatch) (result UpdateOperationResponse, err error)
Update ...
type ScalingPlanPooledScheduleOperationPredicate ¶
func (ScalingPlanPooledScheduleOperationPredicate) Matches ¶
func (p ScalingPlanPooledScheduleOperationPredicate) Matches(input ScalingPlanPooledSchedule) bool
type ScalingPlanPooledSchedulePatch ¶
type ScalingPlanPooledSchedulePatch struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ScalingPlanPooledScheduleProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ScalingPlanPooledScheduleProperties ¶
type ScalingPlanPooledScheduleProperties struct { DaysOfWeek *[]DayOfWeek `json:"daysOfWeek,omitempty"` OffPeakLoadBalancingAlgorithm *SessionHostLoadBalancingAlgorithm `json:"offPeakLoadBalancingAlgorithm,omitempty"` OffPeakStartTime *Time `json:"offPeakStartTime,omitempty"` PeakLoadBalancingAlgorithm *SessionHostLoadBalancingAlgorithm `json:"peakLoadBalancingAlgorithm,omitempty"` PeakStartTime *Time `json:"peakStartTime,omitempty"` RampDownCapacityThresholdPct *int64 `json:"rampDownCapacityThresholdPct,omitempty"` RampDownForceLogoffUsers *bool `json:"rampDownForceLogoffUsers,omitempty"` RampDownLoadBalancingAlgorithm *SessionHostLoadBalancingAlgorithm `json:"rampDownLoadBalancingAlgorithm,omitempty"` RampDownMinimumHostsPct *int64 `json:"rampDownMinimumHostsPct,omitempty"` RampDownNotificationMessage *string `json:"rampDownNotificationMessage,omitempty"` RampDownStartTime *Time `json:"rampDownStartTime,omitempty"` RampDownStopHostsWhen *StopHostsWhen `json:"rampDownStopHostsWhen,omitempty"` RampDownWaitTimeMinutes *int64 `json:"rampDownWaitTimeMinutes,omitempty"` RampUpCapacityThresholdPct *int64 `json:"rampUpCapacityThresholdPct,omitempty"` RampUpLoadBalancingAlgorithm *SessionHostLoadBalancingAlgorithm `json:"rampUpLoadBalancingAlgorithm,omitempty"` RampUpMinimumHostsPct *int64 `json:"rampUpMinimumHostsPct,omitempty"` RampUpStartTime *Time `json:"rampUpStartTime,omitempty"` }
type SessionHostLoadBalancingAlgorithm ¶
type SessionHostLoadBalancingAlgorithm string
const ( SessionHostLoadBalancingAlgorithmBreadthFirst SessionHostLoadBalancingAlgorithm = "BreadthFirst" SessionHostLoadBalancingAlgorithmDepthFirst SessionHostLoadBalancingAlgorithm = "DepthFirst" )
type StopHostsWhen ¶
type StopHostsWhen string
const ( StopHostsWhenZeroActiveSessions StopHostsWhen = "ZeroActiveSessions" StopHostsWhenZeroSessions StopHostsWhen = "ZeroSessions" )
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response Model *ScalingPlanPooledSchedule }
Source Files ¶
- client.go
- constants.go
- id_pooledschedule.go
- id_scalingplan.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_update_autorest.go
- model_scalingplanpooledschedule.go
- model_scalingplanpooledschedulepatch.go
- model_scalingplanpooledscheduleproperties.go
- model_time.go
- predicates.go
- version.go