1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getAuthenticatedOriginPullsCertificate
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.getAuthenticatedOriginPullsCertificate

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleAuthenticatedOriginPullsCertificate = cloudflare.getAuthenticatedOriginPullsCertificate({
        zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
        certificateId: "023e105f4ecef8ad9ca31a8372d0c353",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_authenticated_origin_pulls_certificate = cloudflare.get_authenticated_origin_pulls_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.LookupAuthenticatedOriginPullsCertificate(ctx, &cloudflare.LookupAuthenticatedOriginPullsCertificateArgs{
    			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 exampleAuthenticatedOriginPullsCertificate = Cloudflare.GetAuthenticatedOriginPullsCertificate.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.GetAuthenticatedOriginPullsCertificateArgs;
    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 exampleAuthenticatedOriginPullsCertificate = CloudflareFunctions.getAuthenticatedOriginPullsCertificate(GetAuthenticatedOriginPullsCertificateArgs.builder()
                .zoneId("023e105f4ecef8ad9ca31a8372d0c353")
                .certificateId("023e105f4ecef8ad9ca31a8372d0c353")
                .build());
    
        }
    }
    
    variables:
      exampleAuthenticatedOriginPullsCertificate:
        fn::invoke:
          function: cloudflare:getAuthenticatedOriginPullsCertificate
          arguments:
            zoneId: 023e105f4ecef8ad9ca31a8372d0c353
            certificateId: 023e105f4ecef8ad9ca31a8372d0c353
    

    Using getAuthenticatedOriginPullsCertificate

    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 getAuthenticatedOriginPullsCertificate(args: GetAuthenticatedOriginPullsCertificateArgs, opts?: InvokeOptions): Promise<GetAuthenticatedOriginPullsCertificateResult>
    function getAuthenticatedOriginPullsCertificateOutput(args: GetAuthenticatedOriginPullsCertificateOutputArgs, opts?: InvokeOptions): Output<GetAuthenticatedOriginPullsCertificateResult>
    def get_authenticated_origin_pulls_certificate(certificate_id: Optional[str] = None,
                                                   zone_id: Optional[str] = None,
                                                   opts: Optional[InvokeOptions] = None) -> GetAuthenticatedOriginPullsCertificateResult
    def get_authenticated_origin_pulls_certificate_output(certificate_id: Optional[pulumi.Input[str]] = None,
                                                   zone_id: Optional[pulumi.Input[str]] = None,
                                                   opts: Optional[InvokeOptions] = None) -> Output[GetAuthenticatedOriginPullsCertificateResult]
    func LookupAuthenticatedOriginPullsCertificate(ctx *Context, args *LookupAuthenticatedOriginPullsCertificateArgs, opts ...InvokeOption) (*LookupAuthenticatedOriginPullsCertificateResult, error)
    func LookupAuthenticatedOriginPullsCertificateOutput(ctx *Context, args *LookupAuthenticatedOriginPullsCertificateOutputArgs, opts ...InvokeOption) LookupAuthenticatedOriginPullsCertificateResultOutput

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

    public static class GetAuthenticatedOriginPullsCertificate 
    {
        public static Task<GetAuthenticatedOriginPullsCertificateResult> InvokeAsync(GetAuthenticatedOriginPullsCertificateArgs args, InvokeOptions? opts = null)
        public static Output<GetAuthenticatedOriginPullsCertificateResult> Invoke(GetAuthenticatedOriginPullsCertificateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAuthenticatedOriginPullsCertificateResult> getAuthenticatedOriginPullsCertificate(GetAuthenticatedOriginPullsCertificateArgs args, InvokeOptions options)
    public static Output<GetAuthenticatedOriginPullsCertificateResult> getAuthenticatedOriginPullsCertificate(GetAuthenticatedOriginPullsCertificateArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getAuthenticatedOriginPullsCertificate:getAuthenticatedOriginPullsCertificate
      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

    getAuthenticatedOriginPullsCertificate Result

    The following output properties are available:

    Certificate string
    The zone's leaf certificate.
    CertificateId string
    Identifier
    Enabled bool
    Indicates whether zone-level authenticated origin pulls is enabled.
    ExpiresOn string
    When the certificate from the authority expires.
    Id string
    Identifier
    Issuer string
    The certificate authority that issued the certificate.
    PrivateKey string
    The zone's private key.
    Signature string
    The type of hash used for the certificate.
    Status string
    Status of the certificate activation. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
    UploadedOn string
    This is the time the certificate was uploaded.
    ZoneId string
    Identifier
    Certificate string
    The zone's leaf certificate.
    CertificateId string
    Identifier
    Enabled bool
    Indicates whether zone-level authenticated origin pulls is enabled.
    ExpiresOn string
    When the certificate from the authority expires.
    Id string
    Identifier
    Issuer string
    The certificate authority that issued the certificate.
    PrivateKey string
    The zone's private key.
    Signature string
    The type of hash used for the certificate.
    Status string
    Status of the certificate activation. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
    UploadedOn string
    This is the time the certificate was uploaded.
    ZoneId string
    Identifier
    certificate String
    The zone's leaf certificate.
    certificateId String
    Identifier
    enabled Boolean
    Indicates whether zone-level authenticated origin pulls is enabled.
    expiresOn String
    When the certificate from the authority expires.
    id String
    Identifier
    issuer String
    The certificate authority that issued the certificate.
    privateKey String
    The zone's private key.
    signature String
    The type of hash used for the certificate.
    status String
    Status of the certificate activation. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
    uploadedOn String
    This is the time the certificate was uploaded.
    zoneId String
    Identifier
    certificate string
    The zone's leaf certificate.
    certificateId string
    Identifier
    enabled boolean
    Indicates whether zone-level authenticated origin pulls is enabled.
    expiresOn string
    When the certificate from the authority expires.
    id string
    Identifier
    issuer string
    The certificate authority that issued the certificate.
    privateKey string
    The zone's private key.
    signature string
    The type of hash used for the certificate.
    status string
    Status of the certificate activation. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
    uploadedOn string
    This is the time the certificate was uploaded.
    zoneId string
    Identifier
    certificate str
    The zone's leaf certificate.
    certificate_id str
    Identifier
    enabled bool
    Indicates whether zone-level authenticated origin pulls is enabled.
    expires_on str
    When the certificate from the authority expires.
    id str
    Identifier
    issuer str
    The certificate authority that issued the certificate.
    private_key str
    The zone's private key.
    signature str
    The type of hash used for the certificate.
    status str
    Status of the certificate activation. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
    uploaded_on str
    This is the time the certificate was uploaded.
    zone_id str
    Identifier
    certificate String
    The zone's leaf certificate.
    certificateId String
    Identifier
    enabled Boolean
    Indicates whether zone-level authenticated origin pulls is enabled.
    expiresOn String
    When the certificate from the authority expires.
    id String
    Identifier
    issuer String
    The certificate authority that issued the certificate.
    privateKey String
    The zone's private key.
    signature String
    The type of hash used for the certificate.
    status String
    Status of the certificate activation. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
    uploadedOn String
    This is the time 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
    Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi