1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. ga
  5. AdditionalCertificate
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.ga.AdditionalCertificate

Explore with Pulumi AI

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 since v1.150.0.

Create AdditionalCertificate Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new AdditionalCertificate(name: string, args: AdditionalCertificateArgs, opts?: CustomResourceOptions);
@overload
def AdditionalCertificate(resource_name: str,
                          args: AdditionalCertificateArgs,
                          opts: Optional[ResourceOptions] = None)

@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)
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.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AdditionalCertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. AdditionalCertificateArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AdditionalCertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AdditionalCertificateArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var additionalCertificateResource = new AliCloud.Ga.AdditionalCertificate("additionalCertificateResource", new()
{
    AcceleratorId = "string",
    CertificateId = "string",
    Domain = "string",
    ListenerId = "string",
});
Copy
example, err := ga.NewAdditionalCertificate(ctx, "additionalCertificateResource", &ga.AdditionalCertificateArgs{
	AcceleratorId: pulumi.String("string"),
	CertificateId: pulumi.String("string"),
	Domain:        pulumi.String("string"),
	ListenerId:    pulumi.String("string"),
})
Copy
var additionalCertificateResource = new AdditionalCertificate("additionalCertificateResource", AdditionalCertificateArgs.builder()
    .acceleratorId("string")
    .certificateId("string")
    .domain("string")
    .listenerId("string")
    .build());
Copy
additional_certificate_resource = alicloud.ga.AdditionalCertificate("additionalCertificateResource",
    accelerator_id="string",
    certificate_id="string",
    domain="string",
    listener_id="string")
Copy
const additionalCertificateResource = new alicloud.ga.AdditionalCertificate("additionalCertificateResource", {
    acceleratorId: "string",
    certificateId: "string",
    domain: "string",
    listenerId: "string",
});
Copy
type: alicloud:ga:AdditionalCertificate
properties:
    acceleratorId: string
    certificateId: string
    domain: string
    listenerId: string
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The AdditionalCertificate resource accepts the following input properties:

AcceleratorId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the GA instance.
CertificateId This property is required. string
The Certificate ID. NOTE: From version 1.209.1, certificate_id can be modified.
Domain
This property is required.
Changes to this property will trigger replacement.
string
The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.
ListenerId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the listener. NOTE: Only HTTPS listeners support this parameter.
AcceleratorId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the GA instance.
CertificateId This property is required. string
The Certificate ID. NOTE: From version 1.209.1, certificate_id can be modified.
Domain
This property is required.
Changes to this property will trigger replacement.
string
The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.
ListenerId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the listener. NOTE: Only HTTPS listeners support this parameter.
acceleratorId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the GA instance.
certificateId This property is required. String
The Certificate ID. NOTE: From version 1.209.1, certificate_id can be modified.
domain
This property is required.
Changes to this property will trigger replacement.
String
The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.
listenerId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the listener. NOTE: Only HTTPS listeners support this parameter.
acceleratorId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the GA instance.
certificateId This property is required. string
The Certificate ID. NOTE: From version 1.209.1, certificate_id can be modified.
domain
This property is required.
Changes to this property will trigger replacement.
string
The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.
listenerId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the listener. NOTE: Only HTTPS listeners support this parameter.
accelerator_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the GA instance.
certificate_id This property is required. str
The Certificate ID. NOTE: From version 1.209.1, certificate_id can be modified.
domain
This property is required.
Changes to this property will trigger replacement.
str
The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.
listener_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the listener. NOTE: Only HTTPS listeners support this parameter.
acceleratorId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the GA instance.
certificateId This property is required. String
The Certificate ID. NOTE: From version 1.209.1, certificate_id can be modified.
domain
This property is required.
Changes to this property will trigger replacement.
String
The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.
listenerId
This property is required.
Changes to this property will trigger replacement.
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 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)
resources:  _:    type: alicloud:ga:AdditionalCertificate    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 Changes to this property will trigger replacement. string
The ID of the GA instance.
CertificateId string
The Certificate ID. NOTE: From version 1.209.1, certificate_id can be modified.
Domain Changes to this property will trigger replacement. string
The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.
ListenerId Changes to this property will trigger replacement. string
The ID of the listener. NOTE: Only HTTPS listeners support this parameter.
AcceleratorId Changes to this property will trigger replacement. string
The ID of the GA instance.
CertificateId string
The Certificate ID. NOTE: From version 1.209.1, certificate_id can be modified.
Domain Changes to this property will trigger replacement. string
The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.
ListenerId Changes to this property will trigger replacement. string
The ID of the listener. NOTE: Only HTTPS listeners support this parameter.
acceleratorId Changes to this property will trigger replacement. String
The ID of the GA instance.
certificateId String
The Certificate ID. NOTE: From version 1.209.1, certificate_id can be modified.
domain Changes to this property will trigger replacement. String
The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.
listenerId Changes to this property will trigger replacement. String
The ID of the listener. NOTE: Only HTTPS listeners support this parameter.
acceleratorId Changes to this property will trigger replacement. string
The ID of the GA instance.
certificateId string
The Certificate ID. NOTE: From version 1.209.1, certificate_id can be modified.
domain Changes to this property will trigger replacement. string
The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.
listenerId Changes to this property will trigger replacement. string
The ID of the listener. NOTE: Only HTTPS listeners support this parameter.
accelerator_id Changes to this property will trigger replacement. str
The ID of the GA instance.
certificate_id str
The Certificate ID. NOTE: From version 1.209.1, certificate_id can be modified.
domain Changes to this property will trigger replacement. str
The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.
listener_id Changes to this property will trigger replacement. str
The ID of the listener. NOTE: Only HTTPS listeners support this parameter.
acceleratorId Changes to this property will trigger replacement. String
The ID of the GA instance.
certificateId String
The Certificate ID. NOTE: From version 1.209.1, certificate_id can be modified.
domain Changes to this property will trigger replacement. String
The domain name specified by the certificate. NOTE: You can associate each domain name with only one additional certificate.
listenerId Changes to this property will trigger replacement. 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>
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.