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

cloudflare.getZeroTrustAccessShortLivedCertificates

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 exampleZeroTrustAccessShortLivedCertificates = cloudflare.getZeroTrustAccessShortLivedCertificates({
        accountId: "account_id",
        zoneId: "zone_id",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_access_short_lived_certificates = cloudflare.get_zero_trust_access_short_lived_certificates(account_id="account_id",
        zone_id="zone_id")
    
    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.LookupZeroTrustAccessShortLivedCertificates(ctx, &cloudflare.LookupZeroTrustAccessShortLivedCertificatesArgs{
    			AccountId: pulumi.StringRef("account_id"),
    			ZoneId:    pulumi.StringRef("zone_id"),
    		}, 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 exampleZeroTrustAccessShortLivedCertificates = Cloudflare.GetZeroTrustAccessShortLivedCertificates.Invoke(new()
        {
            AccountId = "account_id",
            ZoneId = "zone_id",
        });
    
    });
    
    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.GetZeroTrustAccessShortLivedCertificatesArgs;
    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 exampleZeroTrustAccessShortLivedCertificates = CloudflareFunctions.getZeroTrustAccessShortLivedCertificates(GetZeroTrustAccessShortLivedCertificatesArgs.builder()
                .accountId("account_id")
                .zoneId("zone_id")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustAccessShortLivedCertificates:
        fn::invoke:
          function: cloudflare:getZeroTrustAccessShortLivedCertificates
          arguments:
            accountId: account_id
            zoneId: zone_id
    

    Using getZeroTrustAccessShortLivedCertificates

    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 getZeroTrustAccessShortLivedCertificates(args: GetZeroTrustAccessShortLivedCertificatesArgs, opts?: InvokeOptions): Promise<GetZeroTrustAccessShortLivedCertificatesResult>
    function getZeroTrustAccessShortLivedCertificatesOutput(args: GetZeroTrustAccessShortLivedCertificatesOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustAccessShortLivedCertificatesResult>
    def get_zero_trust_access_short_lived_certificates(account_id: Optional[str] = None,
                                                       max_items: Optional[int] = None,
                                                       zone_id: Optional[str] = None,
                                                       opts: Optional[InvokeOptions] = None) -> GetZeroTrustAccessShortLivedCertificatesResult
    def get_zero_trust_access_short_lived_certificates_output(account_id: Optional[pulumi.Input[str]] = None,
                                                       max_items: Optional[pulumi.Input[int]] = None,
                                                       zone_id: Optional[pulumi.Input[str]] = None,
                                                       opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustAccessShortLivedCertificatesResult]
    func LookupZeroTrustAccessShortLivedCertificates(ctx *Context, args *LookupZeroTrustAccessShortLivedCertificatesArgs, opts ...InvokeOption) (*LookupZeroTrustAccessShortLivedCertificatesResult, error)
    func LookupZeroTrustAccessShortLivedCertificatesOutput(ctx *Context, args *LookupZeroTrustAccessShortLivedCertificatesOutputArgs, opts ...InvokeOption) LookupZeroTrustAccessShortLivedCertificatesResultOutput

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

    public static class GetZeroTrustAccessShortLivedCertificates 
    {
        public static Task<GetZeroTrustAccessShortLivedCertificatesResult> InvokeAsync(GetZeroTrustAccessShortLivedCertificatesArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustAccessShortLivedCertificatesResult> Invoke(GetZeroTrustAccessShortLivedCertificatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetZeroTrustAccessShortLivedCertificatesResult> getZeroTrustAccessShortLivedCertificates(GetZeroTrustAccessShortLivedCertificatesArgs args, InvokeOptions options)
    public static Output<GetZeroTrustAccessShortLivedCertificatesResult> getZeroTrustAccessShortLivedCertificates(GetZeroTrustAccessShortLivedCertificatesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustAccessShortLivedCertificates:getZeroTrustAccessShortLivedCertificates
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    MaxItems int
    Max items to fetch, default: 1000
    ZoneId string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    AccountId string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    MaxItems int
    Max items to fetch, default: 1000
    ZoneId string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    accountId String
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    maxItems Integer
    Max items to fetch, default: 1000
    zoneId String
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    accountId string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    maxItems number
    Max items to fetch, default: 1000
    zoneId string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    account_id str
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    max_items int
    Max items to fetch, default: 1000
    zone_id str
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    accountId String
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    maxItems Number
    Max items to fetch, default: 1000
    zoneId String
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.

    getZeroTrustAccessShortLivedCertificates Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Results List<GetZeroTrustAccessShortLivedCertificatesResult>
    The items returned by the data source
    AccountId string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    MaxItems int
    Max items to fetch, default: 1000
    ZoneId string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    Results []GetZeroTrustAccessShortLivedCertificatesResult
    The items returned by the data source
    AccountId string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    MaxItems int
    Max items to fetch, default: 1000
    ZoneId string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    id String
    The provider-assigned unique ID for this managed resource.
    results List<GetZeroTrustAccessShortLivedCertificatesResult>
    The items returned by the data source
    accountId String
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    maxItems Integer
    Max items to fetch, default: 1000
    zoneId String
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    id string
    The provider-assigned unique ID for this managed resource.
    results GetZeroTrustAccessShortLivedCertificatesResult[]
    The items returned by the data source
    accountId string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    maxItems number
    Max items to fetch, default: 1000
    zoneId string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    id str
    The provider-assigned unique ID for this managed resource.
    results Sequence[GetZeroTrustAccessShortLivedCertificatesResult]
    The items returned by the data source
    account_id str
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    max_items int
    Max items to fetch, default: 1000
    zone_id str
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    id String
    The provider-assigned unique ID for this managed resource.
    results List<Property Map>
    The items returned by the data source
    accountId String
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    maxItems Number
    Max items to fetch, default: 1000
    zoneId String
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.

    Supporting Types

    GetZeroTrustAccessShortLivedCertificatesResult

    Aud string
    The Application Audience (AUD) tag. Identifies the application associated with the CA.
    Id string
    The ID of the CA.
    PublicKey string
    The public key to add to your SSH server configuration.
    Aud string
    The Application Audience (AUD) tag. Identifies the application associated with the CA.
    Id string
    The ID of the CA.
    PublicKey string
    The public key to add to your SSH server configuration.
    aud String
    The Application Audience (AUD) tag. Identifies the application associated with the CA.
    id String
    The ID of the CA.
    publicKey String
    The public key to add to your SSH server configuration.
    aud string
    The Application Audience (AUD) tag. Identifies the application associated with the CA.
    id string
    The ID of the CA.
    publicKey string
    The public key to add to your SSH server configuration.
    aud str
    The Application Audience (AUD) tag. Identifies the application associated with the CA.
    id str
    The ID of the CA.
    public_key str
    The public key to add to your SSH server configuration.
    aud String
    The Application Audience (AUD) tag. Identifies the application associated with the CA.
    id String
    The ID of the CA.
    publicKey String
    The public key to add to your SSH server configuration.

    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