forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
131 lines (106 loc) · 4.29 KB
/
enums.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
package deploymentmanager
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// DeploymentMode enumerates the values for deployment mode.
type DeploymentMode string
const (
// Complete ...
Complete DeploymentMode = "Complete"
// Incremental ...
Incremental DeploymentMode = "Incremental"
)
// PossibleDeploymentModeValues returns an array of possible values for the DeploymentMode const type.
func PossibleDeploymentModeValues() []DeploymentMode {
return []DeploymentMode{Complete, Incremental}
}
// RestAuthLocation enumerates the values for rest auth location.
type RestAuthLocation string
const (
// Header ...
Header RestAuthLocation = "Header"
// Query ...
Query RestAuthLocation = "Query"
)
// PossibleRestAuthLocationValues returns an array of possible values for the RestAuthLocation const type.
func PossibleRestAuthLocationValues() []RestAuthLocation {
return []RestAuthLocation{Header, Query}
}
// RestMatchQuantifier enumerates the values for rest match quantifier.
type RestMatchQuantifier string
const (
// All ...
All RestMatchQuantifier = "All"
// Any ...
Any RestMatchQuantifier = "Any"
)
// PossibleRestMatchQuantifierValues returns an array of possible values for the RestMatchQuantifier const type.
func PossibleRestMatchQuantifierValues() []RestMatchQuantifier {
return []RestMatchQuantifier{All, Any}
}
// RestRequestMethod enumerates the values for rest request method.
type RestRequestMethod string
const (
// GET ...
GET RestRequestMethod = "GET"
// POST ...
POST RestRequestMethod = "POST"
)
// PossibleRestRequestMethodValues returns an array of possible values for the RestRequestMethod const type.
func PossibleRestRequestMethodValues() []RestRequestMethod {
return []RestRequestMethod{GET, POST}
}
// StepType enumerates the values for step type.
type StepType string
const (
// StepTypeHealthCheck ...
StepTypeHealthCheck StepType = "HealthCheck"
// StepTypeStepProperties ...
StepTypeStepProperties StepType = "StepProperties"
// StepTypeWait ...
StepTypeWait StepType = "Wait"
)
// PossibleStepTypeValues returns an array of possible values for the StepType const type.
func PossibleStepTypeValues() []StepType {
return []StepType{StepTypeHealthCheck, StepTypeStepProperties, StepTypeWait}
}
// Type enumerates the values for type.
type Type string
const (
// TypeAuthentication ...
TypeAuthentication Type = "Authentication"
// TypeSas ...
TypeSas Type = "Sas"
)
// PossibleTypeValues returns an array of possible values for the Type const type.
func PossibleTypeValues() []Type {
return []Type{TypeAuthentication, TypeSas}
}
// TypeBasicHealthCheckStepAttributes enumerates the values for type basic health check step attributes.
type TypeBasicHealthCheckStepAttributes string
const (
// TypeHealthCheckStepAttributes ...
TypeHealthCheckStepAttributes TypeBasicHealthCheckStepAttributes = "HealthCheckStepAttributes"
// TypeREST ...
TypeREST TypeBasicHealthCheckStepAttributes = "REST"
)
// PossibleTypeBasicHealthCheckStepAttributesValues returns an array of possible values for the TypeBasicHealthCheckStepAttributes const type.
func PossibleTypeBasicHealthCheckStepAttributesValues() []TypeBasicHealthCheckStepAttributes {
return []TypeBasicHealthCheckStepAttributes{TypeHealthCheckStepAttributes, TypeREST}
}
// TypeBasicRestRequestAuthentication enumerates the values for type basic rest request authentication.
type TypeBasicRestRequestAuthentication string
const (
// TypeAPIKey ...
TypeAPIKey TypeBasicRestRequestAuthentication = "ApiKey"
// TypeRestRequestAuthentication ...
TypeRestRequestAuthentication TypeBasicRestRequestAuthentication = "RestRequestAuthentication"
// TypeRolloutIdentity ...
TypeRolloutIdentity TypeBasicRestRequestAuthentication = "RolloutIdentity"
)
// PossibleTypeBasicRestRequestAuthenticationValues returns an array of possible values for the TypeBasicRestRequestAuthentication const type.
func PossibleTypeBasicRestRequestAuthenticationValues() []TypeBasicRestRequestAuthentication {
return []TypeBasicRestRequestAuthentication{TypeAPIKey, TypeRestRequestAuthentication, TypeRolloutIdentity}
}