-
Notifications
You must be signed in to change notification settings - Fork 800
/
zz_generated_constants.go
181 lines (151 loc) · 5.7 KB
/
zz_generated_constants.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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
//go:build go1.18
// +build go1.18
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
// is regenerated.
package armelastic
const (
moduleName = "armelastic"
moduleVersion = "v0.3.0"
)
// CreatedByType - The type of identity that created the resource.
type CreatedByType string
const (
CreatedByTypeApplication CreatedByType = "Application"
CreatedByTypeKey CreatedByType = "Key"
CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
CreatedByTypeUser CreatedByType = "User"
)
// PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.
func PossibleCreatedByTypeValues() []CreatedByType {
return []CreatedByType{
CreatedByTypeApplication,
CreatedByTypeKey,
CreatedByTypeManagedIdentity,
CreatedByTypeUser,
}
}
// ElasticDeploymentStatus - Flag specifying if the Elastic deployment status is healthy or not.
type ElasticDeploymentStatus string
const (
ElasticDeploymentStatusHealthy ElasticDeploymentStatus = "Healthy"
ElasticDeploymentStatusUnhealthy ElasticDeploymentStatus = "Unhealthy"
)
// PossibleElasticDeploymentStatusValues returns the possible values for the ElasticDeploymentStatus const type.
func PossibleElasticDeploymentStatusValues() []ElasticDeploymentStatus {
return []ElasticDeploymentStatus{
ElasticDeploymentStatusHealthy,
ElasticDeploymentStatusUnhealthy,
}
}
type LiftrResourceCategories string
const (
LiftrResourceCategoriesMonitorLogs LiftrResourceCategories = "MonitorLogs"
LiftrResourceCategoriesUnknown LiftrResourceCategories = "Unknown"
)
// PossibleLiftrResourceCategoriesValues returns the possible values for the LiftrResourceCategories const type.
func PossibleLiftrResourceCategoriesValues() []LiftrResourceCategories {
return []LiftrResourceCategories{
LiftrResourceCategoriesMonitorLogs,
LiftrResourceCategoriesUnknown,
}
}
// ManagedIdentityTypes - Managed Identity types.
type ManagedIdentityTypes string
const (
ManagedIdentityTypesSystemAssigned ManagedIdentityTypes = "SystemAssigned"
)
// PossibleManagedIdentityTypesValues returns the possible values for the ManagedIdentityTypes const type.
func PossibleManagedIdentityTypesValues() []ManagedIdentityTypes {
return []ManagedIdentityTypes{
ManagedIdentityTypesSystemAssigned,
}
}
// MonitoringStatus - Flag specifying if the resource monitoring is enabled or disabled.
type MonitoringStatus string
const (
MonitoringStatusDisabled MonitoringStatus = "Disabled"
MonitoringStatusEnabled MonitoringStatus = "Enabled"
)
// PossibleMonitoringStatusValues returns the possible values for the MonitoringStatus const type.
func PossibleMonitoringStatusValues() []MonitoringStatus {
return []MonitoringStatus{
MonitoringStatusDisabled,
MonitoringStatusEnabled,
}
}
// OperationName - Operation to be performed on the given vm resource id.
type OperationName string
const (
OperationNameAdd OperationName = "Add"
OperationNameDelete OperationName = "Delete"
)
// PossibleOperationNameValues returns the possible values for the OperationName const type.
func PossibleOperationNameValues() []OperationName {
return []OperationName{
OperationNameAdd,
OperationNameDelete,
}
}
// ProvisioningState - Provisioning state of Elastic resource.
type ProvisioningState string
const (
ProvisioningStateAccepted ProvisioningState = "Accepted"
ProvisioningStateCanceled ProvisioningState = "Canceled"
ProvisioningStateCreating ProvisioningState = "Creating"
ProvisioningStateDeleted ProvisioningState = "Deleted"
ProvisioningStateDeleting ProvisioningState = "Deleting"
ProvisioningStateFailed ProvisioningState = "Failed"
ProvisioningStateNotSpecified ProvisioningState = "NotSpecified"
ProvisioningStateSucceeded ProvisioningState = "Succeeded"
ProvisioningStateUpdating ProvisioningState = "Updating"
)
// PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.
func PossibleProvisioningStateValues() []ProvisioningState {
return []ProvisioningState{
ProvisioningStateAccepted,
ProvisioningStateCanceled,
ProvisioningStateCreating,
ProvisioningStateDeleted,
ProvisioningStateDeleting,
ProvisioningStateFailed,
ProvisioningStateNotSpecified,
ProvisioningStateSucceeded,
ProvisioningStateUpdating,
}
}
// SendingLogs - Flag indicating the status of the resource for sending logs operation to Elastic.
type SendingLogs string
const (
SendingLogsFalse SendingLogs = "False"
SendingLogsTrue SendingLogs = "True"
)
// PossibleSendingLogsValues returns the possible values for the SendingLogs const type.
func PossibleSendingLogsValues() []SendingLogs {
return []SendingLogs{
SendingLogsFalse,
SendingLogsTrue,
}
}
// TagAction - Valid actions for a filtering tag. Exclusion takes priority over inclusion.
type TagAction string
const (
TagActionExclude TagAction = "Exclude"
TagActionInclude TagAction = "Include"
)
// PossibleTagActionValues returns the possible values for the TagAction const type.
func PossibleTagActionValues() []TagAction {
return []TagAction{
TagActionExclude,
TagActionInclude,
}
}