1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. alb
  5. ListenerAdditionalCertificateAttachment
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

alicloud.alb.ListenerAdditionalCertificateAttachment

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

    Provides a Application Load Balancer (ALB) Listener Additional Certificate Attachment resource.

    For information about Application Load Balancer (ALB) Listener Additional Certificate Attachment and how to use it, see What is Listener Additional Certificate Attachment.

    NOTE: Available since v1.161.0.

    Create ListenerAdditionalCertificateAttachment Resource

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

    Constructor syntax

    new ListenerAdditionalCertificateAttachment(name: string, args: ListenerAdditionalCertificateAttachmentArgs, opts?: CustomResourceOptions);
    @overload
    def ListenerAdditionalCertificateAttachment(resource_name: str,
                                                args: ListenerAdditionalCertificateAttachmentArgs,
                                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def ListenerAdditionalCertificateAttachment(resource_name: str,
                                                opts: Optional[ResourceOptions] = None,
                                                certificate_id: Optional[str] = None,
                                                listener_id: Optional[str] = None)
    func NewListenerAdditionalCertificateAttachment(ctx *Context, name string, args ListenerAdditionalCertificateAttachmentArgs, opts ...ResourceOption) (*ListenerAdditionalCertificateAttachment, error)
    public ListenerAdditionalCertificateAttachment(string name, ListenerAdditionalCertificateAttachmentArgs args, CustomResourceOptions? opts = null)
    public ListenerAdditionalCertificateAttachment(String name, ListenerAdditionalCertificateAttachmentArgs args)
    public ListenerAdditionalCertificateAttachment(String name, ListenerAdditionalCertificateAttachmentArgs args, CustomResourceOptions options)
    
    type: alicloud:alb:ListenerAdditionalCertificateAttachment
    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 ListenerAdditionalCertificateAttachmentArgs
    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 ListenerAdditionalCertificateAttachmentArgs
    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 ListenerAdditionalCertificateAttachmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ListenerAdditionalCertificateAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ListenerAdditionalCertificateAttachmentArgs
    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 listenerAdditionalCertificateAttachmentResource = new AliCloud.Alb.ListenerAdditionalCertificateAttachment("listenerAdditionalCertificateAttachmentResource", new()
    {
        CertificateId = "string",
        ListenerId = "string",
    });
    
    example, err := alb.NewListenerAdditionalCertificateAttachment(ctx, "listenerAdditionalCertificateAttachmentResource", &alb.ListenerAdditionalCertificateAttachmentArgs{
    	CertificateId: pulumi.String("string"),
    	ListenerId:    pulumi.String("string"),
    })
    
    var listenerAdditionalCertificateAttachmentResource = new ListenerAdditionalCertificateAttachment("listenerAdditionalCertificateAttachmentResource", ListenerAdditionalCertificateAttachmentArgs.builder()
        .certificateId("string")
        .listenerId("string")
        .build());
    
    listener_additional_certificate_attachment_resource = alicloud.alb.ListenerAdditionalCertificateAttachment("listenerAdditionalCertificateAttachmentResource",
        certificate_id="string",
        listener_id="string")
    
    const listenerAdditionalCertificateAttachmentResource = new alicloud.alb.ListenerAdditionalCertificateAttachment("listenerAdditionalCertificateAttachmentResource", {
        certificateId: "string",
        listenerId: "string",
    });
    
    type: alicloud:alb:ListenerAdditionalCertificateAttachment
    properties:
        certificateId: string
        listenerId: string
    

    ListenerAdditionalCertificateAttachment 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 ListenerAdditionalCertificateAttachment resource accepts the following input properties:

    CertificateId string
    The Certificate ID.
    ListenerId string
    The ID of the ALB listener.
    CertificateId string
    The Certificate ID.
    ListenerId string
    The ID of the ALB listener.
    certificateId String
    The Certificate ID.
    listenerId String
    The ID of the ALB listener.
    certificateId string
    The Certificate ID.
    listenerId string
    The ID of the ALB listener.
    certificate_id str
    The Certificate ID.
    listener_id str
    The ID of the ALB listener.
    certificateId String
    The Certificate ID.
    listenerId String
    The ID of the ALB listener.

    Outputs

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

    CertificateType string
    The type of the certificate.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the certificate.
    CertificateType string
    The type of the certificate.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the certificate.
    certificateType String
    The type of the certificate.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the certificate.
    certificateType string
    The type of the certificate.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of the certificate.
    certificate_type str
    The type of the certificate.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The status of the certificate.
    certificateType String
    The type of the certificate.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the certificate.

    Look up Existing ListenerAdditionalCertificateAttachment Resource

    Get an existing ListenerAdditionalCertificateAttachment 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?: ListenerAdditionalCertificateAttachmentState, opts?: CustomResourceOptions): ListenerAdditionalCertificateAttachment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            certificate_id: Optional[str] = None,
            certificate_type: Optional[str] = None,
            listener_id: Optional[str] = None,
            status: Optional[str] = None) -> ListenerAdditionalCertificateAttachment
    func GetListenerAdditionalCertificateAttachment(ctx *Context, name string, id IDInput, state *ListenerAdditionalCertificateAttachmentState, opts ...ResourceOption) (*ListenerAdditionalCertificateAttachment, error)
    public static ListenerAdditionalCertificateAttachment Get(string name, Input<string> id, ListenerAdditionalCertificateAttachmentState? state, CustomResourceOptions? opts = null)
    public static ListenerAdditionalCertificateAttachment get(String name, Output<String> id, ListenerAdditionalCertificateAttachmentState 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:
    CertificateId string
    The Certificate ID.
    CertificateType string
    The type of the certificate.
    ListenerId string
    The ID of the ALB listener.
    Status string
    The status of the certificate.
    CertificateId string
    The Certificate ID.
    CertificateType string
    The type of the certificate.
    ListenerId string
    The ID of the ALB listener.
    Status string
    The status of the certificate.
    certificateId String
    The Certificate ID.
    certificateType String
    The type of the certificate.
    listenerId String
    The ID of the ALB listener.
    status String
    The status of the certificate.
    certificateId string
    The Certificate ID.
    certificateType string
    The type of the certificate.
    listenerId string
    The ID of the ALB listener.
    status string
    The status of the certificate.
    certificate_id str
    The Certificate ID.
    certificate_type str
    The type of the certificate.
    listener_id str
    The ID of the ALB listener.
    status str
    The status of the certificate.
    certificateId String
    The Certificate ID.
    certificateType String
    The type of the certificate.
    listenerId String
    The ID of the ALB listener.
    status String
    The status of the certificate.

    Import

    Application Load Balancer (ALB) Listener Additional Certificate Attachment can be imported using the id, e.g.

    $ pulumi import alicloud:alb/listenerAdditionalCertificateAttachment:ListenerAdditionalCertificateAttachment example <listener_id>:<certificate_id>
    

    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.57.1 published on Wednesday, Jun 26, 2024 by Pulumi