Alibaba Cloud

Pulumi Official
Package maintained by Pulumi
v3.27.0 published on Monday, Aug 8, 2022 by Pulumi

AdditionalCertificate

Provides a Global Accelerator (GA) Additional Certificate resource.

For information about Global Accelerator (GA) Additional Certificate and how to use it, see What is Additional Certificate.

NOTE: Available in v1.150.0+.

Create a AdditionalCertificate Resource

new AdditionalCertificate(name: string, args: AdditionalCertificateArgs, opts?: CustomResourceOptions);
@overload
def AdditionalCertificate(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          accelerator_id: Optional[str] = None,
                          certificate_id: Optional[str] = None,
                          domain: Optional[str] = None,
                          listener_id: Optional[str] = None)
@overload
def AdditionalCertificate(resource_name: str,
                          args: AdditionalCertificateArgs,
                          opts: Optional[ResourceOptions] = None)
func NewAdditionalCertificate(ctx *Context, name string, args AdditionalCertificateArgs, opts ...ResourceOption) (*AdditionalCertificate, error)
public AdditionalCertificate(string name, AdditionalCertificateArgs args, CustomResourceOptions? opts = null)
public AdditionalCertificate(String name, AdditionalCertificateArgs args)
public AdditionalCertificate(String name, AdditionalCertificateArgs args, CustomResourceOptions options)
type: alicloud:ga:AdditionalCertificate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AdditionalCertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args AdditionalCertificateArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args AdditionalCertificateArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AdditionalCertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AdditionalCertificateArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AdditionalCertificate Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The AdditionalCertificate resource accepts the following input properties:

AcceleratorId string

The ID of the GA instance.

CertificateId string

The Certificate ID.

Domain string

The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.

ListenerId string

The ID of the listener. NOTE: Only HTTPS listeners support this parameter.

AcceleratorId string

The ID of the GA instance.

CertificateId string

The Certificate ID.

Domain string

The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.

ListenerId string

The ID of the listener. NOTE: Only HTTPS listeners support this parameter.

acceleratorId String

The ID of the GA instance.

certificateId String

The Certificate ID.

domain String

The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.

listenerId String

The ID of the listener. NOTE: Only HTTPS listeners support this parameter.

acceleratorId string

The ID of the GA instance.

certificateId string

The Certificate ID.

domain string

The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.

listenerId string

The ID of the listener. NOTE: Only HTTPS listeners support this parameter.

accelerator_id str

The ID of the GA instance.

certificate_id str

The Certificate ID.

domain str

The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.

listener_id str

The ID of the listener. NOTE: Only HTTPS listeners support this parameter.

acceleratorId String

The ID of the GA instance.

certificateId String

The Certificate ID.

domain String

The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.

listenerId String

The ID of the listener. NOTE: Only HTTPS listeners support this parameter.

Outputs

All input properties are implicitly available as output properties. Additionally, the AdditionalCertificate resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up an Existing AdditionalCertificate Resource

Get an existing AdditionalCertificate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AdditionalCertificateState, opts?: CustomResourceOptions): AdditionalCertificate
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        accelerator_id: Optional[str] = None,
        certificate_id: Optional[str] = None,
        domain: Optional[str] = None,
        listener_id: Optional[str] = None) -> AdditionalCertificate
func GetAdditionalCertificate(ctx *Context, name string, id IDInput, state *AdditionalCertificateState, opts ...ResourceOption) (*AdditionalCertificate, error)
public static AdditionalCertificate Get(string name, Input<string> id, AdditionalCertificateState? state, CustomResourceOptions? opts = null)
public static AdditionalCertificate get(String name, Output<String> id, AdditionalCertificateState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AcceleratorId string

The ID of the GA instance.

CertificateId string

The Certificate ID.

Domain string

The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.

ListenerId string

The ID of the listener. NOTE: Only HTTPS listeners support this parameter.

AcceleratorId string

The ID of the GA instance.

CertificateId string

The Certificate ID.

Domain string

The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.

ListenerId string

The ID of the listener. NOTE: Only HTTPS listeners support this parameter.

acceleratorId String

The ID of the GA instance.

certificateId String

The Certificate ID.

domain String

The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.

listenerId String

The ID of the listener. NOTE: Only HTTPS listeners support this parameter.

acceleratorId string

The ID of the GA instance.

certificateId string

The Certificate ID.

domain string

The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.

listenerId string

The ID of the listener. NOTE: Only HTTPS listeners support this parameter.

accelerator_id str

The ID of the GA instance.

certificate_id str

The Certificate ID.

domain str

The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.

listener_id str

The ID of the listener. NOTE: Only HTTPS listeners support this parameter.

acceleratorId String

The ID of the GA instance.

certificateId String

The Certificate ID.

domain String

The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.

listenerId String

The ID of the listener. NOTE: Only HTTPS listeners support this parameter.

Import

Global Accelerator (GA) Additional Certificate can be imported using the id, e.g.

 $ pulumi import alicloud:ga/additionalCertificate:AdditionalCertificate example <accelerator_id>:<listener_id>:<domain>

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.