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

cloudflare.getCloudforceOneRequestMessage

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 = cloudflare.getCloudforceOneRequestMessage({
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        requestId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
        page: 0,
        perPage: 10,
        after: "2022-04-01T05:20:00Z",
        before: "2024-01-01T00:00:00Z",
        sortBy: "created",
        sortOrder: "asc",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_cloudforce_one_request_message = cloudflare.get_cloudforce_one_request_message(account_id="023e105f4ecef8ad9ca31a8372d0c353",
        request_id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
        page=0,
        per_page=10,
        after="2022-04-01T05:20:00Z",
        before="2024-01-01T00:00:00Z",
        sort_by="created",
        sort_order="asc")
    
    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.LookupCloudforceOneRequestMessage(ctx, &cloudflare.LookupCloudforceOneRequestMessageArgs{
    			AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
    			RequestId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
    			Page:      0,
    			PerPage:   10,
    			After:     pulumi.StringRef("2022-04-01T05:20:00Z"),
    			Before:    pulumi.StringRef("2024-01-01T00:00:00Z"),
    			SortBy:    pulumi.StringRef("created"),
    			SortOrder: pulumi.StringRef("asc"),
    		}, nil)
    		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 = Cloudflare.GetCloudforceOneRequestMessage.Invoke(new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            RequestId = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
            Page = 0,
            PerPage = 10,
            After = "2022-04-01T05:20:00Z",
            Before = "2024-01-01T00:00:00Z",
            SortBy = "created",
            SortOrder = "asc",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CloudflareFunctions;
    import com.pulumi.cloudflare.inputs.GetCloudforceOneRequestMessageArgs;
    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) {
            final var exampleCloudforceOneRequestMessage = CloudflareFunctions.getCloudforceOneRequestMessage(GetCloudforceOneRequestMessageArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .requestId("f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
                .page(0)
                .perPage(10)
                .after("2022-04-01T05:20:00Z")
                .before("2024-01-01T00:00:00Z")
                .sortBy("created")
                .sortOrder("asc")
                .build());
    
        }
    }
    
    variables:
      exampleCloudforceOneRequestMessage:
        fn::invoke:
          function: cloudflare:getCloudforceOneRequestMessage
          arguments:
            accountId: 023e105f4ecef8ad9ca31a8372d0c353
            requestId: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
            page: 0
            perPage: 10
            after: 2022-04-01T05:20:00Z
            before: 2024-01-01T00:00:00Z
            sortBy: created
            sortOrder: asc
    

    Using getCloudforceOneRequestMessage

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCloudforceOneRequestMessage(args: GetCloudforceOneRequestMessageArgs, opts?: InvokeOptions): Promise<GetCloudforceOneRequestMessageResult>
    function getCloudforceOneRequestMessageOutput(args: GetCloudforceOneRequestMessageOutputArgs, opts?: InvokeOptions): Output<GetCloudforceOneRequestMessageResult>
    def get_cloudforce_one_request_message(account_id: Optional[str] = None,
                                           after: Optional[str] = None,
                                           before: Optional[str] = None,
                                           page: Optional[int] = None,
                                           per_page: Optional[int] = None,
                                           request_id: Optional[str] = None,
                                           sort_by: Optional[str] = None,
                                           sort_order: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetCloudforceOneRequestMessageResult
    def get_cloudforce_one_request_message_output(account_id: Optional[pulumi.Input[str]] = None,
                                           after: Optional[pulumi.Input[str]] = None,
                                           before: Optional[pulumi.Input[str]] = None,
                                           page: Optional[pulumi.Input[int]] = None,
                                           per_page: Optional[pulumi.Input[int]] = None,
                                           request_id: Optional[pulumi.Input[str]] = None,
                                           sort_by: Optional[pulumi.Input[str]] = None,
                                           sort_order: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetCloudforceOneRequestMessageResult]
    func LookupCloudforceOneRequestMessage(ctx *Context, args *LookupCloudforceOneRequestMessageArgs, opts ...InvokeOption) (*LookupCloudforceOneRequestMessageResult, error)
    func LookupCloudforceOneRequestMessageOutput(ctx *Context, args *LookupCloudforceOneRequestMessageOutputArgs, opts ...InvokeOption) LookupCloudforceOneRequestMessageResultOutput

    > Note: This function is named LookupCloudforceOneRequestMessage in the Go SDK.

    public static class GetCloudforceOneRequestMessage 
    {
        public static Task<GetCloudforceOneRequestMessageResult> InvokeAsync(GetCloudforceOneRequestMessageArgs args, InvokeOptions? opts = null)
        public static Output<GetCloudforceOneRequestMessageResult> Invoke(GetCloudforceOneRequestMessageInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCloudforceOneRequestMessageResult> getCloudforceOneRequestMessage(GetCloudforceOneRequestMessageArgs args, InvokeOptions options)
    public static Output<GetCloudforceOneRequestMessageResult> getCloudforceOneRequestMessage(GetCloudforceOneRequestMessageArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getCloudforceOneRequestMessage:getCloudforceOneRequestMessage
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    Identifier.
    Page int
    Page number of results.
    PerPage int
    Number of results per page.
    RequestId string
    UUID.
    After string
    Retrieve mes ges created after this time.
    Before string
    Retrieve messages created before this time.
    SortBy string
    Field to sort results by.
    SortOrder string
    Sort order (asc or desc). Available values: "asc", "desc".
    AccountId string
    Identifier.
    Page int
    Page number of results.
    PerPage int
    Number of results per page.
    RequestId string
    UUID.
    After string
    Retrieve mes ges created after this time.
    Before string
    Retrieve messages created before this time.
    SortBy string
    Field to sort results by.
    SortOrder string
    Sort order (asc or desc). Available values: "asc", "desc".
    accountId String
    Identifier.
    page Integer
    Page number of results.
    perPage Integer
    Number of results per page.
    requestId String
    UUID.
    after String
    Retrieve mes ges created after this time.
    before String
    Retrieve messages created before this time.
    sortBy String
    Field to sort results by.
    sortOrder String
    Sort order (asc or desc). Available values: "asc", "desc".
    accountId string
    Identifier.
    page number
    Page number of results.
    perPage number
    Number of results per page.
    requestId string
    UUID.
    after string
    Retrieve mes ges created after this time.
    before string
    Retrieve messages created before this time.
    sortBy string
    Field to sort results by.
    sortOrder string
    Sort order (asc or desc). Available values: "asc", "desc".
    account_id str
    Identifier.
    page int
    Page number of results.
    per_page int
    Number of results per page.
    request_id str
    UUID.
    after str
    Retrieve mes ges created after this time.
    before str
    Retrieve messages created before this time.
    sort_by str
    Field to sort results by.
    sort_order str
    Sort order (asc or desc). Available values: "asc", "desc".
    accountId String
    Identifier.
    page Number
    Page number of results.
    perPage Number
    Number of results per page.
    requestId String
    UUID.
    after String
    Retrieve mes ges created after this time.
    before String
    Retrieve messages created before this time.
    sortBy String
    Field to sort results by.
    sortOrder String
    Sort order (asc or desc). Available values: "asc", "desc".

    getCloudforceOneRequestMessage Result

    The following output properties are available:

    AccountId string
    Identifier.
    Author string
    Author of message.
    Content string
    Content of message.
    Created string
    Defines the message creation time.
    Id int
    Message ID.
    IsFollowOnRequest bool
    Whether the message is a follow-on request.
    Page int
    Page number of results.
    PerPage int
    Number of results per page.
    RequestId string
    UUID.
    Updated string
    Defines the message last updated time.
    After string
    Retrieve mes ges created after this time.
    Before string
    Retrieve messages created before this time.
    SortBy string
    Field to sort results by.
    SortOrder string
    Sort order (asc or desc). Available values: "asc", "desc".
    AccountId string
    Identifier.
    Author string
    Author of message.
    Content string
    Content of message.
    Created string
    Defines the message creation time.
    Id int
    Message ID.
    IsFollowOnRequest bool
    Whether the message is a follow-on request.
    Page int
    Page number of results.
    PerPage int
    Number of results per page.
    RequestId string
    UUID.
    Updated string
    Defines the message last updated time.
    After string
    Retrieve mes ges created after this time.
    Before string
    Retrieve messages created before this time.
    SortBy string
    Field to sort results by.
    SortOrder string
    Sort order (asc or desc). Available values: "asc", "desc".
    accountId String
    Identifier.
    author String
    Author of message.
    content String
    Content of message.
    created String
    Defines the message creation time.
    id Integer
    Message ID.
    isFollowOnRequest Boolean
    Whether the message is a follow-on request.
    page Integer
    Page number of results.
    perPage Integer
    Number of results per page.
    requestId String
    UUID.
    updated String
    Defines the message last updated time.
    after String
    Retrieve mes ges created after this time.
    before String
    Retrieve messages created before this time.
    sortBy String
    Field to sort results by.
    sortOrder String
    Sort order (asc or desc). Available values: "asc", "desc".
    accountId string
    Identifier.
    author string
    Author of message.
    content string
    Content of message.
    created string
    Defines the message creation time.
    id number
    Message ID.
    isFollowOnRequest boolean
    Whether the message is a follow-on request.
    page number
    Page number of results.
    perPage number
    Number of results per page.
    requestId string
    UUID.
    updated string
    Defines the message last updated time.
    after string
    Retrieve mes ges created after this time.
    before string
    Retrieve messages created before this time.
    sortBy string
    Field to sort results by.
    sortOrder string
    Sort order (asc or desc). Available values: "asc", "desc".
    account_id str
    Identifier.
    author str
    Author of message.
    content str
    Content of message.
    created str
    Defines the message creation time.
    id int
    Message ID.
    is_follow_on_request bool
    Whether the message is a follow-on request.
    page int
    Page number of results.
    per_page int
    Number of results per page.
    request_id str
    UUID.
    updated str
    Defines the message last updated time.
    after str
    Retrieve mes ges created after this time.
    before str
    Retrieve messages created before this time.
    sort_by str
    Field to sort results by.
    sort_order str
    Sort order (asc or desc). Available values: "asc", "desc".
    accountId String
    Identifier.
    author String
    Author of message.
    content String
    Content of message.
    created String
    Defines the message creation time.
    id Number
    Message ID.
    isFollowOnRequest Boolean
    Whether the message is a follow-on request.
    page Number
    Page number of results.
    perPage Number
    Number of results per page.
    requestId String
    UUID.
    updated String
    Defines the message last updated time.
    after String
    Retrieve mes ges created after this time.
    before String
    Retrieve messages created before this time.
    sortBy String
    Field to sort results by.
    sortOrder String
    Sort order (asc or desc). Available values: "asc", "desc".

    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