-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathconstants.go
More file actions
97 lines (83 loc) · 3.17 KB
/
Copy pathconstants.go
File metadata and controls
97 lines (83 loc) · 3.17 KB
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
// 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) Go Code Generator. DO NOT EDIT.
package armservicegroups
const (
version20260801 string = "2026-08-01"
)
// ActionType - Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
type ActionType string
const (
// ActionTypeInternal - Actions are for internal-only APIs.
ActionTypeInternal ActionType = "Internal"
)
// PossibleActionTypeValues returns the possible values for the ActionType const type.
func PossibleActionTypeValues() []ActionType {
return []ActionType{
ActionTypeInternal,
}
}
// CreatedByType - The kind of entity that created the resource.
type CreatedByType string
const (
// CreatedByTypeApplication - The entity was created by an application.
CreatedByTypeApplication CreatedByType = "Application"
// CreatedByTypeKey - The entity was created by a key.
CreatedByTypeKey CreatedByType = "Key"
// CreatedByTypeManagedIdentity - The entity was created by a managed identity.
CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
// CreatedByTypeUser - The entity was created by a user.
CreatedByTypeUser CreatedByType = "User"
)
// PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.
func PossibleCreatedByTypeValues() []CreatedByType {
return []CreatedByType{
CreatedByTypeApplication,
CreatedByTypeKey,
CreatedByTypeManagedIdentity,
CreatedByTypeUser,
}
}
// 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 - Indicates the operation is initiated by a system.
OriginSystem Origin = "system"
// OriginUser - Indicates the operation is initiated by a user.
OriginUser Origin = "user"
// OriginUserSystem - Indicates the operation is initiated by a user or system.
OriginUserSystem Origin = "user,system"
)
// PossibleOriginValues returns the possible values for the Origin const type.
func PossibleOriginValues() []Origin {
return []Origin{
OriginSystem,
OriginUser,
OriginUserSystem,
}
}
// ProvisioningState - The provisioning state of the serviceGroup. For example, Running
type ProvisioningState string
const (
// ProvisioningStateCanceled - Canceled
ProvisioningStateCanceled ProvisioningState = "Canceled"
// ProvisioningStateFailed - Failed
ProvisioningStateFailed ProvisioningState = "Failed"
// ProvisioningStateNotStarted - NotStarted
ProvisioningStateNotStarted ProvisioningState = "NotStarted"
// ProvisioningStateRunning - Running
ProvisioningStateRunning ProvisioningState = "Running"
// ProvisioningStateSucceeded - Succeeded
ProvisioningStateSucceeded ProvisioningState = "Succeeded"
)
// PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.
func PossibleProvisioningStateValues() []ProvisioningState {
return []ProvisioningState{
ProvisioningStateCanceled,
ProvisioningStateFailed,
ProvisioningStateNotStarted,
ProvisioningStateRunning,
ProvisioningStateSucceeded,
}
}