This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
/
pulumiEnums.go
98 lines (74 loc) · 3.36 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
// *** 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 v20210101
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
// The type of identity used for the resource mover service.
type ResourceIdentityType pulumi.String
const (
ResourceIdentityTypeNone = ResourceIdentityType("None")
ResourceIdentityTypeSystemAssigned = ResourceIdentityType("SystemAssigned")
ResourceIdentityTypeUserAssigned = ResourceIdentityType("UserAssigned")
)
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)
}
// Gets or sets the target availability zone.
type TargetAvailabilityZone pulumi.String
const (
TargetAvailabilityZoneOne = TargetAvailabilityZone("1")
TargetAvailabilityZoneTwo = TargetAvailabilityZone("2")
TargetAvailabilityZoneThree = TargetAvailabilityZone("3")
TargetAvailabilityZoneNA = TargetAvailabilityZone("NA")
)
func (TargetAvailabilityZone) ElementType() reflect.Type {
return reflect.TypeOf((*pulumi.String)(nil)).Elem()
}
func (e TargetAvailabilityZone) ToStringOutput() pulumi.StringOutput {
return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput)
}
func (e TargetAvailabilityZone) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput)
}
func (e TargetAvailabilityZone) ToStringPtrOutput() pulumi.StringPtrOutput {
return pulumi.String(e).ToStringPtrOutputWithContext(context.Background())
}
func (e TargetAvailabilityZone) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx)
}
// Defines the zone redundant resource setting.
type ZoneRedundant pulumi.String
const (
ZoneRedundantEnable = ZoneRedundant("Enable")
ZoneRedundantDisable = ZoneRedundant("Disable")
)
func (ZoneRedundant) ElementType() reflect.Type {
return reflect.TypeOf((*pulumi.String)(nil)).Elem()
}
func (e ZoneRedundant) ToStringOutput() pulumi.StringOutput {
return pulumi.ToOutput(pulumi.String(e)).(pulumi.StringOutput)
}
func (e ZoneRedundant) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput {
return pulumi.ToOutputWithContext(ctx, pulumi.String(e)).(pulumi.StringOutput)
}
func (e ZoneRedundant) ToStringPtrOutput() pulumi.StringPtrOutput {
return pulumi.String(e).ToStringPtrOutputWithContext(context.Background())
}
func (e ZoneRedundant) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput {
return pulumi.String(e).ToStringOutputWithContext(ctx).ToStringPtrOutputWithContext(ctx)
}