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

cloudflare.CloudforceOneRequest

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 exampleCloudforceOneRequest = new cloudflare.CloudforceOneRequest("example_cloudforce_one_request", {
        accountIdentifier: "023e105f4ecef8ad9ca31a8372d0c353",
        content: "What regions were most effected by the recent DoS?",
        priority: "routine",
        requestType: "Victomology",
        summary: "DoS attack",
        tlp: "clear",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_cloudforce_one_request = cloudflare.CloudforceOneRequest("example_cloudforce_one_request",
        account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
        content="What regions were most effected by the recent DoS?",
        priority="routine",
        request_type="Victomology",
        summary="DoS attack",
        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.NewCloudforceOneRequest(ctx, "example_cloudforce_one_request", &cloudflare.CloudforceOneRequestArgs{
    			AccountIdentifier: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
    			Content:           pulumi.String("What regions were most effected by the recent DoS?"),
    			Priority:          pulumi.String("routine"),
    			RequestType:       pulumi.String("Victomology"),
    			Summary:           pulumi.String("DoS attack"),
    			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 exampleCloudforceOneRequest = new Cloudflare.CloudforceOneRequest("example_cloudforce_one_request", new()
        {
            AccountIdentifier = "023e105f4ecef8ad9ca31a8372d0c353",
            Content = "What regions were most effected by the recent DoS?",
            Priority = "routine",
            RequestType = "Victomology",
            Summary = "DoS attack",
            Tlp = "clear",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CloudforceOneRequest;
    import com.pulumi.cloudflare.CloudforceOneRequestArgs;
    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 exampleCloudforceOneRequest = new CloudforceOneRequest("exampleCloudforceOneRequest", CloudforceOneRequestArgs.builder()
                .accountIdentifier("023e105f4ecef8ad9ca31a8372d0c353")
                .content("What regions were most effected by the recent DoS?")
                .priority("routine")
                .requestType("Victomology")
                .summary("DoS attack")
                .tlp("clear")
                .build());
    
        }
    }
    
    resources:
      exampleCloudforceOneRequest:
        type: cloudflare:CloudforceOneRequest
        name: example_cloudforce_one_request
        properties:
          accountIdentifier: 023e105f4ecef8ad9ca31a8372d0c353
          content: What regions were most effected by the recent DoS?
          priority: routine
          requestType: Victomology
          summary: DoS attack
          tlp: clear
    

    Create CloudforceOneRequest Resource

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

    Constructor syntax

    new CloudforceOneRequest(name: string, args: CloudforceOneRequestArgs, opts?: CustomResourceOptions);
    @overload
    def CloudforceOneRequest(resource_name: str,
                             args: CloudforceOneRequestArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudforceOneRequest(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             account_identifier: Optional[str] = None,
                             content: Optional[str] = None,
                             priority: Optional[str] = None,
                             request_type: Optional[str] = None,
                             summary: Optional[str] = None,
                             tlp: Optional[str] = None)
    func NewCloudforceOneRequest(ctx *Context, name string, args CloudforceOneRequestArgs, opts ...ResourceOption) (*CloudforceOneRequest, error)
    public CloudforceOneRequest(string name, CloudforceOneRequestArgs args, CustomResourceOptions? opts = null)
    public CloudforceOneRequest(String name, CloudforceOneRequestArgs args)
    public CloudforceOneRequest(String name, CloudforceOneRequestArgs args, CustomResourceOptions options)
    
    type: cloudflare:CloudforceOneRequest
    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 CloudforceOneRequestArgs
    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 CloudforceOneRequestArgs
    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 CloudforceOneRequestArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudforceOneRequestArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudforceOneRequestArgs
    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 cloudforceOneRequestResource = new Cloudflare.CloudforceOneRequest("cloudforceOneRequestResource", new()
    {
        AccountIdentifier = "string",
        Content = "string",
        Priority = "string",
        RequestType = "string",
        Summary = "string",
        Tlp = "string",
    });
    
    example, err := cloudflare.NewCloudforceOneRequest(ctx, "cloudforceOneRequestResource", &cloudflare.CloudforceOneRequestArgs{
    	AccountIdentifier: pulumi.String("string"),
    	Content:           pulumi.String("string"),
    	Priority:          pulumi.String("string"),
    	RequestType:       pulumi.String("string"),
    	Summary:           pulumi.String("string"),
    	Tlp:               pulumi.String("string"),
    })
    
    var cloudforceOneRequestResource = new CloudforceOneRequest("cloudforceOneRequestResource", CloudforceOneRequestArgs.builder()
        .accountIdentifier("string")
        .content("string")
        .priority("string")
        .requestType("string")
        .summary("string")
        .tlp("string")
        .build());
    
    cloudforce_one_request_resource = cloudflare.CloudforceOneRequest("cloudforceOneRequestResource",
        account_identifier="string",
        content="string",
        priority="string",
        request_type="string",
        summary="string",
        tlp="string")
    
    const cloudforceOneRequestResource = new cloudflare.CloudforceOneRequest("cloudforceOneRequestResource", {
        accountIdentifier: "string",
        content: "string",
        priority: "string",
        requestType: "string",
        summary: "string",
        tlp: "string",
    });
    
    type: cloudflare:CloudforceOneRequest
    properties:
        accountIdentifier: string
        content: string
        priority: string
        requestType: string
        summary: string
        tlp: string
    

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

    AccountIdentifier string
    Identifier
    Content string
    Request content
    Priority string
    Priority for analyzing the request
    RequestType string
    Requested information from request
    Summary string
    Brief description of the request
    Tlp string
    The CISA defined Traffic Light Protocol (TLP) Available values: "clear", "amber", "amber-strict", "green", "red".
    AccountIdentifier string
    Identifier
    Content string
    Request content
    Priority string
    Priority for analyzing the request
    RequestType string
    Requested information from request
    Summary string
    Brief description of the request
    Tlp string
    The CISA defined Traffic Light Protocol (TLP) Available values: "clear", "amber", "amber-strict", "green", "red".
    accountIdentifier String
    Identifier
    content String
    Request content
    priority String
    Priority for analyzing the request
    requestType String
    Requested information from request
    summary String
    Brief description of the request
    tlp String
    The CISA defined Traffic Light Protocol (TLP) Available values: "clear", "amber", "amber-strict", "green", "red".
    accountIdentifier string
    Identifier
    content string
    Request content
    priority string
    Priority for analyzing the request
    requestType string
    Requested information from request
    summary string
    Brief description of the request
    tlp string
    The CISA defined Traffic Light Protocol (TLP) Available values: "clear", "amber", "amber-strict", "green", "red".
    account_identifier str
    Identifier
    content str
    Request content
    priority str
    Priority for analyzing the request
    request_type str
    Requested information from request
    summary str
    Brief description of the request
    tlp str
    The CISA defined Traffic Light Protocol (TLP) Available values: "clear", "amber", "amber-strict", "green", "red".
    accountIdentifier String
    Identifier
    content String
    Request content
    priority String
    Priority for analyzing the request
    requestType String
    Requested information from request
    summary String
    Brief description of the request
    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 CloudforceOneRequest resource produces the following output properties:

    Completed string
    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".
    Tokens int
    Tokens for the request
    Updated string
    Completed string
    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".
    Tokens int
    Tokens for the request
    Updated string
    completed String
    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".
    tokens Integer
    Tokens for the request
    updated String
    completed string
    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".
    tokens number
    Tokens for the request
    updated string
    completed str
    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".
    tokens int
    Tokens for the request
    updated str
    completed String
    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".
    tokens Number
    Tokens for the request
    updated String

    Look up Existing CloudforceOneRequest Resource

    Get an existing CloudforceOneRequest 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?: CloudforceOneRequestState, opts?: CustomResourceOptions): CloudforceOneRequest
    @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,
            message_tokens: Optional[int] = None,
            priority: Optional[str] = None,
            readable_id: Optional[str] = None,
            request: Optional[str] = None,
            request_type: Optional[str] = None,
            status: Optional[str] = None,
            summary: Optional[str] = None,
            tlp: Optional[str] = None,
            tokens: Optional[int] = None,
            updated: Optional[str] = None) -> CloudforceOneRequest
    func GetCloudforceOneRequest(ctx *Context, name string, id IDInput, state *CloudforceOneRequestState, opts ...ResourceOption) (*CloudforceOneRequest, error)
    public static CloudforceOneRequest Get(string name, Input<string> id, CloudforceOneRequestState? state, CustomResourceOptions? opts = null)
    public static CloudforceOneRequest get(String name, Output<String> id, CloudforceOneRequestState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:CloudforceOneRequest    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
    MessageTokens int
    Tokens for the request messages
    Priority string
    Priority for analyzing the request
    ReadableId string
    Readable Request ID
    Request string
    Requested information from request
    RequestType string
    Requested information from request
    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
    MessageTokens int
    Tokens for the request messages
    Priority string
    Priority for analyzing the request
    ReadableId string
    Readable Request ID
    Request string
    Requested information from request
    RequestType string
    Requested information from request
    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
    messageTokens Integer
    Tokens for the request messages
    priority String
    Priority for analyzing the request
    readableId String
    Readable Request ID
    request String
    Requested information from request
    requestType String
    Requested information from request
    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
    messageTokens number
    Tokens for the request messages
    priority string
    Priority for analyzing the request
    readableId string
    Readable Request ID
    request string
    Requested information from request
    requestType string
    Requested information from request
    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
    message_tokens int
    Tokens for the request messages
    priority str
    Priority for analyzing the request
    readable_id str
    Readable Request ID
    request str
    Requested information from request
    request_type str
    Requested information from request
    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
    messageTokens Number
    Tokens for the request messages
    priority String
    Priority for analyzing the request
    readableId String
    Readable Request ID
    request String
    Requested information from request
    requestType String
    Requested information from request
    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/cloudforceOneRequest:CloudforceOneRequest example '<account_identifier>/<request_identifier>'
    

    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