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

cloudflare.getCloudforceOneRequest

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 exampleCloudforceOneRequest = cloudflare.getCloudforceOneRequest({
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        requestId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_cloudforce_one_request = cloudflare.get_cloudforce_one_request(account_id="023e105f4ecef8ad9ca31a8372d0c353",
        request_id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
    
    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.LookupCloudforceOneRequest(ctx, &cloudflare.LookupCloudforceOneRequestArgs{
    			AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
    			RequestId: pulumi.StringRef("f174e90a-fafe-4643-bbbc-4a0ed4fc8415"),
    		}, 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 exampleCloudforceOneRequest = Cloudflare.GetCloudforceOneRequest.Invoke(new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            RequestId = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
        });
    
    });
    
    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.GetCloudforceOneRequestArgs;
    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 exampleCloudforceOneRequest = CloudflareFunctions.getCloudforceOneRequest(GetCloudforceOneRequestArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .requestId("f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
                .build());
    
        }
    }
    
    variables:
      exampleCloudforceOneRequest:
        fn::invoke:
          function: cloudflare:getCloudforceOneRequest
          arguments:
            accountId: 023e105f4ecef8ad9ca31a8372d0c353
            requestId: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
    

    Using getCloudforceOneRequest

    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 getCloudforceOneRequest(args: GetCloudforceOneRequestArgs, opts?: InvokeOptions): Promise<GetCloudforceOneRequestResult>
    function getCloudforceOneRequestOutput(args: GetCloudforceOneRequestOutputArgs, opts?: InvokeOptions): Output<GetCloudforceOneRequestResult>
    def get_cloudforce_one_request(account_id: Optional[str] = None,
                                   filter: Optional[GetCloudforceOneRequestFilter] = None,
                                   request_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetCloudforceOneRequestResult
    def get_cloudforce_one_request_output(account_id: Optional[pulumi.Input[str]] = None,
                                   filter: Optional[pulumi.Input[GetCloudforceOneRequestFilterArgs]] = None,
                                   request_id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetCloudforceOneRequestResult]
    func LookupCloudforceOneRequest(ctx *Context, args *LookupCloudforceOneRequestArgs, opts ...InvokeOption) (*LookupCloudforceOneRequestResult, error)
    func LookupCloudforceOneRequestOutput(ctx *Context, args *LookupCloudforceOneRequestOutputArgs, opts ...InvokeOption) LookupCloudforceOneRequestResultOutput

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

    public static class GetCloudforceOneRequest 
    {
        public static Task<GetCloudforceOneRequestResult> InvokeAsync(GetCloudforceOneRequestArgs args, InvokeOptions? opts = null)
        public static Output<GetCloudforceOneRequestResult> Invoke(GetCloudforceOneRequestInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCloudforceOneRequestResult> getCloudforceOneRequest(GetCloudforceOneRequestArgs args, InvokeOptions options)
    public static Output<GetCloudforceOneRequestResult> getCloudforceOneRequest(GetCloudforceOneRequestArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getCloudforceOneRequest:getCloudforceOneRequest
      arguments:
        # arguments dictionary

    The following arguments are supported:

    accountId String
    Identifier.
    filter Property Map
    requestId String
    UUID.

    getCloudforceOneRequest Result

    The following output properties are available:

    AccountId string
    Identifier.
    Completed string
    Content string
    Request content.
    Created string
    Id string
    UUID.
    MessageTokens int
    Tokens for the request messages.
    Priority string
    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.
    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
    Filter GetCloudforceOneRequestFilter
    RequestId string
    UUID.
    AccountId string
    Identifier.
    Completed string
    Content string
    Request content.
    Created string
    Id string
    UUID.
    MessageTokens int
    Tokens for the request messages.
    Priority string
    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.
    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
    Filter GetCloudforceOneRequestFilter
    RequestId string
    UUID.
    accountId String
    Identifier.
    completed String
    content String
    Request content.
    created String
    id String
    UUID.
    messageTokens Integer
    Tokens for the request messages.
    priority String
    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.
    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
    filter GetCloudforceOneRequestFilter
    requestId String
    UUID.
    accountId string
    Identifier.
    completed string
    content string
    Request content.
    created string
    id string
    UUID.
    messageTokens number
    Tokens for the request messages.
    priority string
    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.
    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
    filter GetCloudforceOneRequestFilter
    requestId string
    UUID.
    account_id str
    Identifier.
    completed str
    content str
    Request content.
    created str
    id str
    UUID.
    message_tokens int
    Tokens for the request messages.
    priority str
    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.
    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
    filter GetCloudforceOneRequestFilter
    request_id str
    UUID.
    accountId String
    Identifier.
    completed String
    content String
    Request content.
    created String
    id String
    UUID.
    messageTokens Number
    Tokens for the request messages.
    priority String
    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.
    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
    filter Property Map
    requestId String
    UUID.

    Supporting Types

    GetCloudforceOneRequestFilter

    Page int
    Page number of results.
    PerPage int
    Number of results per page.
    CompletedAfter string
    Retrieve requests completed after this time.
    CompletedBefore string
    Retrieve requests completed before this time.
    CreatedAfter string
    Retrieve requests created after this time.
    CreatedBefore string
    Retrieve requests created before this time.
    RequestType string
    Requested information from request.
    SortBy string
    Field to sort results by.
    SortOrder string
    Sort order (asc or desc). Available values: "asc", "desc".
    Status string
    Request Status. Available values: "open", "accepted", "reported", "approved", "completed", "declined".
    Page int
    Page number of results.
    PerPage int
    Number of results per page.
    CompletedAfter string
    Retrieve requests completed after this time.
    CompletedBefore string
    Retrieve requests completed before this time.
    CreatedAfter string
    Retrieve requests created after this time.
    CreatedBefore string
    Retrieve requests created before this time.
    RequestType string
    Requested information from request.
    SortBy string
    Field to sort results by.
    SortOrder string
    Sort order (asc or desc). Available values: "asc", "desc".
    Status string
    Request Status. Available values: "open", "accepted", "reported", "approved", "completed", "declined".
    page Integer
    Page number of results.
    perPage Integer
    Number of results per page.
    completedAfter String
    Retrieve requests completed after this time.
    completedBefore String
    Retrieve requests completed before this time.
    createdAfter String
    Retrieve requests created after this time.
    createdBefore String
    Retrieve requests created before this time.
    requestType String
    Requested information from request.
    sortBy String
    Field to sort results by.
    sortOrder String
    Sort order (asc or desc). Available values: "asc", "desc".
    status String
    Request Status. Available values: "open", "accepted", "reported", "approved", "completed", "declined".
    page number
    Page number of results.
    perPage number
    Number of results per page.
    completedAfter string
    Retrieve requests completed after this time.
    completedBefore string
    Retrieve requests completed before this time.
    createdAfter string
    Retrieve requests created after this time.
    createdBefore string
    Retrieve requests created before this time.
    requestType string
    Requested information from request.
    sortBy string
    Field to sort results by.
    sortOrder string
    Sort order (asc or desc). Available values: "asc", "desc".
    status string
    Request Status. Available values: "open", "accepted", "reported", "approved", "completed", "declined".
    page int
    Page number of results.
    per_page int
    Number of results per page.
    completed_after str
    Retrieve requests completed after this time.
    completed_before str
    Retrieve requests completed before this time.
    created_after str
    Retrieve requests created after this time.
    created_before str
    Retrieve requests created before this time.
    request_type str
    Requested information from request.
    sort_by str
    Field to sort results by.
    sort_order str
    Sort order (asc or desc). Available values: "asc", "desc".
    status str
    Request Status. Available values: "open", "accepted", "reported", "approved", "completed", "declined".
    page Number
    Page number of results.
    perPage Number
    Number of results per page.
    completedAfter String
    Retrieve requests completed after this time.
    completedBefore String
    Retrieve requests completed before this time.
    createdAfter String
    Retrieve requests created after this time.
    createdBefore String
    Retrieve requests created before this time.
    requestType String
    Requested information from request.
    sortBy String
    Field to sort results by.
    sortOrder String
    Sort order (asc or desc). Available values: "asc", "desc".
    status String
    Request Status. Available values: "open", "accepted", "reported", "approved", "completed", "declined".

    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