cloudflare.ZeroTrustAccessCustomPage
Explore with Pulumi AI
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
exampleZeroTrustAccessCustomPage:
type: cloudflare:ZeroTrustAccessCustomPage
name: example_zero_trust_access_custom_page
properties:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
customHtml: <html><body><h1>Access Denied</h1></body></html>
name: name
type: identity_denied
appCount: 0
Create ZeroTrustAccessCustomPage Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ZeroTrustAccessCustomPage(name: string, args: ZeroTrustAccessCustomPageArgs, opts?: CustomResourceOptions);
@overload
def ZeroTrustAccessCustomPage(resource_name: str,
args: ZeroTrustAccessCustomPageArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ZeroTrustAccessCustomPage(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
custom_html: Optional[str] = None,
name: Optional[str] = None,
type: Optional[str] = None)
func NewZeroTrustAccessCustomPage(ctx *Context, name string, args ZeroTrustAccessCustomPageArgs, opts ...ResourceOption) (*ZeroTrustAccessCustomPage, error)
public ZeroTrustAccessCustomPage(string name, ZeroTrustAccessCustomPageArgs args, CustomResourceOptions? opts = null)
public ZeroTrustAccessCustomPage(String name, ZeroTrustAccessCustomPageArgs args)
public ZeroTrustAccessCustomPage(String name, ZeroTrustAccessCustomPageArgs args, CustomResourceOptions options)
type: cloudflare:ZeroTrustAccessCustomPage
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ZeroTrustAccessCustomPageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ZeroTrustAccessCustomPageArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ZeroTrustAccessCustomPageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ZeroTrustAccessCustomPageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ZeroTrustAccessCustomPageArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var zeroTrustAccessCustomPageResource = new Cloudflare.ZeroTrustAccessCustomPage("zeroTrustAccessCustomPageResource", new()
{
AccountId = "string",
CustomHtml = "string",
Name = "string",
Type = "string",
});
example, err := cloudflare.NewZeroTrustAccessCustomPage(ctx, "zeroTrustAccessCustomPageResource", &cloudflare.ZeroTrustAccessCustomPageArgs{
AccountId: pulumi.String("string"),
CustomHtml: pulumi.String("string"),
Name: pulumi.String("string"),
Type: pulumi.String("string"),
})
var zeroTrustAccessCustomPageResource = new ZeroTrustAccessCustomPage("zeroTrustAccessCustomPageResource", ZeroTrustAccessCustomPageArgs.builder()
.accountId("string")
.customHtml("string")
.name("string")
.type("string")
.build());
zero_trust_access_custom_page_resource = cloudflare.ZeroTrustAccessCustomPage("zeroTrustAccessCustomPageResource",
account_id="string",
custom_html="string",
name="string",
type="string")
const zeroTrustAccessCustomPageResource = new cloudflare.ZeroTrustAccessCustomPage("zeroTrustAccessCustomPageResource", {
accountId: "string",
customHtml: "string",
name: "string",
type: "string",
});
type: cloudflare:ZeroTrustAccessCustomPage
properties:
accountId: string
customHtml: string
name: string
type: string
ZeroTrustAccessCustomPage Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ZeroTrustAccessCustomPage resource accepts the following input properties:
- Account
Id string - Identifier.
- Custom
Html string - Custom page HTML.
- Name string
- Custom page name.
- Type string
- Custom page type. Available values: "identity_denied", "forbidden".
- Account
Id string - Identifier.
- Custom
Html string - Custom page HTML.
- Name string
- Custom page name.
- Type string
- Custom page type. Available values: "identity_denied", "forbidden".
- account
Id String - Identifier.
- custom
Html String - Custom page HTML.
- name String
- Custom page name.
- type String
- Custom page type. Available values: "identity_denied", "forbidden".
- account
Id string - Identifier.
- custom
Html string - Custom page HTML.
- name string
- Custom page name.
- type string
- Custom page type. Available values: "identity_denied", "forbidden".
- account_
id str - Identifier.
- custom_
html str - Custom page HTML.
- name str
- Custom page name.
- type str
- Custom page type. Available values: "identity_denied", "forbidden".
- account
Id String - Identifier.
- custom
Html String - Custom page HTML.
- name String
- Custom page name.
- type String
- Custom page type. Available values: "identity_denied", "forbidden".
Outputs
All input properties are implicitly available as output properties. Additionally, the ZeroTrustAccessCustomPage resource produces the following output properties:
Look up Existing ZeroTrustAccessCustomPage Resource
Get an existing ZeroTrustAccessCustomPage resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ZeroTrustAccessCustomPageState, opts?: CustomResourceOptions): ZeroTrustAccessCustomPage
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
custom_html: Optional[str] = None,
name: Optional[str] = None,
type: Optional[str] = None,
uid: Optional[str] = None) -> ZeroTrustAccessCustomPage
func GetZeroTrustAccessCustomPage(ctx *Context, name string, id IDInput, state *ZeroTrustAccessCustomPageState, opts ...ResourceOption) (*ZeroTrustAccessCustomPage, error)
public static ZeroTrustAccessCustomPage Get(string name, Input<string> id, ZeroTrustAccessCustomPageState? state, CustomResourceOptions? opts = null)
public static ZeroTrustAccessCustomPage get(String name, Output<String> id, ZeroTrustAccessCustomPageState state, CustomResourceOptions options)
resources: _: type: cloudflare:ZeroTrustAccessCustomPage get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - Identifier.
- Custom
Html string - Custom page HTML.
- Name string
- Custom page name.
- Type string
- Custom page type. Available values: "identity_denied", "forbidden".
- Uid string
- UUID.
- Account
Id string - Identifier.
- Custom
Html string - Custom page HTML.
- Name string
- Custom page name.
- Type string
- Custom page type. Available values: "identity_denied", "forbidden".
- Uid string
- UUID.
- account
Id String - Identifier.
- custom
Html String - Custom page HTML.
- name String
- Custom page name.
- type String
- Custom page type. Available values: "identity_denied", "forbidden".
- uid String
- UUID.
- account
Id string - Identifier.
- custom
Html string - Custom page HTML.
- name string
- Custom page name.
- type string
- Custom page type. Available values: "identity_denied", "forbidden".
- uid string
- UUID.
- account_
id str - Identifier.
- custom_
html str - Custom page HTML.
- name str
- Custom page name.
- type str
- Custom page type. Available values: "identity_denied", "forbidden".
- uid str
- UUID.
- account
Id String - Identifier.
- custom
Html String - Custom page HTML.
- name String
- Custom page name.
- type String
- Custom page type. Available values: "identity_denied", "forbidden".
- uid String
- UUID.
Import
$ pulumi import cloudflare:index/zeroTrustAccessCustomPage:ZeroTrustAccessCustomPage example '<account_id>/<custom_page_id>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.