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

cloudflare.getAuthenticatedOriginPullsCertificates

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 exampleAuthenticatedOriginPullsCertificates = cloudflare.getAuthenticatedOriginPullsCertificates({
        zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_authenticated_origin_pulls_certificates = cloudflare.get_authenticated_origin_pulls_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.LookupAuthenticatedOriginPullsCertificates(ctx, &cloudflare.LookupAuthenticatedOriginPullsCertificatesArgs{
    			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 exampleAuthenticatedOriginPullsCertificates = Cloudflare.GetAuthenticatedOriginPullsCertificates.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.GetAuthenticatedOriginPullsCertificatesArgs;
    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 exampleAuthenticatedOriginPullsCertificates = CloudflareFunctions.getAuthenticatedOriginPullsCertificates(GetAuthenticatedOriginPullsCertificatesArgs.builder()
                .zoneId("023e105f4ecef8ad9ca31a8372d0c353")
                .build());
    
        }
    }
    
    variables:
      exampleAuthenticatedOriginPullsCertificates:
        fn::invoke:
          function: cloudflare:getAuthenticatedOriginPullsCertificates
          arguments:
            zoneId: 023e105f4ecef8ad9ca31a8372d0c353
    

    Using getAuthenticatedOriginPullsCertificates

    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 getAuthenticatedOriginPullsCertificates(args: GetAuthenticatedOriginPullsCertificatesArgs, opts?: InvokeOptions): Promise<GetAuthenticatedOriginPullsCertificatesResult>
    function getAuthenticatedOriginPullsCertificatesOutput(args: GetAuthenticatedOriginPullsCertificatesOutputArgs, opts?: InvokeOptions): Output<GetAuthenticatedOriginPullsCertificatesResult>
    def get_authenticated_origin_pulls_certificates(max_items: Optional[int] = None,
                                                    zone_id: Optional[str] = None,
                                                    opts: Optional[InvokeOptions] = None) -> GetAuthenticatedOriginPullsCertificatesResult
    def get_authenticated_origin_pulls_certificates_output(max_items: Optional[pulumi.Input[int]] = None,
                                                    zone_id: Optional[pulumi.Input[str]] = None,
                                                    opts: Optional[InvokeOptions] = None) -> Output[GetAuthenticatedOriginPullsCertificatesResult]
    func LookupAuthenticatedOriginPullsCertificates(ctx *Context, args *LookupAuthenticatedOriginPullsCertificatesArgs, opts ...InvokeOption) (*LookupAuthenticatedOriginPullsCertificatesResult, error)
    func LookupAuthenticatedOriginPullsCertificatesOutput(ctx *Context, args *LookupAuthenticatedOriginPullsCertificatesOutputArgs, opts ...InvokeOption) LookupAuthenticatedOriginPullsCertificatesResultOutput

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

    public static class GetAuthenticatedOriginPullsCertificates 
    {
        public static Task<GetAuthenticatedOriginPullsCertificatesResult> InvokeAsync(GetAuthenticatedOriginPullsCertificatesArgs args, InvokeOptions? opts = null)
        public static Output<GetAuthenticatedOriginPullsCertificatesResult> Invoke(GetAuthenticatedOriginPullsCertificatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAuthenticatedOriginPullsCertificatesResult> getAuthenticatedOriginPullsCertificates(GetAuthenticatedOriginPullsCertificatesArgs args, InvokeOptions options)
    public static Output<GetAuthenticatedOriginPullsCertificatesResult> getAuthenticatedOriginPullsCertificates(GetAuthenticatedOriginPullsCertificatesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getAuthenticatedOriginPullsCertificates:getAuthenticatedOriginPullsCertificates
      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

    getAuthenticatedOriginPullsCertificates Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Results List<GetAuthenticatedOriginPullsCertificatesResult>
    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 []GetAuthenticatedOriginPullsCertificatesResult
    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<GetAuthenticatedOriginPullsCertificatesResult>
    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 GetAuthenticatedOriginPullsCertificatesResult[]
    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[GetAuthenticatedOriginPullsCertificatesResult]
    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

    GetAuthenticatedOriginPullsCertificatesResult

    Certificate string
    The zone's leaf certificate.
    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.
    Certificate string
    The zone's leaf certificate.
    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.
    certificate String
    The zone's leaf certificate.
    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.
    certificate string
    The zone's leaf certificate.
    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.
    certificate str
    The zone's leaf certificate.
    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.
    certificate String
    The zone's leaf certificate.
    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.

    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