cloudflare.ZeroTrustAccessTag
Explore with Pulumi AI
Provides a resource to customize the pages your end users will see when trying to reach applications behind Cloudflare Access.
Create ZeroTrustAccessTag Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ZeroTrustAccessTag(name: string, args: ZeroTrustAccessTagArgs, opts?: CustomResourceOptions);@overload
def ZeroTrustAccessTag(resource_name: str,
                       args: ZeroTrustAccessTagArgs,
                       opts: Optional[ResourceOptions] = None)
@overload
def ZeroTrustAccessTag(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       name: Optional[str] = None,
                       account_id: Optional[str] = None,
                       app_count: Optional[int] = None,
                       zone_id: Optional[str] = None)func NewZeroTrustAccessTag(ctx *Context, name string, args ZeroTrustAccessTagArgs, opts ...ResourceOption) (*ZeroTrustAccessTag, error)public ZeroTrustAccessTag(string name, ZeroTrustAccessTagArgs args, CustomResourceOptions? opts = null)
public ZeroTrustAccessTag(String name, ZeroTrustAccessTagArgs args)
public ZeroTrustAccessTag(String name, ZeroTrustAccessTagArgs args, CustomResourceOptions options)
type: cloudflare:ZeroTrustAccessTag
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 ZeroTrustAccessTagArgs
- 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 ZeroTrustAccessTagArgs
- 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 ZeroTrustAccessTagArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ZeroTrustAccessTagArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ZeroTrustAccessTagArgs
- 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 zeroTrustAccessTagResource = new Cloudflare.ZeroTrustAccessTag("zeroTrustAccessTagResource", new()
{
    Name = "string",
    AccountId = "string",
    AppCount = 0,
    ZoneId = "string",
});
example, err := cloudflare.NewZeroTrustAccessTag(ctx, "zeroTrustAccessTagResource", &cloudflare.ZeroTrustAccessTagArgs{
	Name:      pulumi.String("string"),
	AccountId: pulumi.String("string"),
	AppCount:  pulumi.Int(0),
	ZoneId:    pulumi.String("string"),
})
var zeroTrustAccessTagResource = new ZeroTrustAccessTag("zeroTrustAccessTagResource", ZeroTrustAccessTagArgs.builder()
    .name("string")
    .accountId("string")
    .appCount(0)
    .zoneId("string")
    .build());
zero_trust_access_tag_resource = cloudflare.ZeroTrustAccessTag("zeroTrustAccessTagResource",
    name="string",
    account_id="string",
    app_count=0,
    zone_id="string")
const zeroTrustAccessTagResource = new cloudflare.ZeroTrustAccessTag("zeroTrustAccessTagResource", {
    name: "string",
    accountId: "string",
    appCount: 0,
    zoneId: "string",
});
type: cloudflare:ZeroTrustAccessTag
properties:
    accountId: string
    appCount: 0
    name: string
    zoneId: string
ZeroTrustAccessTag 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 ZeroTrustAccessTag resource accepts the following input properties:
- Name string
- Friendly name of the Access Tag.
- AccountId string
- The account identifier to target for the resource. Conflicts with zone_id. Modifying this attribute will force creation of a new resource.
- AppCount int
- Number of apps associated with the tag.
- ZoneId string
- The zone identifier to target for the resource. Conflicts with account_id. Modifying this attribute will force creation of a new resource.
- Name string
- Friendly name of the Access Tag.
- AccountId string
- The account identifier to target for the resource. Conflicts with zone_id. Modifying this attribute will force creation of a new resource.
- AppCount int
- Number of apps associated with the tag.
- ZoneId string
- The zone identifier to target for the resource. Conflicts with account_id. Modifying this attribute will force creation of a new resource.
- name String
- Friendly name of the Access Tag.
- accountId String
- The account identifier to target for the resource. Conflicts with zone_id. Modifying this attribute will force creation of a new resource.
- appCount Integer
- Number of apps associated with the tag.
- zoneId String
- The zone identifier to target for the resource. Conflicts with account_id. Modifying this attribute will force creation of a new resource.
- name string
- Friendly name of the Access Tag.
- accountId string
- The account identifier to target for the resource. Conflicts with zone_id. Modifying this attribute will force creation of a new resource.
- appCount number
- Number of apps associated with the tag.
- zoneId string
- The zone identifier to target for the resource. Conflicts with account_id. Modifying this attribute will force creation of a new resource.
- name str
- Friendly name of the Access Tag.
- account_id str
- The account identifier to target for the resource. Conflicts with zone_id. Modifying this attribute will force creation of a new resource.
- app_count int
- Number of apps associated with the tag.
- zone_id str
- The zone identifier to target for the resource. Conflicts with account_id. Modifying this attribute will force creation of a new resource.
- name String
- Friendly name of the Access Tag.
- accountId String
- The account identifier to target for the resource. Conflicts with zone_id. Modifying this attribute will force creation of a new resource.
- appCount Number
- Number of apps associated with the tag.
- zoneId String
- The zone identifier to target for the resource. Conflicts with account_id. Modifying this attribute will force creation of a new resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ZeroTrustAccessTag resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ZeroTrustAccessTag Resource
Get an existing ZeroTrustAccessTag 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?: ZeroTrustAccessTagState, opts?: CustomResourceOptions): ZeroTrustAccessTag@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[str] = None,
        app_count: Optional[int] = None,
        name: Optional[str] = None,
        zone_id: Optional[str] = None) -> ZeroTrustAccessTagfunc GetZeroTrustAccessTag(ctx *Context, name string, id IDInput, state *ZeroTrustAccessTagState, opts ...ResourceOption) (*ZeroTrustAccessTag, error)public static ZeroTrustAccessTag Get(string name, Input<string> id, ZeroTrustAccessTagState? state, CustomResourceOptions? opts = null)public static ZeroTrustAccessTag get(String name, Output<String> id, ZeroTrustAccessTagState state, CustomResourceOptions options)resources:  _:    type: cloudflare:ZeroTrustAccessTag    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.
- AccountId string
- The account identifier to target for the resource. Conflicts with zone_id. Modifying this attribute will force creation of a new resource.
- AppCount int
- Number of apps associated with the tag.
- Name string
- Friendly name of the Access Tag.
- ZoneId string
- The zone identifier to target for the resource. Conflicts with account_id. Modifying this attribute will force creation of a new resource.
- AccountId string
- The account identifier to target for the resource. Conflicts with zone_id. Modifying this attribute will force creation of a new resource.
- AppCount int
- Number of apps associated with the tag.
- Name string
- Friendly name of the Access Tag.
- ZoneId string
- The zone identifier to target for the resource. Conflicts with account_id. Modifying this attribute will force creation of a new resource.
- accountId String
- The account identifier to target for the resource. Conflicts with zone_id. Modifying this attribute will force creation of a new resource.
- appCount Integer
- Number of apps associated with the tag.
- name String
- Friendly name of the Access Tag.
- zoneId String
- The zone identifier to target for the resource. Conflicts with account_id. Modifying this attribute will force creation of a new resource.
- accountId string
- The account identifier to target for the resource. Conflicts with zone_id. Modifying this attribute will force creation of a new resource.
- appCount number
- Number of apps associated with the tag.
- name string
- Friendly name of the Access Tag.
- zoneId string
- The zone identifier to target for the resource. Conflicts with account_id. Modifying this attribute will force creation of a new resource.
- account_id str
- The account identifier to target for the resource. Conflicts with zone_id. Modifying this attribute will force creation of a new resource.
- app_count int
- Number of apps associated with the tag.
- name str
- Friendly name of the Access Tag.
- zone_id str
- The zone identifier to target for the resource. Conflicts with account_id. Modifying this attribute will force creation of a new resource.
- accountId String
- The account identifier to target for the resource. Conflicts with zone_id. Modifying this attribute will force creation of a new resource.
- appCount Number
- Number of apps associated with the tag.
- name String
- Friendly name of the Access Tag.
- zoneId String
- The zone identifier to target for the resource. Conflicts with account_id. Modifying this attribute will force creation of a new resource.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the cloudflareTerraform Provider.