Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type Certificate
- type CertificateArgs
- type CertificateArray
- type CertificateArrayInput
- type CertificateArrayOutput
- func (CertificateArrayOutput) ElementType() reflect.Type
- func (o CertificateArrayOutput) Index(i pulumi.IntInput) CertificateOutput
- func (o CertificateArrayOutput) ToCertificateArrayOutput() CertificateArrayOutput
- func (o CertificateArrayOutput) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput
- type CertificateAuthentification
- type CertificateAuthentificationArgs
- func (CertificateAuthentificationArgs) ElementType() reflect.Type
- func (i CertificateAuthentificationArgs) ToCertificateAuthentificationOutput() CertificateAuthentificationOutput
- func (i CertificateAuthentificationArgs) ToCertificateAuthentificationOutputWithContext(ctx context.Context) CertificateAuthentificationOutput
- type CertificateAuthentificationArray
- func (CertificateAuthentificationArray) ElementType() reflect.Type
- func (i CertificateAuthentificationArray) ToCertificateAuthentificationArrayOutput() CertificateAuthentificationArrayOutput
- func (i CertificateAuthentificationArray) ToCertificateAuthentificationArrayOutputWithContext(ctx context.Context) CertificateAuthentificationArrayOutput
- type CertificateAuthentificationArrayInput
- type CertificateAuthentificationArrayOutput
- func (CertificateAuthentificationArrayOutput) ElementType() reflect.Type
- func (o CertificateAuthentificationArrayOutput) Index(i pulumi.IntInput) CertificateAuthentificationOutput
- func (o CertificateAuthentificationArrayOutput) ToCertificateAuthentificationArrayOutput() CertificateAuthentificationArrayOutput
- func (o CertificateAuthentificationArrayOutput) ToCertificateAuthentificationArrayOutputWithContext(ctx context.Context) CertificateAuthentificationArrayOutput
- type CertificateAuthentificationInput
- type CertificateAuthentificationOutput
- func (o CertificateAuthentificationOutput) Domain() pulumi.StringPtrOutput
- func (CertificateAuthentificationOutput) ElementType() reflect.Type
- func (o CertificateAuthentificationOutput) RecordName() pulumi.StringPtrOutput
- func (o CertificateAuthentificationOutput) RecordType() pulumi.StringPtrOutput
- func (o CertificateAuthentificationOutput) RecordValue() pulumi.StringPtrOutput
- func (o CertificateAuthentificationOutput) ToCertificateAuthentificationOutput() CertificateAuthentificationOutput
- func (o CertificateAuthentificationOutput) ToCertificateAuthentificationOutputWithContext(ctx context.Context) CertificateAuthentificationOutput
- type CertificateInput
- type CertificateMap
- type CertificateMapInput
- type CertificateMapOutput
- func (CertificateMapOutput) ElementType() reflect.Type
- func (o CertificateMapOutput) MapIndex(k pulumi.StringInput) CertificateOutput
- func (o CertificateMapOutput) ToCertificateMapOutput() CertificateMapOutput
- func (o CertificateMapOutput) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput
- type CertificateOutput
- func (o CertificateOutput) Authentifications() CertificateAuthentificationArrayOutput
- func (o CertificateOutput) Certificate() pulumi.StringOutput
- func (o CertificateOutput) CertificateChain() pulumi.StringOutput
- func (o CertificateOutput) Domain() pulumi.StringOutput
- func (o CertificateOutput) DomainCount() pulumi.IntOutput
- func (CertificateOutput) ElementType() reflect.Type
- func (o CertificateOutput) Name() pulumi.StringOutput
- func (o CertificateOutput) NotAfter() pulumi.StringOutput
- func (o CertificateOutput) NotBefore() pulumi.StringOutput
- func (o CertificateOutput) PrivateKey() pulumi.StringOutput
- func (o CertificateOutput) PushSupport() pulumi.StringOutput
- func (o CertificateOutput) Region() pulumi.StringOutput
- func (o CertificateOutput) Status() pulumi.StringOutput
- func (o CertificateOutput) Targets() CertificateTargetArrayOutput
- func (o CertificateOutput) ToCertificateOutput() CertificateOutput
- func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
- type CertificateState
- type CertificateTarget
- type CertificateTargetArgs
- type CertificateTargetArray
- type CertificateTargetArrayInput
- type CertificateTargetArrayOutput
- func (CertificateTargetArrayOutput) ElementType() reflect.Type
- func (o CertificateTargetArrayOutput) Index(i pulumi.IntInput) CertificateTargetOutput
- func (o CertificateTargetArrayOutput) ToCertificateTargetArrayOutput() CertificateTargetArrayOutput
- func (o CertificateTargetArrayOutput) ToCertificateTargetArrayOutputWithContext(ctx context.Context) CertificateTargetArrayOutput
- type CertificateTargetInput
- type CertificateTargetOutput
- func (CertificateTargetOutput) ElementType() reflect.Type
- func (o CertificateTargetOutput) Projects() pulumi.StringArrayOutput
- func (o CertificateTargetOutput) Service() pulumi.StringOutput
- func (o CertificateTargetOutput) ToCertificateTargetOutput() CertificateTargetOutput
- func (o CertificateTargetOutput) ToCertificateTargetOutputWithContext(ctx context.Context) CertificateTargetOutput
- type GetCertificatesArgs
- type GetCertificatesCertificate
- type GetCertificatesCertificateArgs
- func (GetCertificatesCertificateArgs) ElementType() reflect.Type
- func (i GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutput() GetCertificatesCertificateOutput
- func (i GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutputWithContext(ctx context.Context) GetCertificatesCertificateOutput
- type GetCertificatesCertificateArray
- func (GetCertificatesCertificateArray) ElementType() reflect.Type
- func (i GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutput() GetCertificatesCertificateArrayOutput
- func (i GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateArrayOutput
- type GetCertificatesCertificateArrayInput
- type GetCertificatesCertificateArrayOutput
- func (GetCertificatesCertificateArrayOutput) ElementType() reflect.Type
- func (o GetCertificatesCertificateArrayOutput) Index(i pulumi.IntInput) GetCertificatesCertificateOutput
- func (o GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutput() GetCertificatesCertificateArrayOutput
- func (o GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateArrayOutput
- type GetCertificatesCertificateInput
- type GetCertificatesCertificateOutput
- func (o GetCertificatesCertificateOutput) Brand() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) DeploySupport() pulumi.BoolOutput
- func (o GetCertificatesCertificateOutput) Description() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) Domain() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) DomainCount() pulumi.IntOutput
- func (o GetCertificatesCertificateOutput) DomainType() pulumi.StringOutput
- func (GetCertificatesCertificateOutput) ElementType() reflect.Type
- func (o GetCertificatesCertificateOutput) EnterpriseProjectId() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) ExpireTime() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) Id() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) Name() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) Sans() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) SignatureAlgorithm() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) Status() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutput() GetCertificatesCertificateOutput
- func (o GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutputWithContext(ctx context.Context) GetCertificatesCertificateOutput
- func (o GetCertificatesCertificateOutput) Type() pulumi.StringOutput
- func (o GetCertificatesCertificateOutput) ValidityPeriod() pulumi.IntOutput
- func (o GetCertificatesCertificateOutput) WildcardCount() pulumi.IntOutput
- type GetCertificatesOutputArgs
- type GetCertificatesResult
- type GetCertificatesResultOutput
- func (o GetCertificatesResultOutput) Certificates() GetCertificatesCertificateArrayOutput
- func (o GetCertificatesResultOutput) DeploySupport() pulumi.BoolPtrOutput
- func (GetCertificatesResultOutput) ElementType() reflect.Type
- func (o GetCertificatesResultOutput) EnterpriseProjectId() pulumi.StringPtrOutput
- func (o GetCertificatesResultOutput) Id() pulumi.StringOutput
- func (o GetCertificatesResultOutput) Name() pulumi.StringPtrOutput
- func (o GetCertificatesResultOutput) Region() pulumi.StringOutput
- func (o GetCertificatesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetCertificatesResultOutput) ToGetCertificatesResultOutput() GetCertificatesResultOutput
- func (o GetCertificatesResultOutput) ToGetCertificatesResultOutputWithContext(ctx context.Context) GetCertificatesResultOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v0.0.2
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type Certificate ¶
type Certificate struct { pulumi.CustomResourceState // (List) Domain ownership verification information. // This is a list, each item of data is as follows: Authentifications CertificateAuthentificationArrayOutput `pulumi:"authentifications"` // The public encrypted key of the Certificate, PEM format. // Changing this parameter will create a new resource. Certificate pulumi.StringOutput `pulumi:"certificate"` // The chain of the certificate. // It can be extracted from the *server.crt* file in the Nginx directory, // usually after the second paragraph is the certificate chain. // Changing this parameter will create a new resource. CertificateChain pulumi.StringOutput `pulumi:"certificateChain"` // Domain name mapping to the verification value Domain pulumi.StringOutput `pulumi:"domain"` // Number of domain names can be bound to a certificate. DomainCount pulumi.IntOutput `pulumi:"domainCount"` // Human-readable name for the Certificate. // Does not have to be unique. The value contains a maximum of 63 characters. // Changing this parameter will create a new resource. Name pulumi.StringOutput `pulumi:"name"` // Time when the certificate becomes invalid. If no valid value is obtained, this parameter is left blank. NotAfter pulumi.StringOutput `pulumi:"notAfter"` // Time when the certificate takes effect. If no valid value is obtained, this parameter is left blank. NotBefore pulumi.StringOutput `pulumi:"notBefore"` // The private encrypted key of the Certificate, PEM format. // Changing this parameter will create a new resource. PrivateKey pulumi.StringOutput `pulumi:"privateKey"` // Whether a certificate can be pushed. PushSupport pulumi.StringOutput `pulumi:"pushSupport"` // The region in which to create the SCM certificate resource. // If omitted, the provider-level region will be used. // Changing this setting will push a new certificate. Region pulumi.StringOutput `pulumi:"region"` // Certificate status. The value can be: Status pulumi.StringOutput `pulumi:"status"` // The service to which the certificate needs to be pushed. Targets CertificateTargetArrayOutput `pulumi:"targets"` }
SSL Certificate Manager (SCM) allows you to purchase Secure Sockets Layer (SSL) certificates from the world's leading digital certificate authorities (CAs), upload existing SSL certificates, and centrally manage all your SSL certificates in one place.
## Example Usage ### Load the certificate contents from the local files
```go package main
import (
"io/ioutil" "github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Scm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := ioutil.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) } func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Scm.NewCertificate(ctx, "certificate1", &Scm.CertificateArgs{ Certificate: readFileOrPanic("/usr/local/data/certificate/cert_xxx/xxx_ca.crt"), CertificateChain: readFileOrPanic("/usr/local/data/certificate/cert_xxx/xxx_ca_chain.crt"), PrivateKey: readFileOrPanic("/usr/local/data/certificate/cert_xxx/xxx_server.key"), }) if err != nil { return err } return nil }) }
``` ### Write the contents of the certificate into the Terrafrom script
```go package main
import (
"fmt" "github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Scm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Scm.NewCertificate(ctx, "certificate2", &Scm.CertificateArgs{ Certificate: pulumi.String(fmt.Sprintf(`-----BEGIN CERTIFICATE-----
MIIC9DCCAl2gAwIBAgIUUcJZn3ep4l8iHu6lL/jE2UV+G8gwDQYJKoZIhvcNAQEL ZWlqaW5nMQswC... (This is an example, please replace it with a encrypted key of valid SSL certificate.) -----END CERTIFICATE----------
`)),
CertificateChain: pulumi.String(fmt.Sprintf(`-----BEGIN CERTIFICATE-----
MIIC9DCCAl2gAwIBAgIUUcJZn3ep4l8iHu6lL/jE2UV+G8gwDQYJKoZIhvcNAQEL BQAwgYsxCzAJB... (This is an example, please replace it with a encrypted key of valid SSL certificate.) -----END CERTIFICATE----------
`)),
PrivateKey: pulumi.String(fmt.Sprintf(`-----BEGIN PRIVATE KEY-----
QWH3GbHx5bGQyexHj2hre4yEahn4dAKKdjSAMUuSfLWygp2pEdNFOegYTdqk/snv mhNmxp74oUcVfi1Msw6KY2... (This is an example, please replace it with a encrypted key of valid SSL certificate.) -----END PRIVATE KEY-----
`)),
}) if err != nil { return err } return nil }) }
``` ### Push the SSL certificate to another HUAWEI CLOUD service
```go package main
import (
"io/ioutil" "github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Scm" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Scm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := ioutil.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) } func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Scm.NewCertificate(ctx, "certificate3", &Scm.CertificateArgs{ Certificate: readFileOrPanic("/usr/local/data/certificate/cert_xxx/xxx_ca.crt"), CertificateChain: readFileOrPanic("/usr/local/data/certificate/cert_xxx/xxx_ca_chain.crt"), PrivateKey: readFileOrPanic("/usr/local/data/certificate/cert_xxx/xxx_server.key"), Targets: scm.CertificateTargetArray{ &scm.CertificateTargetArgs{ Projects: pulumi.StringArray{ pulumi.String("la-south-2"), }, Service: pulumi.String("Enhance_ELB"), }, &scm.CertificateTargetArgs{ Service: pulumi.String("CDN"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Certificates can be imported using the `id`, e.g.
```sh
$ pulumi import huaweicloud:Scm/certificate:Certificate certificate_1 scs1627959834994
```
func GetCertificate ¶
func GetCertificate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CertificateState, opts ...pulumi.ResourceOption) (*Certificate, error)
GetCertificate gets an existing Certificate 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 NewCertificate ¶
func NewCertificate(ctx *pulumi.Context, name string, args *CertificateArgs, opts ...pulumi.ResourceOption) (*Certificate, error)
NewCertificate registers a new resource with the given unique name, arguments, and options.
func (*Certificate) ElementType ¶
func (*Certificate) ElementType() reflect.Type
func (*Certificate) ToCertificateOutput ¶
func (i *Certificate) ToCertificateOutput() CertificateOutput
func (*Certificate) ToCertificateOutputWithContext ¶
func (i *Certificate) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
type CertificateArgs ¶
type CertificateArgs struct { // The public encrypted key of the Certificate, PEM format. // Changing this parameter will create a new resource. Certificate pulumi.StringInput // The chain of the certificate. // It can be extracted from the *server.crt* file in the Nginx directory, // usually after the second paragraph is the certificate chain. // Changing this parameter will create a new resource. CertificateChain pulumi.StringInput // Human-readable name for the Certificate. // Does not have to be unique. The value contains a maximum of 63 characters. // Changing this parameter will create a new resource. Name pulumi.StringPtrInput // The private encrypted key of the Certificate, PEM format. // Changing this parameter will create a new resource. PrivateKey pulumi.StringInput // The region in which to create the SCM certificate resource. // If omitted, the provider-level region will be used. // Changing this setting will push a new certificate. Region pulumi.StringPtrInput // The service to which the certificate needs to be pushed. Targets CertificateTargetArrayInput }
The set of arguments for constructing a Certificate resource.
func (CertificateArgs) ElementType ¶
func (CertificateArgs) ElementType() reflect.Type
type CertificateArray ¶
type CertificateArray []CertificateInput
func (CertificateArray) ElementType ¶
func (CertificateArray) ElementType() reflect.Type
func (CertificateArray) ToCertificateArrayOutput ¶
func (i CertificateArray) ToCertificateArrayOutput() CertificateArrayOutput
func (CertificateArray) ToCertificateArrayOutputWithContext ¶
func (i CertificateArray) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput
type CertificateArrayInput ¶
type CertificateArrayInput interface { pulumi.Input ToCertificateArrayOutput() CertificateArrayOutput ToCertificateArrayOutputWithContext(context.Context) CertificateArrayOutput }
CertificateArrayInput is an input type that accepts CertificateArray and CertificateArrayOutput values. You can construct a concrete instance of `CertificateArrayInput` via:
CertificateArray{ CertificateArgs{...} }
type CertificateArrayOutput ¶
type CertificateArrayOutput struct{ *pulumi.OutputState }
func (CertificateArrayOutput) ElementType ¶
func (CertificateArrayOutput) ElementType() reflect.Type
func (CertificateArrayOutput) Index ¶
func (o CertificateArrayOutput) Index(i pulumi.IntInput) CertificateOutput
func (CertificateArrayOutput) ToCertificateArrayOutput ¶
func (o CertificateArrayOutput) ToCertificateArrayOutput() CertificateArrayOutput
func (CertificateArrayOutput) ToCertificateArrayOutputWithContext ¶
func (o CertificateArrayOutput) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput
type CertificateAuthentification ¶
type CertificateAuthentification struct { // Domain name mapping to the verification value Domain *string `pulumi:"domain"` // Name of a domain ownership verification value. RecordName *string `pulumi:"recordName"` // Type of the domain name verification value. RecordType *string `pulumi:"recordType"` // Domain verification value. RecordValue *string `pulumi:"recordValue"` }
type CertificateAuthentificationArgs ¶
type CertificateAuthentificationArgs struct { // Domain name mapping to the verification value Domain pulumi.StringPtrInput `pulumi:"domain"` // Name of a domain ownership verification value. RecordName pulumi.StringPtrInput `pulumi:"recordName"` // Type of the domain name verification value. RecordType pulumi.StringPtrInput `pulumi:"recordType"` // Domain verification value. RecordValue pulumi.StringPtrInput `pulumi:"recordValue"` }
func (CertificateAuthentificationArgs) ElementType ¶
func (CertificateAuthentificationArgs) ElementType() reflect.Type
func (CertificateAuthentificationArgs) ToCertificateAuthentificationOutput ¶
func (i CertificateAuthentificationArgs) ToCertificateAuthentificationOutput() CertificateAuthentificationOutput
func (CertificateAuthentificationArgs) ToCertificateAuthentificationOutputWithContext ¶
func (i CertificateAuthentificationArgs) ToCertificateAuthentificationOutputWithContext(ctx context.Context) CertificateAuthentificationOutput
type CertificateAuthentificationArray ¶
type CertificateAuthentificationArray []CertificateAuthentificationInput
func (CertificateAuthentificationArray) ElementType ¶
func (CertificateAuthentificationArray) ElementType() reflect.Type
func (CertificateAuthentificationArray) ToCertificateAuthentificationArrayOutput ¶
func (i CertificateAuthentificationArray) ToCertificateAuthentificationArrayOutput() CertificateAuthentificationArrayOutput
func (CertificateAuthentificationArray) ToCertificateAuthentificationArrayOutputWithContext ¶
func (i CertificateAuthentificationArray) ToCertificateAuthentificationArrayOutputWithContext(ctx context.Context) CertificateAuthentificationArrayOutput
type CertificateAuthentificationArrayInput ¶
type CertificateAuthentificationArrayInput interface { pulumi.Input ToCertificateAuthentificationArrayOutput() CertificateAuthentificationArrayOutput ToCertificateAuthentificationArrayOutputWithContext(context.Context) CertificateAuthentificationArrayOutput }
CertificateAuthentificationArrayInput is an input type that accepts CertificateAuthentificationArray and CertificateAuthentificationArrayOutput values. You can construct a concrete instance of `CertificateAuthentificationArrayInput` via:
CertificateAuthentificationArray{ CertificateAuthentificationArgs{...} }
type CertificateAuthentificationArrayOutput ¶
type CertificateAuthentificationArrayOutput struct{ *pulumi.OutputState }
func (CertificateAuthentificationArrayOutput) ElementType ¶
func (CertificateAuthentificationArrayOutput) ElementType() reflect.Type
func (CertificateAuthentificationArrayOutput) ToCertificateAuthentificationArrayOutput ¶
func (o CertificateAuthentificationArrayOutput) ToCertificateAuthentificationArrayOutput() CertificateAuthentificationArrayOutput
func (CertificateAuthentificationArrayOutput) ToCertificateAuthentificationArrayOutputWithContext ¶
func (o CertificateAuthentificationArrayOutput) ToCertificateAuthentificationArrayOutputWithContext(ctx context.Context) CertificateAuthentificationArrayOutput
type CertificateAuthentificationInput ¶
type CertificateAuthentificationInput interface { pulumi.Input ToCertificateAuthentificationOutput() CertificateAuthentificationOutput ToCertificateAuthentificationOutputWithContext(context.Context) CertificateAuthentificationOutput }
CertificateAuthentificationInput is an input type that accepts CertificateAuthentificationArgs and CertificateAuthentificationOutput values. You can construct a concrete instance of `CertificateAuthentificationInput` via:
CertificateAuthentificationArgs{...}
type CertificateAuthentificationOutput ¶
type CertificateAuthentificationOutput struct{ *pulumi.OutputState }
func (CertificateAuthentificationOutput) Domain ¶
func (o CertificateAuthentificationOutput) Domain() pulumi.StringPtrOutput
Domain name mapping to the verification value
func (CertificateAuthentificationOutput) ElementType ¶
func (CertificateAuthentificationOutput) ElementType() reflect.Type
func (CertificateAuthentificationOutput) RecordName ¶
func (o CertificateAuthentificationOutput) RecordName() pulumi.StringPtrOutput
Name of a domain ownership verification value.
func (CertificateAuthentificationOutput) RecordType ¶
func (o CertificateAuthentificationOutput) RecordType() pulumi.StringPtrOutput
Type of the domain name verification value.
func (CertificateAuthentificationOutput) RecordValue ¶
func (o CertificateAuthentificationOutput) RecordValue() pulumi.StringPtrOutput
Domain verification value.
func (CertificateAuthentificationOutput) ToCertificateAuthentificationOutput ¶
func (o CertificateAuthentificationOutput) ToCertificateAuthentificationOutput() CertificateAuthentificationOutput
func (CertificateAuthentificationOutput) ToCertificateAuthentificationOutputWithContext ¶
func (o CertificateAuthentificationOutput) ToCertificateAuthentificationOutputWithContext(ctx context.Context) CertificateAuthentificationOutput
type CertificateInput ¶
type CertificateInput interface { pulumi.Input ToCertificateOutput() CertificateOutput ToCertificateOutputWithContext(ctx context.Context) CertificateOutput }
type CertificateMap ¶
type CertificateMap map[string]CertificateInput
func (CertificateMap) ElementType ¶
func (CertificateMap) ElementType() reflect.Type
func (CertificateMap) ToCertificateMapOutput ¶
func (i CertificateMap) ToCertificateMapOutput() CertificateMapOutput
func (CertificateMap) ToCertificateMapOutputWithContext ¶
func (i CertificateMap) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput
type CertificateMapInput ¶
type CertificateMapInput interface { pulumi.Input ToCertificateMapOutput() CertificateMapOutput ToCertificateMapOutputWithContext(context.Context) CertificateMapOutput }
CertificateMapInput is an input type that accepts CertificateMap and CertificateMapOutput values. You can construct a concrete instance of `CertificateMapInput` via:
CertificateMap{ "key": CertificateArgs{...} }
type CertificateMapOutput ¶
type CertificateMapOutput struct{ *pulumi.OutputState }
func (CertificateMapOutput) ElementType ¶
func (CertificateMapOutput) ElementType() reflect.Type
func (CertificateMapOutput) MapIndex ¶
func (o CertificateMapOutput) MapIndex(k pulumi.StringInput) CertificateOutput
func (CertificateMapOutput) ToCertificateMapOutput ¶
func (o CertificateMapOutput) ToCertificateMapOutput() CertificateMapOutput
func (CertificateMapOutput) ToCertificateMapOutputWithContext ¶
func (o CertificateMapOutput) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput
type CertificateOutput ¶
type CertificateOutput struct{ *pulumi.OutputState }
func (CertificateOutput) Authentifications ¶
func (o CertificateOutput) Authentifications() CertificateAuthentificationArrayOutput
(List) Domain ownership verification information. This is a list, each item of data is as follows:
func (CertificateOutput) Certificate ¶
func (o CertificateOutput) Certificate() pulumi.StringOutput
The public encrypted key of the Certificate, PEM format. Changing this parameter will create a new resource.
func (CertificateOutput) CertificateChain ¶
func (o CertificateOutput) CertificateChain() pulumi.StringOutput
The chain of the certificate. It can be extracted from the *server.crt* file in the Nginx directory, usually after the second paragraph is the certificate chain. Changing this parameter will create a new resource.
func (CertificateOutput) Domain ¶
func (o CertificateOutput) Domain() pulumi.StringOutput
Domain name mapping to the verification value
func (CertificateOutput) DomainCount ¶
func (o CertificateOutput) DomainCount() pulumi.IntOutput
Number of domain names can be bound to a certificate.
func (CertificateOutput) ElementType ¶
func (CertificateOutput) ElementType() reflect.Type
func (CertificateOutput) Name ¶
func (o CertificateOutput) Name() pulumi.StringOutput
Human-readable name for the Certificate. Does not have to be unique. The value contains a maximum of 63 characters. Changing this parameter will create a new resource.
func (CertificateOutput) NotAfter ¶
func (o CertificateOutput) NotAfter() pulumi.StringOutput
Time when the certificate becomes invalid. If no valid value is obtained, this parameter is left blank.
func (CertificateOutput) NotBefore ¶
func (o CertificateOutput) NotBefore() pulumi.StringOutput
Time when the certificate takes effect. If no valid value is obtained, this parameter is left blank.
func (CertificateOutput) PrivateKey ¶
func (o CertificateOutput) PrivateKey() pulumi.StringOutput
The private encrypted key of the Certificate, PEM format. Changing this parameter will create a new resource.
func (CertificateOutput) PushSupport ¶
func (o CertificateOutput) PushSupport() pulumi.StringOutput
Whether a certificate can be pushed.
func (CertificateOutput) Region ¶
func (o CertificateOutput) Region() pulumi.StringOutput
The region in which to create the SCM certificate resource. If omitted, the provider-level region will be used. Changing this setting will push a new certificate.
func (CertificateOutput) Status ¶
func (o CertificateOutput) Status() pulumi.StringOutput
Certificate status. The value can be:
func (CertificateOutput) Targets ¶
func (o CertificateOutput) Targets() CertificateTargetArrayOutput
The service to which the certificate needs to be pushed.
func (CertificateOutput) ToCertificateOutput ¶
func (o CertificateOutput) ToCertificateOutput() CertificateOutput
func (CertificateOutput) ToCertificateOutputWithContext ¶
func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
type CertificateState ¶
type CertificateState struct { // (List) Domain ownership verification information. // This is a list, each item of data is as follows: Authentifications CertificateAuthentificationArrayInput // The public encrypted key of the Certificate, PEM format. // Changing this parameter will create a new resource. Certificate pulumi.StringPtrInput // The chain of the certificate. // It can be extracted from the *server.crt* file in the Nginx directory, // usually after the second paragraph is the certificate chain. // Changing this parameter will create a new resource. CertificateChain pulumi.StringPtrInput // Domain name mapping to the verification value Domain pulumi.StringPtrInput // Number of domain names can be bound to a certificate. DomainCount pulumi.IntPtrInput // Human-readable name for the Certificate. // Does not have to be unique. The value contains a maximum of 63 characters. // Changing this parameter will create a new resource. Name pulumi.StringPtrInput // Time when the certificate becomes invalid. If no valid value is obtained, this parameter is left blank. NotAfter pulumi.StringPtrInput // Time when the certificate takes effect. If no valid value is obtained, this parameter is left blank. NotBefore pulumi.StringPtrInput // The private encrypted key of the Certificate, PEM format. // Changing this parameter will create a new resource. PrivateKey pulumi.StringPtrInput // Whether a certificate can be pushed. PushSupport pulumi.StringPtrInput // The region in which to create the SCM certificate resource. // If omitted, the provider-level region will be used. // Changing this setting will push a new certificate. Region pulumi.StringPtrInput // Certificate status. The value can be: Status pulumi.StringPtrInput // The service to which the certificate needs to be pushed. Targets CertificateTargetArrayInput }
func (CertificateState) ElementType ¶
func (CertificateState) ElementType() reflect.Type
type CertificateTarget ¶
type CertificateTarget struct { // The project where the service you want to push a certificate to. The same certificate // can be pushed repeatedly to the same WAF or ELB service in the same `project`, but the CDN service can only be pushed // once. Projects []string `pulumi:"projects"` // Service to which the certificate is pushed. The options include `CDN`,`WAF` // and `Enhance_ELB`. Service string `pulumi:"service"` }
type CertificateTargetArgs ¶
type CertificateTargetArgs struct { // The project where the service you want to push a certificate to. The same certificate // can be pushed repeatedly to the same WAF or ELB service in the same `project`, but the CDN service can only be pushed // once. Projects pulumi.StringArrayInput `pulumi:"projects"` // Service to which the certificate is pushed. The options include `CDN`,`WAF` // and `Enhance_ELB`. Service pulumi.StringInput `pulumi:"service"` }
func (CertificateTargetArgs) ElementType ¶
func (CertificateTargetArgs) ElementType() reflect.Type
func (CertificateTargetArgs) ToCertificateTargetOutput ¶
func (i CertificateTargetArgs) ToCertificateTargetOutput() CertificateTargetOutput
func (CertificateTargetArgs) ToCertificateTargetOutputWithContext ¶
func (i CertificateTargetArgs) ToCertificateTargetOutputWithContext(ctx context.Context) CertificateTargetOutput
type CertificateTargetArray ¶
type CertificateTargetArray []CertificateTargetInput
func (CertificateTargetArray) ElementType ¶
func (CertificateTargetArray) ElementType() reflect.Type
func (CertificateTargetArray) ToCertificateTargetArrayOutput ¶
func (i CertificateTargetArray) ToCertificateTargetArrayOutput() CertificateTargetArrayOutput
func (CertificateTargetArray) ToCertificateTargetArrayOutputWithContext ¶
func (i CertificateTargetArray) ToCertificateTargetArrayOutputWithContext(ctx context.Context) CertificateTargetArrayOutput
type CertificateTargetArrayInput ¶
type CertificateTargetArrayInput interface { pulumi.Input ToCertificateTargetArrayOutput() CertificateTargetArrayOutput ToCertificateTargetArrayOutputWithContext(context.Context) CertificateTargetArrayOutput }
CertificateTargetArrayInput is an input type that accepts CertificateTargetArray and CertificateTargetArrayOutput values. You can construct a concrete instance of `CertificateTargetArrayInput` via:
CertificateTargetArray{ CertificateTargetArgs{...} }
type CertificateTargetArrayOutput ¶
type CertificateTargetArrayOutput struct{ *pulumi.OutputState }
func (CertificateTargetArrayOutput) ElementType ¶
func (CertificateTargetArrayOutput) ElementType() reflect.Type
func (CertificateTargetArrayOutput) Index ¶
func (o CertificateTargetArrayOutput) Index(i pulumi.IntInput) CertificateTargetOutput
func (CertificateTargetArrayOutput) ToCertificateTargetArrayOutput ¶
func (o CertificateTargetArrayOutput) ToCertificateTargetArrayOutput() CertificateTargetArrayOutput
func (CertificateTargetArrayOutput) ToCertificateTargetArrayOutputWithContext ¶
func (o CertificateTargetArrayOutput) ToCertificateTargetArrayOutputWithContext(ctx context.Context) CertificateTargetArrayOutput
type CertificateTargetInput ¶
type CertificateTargetInput interface { pulumi.Input ToCertificateTargetOutput() CertificateTargetOutput ToCertificateTargetOutputWithContext(context.Context) CertificateTargetOutput }
CertificateTargetInput is an input type that accepts CertificateTargetArgs and CertificateTargetOutput values. You can construct a concrete instance of `CertificateTargetInput` via:
CertificateTargetArgs{...}
type CertificateTargetOutput ¶
type CertificateTargetOutput struct{ *pulumi.OutputState }
func (CertificateTargetOutput) ElementType ¶
func (CertificateTargetOutput) ElementType() reflect.Type
func (CertificateTargetOutput) Projects ¶
func (o CertificateTargetOutput) Projects() pulumi.StringArrayOutput
The project where the service you want to push a certificate to. The same certificate can be pushed repeatedly to the same WAF or ELB service in the same `project`, but the CDN service can only be pushed once.
func (CertificateTargetOutput) Service ¶
func (o CertificateTargetOutput) Service() pulumi.StringOutput
Service to which the certificate is pushed. The options include `CDN`,`WAF` and `Enhance_ELB`.
func (CertificateTargetOutput) ToCertificateTargetOutput ¶
func (o CertificateTargetOutput) ToCertificateTargetOutput() CertificateTargetOutput
func (CertificateTargetOutput) ToCertificateTargetOutputWithContext ¶
func (o CertificateTargetOutput) ToCertificateTargetOutputWithContext(ctx context.Context) CertificateTargetOutput
type GetCertificatesArgs ¶
type GetCertificatesArgs struct { // Whether to support deployment. DeploySupport *bool `pulumi:"deploySupport"` // The enterprise project id of the project. EnterpriseProjectId *string `pulumi:"enterpriseProjectId"` // Certificate name. Name *string `pulumi:"name"` // Specifies the region in which to query the data source. // If omitted, the provider-level region will be used. Region *string `pulumi:"region"` // Certificate status.\ // The options are as follows: // - ALL: All certificate status. // - PAID: The certificate has been paid and needs to be applied for from the CA. // - ISSUED: The certificate has been issued. // - CHECKING: The certificate application is being reviewed. // - CANCELCHECKING: The certificate application cancellation is being reviewed. // - UNPASSED: The certificate application fails. // - EXPIRED: The certificate has expired. // - REVOKING: The certificate revocation application is being reviewed. // - REVOKED: The certificate has been revoked. // - UPLOAD: The certificate is being managed. // - CHECKING_ORG: The organization verification is to be completed. // - ISSUING: The certificate is to be issued. // - SUPPLEMENTCHECKING: Additional domain names to be added for a multi-domain certificate are being reviewed. Status *string `pulumi:"status"` }
A collection of arguments for invoking getCertificates.
type GetCertificatesCertificate ¶
type GetCertificatesCertificate struct { // Certificate authority.\ // The value can be: **GLOBALSIGN**, **SYMANTEC**, **GEOTRUST**, **CFCA**. Brand string `pulumi:"brand"` // Whether to support deployment. DeploySupport bool `pulumi:"deploySupport"` // Certificate description. Description string `pulumi:"description"` // Domain name associated with the certificate. Domain string `pulumi:"domain"` // Number of domain names that can be associated with the certificate. DomainCount int `pulumi:"domainCount"` // Domain name type.\ // The options are as follows: // - SINGLE_DOMAIN: Single domain names // - WILDCARD: Wildcard domain names // - MULTI_DOMAIN: Multiple domain names DomainType string `pulumi:"domainType"` // The enterprise project id of the project. EnterpriseProjectId string `pulumi:"enterpriseProjectId"` // Certificate expiration time. ExpireTime string `pulumi:"expireTime"` // Certificate ID. Id string `pulumi:"id"` // Certificate name. Name string `pulumi:"name"` // Additional domain name associated with the certificate. Sans string `pulumi:"sans"` // Signature algorithm. SignatureAlgorithm string `pulumi:"signatureAlgorithm"` // Certificate status.\ // The options are as follows: // - ALL: All certificate status. // - PAID: The certificate has been paid and needs to be applied for from the CA. // - ISSUED: The certificate has been issued. // - CHECKING: The certificate application is being reviewed. // - CANCELCHECKING: The certificate application cancellation is being reviewed. // - UNPASSED: The certificate application fails. // - EXPIRED: The certificate has expired. // - REVOKING: The certificate revocation application is being reviewed. // - REVOKED: The certificate has been revoked. // - UPLOAD: The certificate is being managed. // - CHECKING_ORG: The organization verification is to be completed. // - ISSUING: The certificate is to be issued. // - SUPPLEMENTCHECKING: Additional domain names to be added for a multi-domain certificate are being reviewed. Status string `pulumi:"status"` // Certificate type.\ // The value can be: **DV_SSL_CERT**, **DV_SSL_CERT_BASIC**, **EV_SSL_CERT**, **EV_SSL_CERT_PRO**, **OV_SSL_CERT**, **OV_SSL_CERT_PRO**. Type string `pulumi:"type"` // Certificate validity period, in months. ValidityPeriod int `pulumi:"validityPeriod"` // Number of wildcard domain names that can be associated with the certificate. WildcardCount int `pulumi:"wildcardCount"` }
type GetCertificatesCertificateArgs ¶
type GetCertificatesCertificateArgs struct { // Certificate authority.\ // The value can be: **GLOBALSIGN**, **SYMANTEC**, **GEOTRUST**, **CFCA**. Brand pulumi.StringInput `pulumi:"brand"` // Whether to support deployment. DeploySupport pulumi.BoolInput `pulumi:"deploySupport"` // Certificate description. Description pulumi.StringInput `pulumi:"description"` // Domain name associated with the certificate. Domain pulumi.StringInput `pulumi:"domain"` // Number of domain names that can be associated with the certificate. DomainCount pulumi.IntInput `pulumi:"domainCount"` // Domain name type.\ // The options are as follows: // - SINGLE_DOMAIN: Single domain names // - WILDCARD: Wildcard domain names // - MULTI_DOMAIN: Multiple domain names DomainType pulumi.StringInput `pulumi:"domainType"` // The enterprise project id of the project. EnterpriseProjectId pulumi.StringInput `pulumi:"enterpriseProjectId"` // Certificate expiration time. ExpireTime pulumi.StringInput `pulumi:"expireTime"` // Certificate ID. Id pulumi.StringInput `pulumi:"id"` // Certificate name. Name pulumi.StringInput `pulumi:"name"` // Additional domain name associated with the certificate. Sans pulumi.StringInput `pulumi:"sans"` // Signature algorithm. SignatureAlgorithm pulumi.StringInput `pulumi:"signatureAlgorithm"` // Certificate status.\ // The options are as follows: // - ALL: All certificate status. // - PAID: The certificate has been paid and needs to be applied for from the CA. // - ISSUED: The certificate has been issued. // - CHECKING: The certificate application is being reviewed. // - CANCELCHECKING: The certificate application cancellation is being reviewed. // - UNPASSED: The certificate application fails. // - EXPIRED: The certificate has expired. // - REVOKING: The certificate revocation application is being reviewed. // - REVOKED: The certificate has been revoked. // - UPLOAD: The certificate is being managed. // - CHECKING_ORG: The organization verification is to be completed. // - ISSUING: The certificate is to be issued. // - SUPPLEMENTCHECKING: Additional domain names to be added for a multi-domain certificate are being reviewed. Status pulumi.StringInput `pulumi:"status"` // Certificate type.\ // The value can be: **DV_SSL_CERT**, **DV_SSL_CERT_BASIC**, **EV_SSL_CERT**, **EV_SSL_CERT_PRO**, **OV_SSL_CERT**, **OV_SSL_CERT_PRO**. Type pulumi.StringInput `pulumi:"type"` // Certificate validity period, in months. ValidityPeriod pulumi.IntInput `pulumi:"validityPeriod"` // Number of wildcard domain names that can be associated with the certificate. WildcardCount pulumi.IntInput `pulumi:"wildcardCount"` }
func (GetCertificatesCertificateArgs) ElementType ¶
func (GetCertificatesCertificateArgs) ElementType() reflect.Type
func (GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutput ¶
func (i GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutput() GetCertificatesCertificateOutput
func (GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutputWithContext ¶
func (i GetCertificatesCertificateArgs) ToGetCertificatesCertificateOutputWithContext(ctx context.Context) GetCertificatesCertificateOutput
type GetCertificatesCertificateArray ¶
type GetCertificatesCertificateArray []GetCertificatesCertificateInput
func (GetCertificatesCertificateArray) ElementType ¶
func (GetCertificatesCertificateArray) ElementType() reflect.Type
func (GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutput ¶
func (i GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutput() GetCertificatesCertificateArrayOutput
func (GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutputWithContext ¶
func (i GetCertificatesCertificateArray) ToGetCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateArrayOutput
type GetCertificatesCertificateArrayInput ¶
type GetCertificatesCertificateArrayInput interface { pulumi.Input ToGetCertificatesCertificateArrayOutput() GetCertificatesCertificateArrayOutput ToGetCertificatesCertificateArrayOutputWithContext(context.Context) GetCertificatesCertificateArrayOutput }
GetCertificatesCertificateArrayInput is an input type that accepts GetCertificatesCertificateArray and GetCertificatesCertificateArrayOutput values. You can construct a concrete instance of `GetCertificatesCertificateArrayInput` via:
GetCertificatesCertificateArray{ GetCertificatesCertificateArgs{...} }
type GetCertificatesCertificateArrayOutput ¶
type GetCertificatesCertificateArrayOutput struct{ *pulumi.OutputState }
func (GetCertificatesCertificateArrayOutput) ElementType ¶
func (GetCertificatesCertificateArrayOutput) ElementType() reflect.Type
func (GetCertificatesCertificateArrayOutput) Index ¶
func (o GetCertificatesCertificateArrayOutput) Index(i pulumi.IntInput) GetCertificatesCertificateOutput
func (GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutput ¶
func (o GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutput() GetCertificatesCertificateArrayOutput
func (GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutputWithContext ¶
func (o GetCertificatesCertificateArrayOutput) ToGetCertificatesCertificateArrayOutputWithContext(ctx context.Context) GetCertificatesCertificateArrayOutput
type GetCertificatesCertificateInput ¶
type GetCertificatesCertificateInput interface { pulumi.Input ToGetCertificatesCertificateOutput() GetCertificatesCertificateOutput ToGetCertificatesCertificateOutputWithContext(context.Context) GetCertificatesCertificateOutput }
GetCertificatesCertificateInput is an input type that accepts GetCertificatesCertificateArgs and GetCertificatesCertificateOutput values. You can construct a concrete instance of `GetCertificatesCertificateInput` via:
GetCertificatesCertificateArgs{...}
type GetCertificatesCertificateOutput ¶
type GetCertificatesCertificateOutput struct{ *pulumi.OutputState }
func (GetCertificatesCertificateOutput) Brand ¶
func (o GetCertificatesCertificateOutput) Brand() pulumi.StringOutput
Certificate authority.\ The value can be: **GLOBALSIGN**, **SYMANTEC**, **GEOTRUST**, **CFCA**.
func (GetCertificatesCertificateOutput) DeploySupport ¶
func (o GetCertificatesCertificateOutput) DeploySupport() pulumi.BoolOutput
Whether to support deployment.
func (GetCertificatesCertificateOutput) Description ¶
func (o GetCertificatesCertificateOutput) Description() pulumi.StringOutput
Certificate description.
func (GetCertificatesCertificateOutput) Domain ¶
func (o GetCertificatesCertificateOutput) Domain() pulumi.StringOutput
Domain name associated with the certificate.
func (GetCertificatesCertificateOutput) DomainCount ¶
func (o GetCertificatesCertificateOutput) DomainCount() pulumi.IntOutput
Number of domain names that can be associated with the certificate.
func (GetCertificatesCertificateOutput) DomainType ¶
func (o GetCertificatesCertificateOutput) DomainType() pulumi.StringOutput
Domain name type.\ The options are as follows: - SINGLE_DOMAIN: Single domain names - WILDCARD: Wildcard domain names - MULTI_DOMAIN: Multiple domain names
func (GetCertificatesCertificateOutput) ElementType ¶
func (GetCertificatesCertificateOutput) ElementType() reflect.Type
func (GetCertificatesCertificateOutput) EnterpriseProjectId ¶
func (o GetCertificatesCertificateOutput) EnterpriseProjectId() pulumi.StringOutput
The enterprise project id of the project.
func (GetCertificatesCertificateOutput) ExpireTime ¶
func (o GetCertificatesCertificateOutput) ExpireTime() pulumi.StringOutput
Certificate expiration time.
func (GetCertificatesCertificateOutput) Id ¶
func (o GetCertificatesCertificateOutput) Id() pulumi.StringOutput
Certificate ID.
func (GetCertificatesCertificateOutput) Name ¶
func (o GetCertificatesCertificateOutput) Name() pulumi.StringOutput
Certificate name.
func (GetCertificatesCertificateOutput) Sans ¶
func (o GetCertificatesCertificateOutput) Sans() pulumi.StringOutput
Additional domain name associated with the certificate.
func (GetCertificatesCertificateOutput) SignatureAlgorithm ¶
func (o GetCertificatesCertificateOutput) SignatureAlgorithm() pulumi.StringOutput
Signature algorithm.
func (GetCertificatesCertificateOutput) Status ¶
func (o GetCertificatesCertificateOutput) Status() pulumi.StringOutput
Certificate status.\ The options are as follows: - ALL: All certificate status. - PAID: The certificate has been paid and needs to be applied for from the CA. - ISSUED: The certificate has been issued. - CHECKING: The certificate application is being reviewed. - CANCELCHECKING: The certificate application cancellation is being reviewed. - UNPASSED: The certificate application fails. - EXPIRED: The certificate has expired. - REVOKING: The certificate revocation application is being reviewed. - REVOKED: The certificate has been revoked. - UPLOAD: The certificate is being managed. - CHECKING_ORG: The organization verification is to be completed. - ISSUING: The certificate is to be issued. - SUPPLEMENTCHECKING: Additional domain names to be added for a multi-domain certificate are being reviewed.
func (GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutput ¶
func (o GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutput() GetCertificatesCertificateOutput
func (GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutputWithContext ¶
func (o GetCertificatesCertificateOutput) ToGetCertificatesCertificateOutputWithContext(ctx context.Context) GetCertificatesCertificateOutput
func (GetCertificatesCertificateOutput) Type ¶
func (o GetCertificatesCertificateOutput) Type() pulumi.StringOutput
Certificate type.\ The value can be: **DV_SSL_CERT**, **DV_SSL_CERT_BASIC**, **EV_SSL_CERT**, **EV_SSL_CERT_PRO**, **OV_SSL_CERT**, **OV_SSL_CERT_PRO**.
func (GetCertificatesCertificateOutput) ValidityPeriod ¶
func (o GetCertificatesCertificateOutput) ValidityPeriod() pulumi.IntOutput
Certificate validity period, in months.
func (GetCertificatesCertificateOutput) WildcardCount ¶
func (o GetCertificatesCertificateOutput) WildcardCount() pulumi.IntOutput
Number of wildcard domain names that can be associated with the certificate.
type GetCertificatesOutputArgs ¶
type GetCertificatesOutputArgs struct { // Whether to support deployment. DeploySupport pulumi.BoolPtrInput `pulumi:"deploySupport"` // The enterprise project id of the project. EnterpriseProjectId pulumi.StringPtrInput `pulumi:"enterpriseProjectId"` // Certificate name. Name pulumi.StringPtrInput `pulumi:"name"` // Specifies the region in which to query the data source. // If omitted, the provider-level region will be used. Region pulumi.StringPtrInput `pulumi:"region"` // Certificate status.\ // The options are as follows: // - ALL: All certificate status. // - PAID: The certificate has been paid and needs to be applied for from the CA. // - ISSUED: The certificate has been issued. // - CHECKING: The certificate application is being reviewed. // - CANCELCHECKING: The certificate application cancellation is being reviewed. // - UNPASSED: The certificate application fails. // - EXPIRED: The certificate has expired. // - REVOKING: The certificate revocation application is being reviewed. // - REVOKED: The certificate has been revoked. // - UPLOAD: The certificate is being managed. // - CHECKING_ORG: The organization verification is to be completed. // - ISSUING: The certificate is to be issued. // - SUPPLEMENTCHECKING: Additional domain names to be added for a multi-domain certificate are being reviewed. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getCertificates.
func (GetCertificatesOutputArgs) ElementType ¶
func (GetCertificatesOutputArgs) ElementType() reflect.Type
type GetCertificatesResult ¶
type GetCertificatesResult struct { // Certificate list. For details, see Data structure of the Certificate field. // The Certificate structure is documented below. Certificates []GetCertificatesCertificate `pulumi:"certificates"` // Whether to support deployment. DeploySupport *bool `pulumi:"deploySupport"` // The enterprise project id of the project. EnterpriseProjectId *string `pulumi:"enterpriseProjectId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Certificate name. Name *string `pulumi:"name"` Region string `pulumi:"region"` // Certificate status.\ // The options are as follows: // - ALL: All certificate status. // - PAID: The certificate has been paid and needs to be applied for from the CA. // - ISSUED: The certificate has been issued. // - CHECKING: The certificate application is being reviewed. // - CANCELCHECKING: The certificate application cancellation is being reviewed. // - UNPASSED: The certificate application fails. // - EXPIRED: The certificate has expired. // - REVOKING: The certificate revocation application is being reviewed. // - REVOKED: The certificate has been revoked. // - UPLOAD: The certificate is being managed. // - CHECKING_ORG: The organization verification is to be completed. // - ISSUING: The certificate is to be issued. // - SUPPLEMENTCHECKING: Additional domain names to be added for a multi-domain certificate are being reviewed. Status *string `pulumi:"status"` }
A collection of values returned by getCertificates.
func GetCertificates ¶
func GetCertificates(ctx *pulumi.Context, args *GetCertificatesArgs, opts ...pulumi.InvokeOption) (*GetCertificatesResult, error)
Use this data source to get the list of SCM certificates.
## Example Usage
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Scm" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Scm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Scm.GetCertificates(ctx, &scm.GetCertificatesArgs{ Status: pulumi.StringRef("ALL"), }, nil) if err != nil { return err } return nil }) }
```
type GetCertificatesResultOutput ¶
type GetCertificatesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCertificates.
func GetCertificatesOutput ¶
func GetCertificatesOutput(ctx *pulumi.Context, args GetCertificatesOutputArgs, opts ...pulumi.InvokeOption) GetCertificatesResultOutput
func (GetCertificatesResultOutput) Certificates ¶
func (o GetCertificatesResultOutput) Certificates() GetCertificatesCertificateArrayOutput
Certificate list. For details, see Data structure of the Certificate field. The Certificate structure is documented below.
func (GetCertificatesResultOutput) DeploySupport ¶
func (o GetCertificatesResultOutput) DeploySupport() pulumi.BoolPtrOutput
Whether to support deployment.
func (GetCertificatesResultOutput) ElementType ¶
func (GetCertificatesResultOutput) ElementType() reflect.Type
func (GetCertificatesResultOutput) EnterpriseProjectId ¶
func (o GetCertificatesResultOutput) EnterpriseProjectId() pulumi.StringPtrOutput
The enterprise project id of the project.
func (GetCertificatesResultOutput) Id ¶
func (o GetCertificatesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetCertificatesResultOutput) Name ¶
func (o GetCertificatesResultOutput) Name() pulumi.StringPtrOutput
Certificate name.
func (GetCertificatesResultOutput) Region ¶
func (o GetCertificatesResultOutput) Region() pulumi.StringOutput
func (GetCertificatesResultOutput) Status ¶
func (o GetCertificatesResultOutput) Status() pulumi.StringPtrOutput
Certificate status.\ The options are as follows: - ALL: All certificate status. - PAID: The certificate has been paid and needs to be applied for from the CA. - ISSUED: The certificate has been issued. - CHECKING: The certificate application is being reviewed. - CANCELCHECKING: The certificate application cancellation is being reviewed. - UNPASSED: The certificate application fails. - EXPIRED: The certificate has expired. - REVOKING: The certificate revocation application is being reviewed. - REVOKED: The certificate has been revoked. - UPLOAD: The certificate is being managed. - CHECKING_ORG: The organization verification is to be completed. - ISSUING: The certificate is to be issued. - SUPPLEMENTCHECKING: Additional domain names to be added for a multi-domain certificate are being reviewed.
func (GetCertificatesResultOutput) ToGetCertificatesResultOutput ¶
func (o GetCertificatesResultOutput) ToGetCertificatesResultOutput() GetCertificatesResultOutput
func (GetCertificatesResultOutput) ToGetCertificatesResultOutputWithContext ¶
func (o GetCertificatesResultOutput) ToGetCertificatesResultOutputWithContext(ctx context.Context) GetCertificatesResultOutput