1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getCustomOriginTrustStores
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 exampleCustomOriginTrustStores = cloudflare.getCustomOriginTrustStores({
        zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
        limit: 10,
        offset: 10,
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_custom_origin_trust_stores = cloudflare.get_custom_origin_trust_stores(zone_id="023e105f4ecef8ad9ca31a8372d0c353",
        limit=10,
        offset=10)
    
    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.LookupCustomOriginTrustStores(ctx, &cloudflare.LookupCustomOriginTrustStoresArgs{
    			ZoneId: "023e105f4ecef8ad9ca31a8372d0c353",
    			Limit:  pulumi.IntRef(10),
    			Offset: pulumi.IntRef(10),
    		}, 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 exampleCustomOriginTrustStores = Cloudflare.GetCustomOriginTrustStores.Invoke(new()
        {
            ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
            Limit = 10,
            Offset = 10,
        });
    
    });
    
    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.GetCustomOriginTrustStoresArgs;
    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 exampleCustomOriginTrustStores = CloudflareFunctions.getCustomOriginTrustStores(GetCustomOriginTrustStoresArgs.builder()
                .zoneId("023e105f4ecef8ad9ca31a8372d0c353")
                .limit(10)
                .offset(10)
                .build());
    
        }
    }
    
    variables:
      exampleCustomOriginTrustStores:
        fn::invoke:
          function: cloudflare:getCustomOriginTrustStores
          arguments:
            zoneId: 023e105f4ecef8ad9ca31a8372d0c353
            limit: 10
            offset: 10
    

    Using getCustomOriginTrustStores

    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 getCustomOriginTrustStores(args: GetCustomOriginTrustStoresArgs, opts?: InvokeOptions): Promise<GetCustomOriginTrustStoresResult>
    function getCustomOriginTrustStoresOutput(args: GetCustomOriginTrustStoresOutputArgs, opts?: InvokeOptions): Output<GetCustomOriginTrustStoresResult>
    def get_custom_origin_trust_stores(limit: Optional[int] = None,
                                       max_items: Optional[int] = None,
                                       offset: Optional[int] = None,
                                       zone_id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetCustomOriginTrustStoresResult
    def get_custom_origin_trust_stores_output(limit: Optional[pulumi.Input[int]] = None,
                                       max_items: Optional[pulumi.Input[int]] = None,
                                       offset: Optional[pulumi.Input[int]] = None,
                                       zone_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetCustomOriginTrustStoresResult]
    func LookupCustomOriginTrustStores(ctx *Context, args *LookupCustomOriginTrustStoresArgs, opts ...InvokeOption) (*LookupCustomOriginTrustStoresResult, error)
    func LookupCustomOriginTrustStoresOutput(ctx *Context, args *LookupCustomOriginTrustStoresOutputArgs, opts ...InvokeOption) LookupCustomOriginTrustStoresResultOutput

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

    public static class GetCustomOriginTrustStores 
    {
        public static Task<GetCustomOriginTrustStoresResult> InvokeAsync(GetCustomOriginTrustStoresArgs args, InvokeOptions? opts = null)
        public static Output<GetCustomOriginTrustStoresResult> Invoke(GetCustomOriginTrustStoresInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCustomOriginTrustStoresResult> getCustomOriginTrustStores(GetCustomOriginTrustStoresArgs args, InvokeOptions options)
    public static Output<GetCustomOriginTrustStoresResult> getCustomOriginTrustStores(GetCustomOriginTrustStoresArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getCustomOriginTrustStores:getCustomOriginTrustStores
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ZoneId string
    Identifier.
    Limit int
    Limit to the number of records returned.
    MaxItems int
    Max items to fetch, default: 1000
    Offset int
    Offset the results
    ZoneId string
    Identifier.
    Limit int
    Limit to the number of records returned.
    MaxItems int
    Max items to fetch, default: 1000
    Offset int
    Offset the results
    zoneId String
    Identifier.
    limit Integer
    Limit to the number of records returned.
    maxItems Integer
    Max items to fetch, default: 1000
    offset Integer
    Offset the results
    zoneId string
    Identifier.
    limit number
    Limit to the number of records returned.
    maxItems number
    Max items to fetch, default: 1000
    offset number
    Offset the results
    zone_id str
    Identifier.
    limit int
    Limit to the number of records returned.
    max_items int
    Max items to fetch, default: 1000
    offset int
    Offset the results
    zoneId String
    Identifier.
    limit Number
    Limit to the number of records returned.
    maxItems Number
    Max items to fetch, default: 1000
    offset Number
    Offset the results

    getCustomOriginTrustStores Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Results List<GetCustomOriginTrustStoresResult>
    The items returned by the data source
    ZoneId string
    Identifier.
    Limit int
    Limit to the number of records returned.
    MaxItems int
    Max items to fetch, default: 1000
    Offset int
    Offset the results
    Id string
    The provider-assigned unique ID for this managed resource.
    Results []GetCustomOriginTrustStoresResult
    The items returned by the data source
    ZoneId string
    Identifier.
    Limit int
    Limit to the number of records returned.
    MaxItems int
    Max items to fetch, default: 1000
    Offset int
    Offset the results
    id String
    The provider-assigned unique ID for this managed resource.
    results List<GetCustomOriginTrustStoresResult>
    The items returned by the data source
    zoneId String
    Identifier.
    limit Integer
    Limit to the number of records returned.
    maxItems Integer
    Max items to fetch, default: 1000
    offset Integer
    Offset the results
    id string
    The provider-assigned unique ID for this managed resource.
    results GetCustomOriginTrustStoresResult[]
    The items returned by the data source
    zoneId string
    Identifier.
    limit number
    Limit to the number of records returned.
    maxItems number
    Max items to fetch, default: 1000
    offset number
    Offset the results
    id str
    The provider-assigned unique ID for this managed resource.
    results Sequence[GetCustomOriginTrustStoresResult]
    The items returned by the data source
    zone_id str
    Identifier.
    limit int
    Limit to the number of records returned.
    max_items int
    Max items to fetch, default: 1000
    offset int
    Offset the results
    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.
    limit Number
    Limit to the number of records returned.
    maxItems Number
    Max items to fetch, default: 1000
    offset Number
    Offset the results

    Supporting Types

    GetCustomOriginTrustStoresResult

    Certificate string
    The zone's SSL certificate or certificate and the intermediate(s).
    ExpiresOn string
    When the certificate expires.
    Id string
    Identifier.
    Issuer string
    The certificate authority that issued the certificate.
    Signature string
    The type of hash used for the certificate.
    Status string
    Status of the zone's custom SSL. Available values: "initializing", "pendingdeployment", "active", "pendingdeletion", "deleted", "expired".
    UpdatedAt string
    When the certificate was last modified.
    UploadedOn string
    When the certificate was uploaded to Cloudflare.
    Certificate string
    The zone's SSL certificate or certificate and the intermediate(s).
    ExpiresOn string
    When the certificate expires.
    Id string
    Identifier.
    Issuer string
    The certificate authority that issued the certificate.
    Signature string
    The type of hash used for the certificate.
    Status string
    Status of the zone's custom SSL. Available values: "initializing", "pendingdeployment", "active", "pendingdeletion", "deleted", "expired".
    UpdatedAt string
    When the certificate was last modified.
    UploadedOn string
    When the certificate was uploaded to Cloudflare.
    certificate String
    The zone's SSL certificate or certificate and the intermediate(s).
    expiresOn String
    When the certificate expires.
    id String
    Identifier.
    issuer String
    The certificate authority that issued the certificate.
    signature String
    The type of hash used for the certificate.
    status String
    Status of the zone's custom SSL. Available values: "initializing", "pendingdeployment", "active", "pendingdeletion", "deleted", "expired".
    updatedAt String
    When the certificate was last modified.
    uploadedOn String
    When the certificate was uploaded to Cloudflare.
    certificate string
    The zone's SSL certificate or certificate and the intermediate(s).
    expiresOn string
    When the certificate expires.
    id string
    Identifier.
    issuer string
    The certificate authority that issued the certificate.
    signature string
    The type of hash used for the certificate.
    status string
    Status of the zone's custom SSL. Available values: "initializing", "pendingdeployment", "active", "pendingdeletion", "deleted", "expired".
    updatedAt string
    When the certificate was last modified.
    uploadedOn string
    When the certificate was uploaded to Cloudflare.
    certificate str
    The zone's SSL certificate or certificate and the intermediate(s).
    expires_on str
    When the certificate expires.
    id str
    Identifier.
    issuer str
    The certificate authority that issued the certificate.
    signature str
    The type of hash used for the certificate.
    status str
    Status of the zone's custom SSL. Available values: "initializing", "pendingdeployment", "active", "pendingdeletion", "deleted", "expired".
    updated_at str
    When the certificate was last modified.
    uploaded_on str
    When the certificate was uploaded to Cloudflare.
    certificate String
    The zone's SSL certificate or certificate and the intermediate(s).
    expiresOn String
    When the certificate expires.
    id String
    Identifier.
    issuer String
    The certificate authority that issued the certificate.
    signature String
    The type of hash used for the certificate.
    status String
    Status of the zone's custom SSL. Available values: "initializing", "pendingdeployment", "active", "pendingdeletion", "deleted", "expired".
    updatedAt String
    When the certificate was last modified.
    uploadedOn String
    When the certificate was uploaded to Cloudflare.

    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.