cloudflare.CloudforceOneRequestMessage
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleCloudforceOneRequestMessage = new cloudflare.CloudforceOneRequestMessage("example_cloudforce_one_request_message", {
accountIdentifier: "023e105f4ecef8ad9ca31a8372d0c353",
requestIdentifier: "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_identifier="023e105f4ecef8ad9ca31a8372d0c353",
request_identifier="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{
AccountIdentifier: pulumi.String("023e105f4ecef8ad9ca31a8372d0c353"),
RequestIdentifier: 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()
{
AccountIdentifier = "023e105f4ecef8ad9ca31a8372d0c353",
RequestIdentifier = "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()
.accountIdentifier("023e105f4ecef8ad9ca31a8372d0c353")
.requestIdentifier("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:
accountIdentifier: 023e105f4ecef8ad9ca31a8372d0c353
requestIdentifier: 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_identifier: Optional[str] = None,
request_identifier: 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()
{
AccountIdentifier = "string",
RequestIdentifier = "string",
Content = "string",
});
example, err := cloudflare.NewCloudforceOneRequestMessage(ctx, "cloudforceOneRequestMessageResource", &cloudflare.CloudforceOneRequestMessageArgs{
AccountIdentifier: pulumi.String("string"),
RequestIdentifier: pulumi.String("string"),
Content: pulumi.String("string"),
})
var cloudforceOneRequestMessageResource = new CloudforceOneRequestMessage("cloudforceOneRequestMessageResource", CloudforceOneRequestMessageArgs.builder()
.accountIdentifier("string")
.requestIdentifier("string")
.content("string")
.build());
cloudforce_one_request_message_resource = cloudflare.CloudforceOneRequestMessage("cloudforceOneRequestMessageResource",
account_identifier="string",
request_identifier="string",
content="string")
const cloudforceOneRequestMessageResource = new cloudflare.CloudforceOneRequestMessage("cloudforceOneRequestMessageResource", {
accountIdentifier: "string",
requestIdentifier: "string",
content: "string",
});
type: cloudflare:CloudforceOneRequestMessage
properties:
accountIdentifier: string
content: string
requestIdentifier: 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:
- Account
Identifier string - Identifier
- Request
Identifier string - UUID
- Content string
- Content of message
- Account
Identifier string - Identifier
- Request
Identifier string - UUID
- Content string
- Content of message
- account
Identifier String - Identifier
- request
Identifier String - UUID
- content String
- Content of message
- account
Identifier string - Identifier
- request
Identifier string - UUID
- content string
- Content of message
- account_
identifier str - Identifier
- request_
identifier str - UUID
- content str
- Content of message
- account
Identifier String - Identifier
- request
Identifier 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:
- string
- Author of message
- Created string
- Message creation time
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Follow boolOn Request - Whether the message is a follow-on request
- Updated string
- Message last updated time
- string
- Author of message
- Created string
- Message creation time
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Follow boolOn Request - Whether the message is a follow-on request
- Updated string
- Message last updated time
- String
- Author of message
- created String
- Message creation time
- id String
- The provider-assigned unique ID for this managed resource.
- is
Follow BooleanOn Request - Whether the message is a follow-on request
- updated String
- Message last updated time
- string
- Author of message
- created string
- Message creation time
- id string
- The provider-assigned unique ID for this managed resource.
- is
Follow booleanOn Request - Whether the message is a follow-on request
- updated string
- Message last updated time
- str
- Author of message
- created str
- Message creation time
- id str
- The provider-assigned unique ID for this managed resource.
- is_
follow_ boolon_ request - Whether the message is a follow-on request
- updated str
- Message last updated time
- String
- Author of message
- created String
- Message creation time
- id String
- The provider-assigned unique ID for this managed resource.
- is
Follow BooleanOn Request - Whether the message is a follow-on request
- updated String
- 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_identifier: Optional[str] = None,
author: Optional[str] = None,
content: Optional[str] = None,
created: Optional[str] = None,
is_follow_on_request: Optional[bool] = None,
request_identifier: 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.
- Account
Identifier string - Identifier
- string
- Author of message
- Content string
- Content of message
- Created string
- Message creation time
- Is
Follow boolOn Request - Whether the message is a follow-on request
- Request
Identifier string - UUID
- Updated string
- Message last updated time
- Account
Identifier string - Identifier
- string
- Author of message
- Content string
- Content of message
- Created string
- Message creation time
- Is
Follow boolOn Request - Whether the message is a follow-on request
- Request
Identifier string - UUID
- Updated string
- Message last updated time
- account
Identifier String - Identifier
- String
- Author of message
- content String
- Content of message
- created String
- Message creation time
- is
Follow BooleanOn Request - Whether the message is a follow-on request
- request
Identifier String - UUID
- updated String
- Message last updated time
- account
Identifier string - Identifier
- string
- Author of message
- content string
- Content of message
- created string
- Message creation time
- is
Follow booleanOn Request - Whether the message is a follow-on request
- request
Identifier string - UUID
- updated string
- Message last updated time
- account_
identifier str - Identifier
- str
- Author of message
- content str
- Content of message
- created str
- Message creation time
- is_
follow_ boolon_ request - Whether the message is a follow-on request
- request_
identifier str - UUID
- updated str
- Message last updated time
- account
Identifier String - Identifier
- String
- Author of message
- content String
- Content of message
- created String
- Message creation time
- is
Follow BooleanOn Request - Whether the message is a follow-on request
- request
Identifier String - UUID
- updated String
- Message last updated time
Import
$ pulumi import cloudflare:index/cloudforceOneRequestMessage:CloudforceOneRequestMessage 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.