Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getZeroTrustAccessCustomPage
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustAccessCustomPage = cloudflare.getZeroTrustAccessCustomPage({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
customPageId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_access_custom_page = cloudflare.get_zero_trust_access_custom_page(account_id="023e105f4ecef8ad9ca31a8372d0c353",
custom_page_id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
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.LookupZeroTrustAccessCustomPage(ctx, &cloudflare.LookupZeroTrustAccessCustomPageArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
CustomPageId: pulumi.StringRef("f174e90a-fafe-4643-bbbc-4a0ed4fc8415"),
}, 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 exampleZeroTrustAccessCustomPage = Cloudflare.GetZeroTrustAccessCustomPage.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
CustomPageId = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
});
});
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.GetZeroTrustAccessCustomPageArgs;
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 exampleZeroTrustAccessCustomPage = CloudflareFunctions.getZeroTrustAccessCustomPage(GetZeroTrustAccessCustomPageArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.customPageId("f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
.build());
}
}
variables:
exampleZeroTrustAccessCustomPage:
fn::invoke:
function: cloudflare:getZeroTrustAccessCustomPage
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
customPageId: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
Using getZeroTrustAccessCustomPage
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 getZeroTrustAccessCustomPage(args: GetZeroTrustAccessCustomPageArgs, opts?: InvokeOptions): Promise<GetZeroTrustAccessCustomPageResult>
function getZeroTrustAccessCustomPageOutput(args: GetZeroTrustAccessCustomPageOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustAccessCustomPageResult>
def get_zero_trust_access_custom_page(account_id: Optional[str] = None,
custom_page_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustAccessCustomPageResult
def get_zero_trust_access_custom_page_output(account_id: Optional[pulumi.Input[str]] = None,
custom_page_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustAccessCustomPageResult]
func LookupZeroTrustAccessCustomPage(ctx *Context, args *LookupZeroTrustAccessCustomPageArgs, opts ...InvokeOption) (*LookupZeroTrustAccessCustomPageResult, error)
func LookupZeroTrustAccessCustomPageOutput(ctx *Context, args *LookupZeroTrustAccessCustomPageOutputArgs, opts ...InvokeOption) LookupZeroTrustAccessCustomPageResultOutput
> Note: This function is named LookupZeroTrustAccessCustomPage
in the Go SDK.
public static class GetZeroTrustAccessCustomPage
{
public static Task<GetZeroTrustAccessCustomPageResult> InvokeAsync(GetZeroTrustAccessCustomPageArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustAccessCustomPageResult> Invoke(GetZeroTrustAccessCustomPageInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetZeroTrustAccessCustomPageResult> getZeroTrustAccessCustomPage(GetZeroTrustAccessCustomPageArgs args, InvokeOptions options)
public static Output<GetZeroTrustAccessCustomPageResult> getZeroTrustAccessCustomPage(GetZeroTrustAccessCustomPageArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustAccessCustomPage:getZeroTrustAccessCustomPage
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id string - Identifier.
- Custom
Page stringId - UUID.
- Account
Id string - Identifier.
- Custom
Page stringId - UUID.
- account
Id String - Identifier.
- custom
Page StringId - UUID.
- account
Id string - Identifier.
- custom
Page stringId - UUID.
- account_
id str - Identifier.
- custom_
page_ strid - UUID.
- account
Id String - Identifier.
- custom
Page StringId - UUID.
getZeroTrustAccessCustomPage Result
The following output properties are available:
- Account
Id string - Identifier.
- App
Count int - Number of apps the custom page is assigned to.
- Created
At string - Custom
Html string - Custom page HTML.
- Id string
- UUID.
- Name string
- Custom page name.
- Type string
- Custom page type. Available values: "identity_denied", "forbidden".
- Uid string
- UUID.
- Updated
At string - Custom
Page stringId - UUID.
- Account
Id string - Identifier.
- App
Count int - Number of apps the custom page is assigned to.
- Created
At string - Custom
Html string - Custom page HTML.
- Id string
- UUID.
- Name string
- Custom page name.
- Type string
- Custom page type. Available values: "identity_denied", "forbidden".
- Uid string
- UUID.
- Updated
At string - Custom
Page stringId - UUID.
- account
Id String - Identifier.
- app
Count Integer - Number of apps the custom page is assigned to.
- created
At String - custom
Html String - Custom page HTML.
- id String
- UUID.
- name String
- Custom page name.
- type String
- Custom page type. Available values: "identity_denied", "forbidden".
- uid String
- UUID.
- updated
At String - custom
Page StringId - UUID.
- account
Id string - Identifier.
- app
Count number - Number of apps the custom page is assigned to.
- created
At string - custom
Html string - Custom page HTML.
- id string
- UUID.
- name string
- Custom page name.
- type string
- Custom page type. Available values: "identity_denied", "forbidden".
- uid string
- UUID.
- updated
At string - custom
Page stringId - UUID.
- account_
id str - Identifier.
- app_
count int - Number of apps the custom page is assigned to.
- created_
at str - custom_
html str - Custom page HTML.
- id str
- UUID.
- name str
- Custom page name.
- type str
- Custom page type. Available values: "identity_denied", "forbidden".
- uid str
- UUID.
- updated_
at str - custom_
page_ strid - UUID.
- account
Id String - Identifier.
- app
Count Number - Number of apps the custom page is assigned to.
- created
At String - custom
Html String - Custom page HTML.
- id String
- UUID.
- name String
- Custom page name.
- type String
- Custom page type. Available values: "identity_denied", "forbidden".
- uid String
- UUID.
- updated
At String - custom
Page StringId - UUID.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.