1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getAuthenticatedOriginPullsHostnameCertificate
Viewing docs for Cloudflare v6.14.0
published on Thursday, Apr 2, 2026 by Pulumi
cloudflare logo
Viewing docs for Cloudflare v6.14.0
published on Thursday, Apr 2, 2026 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleAuthenticatedOriginPullsHostnameCertificate = cloudflare.getAuthenticatedOriginPullsHostnameCertificate({
        zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
        certificateId: "023e105f4ecef8ad9ca31a8372d0c353",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_authenticated_origin_pulls_hostname_certificate = cloudflare.get_authenticated_origin_pulls_hostname_certificate(zone_id="023e105f4ecef8ad9ca31a8372d0c353",
        certificate_id="023e105f4ecef8ad9ca31a8372d0c353")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.LookupAuthenticatedOriginPullsHostnameCertificate(ctx, &cloudflare.LookupAuthenticatedOriginPullsHostnameCertificateArgs{
    			ZoneId:        "023e105f4ecef8ad9ca31a8372d0c353",
    			CertificateId: "023e105f4ecef8ad9ca31a8372d0c353",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleAuthenticatedOriginPullsHostnameCertificate = Cloudflare.GetAuthenticatedOriginPullsHostnameCertificate.Invoke(new()
        {
            ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
            CertificateId = "023e105f4ecef8ad9ca31a8372d0c353",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CloudflareFunctions;
    import com.pulumi.cloudflare.inputs.GetAuthenticatedOriginPullsHostnameCertificateArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var exampleAuthenticatedOriginPullsHostnameCertificate = CloudflareFunctions.getAuthenticatedOriginPullsHostnameCertificate(GetAuthenticatedOriginPullsHostnameCertificateArgs.builder()
                .zoneId("023e105f4ecef8ad9ca31a8372d0c353")
                .certificateId("023e105f4ecef8ad9ca31a8372d0c353")
                .build());
    
        }
    }
    
    variables:
      exampleAuthenticatedOriginPullsHostnameCertificate:
        fn::invoke:
          function: cloudflare:getAuthenticatedOriginPullsHostnameCertificate
          arguments:
            zoneId: 023e105f4ecef8ad9ca31a8372d0c353
            certificateId: 023e105f4ecef8ad9ca31a8372d0c353
    

    Using getAuthenticatedOriginPullsHostnameCertificate

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAuthenticatedOriginPullsHostnameCertificate(args: GetAuthenticatedOriginPullsHostnameCertificateArgs, opts?: InvokeOptions): Promise<GetAuthenticatedOriginPullsHostnameCertificateResult>
    function getAuthenticatedOriginPullsHostnameCertificateOutput(args: GetAuthenticatedOriginPullsHostnameCertificateOutputArgs, opts?: InvokeOptions): Output<GetAuthenticatedOriginPullsHostnameCertificateResult>
    def get_authenticated_origin_pulls_hostname_certificate(certificate_id: Optional[str] = None,
                                                            zone_id: Optional[str] = None,
                                                            opts: Optional[InvokeOptions] = None) -> GetAuthenticatedOriginPullsHostnameCertificateResult
    def get_authenticated_origin_pulls_hostname_certificate_output(certificate_id: Optional[pulumi.Input[str]] = None,
                                                            zone_id: Optional[pulumi.Input[str]] = None,
                                                            opts: Optional[InvokeOptions] = None) -> Output[GetAuthenticatedOriginPullsHostnameCertificateResult]
    func LookupAuthenticatedOriginPullsHostnameCertificate(ctx *Context, args *LookupAuthenticatedOriginPullsHostnameCertificateArgs, opts ...InvokeOption) (*LookupAuthenticatedOriginPullsHostnameCertificateResult, error)
    func LookupAuthenticatedOriginPullsHostnameCertificateOutput(ctx *Context, args *LookupAuthenticatedOriginPullsHostnameCertificateOutputArgs, opts ...InvokeOption) LookupAuthenticatedOriginPullsHostnameCertificateResultOutput

    > Note: This function is named LookupAuthenticatedOriginPullsHostnameCertificate in the Go SDK.

    public static class GetAuthenticatedOriginPullsHostnameCertificate 
    {
        public static Task<GetAuthenticatedOriginPullsHostnameCertificateResult> InvokeAsync(GetAuthenticatedOriginPullsHostnameCertificateArgs args, InvokeOptions? opts = null)
        public static Output<GetAuthenticatedOriginPullsHostnameCertificateResult> Invoke(GetAuthenticatedOriginPullsHostnameCertificateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAuthenticatedOriginPullsHostnameCertificateResult> getAuthenticatedOriginPullsHostnameCertificate(GetAuthenticatedOriginPullsHostnameCertificateArgs args, InvokeOptions options)
    public static Output<GetAuthenticatedOriginPullsHostnameCertificateResult> getAuthenticatedOriginPullsHostnameCertificate(GetAuthenticatedOriginPullsHostnameCertificateArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getAuthenticatedOriginPullsHostnameCertificate:getAuthenticatedOriginPullsHostnameCertificate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CertificateId string
    Identifier.
    ZoneId string
    Identifier.
    CertificateId string
    Identifier.
    ZoneId string
    Identifier.
    certificateId String
    Identifier.
    zoneId String
    Identifier.
    certificateId string
    Identifier.
    zoneId string
    Identifier.
    certificate_id str
    Identifier.
    zone_id str
    Identifier.
    certificateId String
    Identifier.
    zoneId String
    Identifier.

    getAuthenticatedOriginPullsHostnameCertificate Result

    The following output properties are available:

    Certificate string
    The hostname certificate.
    CertificateId string
    Identifier.
    ExpiresOn string
    The date when the certificate expires.
    Id string
    Identifier.
    Issuer string
    The certificate authority that issued the certificate.
    SerialNumber string
    The serial number on the uploaded certificate.
    Signature string
    The type of hash used for the certificate.
    Status string
    Status of the certificate or the association. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
    UploadedOn string
    The time when the certificate was uploaded.
    ZoneId string
    Identifier.
    Certificate string
    The hostname certificate.
    CertificateId string
    Identifier.
    ExpiresOn string
    The date when the certificate expires.
    Id string
    Identifier.
    Issuer string
    The certificate authority that issued the certificate.
    SerialNumber string
    The serial number on the uploaded certificate.
    Signature string
    The type of hash used for the certificate.
    Status string
    Status of the certificate or the association. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
    UploadedOn string
    The time when the certificate was uploaded.
    ZoneId string
    Identifier.
    certificate String
    The hostname certificate.
    certificateId String
    Identifier.
    expiresOn String
    The date when the certificate expires.
    id String
    Identifier.
    issuer String
    The certificate authority that issued the certificate.
    serialNumber String
    The serial number on the uploaded certificate.
    signature String
    The type of hash used for the certificate.
    status String
    Status of the certificate or the association. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
    uploadedOn String
    The time when the certificate was uploaded.
    zoneId String
    Identifier.
    certificate string
    The hostname certificate.
    certificateId string
    Identifier.
    expiresOn string
    The date when the certificate expires.
    id string
    Identifier.
    issuer string
    The certificate authority that issued the certificate.
    serialNumber string
    The serial number on the uploaded certificate.
    signature string
    The type of hash used for the certificate.
    status string
    Status of the certificate or the association. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
    uploadedOn string
    The time when the certificate was uploaded.
    zoneId string
    Identifier.
    certificate str
    The hostname certificate.
    certificate_id str
    Identifier.
    expires_on str
    The date when the certificate expires.
    id str
    Identifier.
    issuer str
    The certificate authority that issued the certificate.
    serial_number str
    The serial number on the uploaded certificate.
    signature str
    The type of hash used for the certificate.
    status str
    Status of the certificate or the association. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
    uploaded_on str
    The time when the certificate was uploaded.
    zone_id str
    Identifier.
    certificate String
    The hostname certificate.
    certificateId String
    Identifier.
    expiresOn String
    The date when the certificate expires.
    id String
    Identifier.
    issuer String
    The certificate authority that issued the certificate.
    serialNumber String
    The serial number on the uploaded certificate.
    signature String
    The type of hash used for the certificate.
    status String
    Status of the certificate or the association. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
    uploadedOn String
    The time when the certificate was uploaded.
    zoneId String
    Identifier.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Viewing docs for Cloudflare v6.14.0
    published on Thursday, Apr 2, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.