1package maintenance
2
3// Copyright (c) Microsoft and contributors.  All rights reserved.
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13//
14// See the License for the specific language governing permissions and
15// limitations under the License.
16//
17// Code generated by Microsoft (R) AutoRest Code Generator.
18// Changes may cause incorrect behavior and will be lost if the code is regenerated.
19
20// ImpactType enumerates the values for impact type.
21type ImpactType string
22
23const (
24	// Freeze ...
25	Freeze ImpactType = "Freeze"
26	// None ...
27	None ImpactType = "None"
28	// Redeploy ...
29	Redeploy ImpactType = "Redeploy"
30	// Restart ...
31	Restart ImpactType = "Restart"
32)
33
34// PossibleImpactTypeValues returns an array of possible values for the ImpactType const type.
35func PossibleImpactTypeValues() []ImpactType {
36	return []ImpactType{Freeze, None, Redeploy, Restart}
37}
38
39// Scope enumerates the values for scope.
40type Scope string
41
42const (
43	// ScopeAll ...
44	ScopeAll Scope = "All"
45	// ScopeHost ...
46	ScopeHost Scope = "Host"
47	// ScopeInResource ...
48	ScopeInResource Scope = "InResource"
49	// ScopeResource ...
50	ScopeResource Scope = "Resource"
51)
52
53// PossibleScopeValues returns an array of possible values for the Scope const type.
54func PossibleScopeValues() []Scope {
55	return []Scope{ScopeAll, ScopeHost, ScopeInResource, ScopeResource}
56}
57
58// UpdateStatus enumerates the values for update status.
59type UpdateStatus string
60
61const (
62	// Completed ...
63	Completed UpdateStatus = "Completed"
64	// InProgress ...
65	InProgress UpdateStatus = "InProgress"
66	// Pending ...
67	Pending UpdateStatus = "Pending"
68	// RetryLater ...
69	RetryLater UpdateStatus = "RetryLater"
70	// RetryNow ...
71	RetryNow UpdateStatus = "RetryNow"
72)
73
74// PossibleUpdateStatusValues returns an array of possible values for the UpdateStatus const type.
75func PossibleUpdateStatusValues() []UpdateStatus {
76	return []UpdateStatus{Completed, InProgress, Pending, RetryLater, RetryNow}
77}
78