1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getAuthenticatedOriginPullsHostnameCertificates
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 exampleAuthenticatedOriginPullsHostnameCertificates = cloudflare.getAuthenticatedOriginPullsHostnameCertificates({
        zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_authenticated_origin_pulls_hostname_certificates = cloudflare.get_authenticated_origin_pulls_hostname_certificates(zone_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.LookupAuthenticatedOriginPullsHostnameCertificates(ctx, &cloudflare.LookupAuthenticatedOriginPullsHostnameCertificatesArgs{
    			ZoneId: "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 exampleAuthenticatedOriginPullsHostnameCertificates = Cloudflare.GetAuthenticatedOriginPullsHostnameCertificates.Invoke(new()
        {
            ZoneId = "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.GetAuthenticatedOriginPullsHostnameCertificatesArgs;
    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 exampleAuthenticatedOriginPullsHostnameCertificates = CloudflareFunctions.getAuthenticatedOriginPullsHostnameCertificates(GetAuthenticatedOriginPullsHostnameCertificatesArgs.builder()
                .zoneId("023e105f4ecef8ad9ca31a8372d0c353")
                .build());
    
        }
    }
    
    variables:
      exampleAuthenticatedOriginPullsHostnameCertificates:
        fn::invoke:
          function: cloudflare:getAuthenticatedOriginPullsHostnameCertificates
          arguments:
            zoneId: 023e105f4ecef8ad9ca31a8372d0c353
    

    Using getAuthenticatedOriginPullsHostnameCertificates

    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 getAuthenticatedOriginPullsHostnameCertificates(args: GetAuthenticatedOriginPullsHostnameCertificatesArgs, opts?: InvokeOptions): Promise<GetAuthenticatedOriginPullsHostnameCertificatesResult>
    function getAuthenticatedOriginPullsHostnameCertificatesOutput(args: GetAuthenticatedOriginPullsHostnameCertificatesOutputArgs, opts?: InvokeOptions): Output<GetAuthenticatedOriginPullsHostnameCertificatesResult>
    def get_authenticated_origin_pulls_hostname_certificates(max_items: Optional[int] = None,
                                                             zone_id: Optional[str] = None,
                                                             opts: Optional[InvokeOptions] = None) -> GetAuthenticatedOriginPullsHostnameCertificatesResult
    def get_authenticated_origin_pulls_hostname_certificates_output(max_items: Optional[pulumi.Input[int]] = None,
                                                             zone_id: Optional[pulumi.Input[str]] = None,
                                                             opts: Optional[InvokeOptions] = None) -> Output[GetAuthenticatedOriginPullsHostnameCertificatesResult]
    func LookupAuthenticatedOriginPullsHostnameCertificates(ctx *Context, args *LookupAuthenticatedOriginPullsHostnameCertificatesArgs, opts ...InvokeOption) (*LookupAuthenticatedOriginPullsHostnameCertificatesResult, error)
    func LookupAuthenticatedOriginPullsHostnameCertificatesOutput(ctx *Context, args *LookupAuthenticatedOriginPullsHostnameCertificatesOutputArgs, opts ...InvokeOption) LookupAuthenticatedOriginPullsHostnameCertificatesResultOutput

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

    public static class GetAuthenticatedOriginPullsHostnameCertificates 
    {
        public static Task<GetAuthenticatedOriginPullsHostnameCertificatesResult> InvokeAsync(GetAuthenticatedOriginPullsHostnameCertificatesArgs args, InvokeOptions? opts = null)
        public static Output<GetAuthenticatedOriginPullsHostnameCertificatesResult> Invoke(GetAuthenticatedOriginPullsHostnameCertificatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAuthenticatedOriginPullsHostnameCertificatesResult> getAuthenticatedOriginPullsHostnameCertificates(GetAuthenticatedOriginPullsHostnameCertificatesArgs args, InvokeOptions options)
    public static Output<GetAuthenticatedOriginPullsHostnameCertificatesResult> getAuthenticatedOriginPullsHostnameCertificates(GetAuthenticatedOriginPullsHostnameCertificatesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getAuthenticatedOriginPullsHostnameCertificates:getAuthenticatedOriginPullsHostnameCertificates
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ZoneId string
    Identifier.
    MaxItems int
    Max items to fetch, default: 1000
    ZoneId string
    Identifier.
    MaxItems int
    Max items to fetch, default: 1000
    zoneId String
    Identifier.
    maxItems Integer
    Max items to fetch, default: 1000
    zoneId string
    Identifier.
    maxItems number
    Max items to fetch, default: 1000
    zone_id str
    Identifier.
    max_items int
    Max items to fetch, default: 1000
    zoneId String
    Identifier.
    maxItems Number
    Max items to fetch, default: 1000

    getAuthenticatedOriginPullsHostnameCertificates Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Results List<GetAuthenticatedOriginPullsHostnameCertificatesResult>
    The items returned by the data source
    ZoneId string
    Identifier.
    MaxItems int
    Max items to fetch, default: 1000
    Id string
    The provider-assigned unique ID for this managed resource.
    Results []GetAuthenticatedOriginPullsHostnameCertificatesResult
    The items returned by the data source
    ZoneId string
    Identifier.
    MaxItems int
    Max items to fetch, default: 1000
    id String
    The provider-assigned unique ID for this managed resource.
    results List<GetAuthenticatedOriginPullsHostnameCertificatesResult>
    The items returned by the data source
    zoneId String
    Identifier.
    maxItems Integer
    Max items to fetch, default: 1000
    id string
    The provider-assigned unique ID for this managed resource.
    results GetAuthenticatedOriginPullsHostnameCertificatesResult[]
    The items returned by the data source
    zoneId string
    Identifier.
    maxItems number
    Max items to fetch, default: 1000
    id str
    The provider-assigned unique ID for this managed resource.
    results Sequence[GetAuthenticatedOriginPullsHostnameCertificatesResult]
    The items returned by the data source
    zone_id str
    Identifier.
    max_items int
    Max items to fetch, default: 1000
    id String
    The provider-assigned unique ID for this managed resource.
    results List<Property Map>
    The items returned by the data source
    zoneId String
    Identifier.
    maxItems Number
    Max items to fetch, default: 1000

    Supporting Types

    GetAuthenticatedOriginPullsHostnameCertificatesResult

    Certificate string
    The hostname certificate.
    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.
    Certificate string
    The hostname certificate.
    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.
    certificate String
    The hostname certificate.
    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.
    certificate string
    The hostname certificate.
    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.
    certificate str
    The hostname certificate.
    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.
    certificate String
    The hostname certificate.
    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.

    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.