Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + 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 struct + HttpResponse *http.Response + Model *ScalingPlan + OData *odata.OData + type DaysOfWeek string + const DaysOfWeekFriday + const DaysOfWeekMonday + const DaysOfWeekSaturday + const DaysOfWeekSunday + const DaysOfWeekThursday + const DaysOfWeekTuesday + const DaysOfWeekWednesday + func (s *DaysOfWeek) UnmarshalJSON(bytes []byte) error + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *ScalingPlan + OData *odata.OData + type HostPoolId struct + HostPoolName string + ResourceGroupName string + SubscriptionId string + func NewHostPoolID(subscriptionId string, resourceGroupName string, hostPoolName string) HostPoolId + func ParseHostPoolID(input string) (*HostPoolId, error) + func ParseHostPoolIDInsensitively(input string) (*HostPoolId, error) + func (id *HostPoolId) FromParseResult(input resourceids.ParseResult) error + func (id HostPoolId) ID() string + func (id HostPoolId) Segments() []resourceids.Segment + func (id HostPoolId) String() string + type ListByHostPoolCompleteResult struct + Items []ScalingPlan + LatestHttpResponse *http.Response + type ListByHostPoolCustomPager struct + NextLink *odata.Link + func (p *ListByHostPoolCustomPager) NextPageLink() *odata.Link + type ListByHostPoolOperationOptions struct + InitialSkip *int64 + IsDescending *bool + PageSize *int64 + func DefaultListByHostPoolOperationOptions() ListByHostPoolOperationOptions + func (o ListByHostPoolOperationOptions) ToHeaders() *client.Headers + func (o ListByHostPoolOperationOptions) ToOData() *odata.Query + func (o ListByHostPoolOperationOptions) ToQuery() *client.QueryParams + type ListByHostPoolOperationResponse struct + HttpResponse *http.Response + Model *[]ScalingPlan + OData *odata.OData + type ListByResourceGroupCompleteResult struct + Items []ScalingPlan + LatestHttpResponse *http.Response + type ListByResourceGroupCustomPager struct + NextLink *odata.Link + func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link + type ListByResourceGroupOperationOptions struct + InitialSkip *int64 + IsDescending *bool + PageSize *int64 + func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions + func (o ListByResourceGroupOperationOptions) ToHeaders() *client.Headers + func (o ListByResourceGroupOperationOptions) ToOData() *odata.Query + func (o ListByResourceGroupOperationOptions) ToQuery() *client.QueryParams + type ListByResourceGroupOperationResponse struct + HttpResponse *http.Response + Model *[]ScalingPlan + OData *odata.OData + type ListBySubscriptionCompleteResult struct + Items []ScalingPlan + LatestHttpResponse *http.Response + type ListBySubscriptionCustomPager struct + NextLink *odata.Link + func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link + type ListBySubscriptionOperationOptions struct + InitialSkip *int64 + IsDescending *bool + PageSize *int64 + func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions + func (o ListBySubscriptionOperationOptions) ToHeaders() *client.Headers + func (o ListBySubscriptionOperationOptions) ToOData() *odata.Query + func (o ListBySubscriptionOperationOptions) ToQuery() *client.QueryParams + type ListBySubscriptionOperationResponse struct + HttpResponse *http.Response + Model *[]ScalingPlan + OData *odata.OData + type Plan struct + Name string + Product string + PromotionCode *string + Publisher string + Version *string + type ScalingHostPoolReference struct + HostPoolArmPath *string + ScalingPlanEnabled *bool + type ScalingHostPoolType string + const ScalingHostPoolTypePooled + func (s *ScalingHostPoolType) UnmarshalJSON(bytes []byte) error + type ScalingPlan struct + Etag *string + Id *string + Identity *identity.SystemAssigned + Kind *string + Location *string + ManagedBy *string + Name *string + Plan *Plan + Properties ScalingPlanProperties + Sku *Sku + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type ScalingPlanClient struct + Client *resourcemanager.Client + func NewScalingPlanClientWithBaseURI(sdkApi sdkEnv.Api) (*ScalingPlanClient, error) + 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, options ListByHostPoolOperationOptions) (result ListByHostPoolOperationResponse, err error) + func (c ScalingPlanClient) ListByHostPoolComplete(ctx context.Context, id HostPoolId, options ListByHostPoolOperationOptions) (ListByHostPoolCompleteResult, error) + func (c ScalingPlanClient) ListByHostPoolCompleteMatchingPredicate(ctx context.Context, id HostPoolId, options ListByHostPoolOperationOptions, ...) (result ListByHostPoolCompleteResult, err error) + func (c ScalingPlanClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result 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, ...) (result ListByResourceGroupCompleteResult, err error) + func (c ScalingPlanClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, ...) (result 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, ...) (result ListBySubscriptionCompleteResult, err error) + func (c ScalingPlanClient) Update(ctx context.Context, id ScalingPlanId, input ScalingPlanPatch) (result UpdateOperationResponse, err error) + type ScalingPlanId struct + ResourceGroupName string + ScalingPlanName string + SubscriptionId string + func NewScalingPlanID(subscriptionId string, resourceGroupName string, scalingPlanName string) ScalingPlanId + func ParseScalingPlanID(input string) (*ScalingPlanId, error) + func ParseScalingPlanIDInsensitively(input string) (*ScalingPlanId, error) + func (id *ScalingPlanId) FromParseResult(input resourceids.ParseResult) error + func (id ScalingPlanId) ID() string + func (id ScalingPlanId) Segments() []resourceids.Segment + func (id ScalingPlanId) String() string + type ScalingPlanOperationPredicate struct + Etag *string + Id *string + Kind *string + Location *string + ManagedBy *string + Name *string + Type *string + func (p ScalingPlanOperationPredicate) Matches(input ScalingPlan) bool + type ScalingPlanPatch struct + Properties *ScalingPlanPatchProperties + Tags *map[string]string + type ScalingPlanPatchProperties struct + Description *string + ExclusionTag *string + FriendlyName *string + HostPoolReferences *[]ScalingHostPoolReference + Schedules *[]ScalingSchedule + TimeZone *string + type ScalingPlanProperties struct + Description *string + ExclusionTag *string + FriendlyName *string + HostPoolReferences *[]ScalingHostPoolReference + HostPoolType *ScalingHostPoolType + ObjectId *string + Schedules *[]ScalingSchedule + TimeZone string + type ScalingSchedule struct + DaysOfWeek *[]DaysOfWeek + Name *string + OffPeakLoadBalancingAlgorithm *SessionHostLoadBalancingAlgorithm + OffPeakStartTime *Time + PeakLoadBalancingAlgorithm *SessionHostLoadBalancingAlgorithm + PeakStartTime *Time + RampDownCapacityThresholdPct *int64 + RampDownForceLogoffUsers *bool + RampDownLoadBalancingAlgorithm *SessionHostLoadBalancingAlgorithm + RampDownMinimumHostsPct *int64 + RampDownNotificationMessage *string + RampDownStartTime *Time + RampDownStopHostsWhen *StopHostsWhen + RampDownWaitTimeMinutes *int64 + RampUpCapacityThresholdPct *int64 + RampUpLoadBalancingAlgorithm *SessionHostLoadBalancingAlgorithm + RampUpMinimumHostsPct *int64 + RampUpStartTime *Time + type SessionHostLoadBalancingAlgorithm string + const SessionHostLoadBalancingAlgorithmBreadthFirst + const SessionHostLoadBalancingAlgorithmDepthFirst + func (s *SessionHostLoadBalancingAlgorithm) UnmarshalJSON(bytes []byte) error + type Sku struct + Capacity *int64 + Family *string + Name string + Size *string + Tier *SkuTier + type SkuTier string + const SkuTierBasic + const SkuTierFree + const SkuTierPremium + const SkuTierStandard + func (s *SkuTier) UnmarshalJSON(bytes []byte) error + type StopHostsWhen string + const StopHostsWhenZeroActiveSessions + const StopHostsWhenZeroSessions + func (s *StopHostsWhen) UnmarshalJSON(bytes []byte) error + type Time struct + Hour int64 + Minute int64 + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *ScalingPlan + OData *odata.OData