Documentation
¶
Index ¶
- func PossibleValuesForDayOfWeek() []string
- func PossibleValuesForSessionHandlingOperation() []string
- func PossibleValuesForSetStartVMOnConnect() []string
- func PossibleValuesForStartupBehavior() []string
- func ValidatePersonalScheduleID(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 PersonalScheduleId
- type ScalingPlanId
- type ScalingPlanPersonalSchedule
- type ScalingPlanPersonalScheduleClient
- func (c ScalingPlanPersonalScheduleClient) Create(ctx context.Context, id PersonalScheduleId, input ScalingPlanPersonalSchedule) (result CreateOperationResponse, err error)
- func (c ScalingPlanPersonalScheduleClient) Delete(ctx context.Context, id PersonalScheduleId) (result DeleteOperationResponse, err error)
- func (c ScalingPlanPersonalScheduleClient) Get(ctx context.Context, id PersonalScheduleId) (result GetOperationResponse, err error)
- func (c ScalingPlanPersonalScheduleClient) List(ctx context.Context, id ScalingPlanId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ScalingPlanPersonalScheduleClient) ListComplete(ctx context.Context, id ScalingPlanId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ScalingPlanPersonalScheduleClient) ListCompleteMatchingPredicate(ctx context.Context, id ScalingPlanId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c ScalingPlanPersonalScheduleClient) Update(ctx context.Context, id PersonalScheduleId, ...) (result UpdateOperationResponse, err error)
- type ScalingPlanPersonalScheduleOperationPredicate
- type ScalingPlanPersonalSchedulePatch
- type ScalingPlanPersonalScheduleProperties
- type SessionHandlingOperation
- type SetStartVMOnConnect
- type StartupBehavior
- type Time
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDayOfWeek ¶
func PossibleValuesForDayOfWeek() []string
func PossibleValuesForSessionHandlingOperation ¶
func PossibleValuesForSessionHandlingOperation() []string
func PossibleValuesForSetStartVMOnConnect ¶
func PossibleValuesForSetStartVMOnConnect() []string
func PossibleValuesForStartupBehavior ¶
func PossibleValuesForStartupBehavior() []string
func ValidatePersonalScheduleID ¶
ValidatePersonalScheduleID checks that 'input' can be parsed as a Personal 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 *ScalingPlanPersonalSchedule }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ScalingPlanPersonalSchedule }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ScalingPlanPersonalSchedule }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
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 *[]ScalingPlanPersonalSchedule }
type PersonalScheduleId ¶
type PersonalScheduleId struct { SubscriptionId string ResourceGroupName string ScalingPlanName string PersonalScheduleName string }
PersonalScheduleId is a struct representing the Resource ID for a Personal Schedule
func NewPersonalScheduleID ¶
func NewPersonalScheduleID(subscriptionId string, resourceGroupName string, scalingPlanName string, personalScheduleName string) PersonalScheduleId
NewPersonalScheduleID returns a new PersonalScheduleId struct
func ParsePersonalScheduleID ¶
func ParsePersonalScheduleID(input string) (*PersonalScheduleId, error)
ParsePersonalScheduleID parses 'input' into a PersonalScheduleId
func ParsePersonalScheduleIDInsensitively ¶
func ParsePersonalScheduleIDInsensitively(input string) (*PersonalScheduleId, error)
ParsePersonalScheduleIDInsensitively parses 'input' case-insensitively into a PersonalScheduleId note: this method should only be used for API response data and not user input
func (*PersonalScheduleId) FromParseResult ¶
func (id *PersonalScheduleId) FromParseResult(input resourceids.ParseResult) error
func (PersonalScheduleId) ID ¶
func (id PersonalScheduleId) ID() string
ID returns the formatted Personal Schedule ID
func (PersonalScheduleId) Segments ¶
func (id PersonalScheduleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Personal Schedule ID
func (PersonalScheduleId) String ¶
func (id PersonalScheduleId) String() string
String returns a human-readable description of this Personal 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 ScalingPlanPersonalSchedule ¶
type ScalingPlanPersonalSchedule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties ScalingPlanPersonalScheduleProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ScalingPlanPersonalScheduleClient ¶
type ScalingPlanPersonalScheduleClient struct {
Client *resourcemanager.Client
}
func NewScalingPlanPersonalScheduleClientWithBaseURI ¶
func NewScalingPlanPersonalScheduleClientWithBaseURI(sdkApi sdkEnv.Api) (*ScalingPlanPersonalScheduleClient, error)
func (ScalingPlanPersonalScheduleClient) Create ¶
func (c ScalingPlanPersonalScheduleClient) Create(ctx context.Context, id PersonalScheduleId, input ScalingPlanPersonalSchedule) (result CreateOperationResponse, err error)
Create ...
func (ScalingPlanPersonalScheduleClient) Delete ¶
func (c ScalingPlanPersonalScheduleClient) Delete(ctx context.Context, id PersonalScheduleId) (result DeleteOperationResponse, err error)
Delete ...
func (ScalingPlanPersonalScheduleClient) Get ¶
func (c ScalingPlanPersonalScheduleClient) Get(ctx context.Context, id PersonalScheduleId) (result GetOperationResponse, err error)
Get ...
func (ScalingPlanPersonalScheduleClient) List ¶
func (c ScalingPlanPersonalScheduleClient) List(ctx context.Context, id ScalingPlanId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ScalingPlanPersonalScheduleClient) ListComplete ¶
func (c ScalingPlanPersonalScheduleClient) ListComplete(ctx context.Context, id ScalingPlanId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ScalingPlanPersonalScheduleClient) ListCompleteMatchingPredicate ¶
func (c ScalingPlanPersonalScheduleClient) ListCompleteMatchingPredicate(ctx context.Context, id ScalingPlanId, options ListOperationOptions, predicate ScalingPlanPersonalScheduleOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ScalingPlanPersonalScheduleClient) Update ¶
func (c ScalingPlanPersonalScheduleClient) Update(ctx context.Context, id PersonalScheduleId, input ScalingPlanPersonalSchedulePatch) (result UpdateOperationResponse, err error)
Update ...
type ScalingPlanPersonalScheduleOperationPredicate ¶
func (ScalingPlanPersonalScheduleOperationPredicate) Matches ¶
func (p ScalingPlanPersonalScheduleOperationPredicate) Matches(input ScalingPlanPersonalSchedule) bool
type ScalingPlanPersonalSchedulePatch ¶
type ScalingPlanPersonalSchedulePatch struct {
Properties *ScalingPlanPersonalScheduleProperties `json:"properties,omitempty"`
}
type ScalingPlanPersonalScheduleProperties ¶
type ScalingPlanPersonalScheduleProperties struct { DaysOfWeek *[]DayOfWeek `json:"daysOfWeek,omitempty"` OffPeakActionOnDisconnect *SessionHandlingOperation `json:"offPeakActionOnDisconnect,omitempty"` OffPeakActionOnLogoff *SessionHandlingOperation `json:"offPeakActionOnLogoff,omitempty"` OffPeakMinutesToWaitOnDisconnect *int64 `json:"offPeakMinutesToWaitOnDisconnect,omitempty"` OffPeakMinutesToWaitOnLogoff *int64 `json:"offPeakMinutesToWaitOnLogoff,omitempty"` OffPeakStartTime *Time `json:"offPeakStartTime,omitempty"` OffPeakStartVMOnConnect *SetStartVMOnConnect `json:"offPeakStartVMOnConnect,omitempty"` PeakActionOnDisconnect *SessionHandlingOperation `json:"peakActionOnDisconnect,omitempty"` PeakActionOnLogoff *SessionHandlingOperation `json:"peakActionOnLogoff,omitempty"` PeakMinutesToWaitOnDisconnect *int64 `json:"peakMinutesToWaitOnDisconnect,omitempty"` PeakMinutesToWaitOnLogoff *int64 `json:"peakMinutesToWaitOnLogoff,omitempty"` PeakStartTime *Time `json:"peakStartTime,omitempty"` PeakStartVMOnConnect *SetStartVMOnConnect `json:"peakStartVMOnConnect,omitempty"` RampDownActionOnDisconnect *SessionHandlingOperation `json:"rampDownActionOnDisconnect,omitempty"` RampDownActionOnLogoff *SessionHandlingOperation `json:"rampDownActionOnLogoff,omitempty"` RampDownMinutesToWaitOnDisconnect *int64 `json:"rampDownMinutesToWaitOnDisconnect,omitempty"` RampDownMinutesToWaitOnLogoff *int64 `json:"rampDownMinutesToWaitOnLogoff,omitempty"` RampDownStartTime *Time `json:"rampDownStartTime,omitempty"` RampDownStartVMOnConnect *SetStartVMOnConnect `json:"rampDownStartVMOnConnect,omitempty"` RampUpActionOnDisconnect *SessionHandlingOperation `json:"rampUpActionOnDisconnect,omitempty"` RampUpActionOnLogoff *SessionHandlingOperation `json:"rampUpActionOnLogoff,omitempty"` RampUpAutoStartHosts *StartupBehavior `json:"rampUpAutoStartHosts,omitempty"` RampUpMinutesToWaitOnDisconnect *int64 `json:"rampUpMinutesToWaitOnDisconnect,omitempty"` RampUpMinutesToWaitOnLogoff *int64 `json:"rampUpMinutesToWaitOnLogoff,omitempty"` RampUpStartTime *Time `json:"rampUpStartTime,omitempty"` RampUpStartVMOnConnect *SetStartVMOnConnect `json:"rampUpStartVMOnConnect,omitempty"` }
type SessionHandlingOperation ¶
type SessionHandlingOperation string
const ( SessionHandlingOperationDeallocate SessionHandlingOperation = "Deallocate" SessionHandlingOperationHibernate SessionHandlingOperation = "Hibernate" SessionHandlingOperationNone SessionHandlingOperation = "None" )
func (*SessionHandlingOperation) UnmarshalJSON ¶
func (s *SessionHandlingOperation) UnmarshalJSON(bytes []byte) error
type SetStartVMOnConnect ¶
type SetStartVMOnConnect string
const ( SetStartVMOnConnectDisable SetStartVMOnConnect = "Disable" SetStartVMOnConnectEnable SetStartVMOnConnect = "Enable" )
func (*SetStartVMOnConnect) UnmarshalJSON ¶
func (s *SetStartVMOnConnect) UnmarshalJSON(bytes []byte) error
type StartupBehavior ¶
type StartupBehavior string
const ( StartupBehaviorAll StartupBehavior = "All" StartupBehaviorNone StartupBehavior = "None" StartupBehaviorWithAssignedUser StartupBehavior = "WithAssignedUser" )
func (*StartupBehavior) UnmarshalJSON ¶
func (s *StartupBehavior) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ScalingPlanPersonalSchedule }
Source Files
¶
- client.go
- constants.go
- id_personalschedule.go
- id_scalingplan.go
- method_create.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_scalingplanpersonalschedule.go
- model_scalingplanpersonalschedulepatch.go
- model_scalingplanpersonalscheduleproperties.go
- model_time.go
- predicates.go
- version.go