Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustAccessAiControlsMcpServer = cloudflare.getZeroTrustAccessAiControlsMcpServer({
accountId: "a86a8f5c339544d7bdc89926de14fb8c",
id: "my-mcp-server",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_access_ai_controls_mcp_server = cloudflare.get_zero_trust_access_ai_controls_mcp_server(account_id="a86a8f5c339544d7bdc89926de14fb8c",
id="my-mcp-server")
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.GetZeroTrustAccessAiControlsMcpServer(ctx, &cloudflare.LookupZeroTrustAccessAiControlsMcpServerArgs{
AccountId: pulumi.StringRef("a86a8f5c339544d7bdc89926de14fb8c"),
Id: pulumi.StringRef("my-mcp-server"),
}, 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 exampleZeroTrustAccessAiControlsMcpServer = Cloudflare.Index.GetZeroTrustAccessAiControlsMcpServer.Invoke(new()
{
AccountId = "a86a8f5c339544d7bdc89926de14fb8c",
Id = "my-mcp-server",
});
});
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.GetZeroTrustAccessAiControlsMcpServerArgs;
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 exampleZeroTrustAccessAiControlsMcpServer = CloudflareFunctions.getZeroTrustAccessAiControlsMcpServer(GetZeroTrustAccessAiControlsMcpServerArgs.builder()
.accountId("a86a8f5c339544d7bdc89926de14fb8c")
.id("my-mcp-server")
.build());
}
}
variables:
exampleZeroTrustAccessAiControlsMcpServer:
fn::invoke:
function: cloudflare:getZeroTrustAccessAiControlsMcpServer
arguments:
accountId: a86a8f5c339544d7bdc89926de14fb8c
id: my-mcp-server
Using getZeroTrustAccessAiControlsMcpServer
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 getZeroTrustAccessAiControlsMcpServer(args: GetZeroTrustAccessAiControlsMcpServerArgs, opts?: InvokeOptions): Promise<GetZeroTrustAccessAiControlsMcpServerResult>
function getZeroTrustAccessAiControlsMcpServerOutput(args: GetZeroTrustAccessAiControlsMcpServerOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustAccessAiControlsMcpServerResult>def get_zero_trust_access_ai_controls_mcp_server(account_id: Optional[str] = None,
filter: Optional[GetZeroTrustAccessAiControlsMcpServerFilter] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustAccessAiControlsMcpServerResult
def get_zero_trust_access_ai_controls_mcp_server_output(account_id: pulumi.Input[Optional[str]] = None,
filter: pulumi.Input[Optional[GetZeroTrustAccessAiControlsMcpServerFilterArgs]] = None,
id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustAccessAiControlsMcpServerResult]func LookupZeroTrustAccessAiControlsMcpServer(ctx *Context, args *LookupZeroTrustAccessAiControlsMcpServerArgs, opts ...InvokeOption) (*LookupZeroTrustAccessAiControlsMcpServerResult, error)
func LookupZeroTrustAccessAiControlsMcpServerOutput(ctx *Context, args *LookupZeroTrustAccessAiControlsMcpServerOutputArgs, opts ...InvokeOption) LookupZeroTrustAccessAiControlsMcpServerResultOutput> Note: This function is named LookupZeroTrustAccessAiControlsMcpServer in the Go SDK.
public static class GetZeroTrustAccessAiControlsMcpServer
{
public static Task<GetZeroTrustAccessAiControlsMcpServerResult> InvokeAsync(GetZeroTrustAccessAiControlsMcpServerArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustAccessAiControlsMcpServerResult> Invoke(GetZeroTrustAccessAiControlsMcpServerInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetZeroTrustAccessAiControlsMcpServerResult> getZeroTrustAccessAiControlsMcpServer(GetZeroTrustAccessAiControlsMcpServerArgs args, InvokeOptions options)
public static Output<GetZeroTrustAccessAiControlsMcpServerResult> getZeroTrustAccessAiControlsMcpServer(GetZeroTrustAccessAiControlsMcpServerArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustAccessAiControlsMcpServer:getZeroTrustAccessAiControlsMcpServer
arguments:
# arguments dictionaryThe following arguments are supported:
- Account
Id string - Filter
Get
Zero Trust Access Ai Controls Mcp Server Filter - Id string
- server id
- Account
Id string - Filter
Get
Zero Trust Access Ai Controls Mcp Server Filter - Id string
- server id
- account
Id String - filter
Get
Zero Trust Access Ai Controls Mcp Server Filter - id String
- server id
- account
Id string - filter
Get
Zero Trust Access Ai Controls Mcp Server Filter - id string
- server id
- account_
id str - filter
Get
Zero Trust Access Ai Controls Mcp Server Filter - id str
- server id
- account
Id String - filter Property Map
- id String
- server id
getZeroTrustAccessAiControlsMcpServer Result
The following output properties are available:
- Auth
Type string - Available values: "oauth", "bearer", "unauthenticated".
- Created
At string - Created
By string - Description string
- Error string
- Hostname string
- Id string
- server id
- Last
Successful stringSync - Last
Synced string - Modified
At string - Modified
By string - Name string
- Prompts
List<Immutable
Dictionary<string, string>> - Status string
- Tools
List<Immutable
Dictionary<string, string>> - Updated
Prompts List<GetZero Trust Access Ai Controls Mcp Server Updated Prompt> - Updated
Tools List<GetZero Trust Access Ai Controls Mcp Server Updated Tool> - Account
Id string - Filter
Get
Zero Trust Access Ai Controls Mcp Server Filter
- Auth
Type string - Available values: "oauth", "bearer", "unauthenticated".
- Created
At string - Created
By string - Description string
- Error string
- Hostname string
- Id string
- server id
- Last
Successful stringSync - Last
Synced string - Modified
At string - Modified
By string - Name string
- Prompts []map[string]string
- Status string
- Tools []map[string]string
- Updated
Prompts []GetZero Trust Access Ai Controls Mcp Server Updated Prompt - Updated
Tools []GetZero Trust Access Ai Controls Mcp Server Updated Tool - Account
Id string - Filter
Get
Zero Trust Access Ai Controls Mcp Server Filter
- auth
Type String - Available values: "oauth", "bearer", "unauthenticated".
- created
At String - created
By String - description String
- error String
- hostname String
- id String
- server id
- last
Successful StringSync - last
Synced String - modified
At String - modified
By String - name String
- prompts List<Map<String,String>>
- status String
- tools List<Map<String,String>>
- updated
Prompts List<GetZero Trust Access Ai Controls Mcp Server Updated Prompt> - updated
Tools List<GetZero Trust Access Ai Controls Mcp Server Updated Tool> - account
Id String - filter
Get
Zero Trust Access Ai Controls Mcp Server Filter
- auth
Type string - Available values: "oauth", "bearer", "unauthenticated".
- created
At string - created
By string - description string
- error string
- hostname string
- id string
- server id
- last
Successful stringSync - last
Synced string - modified
At string - modified
By string - name string
- prompts {[key: string]: string}[]
- status string
- tools {[key: string]: string}[]
- updated
Prompts GetZero Trust Access Ai Controls Mcp Server Updated Prompt[] - updated
Tools GetZero Trust Access Ai Controls Mcp Server Updated Tool[] - account
Id string - filter
Get
Zero Trust Access Ai Controls Mcp Server Filter
- auth_
type str - Available values: "oauth", "bearer", "unauthenticated".
- created_
at str - created_
by str - description str
- error str
- hostname str
- id str
- server id
- last_
successful_ strsync - last_
synced str - modified_
at str - modified_
by str - name str
- prompts Sequence[Mapping[str, str]]
- status str
- tools Sequence[Mapping[str, str]]
- updated_
prompts Sequence[GetZero Trust Access Ai Controls Mcp Server Updated Prompt] - updated_
tools Sequence[GetZero Trust Access Ai Controls Mcp Server Updated Tool] - account_
id str - filter
Get
Zero Trust Access Ai Controls Mcp Server Filter
- auth
Type String - Available values: "oauth", "bearer", "unauthenticated".
- created
At String - created
By String - description String
- error String
- hostname String
- id String
- server id
- last
Successful StringSync - last
Synced String - modified
At String - modified
By String - name String
- prompts List<Map<String>>
- status String
- tools List<Map<String>>
- updated
Prompts List<Property Map> - updated
Tools List<Property Map> - account
Id String - filter Property Map
Supporting Types
GetZeroTrustAccessAiControlsMcpServerFilter
- Search string
- Search by id, name
- Search string
- Search by id, name
- search String
- Search by id, name
- search string
- Search by id, name
- search str
- Search by id, name
- search String
- Search by id, name
GetZeroTrustAccessAiControlsMcpServerUpdatedPrompt
- Alias string
- Description string
- Enabled bool
- Name string
- Alias string
- Description string
- Enabled bool
- Name string
- alias String
- description String
- enabled Boolean
- name String
- alias string
- description string
- enabled boolean
- name string
- alias str
- description str
- enabled bool
- name str
- alias String
- description String
- enabled Boolean
- name String
GetZeroTrustAccessAiControlsMcpServerUpdatedTool
- Alias string
- Description string
- Enabled bool
- Name string
- Alias string
- Description string
- Enabled bool
- Name string
- alias String
- description String
- enabled Boolean
- name String
- alias string
- description string
- enabled boolean
- name string
- alias str
- description str
- enabled bool
- name str
- alias String
- description String
- enabled Boolean
- name String
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.15.0
published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
