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

cloudflare.getAuthenticatedOriginPullsCertificates

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";

const exampleAuthenticatedOriginPullsCertificates = cloudflare.getAuthenticatedOriginPullsCertificates({
    zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
});
Copy
import pulumi
import pulumi_cloudflare as cloudflare

example_authenticated_origin_pulls_certificates = cloudflare.get_authenticated_origin_pulls_certificates(zone_id="023e105f4ecef8ad9ca31a8372d0c353")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  exampleAuthenticatedOriginPullsCertificates:
    fn::invoke:
      function: cloudflare:getAuthenticatedOriginPullsCertificates
      arguments:
        zoneId: 023e105f4ecef8ad9ca31a8372d0c353
Copy

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>
Copy
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]
Copy
func LookupAuthenticatedOriginPullsCertificates(ctx *Context, args *LookupAuthenticatedOriginPullsCertificatesArgs, opts ...InvokeOption) (*LookupAuthenticatedOriginPullsCertificatesResult, error)
func LookupAuthenticatedOriginPullsCertificatesOutput(ctx *Context, args *LookupAuthenticatedOriginPullsCertificatesOutputArgs, opts ...InvokeOption) LookupAuthenticatedOriginPullsCertificatesResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetAuthenticatedOriginPullsCertificatesResult> getAuthenticatedOriginPullsCertificates(GetAuthenticatedOriginPullsCertificatesArgs args, InvokeOptions options)
public static Output<GetAuthenticatedOriginPullsCertificatesResult> getAuthenticatedOriginPullsCertificates(GetAuthenticatedOriginPullsCertificatesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: cloudflare:index/getAuthenticatedOriginPullsCertificates:getAuthenticatedOriginPullsCertificates
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ZoneId This property is required. string
Identifier
MaxItems int
Max items to fetch, default: 1000
ZoneId This property is required. string
Identifier
MaxItems int
Max items to fetch, default: 1000
zoneId This property is required. String
Identifier
maxItems Integer
Max items to fetch, default: 1000
zoneId This property is required. string
Identifier
maxItems number
Max items to fetch, default: 1000
zone_id This property is required. str
Identifier
max_items int
Max items to fetch, default: 1000
zoneId This property is required. 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 This property is required. string
The zone's leaf certificate.
Enabled This property is required. bool
Indicates whether zone-level authenticated origin pulls is enabled.
ExpiresOn This property is required. string
When the certificate from the authority expires.
Id This property is required. string
Identifier
Issuer This property is required. string
The certificate authority that issued the certificate.
PrivateKey This property is required. string
The zone's private key.
Signature This property is required. string
The type of hash used for the certificate.
Status This property is required. string
Status of the certificate activation. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
UploadedOn This property is required. string
This is the time the certificate was uploaded.
Certificate This property is required. string
The zone's leaf certificate.
Enabled This property is required. bool
Indicates whether zone-level authenticated origin pulls is enabled.
ExpiresOn This property is required. string
When the certificate from the authority expires.
Id This property is required. string
Identifier
Issuer This property is required. string
The certificate authority that issued the certificate.
PrivateKey This property is required. string
The zone's private key.
Signature This property is required. string
The type of hash used for the certificate.
Status This property is required. string
Status of the certificate activation. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
UploadedOn This property is required. string
This is the time the certificate was uploaded.
certificate This property is required. String
The zone's leaf certificate.
enabled This property is required. Boolean
Indicates whether zone-level authenticated origin pulls is enabled.
expiresOn This property is required. String
When the certificate from the authority expires.
id This property is required. String
Identifier
issuer This property is required. String
The certificate authority that issued the certificate.
privateKey This property is required. String
The zone's private key.
signature This property is required. String
The type of hash used for the certificate.
status This property is required. String
Status of the certificate activation. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
uploadedOn This property is required. String
This is the time the certificate was uploaded.
certificate This property is required. string
The zone's leaf certificate.
enabled This property is required. boolean
Indicates whether zone-level authenticated origin pulls is enabled.
expiresOn This property is required. string
When the certificate from the authority expires.
id This property is required. string
Identifier
issuer This property is required. string
The certificate authority that issued the certificate.
privateKey This property is required. string
The zone's private key.
signature This property is required. string
The type of hash used for the certificate.
status This property is required. string
Status of the certificate activation. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
uploadedOn This property is required. string
This is the time the certificate was uploaded.
certificate This property is required. str
The zone's leaf certificate.
enabled This property is required. bool
Indicates whether zone-level authenticated origin pulls is enabled.
expires_on This property is required. str
When the certificate from the authority expires.
id This property is required. str
Identifier
issuer This property is required. str
The certificate authority that issued the certificate.
private_key This property is required. str
The zone's private key.
signature This property is required. str
The type of hash used for the certificate.
status This property is required. str
Status of the certificate activation. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
uploaded_on This property is required. str
This is the time the certificate was uploaded.
certificate This property is required. String
The zone's leaf certificate.
enabled This property is required. Boolean
Indicates whether zone-level authenticated origin pulls is enabled.
expiresOn This property is required. String
When the certificate from the authority expires.
id This property is required. String
Identifier
issuer This property is required. String
The certificate authority that issued the certificate.
privateKey This property is required. String
The zone's private key.
signature This property is required. String
The type of hash used for the certificate.
status This property is required. String
Status of the certificate activation. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
uploadedOn This property is required. 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.