/
constants.go
146 lines (122 loc) · 4.58 KB
/
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
//go:build go1.18
// +build go1.18
// 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. DO NOT EDIT.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
package armplaywrighttesting
const (
moduleName = "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/playwrighttesting/armplaywrighttesting"
moduleVersion = "v0.2.0"
)
// ActionType - Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
type ActionType string
const (
ActionTypeInternal ActionType = "Internal"
)
// PossibleActionTypeValues returns the possible values for the ActionType const type.
func PossibleActionTypeValues() []ActionType {
return []ActionType{
ActionTypeInternal,
}
}
// 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,
}
}
// EnablementStatus - The enablement status of a feature.
type EnablementStatus string
const (
// EnablementStatusDisabled - The feature is Disabled.
EnablementStatusDisabled EnablementStatus = "Disabled"
// EnablementStatusEnabled - The feature is Enabled.
EnablementStatusEnabled EnablementStatus = "Enabled"
)
// PossibleEnablementStatusValues returns the possible values for the EnablementStatus const type.
func PossibleEnablementStatusValues() []EnablementStatus {
return []EnablementStatus{
EnablementStatusDisabled,
EnablementStatusEnabled,
}
}
// FreeTrialState - The free-trial state.
type FreeTrialState string
const (
// FreeTrialStateActive - The free-trial is Active.
FreeTrialStateActive FreeTrialState = "Active"
// FreeTrialStateExpired - The free-trial is Expired.
FreeTrialStateExpired FreeTrialState = "Expired"
)
// PossibleFreeTrialStateValues returns the possible values for the FreeTrialState const type.
func PossibleFreeTrialStateValues() []FreeTrialState {
return []FreeTrialState{
FreeTrialStateActive,
FreeTrialStateExpired,
}
}
// Origin - The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default
// value is "user,system"
type Origin string
const (
OriginSystem Origin = "system"
OriginUser Origin = "user"
OriginUserSystem Origin = "user,system"
)
// PossibleOriginValues returns the possible values for the Origin const type.
func PossibleOriginValues() []Origin {
return []Origin{
OriginSystem,
OriginUser,
OriginUserSystem,
}
}
// ProvisioningState - The status of the current operation.
type ProvisioningState string
const (
// ProvisioningStateAccepted - Change accepted for processing
ProvisioningStateAccepted ProvisioningState = "Accepted"
// ProvisioningStateCanceled - Resource creation was canceled.
ProvisioningStateCanceled ProvisioningState = "Canceled"
// ProvisioningStateDeleting - Deletion in progress
ProvisioningStateDeleting ProvisioningState = "Deleting"
// ProvisioningStateFailed - Resource creation failed.
ProvisioningStateFailed ProvisioningState = "Failed"
// ProvisioningStateSucceeded - Resource has been created.
ProvisioningStateSucceeded ProvisioningState = "Succeeded"
)
// PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.
func PossibleProvisioningStateValues() []ProvisioningState {
return []ProvisioningState{
ProvisioningStateAccepted,
ProvisioningStateCanceled,
ProvisioningStateDeleting,
ProvisioningStateFailed,
ProvisioningStateSucceeded,
}
}
type QuotaNames string
const (
// QuotaNamesScalableExecution - The quota details for scalable execution feature. When enabled, Playwright client workers
// can connect to cloud-hosted browsers. This can increase the number of parallel workers for a test run, significantly minimizing
// test completion durations.
QuotaNamesScalableExecution QuotaNames = "ScalableExecution"
)
// PossibleQuotaNamesValues returns the possible values for the QuotaNames const type.
func PossibleQuotaNamesValues() []QuotaNames {
return []QuotaNames{
QuotaNamesScalableExecution,
}
}