Documentation ¶
Index ¶
- func PossibleValuesForDaysOfWeek() []string
- func PossibleValuesForScalingHostPoolType() []string
- func PossibleValuesForSessionHostLoadBalancingAlgorithm() []string
- func PossibleValuesForSkuTier() []string
- func PossibleValuesForStopHostsWhen() []string
- func ValidateHostPoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateScalingPlanID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DaysOfWeek
- type DeleteOperationResponse
- type GetOperationResponse
- type HostPoolId
- type ListByHostPoolCompleteResult
- type ListByHostPoolOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type Plan
- type ScalingHostPoolReference
- type ScalingHostPoolType
- type ScalingPlan
- type ScalingPlanClient
- func (c ScalingPlanClient) Create(ctx context.Context, id ScalingPlanId, input ScalingPlan) (result CreateOperationResponse, err error)
- func (c ScalingPlanClient) Delete(ctx context.Context, id ScalingPlanId) (result DeleteOperationResponse, err error)
- func (c ScalingPlanClient) Get(ctx context.Context, id ScalingPlanId) (result GetOperationResponse, err error)
- func (c ScalingPlanClient) ListByHostPool(ctx context.Context, id HostPoolId) (resp ListByHostPoolOperationResponse, err error)
- func (c ScalingPlanClient) ListByHostPoolComplete(ctx context.Context, id HostPoolId) (ListByHostPoolCompleteResult, error)
- func (c ScalingPlanClient) ListByHostPoolCompleteMatchingPredicate(ctx context.Context, id HostPoolId, predicate ScalingPlanOperationPredicate) (resp ListByHostPoolCompleteResult, err error)
- func (c ScalingPlanClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c ScalingPlanClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c ScalingPlanClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c ScalingPlanClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
- func (c ScalingPlanClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c ScalingPlanClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c ScalingPlanClient) Update(ctx context.Context, id ScalingPlanId, input ScalingPlanPatch) (result UpdateOperationResponse, err error)
- type ScalingPlanId
- type ScalingPlanOperationPredicate
- type ScalingPlanPatch
- type ScalingPlanPatchProperties
- type ScalingPlanProperties
- type ScalingSchedule
- type SessionHostLoadBalancingAlgorithm
- type Sku
- type SkuTier
- type StopHostsWhen
- type Time
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDaysOfWeek ¶
func PossibleValuesForDaysOfWeek() []string
func PossibleValuesForScalingHostPoolType ¶
func PossibleValuesForScalingHostPoolType() []string
func PossibleValuesForSessionHostLoadBalancingAlgorithm ¶
func PossibleValuesForSessionHostLoadBalancingAlgorithm() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func PossibleValuesForStopHostsWhen ¶
func PossibleValuesForStopHostsWhen() []string
func ValidateHostPoolID ¶
ValidateHostPoolID checks that 'input' can be parsed as a Host Pool 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 *ScalingPlan }
type DaysOfWeek ¶
type DaysOfWeek string
const ( DaysOfWeekFriday DaysOfWeek = "Friday" DaysOfWeekMonday DaysOfWeek = "Monday" DaysOfWeekSaturday DaysOfWeek = "Saturday" DaysOfWeekSunday DaysOfWeek = "Sunday" DaysOfWeekThursday DaysOfWeek = "Thursday" DaysOfWeekTuesday DaysOfWeek = "Tuesday" DaysOfWeekWednesday DaysOfWeek = "Wednesday" )
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ScalingPlan }
type HostPoolId ¶
HostPoolId is a struct representing the Resource ID for a Host Pool
func NewHostPoolID ¶
func NewHostPoolID(subscriptionId string, resourceGroupName string, hostPoolName string) HostPoolId
NewHostPoolID returns a new HostPoolId struct
func ParseHostPoolID ¶
func ParseHostPoolID(input string) (*HostPoolId, error)
ParseHostPoolID parses 'input' into a HostPoolId
func ParseHostPoolIDInsensitively ¶
func ParseHostPoolIDInsensitively(input string) (*HostPoolId, error)
ParseHostPoolIDInsensitively parses 'input' case-insensitively into a HostPoolId note: this method should only be used for API response data and not user input
func (HostPoolId) Segments ¶
func (id HostPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Host Pool ID
func (HostPoolId) String ¶
func (id HostPoolId) String() string
String returns a human-readable description of this Host Pool ID
type ListByHostPoolCompleteResult ¶
type ListByHostPoolCompleteResult struct {
Items []ScalingPlan
}
type ListByHostPoolOperationResponse ¶
type ListByHostPoolOperationResponse struct { HttpResponse *http.Response Model *[]ScalingPlan // contains filtered or unexported fields }
func (ListByHostPoolOperationResponse) HasMore ¶
func (r ListByHostPoolOperationResponse) HasMore() bool
func (ListByHostPoolOperationResponse) LoadMore ¶
func (r ListByHostPoolOperationResponse) LoadMore(ctx context.Context) (resp ListByHostPoolOperationResponse, err error)
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []ScalingPlan
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]ScalingPlan // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []ScalingPlan
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]ScalingPlan // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type ScalingHostPoolType ¶
type ScalingHostPoolType string
const (
ScalingHostPoolTypePooled ScalingHostPoolType = "Pooled"
)
type ScalingPlan ¶
type ScalingPlan struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Identity *identity.SystemAssigned `json:"identity,omitempty"` Kind *string `json:"kind,omitempty"` Location *string `json:"location,omitempty"` ManagedBy *string `json:"managedBy,omitempty"` Name *string `json:"name,omitempty"` Plan *Plan `json:"plan,omitempty"` Properties *ScalingPlanProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ScalingPlanClient ¶
func NewScalingPlanClientWithBaseURI ¶
func NewScalingPlanClientWithBaseURI(endpoint string) ScalingPlanClient
func (ScalingPlanClient) Create ¶
func (c ScalingPlanClient) Create(ctx context.Context, id ScalingPlanId, input ScalingPlan) (result CreateOperationResponse, err error)
Create ...
func (ScalingPlanClient) Delete ¶
func (c ScalingPlanClient) Delete(ctx context.Context, id ScalingPlanId) (result DeleteOperationResponse, err error)
Delete ...
func (ScalingPlanClient) Get ¶
func (c ScalingPlanClient) Get(ctx context.Context, id ScalingPlanId) (result GetOperationResponse, err error)
Get ...
func (ScalingPlanClient) ListByHostPool ¶
func (c ScalingPlanClient) ListByHostPool(ctx context.Context, id HostPoolId) (resp ListByHostPoolOperationResponse, err error)
ListByHostPool ...
func (ScalingPlanClient) ListByHostPoolComplete ¶
func (c ScalingPlanClient) ListByHostPoolComplete(ctx context.Context, id HostPoolId) (ListByHostPoolCompleteResult, error)
ListByHostPoolComplete retrieves all of the results into a single object
func (ScalingPlanClient) ListByHostPoolCompleteMatchingPredicate ¶
func (c ScalingPlanClient) ListByHostPoolCompleteMatchingPredicate(ctx context.Context, id HostPoolId, predicate ScalingPlanOperationPredicate) (resp ListByHostPoolCompleteResult, err error)
ListByHostPoolCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ScalingPlanClient) ListByResourceGroup ¶
func (c ScalingPlanClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ScalingPlanClient) ListByResourceGroupComplete ¶
func (c ScalingPlanClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (ScalingPlanClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c ScalingPlanClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ScalingPlanOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ScalingPlanClient) ListBySubscription ¶
func (c ScalingPlanClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ScalingPlanClient) ListBySubscriptionComplete ¶
func (c ScalingPlanClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (ScalingPlanClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c ScalingPlanClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ScalingPlanOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ScalingPlanClient) Update ¶
func (c ScalingPlanClient) Update(ctx context.Context, id ScalingPlanId, input ScalingPlanPatch) (result UpdateOperationResponse, err error)
Update ...
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 ScalingPlanOperationPredicate ¶
type ScalingPlanOperationPredicate struct { Etag *string Id *string Kind *string Location *string ManagedBy *string Name *string Type *string }
func (ScalingPlanOperationPredicate) Matches ¶
func (p ScalingPlanOperationPredicate) Matches(input ScalingPlan) bool
type ScalingPlanPatch ¶
type ScalingPlanPatch struct { Properties *ScalingPlanPatchProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ScalingPlanPatchProperties ¶
type ScalingPlanPatchProperties struct { Description *string `json:"description,omitempty"` ExclusionTag *string `json:"exclusionTag,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HostPoolReferences *[]ScalingHostPoolReference `json:"hostPoolReferences,omitempty"` Schedules *[]ScalingSchedule `json:"schedules,omitempty"` TimeZone *string `json:"timeZone,omitempty"` }
type ScalingPlanProperties ¶
type ScalingPlanProperties struct { Description *string `json:"description,omitempty"` ExclusionTag *string `json:"exclusionTag,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` HostPoolReferences *[]ScalingHostPoolReference `json:"hostPoolReferences,omitempty"` HostPoolType *ScalingHostPoolType `json:"hostPoolType,omitempty"` ObjectId *string `json:"objectId,omitempty"` Schedules *[]ScalingSchedule `json:"schedules,omitempty"` TimeZone *string `json:"timeZone,omitempty"` }
type ScalingSchedule ¶
type ScalingSchedule struct { DaysOfWeek *[]DaysOfWeek `json:"daysOfWeek,omitempty"` Name *string `json:"name,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 *ScalingPlan }
Source Files ¶
- client.go
- constants.go
- id_hostpool.go
- id_scalingplan.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyhostpool_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_update_autorest.go
- model_plan.go
- model_scalinghostpoolreference.go
- model_scalingplan.go
- model_scalingplanpatch.go
- model_scalingplanpatchproperties.go
- model_scalingplanproperties.go
- model_scalingschedule.go
- model_sku.go
- model_time.go
- predicates.go
- version.go