Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi
Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi
Accepted Permissions
MCP Portals ReadMCP Portals Write
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustAccessAiControlsMcpPortals = cloudflare.getZeroTrustAccessAiControlsMcpPortals({
accountId: "a86a8f5c339544d7bdc89926de14fb8c",
search: "search",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_access_ai_controls_mcp_portals = cloudflare.get_zero_trust_access_ai_controls_mcp_portals(account_id="a86a8f5c339544d7bdc89926de14fb8c",
search="search")
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.GetZeroTrustAccessAiControlsMcpPortals(ctx, &cloudflare.LookupZeroTrustAccessAiControlsMcpPortalsArgs{
AccountId: pulumi.StringRef("a86a8f5c339544d7bdc89926de14fb8c"),
Search: pulumi.StringRef("search"),
}, 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 exampleZeroTrustAccessAiControlsMcpPortals = Cloudflare.GetZeroTrustAccessAiControlsMcpPortals.Invoke(new()
{
AccountId = "a86a8f5c339544d7bdc89926de14fb8c",
Search = "search",
});
});
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.GetZeroTrustAccessAiControlsMcpPortalsArgs;
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 exampleZeroTrustAccessAiControlsMcpPortals = CloudflareFunctions.getZeroTrustAccessAiControlsMcpPortals(GetZeroTrustAccessAiControlsMcpPortalsArgs.builder()
.accountId("a86a8f5c339544d7bdc89926de14fb8c")
.search("search")
.build());
}
}
variables:
exampleZeroTrustAccessAiControlsMcpPortals:
fn::invoke:
function: cloudflare:getZeroTrustAccessAiControlsMcpPortals
arguments:
accountId: a86a8f5c339544d7bdc89926de14fb8c
search: search
pulumi {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
data "cloudflare_getzerotrustaccessaicontrolsmcpportals" "exampleZeroTrustAccessAiControlsMcpPortals" {
account_id = "a86a8f5c339544d7bdc89926de14fb8c"
search = "search"
}
Using getZeroTrustAccessAiControlsMcpPortals
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 getZeroTrustAccessAiControlsMcpPortals(args: GetZeroTrustAccessAiControlsMcpPortalsArgs, opts?: InvokeOptions): Promise<GetZeroTrustAccessAiControlsMcpPortalsResult>
function getZeroTrustAccessAiControlsMcpPortalsOutput(args: GetZeroTrustAccessAiControlsMcpPortalsOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustAccessAiControlsMcpPortalsResult>def get_zero_trust_access_ai_controls_mcp_portals(account_id: Optional[str] = None,
max_items: Optional[int] = None,
search: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustAccessAiControlsMcpPortalsResult
def get_zero_trust_access_ai_controls_mcp_portals_output(account_id: pulumi.Input[Optional[str]] = None,
max_items: pulumi.Input[Optional[int]] = None,
search: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustAccessAiControlsMcpPortalsResult]func LookupZeroTrustAccessAiControlsMcpPortals(ctx *Context, args *LookupZeroTrustAccessAiControlsMcpPortalsArgs, opts ...InvokeOption) (*LookupZeroTrustAccessAiControlsMcpPortalsResult, error)
func LookupZeroTrustAccessAiControlsMcpPortalsOutput(ctx *Context, args *LookupZeroTrustAccessAiControlsMcpPortalsOutputArgs, opts ...InvokeOption) LookupZeroTrustAccessAiControlsMcpPortalsResultOutput> Note: This function is named LookupZeroTrustAccessAiControlsMcpPortals in the Go SDK.
public static class GetZeroTrustAccessAiControlsMcpPortals
{
public static Task<GetZeroTrustAccessAiControlsMcpPortalsResult> InvokeAsync(GetZeroTrustAccessAiControlsMcpPortalsArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustAccessAiControlsMcpPortalsResult> Invoke(GetZeroTrustAccessAiControlsMcpPortalsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetZeroTrustAccessAiControlsMcpPortalsResult> getZeroTrustAccessAiControlsMcpPortals(GetZeroTrustAccessAiControlsMcpPortalsArgs args, InvokeOptions options)
public static Output<GetZeroTrustAccessAiControlsMcpPortalsResult> getZeroTrustAccessAiControlsMcpPortals(GetZeroTrustAccessAiControlsMcpPortalsArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustAccessAiControlsMcpPortals:getZeroTrustAccessAiControlsMcpPortals
arguments:
# arguments dictionarydata "cloudflare_get_zero_trust_access_ai_controls_mcp_portals" "name" {
# arguments
}The following arguments are supported:
- account_
id string - max_
items number - Max items to fetch, default: 1000
- search string
- Search by id, name, hostname
- account_
id str - max_
items int - Max items to fetch, default: 1000
- search str
- Search by id, name, hostname
getZeroTrustAccessAiControlsMcpPortals Result
The following output properties are available:
- id string
- The provider-assigned unique ID for this managed resource.
- results list(object)
- The items returned by the data source
- account_
id string - max_
items number - Max items to fetch, default: 1000
- search string
- Search by id, name, hostname
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Zero Trust Access Ai Controls Mcp Portals Result] - The items returned by the data source
- account_
id str - max_
items int - Max items to fetch, default: 1000
- search str
- Search by id, name, hostname
Supporting Types
GetZeroTrustAccessAiControlsMcpPortalsResult
- Allow
Code boolMode - Allow remote code execution in Dynamic Workers (beta)
- Created
At string - Created
By string - Description string
- Hostname string
- Id string
- portal id
- Modified
At string - Modified
By string - Name string
- Secure
Web boolGateway - Route outbound MCP traffic through Zero Trust Secure Web Gateway
- Servers
List<Get
Zero Trust Access Ai Controls Mcp Portals Result Server>
- Allow
Code boolMode - Allow remote code execution in Dynamic Workers (beta)
- Created
At string - Created
By string - Description string
- Hostname string
- Id string
- portal id
- Modified
At string - Modified
By string - Name string
- Secure
Web boolGateway - Route outbound MCP traffic through Zero Trust Secure Web Gateway
- Servers
[]Get
Zero Trust Access Ai Controls Mcp Portals Result Server
- allow_
code_ boolmode - Allow remote code execution in Dynamic Workers (beta)
- created_
at string - created_
by string - description string
- hostname string
- id string
- portal id
- modified_
at string - modified_
by string - name string
- secure_
web_ boolgateway - Route outbound MCP traffic through Zero Trust Secure Web Gateway
- servers list(object)
- allow
Code BooleanMode - Allow remote code execution in Dynamic Workers (beta)
- created
At String - created
By String - description String
- hostname String
- id String
- portal id
- modified
At String - modified
By String - name String
- secure
Web BooleanGateway - Route outbound MCP traffic through Zero Trust Secure Web Gateway
- servers
List<Get
Zero Trust Access Ai Controls Mcp Portals Result Server>
- allow
Code booleanMode - Allow remote code execution in Dynamic Workers (beta)
- created
At string - created
By string - description string
- hostname string
- id string
- portal id
- modified
At string - modified
By string - name string
- secure
Web booleanGateway - Route outbound MCP traffic through Zero Trust Secure Web Gateway
- servers
Get
Zero Trust Access Ai Controls Mcp Portals Result Server[]
- allow_
code_ boolmode - Allow remote code execution in Dynamic Workers (beta)
- created_
at str - created_
by str - description str
- hostname str
- id str
- portal id
- modified_
at str - modified_
by str - name str
- secure_
web_ boolgateway - Route outbound MCP traffic through Zero Trust Secure Web Gateway
- servers
Sequence[Get
Zero Trust Access Ai Controls Mcp Portals Result Server]
- allow
Code BooleanMode - Allow remote code execution in Dynamic Workers (beta)
- created
At String - created
By String - description String
- hostname String
- id String
- portal id
- modified
At String - modified
By String - name String
- secure
Web BooleanGateway - Route outbound MCP traffic through Zero Trust Secure Web Gateway
- servers List<Property Map>
GetZeroTrustAccessAiControlsMcpPortalsResultServer
- Auth
Type string - Available values: "oauth", "bearer", "unauthenticated".
- Created
At string - Created
By string - Default
Disabled bool - Description string
- Error string
- Error
Details GetZero Trust Access Ai Controls Mcp Portals Result Server Error Details - Hostname string
- Id string
- server id
- bool
- When true, the gateway worker uses the shared Cloudflare-owned OAuth callback endpoint as the redirectUri for upstream on-behalf OAuth, instead of the customer portal hostname. New public server creates default to true; existing servers default to false from migration until explicitly updated. Effective behavior is gated by the gateway worker's per-env rollout mode KV key.
- Last
Successful stringSync - Last
Synced string - Modified
At string - Modified
By string - Name string
- On
Behalf bool - Prompts
List<Immutable
Dictionary<string, string>> - Secure
Web boolGateway - Route outbound traffic to this MCP server through Zero Trust Secure Web Gateway
- Server
Id string - server id
- Status string
- Tools
List<Immutable
Dictionary<string, string>> - Updated
Prompts List<GetZero Trust Access Ai Controls Mcp Portals Result Server Updated Prompt> - Updated
Tools List<GetZero Trust Access Ai Controls Mcp Portals Result Server Updated Tool>
- Auth
Type string - Available values: "oauth", "bearer", "unauthenticated".
- Created
At string - Created
By string - Default
Disabled bool - Description string
- Error string
- Error
Details GetZero Trust Access Ai Controls Mcp Portals Result Server Error Details - Hostname string
- Id string
- server id
- bool
- When true, the gateway worker uses the shared Cloudflare-owned OAuth callback endpoint as the redirectUri for upstream on-behalf OAuth, instead of the customer portal hostname. New public server creates default to true; existing servers default to false from migration until explicitly updated. Effective behavior is gated by the gateway worker's per-env rollout mode KV key.
- Last
Successful stringSync - Last
Synced string - Modified
At string - Modified
By string - Name string
- On
Behalf bool - Prompts []map[string]string
- Secure
Web boolGateway - Route outbound traffic to this MCP server through Zero Trust Secure Web Gateway
- Server
Id string - server id
- Status string
- Tools []map[string]string
- Updated
Prompts []GetZero Trust Access Ai Controls Mcp Portals Result Server Updated Prompt - Updated
Tools []GetZero Trust Access Ai Controls Mcp Portals Result Server Updated Tool
- auth_
type string - Available values: "oauth", "bearer", "unauthenticated".
- created_
at string - created_
by string - default_
disabled bool - description string
- error string
- error_
details object - hostname string
- id string
- server id
- bool
- When true, the gateway worker uses the shared Cloudflare-owned OAuth callback endpoint as the redirectUri for upstream on-behalf OAuth, instead of the customer portal hostname. New public server creates default to true; existing servers default to false from migration until explicitly updated. Effective behavior is gated by the gateway worker's per-env rollout mode KV key.
- last_
successful_ stringsync - last_
synced string - modified_
at string - modified_
by string - name string
- on_
behalf bool - prompts list(map(string))
- secure_
web_ boolgateway - Route outbound traffic to this MCP server through Zero Trust Secure Web Gateway
- server_
id string - server id
- status string
- tools list(map(string))
- updated_
prompts list(object) - updated_
tools list(object)
- auth
Type String - Available values: "oauth", "bearer", "unauthenticated".
- created
At String - created
By String - default
Disabled Boolean - description String
- error String
- error
Details GetZero Trust Access Ai Controls Mcp Portals Result Server Error Details - hostname String
- id String
- server id
- Boolean
- When true, the gateway worker uses the shared Cloudflare-owned OAuth callback endpoint as the redirectUri for upstream on-behalf OAuth, instead of the customer portal hostname. New public server creates default to true; existing servers default to false from migration until explicitly updated. Effective behavior is gated by the gateway worker's per-env rollout mode KV key.
- last
Successful StringSync - last
Synced String - modified
At String - modified
By String - name String
- on
Behalf Boolean - prompts List<Map<String,String>>
- secure
Web BooleanGateway - Route outbound traffic to this MCP server through Zero Trust Secure Web Gateway
- server
Id String - server id
- status String
- tools List<Map<String,String>>
- updated
Prompts List<GetZero Trust Access Ai Controls Mcp Portals Result Server Updated Prompt> - updated
Tools List<GetZero Trust Access Ai Controls Mcp Portals Result Server Updated Tool>
- auth
Type string - Available values: "oauth", "bearer", "unauthenticated".
- created
At string - created
By string - default
Disabled boolean - description string
- error string
- error
Details GetZero Trust Access Ai Controls Mcp Portals Result Server Error Details - hostname string
- id string
- server id
- boolean
- When true, the gateway worker uses the shared Cloudflare-owned OAuth callback endpoint as the redirectUri for upstream on-behalf OAuth, instead of the customer portal hostname. New public server creates default to true; existing servers default to false from migration until explicitly updated. Effective behavior is gated by the gateway worker's per-env rollout mode KV key.
- last
Successful stringSync - last
Synced string - modified
At string - modified
By string - name string
- on
Behalf boolean - prompts {[key: string]: string}[]
- secure
Web booleanGateway - Route outbound traffic to this MCP server through Zero Trust Secure Web Gateway
- server
Id string - server id
- status string
- tools {[key: string]: string}[]
- updated
Prompts GetZero Trust Access Ai Controls Mcp Portals Result Server Updated Prompt[] - updated
Tools GetZero Trust Access Ai Controls Mcp Portals Result Server Updated Tool[]
- auth_
type str - Available values: "oauth", "bearer", "unauthenticated".
- created_
at str - created_
by str - default_
disabled bool - description str
- error str
- error_
details GetZero Trust Access Ai Controls Mcp Portals Result Server Error Details - hostname str
- id str
- server id
- bool
- When true, the gateway worker uses the shared Cloudflare-owned OAuth callback endpoint as the redirectUri for upstream on-behalf OAuth, instead of the customer portal hostname. New public server creates default to true; existing servers default to false from migration until explicitly updated. Effective behavior is gated by the gateway worker's per-env rollout mode KV key.
- last_
successful_ strsync - last_
synced str - modified_
at str - modified_
by str - name str
- on_
behalf bool - prompts Sequence[Mapping[str, str]]
- secure_
web_ boolgateway - Route outbound traffic to this MCP server through Zero Trust Secure Web Gateway
- server_
id str - server id
- status str
- tools Sequence[Mapping[str, str]]
- updated_
prompts Sequence[GetZero Trust Access Ai Controls Mcp Portals Result Server Updated Prompt] - updated_
tools Sequence[GetZero Trust Access Ai Controls Mcp Portals Result Server Updated Tool]
- auth
Type String - Available values: "oauth", "bearer", "unauthenticated".
- created
At String - created
By String - default
Disabled Boolean - description String
- error String
- error
Details Property Map - hostname String
- id String
- server id
- Boolean
- When true, the gateway worker uses the shared Cloudflare-owned OAuth callback endpoint as the redirectUri for upstream on-behalf OAuth, instead of the customer portal hostname. New public server creates default to true; existing servers default to false from migration until explicitly updated. Effective behavior is gated by the gateway worker's per-env rollout mode KV key.
- last
Successful StringSync - last
Synced String - modified
At String - modified
By String - name String
- on
Behalf Boolean - prompts List<Map<String>>
- secure
Web BooleanGateway - Route outbound traffic to this MCP server through Zero Trust Secure Web Gateway
- server
Id String - server id
- status String
- tools List<Map<String>>
- updated
Prompts List<Property Map> - updated
Tools List<Property Map>
GetZeroTrustAccessAiControlsMcpPortalsResultServerErrorDetails
- Cause string
- Underlying error message
- Is
Upstream bool - True = MCP server returned an error. False = couldn't reach the server
- Mcp
Code double - MCP protocol error code
- Retryable bool
- Whether the error is transient and worth retrying
- Status
Code double - HTTP status code from the server
- Cause string
- Underlying error message
- Is
Upstream bool - True = MCP server returned an error. False = couldn't reach the server
- Mcp
Code float64 - MCP protocol error code
- Retryable bool
- Whether the error is transient and worth retrying
- Status
Code float64 - HTTP status code from the server
- cause string
- Underlying error message
- is_
upstream bool - True = MCP server returned an error. False = couldn't reach the server
- mcp_
code number - MCP protocol error code
- retryable bool
- Whether the error is transient and worth retrying
- status_
code number - HTTP status code from the server
- cause String
- Underlying error message
- is
Upstream Boolean - True = MCP server returned an error. False = couldn't reach the server
- mcp
Code Double - MCP protocol error code
- retryable Boolean
- Whether the error is transient and worth retrying
- status
Code Double - HTTP status code from the server
- cause string
- Underlying error message
- is
Upstream boolean - True = MCP server returned an error. False = couldn't reach the server
- mcp
Code number - MCP protocol error code
- retryable boolean
- Whether the error is transient and worth retrying
- status
Code number - HTTP status code from the server
- cause str
- Underlying error message
- is_
upstream bool - True = MCP server returned an error. False = couldn't reach the server
- mcp_
code float - MCP protocol error code
- retryable bool
- Whether the error is transient and worth retrying
- status_
code float - HTTP status code from the server
- cause String
- Underlying error message
- is
Upstream Boolean - True = MCP server returned an error. False = couldn't reach the server
- mcp
Code Number - MCP protocol error code
- retryable Boolean
- Whether the error is transient and worth retrying
- status
Code Number - HTTP status code from the server
GetZeroTrustAccessAiControlsMcpPortalsResultServerUpdatedPrompt
- Enabled bool
- Name string
- Portal
Alias string - Portal
Description string - Server
Alias string - Server
Description string
- Enabled bool
- Name string
- Portal
Alias string - Portal
Description string - Server
Alias string - Server
Description string
- enabled bool
- name string
- portal_
alias string - portal_
description string - server_
alias string - server_
description string
- enabled Boolean
- name String
- portal
Alias String - portal
Description String - server
Alias String - server
Description String
- enabled boolean
- name string
- portal
Alias string - portal
Description string - server
Alias string - server
Description string
- enabled bool
- name str
- portal_
alias str - portal_
description str - server_
alias str - server_
description str
- enabled Boolean
- name String
- portal
Alias String - portal
Description String - server
Alias String - server
Description String
GetZeroTrustAccessAiControlsMcpPortalsResultServerUpdatedTool
- Enabled bool
- Name string
- Portal
Alias string - Portal
Description string - Server
Alias string - Server
Description string
- Enabled bool
- Name string
- Portal
Alias string - Portal
Description string - Server
Alias string - Server
Description string
- enabled bool
- name string
- portal_
alias string - portal_
description string - server_
alias string - server_
description string
- enabled Boolean
- name String
- portal
Alias String - portal
Description String - server
Alias String - server
Description String
- enabled boolean
- name string
- portal
Alias string - portal
Description string - server
Alias string - server
Description string
- enabled bool
- name str
- portal_
alias str - portal_
description str - server_
alias str - server_
description str
- enabled Boolean
- name String
- portal
Alias String - portal
Description String - server
Alias String - server
Description 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.18.0
published on Thursday, Jul 16, 2026 by Pulumi
published on Thursday, Jul 16, 2026 by Pulumi