Documentation ¶
Index ¶
- func PossibleValuesForEnableStatus() []string
- func ValidateVirtualMachineID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVirtualMachineScheduleID(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 ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type NotificationSettings
- type Schedule
- type ScheduleOperationPredicate
- type ScheduleProperties
- type UpdateOperationResponse
- type UpdateResource
- type VirtualMachineId
- type VirtualMachineScheduleId
- func NewVirtualMachineScheduleID(subscriptionId string, resourceGroupName string, labName string, ...) VirtualMachineScheduleId
- func ParseVirtualMachineScheduleID(input string) (*VirtualMachineScheduleId, error)
- func ParseVirtualMachineScheduleIDInsensitively(input string) (*VirtualMachineScheduleId, error)
- type VirtualMachineSchedulesClient
- func (c VirtualMachineSchedulesClient) CreateOrUpdate(ctx context.Context, id VirtualMachineScheduleId, input Schedule) (result CreateOrUpdateOperationResponse, err error)
- func (c VirtualMachineSchedulesClient) Delete(ctx context.Context, id VirtualMachineScheduleId) (result DeleteOperationResponse, err error)
- func (c VirtualMachineSchedulesClient) Execute(ctx context.Context, id VirtualMachineScheduleId) (result ExecuteOperationResponse, err error)
- func (c VirtualMachineSchedulesClient) ExecuteThenPoll(ctx context.Context, id VirtualMachineScheduleId) error
- func (c VirtualMachineSchedulesClient) Get(ctx context.Context, id VirtualMachineScheduleId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c VirtualMachineSchedulesClient) List(ctx context.Context, id VirtualMachineId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c VirtualMachineSchedulesClient) ListComplete(ctx context.Context, id VirtualMachineId, options ListOperationOptions) (ListCompleteResult, error)
- func (c VirtualMachineSchedulesClient) ListCompleteMatchingPredicate(ctx context.Context, id VirtualMachineId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- func (c VirtualMachineSchedulesClient) Update(ctx context.Context, id VirtualMachineScheduleId, input UpdateResource) (result UpdateOperationResponse, err error)
- type WeekDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEnableStatus ¶
func PossibleValuesForEnableStatus() []string
func ValidateVirtualMachineID ¶
ValidateVirtualMachineID checks that 'input' can be parsed as a Virtual Machine ID
func ValidateVirtualMachineScheduleID ¶
func ValidateVirtualMachineScheduleID(input interface{}, key string) (warnings []string, errors []error)
ValidateVirtualMachineScheduleID checks that 'input' can be parsed as a Virtual Machine 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 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 UpdateOperationResponse ¶
type UpdateResource ¶
type VirtualMachineId ¶
type VirtualMachineId struct { SubscriptionId string ResourceGroupName string LabName string VirtualMachineName string }
VirtualMachineId is a struct representing the Resource ID for a Virtual Machine
func NewVirtualMachineID ¶
func NewVirtualMachineID(subscriptionId string, resourceGroupName string, labName string, virtualMachineName string) VirtualMachineId
NewVirtualMachineID returns a new VirtualMachineId struct
func ParseVirtualMachineID ¶
func ParseVirtualMachineID(input string) (*VirtualMachineId, error)
ParseVirtualMachineID parses 'input' into a VirtualMachineId
func ParseVirtualMachineIDInsensitively ¶
func ParseVirtualMachineIDInsensitively(input string) (*VirtualMachineId, error)
ParseVirtualMachineIDInsensitively parses 'input' case-insensitively into a VirtualMachineId note: this method should only be used for API response data and not user input
func (VirtualMachineId) ID ¶
func (id VirtualMachineId) ID() string
ID returns the formatted Virtual Machine ID
func (VirtualMachineId) Segments ¶
func (id VirtualMachineId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Virtual Machine ID
func (VirtualMachineId) String ¶
func (id VirtualMachineId) String() string
String returns a human-readable description of this Virtual Machine ID
type VirtualMachineScheduleId ¶
type VirtualMachineScheduleId struct { SubscriptionId string ResourceGroupName string LabName string VirtualMachineName string ScheduleName string }
VirtualMachineScheduleId is a struct representing the Resource ID for a Virtual Machine Schedule
func NewVirtualMachineScheduleID ¶
func NewVirtualMachineScheduleID(subscriptionId string, resourceGroupName string, labName string, virtualMachineName string, scheduleName string) VirtualMachineScheduleId
NewVirtualMachineScheduleID returns a new VirtualMachineScheduleId struct
func ParseVirtualMachineScheduleID ¶
func ParseVirtualMachineScheduleID(input string) (*VirtualMachineScheduleId, error)
ParseVirtualMachineScheduleID parses 'input' into a VirtualMachineScheduleId
func ParseVirtualMachineScheduleIDInsensitively ¶
func ParseVirtualMachineScheduleIDInsensitively(input string) (*VirtualMachineScheduleId, error)
ParseVirtualMachineScheduleIDInsensitively parses 'input' case-insensitively into a VirtualMachineScheduleId note: this method should only be used for API response data and not user input
func (VirtualMachineScheduleId) ID ¶
func (id VirtualMachineScheduleId) ID() string
ID returns the formatted Virtual Machine Schedule ID
func (VirtualMachineScheduleId) Segments ¶
func (id VirtualMachineScheduleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Virtual Machine Schedule ID
func (VirtualMachineScheduleId) String ¶
func (id VirtualMachineScheduleId) String() string
String returns a human-readable description of this Virtual Machine Schedule ID
type VirtualMachineSchedulesClient ¶
type VirtualMachineSchedulesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewVirtualMachineSchedulesClientWithBaseURI ¶
func NewVirtualMachineSchedulesClientWithBaseURI(endpoint string) VirtualMachineSchedulesClient
func (VirtualMachineSchedulesClient) CreateOrUpdate ¶
func (c VirtualMachineSchedulesClient) CreateOrUpdate(ctx context.Context, id VirtualMachineScheduleId, input Schedule) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (VirtualMachineSchedulesClient) Delete ¶
func (c VirtualMachineSchedulesClient) Delete(ctx context.Context, id VirtualMachineScheduleId) (result DeleteOperationResponse, err error)
Delete ...
func (VirtualMachineSchedulesClient) Execute ¶
func (c VirtualMachineSchedulesClient) Execute(ctx context.Context, id VirtualMachineScheduleId) (result ExecuteOperationResponse, err error)
Execute ...
func (VirtualMachineSchedulesClient) ExecuteThenPoll ¶
func (c VirtualMachineSchedulesClient) ExecuteThenPoll(ctx context.Context, id VirtualMachineScheduleId) error
ExecuteThenPoll performs Execute then polls until it's completed
func (VirtualMachineSchedulesClient) Get ¶
func (c VirtualMachineSchedulesClient) Get(ctx context.Context, id VirtualMachineScheduleId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (VirtualMachineSchedulesClient) List ¶
func (c VirtualMachineSchedulesClient) List(ctx context.Context, id VirtualMachineId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (VirtualMachineSchedulesClient) ListComplete ¶
func (c VirtualMachineSchedulesClient) ListComplete(ctx context.Context, id VirtualMachineId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (VirtualMachineSchedulesClient) ListCompleteMatchingPredicate ¶
func (c VirtualMachineSchedulesClient) ListCompleteMatchingPredicate(ctx context.Context, id VirtualMachineId, options ListOperationOptions, predicate ScheduleOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (VirtualMachineSchedulesClient) Update ¶
func (c VirtualMachineSchedulesClient) Update(ctx context.Context, id VirtualMachineScheduleId, input UpdateResource) (result UpdateOperationResponse, err error)
Update ...
type WeekDetails ¶
Source Files ¶
- client.go
- constants.go
- id_virtualmachine.go
- id_virtualmachineschedule.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_execute_autorest.go
- method_get_autorest.go
- method_list_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