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

cloudflare.CloudforceOneRequestPriority

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 exampleCloudforceOneRequestPriority = new cloudflare.CloudforceOneRequestPriority("example_cloudforce_one_request_priority", {
        accountIdentifier: "023e105f4ecef8ad9ca31a8372d0c353",
        labels: [
            "DoS",
            "CVE",
        ],
        priority: 1,
        requirement: "DoS attacks carried out by CVEs",
        tlp: "clear",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_cloudforce_one_request_priority = cloudflare.CloudforceOneRequestPriority("example_cloudforce_one_request_priority",
        account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
        labels=[
            "DoS",
            "CVE",
        ],
        priority=1,
        requirement="DoS attacks carried out by CVEs",
        tlp="clear")
    
    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.NewCloudforceOneRequestPriority(ctx, "example_cloudforce_one_request_priority", &cloudflare.CloudforceOneRequestPriorityArgs{
    			AccountIdentifier: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
    			Labels: pulumi.StringArray{
    				pulumi.String("DoS"),
    				pulumi.String("CVE"),
    			},
    			Priority:    pulumi.Int(1),
    			Requirement: pulumi.String("DoS attacks carried out by CVEs"),
    			Tlp:         pulumi.String("clear"),
    		})
    		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 exampleCloudforceOneRequestPriority = new Cloudflare.CloudforceOneRequestPriority("example_cloudforce_one_request_priority", new()
        {
            AccountIdentifier = "023e105f4ecef8ad9ca31a8372d0c353",
            Labels = new[]
            {
                "DoS",
                "CVE",
            },
            Priority = 1,
            Requirement = "DoS attacks carried out by CVEs",
            Tlp = "clear",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CloudforceOneRequestPriority;
    import com.pulumi.cloudflare.CloudforceOneRequestPriorityArgs;
    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) {
            var exampleCloudforceOneRequestPriority = new CloudforceOneRequestPriority("exampleCloudforceOneRequestPriority", CloudforceOneRequestPriorityArgs.builder()
                .accountIdentifier("023e105f4ecef8ad9ca31a8372d0c353")
                .labels(            
                    "DoS",
                    "CVE")
                .priority(1)
                .requirement("DoS attacks carried out by CVEs")
                .tlp("clear")
                .build());
    
        }
    }
    
    resources:
      exampleCloudforceOneRequestPriority:
        type: cloudflare:CloudforceOneRequestPriority
        name: example_cloudforce_one_request_priority
        properties:
          accountIdentifier: 023e105f4ecef8ad9ca31a8372d0c353
          labels:
            - DoS
            - CVE
          priority: 1
          requirement: DoS attacks carried out by CVEs
          tlp: clear
    

    Create CloudforceOneRequestPriority Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CloudforceOneRequestPriority(name: string, args: CloudforceOneRequestPriorityArgs, opts?: CustomResourceOptions);
    @overload
    def CloudforceOneRequestPriority(resource_name: str,
                                     args: CloudforceOneRequestPriorityArgs,
                                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudforceOneRequestPriority(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     account_identifier: Optional[str] = None,
                                     labels: Optional[Sequence[str]] = None,
                                     priority: Optional[int] = None,
                                     requirement: Optional[str] = None,
                                     tlp: Optional[str] = None)
    func NewCloudforceOneRequestPriority(ctx *Context, name string, args CloudforceOneRequestPriorityArgs, opts ...ResourceOption) (*CloudforceOneRequestPriority, error)
    public CloudforceOneRequestPriority(string name, CloudforceOneRequestPriorityArgs args, CustomResourceOptions? opts = null)
    public CloudforceOneRequestPriority(String name, CloudforceOneRequestPriorityArgs args)
    public CloudforceOneRequestPriority(String name, CloudforceOneRequestPriorityArgs args, CustomResourceOptions options)
    
    type: cloudflare:CloudforceOneRequestPriority
    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 CloudforceOneRequestPriorityArgs
    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 CloudforceOneRequestPriorityArgs
    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 CloudforceOneRequestPriorityArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudforceOneRequestPriorityArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudforceOneRequestPriorityArgs
    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 cloudforceOneRequestPriorityResource = new Cloudflare.CloudforceOneRequestPriority("cloudforceOneRequestPriorityResource", new()
    {
        AccountIdentifier = "string",
        Labels = new[]
        {
            "string",
        },
        Priority = 0,
        Requirement = "string",
        Tlp = "string",
    });
    
    example, err := cloudflare.NewCloudforceOneRequestPriority(ctx, "cloudforceOneRequestPriorityResource", &cloudflare.CloudforceOneRequestPriorityArgs{
    	AccountIdentifier: pulumi.String("string"),
    	Labels: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Priority:    pulumi.Int(0),
    	Requirement: pulumi.String("string"),
    	Tlp:         pulumi.String("string"),
    })
    
    var cloudforceOneRequestPriorityResource = new CloudforceOneRequestPriority("cloudforceOneRequestPriorityResource", CloudforceOneRequestPriorityArgs.builder()
        .accountIdentifier("string")
        .labels("string")
        .priority(0)
        .requirement("string")
        .tlp("string")
        .build());
    
    cloudforce_one_request_priority_resource = cloudflare.CloudforceOneRequestPriority("cloudforceOneRequestPriorityResource",
        account_identifier="string",
        labels=["string"],
        priority=0,
        requirement="string",
        tlp="string")
    
    const cloudforceOneRequestPriorityResource = new cloudflare.CloudforceOneRequestPriority("cloudforceOneRequestPriorityResource", {
        accountIdentifier: "string",
        labels: ["string"],
        priority: 0,
        requirement: "string",
        tlp: "string",
    });
    
    type: cloudflare:CloudforceOneRequestPriority
    properties:
        accountIdentifier: string
        labels:
            - string
        priority: 0
        requirement: string
        tlp: string
    

    CloudforceOneRequestPriority 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 CloudforceOneRequestPriority resource accepts the following input properties:

    AccountIdentifier string
    Identifier
    Labels List<string>
    List of labels
    Priority int
    Priority
    Requirement string
    Requirement
    Tlp string
    The CISA defined Traffic Light Protocol (TLP) Available values: "clear", "amber", "amber-strict", "green", "red".
    AccountIdentifier string
    Identifier
    Labels []string
    List of labels
    Priority int
    Priority
    Requirement string
    Requirement
    Tlp string
    The CISA defined Traffic Light Protocol (TLP) Available values: "clear", "amber", "amber-strict", "green", "red".
    accountIdentifier String
    Identifier
    labels List<String>
    List of labels
    priority Integer
    Priority
    requirement String
    Requirement
    tlp String
    The CISA defined Traffic Light Protocol (TLP) Available values: "clear", "amber", "amber-strict", "green", "red".
    accountIdentifier string
    Identifier
    labels string[]
    List of labels
    priority number
    Priority
    requirement string
    Requirement
    tlp string
    The CISA defined Traffic Light Protocol (TLP) Available values: "clear", "amber", "amber-strict", "green", "red".
    account_identifier str
    Identifier
    labels Sequence[str]
    List of labels
    priority int
    Priority
    requirement str
    Requirement
    tlp str
    The CISA defined Traffic Light Protocol (TLP) Available values: "clear", "amber", "amber-strict", "green", "red".
    accountIdentifier String
    Identifier
    labels List<String>
    List of labels
    priority Number
    Priority
    requirement String
    Requirement
    tlp String
    The CISA defined Traffic Light Protocol (TLP) Available values: "clear", "amber", "amber-strict", "green", "red".

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CloudforceOneRequestPriority resource produces the following output properties:

    Completed string
    Content string
    Request content
    Created string
    Id string
    The provider-assigned unique ID for this managed resource.
    MessageTokens int
    Tokens for the request messages
    ReadableId string
    Readable Request ID
    Request string
    Requested information from request
    Status string
    Request Status Available values: "open", "accepted", "reported", "approved", "completed", "declined".
    Summary string
    Brief description of the request
    Tokens int
    Tokens for the request
    Updated string
    Completed string
    Content string
    Request content
    Created string
    Id string
    The provider-assigned unique ID for this managed resource.
    MessageTokens int
    Tokens for the request messages
    ReadableId string
    Readable Request ID
    Request string
    Requested information from request
    Status string
    Request Status Available values: "open", "accepted", "reported", "approved", "completed", "declined".
    Summary string
    Brief description of the request
    Tokens int
    Tokens for the request
    Updated string
    completed String
    content String
    Request content
    created String
    id String
    The provider-assigned unique ID for this managed resource.
    messageTokens Integer
    Tokens for the request messages
    readableId String
    Readable Request ID
    request String
    Requested information from request
    status String
    Request Status Available values: "open", "accepted", "reported", "approved", "completed", "declined".
    summary String
    Brief description of the request
    tokens Integer
    Tokens for the request
    updated String
    completed string
    content string
    Request content
    created string
    id string
    The provider-assigned unique ID for this managed resource.
    messageTokens number
    Tokens for the request messages
    readableId string
    Readable Request ID
    request string
    Requested information from request
    status string
    Request Status Available values: "open", "accepted", "reported", "approved", "completed", "declined".
    summary string
    Brief description of the request
    tokens number
    Tokens for the request
    updated string
    completed str
    content str
    Request content
    created str
    id str
    The provider-assigned unique ID for this managed resource.
    message_tokens int
    Tokens for the request messages
    readable_id str
    Readable Request ID
    request str
    Requested information from request
    status str
    Request Status Available values: "open", "accepted", "reported", "approved", "completed", "declined".
    summary str
    Brief description of the request
    tokens int
    Tokens for the request
    updated str
    completed String
    content String
    Request content
    created String
    id String
    The provider-assigned unique ID for this managed resource.
    messageTokens Number
    Tokens for the request messages
    readableId String
    Readable Request ID
    request String
    Requested information from request
    status String
    Request Status Available values: "open", "accepted", "reported", "approved", "completed", "declined".
    summary String
    Brief description of the request
    tokens Number
    Tokens for the request
    updated String

    Look up Existing CloudforceOneRequestPriority Resource

    Get an existing CloudforceOneRequestPriority 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?: CloudforceOneRequestPriorityState, opts?: CustomResourceOptions): CloudforceOneRequestPriority
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_identifier: Optional[str] = None,
            completed: Optional[str] = None,
            content: Optional[str] = None,
            created: Optional[str] = None,
            labels: Optional[Sequence[str]] = None,
            message_tokens: Optional[int] = None,
            priority: Optional[int] = None,
            readable_id: Optional[str] = None,
            request: Optional[str] = None,
            requirement: Optional[str] = None,
            status: Optional[str] = None,
            summary: Optional[str] = None,
            tlp: Optional[str] = None,
            tokens: Optional[int] = None,
            updated: Optional[str] = None) -> CloudforceOneRequestPriority
    func GetCloudforceOneRequestPriority(ctx *Context, name string, id IDInput, state *CloudforceOneRequestPriorityState, opts ...ResourceOption) (*CloudforceOneRequestPriority, error)
    public static CloudforceOneRequestPriority Get(string name, Input<string> id, CloudforceOneRequestPriorityState? state, CustomResourceOptions? opts = null)
    public static CloudforceOneRequestPriority get(String name, Output<String> id, CloudforceOneRequestPriorityState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:CloudforceOneRequestPriority    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.
    The following state arguments are supported:
    AccountIdentifier string
    Identifier
    Completed string
    Content string
    Request content
    Created string
    Labels List<string>
    List of labels
    MessageTokens int
    Tokens for the request messages
    Priority int
    Priority
    ReadableId string
    Readable Request ID
    Request string
    Requested information from request
    Requirement string
    Requirement
    Status string
    Request Status Available values: "open", "accepted", "reported", "approved", "completed", "declined".
    Summary string
    Brief description of the request
    Tlp string
    The CISA defined Traffic Light Protocol (TLP) Available values: "clear", "amber", "amber-strict", "green", "red".
    Tokens int
    Tokens for the request
    Updated string
    AccountIdentifier string
    Identifier
    Completed string
    Content string
    Request content
    Created string
    Labels []string
    List of labels
    MessageTokens int
    Tokens for the request messages
    Priority int
    Priority
    ReadableId string
    Readable Request ID
    Request string
    Requested information from request
    Requirement string
    Requirement
    Status string
    Request Status Available values: "open", "accepted", "reported", "approved", "completed", "declined".
    Summary string
    Brief description of the request
    Tlp string
    The CISA defined Traffic Light Protocol (TLP) Available values: "clear", "amber", "amber-strict", "green", "red".
    Tokens int
    Tokens for the request
    Updated string
    accountIdentifier String
    Identifier
    completed String
    content String
    Request content
    created String
    labels List<String>
    List of labels
    messageTokens Integer
    Tokens for the request messages
    priority Integer
    Priority
    readableId String
    Readable Request ID
    request String
    Requested information from request
    requirement String
    Requirement
    status String
    Request Status Available values: "open", "accepted", "reported", "approved", "completed", "declined".
    summary String
    Brief description of the request
    tlp String
    The CISA defined Traffic Light Protocol (TLP) Available values: "clear", "amber", "amber-strict", "green", "red".
    tokens Integer
    Tokens for the request
    updated String
    accountIdentifier string
    Identifier
    completed string
    content string
    Request content
    created string
    labels string[]
    List of labels
    messageTokens number
    Tokens for the request messages
    priority number
    Priority
    readableId string
    Readable Request ID
    request string
    Requested information from request
    requirement string
    Requirement
    status string
    Request Status Available values: "open", "accepted", "reported", "approved", "completed", "declined".
    summary string
    Brief description of the request
    tlp string
    The CISA defined Traffic Light Protocol (TLP) Available values: "clear", "amber", "amber-strict", "green", "red".
    tokens number
    Tokens for the request
    updated string
    account_identifier str
    Identifier
    completed str
    content str
    Request content
    created str
    labels Sequence[str]
    List of labels
    message_tokens int
    Tokens for the request messages
    priority int
    Priority
    readable_id str
    Readable Request ID
    request str
    Requested information from request
    requirement str
    Requirement
    status str
    Request Status Available values: "open", "accepted", "reported", "approved", "completed", "declined".
    summary str
    Brief description of the request
    tlp str
    The CISA defined Traffic Light Protocol (TLP) Available values: "clear", "amber", "amber-strict", "green", "red".
    tokens int
    Tokens for the request
    updated str
    accountIdentifier String
    Identifier
    completed String
    content String
    Request content
    created String
    labels List<String>
    List of labels
    messageTokens Number
    Tokens for the request messages
    priority Number
    Priority
    readableId String
    Readable Request ID
    request String
    Requested information from request
    requirement String
    Requirement
    status String
    Request Status Available values: "open", "accepted", "reported", "approved", "completed", "declined".
    summary String
    Brief description of the request
    tlp String
    The CISA defined Traffic Light Protocol (TLP) Available values: "clear", "amber", "amber-strict", "green", "red".
    tokens Number
    Tokens for the request
    updated String

    Import

    $ pulumi import cloudflare:index/cloudforceOneRequestPriority:CloudforceOneRequestPriority example '<account_identifier>/<priority_identifer>'
    

    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.
    cloudflare logo
    Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi