Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
published on Wednesday, Oct 21, 2026 by Pulumi
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
published on Wednesday, Oct 21, 2026 by Pulumi
Accepted Permissions
Flagship Read
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleFlagshipApp = cloudflare.getFlagshipApp({
accountId: "account_id",
appId: "app_id",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_flagship_app = cloudflare.get_flagship_app(account_id="account_id",
app_id="app_id")
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.GetFlagshipApp(ctx, &cloudflare.LookupFlagshipAppArgs{
AccountId: "account_id",
AppId: "app_id",
}, 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 exampleFlagshipApp = Cloudflare.GetFlagshipApp.Invoke(new()
{
AccountId = "account_id",
AppId = "app_id",
});
});
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.GetFlagshipAppArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 exampleFlagshipApp = CloudflareFunctions.getFlagshipApp(GetFlagshipAppArgs.builder()
.accountId("account_id")
.appId("app_id")
.build());
}
}
variables:
exampleFlagshipApp:
fn::invoke:
function: cloudflare:getFlagshipApp
arguments:
accountId: account_id
appId: app_id
terraform {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
data "cloudflare_flagship_app" "exampleFlagshipApp" {
account_id = "account_id"
app_id = "app_id"
}
Using getFlagshipApp
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 getFlagshipApp(args: GetFlagshipAppArgs, opts?: InvokeOptions): Promise<GetFlagshipAppResult>
function getFlagshipAppOutput(args: GetFlagshipAppOutputArgs, opts?: InvokeOutputOptions): Output<GetFlagshipAppResult>def get_flagship_app(account_id: Optional[str] = None,
app_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFlagshipAppResult
def get_flagship_app_output(account_id: pulumi.Input[Optional[str]] = None,
app_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetFlagshipAppResult]func LookupFlagshipApp(ctx *Context, args *LookupFlagshipAppArgs, opts ...InvokeOption) (*LookupFlagshipAppResult, error)
func LookupFlagshipAppOutput(ctx *Context, args *LookupFlagshipAppOutputArgs, opts ...InvokeOption) LookupFlagshipAppResultOutput> Note: This function is named LookupFlagshipApp in the Go SDK.
public static class GetFlagshipApp
{
public static Task<GetFlagshipAppResult> InvokeAsync(GetFlagshipAppArgs args, InvokeOptions? opts = null)
public static Output<GetFlagshipAppResult> Invoke(GetFlagshipAppInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetFlagshipAppResult> Invoke(GetFlagshipAppInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetFlagshipAppResult> getFlagshipApp(GetFlagshipAppArgs args, InvokeOptions options)
public static Output<GetFlagshipAppResult> getFlagshipApp(GetFlagshipAppArgs args, InvokeOptions options)
public static Output<GetFlagshipAppResult> getFlagshipApp(GetFlagshipAppArgs args, InvokeOutputOptions options)
fn::invoke:
function: cloudflare:index/getFlagshipApp:getFlagshipApp
arguments:
# arguments dictionarydata "cloudflare_get_flagship_app" "name" {
# arguments
}The following arguments are supported:
- account_
id string - Cloudflare account ID that owns the Flagship app.
- app_
id string - Flagship app ID returned when the app was created.
- account_
id str - Cloudflare account ID that owns the Flagship app.
- app_
id str - Flagship app ID returned when the app was created.
getFlagshipApp Result
The following output properties are available:
- Account
Id string - Cloudflare account ID that owns the Flagship app.
- App
Id string - Flagship app ID returned when the app was created.
- Created
At string - Id string
- Flagship app ID returned when the app was created.
- Name string
- Updated
At string - Updated
By string - Email of the actor who last modified the app, or
edge-gatewayfor gateway-authenticated changes.
- Account
Id string - Cloudflare account ID that owns the Flagship app.
- App
Id string - Flagship app ID returned when the app was created.
- Created
At string - Id string
- Flagship app ID returned when the app was created.
- Name string
- Updated
At string - Updated
By string - Email of the actor who last modified the app, or
edge-gatewayfor gateway-authenticated changes.
- account_
id string - Cloudflare account ID that owns the Flagship app.
- app_
id string - Flagship app ID returned when the app was created.
- created_
at string - id string
- Flagship app ID returned when the app was created.
- name string
- updated_
at string - updated_
by string - Email of the actor who last modified the app, or
edge-gatewayfor gateway-authenticated changes.
- account
Id String - Cloudflare account ID that owns the Flagship app.
- app
Id String - Flagship app ID returned when the app was created.
- created
At String - id String
- Flagship app ID returned when the app was created.
- name String
- updated
At String - updated
By String - Email of the actor who last modified the app, or
edge-gatewayfor gateway-authenticated changes.
- account
Id string - Cloudflare account ID that owns the Flagship app.
- app
Id string - Flagship app ID returned when the app was created.
- created
At string - id string
- Flagship app ID returned when the app was created.
- name string
- updated
At string - updated
By string - Email of the actor who last modified the app, or
edge-gatewayfor gateway-authenticated changes.
- account_
id str - Cloudflare account ID that owns the Flagship app.
- app_
id str - Flagship app ID returned when the app was created.
- created_
at str - id str
- Flagship app ID returned when the app was created.
- name str
- updated_
at str - updated_
by str - Email of the actor who last modified the app, or
edge-gatewayfor gateway-authenticated changes.
- account
Id String - Cloudflare account ID that owns the Flagship app.
- app
Id String - Flagship app ID returned when the app was created.
- created
At String - id String
- Flagship app ID returned when the app was created.
- name String
- updated
At String - updated
By String - Email of the actor who last modified the app, or
edge-gatewayfor gateway-authenticated changes.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
published on Wednesday, Oct 21, 2026 by Pulumi