-
Notifications
You must be signed in to change notification settings - Fork 87
/
zz_generated_constants.go
153 lines (128 loc) · 5.09 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
//go:build go1.18
// +build go1.18
// Licensed under the Apache License, Version 2.0 . See LICENSE in the repository 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 v20231001preview
const (
moduleName = "v20231001preview"
moduleVersion = "v0.0.1"
)
// 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,
}
}
// IdentitySettingKind - IdentitySettingKind is the kind of supported external identity setting
type IdentitySettingKind string
const (
// IdentitySettingKindAzureComWorkload - azure ad workload identity
IdentitySettingKindAzureComWorkload IdentitySettingKind = "azure.com.workload"
// IdentitySettingKindUndefined - undefined identity
IdentitySettingKindUndefined IdentitySettingKind = "undefined"
)
// PossibleIdentitySettingKindValues returns the possible values for the IdentitySettingKind const type.
func PossibleIdentitySettingKindValues() []IdentitySettingKind {
return []IdentitySettingKind{
IdentitySettingKindAzureComWorkload,
IdentitySettingKindUndefined,
}
}
// 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 - Provisioning state of the resource at the time the operation was called
type ProvisioningState string
const (
// ProvisioningStateAccepted - The resource create request has been accepted
ProvisioningStateAccepted ProvisioningState = "Accepted"
// ProvisioningStateCanceled - Resource creation was canceled.
ProvisioningStateCanceled ProvisioningState = "Canceled"
// ProvisioningStateDeleting - The resource is being deleted
ProvisioningStateDeleting ProvisioningState = "Deleting"
// ProvisioningStateFailed - Resource creation failed.
ProvisioningStateFailed ProvisioningState = "Failed"
// ProvisioningStateProvisioning - The resource is being provisioned
ProvisioningStateProvisioning ProvisioningState = "Provisioning"
// ProvisioningStateSucceeded - Resource has been created.
ProvisioningStateSucceeded ProvisioningState = "Succeeded"
// ProvisioningStateUpdating - The resource is updating
ProvisioningStateUpdating ProvisioningState = "Updating"
)
// PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.
func PossibleProvisioningStateValues() []ProvisioningState {
return []ProvisioningState{
ProvisioningStateAccepted,
ProvisioningStateCanceled,
ProvisioningStateDeleting,
ProvisioningStateFailed,
ProvisioningStateProvisioning,
ProvisioningStateSucceeded,
ProvisioningStateUpdating,
}
}
// ResourceProvisioning - Specifies how the underlying service/resource is provisioned and managed. Available values are 'recipe',
// where Radius manages the lifecycle of the resource through a Recipe, and 'manual', where a user
// manages the resource and provides the values.
type ResourceProvisioning string
const (
// ResourceProvisioningManual - The resource lifecycle will be managed by the user
ResourceProvisioningManual ResourceProvisioning = "manual"
// ResourceProvisioningRecipe - The resource lifecycle will be managed by Radius
ResourceProvisioningRecipe ResourceProvisioning = "recipe"
)
// PossibleResourceProvisioningValues returns the possible values for the ResourceProvisioning const type.
func PossibleResourceProvisioningValues() []ResourceProvisioning {
return []ResourceProvisioning{
ResourceProvisioningManual,
ResourceProvisioningRecipe,
}
}
// Versions - Supported API versions for the Applications.Dapr resource provider.
type Versions string
const (
// VersionsV20231001Preview - 2023-10-01-preview
VersionsV20231001Preview Versions = "2023-10-01-preview"
)
// PossibleVersionsValues returns the possible values for the Versions const type.
func PossibleVersionsValues() []Versions {
return []Versions{
VersionsV20231001Preview,
}
}