Documentation ¶
Index ¶
- func PossibleValuesForEnableStatus() []string
- func ValidateLabID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLabScheduleID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DayDetails
- type DeleteOperationResponse
- type EnableStatus
- type ExecuteOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type HourDetails
- type LabId
- type LabScheduleId
- type ListApplicableCompleteResult
- type ListApplicableOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type NotificationSettings
- type Schedule
- type ScheduleOperationPredicate
- type ScheduleProperties
- type SchedulesClient
- func (c SchedulesClient) CreateOrUpdate(ctx context.Context, id LabScheduleId, input Schedule) (result CreateOrUpdateOperationResponse, err error)
- func (c SchedulesClient) Delete(ctx context.Context, id LabScheduleId) (result DeleteOperationResponse, err error)
- func (c SchedulesClient) Execute(ctx context.Context, id LabScheduleId) (result ExecuteOperationResponse, err error)
- func (c SchedulesClient) ExecuteThenPoll(ctx context.Context, id LabScheduleId) error
- func (c SchedulesClient) Get(ctx context.Context, id LabScheduleId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c SchedulesClient) List(ctx context.Context, id LabId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c SchedulesClient) ListApplicable(ctx context.Context, id LabScheduleId) (resp ListApplicableOperationResponse, err error)
- func (c SchedulesClient) ListApplicableComplete(ctx context.Context, id LabScheduleId) (ListApplicableCompleteResult, error)
- func (c SchedulesClient) ListApplicableCompleteMatchingPredicate(ctx context.Context, id LabScheduleId, predicate ScheduleOperationPredicate) (resp ListApplicableCompleteResult, err error)
- func (c SchedulesClient) ListComplete(ctx context.Context, id LabId, options ListOperationOptions) (ListCompleteResult, error)
- func (c SchedulesClient) ListCompleteMatchingPredicate(ctx context.Context, id LabId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- func (c SchedulesClient) Update(ctx context.Context, id LabScheduleId, input UpdateResource) (result UpdateOperationResponse, err error)
- type UpdateOperationResponse
- type UpdateResource
- type WeekDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEnableStatus ¶
func PossibleValuesForEnableStatus() []string
func ValidateLabID ¶
ValidateLabID checks that 'input' can be parsed as a Lab ID
func ValidateLabScheduleID ¶
ValidateLabScheduleID checks that 'input' can be parsed as a Lab Schedule ID
Types ¶
type DayDetails ¶
type DayDetails struct {
Time *string `json:"time,omitempty"`
}
type DeleteOperationResponse ¶
type EnableStatus ¶
type EnableStatus string
const ( EnableStatusDisabled EnableStatus = "Disabled" EnableStatusEnabled EnableStatus = "Enabled" )
type ExecuteOperationResponse ¶
type ExecuteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type HourDetails ¶
type HourDetails struct {
Minute *int64 `json:"minute,omitempty"`
}
type LabId ¶
LabId is a struct representing the Resource ID for a Lab
func ParseLabID ¶
ParseLabID parses 'input' into a LabId
func ParseLabIDInsensitively ¶
ParseLabIDInsensitively parses 'input' case-insensitively into a LabId note: this method should only be used for API response data and not user input
func (LabId) Segments ¶
func (id LabId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Lab ID
type LabScheduleId ¶
type LabScheduleId struct { SubscriptionId string ResourceGroupName string LabName string ScheduleName string }
LabScheduleId is a struct representing the Resource ID for a Lab Schedule
func NewLabScheduleID ¶
func NewLabScheduleID(subscriptionId string, resourceGroupName string, labName string, scheduleName string) LabScheduleId
NewLabScheduleID returns a new LabScheduleId struct
func ParseLabScheduleID ¶
func ParseLabScheduleID(input string) (*LabScheduleId, error)
ParseLabScheduleID parses 'input' into a LabScheduleId
func ParseLabScheduleIDInsensitively ¶
func ParseLabScheduleIDInsensitively(input string) (*LabScheduleId, error)
ParseLabScheduleIDInsensitively parses 'input' case-insensitively into a LabScheduleId note: this method should only be used for API response data and not user input
func (LabScheduleId) ID ¶
func (id LabScheduleId) ID() string
ID returns the formatted Lab Schedule ID
func (LabScheduleId) Segments ¶
func (id LabScheduleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Lab Schedule ID
func (LabScheduleId) String ¶
func (id LabScheduleId) String() string
String returns a human-readable description of this Lab Schedule ID
type ListApplicableCompleteResult ¶
type ListApplicableCompleteResult struct {
Items []Schedule
}
type ListApplicableOperationResponse ¶
type ListApplicableOperationResponse struct { HttpResponse *http.Response Model *[]Schedule // contains filtered or unexported fields }
func (ListApplicableOperationResponse) HasMore ¶
func (r ListApplicableOperationResponse) HasMore() bool
func (ListApplicableOperationResponse) LoadMore ¶
func (r ListApplicableOperationResponse) LoadMore(ctx context.Context) (resp ListApplicableOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Schedule
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Schedule // 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 NotificationSettings ¶
type NotificationSettings struct { EmailRecipient *string `json:"emailRecipient,omitempty"` NotificationLocale *string `json:"notificationLocale,omitempty"` Status *EnableStatus `json:"status,omitempty"` TimeInMinutes *int64 `json:"timeInMinutes,omitempty"` WebhookUrl *string `json:"webhookUrl,omitempty"` }
type ScheduleOperationPredicate ¶
func (ScheduleOperationPredicate) Matches ¶
func (p ScheduleOperationPredicate) Matches(input Schedule) bool
type ScheduleProperties ¶
type ScheduleProperties struct { CreatedDate *string `json:"createdDate,omitempty"` DailyRecurrence *DayDetails `json:"dailyRecurrence,omitempty"` HourlyRecurrence *HourDetails `json:"hourlyRecurrence,omitempty"` NotificationSettings *NotificationSettings `json:"notificationSettings,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` Status *EnableStatus `json:"status,omitempty"` TargetResourceId *string `json:"targetResourceId,omitempty"` TaskType *string `json:"taskType,omitempty"` TimeZoneId *string `json:"timeZoneId,omitempty"` UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"` WeeklyRecurrence *WeekDetails `json:"weeklyRecurrence,omitempty"` }
func (*ScheduleProperties) GetCreatedDateAsTime ¶
func (o *ScheduleProperties) GetCreatedDateAsTime() (*time.Time, error)
func (*ScheduleProperties) SetCreatedDateAsTime ¶
func (o *ScheduleProperties) SetCreatedDateAsTime(input time.Time)
type SchedulesClient ¶
func NewSchedulesClientWithBaseURI ¶
func NewSchedulesClientWithBaseURI(endpoint string) SchedulesClient
func (SchedulesClient) CreateOrUpdate ¶
func (c SchedulesClient) CreateOrUpdate(ctx context.Context, id LabScheduleId, input Schedule) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SchedulesClient) Delete ¶
func (c SchedulesClient) Delete(ctx context.Context, id LabScheduleId) (result DeleteOperationResponse, err error)
Delete ...
func (SchedulesClient) Execute ¶
func (c SchedulesClient) Execute(ctx context.Context, id LabScheduleId) (result ExecuteOperationResponse, err error)
Execute ...
func (SchedulesClient) ExecuteThenPoll ¶
func (c SchedulesClient) ExecuteThenPoll(ctx context.Context, id LabScheduleId) error
ExecuteThenPoll performs Execute then polls until it's completed
func (SchedulesClient) Get ¶
func (c SchedulesClient) Get(ctx context.Context, id LabScheduleId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (SchedulesClient) List ¶
func (c SchedulesClient) List(ctx context.Context, id LabId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (SchedulesClient) ListApplicable ¶
func (c SchedulesClient) ListApplicable(ctx context.Context, id LabScheduleId) (resp ListApplicableOperationResponse, err error)
ListApplicable ...
func (SchedulesClient) ListApplicableComplete ¶
func (c SchedulesClient) ListApplicableComplete(ctx context.Context, id LabScheduleId) (ListApplicableCompleteResult, error)
ListApplicableComplete retrieves all of the results into a single object
func (SchedulesClient) ListApplicableCompleteMatchingPredicate ¶
func (c SchedulesClient) ListApplicableCompleteMatchingPredicate(ctx context.Context, id LabScheduleId, predicate ScheduleOperationPredicate) (resp ListApplicableCompleteResult, err error)
ListApplicableCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (SchedulesClient) ListComplete ¶
func (c SchedulesClient) ListComplete(ctx context.Context, id LabId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (SchedulesClient) ListCompleteMatchingPredicate ¶
func (c SchedulesClient) ListCompleteMatchingPredicate(ctx context.Context, id LabId, options ListOperationOptions, predicate ScheduleOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (SchedulesClient) Update ¶
func (c SchedulesClient) Update(ctx context.Context, id LabScheduleId, input UpdateResource) (result UpdateOperationResponse, err error)
Update ...
type UpdateOperationResponse ¶
type UpdateResource ¶
type WeekDetails ¶
Source Files ¶
- client.go
- constants.go
- id_lab.go
- id_labschedule.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_execute_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listapplicable_autorest.go
- method_update_autorest.go
- model_daydetails.go
- model_hourdetails.go
- model_notificationsettings.go
- model_schedule.go
- model_scheduleproperties.go
- model_updateresource.go
- model_weekdetails.go
- predicates.go
- version.go