/
cpsThirdPartyEnrollment.go
482 lines (419 loc) · 22.3 KB
/
cpsThirdPartyEnrollment.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
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
package akamai
import (
"context"
"reflect"
"errors"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
type CpsThirdPartyEnrollment struct {
pulumi.CustomResourceState
// Whether acknowledge warnings before certificate verification
AcknowledgePreVerificationWarnings pulumi.BoolPtrOutput `pulumi:"acknowledgePreVerificationWarnings"`
// Contact information for the certificate administrator to use at organization
AdminContact CpsThirdPartyEnrollmentAdminContactOutput `pulumi:"adminContact"`
// Allow to duplicate common name
AllowDuplicateCommonName pulumi.BoolPtrOutput `pulumi:"allowDuplicateCommonName"`
// List of warnings to be automatically approved
AutoApproveWarnings pulumi.StringArrayOutput `pulumi:"autoApproveWarnings"`
// Certificate trust chain type
CertificateChainType pulumi.StringPtrOutput `pulumi:"certificateChainType"`
// When set to false, the certificate will be deployed to both staging and production networks
ChangeManagement pulumi.BoolPtrOutput `pulumi:"changeManagement"`
// Common name used for enrollment
CommonName pulumi.StringOutput `pulumi:"commonName"`
// Contract ID for which enrollment is retrieved
ContractId pulumi.StringOutput `pulumi:"contractId"`
// Data used for generation of Certificate Signing Request
Csr CpsThirdPartyEnrollmentCsrOutput `pulumi:"csr"`
// When true, SANs are excluded from the CSR
ExcludeSans pulumi.BoolPtrOutput `pulumi:"excludeSans"`
// Settings containing network information and TLS metadata used by CPS
NetworkConfiguration CpsThirdPartyEnrollmentNetworkConfigurationOutput `pulumi:"networkConfiguration"`
// Organization information
Organization CpsThirdPartyEnrollmentOrganizationOutput `pulumi:"organization"`
// List of SANs
Sans pulumi.StringArrayOutput `pulumi:"sans"`
// Type of TLS deployment network
SecureNetwork pulumi.StringOutput `pulumi:"secureNetwork"`
// The SHA function. Changing this value may require running terraform destroy, terraform apply
SignatureAlgorithm pulumi.StringPtrOutput `pulumi:"signatureAlgorithm"`
// Whether Server Name Indication is used for enrollment
SniOnly pulumi.BoolOutput `pulumi:"sniOnly"`
// Contact information for an administrator at Akamai
TechContact CpsThirdPartyEnrollmentTechContactOutput `pulumi:"techContact"`
}
// NewCpsThirdPartyEnrollment registers a new resource with the given unique name, arguments, and options.
func NewCpsThirdPartyEnrollment(ctx *pulumi.Context,
name string, args *CpsThirdPartyEnrollmentArgs, opts ...pulumi.ResourceOption) (*CpsThirdPartyEnrollment, error) {
if args == nil {
return nil, errors.New("missing one or more required arguments")
}
if args.AdminContact == nil {
return nil, errors.New("invalid value for required argument 'AdminContact'")
}
if args.CommonName == nil {
return nil, errors.New("invalid value for required argument 'CommonName'")
}
if args.ContractId == nil {
return nil, errors.New("invalid value for required argument 'ContractId'")
}
if args.Csr == nil {
return nil, errors.New("invalid value for required argument 'Csr'")
}
if args.NetworkConfiguration == nil {
return nil, errors.New("invalid value for required argument 'NetworkConfiguration'")
}
if args.Organization == nil {
return nil, errors.New("invalid value for required argument 'Organization'")
}
if args.SecureNetwork == nil {
return nil, errors.New("invalid value for required argument 'SecureNetwork'")
}
if args.SniOnly == nil {
return nil, errors.New("invalid value for required argument 'SniOnly'")
}
if args.TechContact == nil {
return nil, errors.New("invalid value for required argument 'TechContact'")
}
var resource CpsThirdPartyEnrollment
err := ctx.RegisterResource("akamai:index/cpsThirdPartyEnrollment:CpsThirdPartyEnrollment", name, args, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// GetCpsThirdPartyEnrollment gets an existing CpsThirdPartyEnrollment resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
func GetCpsThirdPartyEnrollment(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *CpsThirdPartyEnrollmentState, opts ...pulumi.ResourceOption) (*CpsThirdPartyEnrollment, error) {
var resource CpsThirdPartyEnrollment
err := ctx.ReadResource("akamai:index/cpsThirdPartyEnrollment:CpsThirdPartyEnrollment", name, id, state, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// Input properties used for looking up and filtering CpsThirdPartyEnrollment resources.
type cpsThirdPartyEnrollmentState struct {
// Whether acknowledge warnings before certificate verification
AcknowledgePreVerificationWarnings *bool `pulumi:"acknowledgePreVerificationWarnings"`
// Contact information for the certificate administrator to use at organization
AdminContact *CpsThirdPartyEnrollmentAdminContact `pulumi:"adminContact"`
// Allow to duplicate common name
AllowDuplicateCommonName *bool `pulumi:"allowDuplicateCommonName"`
// List of warnings to be automatically approved
AutoApproveWarnings []string `pulumi:"autoApproveWarnings"`
// Certificate trust chain type
CertificateChainType *string `pulumi:"certificateChainType"`
// When set to false, the certificate will be deployed to both staging and production networks
ChangeManagement *bool `pulumi:"changeManagement"`
// Common name used for enrollment
CommonName *string `pulumi:"commonName"`
// Contract ID for which enrollment is retrieved
ContractId *string `pulumi:"contractId"`
// Data used for generation of Certificate Signing Request
Csr *CpsThirdPartyEnrollmentCsr `pulumi:"csr"`
// When true, SANs are excluded from the CSR
ExcludeSans *bool `pulumi:"excludeSans"`
// Settings containing network information and TLS metadata used by CPS
NetworkConfiguration *CpsThirdPartyEnrollmentNetworkConfiguration `pulumi:"networkConfiguration"`
// Organization information
Organization *CpsThirdPartyEnrollmentOrganization `pulumi:"organization"`
// List of SANs
Sans []string `pulumi:"sans"`
// Type of TLS deployment network
SecureNetwork *string `pulumi:"secureNetwork"`
// The SHA function. Changing this value may require running terraform destroy, terraform apply
SignatureAlgorithm *string `pulumi:"signatureAlgorithm"`
// Whether Server Name Indication is used for enrollment
SniOnly *bool `pulumi:"sniOnly"`
// Contact information for an administrator at Akamai
TechContact *CpsThirdPartyEnrollmentTechContact `pulumi:"techContact"`
}
type CpsThirdPartyEnrollmentState struct {
// Whether acknowledge warnings before certificate verification
AcknowledgePreVerificationWarnings pulumi.BoolPtrInput
// Contact information for the certificate administrator to use at organization
AdminContact CpsThirdPartyEnrollmentAdminContactPtrInput
// Allow to duplicate common name
AllowDuplicateCommonName pulumi.BoolPtrInput
// List of warnings to be automatically approved
AutoApproveWarnings pulumi.StringArrayInput
// Certificate trust chain type
CertificateChainType pulumi.StringPtrInput
// When set to false, the certificate will be deployed to both staging and production networks
ChangeManagement pulumi.BoolPtrInput
// Common name used for enrollment
CommonName pulumi.StringPtrInput
// Contract ID for which enrollment is retrieved
ContractId pulumi.StringPtrInput
// Data used for generation of Certificate Signing Request
Csr CpsThirdPartyEnrollmentCsrPtrInput
// When true, SANs are excluded from the CSR
ExcludeSans pulumi.BoolPtrInput
// Settings containing network information and TLS metadata used by CPS
NetworkConfiguration CpsThirdPartyEnrollmentNetworkConfigurationPtrInput
// Organization information
Organization CpsThirdPartyEnrollmentOrganizationPtrInput
// List of SANs
Sans pulumi.StringArrayInput
// Type of TLS deployment network
SecureNetwork pulumi.StringPtrInput
// The SHA function. Changing this value may require running terraform destroy, terraform apply
SignatureAlgorithm pulumi.StringPtrInput
// Whether Server Name Indication is used for enrollment
SniOnly pulumi.BoolPtrInput
// Contact information for an administrator at Akamai
TechContact CpsThirdPartyEnrollmentTechContactPtrInput
}
func (CpsThirdPartyEnrollmentState) ElementType() reflect.Type {
return reflect.TypeOf((*cpsThirdPartyEnrollmentState)(nil)).Elem()
}
type cpsThirdPartyEnrollmentArgs struct {
// Whether acknowledge warnings before certificate verification
AcknowledgePreVerificationWarnings *bool `pulumi:"acknowledgePreVerificationWarnings"`
// Contact information for the certificate administrator to use at organization
AdminContact CpsThirdPartyEnrollmentAdminContact `pulumi:"adminContact"`
// Allow to duplicate common name
AllowDuplicateCommonName *bool `pulumi:"allowDuplicateCommonName"`
// List of warnings to be automatically approved
AutoApproveWarnings []string `pulumi:"autoApproveWarnings"`
// Certificate trust chain type
CertificateChainType *string `pulumi:"certificateChainType"`
// When set to false, the certificate will be deployed to both staging and production networks
ChangeManagement *bool `pulumi:"changeManagement"`
// Common name used for enrollment
CommonName string `pulumi:"commonName"`
// Contract ID for which enrollment is retrieved
ContractId string `pulumi:"contractId"`
// Data used for generation of Certificate Signing Request
Csr CpsThirdPartyEnrollmentCsr `pulumi:"csr"`
// When true, SANs are excluded from the CSR
ExcludeSans *bool `pulumi:"excludeSans"`
// Settings containing network information and TLS metadata used by CPS
NetworkConfiguration CpsThirdPartyEnrollmentNetworkConfiguration `pulumi:"networkConfiguration"`
// Organization information
Organization CpsThirdPartyEnrollmentOrganization `pulumi:"organization"`
// List of SANs
Sans []string `pulumi:"sans"`
// Type of TLS deployment network
SecureNetwork string `pulumi:"secureNetwork"`
// The SHA function. Changing this value may require running terraform destroy, terraform apply
SignatureAlgorithm *string `pulumi:"signatureAlgorithm"`
// Whether Server Name Indication is used for enrollment
SniOnly bool `pulumi:"sniOnly"`
// Contact information for an administrator at Akamai
TechContact CpsThirdPartyEnrollmentTechContact `pulumi:"techContact"`
}
// The set of arguments for constructing a CpsThirdPartyEnrollment resource.
type CpsThirdPartyEnrollmentArgs struct {
// Whether acknowledge warnings before certificate verification
AcknowledgePreVerificationWarnings pulumi.BoolPtrInput
// Contact information for the certificate administrator to use at organization
AdminContact CpsThirdPartyEnrollmentAdminContactInput
// Allow to duplicate common name
AllowDuplicateCommonName pulumi.BoolPtrInput
// List of warnings to be automatically approved
AutoApproveWarnings pulumi.StringArrayInput
// Certificate trust chain type
CertificateChainType pulumi.StringPtrInput
// When set to false, the certificate will be deployed to both staging and production networks
ChangeManagement pulumi.BoolPtrInput
// Common name used for enrollment
CommonName pulumi.StringInput
// Contract ID for which enrollment is retrieved
ContractId pulumi.StringInput
// Data used for generation of Certificate Signing Request
Csr CpsThirdPartyEnrollmentCsrInput
// When true, SANs are excluded from the CSR
ExcludeSans pulumi.BoolPtrInput
// Settings containing network information and TLS metadata used by CPS
NetworkConfiguration CpsThirdPartyEnrollmentNetworkConfigurationInput
// Organization information
Organization CpsThirdPartyEnrollmentOrganizationInput
// List of SANs
Sans pulumi.StringArrayInput
// Type of TLS deployment network
SecureNetwork pulumi.StringInput
// The SHA function. Changing this value may require running terraform destroy, terraform apply
SignatureAlgorithm pulumi.StringPtrInput
// Whether Server Name Indication is used for enrollment
SniOnly pulumi.BoolInput
// Contact information for an administrator at Akamai
TechContact CpsThirdPartyEnrollmentTechContactInput
}
func (CpsThirdPartyEnrollmentArgs) ElementType() reflect.Type {
return reflect.TypeOf((*cpsThirdPartyEnrollmentArgs)(nil)).Elem()
}
type CpsThirdPartyEnrollmentInput interface {
pulumi.Input
ToCpsThirdPartyEnrollmentOutput() CpsThirdPartyEnrollmentOutput
ToCpsThirdPartyEnrollmentOutputWithContext(ctx context.Context) CpsThirdPartyEnrollmentOutput
}
func (*CpsThirdPartyEnrollment) ElementType() reflect.Type {
return reflect.TypeOf((**CpsThirdPartyEnrollment)(nil)).Elem()
}
func (i *CpsThirdPartyEnrollment) ToCpsThirdPartyEnrollmentOutput() CpsThirdPartyEnrollmentOutput {
return i.ToCpsThirdPartyEnrollmentOutputWithContext(context.Background())
}
func (i *CpsThirdPartyEnrollment) ToCpsThirdPartyEnrollmentOutputWithContext(ctx context.Context) CpsThirdPartyEnrollmentOutput {
return pulumi.ToOutputWithContext(ctx, i).(CpsThirdPartyEnrollmentOutput)
}
// CpsThirdPartyEnrollmentArrayInput is an input type that accepts CpsThirdPartyEnrollmentArray and CpsThirdPartyEnrollmentArrayOutput values.
// You can construct a concrete instance of `CpsThirdPartyEnrollmentArrayInput` via:
//
// CpsThirdPartyEnrollmentArray{ CpsThirdPartyEnrollmentArgs{...} }
type CpsThirdPartyEnrollmentArrayInput interface {
pulumi.Input
ToCpsThirdPartyEnrollmentArrayOutput() CpsThirdPartyEnrollmentArrayOutput
ToCpsThirdPartyEnrollmentArrayOutputWithContext(context.Context) CpsThirdPartyEnrollmentArrayOutput
}
type CpsThirdPartyEnrollmentArray []CpsThirdPartyEnrollmentInput
func (CpsThirdPartyEnrollmentArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]*CpsThirdPartyEnrollment)(nil)).Elem()
}
func (i CpsThirdPartyEnrollmentArray) ToCpsThirdPartyEnrollmentArrayOutput() CpsThirdPartyEnrollmentArrayOutput {
return i.ToCpsThirdPartyEnrollmentArrayOutputWithContext(context.Background())
}
func (i CpsThirdPartyEnrollmentArray) ToCpsThirdPartyEnrollmentArrayOutputWithContext(ctx context.Context) CpsThirdPartyEnrollmentArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(CpsThirdPartyEnrollmentArrayOutput)
}
// CpsThirdPartyEnrollmentMapInput is an input type that accepts CpsThirdPartyEnrollmentMap and CpsThirdPartyEnrollmentMapOutput values.
// You can construct a concrete instance of `CpsThirdPartyEnrollmentMapInput` via:
//
// CpsThirdPartyEnrollmentMap{ "key": CpsThirdPartyEnrollmentArgs{...} }
type CpsThirdPartyEnrollmentMapInput interface {
pulumi.Input
ToCpsThirdPartyEnrollmentMapOutput() CpsThirdPartyEnrollmentMapOutput
ToCpsThirdPartyEnrollmentMapOutputWithContext(context.Context) CpsThirdPartyEnrollmentMapOutput
}
type CpsThirdPartyEnrollmentMap map[string]CpsThirdPartyEnrollmentInput
func (CpsThirdPartyEnrollmentMap) ElementType() reflect.Type {
return reflect.TypeOf((*map[string]*CpsThirdPartyEnrollment)(nil)).Elem()
}
func (i CpsThirdPartyEnrollmentMap) ToCpsThirdPartyEnrollmentMapOutput() CpsThirdPartyEnrollmentMapOutput {
return i.ToCpsThirdPartyEnrollmentMapOutputWithContext(context.Background())
}
func (i CpsThirdPartyEnrollmentMap) ToCpsThirdPartyEnrollmentMapOutputWithContext(ctx context.Context) CpsThirdPartyEnrollmentMapOutput {
return pulumi.ToOutputWithContext(ctx, i).(CpsThirdPartyEnrollmentMapOutput)
}
type CpsThirdPartyEnrollmentOutput struct{ *pulumi.OutputState }
func (CpsThirdPartyEnrollmentOutput) ElementType() reflect.Type {
return reflect.TypeOf((**CpsThirdPartyEnrollment)(nil)).Elem()
}
func (o CpsThirdPartyEnrollmentOutput) ToCpsThirdPartyEnrollmentOutput() CpsThirdPartyEnrollmentOutput {
return o
}
func (o CpsThirdPartyEnrollmentOutput) ToCpsThirdPartyEnrollmentOutputWithContext(ctx context.Context) CpsThirdPartyEnrollmentOutput {
return o
}
// Whether acknowledge warnings before certificate verification
func (o CpsThirdPartyEnrollmentOutput) AcknowledgePreVerificationWarnings() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *CpsThirdPartyEnrollment) pulumi.BoolPtrOutput { return v.AcknowledgePreVerificationWarnings }).(pulumi.BoolPtrOutput)
}
// Contact information for the certificate administrator to use at organization
func (o CpsThirdPartyEnrollmentOutput) AdminContact() CpsThirdPartyEnrollmentAdminContactOutput {
return o.ApplyT(func(v *CpsThirdPartyEnrollment) CpsThirdPartyEnrollmentAdminContactOutput { return v.AdminContact }).(CpsThirdPartyEnrollmentAdminContactOutput)
}
// Allow to duplicate common name
func (o CpsThirdPartyEnrollmentOutput) AllowDuplicateCommonName() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *CpsThirdPartyEnrollment) pulumi.BoolPtrOutput { return v.AllowDuplicateCommonName }).(pulumi.BoolPtrOutput)
}
// List of warnings to be automatically approved
func (o CpsThirdPartyEnrollmentOutput) AutoApproveWarnings() pulumi.StringArrayOutput {
return o.ApplyT(func(v *CpsThirdPartyEnrollment) pulumi.StringArrayOutput { return v.AutoApproveWarnings }).(pulumi.StringArrayOutput)
}
// Certificate trust chain type
func (o CpsThirdPartyEnrollmentOutput) CertificateChainType() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CpsThirdPartyEnrollment) pulumi.StringPtrOutput { return v.CertificateChainType }).(pulumi.StringPtrOutput)
}
// When set to false, the certificate will be deployed to both staging and production networks
func (o CpsThirdPartyEnrollmentOutput) ChangeManagement() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *CpsThirdPartyEnrollment) pulumi.BoolPtrOutput { return v.ChangeManagement }).(pulumi.BoolPtrOutput)
}
// Common name used for enrollment
func (o CpsThirdPartyEnrollmentOutput) CommonName() pulumi.StringOutput {
return o.ApplyT(func(v *CpsThirdPartyEnrollment) pulumi.StringOutput { return v.CommonName }).(pulumi.StringOutput)
}
// Contract ID for which enrollment is retrieved
func (o CpsThirdPartyEnrollmentOutput) ContractId() pulumi.StringOutput {
return o.ApplyT(func(v *CpsThirdPartyEnrollment) pulumi.StringOutput { return v.ContractId }).(pulumi.StringOutput)
}
// Data used for generation of Certificate Signing Request
func (o CpsThirdPartyEnrollmentOutput) Csr() CpsThirdPartyEnrollmentCsrOutput {
return o.ApplyT(func(v *CpsThirdPartyEnrollment) CpsThirdPartyEnrollmentCsrOutput { return v.Csr }).(CpsThirdPartyEnrollmentCsrOutput)
}
// When true, SANs are excluded from the CSR
func (o CpsThirdPartyEnrollmentOutput) ExcludeSans() pulumi.BoolPtrOutput {
return o.ApplyT(func(v *CpsThirdPartyEnrollment) pulumi.BoolPtrOutput { return v.ExcludeSans }).(pulumi.BoolPtrOutput)
}
// Settings containing network information and TLS metadata used by CPS
func (o CpsThirdPartyEnrollmentOutput) NetworkConfiguration() CpsThirdPartyEnrollmentNetworkConfigurationOutput {
return o.ApplyT(func(v *CpsThirdPartyEnrollment) CpsThirdPartyEnrollmentNetworkConfigurationOutput {
return v.NetworkConfiguration
}).(CpsThirdPartyEnrollmentNetworkConfigurationOutput)
}
// Organization information
func (o CpsThirdPartyEnrollmentOutput) Organization() CpsThirdPartyEnrollmentOrganizationOutput {
return o.ApplyT(func(v *CpsThirdPartyEnrollment) CpsThirdPartyEnrollmentOrganizationOutput { return v.Organization }).(CpsThirdPartyEnrollmentOrganizationOutput)
}
// List of SANs
func (o CpsThirdPartyEnrollmentOutput) Sans() pulumi.StringArrayOutput {
return o.ApplyT(func(v *CpsThirdPartyEnrollment) pulumi.StringArrayOutput { return v.Sans }).(pulumi.StringArrayOutput)
}
// Type of TLS deployment network
func (o CpsThirdPartyEnrollmentOutput) SecureNetwork() pulumi.StringOutput {
return o.ApplyT(func(v *CpsThirdPartyEnrollment) pulumi.StringOutput { return v.SecureNetwork }).(pulumi.StringOutput)
}
// The SHA function. Changing this value may require running terraform destroy, terraform apply
func (o CpsThirdPartyEnrollmentOutput) SignatureAlgorithm() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CpsThirdPartyEnrollment) pulumi.StringPtrOutput { return v.SignatureAlgorithm }).(pulumi.StringPtrOutput)
}
// Whether Server Name Indication is used for enrollment
func (o CpsThirdPartyEnrollmentOutput) SniOnly() pulumi.BoolOutput {
return o.ApplyT(func(v *CpsThirdPartyEnrollment) pulumi.BoolOutput { return v.SniOnly }).(pulumi.BoolOutput)
}
// Contact information for an administrator at Akamai
func (o CpsThirdPartyEnrollmentOutput) TechContact() CpsThirdPartyEnrollmentTechContactOutput {
return o.ApplyT(func(v *CpsThirdPartyEnrollment) CpsThirdPartyEnrollmentTechContactOutput { return v.TechContact }).(CpsThirdPartyEnrollmentTechContactOutput)
}
type CpsThirdPartyEnrollmentArrayOutput struct{ *pulumi.OutputState }
func (CpsThirdPartyEnrollmentArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]*CpsThirdPartyEnrollment)(nil)).Elem()
}
func (o CpsThirdPartyEnrollmentArrayOutput) ToCpsThirdPartyEnrollmentArrayOutput() CpsThirdPartyEnrollmentArrayOutput {
return o
}
func (o CpsThirdPartyEnrollmentArrayOutput) ToCpsThirdPartyEnrollmentArrayOutputWithContext(ctx context.Context) CpsThirdPartyEnrollmentArrayOutput {
return o
}
func (o CpsThirdPartyEnrollmentArrayOutput) Index(i pulumi.IntInput) CpsThirdPartyEnrollmentOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) *CpsThirdPartyEnrollment {
return vs[0].([]*CpsThirdPartyEnrollment)[vs[1].(int)]
}).(CpsThirdPartyEnrollmentOutput)
}
type CpsThirdPartyEnrollmentMapOutput struct{ *pulumi.OutputState }
func (CpsThirdPartyEnrollmentMapOutput) ElementType() reflect.Type {
return reflect.TypeOf((*map[string]*CpsThirdPartyEnrollment)(nil)).Elem()
}
func (o CpsThirdPartyEnrollmentMapOutput) ToCpsThirdPartyEnrollmentMapOutput() CpsThirdPartyEnrollmentMapOutput {
return o
}
func (o CpsThirdPartyEnrollmentMapOutput) ToCpsThirdPartyEnrollmentMapOutputWithContext(ctx context.Context) CpsThirdPartyEnrollmentMapOutput {
return o
}
func (o CpsThirdPartyEnrollmentMapOutput) MapIndex(k pulumi.StringInput) CpsThirdPartyEnrollmentOutput {
return pulumi.All(o, k).ApplyT(func(vs []interface{}) *CpsThirdPartyEnrollment {
return vs[0].(map[string]*CpsThirdPartyEnrollment)[vs[1].(string)]
}).(CpsThirdPartyEnrollmentOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*CpsThirdPartyEnrollmentInput)(nil)).Elem(), &CpsThirdPartyEnrollment{})
pulumi.RegisterInputType(reflect.TypeOf((*CpsThirdPartyEnrollmentArrayInput)(nil)).Elem(), CpsThirdPartyEnrollmentArray{})
pulumi.RegisterInputType(reflect.TypeOf((*CpsThirdPartyEnrollmentMapInput)(nil)).Elem(), CpsThirdPartyEnrollmentMap{})
pulumi.RegisterOutputType(CpsThirdPartyEnrollmentOutput{})
pulumi.RegisterOutputType(CpsThirdPartyEnrollmentArrayOutput{})
pulumi.RegisterOutputType(CpsThirdPartyEnrollmentMapOutput{})
}