/
constants.go
46 lines (38 loc) · 1.35 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
//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.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// DO NOT EDIT.
package armpolicy
// PolicyMode - The policy definition mode. Possible values are NotSpecified, Indexed, and All.
type PolicyMode string
const (
PolicyModeAll PolicyMode = "All"
PolicyModeIndexed PolicyMode = "Indexed"
PolicyModeNotSpecified PolicyMode = "NotSpecified"
)
// PossiblePolicyModeValues returns the possible values for the PolicyMode const type.
func PossiblePolicyModeValues() []PolicyMode {
return []PolicyMode{
PolicyModeAll,
PolicyModeIndexed,
PolicyModeNotSpecified,
}
}
// PolicyType - The type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom.
type PolicyType string
const (
PolicyTypeBuiltIn PolicyType = "BuiltIn"
PolicyTypeCustom PolicyType = "Custom"
PolicyTypeNotSpecified PolicyType = "NotSpecified"
)
// PossiblePolicyTypeValues returns the possible values for the PolicyType const type.
func PossiblePolicyTypeValues() []PolicyType {
return []PolicyType{
PolicyTypeBuiltIn,
PolicyTypeCustom,
PolicyTypeNotSpecified,
}
}