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

cloudflare.getAuthenticatedOriginPulls

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 exampleAuthenticatedOriginPulls = cloudflare.getAuthenticatedOriginPulls({
        zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
        hostname: "app.example.com",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_authenticated_origin_pulls = cloudflare.get_authenticated_origin_pulls(zone_id="023e105f4ecef8ad9ca31a8372d0c353",
        hostname="app.example.com")
    
    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.LookupAuthenticatedOriginPulls(ctx, &cloudflare.LookupAuthenticatedOriginPullsArgs{
    			ZoneId:   "023e105f4ecef8ad9ca31a8372d0c353",
    			Hostname: "app.example.com",
    		}, 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 exampleAuthenticatedOriginPulls = Cloudflare.GetAuthenticatedOriginPulls.Invoke(new()
        {
            ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
            Hostname = "app.example.com",
        });
    
    });
    
    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.GetAuthenticatedOriginPullsArgs;
    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 exampleAuthenticatedOriginPulls = CloudflareFunctions.getAuthenticatedOriginPulls(GetAuthenticatedOriginPullsArgs.builder()
                .zoneId("023e105f4ecef8ad9ca31a8372d0c353")
                .hostname("app.example.com")
                .build());
    
        }
    }
    
    variables:
      exampleAuthenticatedOriginPulls:
        fn::invoke:
          function: cloudflare:getAuthenticatedOriginPulls
          arguments:
            zoneId: 023e105f4ecef8ad9ca31a8372d0c353
            hostname: app.example.com
    

    Using getAuthenticatedOriginPulls

    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 getAuthenticatedOriginPulls(args: GetAuthenticatedOriginPullsArgs, opts?: InvokeOptions): Promise<GetAuthenticatedOriginPullsResult>
    function getAuthenticatedOriginPullsOutput(args: GetAuthenticatedOriginPullsOutputArgs, opts?: InvokeOptions): Output<GetAuthenticatedOriginPullsResult>
    def get_authenticated_origin_pulls(hostname: Optional[str] = None,
                                       zone_id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetAuthenticatedOriginPullsResult
    def get_authenticated_origin_pulls_output(hostname: Optional[pulumi.Input[str]] = None,
                                       zone_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetAuthenticatedOriginPullsResult]
    func LookupAuthenticatedOriginPulls(ctx *Context, args *LookupAuthenticatedOriginPullsArgs, opts ...InvokeOption) (*LookupAuthenticatedOriginPullsResult, error)
    func LookupAuthenticatedOriginPullsOutput(ctx *Context, args *LookupAuthenticatedOriginPullsOutputArgs, opts ...InvokeOption) LookupAuthenticatedOriginPullsResultOutput

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

    public static class GetAuthenticatedOriginPulls 
    {
        public static Task<GetAuthenticatedOriginPullsResult> InvokeAsync(GetAuthenticatedOriginPullsArgs args, InvokeOptions? opts = null)
        public static Output<GetAuthenticatedOriginPullsResult> Invoke(GetAuthenticatedOriginPullsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAuthenticatedOriginPullsResult> getAuthenticatedOriginPulls(GetAuthenticatedOriginPullsArgs args, InvokeOptions options)
    public static Output<GetAuthenticatedOriginPullsResult> getAuthenticatedOriginPulls(GetAuthenticatedOriginPullsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getAuthenticatedOriginPulls:getAuthenticatedOriginPulls
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Hostname string
    The hostname on the origin for which the client certificate uploaded will be used.
    ZoneId string
    Identifier
    Hostname string
    The hostname on the origin for which the client certificate uploaded will be used.
    ZoneId string
    Identifier
    hostname String
    The hostname on the origin for which the client certificate uploaded will be used.
    zoneId String
    Identifier
    hostname string
    The hostname on the origin for which the client certificate uploaded will be used.
    zoneId string
    Identifier
    hostname str
    The hostname on the origin for which the client certificate uploaded will be used.
    zone_id str
    Identifier
    hostname String
    The hostname on the origin for which the client certificate uploaded will be used.
    zoneId String
    Identifier

    getAuthenticatedOriginPulls Result

    The following output properties are available:

    CertId string
    Identifier
    CertStatus string
    Status of the certificate or the association. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
    CertUpdatedAt string
    The time when the certificate was updated.
    CertUploadedOn string
    The time when the certificate was uploaded.
    Certificate string
    The hostname certificate.
    CreatedAt string
    The time when the certificate was created.
    Enabled bool
    Indicates whether hostname-level authenticated origin pulls is enabled. A null value voids the association.
    ExpiresOn string
    The date when the certificate expires.
    Hostname string
    The hostname on the origin for which the client certificate uploaded will be used.
    Id string
    The provider-assigned unique ID for this managed resource.
    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".
    UpdatedAt string
    The time when the certificate was updated.
    ZoneId string
    Identifier
    CertId string
    Identifier
    CertStatus string
    Status of the certificate or the association. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
    CertUpdatedAt string
    The time when the certificate was updated.
    CertUploadedOn string
    The time when the certificate was uploaded.
    Certificate string
    The hostname certificate.
    CreatedAt string
    The time when the certificate was created.
    Enabled bool
    Indicates whether hostname-level authenticated origin pulls is enabled. A null value voids the association.
    ExpiresOn string
    The date when the certificate expires.
    Hostname string
    The hostname on the origin for which the client certificate uploaded will be used.
    Id string
    The provider-assigned unique ID for this managed resource.
    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".
    UpdatedAt string
    The time when the certificate was updated.
    ZoneId string
    Identifier
    certId String
    Identifier
    certStatus String
    Status of the certificate or the association. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
    certUpdatedAt String
    The time when the certificate was updated.
    certUploadedOn String
    The time when the certificate was uploaded.
    certificate String
    The hostname certificate.
    createdAt String
    The time when the certificate was created.
    enabled Boolean
    Indicates whether hostname-level authenticated origin pulls is enabled. A null value voids the association.
    expiresOn String
    The date when the certificate expires.
    hostname String
    The hostname on the origin for which the client certificate uploaded will be used.
    id String
    The provider-assigned unique ID for this managed resource.
    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".
    updatedAt String
    The time when the certificate was updated.
    zoneId String
    Identifier
    certId string
    Identifier
    certStatus string
    Status of the certificate or the association. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
    certUpdatedAt string
    The time when the certificate was updated.
    certUploadedOn string
    The time when the certificate was uploaded.
    certificate string
    The hostname certificate.
    createdAt string
    The time when the certificate was created.
    enabled boolean
    Indicates whether hostname-level authenticated origin pulls is enabled. A null value voids the association.
    expiresOn string
    The date when the certificate expires.
    hostname string
    The hostname on the origin for which the client certificate uploaded will be used.
    id string
    The provider-assigned unique ID for this managed resource.
    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".
    updatedAt string
    The time when the certificate was updated.
    zoneId string
    Identifier
    cert_id str
    Identifier
    cert_status str
    Status of the certificate or the association. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
    cert_updated_at str
    The time when the certificate was updated.
    cert_uploaded_on str
    The time when the certificate was uploaded.
    certificate str
    The hostname certificate.
    created_at str
    The time when the certificate was created.
    enabled bool
    Indicates whether hostname-level authenticated origin pulls is enabled. A null value voids the association.
    expires_on str
    The date when the certificate expires.
    hostname str
    The hostname on the origin for which the client certificate uploaded will be used.
    id str
    The provider-assigned unique ID for this managed resource.
    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".
    updated_at str
    The time when the certificate was updated.
    zone_id str
    Identifier
    certId String
    Identifier
    certStatus String
    Status of the certificate or the association. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deleted", "deploymenttimedout", "deletiontimedout".
    certUpdatedAt String
    The time when the certificate was updated.
    certUploadedOn String
    The time when the certificate was uploaded.
    certificate String
    The hostname certificate.
    createdAt String
    The time when the certificate was created.
    enabled Boolean
    Indicates whether hostname-level authenticated origin pulls is enabled. A null value voids the association.
    expiresOn String
    The date when the certificate expires.
    hostname String
    The hostname on the origin for which the client certificate uploaded will be used.
    id String
    The provider-assigned unique ID for this managed resource.
    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".
    updatedAt String
    The time when the certificate was updated.
    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