1. Packages
  2. Alicloud Provider
  3. API Docs
  4. ga
  5. AdditionalCertificate
Alibaba Cloud v3.64.0 published on Monday, Oct 28, 2024 by Pulumi

alicloud.ga.AdditionalCertificate

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.64.0 published on Monday, Oct 28, 2024 by Pulumi

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

    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",
    });
    
    example, err := ga.NewAdditionalCertificate(ctx, "additionalCertificateResource", &ga.AdditionalCertificateArgs{
    	AcceleratorId: pulumi.String("string"),
    	CertificateId: pulumi.String("string"),
    	Domain:        pulumi.String("string"),
    	ListenerId:    pulumi.String("string"),
    })
    
    var additionalCertificateResource = new AdditionalCertificate("additionalCertificateResource", AdditionalCertificateArgs.builder()
        .acceleratorId("string")
        .certificateId("string")
        .domain("string")
        .listenerId("string")
        .build());
    
    additional_certificate_resource = alicloud.ga.AdditionalCertificate("additionalCertificateResource",
        accelerator_id="string",
        certificate_id="string",
        domain="string",
        listener_id="string")
    
    const additionalCertificateResource = new alicloud.ga.AdditionalCertificate("additionalCertificateResource", {
        acceleratorId: "string",
        certificateId: "string",
        domain: "string",
        listenerId: "string",
    });
    
    type: alicloud:ga:AdditionalCertificate
    properties:
        acceleratorId: string
        certificateId: string
        domain: string
        listenerId: string
    

    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. NOTE: From version 1.209.1, certificate_id can be modified.
    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. NOTE: From version 1.209.1, certificate_id can be modified.
    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. NOTE: From version 1.209.1, certificate_id can be modified.
    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. NOTE: From version 1.209.1, certificate_id can be modified.
    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. NOTE: From version 1.209.1, certificate_id can be modified.
    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. NOTE: From version 1.209.1, certificate_id can be modified.
    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 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. NOTE: From version 1.209.1, certificate_id can be modified.
    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. NOTE: From version 1.209.1, certificate_id can be modified.
    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. NOTE: From version 1.209.1, certificate_id can be modified.
    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. NOTE: From version 1.209.1, certificate_id can be modified.
    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. NOTE: From version 1.209.1, certificate_id can be modified.
    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. NOTE: From version 1.209.1, certificate_id can be modified.
    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>
    

    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.
    alicloud logo
    Alibaba Cloud v3.64.0 published on Monday, Oct 28, 2024 by Pulumi