generated from pulumi/pulumi-tf-provider-boilerplate
/
commitCertificateInformation.go
440 lines (390 loc) · 31.8 KB
/
commitCertificateInformation.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
// 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 ssl
import (
"context"
"reflect"
"errors"
"github.com/mergtil/pulumi-tencentcloud/sdk/go/tencentcloud/internal"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
type CommitCertificateInformation struct {
pulumi.CustomResourceState
// Certificate Id.
CertificateId pulumi.StringOutput `pulumi:"certificateId"`
// The base64-encoded certificate confirmation file should be in jpg, jpeg, png, pdf, and the size should be between 1kb
// and 1.4M. Note: it only works when product_id is set to 8, 9 or 10.
ConfirmLetter pulumi.StringPtrOutput `pulumi:"confirmLetter"`
// Certificate commodity ID. Valid value ranges: (3~42). `3` means SecureSite enhanced Enterprise Edition (EV Pro), `4`
// means SecureSite enhanced (EV), `5` means SecureSite Enterprise Professional Edition (OV Pro), `6` means SecureSite
// Enterprise (OV), `7` means SecureSite Enterprise Type (OV) wildcard, `8` means Geotrust enhanced (EV), `9` means
// Geotrust enterprise (OV), `10` means Geotrust enterprise (OV) wildcard, `11` means TrustAsia domain type multi-domain
// SSL certificate, `12` means TrustAsia domain type ( DV) wildcard, `13` means TrustAsia enterprise wildcard (OV) SSL
// certificate (D3), `14` means TrustAsia enterprise (OV) SSL certificate (D3), `15` means TrustAsia enterprise
// multi-domain (OV) SSL certificate (D3), `16` means TrustAsia Enhanced (EV) SSL Certificate (D3), `17` means TrustAsia
// Enhanced Multiple Domain (EV) SSL Certificate (D3), `18` means GlobalSign Enterprise (OV) SSL Certificate, `19` means
// GlobalSign Enterprise Wildcard (OV) SSL Certificate, `20` means GlobalSign Enhanced (EV) SSL Certificate, `21` means
// TrustAsia Enterprise Wildcard Multiple Domain (OV) SSL Certificate (D3), `22` means GlobalSign Enterprise Multiple
// Domain (OV) SSL Certificate, `23` means GlobalSign Enterprise Multiple Wildcard Domain name (OV) SSL certificate, `24`
// means GlobalSign enhanced multi-domain (EV) SSL certificate, `25` means Wotrus domain type certificate, `26` means
// Wotrus domain type multi-domain certificate, `27` means Wotrus domain type wildcard certificate, `28` means Wotrus
// enterprise type certificate, `29` means Wotrus enterprise multi-domain certificate, `30` means Wotrus enterprise
// wildcard certificate, `31` means Wotrus enhanced certificate, `32` means Wotrus enhanced multi-domain certificate, `33`
// means WoTrus National Secret Domain name Certificate, `34` means WoTrus National Secret Domain name Certificate
// (multiple domain names), `35` WoTrus National Secret Domain name Certificate (wildcard), `37` means WoTrus State Secret
// Enterprise Certificate, `38` means WoTrus State Secret Enterprise Certificate (multiple domain names), `39` means WoTrus
// State Secret Enterprise Certificate (wildcard), `40` means WoTrus National secret enhanced certificate, `41` means
// WoTrus National Secret enhanced Certificate (multiple domain names), `42` means TrustAsia- Domain name Certificate
// (wildcard multiple domain names), `43` means DNSPod Enterprise (OV) SSL Certificate, `44` means DNSPod- Enterprise (OV)
// wildcard SSL certificate, `45` means DNSPod Enterprise (OV) Multi-domain name SSL Certificate, `46` means DNSPod
// enhanced (EV) SSL certificate, `47` means DNSPod enhanced (EV) multi-domain name SSL certificate, `48` means DNSPod
// Domain name Type (DV) SSL Certificate, `49` means DNSPod Domain name Type (DV) wildcard SSL certificate, `50` means
// DNSPod domain name type (DV) multi-domain name SSL certificate, `51` means DNSPod (State Secret) Enterprise (OV) SSL
// certificate, `52` DNSPod (National Secret) Enterprise (OV) wildcard SSL certificate, `53` means DNSPod (National Secret)
// Enterprise (OV) multi-domain SSL certificate, `54` means DNSPod (National Secret) Domain Name (DV) SSL certificate, `55`
// means DNSPod (National Secret) Domain Name Type (DV) wildcard SSL certificate, `56` means DNSPod (National Secret)
// Domain Name Type (DV) multi-domain SSL certificate.
ProductId pulumi.IntOutput `pulumi:"productId"`
// Domain name verification method.
VerifyType pulumi.StringPtrOutput `pulumi:"verifyType"`
}
// NewCommitCertificateInformation registers a new resource with the given unique name, arguments, and options.
func NewCommitCertificateInformation(ctx *pulumi.Context,
name string, args *CommitCertificateInformationArgs, opts ...pulumi.ResourceOption) (*CommitCertificateInformation, error) {
if args == nil {
return nil, errors.New("missing one or more required arguments")
}
if args.CertificateId == nil {
return nil, errors.New("invalid value for required argument 'CertificateId'")
}
if args.ProductId == nil {
return nil, errors.New("invalid value for required argument 'ProductId'")
}
opts = internal.PkgResourceDefaultOpts(opts)
var resource CommitCertificateInformation
err := ctx.RegisterResource("tencentcloud:Ssl/commitCertificateInformation:CommitCertificateInformation", name, args, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// GetCommitCertificateInformation gets an existing CommitCertificateInformation 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 GetCommitCertificateInformation(ctx *pulumi.Context,
name string, id pulumi.IDInput, state *CommitCertificateInformationState, opts ...pulumi.ResourceOption) (*CommitCertificateInformation, error) {
var resource CommitCertificateInformation
err := ctx.ReadResource("tencentcloud:Ssl/commitCertificateInformation:CommitCertificateInformation", name, id, state, &resource, opts...)
if err != nil {
return nil, err
}
return &resource, nil
}
// Input properties used for looking up and filtering CommitCertificateInformation resources.
type commitCertificateInformationState struct {
// Certificate Id.
CertificateId *string `pulumi:"certificateId"`
// The base64-encoded certificate confirmation file should be in jpg, jpeg, png, pdf, and the size should be between 1kb
// and 1.4M. Note: it only works when product_id is set to 8, 9 or 10.
ConfirmLetter *string `pulumi:"confirmLetter"`
// Certificate commodity ID. Valid value ranges: (3~42). `3` means SecureSite enhanced Enterprise Edition (EV Pro), `4`
// means SecureSite enhanced (EV), `5` means SecureSite Enterprise Professional Edition (OV Pro), `6` means SecureSite
// Enterprise (OV), `7` means SecureSite Enterprise Type (OV) wildcard, `8` means Geotrust enhanced (EV), `9` means
// Geotrust enterprise (OV), `10` means Geotrust enterprise (OV) wildcard, `11` means TrustAsia domain type multi-domain
// SSL certificate, `12` means TrustAsia domain type ( DV) wildcard, `13` means TrustAsia enterprise wildcard (OV) SSL
// certificate (D3), `14` means TrustAsia enterprise (OV) SSL certificate (D3), `15` means TrustAsia enterprise
// multi-domain (OV) SSL certificate (D3), `16` means TrustAsia Enhanced (EV) SSL Certificate (D3), `17` means TrustAsia
// Enhanced Multiple Domain (EV) SSL Certificate (D3), `18` means GlobalSign Enterprise (OV) SSL Certificate, `19` means
// GlobalSign Enterprise Wildcard (OV) SSL Certificate, `20` means GlobalSign Enhanced (EV) SSL Certificate, `21` means
// TrustAsia Enterprise Wildcard Multiple Domain (OV) SSL Certificate (D3), `22` means GlobalSign Enterprise Multiple
// Domain (OV) SSL Certificate, `23` means GlobalSign Enterprise Multiple Wildcard Domain name (OV) SSL certificate, `24`
// means GlobalSign enhanced multi-domain (EV) SSL certificate, `25` means Wotrus domain type certificate, `26` means
// Wotrus domain type multi-domain certificate, `27` means Wotrus domain type wildcard certificate, `28` means Wotrus
// enterprise type certificate, `29` means Wotrus enterprise multi-domain certificate, `30` means Wotrus enterprise
// wildcard certificate, `31` means Wotrus enhanced certificate, `32` means Wotrus enhanced multi-domain certificate, `33`
// means WoTrus National Secret Domain name Certificate, `34` means WoTrus National Secret Domain name Certificate
// (multiple domain names), `35` WoTrus National Secret Domain name Certificate (wildcard), `37` means WoTrus State Secret
// Enterprise Certificate, `38` means WoTrus State Secret Enterprise Certificate (multiple domain names), `39` means WoTrus
// State Secret Enterprise Certificate (wildcard), `40` means WoTrus National secret enhanced certificate, `41` means
// WoTrus National Secret enhanced Certificate (multiple domain names), `42` means TrustAsia- Domain name Certificate
// (wildcard multiple domain names), `43` means DNSPod Enterprise (OV) SSL Certificate, `44` means DNSPod- Enterprise (OV)
// wildcard SSL certificate, `45` means DNSPod Enterprise (OV) Multi-domain name SSL Certificate, `46` means DNSPod
// enhanced (EV) SSL certificate, `47` means DNSPod enhanced (EV) multi-domain name SSL certificate, `48` means DNSPod
// Domain name Type (DV) SSL Certificate, `49` means DNSPod Domain name Type (DV) wildcard SSL certificate, `50` means
// DNSPod domain name type (DV) multi-domain name SSL certificate, `51` means DNSPod (State Secret) Enterprise (OV) SSL
// certificate, `52` DNSPod (National Secret) Enterprise (OV) wildcard SSL certificate, `53` means DNSPod (National Secret)
// Enterprise (OV) multi-domain SSL certificate, `54` means DNSPod (National Secret) Domain Name (DV) SSL certificate, `55`
// means DNSPod (National Secret) Domain Name Type (DV) wildcard SSL certificate, `56` means DNSPod (National Secret)
// Domain Name Type (DV) multi-domain SSL certificate.
ProductId *int `pulumi:"productId"`
// Domain name verification method.
VerifyType *string `pulumi:"verifyType"`
}
type CommitCertificateInformationState struct {
// Certificate Id.
CertificateId pulumi.StringPtrInput
// The base64-encoded certificate confirmation file should be in jpg, jpeg, png, pdf, and the size should be between 1kb
// and 1.4M. Note: it only works when product_id is set to 8, 9 or 10.
ConfirmLetter pulumi.StringPtrInput
// Certificate commodity ID. Valid value ranges: (3~42). `3` means SecureSite enhanced Enterprise Edition (EV Pro), `4`
// means SecureSite enhanced (EV), `5` means SecureSite Enterprise Professional Edition (OV Pro), `6` means SecureSite
// Enterprise (OV), `7` means SecureSite Enterprise Type (OV) wildcard, `8` means Geotrust enhanced (EV), `9` means
// Geotrust enterprise (OV), `10` means Geotrust enterprise (OV) wildcard, `11` means TrustAsia domain type multi-domain
// SSL certificate, `12` means TrustAsia domain type ( DV) wildcard, `13` means TrustAsia enterprise wildcard (OV) SSL
// certificate (D3), `14` means TrustAsia enterprise (OV) SSL certificate (D3), `15` means TrustAsia enterprise
// multi-domain (OV) SSL certificate (D3), `16` means TrustAsia Enhanced (EV) SSL Certificate (D3), `17` means TrustAsia
// Enhanced Multiple Domain (EV) SSL Certificate (D3), `18` means GlobalSign Enterprise (OV) SSL Certificate, `19` means
// GlobalSign Enterprise Wildcard (OV) SSL Certificate, `20` means GlobalSign Enhanced (EV) SSL Certificate, `21` means
// TrustAsia Enterprise Wildcard Multiple Domain (OV) SSL Certificate (D3), `22` means GlobalSign Enterprise Multiple
// Domain (OV) SSL Certificate, `23` means GlobalSign Enterprise Multiple Wildcard Domain name (OV) SSL certificate, `24`
// means GlobalSign enhanced multi-domain (EV) SSL certificate, `25` means Wotrus domain type certificate, `26` means
// Wotrus domain type multi-domain certificate, `27` means Wotrus domain type wildcard certificate, `28` means Wotrus
// enterprise type certificate, `29` means Wotrus enterprise multi-domain certificate, `30` means Wotrus enterprise
// wildcard certificate, `31` means Wotrus enhanced certificate, `32` means Wotrus enhanced multi-domain certificate, `33`
// means WoTrus National Secret Domain name Certificate, `34` means WoTrus National Secret Domain name Certificate
// (multiple domain names), `35` WoTrus National Secret Domain name Certificate (wildcard), `37` means WoTrus State Secret
// Enterprise Certificate, `38` means WoTrus State Secret Enterprise Certificate (multiple domain names), `39` means WoTrus
// State Secret Enterprise Certificate (wildcard), `40` means WoTrus National secret enhanced certificate, `41` means
// WoTrus National Secret enhanced Certificate (multiple domain names), `42` means TrustAsia- Domain name Certificate
// (wildcard multiple domain names), `43` means DNSPod Enterprise (OV) SSL Certificate, `44` means DNSPod- Enterprise (OV)
// wildcard SSL certificate, `45` means DNSPod Enterprise (OV) Multi-domain name SSL Certificate, `46` means DNSPod
// enhanced (EV) SSL certificate, `47` means DNSPod enhanced (EV) multi-domain name SSL certificate, `48` means DNSPod
// Domain name Type (DV) SSL Certificate, `49` means DNSPod Domain name Type (DV) wildcard SSL certificate, `50` means
// DNSPod domain name type (DV) multi-domain name SSL certificate, `51` means DNSPod (State Secret) Enterprise (OV) SSL
// certificate, `52` DNSPod (National Secret) Enterprise (OV) wildcard SSL certificate, `53` means DNSPod (National Secret)
// Enterprise (OV) multi-domain SSL certificate, `54` means DNSPod (National Secret) Domain Name (DV) SSL certificate, `55`
// means DNSPod (National Secret) Domain Name Type (DV) wildcard SSL certificate, `56` means DNSPod (National Secret)
// Domain Name Type (DV) multi-domain SSL certificate.
ProductId pulumi.IntPtrInput
// Domain name verification method.
VerifyType pulumi.StringPtrInput
}
func (CommitCertificateInformationState) ElementType() reflect.Type {
return reflect.TypeOf((*commitCertificateInformationState)(nil)).Elem()
}
type commitCertificateInformationArgs struct {
// Certificate Id.
CertificateId string `pulumi:"certificateId"`
// The base64-encoded certificate confirmation file should be in jpg, jpeg, png, pdf, and the size should be between 1kb
// and 1.4M. Note: it only works when product_id is set to 8, 9 or 10.
ConfirmLetter *string `pulumi:"confirmLetter"`
// Certificate commodity ID. Valid value ranges: (3~42). `3` means SecureSite enhanced Enterprise Edition (EV Pro), `4`
// means SecureSite enhanced (EV), `5` means SecureSite Enterprise Professional Edition (OV Pro), `6` means SecureSite
// Enterprise (OV), `7` means SecureSite Enterprise Type (OV) wildcard, `8` means Geotrust enhanced (EV), `9` means
// Geotrust enterprise (OV), `10` means Geotrust enterprise (OV) wildcard, `11` means TrustAsia domain type multi-domain
// SSL certificate, `12` means TrustAsia domain type ( DV) wildcard, `13` means TrustAsia enterprise wildcard (OV) SSL
// certificate (D3), `14` means TrustAsia enterprise (OV) SSL certificate (D3), `15` means TrustAsia enterprise
// multi-domain (OV) SSL certificate (D3), `16` means TrustAsia Enhanced (EV) SSL Certificate (D3), `17` means TrustAsia
// Enhanced Multiple Domain (EV) SSL Certificate (D3), `18` means GlobalSign Enterprise (OV) SSL Certificate, `19` means
// GlobalSign Enterprise Wildcard (OV) SSL Certificate, `20` means GlobalSign Enhanced (EV) SSL Certificate, `21` means
// TrustAsia Enterprise Wildcard Multiple Domain (OV) SSL Certificate (D3), `22` means GlobalSign Enterprise Multiple
// Domain (OV) SSL Certificate, `23` means GlobalSign Enterprise Multiple Wildcard Domain name (OV) SSL certificate, `24`
// means GlobalSign enhanced multi-domain (EV) SSL certificate, `25` means Wotrus domain type certificate, `26` means
// Wotrus domain type multi-domain certificate, `27` means Wotrus domain type wildcard certificate, `28` means Wotrus
// enterprise type certificate, `29` means Wotrus enterprise multi-domain certificate, `30` means Wotrus enterprise
// wildcard certificate, `31` means Wotrus enhanced certificate, `32` means Wotrus enhanced multi-domain certificate, `33`
// means WoTrus National Secret Domain name Certificate, `34` means WoTrus National Secret Domain name Certificate
// (multiple domain names), `35` WoTrus National Secret Domain name Certificate (wildcard), `37` means WoTrus State Secret
// Enterprise Certificate, `38` means WoTrus State Secret Enterprise Certificate (multiple domain names), `39` means WoTrus
// State Secret Enterprise Certificate (wildcard), `40` means WoTrus National secret enhanced certificate, `41` means
// WoTrus National Secret enhanced Certificate (multiple domain names), `42` means TrustAsia- Domain name Certificate
// (wildcard multiple domain names), `43` means DNSPod Enterprise (OV) SSL Certificate, `44` means DNSPod- Enterprise (OV)
// wildcard SSL certificate, `45` means DNSPod Enterprise (OV) Multi-domain name SSL Certificate, `46` means DNSPod
// enhanced (EV) SSL certificate, `47` means DNSPod enhanced (EV) multi-domain name SSL certificate, `48` means DNSPod
// Domain name Type (DV) SSL Certificate, `49` means DNSPod Domain name Type (DV) wildcard SSL certificate, `50` means
// DNSPod domain name type (DV) multi-domain name SSL certificate, `51` means DNSPod (State Secret) Enterprise (OV) SSL
// certificate, `52` DNSPod (National Secret) Enterprise (OV) wildcard SSL certificate, `53` means DNSPod (National Secret)
// Enterprise (OV) multi-domain SSL certificate, `54` means DNSPod (National Secret) Domain Name (DV) SSL certificate, `55`
// means DNSPod (National Secret) Domain Name Type (DV) wildcard SSL certificate, `56` means DNSPod (National Secret)
// Domain Name Type (DV) multi-domain SSL certificate.
ProductId int `pulumi:"productId"`
// Domain name verification method.
VerifyType *string `pulumi:"verifyType"`
}
// The set of arguments for constructing a CommitCertificateInformation resource.
type CommitCertificateInformationArgs struct {
// Certificate Id.
CertificateId pulumi.StringInput
// The base64-encoded certificate confirmation file should be in jpg, jpeg, png, pdf, and the size should be between 1kb
// and 1.4M. Note: it only works when product_id is set to 8, 9 or 10.
ConfirmLetter pulumi.StringPtrInput
// Certificate commodity ID. Valid value ranges: (3~42). `3` means SecureSite enhanced Enterprise Edition (EV Pro), `4`
// means SecureSite enhanced (EV), `5` means SecureSite Enterprise Professional Edition (OV Pro), `6` means SecureSite
// Enterprise (OV), `7` means SecureSite Enterprise Type (OV) wildcard, `8` means Geotrust enhanced (EV), `9` means
// Geotrust enterprise (OV), `10` means Geotrust enterprise (OV) wildcard, `11` means TrustAsia domain type multi-domain
// SSL certificate, `12` means TrustAsia domain type ( DV) wildcard, `13` means TrustAsia enterprise wildcard (OV) SSL
// certificate (D3), `14` means TrustAsia enterprise (OV) SSL certificate (D3), `15` means TrustAsia enterprise
// multi-domain (OV) SSL certificate (D3), `16` means TrustAsia Enhanced (EV) SSL Certificate (D3), `17` means TrustAsia
// Enhanced Multiple Domain (EV) SSL Certificate (D3), `18` means GlobalSign Enterprise (OV) SSL Certificate, `19` means
// GlobalSign Enterprise Wildcard (OV) SSL Certificate, `20` means GlobalSign Enhanced (EV) SSL Certificate, `21` means
// TrustAsia Enterprise Wildcard Multiple Domain (OV) SSL Certificate (D3), `22` means GlobalSign Enterprise Multiple
// Domain (OV) SSL Certificate, `23` means GlobalSign Enterprise Multiple Wildcard Domain name (OV) SSL certificate, `24`
// means GlobalSign enhanced multi-domain (EV) SSL certificate, `25` means Wotrus domain type certificate, `26` means
// Wotrus domain type multi-domain certificate, `27` means Wotrus domain type wildcard certificate, `28` means Wotrus
// enterprise type certificate, `29` means Wotrus enterprise multi-domain certificate, `30` means Wotrus enterprise
// wildcard certificate, `31` means Wotrus enhanced certificate, `32` means Wotrus enhanced multi-domain certificate, `33`
// means WoTrus National Secret Domain name Certificate, `34` means WoTrus National Secret Domain name Certificate
// (multiple domain names), `35` WoTrus National Secret Domain name Certificate (wildcard), `37` means WoTrus State Secret
// Enterprise Certificate, `38` means WoTrus State Secret Enterprise Certificate (multiple domain names), `39` means WoTrus
// State Secret Enterprise Certificate (wildcard), `40` means WoTrus National secret enhanced certificate, `41` means
// WoTrus National Secret enhanced Certificate (multiple domain names), `42` means TrustAsia- Domain name Certificate
// (wildcard multiple domain names), `43` means DNSPod Enterprise (OV) SSL Certificate, `44` means DNSPod- Enterprise (OV)
// wildcard SSL certificate, `45` means DNSPod Enterprise (OV) Multi-domain name SSL Certificate, `46` means DNSPod
// enhanced (EV) SSL certificate, `47` means DNSPod enhanced (EV) multi-domain name SSL certificate, `48` means DNSPod
// Domain name Type (DV) SSL Certificate, `49` means DNSPod Domain name Type (DV) wildcard SSL certificate, `50` means
// DNSPod domain name type (DV) multi-domain name SSL certificate, `51` means DNSPod (State Secret) Enterprise (OV) SSL
// certificate, `52` DNSPod (National Secret) Enterprise (OV) wildcard SSL certificate, `53` means DNSPod (National Secret)
// Enterprise (OV) multi-domain SSL certificate, `54` means DNSPod (National Secret) Domain Name (DV) SSL certificate, `55`
// means DNSPod (National Secret) Domain Name Type (DV) wildcard SSL certificate, `56` means DNSPod (National Secret)
// Domain Name Type (DV) multi-domain SSL certificate.
ProductId pulumi.IntInput
// Domain name verification method.
VerifyType pulumi.StringPtrInput
}
func (CommitCertificateInformationArgs) ElementType() reflect.Type {
return reflect.TypeOf((*commitCertificateInformationArgs)(nil)).Elem()
}
type CommitCertificateInformationInput interface {
pulumi.Input
ToCommitCertificateInformationOutput() CommitCertificateInformationOutput
ToCommitCertificateInformationOutputWithContext(ctx context.Context) CommitCertificateInformationOutput
}
func (*CommitCertificateInformation) ElementType() reflect.Type {
return reflect.TypeOf((**CommitCertificateInformation)(nil)).Elem()
}
func (i *CommitCertificateInformation) ToCommitCertificateInformationOutput() CommitCertificateInformationOutput {
return i.ToCommitCertificateInformationOutputWithContext(context.Background())
}
func (i *CommitCertificateInformation) ToCommitCertificateInformationOutputWithContext(ctx context.Context) CommitCertificateInformationOutput {
return pulumi.ToOutputWithContext(ctx, i).(CommitCertificateInformationOutput)
}
// CommitCertificateInformationArrayInput is an input type that accepts CommitCertificateInformationArray and CommitCertificateInformationArrayOutput values.
// You can construct a concrete instance of `CommitCertificateInformationArrayInput` via:
//
// CommitCertificateInformationArray{ CommitCertificateInformationArgs{...} }
type CommitCertificateInformationArrayInput interface {
pulumi.Input
ToCommitCertificateInformationArrayOutput() CommitCertificateInformationArrayOutput
ToCommitCertificateInformationArrayOutputWithContext(context.Context) CommitCertificateInformationArrayOutput
}
type CommitCertificateInformationArray []CommitCertificateInformationInput
func (CommitCertificateInformationArray) ElementType() reflect.Type {
return reflect.TypeOf((*[]*CommitCertificateInformation)(nil)).Elem()
}
func (i CommitCertificateInformationArray) ToCommitCertificateInformationArrayOutput() CommitCertificateInformationArrayOutput {
return i.ToCommitCertificateInformationArrayOutputWithContext(context.Background())
}
func (i CommitCertificateInformationArray) ToCommitCertificateInformationArrayOutputWithContext(ctx context.Context) CommitCertificateInformationArrayOutput {
return pulumi.ToOutputWithContext(ctx, i).(CommitCertificateInformationArrayOutput)
}
// CommitCertificateInformationMapInput is an input type that accepts CommitCertificateInformationMap and CommitCertificateInformationMapOutput values.
// You can construct a concrete instance of `CommitCertificateInformationMapInput` via:
//
// CommitCertificateInformationMap{ "key": CommitCertificateInformationArgs{...} }
type CommitCertificateInformationMapInput interface {
pulumi.Input
ToCommitCertificateInformationMapOutput() CommitCertificateInformationMapOutput
ToCommitCertificateInformationMapOutputWithContext(context.Context) CommitCertificateInformationMapOutput
}
type CommitCertificateInformationMap map[string]CommitCertificateInformationInput
func (CommitCertificateInformationMap) ElementType() reflect.Type {
return reflect.TypeOf((*map[string]*CommitCertificateInformation)(nil)).Elem()
}
func (i CommitCertificateInformationMap) ToCommitCertificateInformationMapOutput() CommitCertificateInformationMapOutput {
return i.ToCommitCertificateInformationMapOutputWithContext(context.Background())
}
func (i CommitCertificateInformationMap) ToCommitCertificateInformationMapOutputWithContext(ctx context.Context) CommitCertificateInformationMapOutput {
return pulumi.ToOutputWithContext(ctx, i).(CommitCertificateInformationMapOutput)
}
type CommitCertificateInformationOutput struct{ *pulumi.OutputState }
func (CommitCertificateInformationOutput) ElementType() reflect.Type {
return reflect.TypeOf((**CommitCertificateInformation)(nil)).Elem()
}
func (o CommitCertificateInformationOutput) ToCommitCertificateInformationOutput() CommitCertificateInformationOutput {
return o
}
func (o CommitCertificateInformationOutput) ToCommitCertificateInformationOutputWithContext(ctx context.Context) CommitCertificateInformationOutput {
return o
}
// Certificate Id.
func (o CommitCertificateInformationOutput) CertificateId() pulumi.StringOutput {
return o.ApplyT(func(v *CommitCertificateInformation) pulumi.StringOutput { return v.CertificateId }).(pulumi.StringOutput)
}
// The base64-encoded certificate confirmation file should be in jpg, jpeg, png, pdf, and the size should be between 1kb
// and 1.4M. Note: it only works when product_id is set to 8, 9 or 10.
func (o CommitCertificateInformationOutput) ConfirmLetter() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CommitCertificateInformation) pulumi.StringPtrOutput { return v.ConfirmLetter }).(pulumi.StringPtrOutput)
}
// Certificate commodity ID. Valid value ranges: (3~42). `3` means SecureSite enhanced Enterprise Edition (EV Pro), `4`
// means SecureSite enhanced (EV), `5` means SecureSite Enterprise Professional Edition (OV Pro), `6` means SecureSite
// Enterprise (OV), `7` means SecureSite Enterprise Type (OV) wildcard, `8` means Geotrust enhanced (EV), `9` means
// Geotrust enterprise (OV), `10` means Geotrust enterprise (OV) wildcard, `11` means TrustAsia domain type multi-domain
// SSL certificate, `12` means TrustAsia domain type ( DV) wildcard, `13` means TrustAsia enterprise wildcard (OV) SSL
// certificate (D3), `14` means TrustAsia enterprise (OV) SSL certificate (D3), `15` means TrustAsia enterprise
// multi-domain (OV) SSL certificate (D3), `16` means TrustAsia Enhanced (EV) SSL Certificate (D3), `17` means TrustAsia
// Enhanced Multiple Domain (EV) SSL Certificate (D3), `18` means GlobalSign Enterprise (OV) SSL Certificate, `19` means
// GlobalSign Enterprise Wildcard (OV) SSL Certificate, `20` means GlobalSign Enhanced (EV) SSL Certificate, `21` means
// TrustAsia Enterprise Wildcard Multiple Domain (OV) SSL Certificate (D3), `22` means GlobalSign Enterprise Multiple
// Domain (OV) SSL Certificate, `23` means GlobalSign Enterprise Multiple Wildcard Domain name (OV) SSL certificate, `24`
// means GlobalSign enhanced multi-domain (EV) SSL certificate, `25` means Wotrus domain type certificate, `26` means
// Wotrus domain type multi-domain certificate, `27` means Wotrus domain type wildcard certificate, `28` means Wotrus
// enterprise type certificate, `29` means Wotrus enterprise multi-domain certificate, `30` means Wotrus enterprise
// wildcard certificate, `31` means Wotrus enhanced certificate, `32` means Wotrus enhanced multi-domain certificate, `33`
// means WoTrus National Secret Domain name Certificate, `34` means WoTrus National Secret Domain name Certificate
// (multiple domain names), `35` WoTrus National Secret Domain name Certificate (wildcard), `37` means WoTrus State Secret
// Enterprise Certificate, `38` means WoTrus State Secret Enterprise Certificate (multiple domain names), `39` means WoTrus
// State Secret Enterprise Certificate (wildcard), `40` means WoTrus National secret enhanced certificate, `41` means
// WoTrus National Secret enhanced Certificate (multiple domain names), `42` means TrustAsia- Domain name Certificate
// (wildcard multiple domain names), `43` means DNSPod Enterprise (OV) SSL Certificate, `44` means DNSPod- Enterprise (OV)
// wildcard SSL certificate, `45` means DNSPod Enterprise (OV) Multi-domain name SSL Certificate, `46` means DNSPod
// enhanced (EV) SSL certificate, `47` means DNSPod enhanced (EV) multi-domain name SSL certificate, `48` means DNSPod
// Domain name Type (DV) SSL Certificate, `49` means DNSPod Domain name Type (DV) wildcard SSL certificate, `50` means
// DNSPod domain name type (DV) multi-domain name SSL certificate, `51` means DNSPod (State Secret) Enterprise (OV) SSL
// certificate, `52` DNSPod (National Secret) Enterprise (OV) wildcard SSL certificate, `53` means DNSPod (National Secret)
// Enterprise (OV) multi-domain SSL certificate, `54` means DNSPod (National Secret) Domain Name (DV) SSL certificate, `55`
// means DNSPod (National Secret) Domain Name Type (DV) wildcard SSL certificate, `56` means DNSPod (National Secret)
// Domain Name Type (DV) multi-domain SSL certificate.
func (o CommitCertificateInformationOutput) ProductId() pulumi.IntOutput {
return o.ApplyT(func(v *CommitCertificateInformation) pulumi.IntOutput { return v.ProductId }).(pulumi.IntOutput)
}
// Domain name verification method.
func (o CommitCertificateInformationOutput) VerifyType() pulumi.StringPtrOutput {
return o.ApplyT(func(v *CommitCertificateInformation) pulumi.StringPtrOutput { return v.VerifyType }).(pulumi.StringPtrOutput)
}
type CommitCertificateInformationArrayOutput struct{ *pulumi.OutputState }
func (CommitCertificateInformationArrayOutput) ElementType() reflect.Type {
return reflect.TypeOf((*[]*CommitCertificateInformation)(nil)).Elem()
}
func (o CommitCertificateInformationArrayOutput) ToCommitCertificateInformationArrayOutput() CommitCertificateInformationArrayOutput {
return o
}
func (o CommitCertificateInformationArrayOutput) ToCommitCertificateInformationArrayOutputWithContext(ctx context.Context) CommitCertificateInformationArrayOutput {
return o
}
func (o CommitCertificateInformationArrayOutput) Index(i pulumi.IntInput) CommitCertificateInformationOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) *CommitCertificateInformation {
return vs[0].([]*CommitCertificateInformation)[vs[1].(int)]
}).(CommitCertificateInformationOutput)
}
type CommitCertificateInformationMapOutput struct{ *pulumi.OutputState }
func (CommitCertificateInformationMapOutput) ElementType() reflect.Type {
return reflect.TypeOf((*map[string]*CommitCertificateInformation)(nil)).Elem()
}
func (o CommitCertificateInformationMapOutput) ToCommitCertificateInformationMapOutput() CommitCertificateInformationMapOutput {
return o
}
func (o CommitCertificateInformationMapOutput) ToCommitCertificateInformationMapOutputWithContext(ctx context.Context) CommitCertificateInformationMapOutput {
return o
}
func (o CommitCertificateInformationMapOutput) MapIndex(k pulumi.StringInput) CommitCertificateInformationOutput {
return pulumi.All(o, k).ApplyT(func(vs []interface{}) *CommitCertificateInformation {
return vs[0].(map[string]*CommitCertificateInformation)[vs[1].(string)]
}).(CommitCertificateInformationOutput)
}
func init() {
pulumi.RegisterInputType(reflect.TypeOf((*CommitCertificateInformationInput)(nil)).Elem(), &CommitCertificateInformation{})
pulumi.RegisterInputType(reflect.TypeOf((*CommitCertificateInformationArrayInput)(nil)).Elem(), CommitCertificateInformationArray{})
pulumi.RegisterInputType(reflect.TypeOf((*CommitCertificateInformationMapInput)(nil)).Elem(), CommitCertificateInformationMap{})
pulumi.RegisterOutputType(CommitCertificateInformationOutput{})
pulumi.RegisterOutputType(CommitCertificateInformationArrayOutput{})
pulumi.RegisterOutputType(CommitCertificateInformationMapOutput{})
}