1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. CloudforceOneRequestMessage
Cloudflare v6.3.0 published on Tuesday, Jun 10, 2025 by Pulumi

cloudflare.CloudforceOneRequestMessage

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.3.0 published on Tuesday, Jun 10, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleCloudforceOneRequestMessage = new cloudflare.CloudforceOneRequestMessage("example_cloudforce_one_request_message", {
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        requestId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
        content: "Can you elaborate on the type of DoS that occurred?",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_cloudforce_one_request_message = cloudflare.CloudforceOneRequestMessage("example_cloudforce_one_request_message",
        account_id="023e105f4ecef8ad9ca31a8372d0c353",
        request_id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
        content="Can you elaborate on the type of DoS that occurred?")
    
    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.NewCloudforceOneRequestMessage(ctx, "example_cloudforce_one_request_message", &cloudflare.CloudforceOneRequestMessageArgs{
    			AccountId: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
    			RequestId: pulumi.String("f174e90a-fafe-4643-bbbc-4a0ed4fc8415"),
    			Content:   pulumi.String("Can you elaborate on the type of DoS that occurred?"),
    		})
    		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 exampleCloudforceOneRequestMessage = new Cloudflare.CloudforceOneRequestMessage("example_cloudforce_one_request_message", new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            RequestId = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
            Content = "Can you elaborate on the type of DoS that occurred?",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CloudforceOneRequestMessage;
    import com.pulumi.cloudflare.CloudforceOneRequestMessageArgs;
    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 exampleCloudforceOneRequestMessage = new CloudforceOneRequestMessage("exampleCloudforceOneRequestMessage", CloudforceOneRequestMessageArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .requestId("f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
                .content("Can you elaborate on the type of DoS that occurred?")
                .build());
    
        }
    }
    
    resources:
      exampleCloudforceOneRequestMessage:
        type: cloudflare:CloudforceOneRequestMessage
        name: example_cloudforce_one_request_message
        properties:
          accountId: 023e105f4ecef8ad9ca31a8372d0c353
          requestId: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
          content: Can you elaborate on the type of DoS that occurred?
    

    Create CloudforceOneRequestMessage Resource

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

    Constructor syntax

    new CloudforceOneRequestMessage(name: string, args: CloudforceOneRequestMessageArgs, opts?: CustomResourceOptions);
    @overload
    def CloudforceOneRequestMessage(resource_name: str,
                                    args: CloudforceOneRequestMessageArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudforceOneRequestMessage(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    account_id: Optional[str] = None,
                                    request_id: Optional[str] = None,
                                    content: Optional[str] = None)
    func NewCloudforceOneRequestMessage(ctx *Context, name string, args CloudforceOneRequestMessageArgs, opts ...ResourceOption) (*CloudforceOneRequestMessage, error)
    public CloudforceOneRequestMessage(string name, CloudforceOneRequestMessageArgs args, CustomResourceOptions? opts = null)
    public CloudforceOneRequestMessage(String name, CloudforceOneRequestMessageArgs args)
    public CloudforceOneRequestMessage(String name, CloudforceOneRequestMessageArgs args, CustomResourceOptions options)
    
    type: cloudflare:CloudforceOneRequestMessage
    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 CloudforceOneRequestMessageArgs
    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 CloudforceOneRequestMessageArgs
    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 CloudforceOneRequestMessageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudforceOneRequestMessageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudforceOneRequestMessageArgs
    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 cloudforceOneRequestMessageResource = new Cloudflare.CloudforceOneRequestMessage("cloudforceOneRequestMessageResource", new()
    {
        AccountId = "string",
        RequestId = "string",
        Content = "string",
    });
    
    example, err := cloudflare.NewCloudforceOneRequestMessage(ctx, "cloudforceOneRequestMessageResource", &cloudflare.CloudforceOneRequestMessageArgs{
    	AccountId: pulumi.String("string"),
    	RequestId: pulumi.String("string"),
    	Content:   pulumi.String("string"),
    })
    
    var cloudforceOneRequestMessageResource = new CloudforceOneRequestMessage("cloudforceOneRequestMessageResource", CloudforceOneRequestMessageArgs.builder()
        .accountId("string")
        .requestId("string")
        .content("string")
        .build());
    
    cloudforce_one_request_message_resource = cloudflare.CloudforceOneRequestMessage("cloudforceOneRequestMessageResource",
        account_id="string",
        request_id="string",
        content="string")
    
    const cloudforceOneRequestMessageResource = new cloudflare.CloudforceOneRequestMessage("cloudforceOneRequestMessageResource", {
        accountId: "string",
        requestId: "string",
        content: "string",
    });
    
    type: cloudflare:CloudforceOneRequestMessage
    properties:
        accountId: string
        content: string
        requestId: string
    

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

    AccountId string
    Identifier.
    RequestId string
    UUID.
    Content string
    Content of message.
    AccountId string
    Identifier.
    RequestId string
    UUID.
    Content string
    Content of message.
    accountId String
    Identifier.
    requestId String
    UUID.
    content String
    Content of message.
    accountId string
    Identifier.
    requestId string
    UUID.
    content string
    Content of message.
    account_id str
    Identifier.
    request_id str
    UUID.
    content str
    Content of message.
    accountId String
    Identifier.
    requestId String
    UUID.
    content String
    Content of message.

    Outputs

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

    Author string
    Author of message.
    Created string
    Defines the message creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsFollowOnRequest bool
    Whether the message is a follow-on request.
    Updated string
    Defines the message last updated time.
    Author string
    Author of message.
    Created string
    Defines the message creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsFollowOnRequest bool
    Whether the message is a follow-on request.
    Updated string
    Defines the message last updated time.
    author String
    Author of message.
    created String
    Defines the message creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    isFollowOnRequest Boolean
    Whether the message is a follow-on request.
    updated String
    Defines the message last updated time.
    author string
    Author of message.
    created string
    Defines the message creation time.
    id string
    The provider-assigned unique ID for this managed resource.
    isFollowOnRequest boolean
    Whether the message is a follow-on request.
    updated string
    Defines the message last updated time.
    author str
    Author of message.
    created str
    Defines the message creation time.
    id str
    The provider-assigned unique ID for this managed resource.
    is_follow_on_request bool
    Whether the message is a follow-on request.
    updated str
    Defines the message last updated time.
    author String
    Author of message.
    created String
    Defines the message creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    isFollowOnRequest Boolean
    Whether the message is a follow-on request.
    updated String
    Defines the message last updated time.

    Look up Existing CloudforceOneRequestMessage Resource

    Get an existing CloudforceOneRequestMessage 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?: CloudforceOneRequestMessageState, opts?: CustomResourceOptions): CloudforceOneRequestMessage
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            author: Optional[str] = None,
            content: Optional[str] = None,
            created: Optional[str] = None,
            is_follow_on_request: Optional[bool] = None,
            request_id: Optional[str] = None,
            updated: Optional[str] = None) -> CloudforceOneRequestMessage
    func GetCloudforceOneRequestMessage(ctx *Context, name string, id IDInput, state *CloudforceOneRequestMessageState, opts ...ResourceOption) (*CloudforceOneRequestMessage, error)
    public static CloudforceOneRequestMessage Get(string name, Input<string> id, CloudforceOneRequestMessageState? state, CustomResourceOptions? opts = null)
    public static CloudforceOneRequestMessage get(String name, Output<String> id, CloudforceOneRequestMessageState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:CloudforceOneRequestMessage    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:
    AccountId string
    Identifier.
    Author string
    Author of message.
    Content string
    Content of message.
    Created string
    Defines the message creation time.
    IsFollowOnRequest bool
    Whether the message is a follow-on request.
    RequestId string
    UUID.
    Updated string
    Defines the message last updated time.
    AccountId string
    Identifier.
    Author string
    Author of message.
    Content string
    Content of message.
    Created string
    Defines the message creation time.
    IsFollowOnRequest bool
    Whether the message is a follow-on request.
    RequestId string
    UUID.
    Updated string
    Defines the message last updated time.
    accountId String
    Identifier.
    author String
    Author of message.
    content String
    Content of message.
    created String
    Defines the message creation time.
    isFollowOnRequest Boolean
    Whether the message is a follow-on request.
    requestId String
    UUID.
    updated String
    Defines the message last updated time.
    accountId string
    Identifier.
    author string
    Author of message.
    content string
    Content of message.
    created string
    Defines the message creation time.
    isFollowOnRequest boolean
    Whether the message is a follow-on request.
    requestId string
    UUID.
    updated string
    Defines the message last updated time.
    account_id str
    Identifier.
    author str
    Author of message.
    content str
    Content of message.
    created str
    Defines the message creation time.
    is_follow_on_request bool
    Whether the message is a follow-on request.
    request_id str
    UUID.
    updated str
    Defines the message last updated time.
    accountId String
    Identifier.
    author String
    Author of message.
    content String
    Content of message.
    created String
    Defines the message creation time.
    isFollowOnRequest Boolean
    Whether the message is a follow-on request.
    requestId String
    UUID.
    updated String
    Defines the message last updated time.

    Import

    $ pulumi import cloudflare:index/cloudforceOneRequestMessage:CloudforceOneRequestMessage example '<account_id>/<request_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.
    cloudflare logo
    Cloudflare v6.3.0 published on Tuesday, Jun 10, 2025 by Pulumi