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 ListCustomPager
- 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) (result 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, ...) (result 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 OData *odata.OData Model *ScalingPlanPooledSchedule }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ScalingPlanPooledSchedule }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ScalingPlanPooledSchedule }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ScalingPlanPooledSchedule }
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) FromParseResult ¶
func (id *PooledScheduleId) FromParseResult(input resourceids.ParseResult) error
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) FromParseResult ¶
func (id *ScalingPlanId) FromParseResult(input resourceids.ParseResult) error
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 *resourcemanager.Client
}
func NewScalingPlanPooledScheduleClientWithBaseURI ¶
func NewScalingPlanPooledScheduleClientWithBaseURI(sdkApi sdkEnv.Api) (*ScalingPlanPooledScheduleClient, error)
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) (result ListOperationResponse, err error)
List ...
func (ScalingPlanPooledScheduleClient) ListComplete ¶
func (c ScalingPlanPooledScheduleClient) ListComplete(ctx context.Context, id ScalingPlanId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ScalingPlanPooledScheduleClient) ListCompleteMatchingPredicate ¶
func (c ScalingPlanPooledScheduleClient) ListCompleteMatchingPredicate(ctx context.Context, id ScalingPlanId, options ListOperationOptions, predicate ScalingPlanPooledScheduleOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies 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" )
func (*SessionHostLoadBalancingAlgorithm) UnmarshalJSON ¶
func (s *SessionHostLoadBalancingAlgorithm) UnmarshalJSON(bytes []byte) error
type StopHostsWhen ¶
type StopHostsWhen string
const ( StopHostsWhenZeroActiveSessions StopHostsWhen = "ZeroActiveSessions" StopHostsWhenZeroSessions StopHostsWhen = "ZeroSessions" )
func (*StopHostsWhen) UnmarshalJSON ¶
func (s *StopHostsWhen) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ScalingPlanPooledSchedule }
Source Files ¶
- client.go
- constants.go
- id_pooledschedule.go
- id_scalingplan.go
- method_create.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_scalingplanpooledschedule.go
- model_scalingplanpooledschedulepatch.go
- model_scalingplanpooledscheduleproperties.go
- model_time.go
- predicates.go
- version.go