This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
/
pulumiEnums.go
134 lines (103 loc) · 4.8 KB
/
pulumiEnums.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
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package v20200301
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
// The policy assignment enforcement mode. Possible values are Default and DoNotEnforce.
type EnforcementMode pulumi.String
const (
// The policy effect is enforced during resource creation or update.
EnforcementModeDefault = EnforcementMode("Default")
// The policy effect is not enforced during resource creation or update.
EnforcementModeDoNotEnforce = EnforcementMode("DoNotEnforce")
)
func (EnforcementMode) ElementType() reflect.Type {
return reflect.TypeOf((*pulumi.String)(nil)).Elem()
}
func (e EnforcementMode) ToStringOutput() pulumi.StringOutput {
return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput)
}
func (e EnforcementMode) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput)
}
func (e EnforcementMode) ToStringPtrOutput() pulumi.StringPtrOutput {
return pulumi.String(e).ToStringPtrOutputWithContext(context.Background())
}
func (e EnforcementMode) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx)
}
// The data type of the parameter.
type ParameterType pulumi.String
const (
ParameterTypeString = ParameterType("String")
ParameterTypeArray = ParameterType("Array")
ParameterTypeObject = ParameterType("Object")
ParameterTypeBoolean = ParameterType("Boolean")
ParameterTypeInteger = ParameterType("Integer")
ParameterTypeFloat = ParameterType("Float")
ParameterTypeDateTime = ParameterType("DateTime")
)
func (ParameterType) ElementType() reflect.Type {
return reflect.TypeOf((*pulumi.String)(nil)).Elem()
}
func (e ParameterType) ToStringOutput() pulumi.StringOutput {
return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput)
}
func (e ParameterType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput)
}
func (e ParameterType) ToStringPtrOutput() pulumi.StringPtrOutput {
return pulumi.String(e).ToStringPtrOutputWithContext(context.Background())
}
func (e ParameterType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx)
}
// The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.
type PolicyType pulumi.String
const (
PolicyTypeNotSpecified = PolicyType("NotSpecified")
PolicyTypeBuiltIn = PolicyType("BuiltIn")
PolicyTypeCustom = PolicyType("Custom")
PolicyTypeStatic = PolicyType("Static")
)
func (PolicyType) ElementType() reflect.Type {
return reflect.TypeOf((*pulumi.String)(nil)).Elem()
}
func (e PolicyType) ToStringOutput() pulumi.StringOutput {
return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput)
}
func (e PolicyType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput)
}
func (e PolicyType) ToStringPtrOutput() pulumi.StringPtrOutput {
return pulumi.String(e).ToStringPtrOutputWithContext(context.Background())
}
func (e PolicyType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx)
}
// The identity type. This is the only required field when adding a system assigned identity to a resource.
type ResourceIdentityType pulumi.String
const (
// Indicates that a system assigned identity is associated with the resource.
ResourceIdentityTypeSystemAssigned = ResourceIdentityType("SystemAssigned")
// Indicates that no identity is associated with the resource or that the existing identity should be removed.
ResourceIdentityTypeNone = ResourceIdentityType("None")
)
func (ResourceIdentityType) ElementType() reflect.Type {
return reflect.TypeOf((*pulumi.String)(nil)).Elem()
}
func (e ResourceIdentityType) ToStringOutput() pulumi.StringOutput {
return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput)
}
func (e ResourceIdentityType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput)
}
func (e ResourceIdentityType) ToStringPtrOutput() pulumi.StringPtrOutput {
return pulumi.String(e).ToStringPtrOutputWithContext(context.Background())
}
func (e ResourceIdentityType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx)
}