This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
pulumiTypes.go
343 lines (275 loc) · 12.3 KB
/
pulumiTypes.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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
// *** 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 v20150501preview
import (
"context"
"reflect"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
// The custom domain assigned to this storage account. This can be set via Update.
type CustomDomainResponse struct {
// Gets or sets the custom domain name. Name is the CNAME source.
Name *string `pulumi:"name"`
// Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates
UseSubDomainName *bool `pulumi:"useSubDomainName"`
}
// CustomDomainResponseInput is an input type that accepts CustomDomainResponseArgs and CustomDomainResponseOutput values.
// You can construct a concrete instance of `CustomDomainResponseInput` via:
//
// CustomDomainResponseArgs{...}
type CustomDomainResponseInput interface {
pulumi.Input
ToCustomDomainResponseOutput() CustomDomainResponseOutput
ToCustomDomainResponseOutputWithContext(context.Context) CustomDomainResponseOutput
}
// The custom domain assigned to this storage account. This can be set via Update.
type CustomDomainResponseArgs struct {
// Gets or sets the custom domain name. Name is the CNAME source.
Name pulumi.StringPtrInput `pulumi:"name"`
// Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates
UseSubDomainName pulumi.BoolPtrInput `pulumi:"useSubDomainName"`
}
func (CustomDomainResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*CustomDomainResponse)(nil)).Elem()
}
func (i CustomDomainResponseArgs) ToCustomDomainResponseOutput() CustomDomainResponseOutput {
return i.ToCustomDomainResponseOutputWithContext(context.Background())
}
func (i CustomDomainResponseArgs) ToCustomDomainResponseOutputWithContext(ctx context.Context) CustomDomainResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(CustomDomainResponseOutput)
}
func (i CustomDomainResponseArgs) ToCustomDomainResponsePtrOutput() CustomDomainResponsePtrOutput {
return i.ToCustomDomainResponsePtrOutputWithContext(context.Background())
}
func (i CustomDomainResponseArgs) ToCustomDomainResponsePtrOutputWithContext(ctx context.Context) CustomDomainResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(CustomDomainResponseOutput).ToCustomDomainResponsePtrOutputWithContext(ctx)
}
// CustomDomainResponsePtrInput is an input type that accepts CustomDomainResponseArgs, CustomDomainResponsePtr and CustomDomainResponsePtrOutput values.
// You can construct a concrete instance of `CustomDomainResponsePtrInput` via:
//
// CustomDomainResponseArgs{...}
//
// or:
//
// nil
type CustomDomainResponsePtrInput interface {
pulumi.Input
ToCustomDomainResponsePtrOutput() CustomDomainResponsePtrOutput
ToCustomDomainResponsePtrOutputWithContext(context.Context) CustomDomainResponsePtrOutput
}
type customDomainResponsePtrType CustomDomainResponseArgs
func CustomDomainResponsePtr(v *CustomDomainResponseArgs) CustomDomainResponsePtrInput {
return (*customDomainResponsePtrType)(v)
}
func (*customDomainResponsePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**CustomDomainResponse)(nil)).Elem()
}
func (i *customDomainResponsePtrType) ToCustomDomainResponsePtrOutput() CustomDomainResponsePtrOutput {
return i.ToCustomDomainResponsePtrOutputWithContext(context.Background())
}
func (i *customDomainResponsePtrType) ToCustomDomainResponsePtrOutputWithContext(ctx context.Context) CustomDomainResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(CustomDomainResponsePtrOutput)
}
// The custom domain assigned to this storage account. This can be set via Update.
type CustomDomainResponseOutput struct{ *pulumi.OutputState }
func (CustomDomainResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*CustomDomainResponse)(nil)).Elem()
}
func (o CustomDomainResponseOutput) ToCustomDomainResponseOutput() CustomDomainResponseOutput {
return o
}
func (o CustomDomainResponseOutput) ToCustomDomainResponseOutputWithContext(ctx context.Context) CustomDomainResponseOutput {
return o
}
func (o CustomDomainResponseOutput) ToCustomDomainResponsePtrOutput() CustomDomainResponsePtrOutput {
return o.ToCustomDomainResponsePtrOutputWithContext(context.Background())
}
func (o CustomDomainResponseOutput) ToCustomDomainResponsePtrOutputWithContext(ctx context.Context) CustomDomainResponsePtrOutput {
return o.ApplyT(func(v CustomDomainResponse) *CustomDomainResponse {
return &v
}).(CustomDomainResponsePtrOutput)
}
// Gets or sets the custom domain name. Name is the CNAME source.
func (o CustomDomainResponseOutput) Name() pulumi.StringPtrOutput {
return o.ApplyT(func(v CustomDomainResponse) *string { return v.Name }).(pulumi.StringPtrOutput)
}
// Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates
func (o CustomDomainResponseOutput) UseSubDomainName() pulumi.BoolPtrOutput {
return o.ApplyT(func(v CustomDomainResponse) *bool { return v.UseSubDomainName }).(pulumi.BoolPtrOutput)
}
type CustomDomainResponsePtrOutput struct{ *pulumi.OutputState }
func (CustomDomainResponsePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**CustomDomainResponse)(nil)).Elem()
}
func (o CustomDomainResponsePtrOutput) ToCustomDomainResponsePtrOutput() CustomDomainResponsePtrOutput {
return o
}
func (o CustomDomainResponsePtrOutput) ToCustomDomainResponsePtrOutputWithContext(ctx context.Context) CustomDomainResponsePtrOutput {
return o
}
func (o CustomDomainResponsePtrOutput) Elem() CustomDomainResponseOutput {
return o.ApplyT(func(v *CustomDomainResponse) CustomDomainResponse { return *v }).(CustomDomainResponseOutput)
}
// Gets or sets the custom domain name. Name is the CNAME source.
func (o CustomDomainResponsePtrOutput) Name() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CustomDomainResponse) *string {
if v == nil {
return nil
}
return v.Name
}).(pulumi.StringPtrOutput)
}
// Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates
func (o CustomDomainResponsePtrOutput) UseSubDomainName() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *CustomDomainResponse) *bool {
if v == nil {
return nil
}
return v.UseSubDomainName
}).(pulumi.BoolPtrOutput)
}
// The URIs that are used to perform a retrieval of a public blob, queue or table object.
type EndpointsResponse struct {
// Gets the blob endpoint.
Blob *string `pulumi:"blob"`
// Gets the queue endpoint.
Queue *string `pulumi:"queue"`
// Gets the table endpoint.
Table *string `pulumi:"table"`
}
// EndpointsResponseInput is an input type that accepts EndpointsResponseArgs and EndpointsResponseOutput values.
// You can construct a concrete instance of `EndpointsResponseInput` via:
//
// EndpointsResponseArgs{...}
type EndpointsResponseInput interface {
pulumi.Input
ToEndpointsResponseOutput() EndpointsResponseOutput
ToEndpointsResponseOutputWithContext(context.Context) EndpointsResponseOutput
}
// The URIs that are used to perform a retrieval of a public blob, queue or table object.
type EndpointsResponseArgs struct {
// Gets the blob endpoint.
Blob pulumi.StringPtrInput `pulumi:"blob"`
// Gets the queue endpoint.
Queue pulumi.StringPtrInput `pulumi:"queue"`
// Gets the table endpoint.
Table pulumi.StringPtrInput `pulumi:"table"`
}
func (EndpointsResponseArgs) ElementType() reflect.Type {
return reflect.TypeOf((*EndpointsResponse)(nil)).Elem()
}
func (i EndpointsResponseArgs) ToEndpointsResponseOutput() EndpointsResponseOutput {
return i.ToEndpointsResponseOutputWithContext(context.Background())
}
func (i EndpointsResponseArgs) ToEndpointsResponseOutputWithContext(ctx context.Context) EndpointsResponseOutput {
return pulumi.ToOutputWithContext(ctx, i).(EndpointsResponseOutput)
}
func (i EndpointsResponseArgs) ToEndpointsResponsePtrOutput() EndpointsResponsePtrOutput {
return i.ToEndpointsResponsePtrOutputWithContext(context.Background())
}
func (i EndpointsResponseArgs) ToEndpointsResponsePtrOutputWithContext(ctx context.Context) EndpointsResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(EndpointsResponseOutput).ToEndpointsResponsePtrOutputWithContext(ctx)
}
// EndpointsResponsePtrInput is an input type that accepts EndpointsResponseArgs, EndpointsResponsePtr and EndpointsResponsePtrOutput values.
// You can construct a concrete instance of `EndpointsResponsePtrInput` via:
//
// EndpointsResponseArgs{...}
//
// or:
//
// nil
type EndpointsResponsePtrInput interface {
pulumi.Input
ToEndpointsResponsePtrOutput() EndpointsResponsePtrOutput
ToEndpointsResponsePtrOutputWithContext(context.Context) EndpointsResponsePtrOutput
}
type endpointsResponsePtrType EndpointsResponseArgs
func EndpointsResponsePtr(v *EndpointsResponseArgs) EndpointsResponsePtrInput {
return (*endpointsResponsePtrType)(v)
}
func (*endpointsResponsePtrType) ElementType() reflect.Type {
return reflect.TypeOf((**EndpointsResponse)(nil)).Elem()
}
func (i *endpointsResponsePtrType) ToEndpointsResponsePtrOutput() EndpointsResponsePtrOutput {
return i.ToEndpointsResponsePtrOutputWithContext(context.Background())
}
func (i *endpointsResponsePtrType) ToEndpointsResponsePtrOutputWithContext(ctx context.Context) EndpointsResponsePtrOutput {
return pulumi.ToOutputWithContext(ctx, i).(EndpointsResponsePtrOutput)
}
// The URIs that are used to perform a retrieval of a public blob, queue or table object.
type EndpointsResponseOutput struct{ *pulumi.OutputState }
func (EndpointsResponseOutput) ElementType() reflect.Type {
return reflect.TypeOf((*EndpointsResponse)(nil)).Elem()
}
func (o EndpointsResponseOutput) ToEndpointsResponseOutput() EndpointsResponseOutput {
return o
}
func (o EndpointsResponseOutput) ToEndpointsResponseOutputWithContext(ctx context.Context) EndpointsResponseOutput {
return o
}
func (o EndpointsResponseOutput) ToEndpointsResponsePtrOutput() EndpointsResponsePtrOutput {
return o.ToEndpointsResponsePtrOutputWithContext(context.Background())
}
func (o EndpointsResponseOutput) ToEndpointsResponsePtrOutputWithContext(ctx context.Context) EndpointsResponsePtrOutput {
return o.ApplyT(func(v EndpointsResponse) *EndpointsResponse {
return &v
}).(EndpointsResponsePtrOutput)
}
// Gets the blob endpoint.
func (o EndpointsResponseOutput) Blob() pulumi.StringPtrOutput {
return o.ApplyT(func(v EndpointsResponse) *string { return v.Blob }).(pulumi.StringPtrOutput)
}
// Gets the queue endpoint.
func (o EndpointsResponseOutput) Queue() pulumi.StringPtrOutput {
return o.ApplyT(func(v EndpointsResponse) *string { return v.Queue }).(pulumi.StringPtrOutput)
}
// Gets the table endpoint.
func (o EndpointsResponseOutput) Table() pulumi.StringPtrOutput {
return o.ApplyT(func(v EndpointsResponse) *string { return v.Table }).(pulumi.StringPtrOutput)
}
type EndpointsResponsePtrOutput struct{ *pulumi.OutputState }
func (EndpointsResponsePtrOutput) ElementType() reflect.Type {
return reflect.TypeOf((**EndpointsResponse)(nil)).Elem()
}
func (o EndpointsResponsePtrOutput) ToEndpointsResponsePtrOutput() EndpointsResponsePtrOutput {
return o
}
func (o EndpointsResponsePtrOutput) ToEndpointsResponsePtrOutputWithContext(ctx context.Context) EndpointsResponsePtrOutput {
return o
}
func (o EndpointsResponsePtrOutput) Elem() EndpointsResponseOutput {
return o.ApplyT(func(v *EndpointsResponse) EndpointsResponse { return *v }).(EndpointsResponseOutput)
}
// Gets the blob endpoint.
func (o EndpointsResponsePtrOutput) Blob() pulumi.StringPtrOutput {
return o.ApplyT(func(v *EndpointsResponse) *string {
if v == nil {
return nil
}
return v.Blob
}).(pulumi.StringPtrOutput)
}
// Gets the queue endpoint.
func (o EndpointsResponsePtrOutput) Queue() pulumi.StringPtrOutput {
return o.ApplyT(func(v *EndpointsResponse) *string {
if v == nil {
return nil
}
return v.Queue
}).(pulumi.StringPtrOutput)
}
// Gets the table endpoint.
func (o EndpointsResponsePtrOutput) Table() pulumi.StringPtrOutput {
return o.ApplyT(func(v *EndpointsResponse) *string {
if v == nil {
return nil
}
return v.Table
}).(pulumi.StringPtrOutput)
}
func init() {
pulumi.RegisterOutputType(CustomDomainResponseOutput{})
pulumi.RegisterOutputType(CustomDomainResponsePtrOutput{})
pulumi.RegisterOutputType(EndpointsResponseOutput{})
pulumi.RegisterOutputType(EndpointsResponsePtrOutput{})
}